/* Tipografías locales (web-src/fuentes.py) */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-400.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-500.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Plus Jakarta Sans';font-style:italic;font-weight:300 800;font-display:swap;src:url(/assets/fonts/plus-jakarta-sans-300-800-italic.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/plus-jakarta-sans-300-800.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* ==========================================================================
   Major League Builders Academy LLC — mlbuildersacademy.com
   Design system: "Institutional Editorial"
   Midnight navy + ivory paper + brass. Fraunces display / Manrope body.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ink family — the midnight base */
  --ink:        #0A1A2F;
  --ink-deep:   #05101D;
  --ink-soft:   #16293F;
  --ink-lift:   #1E354E;

  /* Paper family — warm ivory, never pure white */
  --paper:      #F7F2E8;
  --paper-warm: #EFE6D5;
  --paper-pure: #FDFBF6;

  /* Brass — the single accent, used sparingly */
  --brass:      #B8862B;
  --brass-lt:   #E0B45C;
  --brass-pale: #F0DDB4;

  /* Support */
  --slate:      #5D6E80;
  --slate-lt:   #8B9AA9;
  --clay:       #94382B;

  /* Lines */
  --line:       rgba(10, 26, 47, 0.13);
  --line-firm:  rgba(10, 26, 47, 0.24);
  --line-dark:  rgba(247, 242, 232, 0.15);
  --line-brass: rgba(184, 134, 43, 0.38);

  /* Type */
  --display: "Plus Jakarta Sans", "Segoe UI", Helvetica, sans-serif;
  --body:    "Plus Jakarta Sans", "Segoe UI", Helvetica, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Rhythm */
  --gutter:  clamp(1.25rem, 4vw, 3.5rem);
  --measure: 68ch;
  --shell:   1220px;
  --shell-narrow: 780px;

  /* Motion */
  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Elevation */
  --lift-sm: 0 1px 2px rgba(10, 26, 47, 0.06), 0 4px 14px rgba(10, 26, 47, 0.05);
  --lift-md: 0 2px 6px rgba(10, 26, 47, 0.07), 0 18px 44px rgba(10, 26, 47, 0.10);
  --lift-lg: 0 8px 20px rgba(10, 26, 47, 0.10), 0 40px 80px rgba(10, 26, 47, 0.16);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.68;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Paper grain — the texture that keeps flat color from feeling synthetic */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--ink); color: var(--brass-lt); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 1.4rem;
  font: 500 0.875rem/1 var(--mono);
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow { max-width: var(--shell-narrow); }

.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section--ink {
  background: var(--ink);
  color: var(--paper);
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper-pure); }

.section--warm { background: var(--paper-warm); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.section--ink .rule { background: var(--line-dark); }

/* --------------------------------------------------------------------------
   4. Type scale & editorial devices
   -------------------------------------------------------------------------- */
.display-xl {
  font-family: var(--display);
  font-size: clamp(2.6rem, 1.5rem + 5vw, 5.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.042em;
}

.display-lg {
  font-family: var(--display);
  font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.038em;
}

.display-md {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.display-sm {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.022em;
}

/* Accent word inside display headings — carried by colour, not italics */
.wonk {
  color: var(--brass);
}
.section--ink .wonk { color: var(--brass-lt); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.4rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-brass);
  max-width: 5rem;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-brass);
  max-width: 5rem;
}
.section--ink .eyebrow { color: var(--brass-lt); }

.lede {
  font-size: clamp(1.075rem, 1rem + 0.42vw, 1.32rem);
  line-height: 1.6;
  color: var(--slate);
  max-width: 56ch;
  font-weight: 450;
}
.section--ink .lede { color: rgba(247, 242, 232, 0.76); }

.prose { max-width: var(--measure); }
.prose h2 { margin: 2.6em 0 0.7em; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.prose h3 { margin: 2em 0 0.55em; font-size: 1.15rem; font-weight: 600; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.15em; padding-left: 1.35rem; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--ink); text-decoration-color: var(--brass); }
.prose a:hover { color: var(--brass); }
.prose strong { font-weight: 700; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper-pure);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 2px;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.012em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background-color 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease);
}

/* Brass sheen that sweeps across on hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(224, 180, 92, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }

.btn:hover { transform: translateY(-2px); box-shadow: var(--lift-md); }
.btn:active { transform: translateY(0); }

.btn--brass { --btn-bg: var(--brass); --btn-fg: #FFF8E7; }
.btn--brass:hover { --btn-bg: #A5761F; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-firm);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(10, 26, 47, 0.04); }

/* Every dark surface, not just .section--ink — the hero, page banners, the CTA
   band and inset panels all paint navy, and a default ghost button would render
   navy-on-navy there. */
