/* SemFila — minimalist site
   Inspired by soft, light, gradient-pastel aesthetic.
   Brand palette derived from presentation:
   - Cyan #06B6D4 / light #67E8F9
   - Amber #F59E0B (logo arrow)
   - Ink #0B1929
*/

:root {
  --ink:        #0B1929;
  --ink-2:      #1A2B40;
  --text:       #1F2937;
  --muted:      #6B7280;
  --muted-2:    #9CA3AF;

  --paper:      #FFFFFF;
  --paper-2:    #F7F8FA;
  --paper-3:    #F1F2F6;

  --line:       #ECEEF2;
  --line-2:     #E4E7EC;

  --cyan:       #06B6D4;
  --cyan-2:     #0891B2;
  --cyan-light: #67E8F9;
  --cyan-soft:  #E0F7FB;

  --amber:      #F59E0B;
  --amber-soft: #FEF3E0;

  --peach:      #FFE5D9;
  --pink:       #FDE2E4;
  --lavender:   #E6E0FA;
  --sky:        #D9ECFB;

  --radius-lg:  24px;
  --radius:     16px;
  --radius-sm:  10px;

  --maxw:       1180px;

  --t-fast:     180ms ease;
  --t:          280ms cubic-bezier(.2,.7,.2,1);

  --shadow-sm:  0 1px 2px rgba(15, 23, 42, .04);
  --shadow:     0 10px 30px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow-lg:  0 24px 60px rgba(15, 23, 42, .10), 0 4px 12px rgba(15, 23, 42, .05);

  --font-sans:  'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
*::selection { background: var(--ink); color: white; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

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

/* ─── NAV ──────────────────────────────────────────────── */
.nav {
  position: sticky; top: 16px; z-index: 50;
  margin: 16px auto 0;
  max-width: calc(var(--maxw) - 16px);
  padding: 0 12px;
}
.nav__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  padding: 0 12px 0 20px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Scroll progress inside nav pill */
.nav__progress {
  position: absolute;
  left: 24px; right: 24px;
  bottom: 4px;
  height: 2px;
  background: transparent;
  border-radius: 999px;
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
}
.nav.is-scrolled .nav__progress { opacity: 1; }
.nav__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  border-radius: 999px;
  transition: width 80ms linear;
  box-shadow: 0 0 8px rgba(6, 182, 212, .4);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -0.02em; color: var(--ink);
  font-size: 17px;
}
.brand__logo {
  height: 28px; width: auto;
  display: block;
  transition: transform var(--t-fast);
}
.brand:hover .brand__logo { transform: translateX(2px); }

.nav__links {
  display: flex; align-items: center; gap: 4px;
}
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}
.nav__links a:not(.nav__cta):hover { color: var(--ink); background: var(--paper-2); }
.nav__links a:not(.nav__cta).is-active {
  color: var(--ink);
  background: var(--paper-2);
}
.nav__links a:not(.nav__cta).is-active::before {
  content: '';
  position: absolute;
  left: 14px;
  bottom: 4px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, .15);
}

.nav__cta {
  background: var(--ink); color: white !important;
  padding: 10px 18px !important;
  font-weight: 600 !important;
  margin-left: 8px;
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast) !important;
}
.nav__cta:hover {
  transform: translateY(-1px);
  background: var(--ink-2) !important;
  box-shadow: 0 8px 18px rgba(11,25,41,.18);
}

.nav__toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  margin: 24px auto 0;
  max-width: calc(var(--maxw) - 16px);
  padding: 80px 28px 96px;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 18%, var(--peach) 0%, transparent 38%),
    radial-gradient(circle at 88% 22%, var(--lavender) 0%, transparent 42%),
    radial-gradient(circle at 50% 92%, var(--sky) 0%, transparent 46%),
    radial-gradient(circle at 50% 50%, var(--cyan-soft) 0%, transparent 60%),
    #FBFBFE;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(245, 158, 11, .12) 0%, transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, .10) 0%, transparent 40%);
  z-index: -1;
}
.hero__inner {
  position: relative;
  text-align: center;
}
.hero__logo {
  height: 64px; width: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 6px 16px rgba(6, 182, 212, .18));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 500;
  color: var(--cyan-2);
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid rgba(6, 182, 212, .25);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
}
.hero__title {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--ink);
  margin: 0 auto 22px;
  max-width: 16ch;
}
.hero__title .accent {
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 800;
}
.hero__lead {
  max-width: 56ch;
  margin: 0 auto 32px;
  font-size: 17px;
  color: var(--muted);
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-bottom: 40px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 14.5px;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: var(--ink); color: white;
  box-shadow: 0 8px 20px rgba(11,25,41,.18);
}
.btn--primary:hover {
  transform: translateY(-1px);
  background: var(--ink-2);
  box-shadow: 0 12px 24px rgba(11,25,41,.25);
}
.btn--ghost {
  color: var(--ink);
  background: white;
  border-color: var(--line-2);
}
.btn--ghost:hover {
  background: var(--paper-2);
  border-color: var(--ink);
}
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
  font-size: 13px; color: var(--muted-2);
  font-family: var(--font-mono); letter-spacing: 0.04em;
}
.hero__meta .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--muted-2);
}

