/* ==========================================================================
   Maccio Atelier — web pública
   CSS plano. Sin preprocesadores, sin frameworks, sin dependencias externas.
   ========================================================================== */


/* --------------------------------------------------------------------------
   Tipografías locales (.woff2)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/CormorantGaramond-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/CormorantGaramond-Italic.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Inter-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/Inter-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Inter-Italic.woff2") format("woff2");
}


/* --------------------------------------------------------------------------
   Variables de marca
   -------------------------------------------------------------------------- */

:root {
  --azul-noche: #1C3149;
  --azul-marino: #0E1E2E;
  --champan: #C8A96E;
  --fondo-calido: #F7F4EF;
  --fondo-claro: #FDFCF9;

  --azul-noche-soft: rgba(28, 49, 73, 0.78);
  --azul-noche-mute: rgba(28, 49, 73, 0.70);
  --champan-soft: rgba(200, 169, 110, 0.30);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container-max: 880px;
  --container-narrow: 640px;
  --container-pad: 32px;
  --header-height: 122px;
}


/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--fondo-calido);
  color: var(--azul-noche);
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: block;
}

p {
  margin: 0 0 1.2em 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 160ms ease;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

a:focus-visible {
  outline: 2px solid var(--champan);
  outline-offset: 4px;
  border-radius: 2px;
}

em,
i {
  font-style: italic;
}

strong {
  color: var(--champan);
  font-weight: 500;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}


/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}


/* --------------------------------------------------------------------------
   Header sticky (CSS puro, sin JavaScript)
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--azul-marino);
  padding: 20px 0 18px;
  border-bottom: 1px solid transparent;
}

/* El header rompe el max-width de .container y ocupa el ancho completo
   con margen lateral cómodo. El resto de secciones mantiene 880 px. */
.site-header .container {
  max-width: none;
  padding: 0 50px;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    "brand brand brand"
    ". menu languages";
  align-items: center;
  row-gap: 18px;
}

.wordmark {
  grid-area: brand;
  justify-self: center;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  color: var(--fondo-calido);
  line-height: 1;
  letter-spacing: 0.01em;
}

.primary-nav {
  grid-area: menu;
  justify-self: center;
}

.wordmark:hover,
.wordmark:focus-visible {
  text-decoration: none;
}

.primary-nav ul {
  display: flex;
  gap: 22px;
  align-items: center;
}

.primary-nav a,
.language-nav a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: rgba(247, 244, 239, 0.82);
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.primary-nav a:hover,
.language-nav a:hover,
.language-nav a[aria-current="page"] {
  color: var(--fondo-calido);
}

.language-nav {
  grid-area: languages;
  justify-self: end;
  margin-left: 6px;
  padding-left: 24px;
  border-left: 1px solid rgba(200, 169, 110, 0.28);
}

.language-nav ul {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.language-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--champan);
  text-underline-offset: 5px;
}


/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  min-height: calc(100vh - var(--header-height));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 0 220px;
  background:
    radial-gradient(circle at 78% 42%, rgba(200, 169, 110, 0.12), transparent 0 22%, transparent 36%),
    var(--azul-marino);
  color: var(--fondo-calido);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(200, 169, 110, 0.20);
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 760px;
  height: 760px;
  right: -260px;
  top: -190px;
}

.hero::after {
  width: 520px;
  height: 520px;
  right: -115px;
  bottom: -275px;
  opacity: 0.72;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.hero-copy {
  max-width: 860px;
}

.hero-kicker {
  margin: 0 0 20px;
  color: rgba(247, 244, 239, 0.72);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 5.4vw, 74px);
  line-height: 1.03;
  color: var(--champan);
  margin: 0;
  letter-spacing: 0.01em;
  white-space: normal;
}

/* La portada presenta primero el servicio; La Base explica cómo comienza. */
main {
  display: flex;
  flex-direction: column;
}