.section--ink .btn--ghost,
.hero .btn--ghost,
.banner .btn--ghost,
.ctaband .btn--ghost,
.panel .btn--ghost {
  --btn-fg: var(--paper);
  border-color: var(--line-dark);
}
.section--ink .btn--ghost:hover,
.hero .btn--ghost:hover,
.banner .btn--ghost:hover,
.ctaband .btn--ghost:hover,
.panel .btn--ghost:hover { border-color: var(--brass-lt); background: rgba(247, 242, 232, 0.06); }

.btn--light { --btn-bg: var(--paper-pure); --btn-fg: var(--ink); }

.btn--wide { width: 100%; }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 0.95rem; }

.btn svg { flex-shrink: 0; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

/* Text link with animated brass underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 650;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.tlink:hover::after { transform: scaleX(1); }
.tlink svg { transition: transform 0.35s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }
.section--ink .tlink { color: var(--paper); }

/* --------------------------------------------------------------------------
   6. Masthead / navigation
   -------------------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(247, 242, 232, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.masthead.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(10, 26, 47, 0.07);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5rem;
  transition: min-height 0.4s var(--ease);
}
.masthead.is-stuck .masthead__inner { min-height: 4.25rem; }

/* Wordmark with crest */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.wordmark__crest {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  object-fit: cover;
  /* The source is a social avatar: a black disc inscribed in a gold square.
     Clipping to a circle drops the gold corners and leaves the badge clean on
     both the ivory masthead and the navy footer. Slightly under 50% trims the
     JPEG fringe at the edge. */
  border-radius: 50%;
  clip-path: circle(49.5% at 50% 50%);
  transition: transform 0.5s var(--ease-out);
}
.wordmark:hover .wordmark__crest { transform: scale(1.06); }
.wordmark__text { display: flex; flex-direction: column; line-height: 1; }
.wordmark__name {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.wordmark__sub {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 0.28rem;
}

.nav { display: flex; align-items: center; gap: 0.4rem; }

.nav__link {
  padding: 0.5rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.8rem; right: 0.8rem; bottom: 0.15rem;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: #8A6420; }

.masthead__actions { display: flex; align-items: center; gap: 0.75rem; }

/* Language toggle */
.langswitch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-firm);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
}
.langswitch a {
  padding: 0.34rem 0.66rem;
  text-decoration: none;
  color: var(--slate);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.langswitch a:hover { background: rgba(10, 26, 47, 0.06); color: var(--ink); }
.langswitch a[aria-current="true"] { background: var(--ink); color: var(--brass-lt); }

/* Phone link in header */
.masthead__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.masthead__phone:hover { color: var(--brass); }

/* Mobile menu button */
.navtoggle {
  display: none;
  width: 2.6rem; height: 2.6rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-firm);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}
.navtoggle__bars { position: relative; width: 18px; height: 12px; }
.navtoggle__bars span {
  position: absolute;
  left: 0;
  width: 100%; height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s linear;
}
.navtoggle__bars span:nth-child(1) { top: 0; }
.navtoggle__bars span:nth-child(2) { top: 5px; }
.navtoggle__bars span:nth-child(3) { top: 10px; }
.navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 940px) {
  .navtoggle { display: inline-flex; }
  .masthead__phone span { display: none; }

  .nav {
    position: fixed;
    inset: 5rem 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--gutter) 1.75rem;
    box-shadow: var(--lift-lg);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.45s var(--ease-out);
  }
  .nav.is-open { clip-path: inset(0 0 0 0); }
  .nav__link {
    padding: 0.95rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: 1.25rem; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(4rem, 8vw, 7rem);
}

/* Layered atmosphere: brass glow, diagonal field lines, vignette */
.hero__glow {
  position: absolute;
  top: -30%; right: -15%;
  width: 65vw; height: 65vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at center,
              rgba(184, 134, 43, 0.28) 0%,
              rgba(184, 134, 43, 0.10) 38%,
              transparent 68%);
  pointer-events: none;
  animation: drift 22s var(--ease) infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-4%, 5%, 0) scale(1.12); }
}

.hero__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: repeating-linear-gradient(
    72deg,
    transparent 0 78px,
    rgba(247, 242, 232, 0.05) 78px 79px
  );
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 82%);
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__title { color: var(--paper-pure); margin-bottom: 1.6rem; }
.hero__lede { margin-bottom: 0; }

/* Trust strip beneath hero copy */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.75rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
}
.hero__meta div { min-width: 8rem; }
.hero__meta dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin-bottom: 0.5rem;
}
.hero__meta dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--paper-pure);
  line-height: 1.3;
}

