/* ============================================================
   META MECHANICS — Auto Repair Centre, Dubai
   Design system: dark graphite workshop base · brand red · amber accent
   Type: Space Grotesk (display) · Inter (body) · Space Mono (labels)
   ============================================================ */

:root {
  /* Palette — keyed to media/logo.webp */
  --bg:        #0E0F13;
  --bg-2:      #121419;
  --surface:   #1A1D23;
  --surface-2: #21252c;
  --text:      #F4F6F8;
  --muted:     #9AA4AF;
  --muted-2:   #6b7480;
  --primary:   #E01F26;
  --primary-d: #b8161c;
  --secondary: #2A3038;
  --accent:    #F5A012;
  --border:    #272D34;
  --border-2:  #353c45;
  --focus:     #4DA3FF;
  --whatsapp:  #25D366;

  /* Type */
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

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

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

::selection { background: var(--primary); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
}
.eyebrow .num { color: var(--primary); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }

.section-title {
  font-size: clamp(30px, 4.6vw, 56px);
  margin-top: 18px;
  max-width: 18ch;
  text-wrap: balance;
}
.section-lead {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 56ch;
  margin-top: 18px;
}
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.center .section-title,
.section-head.center .section-lead { max-width: none; }

.accent { color: var(--primary); }
.amber { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 24px -10px var(--primary); }
.btn-primary:hover { background: var(--primary-d); }

.btn-wa { background: var(--whatsapp); color: #06301a; }
.btn-wa:hover { background: #1fbb59; }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,0.04); }

.btn-lg { padding: 17px 30px; font-size: 16px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14,15,19,0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: 0.01em; line-height: 1; }
.brand-name span { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; color: var(--muted); margin-top: 4px; font-weight: 400; }
@media (max-width: 1180px) { .brand-name span { display: none; } }

.nav-links { display: flex; gap: 2px; margin-left: auto; flex-shrink: 0; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap;
  padding: 8px 11px; border-radius: 8px; transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-toggle {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; line-height: 1;
  color: var(--muted); border: 1px solid var(--border); border-radius: 8px;
  padding: 9px 10px; transition: border-color .15s ease, color .15s ease; white-space: nowrap;
}
.lang-toggle:hover { color: var(--text); border-color: var(--border-2); }

.nav-cta { display: inline-flex; }

.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 20px; height: 2px; background: var(--text); transition: transform .25s ease, opacity .2s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--bg);
  padding: 90px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu a { font-family: var(--display); font-size: 26px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobile-menu .mm-actions { margin-top: 28px; display: grid; gap: 12px; }
.mobile-menu .mm-actions .btn { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-top: 96px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
@media (max-width: 600px) { .hero-bg img { object-position: 64% center; } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,15,19,0.72) 0%, rgba(14,15,19,0.35) 32%, rgba(14,15,19,0.55) 64%, var(--bg) 100%),
    linear-gradient(90deg, rgba(14,15,19,0.85) 0%, rgba(14,15,19,0.25) 60%, rgba(14,15,19,0.1) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 80% at 20% 100%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 80% at 20% 100%, #000 30%, transparent 75%);
}

.hero-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(48px, 7vw, 92px); }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text); background: rgba(255,255,255,0.06); border: 1px solid var(--border-2);
  padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(6px);
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245,160,18,.5); } 70% { box-shadow: 0 0 0 9px rgba(245,160,18,0); } 100% { box-shadow: 0 0 0 0 rgba(245,160,18,0); } }

