/* NordCars — global styles
   Light, generous, editorial. Northern blue accent only.
*/

:root{
  --accent: #0A66C2;
  --accent-deep: #1B3A5F;
  --accent-soft: #4A90E2;
  --accent-tint: rgba(10, 102, 194, 0.08);
  --accent-tint-strong: rgba(10, 102, 194, 0.14);

  --ink: #0B1220;
  --ink-2: #2A3245;
  --ink-3: #5A6275;
  --ink-4: #8A93A6;
  --line: rgba(11, 18, 32, 0.08);
  --line-2: rgba(11, 18, 32, 0.14);

  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --bg-card: #FFFFFF;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(11,18,32,.04), 0 1px 1px rgba(11,18,32,.03);
  --shadow-md: 0 4px 14px rgba(11,18,32,.06), 0 2px 4px rgba(11,18,32,.03);
  --shadow-lg: 0 24px 60px -20px rgba(11,18,32,.18), 0 8px 24px -10px rgba(11,18,32,.08);

  --pad-x: clamp(20px, 5vw, 80px);
  --gap: 24px;

  --max: 1240px;

  --t-fast: 180ms;
  --t-mid: 320ms;
  --t-slow: 520ms;
  --ease: cubic-bezier(.2,.7,.2,1);
}

[data-density="compact"]{ --gap: 16px; }
[data-density="comfy"]  { --gap: 32px; }

*,*::before,*::after{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11','ss01','ss03';
}
img,svg{ display:block; max-width:100%; }
button{ font: inherit; color: inherit; cursor: pointer; }
a{ color: inherit; text-decoration: none; }
:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ── reusable bits ─────────────────────────────────── */
.container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.eyebrow{
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: .55;
}

h1,h2,h3,h4{
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1{ font-size: clamp(40px, 6vw, 72px); font-weight: 500; letter-spacing: -0.03em; }
h2{ font-size: clamp(30px, 4.2vw, 52px); font-weight: 500; letter-spacing: -0.025em; }
h3{ font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; }
p{ margin: 0; color: var(--ink-2); }
.lead{ font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); line-height: 1.5; max-width: 56ch; }

.mono{ font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; letter-spacing: .02em; }

/* ── buttons ───────────────────────────────────────── */
.btn{
  --bg: var(--accent);
  --fg: #fff;
  --bd: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bd);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover{ background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active{ transform: translateY(0); }

.btn.ghost{
  --bg: transparent;
  --fg: var(--ink);
  --bd: var(--line-2);
}
.btn.ghost:hover{ background: var(--ink); color: #fff; border-color: var(--ink); }

.btn.sm{ padding: 10px 16px; font-size: 14px; }

.tlink{
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  padding: 4px 0;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.tlink:hover{ color: var(--accent); border-color: var(--accent); }

/* ── header ────────────────────────────────────────── */
.hdr{
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-mid) var(--ease), background var(--t-mid) var(--ease);
}
.hdr.scrolled{ border-color: var(--line); background: rgba(255,255,255,.86); }
.hdr-row{
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.brand{
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em; font-size: 17px;
}
.brand-mark{
  width: 26px; height: 26px;
  display: grid; place-items: center;
  color: var(--accent);
}
.brand-mark svg{ width: 100%; height: 100%; }
.brand-name{ display: inline-flex; align-items: baseline; }
.brand-tld{ color: var(--ink-3); font-weight: 400; letter-spacing: -0.005em; }

.nav{ display: flex; align-items: center; gap: 6px; }
.nav a{
  padding: 8px 12px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav a:hover{ color: var(--ink); background: var(--accent-tint); }

.hdr-cta{ display: inline-flex; gap: 10px; align-items:center; }

.menu-btn{
  display: none;
  background: transparent; border: 1px solid var(--line-2);
  border-radius: 10px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}

@media (max-width: 920px){
  .nav{ display: none; }
  .menu-btn{ display: inline-flex; }
  .hdr-cta .btn:not(.icon){ display: none; }
  .hdr{
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: var(--line);
  }
  .hdr.scrolled,
  .hdr.menu-open{
    background: #fff;
    box-shadow: 0 1px 0 var(--line), 0 4px 20px rgba(11,18,32,.06);
  }
  .menu-btn{
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 3px rgba(11,18,32,.08);
    position: relative;
    z-index: 1;
  }
}

/* ── hero ──────────────────────────────────────────── */
.hero{
  position: relative;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.hero-bg{
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 88% 10%, rgba(74,144,226,.18), transparent 70%),
    radial-gradient(50% 60% at -10% 90%, rgba(27,58,95,.10), transparent 70%);
  pointer-events: none;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  position: relative;
}
@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
}
.hero-copy h1{ margin-top: 18px; }
.hero-copy h1 .ink-soft{ color: var(--ink-3); }
.hero-copy .lead{ margin-top: 22px; }
.hero-cta{ display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 32px; }

/* placeholder car frame */
.car-frame{
  position: relative;
  aspect-ratio: 5/4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, #F4F6FA 0%, #E9EEF6 100%);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.car-frame::before{
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -28deg,
    rgba(11,18,32,0.04) 0 1px,
    transparent 1px 14px
  );
}
.car-frame .label{
  position: absolute; left: 16px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-2);
  backdrop-filter: blur(6px);
}
.car-frame .label .dot{ width:6px; height:6px; border-radius:50%; background: var(--accent); }
.car-frame .corner{
  position: absolute; right: 14px; top: 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--ink-3);
  letter-spacing: .04em;
}
.car-frame.tall{ aspect-ratio: 4/3; }
.car-frame.has-photo::before{ display: none; }
.car-frame.wide{ aspect-ratio: 16/9; }
.car-frame.square{ aspect-ratio: 1/1; }