/* Hero side card — the offset "appointment" panel */
.hero__card {
  background: linear-gradient(168deg, var(--ink-soft), var(--ink-lift));
  border: 1px solid var(--line-dark);
  border-top: 2px solid var(--brass);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  box-shadow: var(--lift-lg);
  position: relative;
}
.hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(224, 180, 92, 0.12), transparent 60%);
  pointer-events: none;
}
.hero__card > * { position: relative; }
.hero__card h2 { font-size: 1.35rem; margin-bottom: 0.65rem; }
.hero__card p { color: rgba(247, 242, 232, 0.72); font-size: 0.95rem; }

.hero__card-list {
  list-style: none;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
.hero__card-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: rgba(247, 242, 232, 0.86);
  line-height: 1.5;
}
.hero__card-list svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--brass-lt); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   8. Page banner (interior pages)
   -------------------------------------------------------------------------- */
.banner {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.banner__glow {
  position: absolute;
  top: -60%; left: 50%;
  width: 70vw; height: 70vw;
  max-width: 820px; max-height: 820px;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(184, 134, 43, 0.20), transparent 65%);
  pointer-events: none;
}
.banner__inner { position: relative; z-index: 2; max-width: 60ch; }
.banner h1 { color: var(--paper-pure); margin-bottom: 1.1rem; }
.banner .lede { color: rgba(247, 242, 232, 0.74); }

.crumbs {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.5);
  margin-bottom: 1.5rem;
}
.crumbs a { color: var(--brass-lt); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 0.5rem; }

/* --------------------------------------------------------------------------
   9. Section headers
   -------------------------------------------------------------------------- */
.sechead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sechead--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  max-width: 62ch;
  margin-inline: auto;
}
@media (max-width: 800px) {
  .sechead { grid-template-columns: 1fr; align-items: start; }
}

/* --------------------------------------------------------------------------
   10. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.card {
  position: relative;
  background: var(--paper-pure);
  border: 1px solid var(--line);
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
              border-color 0.45s var(--ease);
}
/* Brass hairline that draws itself across the top on hover */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 2px; width: 100%;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lift-md);
  border-color: var(--line-firm);
}

.card__num {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--brass);
  margin-bottom: 1.1rem;
}
.card__icon {
  width: 2.6rem; height: 2.6rem;
  margin-bottom: 1.25rem;
  color: var(--brass);
}
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--slate); font-size: 0.945rem; }
.card .tlink { margin-top: auto; padding-top: 1.5rem; }

.card--ink {
  background: var(--ink-soft);
  border-color: var(--line-dark);
  color: var(--paper);
}
.card--ink h3 { color: var(--paper-pure); }
.card--ink p { color: rgba(247, 242, 232, 0.72); }

/* Feature list with brass ticks */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.ticks li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  line-height: 1.55;
}
.ticks li::before {
  content: "";
  flex-shrink: 0;
  width: 1.15rem; height: 1.15rem;
  margin-top: 0.22rem;
  border-radius: 50%;
  border: 1px solid var(--line-brass);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8862B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}

/* --------------------------------------------------------------------------
   11. Numbered process steps
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-dark);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brass);
}
.step h3 { margin-bottom: 0.55rem; }
.step p { color: rgba(247, 242, 232, 0.72); max-width: 60ch; }

@media (max-width: 620px) {
  .step { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* --------------------------------------------------------------------------
   12. Split feature block
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }
@media (max-width: 860px) {
  .split--reverse > *:first-child { order: 0; }
}

/* Framed panel used opposite the copy */
.panel {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(100% 70% at 0% 0%, rgba(184, 134, 43, 0.18), transparent 60%);
  pointer-events: none;
}
.panel > * { position: relative; z-index: 1; }
.panel h3 { color: var(--paper-pure); }

/* Stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.stat { background: var(--ink); padding: clamp(1.4rem, 2.5vw, 2rem); }
.stat dt {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin-bottom: 0.7rem;
}
.stat dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  font-weight: 700;
  color: var(--paper-pure);
  line-height: 1.25;
}

/* Pull quote */
.pullquote {
  margin: 0;
  max-width: 34ch;
}
.pullquote blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.95rem);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.032em;
}
.pullquote blockquote::before { content: "\201C"; color: var(--brass); }
.pullquote blockquote::after { content: "\201D"; color: var(--brass); }
.pullquote figcaption {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.section--ink .pullquote figcaption { color: var(--slate-lt); }

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.formwrap {
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  padding: clamp(1.6rem, 3.5vw, 2.75rem);
  box-shadow: var(--lift-sm);
}

.form { display: grid; gap: 1.15rem; }

.field { display: grid; gap: 0.45rem; }
.field--pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1.15rem;
}