.hero { order: 1; }
#servicio { order: 2; }
#como-funciona { order: 3; }
#la-base { order: 4; }
#servicios { order: 5; }
#encaje { order: 6; }
#metodo { order: 7; }
#sobre { order: 8; }
#contacto { order: 9; }

#como-funciona .authority-value {
  font-size: clamp(22px, 2.3vw, 28px);
}

.hero-headline--seo {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(48px, 5.2vw, 76px);
  white-space: normal;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.2;
  color: var(--fondo-calido);
  margin: 18px 0 0 0;
  white-space: nowrap;
}

.hero-signature {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.62);
  margin: 14px 0 0 0;
}

.hero-summary {
  max-width: 620px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.58;
  color: rgba(247, 244, 239, 0.84);
  margin: 22px auto 0;
}

.hero-territory {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(200, 169, 110, 0.86);
  margin: 34px 0 0 0;
  letter-spacing: 0.04em;
}

.opening-note {
  max-width: 680px;
  margin: 24px auto 0;
  padding: 18px 26px 20px;
  border-top: 1px solid rgba(200, 169, 110, 0.42);
  border-bottom: 1px solid rgba(200, 169, 110, 0.22);
}

.opening-note p {
  margin: 0;
}

.opening-note p + p {
  margin-top: 14px;
}

.opening-kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champan);
}

.opening-note p:not(.opening-kicker) {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(247, 244, 239, 0.84);
}

.foundation-disclosure {
  margin-top: 22px;
  border-top: 1px solid rgba(200, 169, 110, 0.22);
  border-bottom: 1px solid rgba(200, 169, 110, 0.16);
  text-align: left;
}

.foundation-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 13px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champan);
  user-select: none;
  -webkit-user-select: none;
}

.foundation-disclosure summary,
.foundation-disclosure summary::after {
  cursor: pointer;
}

.foundation-disclosure summary::-webkit-details-marker {
  display: none;
}

.foundation-disclosure summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: rgba(200, 169, 110, 0.86);
}

.foundation-disclosure summary:hover,
.foundation-disclosure summary:focus-visible {
  color: var(--fondo-calido);
}

.foundation-disclosure summary:hover::after,
.foundation-disclosure summary:focus-visible::after {
  color: var(--fondo-calido);
}

.foundation-disclosure[open] summary::after {
  content: "-";
}

.foundation-disclosure-content {
  padding: 4px 0 18px;
}

.opening-note .foundation-disclosure-content p {
  font-size: 14px;
  line-height: 1.72;
  color: rgba(247, 244, 239, 0.78);
}

.opening-note .foundation-disclosure-content p + p {
  margin-top: 12px;
}

.opening-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 22px;
  padding: 11px 18px;
  border: 1px solid rgba(200, 169, 110, 0.68);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fondo-calido);
}

.opening-link:hover,
.opening-link:focus-visible {
  text-decoration: none;
  border-color: var(--champan);
}