.hero h1 {
  font-size: clamp(40px, 7.4vw, 86px);
  font-weight: 700;
  margin-top: 22px;
  max-width: 16ch;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-sub { color: #d7dde3; font-size: clamp(16px, 1.8vw, 20px); max-width: 52ch; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 52px); margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--border); }
.hero-stat .k { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); }
.hero-stat .l { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ============================================================
   TRUST STRIP (no rating)
   ============================================================ */
.trust { border-block: 1px solid var(--border); background: var(--bg-2); }
.trust-inner { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-item { padding: clamp(22px, 3vw, 34px) clamp(16px, 2.2vw, 28px); border-left: 1px solid var(--border); display: flex; gap: 14px; align-items: flex-start; }
.trust-item:first-child { border-left: none; }
.trust-item .ic { color: var(--primary); flex: none; }
.trust-item .ic svg { width: 26px; height: 26px; }
.trust-item h3 { font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.trust-item p { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; isolation: isolate;
  transition: transform .3s ease, border-color .3s ease;
}
.svc-card .svc-img { position: absolute; inset: 0; z-index: -2; }
.svc-card .svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; filter: saturate(.9); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,15,19,.15) 0%, rgba(14,15,19,.55) 50%, rgba(14,15,19,.95) 100%); }
.svc-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.svc-card h3 { font-size: 21px; font-weight: 600; margin-top: 8px; }
.svc-card p { font-size: 13.5px; color: var(--muted); margin-top: 8px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .3s ease, margin .3s ease; }
.svc-card:hover p, .svc-card:focus-within p { max-height: 100px; opacity: 1; }
.svc-card .svc-go { font-family: var(--mono); font-size: 12px; color: var(--text); margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; }
.svc-card .svc-go svg { width: 14px; height: 14px; transition: transform .2s ease; }
.svc-card:hover .svc-go svg { transform: translateX(4px); }

/* Plain (no-photo) cards for the rest */
.svc-card.plain { background: var(--surface); }
.svc-card.plain::after { display: none; }
.svc-card.plain { justify-content: flex-start; min-height: 0; }
.svc-card.plain .svc-ic { color: var(--primary); margin-bottom: 16px; }
.svc-card.plain .svc-ic svg { width: 30px; height: 30px; }
.svc-card.plain p { max-height: none; opacity: 1; margin-top: 8px; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--bg-2); border-block: 1px solid var(--border); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.process-step { padding: 30px 26px 30px 0; border-top: 2px solid var(--border); position: relative; }
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--mono); font-size: 13px; color: var(--primary);
  position: absolute; top: -2px; left: 0; padding-top: 14px;
}
.process-step .bar { position: absolute; top: -2px; left: 0; width: 38px; height: 2px; background: var(--primary); }
.process-step h3 { font-size: 22px; margin-top: 52px; }
.process-step p { color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.process-note { margin-top: 38px; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); border: 1px dashed var(--border-2); padding: 12px 18px; border-radius: 10px; }
.process-note strong { color: var(--text); font-weight: 600; }

/* ============================================================
   BRANDS — interactive specialist strip
   ============================================================ */
.brands-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.brand-list { display: flex; flex-direction: column; }
.brand-row {
  display: flex; align-items: center; gap: 18px; width: 100%; text-align: left;
  padding: 20px 8px; border-bottom: 1px solid var(--border);
  transition: padding .25s ease, color .2s ease; color: var(--muted);
}
.brand-row:first-child { border-top: 1px solid var(--border); }
.brand-row .bname { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.8vw, 32px); transition: color .2s ease; flex: 1; }
.brand-row .bidx { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.brand-row .barrow { opacity: 0; transform: translateX(-8px); transition: opacity .2s ease, transform .2s ease; color: var(--primary); }
.brand-row:hover { color: var(--text); padding-left: 18px; }
.brand-row:hover .bname { color: var(--text); }
.brand-row.active { color: var(--text); padding-left: 18px; }
.brand-row.active .bname { color: var(--primary); }
.brand-row.active .barrow { opacity: 1; transform: translateX(0); }

.brand-viewer { position: relative; }
.brand-figure { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; background: var(--surface); }
.brand-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease, transform .6s ease; transform: scale(1.04); }
.brand-figure img.show { opacity: 1; transform: scale(1); }
.brand-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(14,15,19,.85) 100%); }
.brand-caption { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 24px; }
.brand-caption .bc-name { font-family: var(--display); font-weight: 600; font-size: 24px; }
.brand-caption .bc-copy { color: #d7dde3; font-size: 14px; margin-top: 6px; max-width: 40ch; }
.brand-disc { font-size: 12px; color: var(--muted-2); margin-top: 16px; font-style: italic; }

/* ============================================================
   WHY US
   ============================================================ */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.why-media { position: relative; }
.why-media .wm-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; }
.why-media .wm-main img { width: 100%; height: 100%; object-fit: cover; }
.why-badge {
  position: absolute; right: -14px; bottom: -18px; background: var(--surface);
  border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 18px 22px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.7);
}
.why-badge .k { font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--primary); line-height: 1; }
.why-badge .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.why-points { display: flex; flex-direction: column; gap: 4px; margin-top: 30px; }
.why-point { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--border); }
.why-point:last-child { border-bottom: 1px solid var(--border); }
.why-point .wp-ic { color: var(--primary); flex: none; }
.why-point .wp-ic svg { width: 24px; height: 24px; }
.why-point h3 { font-family: var(--body); font-size: 16.5px; font-weight: 600; }
.why-point p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ============================================================
   PROOF GALLERY
   ============================================================ */