/* proof bar */
.proof{
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 24px;
  padding-bottom: 4px;
  border-top: 1px solid var(--line);
}
.proof-row{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proof-row .cell{
  display: flex; flex-direction: column; gap: 4px;
  text-align: center;
  align-items: center;
}
.proof-row .num{
  font-size: clamp(21px, 2.55vw, 30px);
  font-weight: 500; letter-spacing: -0.025em; color: var(--ink);
  display: flex; align-items: baseline; gap: 6px;
  justify-content: center;
  white-space: nowrap;
}
.proof-row .num em{
  color: var(--accent); font-style: normal;
  font-variant-numeric: tabular-nums;
}
.proof-row .lab{ color: var(--ink-3); font-size: 12px; }
@media (max-width: 720px){
  .proof-row{ grid-template-columns: 1fr; gap: 16px; }
}

/* ── section spacing ──────────────────────────────── */
section.sect{
  padding-top: clamp(72px, 9vw, 140px);
  padding-bottom: clamp(72px, 9vw, 140px);
  position: relative;
}
section.sect.alt{ background: var(--bg-soft); }
.sect-head{ display:flex; flex-direction:column; gap:14px; max-width: 720px; margin-bottom: clamp(40px, 5vw, 72px); }
.sect-head .lead{ color: var(--ink-3); }

/* ── timeline ─────────────────────────────────────── */
.tl-wrap{ position: relative; }
.tl-progress{
  position: absolute;
  top: 64px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.tl-progress .bar{
  height: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-soft));
  width: 0%;
  transition: width var(--t-slow) var(--ease);
}
.tl-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(18px, 2vw, 28px);
  position: relative;
}
.tl-step{
  position: relative;
  padding-top: 96px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.tl-step.in{ opacity: 1; transform: translateY(0); }
.tl-step .node{
  position: absolute; top: 38px; left: 0;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
  z-index: 1;
}
.tl-step.in .node{
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.04);
}
.tl-step .num{
  position: absolute; top: 0; left: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .14em;
  color: var(--ink-4);
  text-transform: uppercase;
}
.tl-step .num em{ color: var(--accent); font-style: normal; font-weight: 600; }
.tl-step h3{ margin-bottom: 10px; font-size: 22px; }
.tl-step p{ color: var(--ink-3); font-size: 15px; line-height: 1.55; white-space: pre-line; }
.tl-step .dur{
  margin-top: 14px;
  display: inline-flex; gap: 8px; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  background: var(--accent-tint);
  padding: 4px 10px;
  border-radius: 999px;
}
.tl-step .dur .pulse{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(10,102,194,.4); }
  70%{ box-shadow: 0 0 0 8px rgba(10,102,194,0); }
  100%{ box-shadow: 0 0 0 0 rgba(10,102,194,0); }
}

