/* Expósito Dynamics: estilos principales */
:root {
  --c-celeste: #38B2EE;
  --c-celeste-light: #7FD0F7;
  --c-primary: #0A6FA6;
  --c-primary-hover: #085A87;
  --c-ink: #0D1B2A;
  --c-ink-2: #16283A;
  --c-coral: #FF7849;
  --c-coral-hover: #F2652F;
  --c-bg: #F5F8FA;
  --c-surface: #FFFFFF;
  --c-tint: #E6F4FC;
  --c-tint-strong: #CDEBFB;
  --c-line: #DFE7EE;
  --c-muted: #526273;
  --c-muted-dark: #A9B8C6;
  --c-success: #178A5B;
  --c-error: #C93C3C;

  --f-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", system-ui, ui-sans-serif, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --header-h: 72px;
  --radius: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

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

a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--c-primary-hover); }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { list-style: none; margin: 0; padding: 0; }
figure, dl, dd { margin: 0; }

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

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

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 10px;
  background: var(--c-ink); color: #fff; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 16px; color: #fff; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn .arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-hover); color: #fff; box-shadow: 0 10px 24px -12px rgba(10, 111, 166, .7); }

.btn-accent { background: var(--c-coral); color: var(--c-ink); }
.btn-accent:hover { background: var(--c-coral-hover); color: var(--c-ink); box-shadow: 0 10px 24px -12px rgba(242, 101, 47, .7); }

.btn-ghost { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-line); }
.btn-ghost:hover { color: var(--c-ink); border-color: var(--c-ink); }

.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: var(--c-line);
}
body.nav-open .site-header { background: var(--c-bg); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--c-ink); text-decoration: none; }
.brand:hover { color: var(--c-ink); }
.brand-mark { width: 34px; height: 34px; flex: none; transition: transform .35s var(--ease); }
.brand:hover .brand-mark { transform: translateX(2px); }
.brand-name { display: inline-flex; gap: 5px; font-size: 1.125rem; letter-spacing: -0.02em; line-height: 1; }
.brand-name b { font-weight: 700; }
.brand-name span { font-weight: 400; color: var(--c-primary); }

.site-nav a {
  display: block; color: var(--c-ink); text-decoration: none; font-weight: 500;
  transition: color .2s, background-color .2s;
}

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  width: 44px; height: 44px; padding: 0; margin-right: -8px;
  background: none; border: 0; border-radius: 10px; cursor: pointer; color: var(--c-ink);
}
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.header-cta { display: none; }

/* Mobile nav */
@media (max-width: 899.98px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 49;
    padding: 24px clamp(20px, 5vw, 40px) 40px;
    background: var(--c-bg);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s linear .3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .site-nav ul { display: flex; flex-direction: column; }
  .site-nav li:not(.nav-cta) a {
    padding: 18px 0; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em;
    border-bottom: 1px solid var(--c-line);
  }
  .site-nav li:not(.nav-cta) a.is-active { color: var(--c-primary); }
  .nav-cta { margin-top: 32px; }
  .nav-cta .btn { width: 100%; color: #fff; }
}

@media (min-width: 900px) {
  .nav-toggle, .nav-cta { display: none; }
  .header-cta { display: inline-flex; }
  .site-nav { margin-left: auto; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav a { padding: 8px 14px; border-radius: 999px; font-size: .9375rem; }
  .site-nav a:hover { background: rgba(10, 111, 166, .07); color: var(--c-ink); }
  .site-nav a.is-active { color: var(--c-primary); }
}

/* Sections */
.section { padding-block: clamp(88px, 12vw, 152px); }
.section-white { background: var(--c-surface); }
.section-tint { background: var(--c-tint); }

.kicker {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: .8125rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted);
}
.kicker span { color: var(--c-primary); }
.kicker span::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: currentColor; }

.section-title { font-size: clamp(2.125rem, 4.6vw, 3.5rem); letter-spacing: -0.035em; }
.section-intro { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--c-muted); max-width: 38em; }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 7vw, 80px); }
@media (min-width: 1024px) {
  .section-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 24px; }
  .section-head .kicker { grid-column: 1 / 4; grid-row: 1; padding-top: 14px; align-self: start; }
  .section-head .section-title { grid-column: 4 / 12; grid-row: 1; }
  .section-head .section-intro { grid-column: 4 / 11; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(56px, 10vw, 128px));
  padding-bottom: clamp(80px, 11vw, 140px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 35%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 75% 35%, #000 10%, transparent 75%);
  opacity: .7;
}
.hero-grid { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border: 1px solid var(--c-line); border-radius: 999px;
  background: var(--c-surface);
  font-family: var(--f-mono); font-size: .8125rem; color: var(--c-muted);
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--c-celeste); }
.dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--c-celeste); opacity: 0;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