.proof { background: var(--bg-2); border-block: 1px solid var(--border); }
.proof-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.proof-card { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); }
.proof-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.proof-card:hover img { transform: scale(1.05); }
.proof-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(14,15,19,.9) 100%); }
.proof-card .pc-label { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 20px; }
.proof-card .pc-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.proof-card .pc-title { font-family: var(--display); font-weight: 600; font-size: 18px; margin-top: 6px; }
.proof-a { grid-column: span 7; aspect-ratio: 16/10; }
.proof-b { grid-column: span 5; }
.proof-c, .proof-d { grid-column: span 6; aspect-ratio: 16/9; }

/* ============================================================
   BRANCHES
   ============================================================ */
.branch-switch { display: inline-flex; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 5px; margin-bottom: 36px; }
.branch-switch button { font-family: var(--mono); font-size: 13px; letter-spacing: 0.05em; padding: 10px 22px; border-radius: 999px; color: var(--muted); transition: color .2s ease, background .2s ease; }
.branch-switch button.active { background: var(--primary); color: #fff; }

.branch-panel { display: none; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 3vw, 44px); align-items: stretch; }
.branch-panel.active { display: grid; }
.branch-info h3 { font-size: clamp(26px, 3.2vw, 38px); }
.branch-chip { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.branch-rows { margin-top: 24px; display: flex; flex-direction: column; }
.branch-rowi { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--border); }
.branch-rowi:last-child { border-bottom: 1px solid var(--border); }
.branch-rowi .br-ic { color: var(--primary); flex: none; margin-top: 2px; }
.branch-rowi .br-ic svg { width: 20px; height: 20px; }
.branch-rowi .br-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.branch-rowi .br-v { font-size: 15.5px; margin-top: 3px; }
.branch-rowi .br-v a:hover { color: var(--primary); }
.tbc { display: inline-block; font-family: var(--mono); font-size: 10.5px; color: var(--accent); border: 1px solid var(--border-2); border-radius: 4px; padding: 1px 6px; margin-left: 8px; letter-spacing: 0.05em; vertical-align: middle; }
.branch-actions { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }

.map-placeholder {
  border-radius: var(--radius); border: 1px dashed var(--border-2); background:
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255,255,255,0.012) 12px, rgba(255,255,255,0.012) 24px),
    var(--surface);
  min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 30px;
  position: relative;
}
.map-placeholder .mp-ic { color: var(--muted-2); }
.map-placeholder .mp-ic svg { width: 38px; height: 38px; }
.map-placeholder .mp-t { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.map-placeholder .mp-s { font-size: 13px; color: var(--muted-2); max-width: 30ch; }
.map-embed { border-radius: var(--radius); overflow: hidden; line-height: 0; }
.map-embed iframe { display: block; width: 100%; max-width: 100%; height: 360px; border: 0; }

/* ============================================================
   BOOK / QUOTE FORM
   ============================================================ */
.book { background: var(--bg); }
.book-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 64px); }
.book-aside .book-list { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.book-aside .bl-item { display: flex; gap: 14px; }
.book-aside .bl-item .bl-n { font-family: var(--mono); color: var(--primary); font-size: 13px; flex: none; padding-top: 2px; }
.book-aside .bl-item h4 { font-family: var(--body); font-weight: 600; font-size: 15.5px; }
.book-aside .bl-item p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.book-direct { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.book-direct .bd-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.book-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 13px 14px; transition: border-color .15s ease, background .15s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 88px; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239AA4AF' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--focus); outline: none; background: var(--bg-2); }
.field.error input, .field.error select { border-color: var(--primary); }
.field .err-msg { font-size: 12px; color: var(--primary); display: none; }
.field.error .err-msg { display: block; }

.form-foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-foot .btn { flex: 1; min-width: 200px; }
.form-note { font-size: 12.5px; color: var(--muted-2); margin-top: 14px; }
.form-success { display: none; background: rgba(37,211,102,0.08); border: 1px solid rgba(37,211,102,0.4); border-radius: 10px; padding: 16px; margin-top: 18px; font-size: 14px; color: #b8f0cd; }
.form-success.show { display: block; }
.form-success a { color: var(--whatsapp); text-decoration: underline; font-weight: 600; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--border); }
.cta-band .cb-bg { position: absolute; inset: 0; z-index: -2; }
.cta-band .cb-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .cb-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 8%, rgba(14,15,19,.78) 55%, rgba(14,15,19,.5) 100%); }
.cta-band .wrap { padding-block: clamp(56px, 8vw, 110px); }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 54px); max-width: 18ch; }
.cta-band p { color: #d7dde3; font-size: 18px; margin-top: 16px; max-width: 46ch; }
.cta-band .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding-block: clamp(48px, 6vw, 80px) 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 18px; }
.footer-about { color: var(--muted); font-size: 14px; max-width: 36ch; }
.footer-soc { display: flex; gap: 10px; margin-top: 20px; }
.footer-soc a { width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 10px; display: grid; place-items: center; color: var(--muted); transition: color .15s ease, border-color .15s ease; }
.footer-soc a:hover { color: var(--text); border-color: var(--border-2); }
.footer-soc svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: #c4ccd3; transition: color .15s ease; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--border); padding-block: 24px 26px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 12.5px; color: var(--muted-2); }
.footer-legal { display: flex; gap: 20px; }

/* ============================================================
   MOBILE STICKY ACTION BAR
   ============================================================ */
.action-bar { display: none; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-left: 1px solid var(--border); }
  .trust-item:nth-child(odd) { border-left: none; }
  .trust-item { border-top: 1px solid var(--border); }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-top: none; }
  .trust-item:nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta.desktop-only { display: none; }
  .lang-toggle { display: none; }
  .burger { display: flex; }
  .nav-actions { margin-left: auto; }
  .brands-layout { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .why-media { order: -1; }
  .why-badge { right: 16px; }
  .book-layout { grid-template-columns: 1fr; }
  .branch-panel.active { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .proof-a, .proof-b, .proof-c, .proof-d { grid-column: span 12; aspect-ratio: 16/9; }
}

@media (max-width: 600px) {
  body { padding-bottom: 72px; } /* room for action bar */
  .hero { min-height: 92svh; }
  .hero-cta .btn { flex: 1; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-left: none !important; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .why-badge { padding: 14px 16px; }
  .why-badge .k { font-size: 28px; }

  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    position: fixed; inset: auto 0 0 0; z-index: 70;
    background: rgba(14,15,19,0.94); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
  }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 11px 6px 13px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--border); }
  .action-bar a:first-child { border-left: none; }
  .action-bar a svg { width: 21px; height: 21px; }
  .action-bar a.ab-wa { color: var(--whatsapp); }
  .action-bar a.ab-book { color: #fff; background: var(--primary); }
  .action-bar a.ab-book svg { color: #fff; }
}