@media (max-width: 1100px){
  .tl-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px){
  .tl-grid{ grid-template-columns: 1fr; gap: 0; }
  .tl-progress{ display: none; }
  .tl-step{
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-areas:
      "icon num"
      "icon title"
      "text text"
      "dur dur";
    gap: 8px 16px;
    padding-top: 0;
    padding-bottom: 36px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
  }
  .tl-step:last-child{ border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
  .tl-step .num{
    position: static;
    grid-area: num;
    align-self: end;
    padding-left: 0;
  }
  .tl-step .node{
    position: static;
    grid-area: icon;
    align-self: start;
    margin-top: 2px;
  }
  .tl-step.in .node{ transform: none; }
  .tl-step h3{ grid-area: title; margin-bottom: 0; }
  .tl-step p{ grid-area: text; margin-top: 4px; }
  .tl-step .dur{ grid-area: dur; margin-top: 0; }
}

/* Tablet 2-sloupcový: zachovat dostatečný odstup ikony od textu */
@media (min-width: 921px) and (max-width: 1100px){
  .tl-step{ padding-top: 108px; }
  .tl-step .node{ top: 44px; }
}

/* ── services ─────────────────────────────────────── */
.svc-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
@media (min-width: 1100px){ .svc-grid{ grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px){ .svc-grid{ grid-template-columns: 1fr; } }

.svc-card{
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 16px;
  transition: transform var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
  position: relative;
  min-height: 460px;
  height: 100%;
}
.svc-card:hover{
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
}
.svc-icon{
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent);
}
.svc-card h3{ font-size: 19px; line-height: 1.2; }
.svc-card ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.svc-card li{
  font-size: 14px; color: var(--ink-3);
  display: flex; gap: 10px; align-items: flex-start;
}
.svc-card li::before{
  content: ""; width: 4px; height: 4px;
  border-radius: 50%; background: var(--accent);
  margin-top: 9px; flex: 0 0 auto;
}
.svc-card .price{
  margin-top: auto;
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
}
.svc-card .price .amt{
  font-size: 22px; font-weight: 500; color: var(--ink);
  letter-spacing: -0.01em;
}
.svc-card .price .from{
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-4); margin-right: 6px;
}
.svc-card .price .more{
  font-size: 13px; color: var(--accent);
  display: inline-flex; gap: 4px; align-items: center;
}