.hero-symbol {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

.hero-symbol img {
  display: block;
  width: 132px;
  height: auto;
  opacity: 0.86;
}


/* --------------------------------------------------------------------------
   Secciones genéricas
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.section::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(200, 169, 110, 0.18);
  border-radius: 50%;
  right: -320px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.section:nth-of-type(odd)::before {
  right: auto;
  left: -360px;
  width: 720px;
  height: 720px;
  border-color: rgba(200, 169, 110, 0.18);
}

.section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(200, 169, 110, 0.12);
  border-radius: 50%;
  right: -210px;
  bottom: -260px;
  pointer-events: none;
}

.section:nth-of-type(odd)::after {
  right: auto;
  left: -210px;
  border-color: rgba(200, 169, 110, 0.12);
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champan);
  margin: 0 0 28px 0;
}

.section-eyebrow--small {
  font-size: 11px;
  margin-bottom: 20px;
  color: var(--azul-noche-soft);
}

.section-lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.4;
  color: var(--azul-noche);
  margin: 0 0 48px 0;
}

.section-lead--centered {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-lead--left {
  text-align: left;
  margin-bottom: 60px;
}

.prose {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.68;
  color: var(--azul-noche);
}

.prose p {
  margin: 0 0 1.25em 0;
}

.prose p:last-child {
  margin-bottom: 0;
}

.professional-profile {
  margin-top: 2em;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.professional-profile a {
  color: var(--champan);
  text-decoration: none;
}

.professional-profile a:hover,
.professional-profile a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  vertical-align: middle;
}

.linkedin-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}


/* --------------------------------------------------------------------------
   Autoridad temprana
   -------------------------------------------------------------------------- */

.section--authority {
  padding: 42px 0;
  background-color: var(--fondo-claro);
  border-bottom: 1px solid rgba(200, 169, 110, 0.22);
}

.section--authority::before,
.section--authority::after {
  display: none;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.authority-item {
  padding-top: 18px;
  border-top: 1px solid var(--champan-soft);
}

.authority-value {
  margin: 0 0 10px 0;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.1;
  color: var(--azul-noche);
}

.authority-item p:not(.authority-value) {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.58;
  color: var(--azul-noche-soft);
}


/* --------------------------------------------------------------------------
   La Base
   -------------------------------------------------------------------------- */

.section--la-base {
  background-color: var(--fondo-claro);
  padding-top: 88px;
  padding-bottom: 96px;
}

.section--la-base .container {
  max-width: 760px;
}

.foundation-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.2;
  color: var(--azul-noche);
  margin: 0 0 28px 0;
}

.foundation-intro {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.68;
  color: var(--azul-noche);
}

.prose strong,
.foundation-intro strong {
  color: var(--azul-noche);
}

.foundation-intro p {
  margin: 0 0 1.25em 0;
}

.foundation-intro p:last-child {
  color: var(--azul-noche-soft);
  margin-bottom: 0;
}

.foundation-offer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 48px;
}

.offer-item {
  padding-top: 20px;
  border-top: 1px solid var(--champan-soft);
  min-width: 0;
}

.offer-kicker {
  margin: 0 0 14px 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champan);
}

.offer-item h3 {
  margin: 0 0 10px 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.18;
  color: var(--azul-noche);
}

.offer-item p:last-child {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.58;
  color: var(--azul-noche-soft);
}

.foundation-price-panel {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  margin-top: 50px;
  padding: 24px 0;
  border-top: 1px solid var(--champan-soft);
  border-bottom: 1px solid var(--champan-soft);
}

.foundation-price-label {
  margin: 0 0 8px 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--azul-noche-soft);
}

.foundation-price {
  margin: 0;
  font-family: var(--font-body);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--champan);
}

.foundation-price-panel > p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.64;
  color: var(--azul-noche-soft);
}


/* --------------------------------------------------------------------------
   Encaje
   -------------------------------------------------------------------------- */

.section--fit {
  background-color: var(--azul-marino);
  color: var(--fondo-calido);
}

.section--fit .section-eyebrow {
  color: var(--champan);
}

.fit-title {
  margin: 0 0 46px 0;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--fondo-calido);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px;
}

.fit-column {
  min-width: 0;
  padding-top: 26px;
  border-top: 1px solid rgba(200, 169, 110, 0.42);
}

.fit-column--quiet {
  border-top-color: rgba(247, 244, 239, 0.24);
}

.fit-column h3 {
  margin: 0 0 22px 0;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--fondo-calido);
}

.fit-list {
  display: grid;
  gap: 18px;
}

.fit-list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  color: rgba(247, 244, 239, 0.82);
}

.fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--champan);
  transform: rotate(45deg);
}


/* --------------------------------------------------------------------------
   Sobre — declaración legal final
   -------------------------------------------------------------------------- */

.legal-note {
  margin-top: 1.8em;
  color: var(--azul-noche-soft);
}


/* --------------------------------------------------------------------------
   Método FTM
   -------------------------------------------------------------------------- */

.section--metodo {
  padding-top: 110px;
  padding-bottom: 130px;
}