.hero h1 {
  margin-top: 28px;
  font-size: clamp(2.625rem, 6.4vw, 4.875rem);
  line-height: 1.02; letter-spacing: -0.045em;
}
.hero h1 em {
  font-style: normal; color: var(--c-primary);
  background: linear-gradient(transparent 64%, var(--c-tint-strong) 64%, var(--c-tint-strong) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { margin-top: 28px; max-width: 34em; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--c-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Code card */
.code-card {
  position: relative;
  background: var(--c-ink); color: #C9D6E2;
  border-radius: 20px; overflow: hidden;
  font-family: var(--f-mono); font-size: .875rem; line-height: 1.85;
  box-shadow: 0 40px 80px -40px rgba(13, 27, 42, .55), 0 0 0 1px rgba(13, 27, 42, .08);
}
.code-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: .75rem; color: #8FA3B6;
}
.code-lang { padding: 2px 8px; border-radius: 6px; background: rgba(56, 178, 238, .14); color: var(--c-celeste-light); }
.code-body { padding: 20px 22px 26px 0; overflow-x: auto; counter-reset: line; }
.code-body .l { display: block; white-space: pre; padding-left: 56px; position: relative; }
.code-body .l::before {
  counter-increment: line; content: counter(line);
  position: absolute; left: 0; width: 36px; text-align: right; color: #4E6276;
}
.t-c { color: #7C90A3; }
.t-kw { color: #FF9C78; }
.t-k { color: var(--c-celeste-light); }
.t-s { color: #FFD3C2; }
.caret {
  display: inline-block; width: 8px; height: 1.1em; margin-left: 4px; vertical-align: -0.2em;
  background: var(--c-celeste); animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 479.98px) { .code-card { font-size: .8125rem; } .code-body .l { padding-left: 44px; } .code-body .l::before { width: 28px; } }

/* Services */
.services-grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px;
  background: var(--c-line); border: 1px solid var(--c-line);
  border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.service {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: clamp(28px, 3.2vw, 40px);
  background: var(--c-surface);
  transition: background-color .3s;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--c-celeste); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.service:hover { background: #F7FBFE; }
.service:hover::before { transform: scaleX(1); }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(28px, 4vw, 56px); }
.service-num { font-family: var(--f-mono); font-size: .875rem; color: var(--c-primary); }
.service-tag {
  padding: 4px 10px; border: 1px solid var(--c-line); border-radius: 999px;
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted);
}
.service h3 { font-size: 1.375rem; letter-spacing: -0.02em; }
.service p { color: var(--c-muted); font-size: 1rem; }

.services-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 40px; padding: 28px clamp(24px, 3vw, 40px);
  border-radius: var(--radius); background: var(--c-ink); color: #fff;
}
.services-cta p { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; letter-spacing: -0.015em; max-width: 26em; }

/* Differentials (dark) */
.section-dark { background: var(--c-ink); color: #E8EEF3; }
.section-dark .kicker { color: var(--c-muted-dark); }
.section-dark .kicker span { color: var(--c-celeste); }
.section-dark .section-title { color: #fff; }
.section-dark .section-intro { color: var(--c-muted-dark); }

.diff-grid { display: grid; gap: 56px; }
.diff-head { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1024px) {
  .diff-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; }
  .diff-head { position: sticky; top: calc(var(--header-h) + 48px); }
}

.diff-list { counter-reset: none; }
.diff-list li {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 8px;
  padding: 32px 0; border-top: 1px solid rgba(255, 255, 255, .12);
}
.diff-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.diff-num { grid-row: span 2; padding-top: 6px; font-family: var(--f-mono); font-size: .875rem; color: var(--c-celeste); }
.diff-list h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); color: #fff; transition: color .25s; }
.diff-list p { color: var(--c-muted-dark); }
.diff-list li:hover h3 { color: var(--c-celeste-light); }
@media (min-width: 768px) {
  .diff-list li { grid-template-columns: 56px minmax(0, .9fr) minmax(0, 1.3fr); column-gap: 24px; align-items: baseline; }
  .diff-num { grid-row: auto; }
}

/* Projects */
.projects-list { border-top: 1px solid var(--c-line); }
.project {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "idx arrow" "name name" "desc desc" "tech tech";
  gap: 10px 24px; padding: 32px 0;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink); text-decoration: none;
}
.project::before {
  content: ""; position: absolute; inset: 0 calc(-1 * clamp(12px, 2vw, 24px));
  border-radius: 16px; background: var(--c-surface);
  opacity: 0; transform: scale(.985); transition: opacity .3s, transform .4s var(--ease);
  z-index: -1;
}
.project:hover { color: var(--c-ink); }
.project:hover::before { opacity: 1; transform: none; }
.projects-list li { position: relative; z-index: 0; }

.project-idx { grid-area: idx; font-family: var(--f-mono); font-size: .875rem; color: var(--c-muted); align-self: center; }
.project-name { grid-area: name; font-size: clamp(1.625rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; transition: color .25s; }
.project-desc { grid-area: desc; color: var(--c-muted); }
.project-url { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: .8125rem; color: var(--c-primary); }
.project-tech { grid-area: tech; display: flex; flex-wrap: wrap; gap: 6px; align-content: center; }
.project-tech span {
  padding: 4px 10px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-surface);
  font-family: var(--f-mono); font-size: .75rem; color: var(--c-muted);
}
.project-arrow {
  grid-area: arrow; display: grid; place-items: center; align-self: center;
  width: 48px; height: 48px; border: 1px solid var(--c-line); border-radius: 50%;
  font-size: 1.125rem; transition: background-color .25s, color .25s, border-color .25s, transform .35s var(--ease);
}
.project:hover .project-name { color: var(--c-primary); }
.project:hover .project-arrow { background: var(--c-primary); border-color: var(--c-primary); color: #fff; transform: rotate(45deg); }

@media (min-width: 900px) {
  .project {
    grid-template-columns: 56px minmax(0, 1.5fr) minmax(0, 1fr) auto;
    grid-template-areas: "idx name tech arrow" "idx desc tech arrow";
    column-gap: 32px; padding: 40px 0;
  }
  .project-idx { align-self: start; padding-top: 12px; }
  .project-tech { justify-content: flex-end; }
}

.text-link {
  display: inline-flex; gap: 8px; margin-top: 40px;
  font-family: var(--f-mono); font-size: .875rem; font-weight: 500; text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* About */
.about-grid { display: grid; gap: 64px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(56px, 7vw, 96px); } }

.about-photo { position: relative; width: 100%; max-width: 320px; margin-right: 24px; justify-self: center; }
.about-photo::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: 0;
  border-radius: var(--radius); background: var(--c-celeste);
}
.photo-frame {
  position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--c-bg) 0 10px, var(--c-tint) 10px 20px);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about-photo:hover .photo-frame img { transform: scale(1.03); }
.photo-frame.is-missing img { display: none; }
.about-photo figcaption {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .94); box-shadow: 0 12px 30px -16px rgba(13, 27, 42, .5);
  font-size: .9375rem; line-height: 1.3;
}
.about-photo figcaption span { font-family: var(--f-mono); font-size: .75rem; color: var(--c-muted); }