/* ─── SECTIONS GENERIC ─────────────────────────────────── */
.section {
  padding: 112px 0;
  background: var(--paper);
}
.section--alt {
  background: var(--paper-2);
}
.section__tag {
  display: inline-block;
  font-size: 13px;
  color: var(--cyan-2);
  margin: 0 0 18px;
  padding: 6px 14px;
  background: var(--cyan-soft);
  border-radius: 999px;
  font-weight: 500;
}
.section__tag--light {
  background: rgba(255,255,255,.08);
  color: var(--cyan-light);
  border: 1px solid rgba(255,255,255,.14);
}
.section__head { text-align: center; margin-bottom: 64px; }
.section__head .section__title { margin-left: auto; margin-right: auto; }
.section__head .section__lead { margin-left: auto; margin-right: auto; }

.section__title {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 20px;
  max-width: 22ch;
}
.section__lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 56px;
}

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--top { align-items: start; }
.grid--inner { gap: 20px; }

@media (max-width: 960px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ─── EMPRESA ──────────────────────────────────────────── */
.prose p { font-size: 16.5px; color: var(--text); margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

.stats { display: grid; gap: 16px; }
.stat {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.stat:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.stat__num {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  font-feature-settings: 'tnum';
}
.stat__num .unit {
  color: var(--cyan);
  font-weight: 600;
}
.stat__label {
  font-size: 14px; color: var(--muted); line-height: 1.5;
}

/* ─── CARDS ────────────────────────────────────────────── */
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 24px;
  font-size: 22px;
  color: var(--cyan-2);
  background: var(--cyan-soft);
}
.card__icon--peach { background: var(--peach); color: #C2410C; }
.card__icon--lavender { background: var(--lavender); color: #6D28D9; }
.card__title {
  font-size: 20px; color: var(--ink); margin: 0 0 12px; font-weight: 600;
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--muted); }

/* ─── SERVICES ─────────────────────────────────────────── */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  padding: 32px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
}
.service:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.service__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 22px;
  background: var(--cyan-soft);
  color: var(--cyan-2);
}
.service__icon svg { width: 22px; height: 22px; }
.service__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px; color: var(--muted-2);
  margin-bottom: 10px; letter-spacing: 0.16em;
}
.service h3 {
  font-size: 18px; color: var(--ink); margin: 0 0 10px;
  font-weight: 600; letter-spacing: -0.01em;
}
.service p { margin: 0; color: var(--muted); font-size: 15px; }

@media (max-width: 960px) {
  .services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
}

/* ─── CHECKLIST / LEAD / CALLOUT ───────────────────────── */
.lead {
  font-size: 18px;
  color: var(--text);
  line-height: 1.55;
  margin: 0 0 20px;
}
.lead em { color: var(--cyan-2); font-style: normal; font-weight: 600; }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-bottom: 1px dashed var(--line);
  color: var(--text);
  font-size: 15px;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 20px; height: 20px;
  background: var(--cyan-soft);
  border-radius: 50%;
}
.checklist li::after {
  content: ''; position: absolute; left: 5px; top: 22px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--cyan-2);
  border-bottom: 2px solid var(--cyan-2);
  transform: rotate(-45deg);
}

.callout {
  padding: 22px 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 32px 0 40px;
  color: var(--text);
  display: flex; align-items: flex-start; gap: 14px;
}
.callout::before {
  content: '';
  flex: none;
  margin-top: 4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6,182,212,.15);
}
.callout strong { color: var(--ink); display: block; margin-bottom: 4px; }
.callout--accent::before {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(245,158,11,.18);
}