/* ── story ────────────────────────────────────────── */
.story-grid{
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 920px){ .story-grid{ grid-template-columns: 1fr; } }
.story-copy h2{ margin-bottom: 22px; }
.story-copy p{ color: var(--ink-2); font-size: 17px; line-height: 1.6; margin-bottom: 16px; }
.story-copy p:last-of-type{ margin-bottom: 0; }
.story-copy .quote{
  margin-top: 28px;
  padding: 20px 24px;
  border-left: 2px solid var(--accent);
  background: var(--accent-tint);
  border-radius: 0 12px 12px 0;
  font-size: 17px; color: var(--ink); font-style: italic;
}
.stat-strip{
  margin-top: 32px;
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.stat-strip .cell{
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}
.stat-strip .cell:last-child{ border-right: 0; }
.stat-strip .num{ font-size: 24px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.stat-strip .num em{ color: var(--accent); font-style: normal; }
.stat-strip .lab{ font-size: 12px; color: var(--ink-3); margin-top: 4px; letter-spacing: .02em; }

/* ── references ──────────────────────────────────── */
.ref-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 920px){ .ref-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .ref-grid{ grid-template-columns: 1fr; } }

.ref-card{
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.ref-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ref-card .img{ aspect-ratio: 4/3; overflow: hidden; }
.ref-card .body{ padding: 18px 20px 22px; }
.ref-card .meta{
  display: flex; gap: 10px; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--ink-4); margin-bottom: 8px;
  letter-spacing: .04em;
}
.ref-card .meta em{ color: var(--accent); font-style: normal; }
.ref-card h3{ font-size: 18px; margin-bottom: 8px; line-height: 1.25; }
.ref-card p{ color: var(--ink-3); font-size: 14px; line-height: 1.5; }

/* ── faq ──────────────────────────────────────────── */
.faq-grid{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: start;
}
@media (max-width: 920px){ .faq-grid{ grid-template-columns: 1fr; } }
.faq-list{ display: flex; flex-direction: column; }
.faq-item{
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item:last-child{ border-bottom: 1px solid var(--line); }
.faq-q{
  width: 100%;
  background: transparent; border: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 22px 4px;
  font-size: 17px; font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq-q .ico{
  flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: transform var(--t-mid) var(--ease), background var(--t-mid) var(--ease), color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
  color: var(--ink-3);
}
.faq-item.open .faq-q .ico{
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.faq-a{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-mid) var(--ease);
}
.faq-item.open .faq-a{ grid-template-rows: 1fr; }
.faq-a > div{ overflow: hidden; }
.faq-a p{
  color: var(--ink-3); font-size: 15px; line-height: 1.6;
  padding: 0 4px 22px;
  max-width: 60ch;
}

/* ── final cta block ──────────────────────────────── */
.cta-block{
  background:
    radial-gradient(60% 80% at 90% 10%, rgba(74,144,226,.20), transparent 70%),
    linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 100%);
  color: #fff;
  border-radius: 24px;
  padding: clamp(48px, 6vw, 96px) clamp(28px, 4vw, 80px);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-block::after{
  content: ""; position: absolute; right: -120px; bottom: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.cta-block .eyebrow{ color: rgba(255,255,255,.7); }
.cta-block .eyebrow::before{ background: rgba(255,255,255,.6); }
.cta-block h2{ color: #fff; margin-top: 14px; max-width: 18ch; }
.cta-block p{ color: rgba(255,255,255,.78); margin-top: 16px; max-width: 56ch; font-size: 17px; }
.cta-block .row{ margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-block .btn{ background: #fff; color: var(--accent-deep); border-color: #fff; }
.cta-block .btn:hover{ background: #f0f4fa; color: var(--accent-deep); border-color:#f0f4fa; }
.cta-block .btn.ghost{ background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.cta-block .btn.ghost:hover{ background: rgba(255,255,255,.12); border-color: #fff; }

/* ── contact ──────────────────────────────────────── */
.contact-grid{
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 60px);
}
@media (max-width: 920px){ .contact-grid{ grid-template-columns: 1fr; } }

.form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.form .full{ grid-column: 1 / -1; }
.fld{ display: flex; flex-direction: column; gap: 6px; }
.fld label{ font-size: 12px; color: var(--ink-3); font-weight: 500; letter-spacing: .02em; }
.fld input, .fld textarea{
  font: inherit;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.fld input:focus, .fld textarea:focus{
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.fld input.err, .fld textarea.err{ border-color: #C2410C; }
.fld textarea{ min-height: 120px; resize: vertical; }
.fld .hint{ font-size: 12px; color: var(--ink-4); }
.fld .hint.err{ color: #C2410C; }

.contact-aside{
  display: flex; flex-direction: column; gap: 20px;
  padding: 6px;
}
.ci{
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.ci:last-child{ border-bottom: 0; }
.ci .ico{
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.ci .lab{ font-size: 12px; color: var(--ink-4); letter-spacing: .04em; text-transform: uppercase; }
.ci .val{ font-size: 16px; font-weight: 500; color: var(--ink); margin-top: 2px; }
.ci .sub{ font-size: 13px; color: var(--ink-3); margin-top: 2px; }

.toast{
  margin-top: 12px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  display: flex; gap: 10px; align-items: center;
}

/* ── footer ───────────────────────────────────────── */
.ftr{
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding-top: 64px;
  padding-bottom: 32px;
}
.ftr-grid{
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 760px){ .ftr-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .ftr-grid{ grid-template-columns: 1fr; } }
.ftr h4{ font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; font-weight: 600; }
.ftr ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ftr a{ font-size: 14px; color: var(--ink-2); }
.ftr a:hover{ color: var(--accent); }
.ftr-claim{ color: var(--ink-3); font-size: 14px; margin-top: 14px; max-width: 32ch; line-height: 1.55; }
.ftr-bot{
  margin-top: 56px; padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  flex-wrap: wrap;
  font-size: 12px; color: var(--ink-4);
  font-family: 'JetBrains Mono', monospace;
}
.ftr-soc{ display: flex; gap: 8px; }
.ftr-soc a{
  width: 36px; height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-3);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.ftr-soc a:hover{ color: #fff; background: var(--accent); border-color: var(--accent); }

/* ── sticky whatsapp ─────────────────────────────── */
.wa{
  position: fixed; right: 22px; bottom: 22px;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: 0;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(37,211,102,.45), 0 4px 8px rgba(0,0,0,.1);
  transition: transform var(--t-fast) var(--ease);
}
.wa:hover{ transform: scale(1.06); }
.wa::after{
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: .5;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse{
  0%{ transform: scale(.9); opacity: .55; }
  80%{ transform: scale(1.5); opacity: 0; }
  100%{ transform: scale(1.5); opacity: 0; }
}
.wa-tip{
  position: absolute; right: 70px; top: 50%;
  transform: translate(8px,-50%);
  background: #fff; border: 1px solid var(--line);
  padding: 8px 12px; border-radius: 10px;
  font-size: 13px; color: var(--ink);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.wa:hover .wa-tip{ opacity: 1; transform: translate(0,-50%); }

/* ── reveal animation utility ─────────────────────── */
.reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in{ opacity: 1; transform: translateY(0); }

/* ── menu drawer (mobile) ────────────────────────── */
.drawer{
  position: fixed; inset: 0;
  background: rgba(11,18,32,.55);
  z-index: 200;
  opacity: 0; pointer-events: none;
  visibility: hidden;
  transition: opacity var(--t-mid) var(--ease), visibility var(--t-mid) var(--ease);
  isolation: isolate;
}
.drawer.open{
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.drawer-panel{
  position: absolute; top: 0; right: 0;
  width: min(380px, 86vw);
  height: 100dvh;
  max-height: 100vh;
  background: #fff;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) 24px;
  transform: translateX(100%);
  transition: transform var(--t-mid) var(--ease);
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -8px 0 40px rgba(11,18,32,.18);
  z-index: 1;
}
.drawer.open .drawer-panel{ transform: translateX(0); }
.drawer-head{
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  background: #fff;
}
.drawer-nav{
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-height: 0;
  background: #fff;
}
.drawer-nav a,
.drawer a{
  padding: 14px 12px;
  font-size: 17px;
  font-weight: 500;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
}
.drawer-nav a:hover,
.drawer a:hover{ background: var(--accent-tint); color: var(--accent); }
.drawer .btn{
  margin-top: auto;
  justify-content: center;
  flex-shrink: 0;
}

/* ── mobile & tablet refinements ─────────────────── */
html{ overflow-x: clip; }

@media (max-width: 640px){
  .form{ grid-template-columns: 1fr; padding: 20px; }
  .stat-strip{ grid-template-columns: 1fr; }
  .stat-strip .cell{
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stat-strip .cell:last-child{ border-bottom: 0; }
  .svc-card{ min-height: auto; padding: 22px; }
  .btn{ white-space: normal; text-align: center; }
  .hdr-row{ height: 60px; }
  .proof-row .num{ white-space: normal; }
  section.sect{
    padding-top: clamp(56px, 12vw, 96px);
    padding-bottom: clamp(56px, 12vw, 96px);
  }
}

@media (max-width: 480px){
  .wa{
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  .wa-tip{ display: none; }
  .cta-block{ border-radius: 16px; padding: 36px 20px; }
  .ftr{ padding-top: 48px; }
  .menu-btn{ width: 44px; height: 44px; }
}