.label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--ink);
}
.label .req { color: var(--clay); margin-left: 0.15rem; }
.hint {
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.45;
}

.input, .select, .textarea {
  width: 100%;
  padding: 0.82rem 0.95rem;
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-firm);
  border-radius: 2px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease);
}
.textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D6E80' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.05rem;
  padding-right: 2.6rem;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  background: var(--paper-pure);
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(184, 134, 43, 0.16);
}
.input::placeholder, .textarea::placeholder { color: var(--slate-lt); }

.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(148, 56, 43, 0.13);
}

.error {
  font-size: 0.78rem;
  color: var(--clay);
  font-weight: 600;
  min-height: 0;
}
.error:empty { display: none; }

/* Consent blocks — deliberately set apart from ordinary fields.
   The SMS block gets its own framed treatment so it can never read as
   bundled into the terms checkbox. */
.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 1.05rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line-firm);
  border-radius: 2px;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.consent:focus-within { border-color: var(--brass); }

.consent--sms {
  background: linear-gradient(180deg, rgba(240, 221, 180, 0.34), rgba(240, 221, 180, 0.12));
  border-color: var(--line-brass);
  border-left: 3px solid var(--brass);
}

.consent__box {
  appearance: none;
  flex-shrink: 0;
  width: 1.35rem; height: 1.35rem;
  margin: 0.1rem 0 0;
  background: var(--paper-pure);
  border: 1.5px solid var(--slate);
  border-radius: 2px;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.consent__box::after {
  content: "";
  width: 0.78rem; height: 0.78rem;
  transform: scale(0);
  transition: transform 0.2s var(--ease-out);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF8E7' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.consent__box:checked { background: var(--brass); border-color: var(--brass); }
.consent__box:checked::after { transform: scale(1); }

.consent__text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink);
  cursor: pointer;
}
.consent__text a { color: var(--ink); text-decoration-color: var(--brass); font-weight: 600; }
.consent__text a:hover { color: var(--brass); }

.consent__tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.4rem;
}