.ftm-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  text-align: center;
  color: var(--azul-noche);
  margin: 0 0 14px 0;
  letter-spacing: 0.005em;
}

.ftm-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  text-align: center;
  color: var(--azul-noche-soft);
  margin: 0 0 50px 0;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 980px;
  margin: 54px auto 0;
  padding: 0;
  list-style: none;
  counter-reset: method-step;
}

.method-steps li {
  counter-increment: method-step;
  min-width: 0;
  padding-top: 20px;
  border-top: 1px solid var(--champan-soft);
}

.method-steps li::before {
  content: "0" counter(method-step);
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.14em;
  color: var(--champan);
}

.method-steps span {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.16;
  color: var(--azul-noche);
}

.method-steps p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.58;
  color: var(--azul-noche-soft);
}

.ftm-pull {
  margin: 80px auto 0;
  padding: 0;
  max-width: var(--container-narrow);
  text-align: center;
  border: 0;
}

.ftm-pull p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.45;
  color: var(--azul-noche);
  margin: 0;
}


/* --------------------------------------------------------------------------
   Servicios
   -------------------------------------------------------------------------- */

.section--servicios {
  background-color: var(--fondo-claro);
}

.pricing-panel {
  display: grid;
  gap: 56px;
  min-width: 0;
}

.service-kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champan);
  margin: 0 0 12px 0;
}

.service-block {
  margin: 0;
  padding-top: 34px;
  border-top: 1px solid var(--champan-soft);
  min-width: 0;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
  min-width: 0;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--azul-noche);
  margin: 0;
}

.service-price {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--champan);
  margin: 0;
}

.foundation-terms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 28px 0 0 0;
  min-width: 0;
}

.foundation-terms div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--champan-soft);
  border-bottom: 1px solid var(--champan-soft);
}

.foundation-terms dt {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--azul-noche-soft);
}

.foundation-terms dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--champan);
}

.service-meta {
  margin: 16px 0 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--azul-noche-soft);
}

.service-footnote {
  margin: 18px 0 0 0;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: var(--azul-noche-soft);
}

.section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 28px;
  padding: 11px 18px;
  border: 1px solid rgba(200, 169, 110, 0.74);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azul-noche);
}

.section-cta:hover,
.section-cta:focus-visible {
  text-decoration: none;
  border-color: var(--champan);
}


/* --------------------------------------------------------------------------
   Contacto + Aviso legal
   -------------------------------------------------------------------------- */

.section--contacto {
  padding-bottom: 120px;
}

.request-block {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.request-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.2;
  text-align: center;
  color: var(--azul-noche);
  margin: 0 0 18px 0;
}

.request-intro {
  max-width: 680px;
  margin: 0 auto 38px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--azul-noche-soft);
}

.priority-form {
  display: grid;
  gap: 24px;
  padding-top: 34px;
  border-top: 1px solid var(--champan-soft);
  text-align: left;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  min-width: 0;
}

.form-field,
.form-consent {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label,
.form-consent label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--azul-noche-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(28, 49, 73, 0.22);
  border-radius: 0;
  background-color: var(--fondo-claro);
  color: var(--azul-noche);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  padding: 12px 14px;
  box-shadow: none;
}

.form-field textarea {
  min-height: 136px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--champan);
  outline-offset: 2px;
  border-color: rgba(200, 169, 110, 0.72);
}

.form-consent {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding-top: 2px;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--azul-noche);
}

.form-consent label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--azul-noche-soft);
}

.form-consent a {
  color: var(--azul-noche);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.form-submit {
  justify-self: center;
  min-height: 48px;
  min-width: 180px;
  border: 1px solid var(--azul-noche);
  border-radius: 0;
  background-color: var(--azul-noche);
  color: var(--fondo-calido);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 22px;
  cursor: pointer;
}

.form-submit:hover,
.form-submit:focus-visible {
  background-color: var(--azul-marino);
  border-color: var(--azul-marino);
}

.form-submit:focus-visible {
  outline: 2px solid var(--champan);
  outline-offset: 4px;
}

.form-confirmation {
  margin: 0;
  padding: 16px 18px;
  border-top: 1px solid var(--champan-soft);
  border-bottom: 1px solid var(--champan-soft);
  text-align: center;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--azul-noche);
}

