.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  font-weight: 650;
  color: var(--corporate-red);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow > span {
  height: 1px;
  width: 26px;
  background: var(--corporate-red);
}
h1 em {
  font-style: normal;
  color: var(--corporate-red);
}
.hero-lead {
  margin-top: 26px;
  max-width: 510px;
  color: var(--gray);
  font-size: 1.02rem;
}
.territory {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 22px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 15px 21px;
  background: var(--corporate-red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  min-height: 48px;
  border: 1px solid var(--corporate-red);
}
.button:hover {
  background: var(--corporate-red-dark);
  border-color: var(--corporate-red-dark);
}
.text-link {
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-gray);
}
.text-link:hover {
  color: var(--corporate-red);
  border-color: var(--corporate-red);
}
.credential {
  font-size: 0.75rem;
  line-height: 1.7;
  margin-top: 34px;
  padding-left: 16px;
  border-left: 2px solid var(--corporate-red);
  color: var(--gray);
}
.credential strong {
  color: var(--black);
}
.credential span {
  font-size: 0.75rem;
}
.art-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 20px 25px;
  background: var(--white);
  border-left: 2px solid var(--corporate-red);
}
.art-caption > span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gray);
}
.art-caption p {
  font-family: var(--heading);
  font-size: 1.6rem;
  line-height: 1.15;
  margin-top: 8px;
  letter-spacing: -0.01em;
}
.request-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 265px;
  line-height: 1.5;
}
.request-card.featured {
  background: var(--soft-red);
  border-color: var(--corporate-red);
}
.request-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--corporate-red);
  margin-bottom: 24px;
}
.request-title {
  font-family: var(--heading);
  font-size: 1.1rem;
  font-weight: 600;
}
.request-copy {
  font-size: 0.82rem;
  color: var(--gray);
  margin: 12px 0 24px;
}
.request-bottom {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: auto;
  color: var(--corporate-red);
  display: flex;
  justify-content: space-between;
}
.request-card:hover {
  border-color: var(--corporate-red);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.large-copy {
  font-size: 1.4rem;
  color: var(--black) !important;
  line-height: 1.5;
}
.inline-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.inline-topics span,
.area-places span {
  border: 1px solid var(--border-gray);
  padding: 7px 12px;
  font-size: 0.75rem;
}
.area-places span {
  border-color: var(--medium-gray);
  padding: 10px 18px;
}
.service {
  padding: 28px 20px 30px 0;
  border-top: 1px solid var(--border-gray);
}
.number {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--corporate-red);
  display: block;
  margin-bottom: 24px;
}
.service h3 {
  max-width: 230px;
}
.service p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--gray);
  margin: 16px 0;
}
.service ul {
  list-style: none;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--gray);
}
.service li {
  padding-left: 12px;
  position: relative;
  margin-top: 6px;
}
.service li:before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--corporate-red);
}
.steps {
  list-style: none;
}
.steps li {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--gray);
  padding: 26px 0;
}
.steps li > span {
  font-size: 0.75rem;
  color: var(--border-gray);
}
.steps p {
  font-size: 0.85rem;
  margin-top: 10px;
}
.organization .eyebrow {
  color: var(--border-gray);
}
.office-signature {
  display: grid;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--gray);
}
.office-signature strong {
  color: var(--black);
  font-size: 0.95rem;
}
.office-panel .eyebrow {
  margin-bottom: 0;
}
.office-place {
  display: grid;
  gap: 14px;
}
.office-address {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.6;
}
.office-address strong {
  display: block;
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.office-phone {
  font-size: 0.95rem;
}
.office-phone a {
  display: inline-block;
  padding-block: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.office-panel .text-link {
  justify-self: start;
  margin-top: 0;
}
.faq-list {
  border-top: 1px solid var(--border-gray);
}
details {
  border-bottom: 1px solid var(--border-gray);
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 32px 22px 0;
  font-size: 0.89rem;
  position: relative;
  font-weight: 550;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  position: absolute;
  right: 3px;
  top: 18px;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--corporate-red);
}
details[open] summary:after {
  content: "−";
}
.faq-answer {
  padding: 0 28px 23px 0;
  color: var(--gray);
  font-size: 0.85rem;
}
.contact-details {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}
.contact-details div {
  border-bottom: 1px solid var(--border-gray);
  padding-bottom: 14px;
}
.contact-details dt {
  font-size: 0.75rem;
  color: var(--gray);
}
.contact-details dd {
  margin: 3px 0 0;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}
.small {
  font-size: 0.8rem;
}
.form-panel {
  background: var(--white);
  padding: 24px;
  border: 1px solid var(--border-gray);
}
.form-panel h3 {
  font-size: 1.5rem;
}
.demo-note {
  font-size: 0.8rem;
  color: var(--gray);
  background: var(--light-gray);
  border-left: 2px solid var(--medium-gray);
  padding: 12px 14px;
  margin: 18px 0 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 0.75rem;
  font-weight: 600;
}
.field label span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray);
}
input:not([type="checkbox"]),
textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--medium-gray);
  border-radius: 0;
  padding: 10px 12px;
  font-size: 0.88rem;
  color: var(--black);
  min-height: 46px;
}
input:hover,
textarea:hover {
  border-color: var(--medium-gray);
}
input:focus,
textarea:focus {
  border-color: var(--corporate-red);
}
.field-help {
  font-size: 0.75rem;
  color: var(--gray);
  line-height: 1.5;
}
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 20px 0;
  font-size: 0.75rem;
  line-height: 1.6;
}
.checkbox input {
  accent-color: var(--corporate-red);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
}
.checkbox a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-status {
  font-size: 0.8rem;
  color: var(--corporate-red);
  margin-top: 14px;
}
.form-status:empty {
  display: none;
}
.menu-toggle {
  display: flex;
  gap: 10px;
  align-items: center;
  background: transparent;
  font-size: 0.8rem;
  padding: 12px 0;
  min-height: 44px;
}
.menu-lines {
  width: 20px;
  height: 12px;
  border-top: 1px solid;
  border-bottom: 1px solid;
  display: block;
}
.menu-toggle[aria-expanded="true"] .menu-lines {
  transform: rotate(-45deg);
}
.site-header nav a:hover,
footer a:hover {
  color: var(--corporate-red);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  background: var(--white);
  border: 2px solid var(--corporate-red);
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
dialog {
  border: 1px solid var(--border-gray);
  padding: 24px;
  width: min(650px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  color: var(--black);
  box-shadow: var(--shadow);
}
dialog::backdrop {
  background: rgb(25 25 25 / 0.55);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.dialog-heading .eyebrow {
  margin: 0;
}
.close-dialog {
  font-size: 1.8rem;
  padding: 2px 12px;
  background: var(--light-gray);
  min-height: 44px;
  min-width: 44px;
}
dialog h2 {
  font-size: 1.8rem;
  margin: 18px 0 12px;
}
dialog > p:not(.demo-note) {
  font-size: 0.85rem;
  color: var(--gray);
}
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  padding: 16px 22px;
  z-index: 100;
  font-size: 0.82rem;
  width: max-content;
  max-width: calc(100% - 32px);
  box-shadow: var(--shadow);
}
body.modal-open {
  overflow: hidden;
}
@media (min-width: 768px) {
  .form-panel,
  dialog {
    padding: 34px;
  }
  .art-caption {
    left: 28px;
    bottom: 28px;
  }
  .request-card {
    padding: 26px;
  }
}

/* Zonas táctiles de al menos 44 px y enlaces de contacto legibles */
.text-link {
  min-height: 44px;
}
.contact-details dd a {
  display: inline-block;
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-top nav a,
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.checkbox {
  min-height: 44px;
}
.checkbox input {
  width: 24px;
  height: 24px;
  margin-top: 0;
}
.checkbox a {
  padding-block: 10px;
}
.site-header nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
@media (min-width: 1200px) {
  .site-header nav a {
    min-height: 0;
    display: inline;
  }
}

/* Selector de idioma */
.site-header nav .nav-lang {
  color: var(--corporate-red);
  font-weight: 600;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  justify-content: flex-end;
}

/* Móvil: menú con letra más grande y gestiones en lista compacta */
@media (max-width: 1199.98px) {
  .site-header nav a {
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-gray);
  }
  .site-header nav a:last-child {
    border-bottom: 0;
  }
}
@media (max-width: 767.98px) {
  .requests-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .request-card {
    display: grid;
    grid-template-columns: 30px 1fr 18px;
    column-gap: 14px;
    align-items: center;
    min-height: 0;
    padding: 16px 16px 16px 14px;
  }
  .request-top {
    display: contents;
  }
  .request-top img {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    margin-top: 2px;
  }
  .request-top > span {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
  .request-title {
    grid-column: 2;
    font-size: 1.02rem;
  }
  .request-copy {
    grid-column: 2;
    margin: 4px 0 0;
  }
  .request-bottom {
    display: none;
  }
}

/* Ilustración del hero: el rótulo va debajo del dibujo para no tapar el portal */
.hero-art {
  display: flex;
  flex-direction: column;
  min-height: 440px;
}
.hero-art > img {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  object-position: center 85%;
}
.art-caption,
.hero-art .art-caption {
  position: static;
  margin: 0;
  border-left: 0;
  border-top: 2px solid var(--corporate-red);
}

/* Envío real: campo trampa invisible y antispam */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.turnstile-slot {
  margin: 4px 0 16px;
  min-height: 65px;
}

/* Selector de idioma siempre visible en la cabecera */
.lang-switch {
  display: flex;
  align-items: center;
  margin-left: auto;
  border: 1px solid var(--border-gray);
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 0 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray);
}
.lang-switch a + a {
  border-left: 1px solid var(--border-gray);
}
.lang-switch a[aria-current="true"] {
  background: var(--corporate-red);
  color: var(--white);
}
.lang-switch a:not([aria-current="true"]):hover {
  color: var(--corporate-red);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1200px) {
  .site-header nav {
    margin-left: auto;
  }
  .lang-switch {
    margin-left: 0;
  }
}

/* Cabecera en móviles estrechos: logo algo menor y botón de menú solo con icono */
@media (max-width: 419.98px) {
  .header-inner {
    gap: 10px;
  }
  .brand {
    width: 132px;
  }
  .lang-switch a {
    min-width: 40px;
    padding: 0 6px;
  }
  .menu-toggle {
    min-width: 44px;
    justify-content: center;
  }
  .menu-toggle > span:not(.menu-lines) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}
@media (min-width: 420px) and (max-width: 767.98px) {
  .header-inner {
    gap: 14px;
  }
  .brand {
    width: 170px;
  }
}
/* Escritorio: selector de idioma a la derecha del menú */
@media (min-width: 1200px) {
  .site-header nav {
    order: 2;
  }
  .lang-switch {
    order: 3;
    margin-left: 6px;
  }
}