/* Honeypot */
.trap {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Form status messages */
.formstatus {
  padding: 1rem 1.15rem;
  border-radius: 2px;
  font-size: 0.9rem;
  line-height: 1.55;
  border: 1px solid transparent;
}
.formstatus[hidden] { display: none; }
.formstatus--ok {
  background: rgba(184, 134, 43, 0.10);
  border-color: var(--line-brass);
  color: var(--ink);
}
.formstatus--err {
  background: rgba(148, 56, 43, 0.08);
  border-color: rgba(148, 56, 43, 0.32);
  color: var(--clay);
}
.formstatus strong { display: block; margin-bottom: 0.35rem; font-size: 0.95rem; }
.formstatus__actions { margin-top: 1.1rem; }

.form__foot {
  font-size: 0.76rem;
  color: var(--slate);
  line-height: 1.5;
}

/* Busy state */
.btn.is-busy { pointer-events: none; opacity: 0.72; }
.btn.is-busy::before {
  content: "";
  width: 0.95rem; height: 0.95rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   14. Contact details list
   -------------------------------------------------------------------------- */
.contactlist { display: grid; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.contactlist__row {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.contactlist__icon {
  width: 2.6rem; height: 2.6rem;
  display: grid;
  place-content: center;
  border: 1px solid var(--line-brass);
  border-radius: 50%;
  color: var(--brass);
}
.contactlist__icon svg { width: 1.1rem; height: 1.1rem; }
.contactlist__dt {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.35rem;
}
.contactlist__dd { margin: 0; font-size: 1.02rem; font-weight: 600; line-height: 1.45; }
.contactlist__dd a { text-decoration: none; }
.contactlist__dd a:hover { color: var(--brass); }
.contactlist address { font-style: normal; font-weight: 600; }

.mapframe {
  border: 1px solid var(--line);
  filter: grayscale(0.35) contrast(1.04);
  width: 100%;
  height: 340px;
  display: block;
}

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.ctaband {
  position: relative;
  background: var(--ink-deep);
  color: var(--paper);
  overflow: hidden;
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.ctaband::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 100% at 50% 0%, rgba(184, 134, 43, 0.22), transparent 62%);
  pointer-events: none;
}
.ctaband__inner { position: relative; z-index: 1; max-width: 56ch; margin-inline: auto; }
.ctaband h2 { color: var(--paper-pure); margin-bottom: 1rem; }
.ctaband .lede { margin-inline: auto; }
.ctaband .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: rgba(247, 242, 232, 0.72);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.9rem;
}
.footer a { color: rgba(247, 242, 232, 0.72); text-decoration: none; }
.footer a:hover { color: var(--brass-lt); }

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer .wordmark { color: var(--paper-pure); margin-bottom: 1.25rem; }
.footer .wordmark__sub { color: var(--slate-lt); }
.footer__blurb { max-width: 34ch; line-height: 1.65; }

.footer__col h2 {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin: 0 0 1.15rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }

.footer__social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.footer__social a {
  width: 2.35rem; height: 2.35rem;
  display: grid; place-content: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
              transform 0.3s var(--ease);
}
.footer__social a:hover {
  border-color: var(--brass);
  background: rgba(184, 134, 43, 0.14);
  transform: translateY(-2px);
}
.footer__social svg { width: 1.05rem; height: 1.05rem; }

.footer__legal {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(247, 242, 232, 0.66);
}
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

.disclosure {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.74rem;
  line-height: 1.6;
  color: rgba(247, 242, 232, 0.66);
  max-width: 90ch;
}
.disclosure p + p { margin-top: 0.75rem; }

/* --------------------------------------------------------------------------
   17. Floating WhatsApp affordance
   -------------------------------------------------------------------------- */
.wafloat {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 850;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.15rem;
  background: #128C7E;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 650;
  box-shadow: 0 8px 28px rgba(18, 140, 126, 0.36);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wafloat:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(18, 140, 126, 0.46); }
.wafloat svg { width: 1.3rem; height: 1.3rem; flex-shrink: 0; }
@media (max-width: 560px) {
  .wafloat span { display: none; }
  .wafloat { padding: 0.95rem; }
}

/* --------------------------------------------------------------------------
   18. Reveal choreography
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

/* Without JavaScript nothing would ever add .is-in, so the page would read as
   blank. Show everything instead — the animation is decoration, the copy is not. */
@media (scripting: none) {
  [data-reveal] { opacity: 1; transform: none; }
  .hero [data-load] { opacity: 1; animation: none; }
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.09s; }
[data-reveal][data-delay="2"] { transition-delay: 0.18s; }
[data-reveal][data-delay="3"] { transition-delay: 0.27s; }
[data-reveal][data-delay="4"] { transition-delay: 0.36s; }
[data-reveal][data-delay="5"] { transition-delay: 0.45s; }

/* Page-load stagger for the hero */
.hero [data-load] {
  opacity: 0;
  animation: riseIn 1s var(--ease-out) forwards;
}
.hero [data-load="1"] { animation-delay: 0.1s; }
.hero [data-load="2"] { animation-delay: 0.22s; }
.hero [data-load="3"] { animation-delay: 0.34s; }
.hero [data-load="4"] { animation-delay: 0.46s; }
.hero [data-load="5"] { animation-delay: 0.58s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero [data-load] { opacity: 1; animation: none; }
}

/* --------------------------------------------------------------------------
   19. Utilities
   -------------------------------------------------------------------------- */
.stack > * + * { margin-top: 1.15rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

@media print {
  body::before, .masthead, .wafloat, .ctaband, .hero__glow, .hero__lines { display: none !important; }
  body { background: #fff; color: #000; }
}

/* --------------------------------------------------------------------------
   Fotos del equipo (2026-10-18)
   -------------------------------------------------------------------------- */
.photo { display: block; width: 100%; height: auto; border-radius: 2px; background: #3a2418; }
.photo--founder { aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 1.75rem; }
.photo--team { aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1.75rem; box-shadow: 0 18px 40px -24px rgba(10, 26, 47, 0.55); }

/* Antes eran atributos style="" (build.py) */
.s-6216339{color:rgba(247,242,232,.74)}
.s-c4d013c{font-style:normal}
.s-b814aaf{color:rgba(247,242,232,.86)}
.s-b5df232{color:inherit}
.s-83e4487{font-weight:700}
.s-116e33d{text-decoration:none}
.s-b383fb8{font-family:var(--mono);font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:var(--slate)}
.s-1c8106d{min-height:100vh;display:flex;align-items:center}
.s-4564c4a{position:relative;z-index:2;text-align:center;max-width:56ch}
.s-e7455b0{color:var(--paper-pure)}
.s-b996d74{margin:1.5rem auto 0}
.s-9b54a37{justify-content:center}
.s-5eea40b{margin-top:2.5rem;font-family:var(--mono);font-size:.78rem;letter-spacing:.12em;color:rgba(247,242,232,.5)}
.s-4caefde{color:var(--brass-lt);text-decoration:none}