/* ─── CODE BLOCK ───────────────────────────────────────── */
.code {
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-2);
}
.code__chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  background: var(--ink-2);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.code__chrome .dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--r { background: #FF5F57; }
.dot--y { background: #FEBC2E; }
.dot--g { background: #28C840; }
.code__file {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12px; color: rgba(255,255,255,.45);
}
.code pre {
  margin: 0;
  padding: 24px 28px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: #E8EEF7;
}
.code .k { color: #F472B6; }
.code .f { color: #67E8F9; }
.code .v { color: #FACC15; }
.code .s { color: #86EFAC; }
.code .c { color: #64748B; font-style: italic; }

/* ─── MINI CARDS ───────────────────────────────────────── */
.mini {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.mini:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.mini__icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cyan-soft); color: var(--cyan-2);
  margin-bottom: 16px;
}
.mini__icon svg { width: 18px; height: 18px; }
.mini h4 {
  font-size: 16px; color: var(--ink); margin: 0 0 8px;
  font-weight: 600; letter-spacing: -0.005em;
}
.mini p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ─── FEATURES ─────────────────────────────────────────── */
.feature {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--line);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.feature:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.feature__icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 22px;
  background: var(--cyan-soft); color: var(--cyan-2);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature__icon--amber { background: var(--amber-soft); color: #B45309; }
.feature__icon--peach { background: var(--peach); color: #C2410C; }
.feature__icon--lavender { background: var(--lavender); color: #6D28D9; }
.feature h3 {
  font-size: 18px; color: var(--ink); margin: 0 0 10px;
  font-weight: 600; letter-spacing: -0.01em;
}
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ─── STEPS ────────────────────────────────────────────── */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.steps li {
  position: relative;
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.steps li:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.steps__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  background: var(--cyan-soft);
  border-radius: 50%;
  margin-bottom: 18px;
  font-weight: 600;
}
.steps li h3 {
  font-size: 18px; color: var(--ink); margin: 0 0 10px;
  font-weight: 600; letter-spacing: -0.005em;
}
.steps li p { margin: 0; color: var(--muted); font-size: 14.5px; }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
}

/* ─── PROJECTS ─────────────────────────────────────────── */
.projects {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.project {
  display: block;
  padding: 32px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.project::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-soft) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--t);
}
.project:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.project:hover::before { opacity: 1; }
.project__head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  position: relative;
}
.project__status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
}
.project__status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
}
.project__status--live {
  background: rgba(34, 197, 94, .12);
  color: #15803D;
}
.project__status--live::before {
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
  animation: pulse 2s infinite;
}
.project__status--wip {
  background: var(--amber-soft);
  color: #B45309;
}
.project__status--wip::before { background: var(--amber); }

.project__status--neutral {
  background: var(--paper-3);
  color: var(--muted);
}
.project__status--neutral::before { background: var(--muted-2); }

.project--more {
  background: linear-gradient(135deg, var(--cyan-soft), rgba(255,255,255,.5));
  border-style: dashed;
}
.project--more::before { opacity: .4; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, .08); }
}

.project__type {
  font-size: 12px; color: var(--muted-2);
  font-family: var(--font-mono); letter-spacing: 0.04em;
}
.project h3 {
  font-size: 22px; color: var(--ink); margin: 0 0 8px;
  font-weight: 700; letter-spacing: -0.015em;
  position: relative;
}
.project p { margin: 0 0 18px; color: var(--muted); position: relative; }
.project__url {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 13px; color: var(--cyan-2);
  font-weight: 500;
  position: relative;
  transition: gap var(--t-fast);
}
.project:hover .project__url { color: var(--ink); }

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

/* ─── CTA ──────────────────────────────────────────────── */
.section--cta {
  background: var(--paper);
  padding: 56px 0 96px;
}
.cta {
  position: relative;
  margin: 0 auto;
  max-width: calc(var(--maxw) - 16px);
  padding: 80px 28px;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background:
    radial-gradient(circle at 12% 18%, var(--peach) 0%, transparent 40%),
    radial-gradient(circle at 88% 22%, var(--lavender) 0%, transparent 42%),
    radial-gradient(circle at 50% 92%, var(--sky) 0%, transparent 46%),
    radial-gradient(circle at 50% 50%, var(--cyan-soft) 0%, transparent 65%),
    #FBFBFE;
}
.cta__head { text-align: center; margin-bottom: 56px; }
.cta__title {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05; letter-spacing: -0.03em;
  margin: 0 auto 20px;
  font-weight: 700;
  color: var(--ink);
  max-width: 18ch;
}
.cta__lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto;
}

.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

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

/* ─── FORM ─────────────────────────────────────────────── */
.form {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: left;
}
.form__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 16px;
}
.form__field {
  display: block;
  margin-bottom: 16px;
}
.form__field > span {
  display: block;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.form__field > span em {
  font-style: normal;
  color: var(--muted-2);
  font-weight: 400;
}
.form__field input,
.form__field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  resize: vertical;
}
.form__field input::placeholder,
.form__field textarea::placeholder {
  color: var(--muted-2);
}
.form__field input:hover,
.form__field textarea:hover {
  border-color: var(--line-2);
}
.form__field input:focus,
.form__field textarea:focus {
  outline: 0;
  background: white;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, .12);
}
.form__field input:user-invalid,
.form__field textarea:user-invalid {
  border-color: #EF4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .1);
}