.about-copy { display: grid; gap: 24px; }
.about-text { display: grid; gap: 16px; color: var(--c-muted); font-size: 1.0625rem; }
.about-text a { font-weight: 600; }

.about-facts { display: grid; border-top: 1px solid var(--c-line); margin-top: 8px; }
.about-facts > div { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
@media (min-width: 640px) { .about-facts > div { grid-template-columns: 140px minmax(0, 1fr); gap: 24px; align-items: baseline; } }
.about-facts dt { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.about-facts dd { font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  padding: 4px 11px; border-radius: 999px; background: var(--c-tint);
  font-family: var(--f-mono); font-size: .8125rem; font-weight: 500; color: var(--c-primary-hover);
}
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Contact */
.contact-grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } }
.contact-info { display: grid; gap: 20px; }
@media (min-width: 1024px) { .contact-info { position: sticky; top: calc(var(--header-h) + 48px); } }

.contact-list { display: grid; gap: 12px; margin-top: 20px; }
.contact-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 18px 20px; border: 1px solid transparent; border-radius: 18px;
  background: var(--c-surface); color: var(--c-ink); text-decoration: none;
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.contact-item:hover { color: var(--c-ink); border-color: var(--c-celeste); transform: translateY(-2px); box-shadow: 0 16px 32px -24px rgba(10, 111, 166, .6); }
.contact-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--c-tint); color: var(--c-primary);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-text { display: grid; gap: 2px; min-width: 0; }
.contact-label { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.contact-value { font-weight: 600; overflow-wrap: anywhere; }
.contact-arrow { color: var(--c-muted); transition: transform .3s var(--ease), color .25s; }
.contact-item:hover .contact-arrow { color: var(--c-primary); transform: translateX(3px); }

.form-card {
  padding: clamp(24px, 4.5vw, 48px); border-radius: var(--radius);
  background: var(--c-surface); box-shadow: 0 40px 80px -48px rgba(13, 27, 42, .35);
}
.form-title { font-size: 1.5rem; letter-spacing: -0.02em; }
.form-sub { margin-top: 6px; color: var(--c-muted); }

.contact-form { display: grid; gap: 18px; margin-top: 28px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: grid; gap: 8px; }
.field label { font-size: .9375rem; font-weight: 600; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1px solid var(--c-line); border-radius: 12px; background: #FAFCFD;
  font: inherit; font-size: 1rem; color: var(--c-ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 148px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #7D8C9A; }
.field input:hover, .field textarea:hover { border-color: #C3D1DC; }
.field input:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(56, 178, 238, .22);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--c-error); background: #FFF8F8; }
.field.is-invalid input:focus, .field.is-invalid textarea:focus { box-shadow: 0 0 0 4px rgba(201, 60, 60, .15); }
.field-error { min-height: 0; font-size: .875rem; color: var(--c-error); }
.field-error:empty { display: none; }

.captcha-q {
  display: inline-block; padding: 1px 8px; border-radius: 6px;
  background: var(--c-tint); color: var(--c-primary-hover);
  font-family: var(--f-mono); font-weight: 600; white-space: nowrap;
}
.captcha-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.captcha-row input { width: 120px; flex: none; text-align: center; font-family: var(--f-mono); font-size: 1.0625rem; }
.captcha-refresh {
  min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .875rem; font-weight: 500; color: var(--c-primary);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.captcha-refresh:hover { color: var(--c-primary-hover); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit { width: 100%; margin-top: 6px; }
@media (min-width: 640px) { .btn-submit { width: auto; justify-self: start; } }
.btn-submit[disabled] { opacity: .7; cursor: progress; }
.btn-submit.is-loading .arrow { animation: spin .8s linear infinite; }
.btn-submit.is-loading .arrow::before { content: ""; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { font-size: .9375rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success, .form-status.is-error { padding: 14px 16px; border-radius: 12px; }
.form-status.is-success { background: #E7F6EF; color: var(--c-success); }
.form-status.is-error { background: #FCEBEB; color: var(--c-error); }

/* Footer */
.site-footer { background: var(--c-ink); color: var(--c-muted-dark); padding-top: clamp(64px, 8vw, 96px); }
.site-footer a { color: #E8EEF3; text-decoration: none; }
.site-footer a:hover { color: var(--c-celeste-light); }
.footer-top { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 640px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand p { max-width: 22em; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .brand-name span { color: var(--c-celeste-light); }
.footer-col h3 {
  margin-bottom: 16px; font-family: var(--f-mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted-dark);
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { overflow-wrap: anywhere; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  padding-block: 24px 32px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .875rem;
}
.footer-bottom p:first-child { margin-right: auto; }
.to-top { font-family: var(--f-mono); font-size: .8125rem; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 40;
  display: inline-flex; align-items: center; gap: 0;
  height: 56px; min-width: 56px; padding: 0 16px;
  border-radius: 999px; background: #25D366; color: var(--c-ink);
  box-shadow: 0 14px 30px -12px rgba(13, 27, 42, .45);
  text-decoration: none; font-weight: 700;
  transform: translateY(0); transition: transform .3s var(--ease), box-shadow .3s, gap .3s var(--ease);
}
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease); }
.wa-float:hover, .wa-float:focus-visible { color: var(--c-ink); gap: 10px; transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(13, 27, 42, .5); }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 120px; }

/* Scroll reveal */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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

@media print {
  .site-header, .wa-float, .nav-toggle, .form-card { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .section-dark, .site-footer { background: #fff; color: #000; }
}