.form-confirmation--error {
  border-top-color: rgba(28, 49, 73, 0.28);
  border-bottom-color: rgba(28, 49, 73, 0.28);
  color: var(--azul-noche);
}

.contact-block {
  text-align: center;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.75;
  color: var(--azul-noche);
  max-width: 720px;
  margin: 0 auto;
}

.contact-block--direct {
  margin-top: 64px;
  padding-top: 42px;
  border-top: 1px solid var(--champan-soft);
}

.contact-block p {
  margin: 0 0 1.4em 0;
}

.contact-block p:last-child {
  margin-bottom: 0;
}

.contact-block a {
  color: var(--azul-noche);
  text-decoration: none;
}

.contact-block a:hover,
.contact-block a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.legal-divider {
  border: 0;
  height: 1px;
  width: 50%;
  background-color: var(--champan-soft);
  margin: 90px auto;
}

.legal-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--azul-noche-soft);
}

.legal-block p {
  margin: 0 0 1.3em 0;
}

.legal-block a {
  color: var(--azul-noche-soft);
}

.legal-policy-link {
  margin-top: 2em;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-policy-link a {
  color: var(--azul-noche);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.legal-block .section-eyebrow,
.legal-block .section-eyebrow--small {
  text-align: center;
  margin-bottom: 22px;
}

.privacy-policy-list {
  margin-top: 64px;
}

.copyright {
  margin-top: 2.4em;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  color: var(--azul-noche-mute);
}


/* --------------------------------------------------------------------------
   Tablet (769–1024 px)
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  :root {
    --header-height: 122px;
  }

  .site-header .container {
    padding-left: 28px;
    padding-right: 28px;
  }

  .primary-nav ul {
    gap: 16px;
  }

  .hero-headline {
    font-size: clamp(52px, 6vw, 72px);
  }

  .hero-subtitle {
    font-size: 30px;
  }

  .hero-territory {
    font-size: 14px;
  }

  .ftm-title {
    font-size: 36px;
  }

  .ftm-pull p {
    font-size: 26px;
  }

  .section-lead {
    font-size: 28px;
  }

  .section {
    padding: 88px 0;
  }
}


/* --------------------------------------------------------------------------
   Móvil (≤ 768 px)
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  :root {
    --container-pad: 24px;
    --header-height: 148px;
  }

  body {
    font-size: 17px;
    line-height: 1.7;
  }

  .site-header {
    padding: 16px 0;
  }

  .site-header .container {
    padding: 0 var(--container-pad);
  }

  .header-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .wordmark {
    font-size: 29px;
  }

  .primary-nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px 18px;
  }

  .primary-nav li:nth-child(2),
  .primary-nav li:nth-child(4),
  .primary-nav li:nth-child(5),
  .primary-nav li:nth-child(6) {
    display: none;
  }

  .language-nav {
    align-self: center;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .language-nav ul {
    gap: 16px;
  }

  .primary-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 16px;
  }

  .language-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 14px;
  }

  .hero {
    padding: 38px 0 150px;
    min-height: calc(100vh - var(--header-height));
  }

  .hero-inner {
    gap: 40px;
    text-align: center;
  }

  .hero-headline {
    font-size: 40px;
    line-height: 1.08;
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 23px;
    line-height: 1.25;
    white-space: normal;
  }

  .hero-summary {
    display: block;
    max-width: 34rem;
    font-size: 15px;
    line-height: 1.6;
    margin-top: 18px;
  }

  .hero-kicker {
    margin-bottom: 16px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .hero-territory {
    margin-top: 28px;
  }

  .opening-note {
    margin-top: 24px;
    padding: 16px 0 16px;
  }

  .opening-note p:not(.opening-kicker) {
    font-size: 15px;
  }

  .opening-link {
    width: 100%;
    max-width: 310px;
    min-height: 46px;
    padding: 12px 14px;
    font-size: 12px;
  }

  .hero-symbol {
    display: flex;
    bottom: 20px;
  }

  .hero-symbol img {
    width: 84px;
  }

  .section {
    padding: 72px 0;
  }

  .section--authority {
    padding: 34px 0;
  }

  .authority-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .authority-value {
    font-size: 27px;
  }

  .section::before {
    width: 440px;
    height: 440px;
    right: -300px;
  }

  .section:nth-of-type(odd)::before {
    left: -310px;
    width: 520px;
    height: 520px;
  }

  .section::after {
    width: 300px;
    height: 300px;
    right: -230px;
    bottom: -190px;
  }

  .section:nth-of-type(odd)::after {
    left: -230px;
  }

  .section-eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    margin-bottom: 22px;
  }

  .section-lead {
    font-size: 26px;
    line-height: 1.4;
    margin-bottom: 36px;
  }

  .section-lead--centered {
    max-width: 100%;
  }

  .prose {
    font-size: 17px;
    line-height: 1.68;
  }

  .foundation-offer {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }

  .foundation-price-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 42px;
  }

  .fit-title {
    font-size: 34px;
    margin-bottom: 36px;
  }

  .fit-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .fit-column h3 {
    font-size: 27px;
  }

  .ftm-title {
    font-size: 32px;
  }

  .ftm-subtitle {
    font-size: 18px;
    margin-bottom: 36px;
  }

  .method-steps {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 42px;
  }

  .ftm-pull {
    margin-top: 56px;
  }

  .ftm-pull p {
    font-size: 23px;
    line-height: 1.45;
  }

  .service-block {
    padding-top: 30px;
  }

  .service-title {
    font-size: 22px;
  }

  .service-topline {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .service-price {
    font-size: 26px;
  }

  .foundation-terms {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .foundation-terms div {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .foundation-terms dd {
    font-size: 24px;
    white-space: normal;
  }

  .service-footnote {
    font-size: 15px;
  }

  .section-cta {
    width: 100%;
    max-width: 340px;
    min-height: 46px;
    padding: 12px 14px;
    font-size: 12px;
    text-align: center;
  }

  .request-title {
    font-size: 31px;
  }

  .request-intro {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 32px;
  }

  .priority-form {
    padding-top: 28px;
    gap: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }

  .form-submit {
    width: 100%;
  }

  .contact-block {
    font-size: 17px;
  }

  .contact-block--direct {
    margin-top: 52px;
    padding-top: 34px;
  }

  .legal-divider {
    margin: 70px auto;
    width: 60%;
  }

  .legal-block {
    font-size: 14px;
  }
}


/* --------------------------------------------------------------------------
   Móvil estrecho (≤ 380 px) — ajustes finales
   -------------------------------------------------------------------------- */

@media (max-width: 380px) {
  :root {
    --header-height: 150px;
  }

  .header-inner {
    gap: 8px;
  }

  .primary-nav ul {
    gap: 2px 8px;
  }

  .wordmark {
    font-size: 27px;
  }

  .hero-headline {
    font-size: 38px;
  }

  .hero-summary {
    font-size: 17px;
  }

  .hero-subtitle {
    font-size: 20px;
  }
}

@media (min-width: 381px) and (max-width: 550px) {
  :root {
    --header-height: 150px;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-bottom: 150px;
  }
}


/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Direct contact while the application is paused. */
.direct-contact-actions { padding-top: 28px; border-top: 1px solid var(--champan-soft); text-align: center; }
.direct-contact-intro { margin: 0 auto 24px; max-width: 620px; line-height: 1.7; }
.direct-contact-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.direct-contact-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; text-align: center; box-sizing: border-box; }
@media (max-width: 540px) { .direct-contact-button { width: 100%; min-width: 0; } }