.form__honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}

.form__actions {
  display: flex; align-items: center; gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.form__actions .btn {
  padding: 13px 22px;
}
.btn__arrow {
  display: inline-block;
  transition: transform var(--t-fast);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

.form__note {
  margin: 0;
  font-size: 13px;
  color: var(--muted-2);
}

.form__status {
  margin-top: 16px;
  padding: 0;
  font-size: 14px;
  border-radius: 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--t), opacity var(--t), padding var(--t);
}
.form__status.is-shown {
  max-height: 200px;
  opacity: 1;
  padding: 12px 16px;
}
.form__status--ok {
  background: rgba(34, 197, 94, .10);
  color: #15803D;
  border: 1px solid rgba(34, 197, 94, .25);
}
.form__status--err {
  background: rgba(239, 68, 68, .08);
  color: #B91C1C;
  border: 1px solid rgba(239, 68, 68, .25);
}

.form button[type="submit"][disabled] {
  opacity: 0.7;
  cursor: progress;
}

/* ─── CONTACTS (sidebar) ───────────────────────────────── */
.contacts {
  display: grid;
  gap: 12px;
  text-align: left;
}
.contact {
  display: block;
  padding: 20px 22px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--t), background var(--t), border-color var(--t), box-shadow var(--t);
  backdrop-filter: blur(8px);
}
.contact:hover {
  transform: translateY(-2px);
  background: white;
  border-color: var(--cyan-light);
  box-shadow: var(--shadow-sm);
}
.contact__label {
  display: block;
  font-size: 12px;
  color: var(--cyan-2);
  margin-bottom: 6px;
  font-weight: 500;
}
.contact__value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.contact__value small {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
}

/* ─── FOOTER ───────────────────────────────────────────── */
.footer {
  padding: 32px 0;
  background: var(--ink);
  color: rgba(255,255,255,.55);
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer__brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: white; font-weight: 600;
}
.footer__brand img { height: 24px; width: auto; }
.footer__meta {
  margin: 0; font-size: 13px;
  font-family: var(--font-mono);
}
.footer__address {
  font-style: normal;
  font-size: 13px;
  color: rgba(255,255,255,.4);
  font-family: var(--font-mono);
}

/* ─── RESPONSIVE NAV ───────────────────────────────────── */
@media (max-width: 820px) {
  .nav__links {
    position: absolute; top: 76px; left: 12px; right: 12px;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 14px;
    gap: 4px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform var(--t), opacity var(--t);
    box-shadow: var(--shadow);
  }
  .nav__links.is-open {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .nav__links a {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
    text-align: left;
  }
  .nav__cta { text-align: center; margin-top: 6px; }
  .nav__toggle { display: flex; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .hero { padding: 56px 24px 72px; margin-top: 16px; }
  .hero__logo { height: 56px; }
  .stat { grid-template-columns: 1fr; gap: 8px; padding: 24px; }
  .stat__num { font-size: 38px; }
  .nav { margin-top: 8px; padding: 0 8px; }
  .nav__inner { padding: 0 8px 0 16px; height: 56px; }
}

/* ─── BACK TO TOP ──────────────────────────────────────── */
.to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  border: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(11, 25, 41, .28), 0 2px 6px rgba(11, 25, 41, .15);
  opacity: 0;
  transform: translateY(16px) scale(.9);
  pointer-events: none;
  transition: opacity var(--t), transform var(--t), background var(--t-fast);
  z-index: 60;
}
.to-top.is-shown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.to-top:hover {
  background: var(--ink-2);
  transform: translateY(-3px) scale(1);
}
.to-top:active { transform: translateY(0) scale(.96); }
.to-top svg { width: 20px; height: 20px; }

@media (max-width: 640px) {
  .to-top { bottom: 16px; right: 16px; width: 44px; height: 44px; }
}

/* ─── REVEAL ANIMATION ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__logo { opacity: 1; transform: none; transition: none; animation: none; }
  html { scroll-behavior: auto; }
}
