/* ==========================================================================
   EURODENT — "Glass Liquid Luxury" design system
   Shared by index.html, services.html, info.html, contact.html
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #F8FAFC;
  --bg-deep: #EEF4FA;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-2: rgba(255, 255, 255, 0.45);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.16);

  --text: #0F172A;
  --text-2: #334155;
  --muted: #64748B;

  --cyan: #0891B2;
  --sky: #0284C7;
  --blue: #2563EB;
  --orange: #F97316;
  --amber: #EA580C;
  --whatsapp: #25D366;
  --success: #059669;
  --danger: #E11D48;

  --grad-cool: linear-gradient(120deg, #67E8F9 0%, #38BDF8 45%, #3B82F6 100%);
  --grad-warm: linear-gradient(120deg, #FDBA74 0%, #F97316 70%, #EA580C 100%);
  --grad-text: linear-gradient(100deg, #1E3A8A 0%, #2563EB 45%, #06B6D4 100%);
  --grad-text-warm: linear-gradient(100deg, #FB923C 0%, #F97316 50%, #C2410C 100%);

  --blur: blur(16px) saturate(140%);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow: 0 20px 50px -24px rgba(15, 23, 42, 0.18), 0 2px 6px -2px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --glow-cyan: 0 0 0 1px rgba(6, 182, 212, 0.25), 0 14px 36px -12px rgba(14, 165, 233, 0.5);
  --glow-orange: 0 14px 34px -12px rgba(249, 115, 22, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;

  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- 2. Base ---------- */
*, *::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;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { margin: 0; }

::selection { background: rgba(6, 182, 212, 0.22); color: #0F172A; }

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text-warm {
  background: var(--grad-text-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Lucide renders <svg class="lucide"> in place of <i data-lucide> */
.lucide { width: 1.15em; height: 1.15em; stroke-width: 1.9; flex-shrink: 0; }

/* ---------- 3. Liquid mesh background ---------- */
.liquid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(56, 189, 248, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}
.blob {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  opacity: 0.85;
  will-change: transform;
}
.blob.b1 { background: radial-gradient(circle, rgba(103, 232, 249, 0.38) 0%, transparent 62%); top: -22vmax; left: -18vmax; animation: drift1 26s var(--ease) infinite alternate; }
.blob.b2 { background: radial-gradient(circle, rgba(147, 197, 253, 0.38) 0%, transparent 62%); top: 18vh; right: -24vmax; animation: drift2 32s var(--ease) infinite alternate; }
.blob.b3 { background: radial-gradient(circle, rgba(253, 186, 116, 0.30) 0%, transparent 60%); bottom: -30vmax; left: 12vw; animation: drift3 28s var(--ease) infinite alternate; }
.blob.b4 { background: radial-gradient(circle, rgba(196, 181, 253, 0.25) 0%, transparent 60%); top: 40vh; left: -20vmax; width: 45vmax; height: 45vmax; animation: drift2 36s var(--ease) infinite alternate-reverse; }

@keyframes drift1 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(14vw, 10vh) scale(1.15); } 100% { transform: translate(6vw, 24vh) scale(0.95); } }
@keyframes drift2 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-12vw, 14vh) scale(1.1); } 100% { transform: translate(-4vw, -10vh) scale(1.2); } }
@keyframes drift3 { 0% { transform: translate(0, 0) scale(1.1); } 50% { transform: translate(18vw, -12vh) scale(0.9); } 100% { transform: translate(-8vw, -6vh) scale(1.05); } }

/* Faint grid that fades out toward the edges */
.liquid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 0%, transparent 75%);
}

/* ---------- 4. Glass primitives ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}
.glass-soft {
  background: var(--surface-2);
  border: 1px solid rgba(15, 23, 42, 0.06);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

/* Card with a cursor-following glow (set via --mx / --my in JS) */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 32px);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(14, 165, 233, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.card:hover { border-color: var(--border-strong); }
.card:hover::before { opacity: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18), 0 0 14px var(--cyan);
  animation: pulse 2.4s ease-in-out infinite;
}
.eyebrow.warm .dot { background: var(--orange); box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.18), 0 0 14px var(--orange); }
@keyframes pulse { 50% { transform: scale(0.7); opacity: 0.6; } }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 18px; }
.section-head p { margin-top: 18px; font-size: 1.08rem; color: var(--muted); }

.icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #0369A1;
  background: linear-gradient(140deg, rgba(165, 243, 252, 0.7), rgba(191, 219, 254, 0.55));
  border: 1px solid rgba(14, 165, 233, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 22px -12px rgba(14, 165, 233, 0.55);
}
.icon-badge .lucide { width: 24px; height: 24px; }
.icon-badge.warm {
  color: #C2410C;
  background: linear-gradient(140deg, rgba(254, 215, 170, 0.85), rgba(255, 237, 213, 0.6));
  border-color: rgba(249, 115, 22, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 22px -12px rgba(249, 115, 22, 0.55);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.chip .lucide { width: 14px; height: 14px; color: var(--cyan); }

.tbc {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border: 1px dashed rgba(234, 88, 12, 0.45);
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber);
  vertical-align: middle;
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-pad: 15px 26px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-pad);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .lucide { transition: transform 0.35s var(--ease); }
.btn:hover .lucide.arrow { transform: translateX(4px); }

/* liquid sheen sweep */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn-warm { color: #fff; background: var(--grad-warm); box-shadow: var(--glow-orange), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-warm:hover { box-shadow: 0 18px 50px -10px rgba(249, 115, 22, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-cool { color: #04121F; background: var(--grad-cool); box-shadow: var(--glow-cyan), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-glass {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.btn-glass:hover { background: var(--surface-strong); border-color: rgba(15, 23, 42, 0.24); }
.btn-whatsapp { color: #fff; background: linear-gradient(120deg, #34E07A, #1DAA55); box-shadow: 0 14px 40px -12px rgba(37, 211, 102, 0.7); }
.btn-sm { --btn-pad: 10px 18px; font-size: 0.88rem; }
.btn-lg { --btn-pad: 18px 32px; font-size: 1.04rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--sky);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { gap: 12px; color: #0369A1; }

/* ---------- 6. Header / navigation ---------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  padding-inline: var(--gutter);
}
.nav {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header.is-scrolled .nav {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 44px -22px rgba(15, 23, 42, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; filter: drop-shadow(0 6px 14px rgba(14, 165, 233, 0.35)); transition: transform 0.6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { color: var(--text); font-size: 1.08rem; font-weight: 800; letter-spacing: 0.08em; }
.brand-text small { color: var(--muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; }

.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative;
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(15, 23, 42, 0.05); }
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.2), inset 0 1px 0 #fff;
}
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 16px;
  height: 2px;
  margin-left: -8px;
  border-radius: 2px;
  background: var(--grad-cool);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-phone:hover { color: var(--text); background: rgba(15, 23, 42, 0.05); }
.nav-phone .lucide { color: var(--cyan); }

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--border);
}
.nav-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: var(--gutter);
  right: var(--gutter);
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 14px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.mobile-menu li a:hover, .mobile-menu li a[aria-current="page"] { background: rgba(15, 23, 42, 0.05); }
.mobile-menu li a .lucide { color: var(--muted); }
.mobile-menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }

/* ---------- 7. Hero (home) ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 90px));
  padding-bottom: clamp(60px, 8vw, 110px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.hero h1 { margin-top: 24px; }
.hero-lead { margin-top: 24px; max-width: 560px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .lucide { color: var(--cyan); }

.hero-visual { position: relative; aspect-ratio: 1 / 1.06; max-width: 560px; justify-self: end; width: 100%; }
.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 10px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: calc(var(--radius-xl) - 10px);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-xl) - 10px);
  background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.18) 100%);
  pointer-events: none;
}
.hero-ring {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px dashed rgba(14, 165, 233, 0.28);
  animation: spin 60s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Floating glass stat cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: 0 24px 50px -20px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.05);
  animation: float 7s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--text); font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.float-card small { display: block; color: var(--muted); font-size: 0.76rem; font-weight: 600; }
.float-card .icon-badge { width: 42px; height: 42px; border-radius: 13px; }
.float-card .icon-badge .lucide { width: 20px; height: 20px; }
.float-card.fc-1 { top: 8%; left: -12%; }
.float-card.fc-2 { top: 42%; right: -10%; animation-delay: -2.4s; }
.float-card.fc-3 { bottom: 7%; left: -6%; animation-delay: -4.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 8. Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 22px;
  border-block: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.45);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-inline: 18px;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(15, 23, 42, 0.72);
  white-space: nowrap;
}
.marquee-track span::after { content: "✦"; font-size: 0.8em; color: var(--orange); opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 9. Smile makeover slider ---------- */
.makeover-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.check-list li .lucide {
  margin-top: 3px;
  padding: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #04121F;
  background: var(--grad-cool);
}
.fine-print { margin-top: 18px; font-size: 0.8rem; color: var(--muted); }

.ba-frame { padding: 10px; border-radius: var(--radius-xl); }
.ba-slider {
  --pos: 50%;
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: calc(var(--radius-xl) - 10px);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  background: #000;
}
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
/* The "before" image sits on top and is clipped to the left of the handle */
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-slider:not(.is-dragging) .ba-before { transition: clip-path 0.55s var(--ease); }
.ba-slider:not(.is-dragging) .ba-handle { transition: left 0.55s var(--ease); }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 0;
  z-index: 3;
  outline: none;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 15%, #fff 85%, rgba(255, 255, 255, 0));
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.9);
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  place-items: center;
  grid-auto-flow: column;
  gap: 2px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.ba-knob .lucide { width: 18px; height: 18px; }
.ba-slider:hover .ba-knob, .ba-slider.is-dragging .ba-knob { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 10px rgba(103, 232, 249, 0.18); }
.ba-handle:focus-visible .ba-knob { box-shadow: 0 0 0 3px var(--cyan), 0 0 0 10px rgba(34, 211, 238, 0.25); }

.ba-label {
  position: absolute;
  top: 18px;
  z-index: 2;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.ba-label.before { left: 18px; }
.ba-label.after { right: 18px; }

.ba-hint {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.ba-hint .lucide { color: var(--cyan); }

/* ---------- 10. Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card { display: flex; flex-direction: column; gap: 18px; min-height: 340px; }
.service-card .tag { align-self: flex-start; }
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.service-card .card-top { display: flex; align-items: center; justify-content: space-between; }
.service-card .num { font-size: 0.85rem; font-weight: 700; color: rgba(15, 23, 42, 0.22); letter-spacing: 0.08em; }
.service-card.featured {
  background: linear-gradient(160deg, rgba(165, 243, 252, 0.55), rgba(191, 219, 254, 0.3) 50%, rgba(255, 255, 255, 0.65));
  border-color: rgba(14, 165, 233, 0.25);
}

/* ---------- 11. Showcase gallery (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 16px;
}
.bento-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.95);
}
.bento-item:hover img { transform: scale(1.06); filter: saturate(1.1); }
.bento-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.22) 100%);
  pointer-events: none;
}
.bento-cap {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.bento-cap .lucide { width: 15px; height: 15px; color: var(--amber); }
.b-a { grid-column: span 7; grid-row: span 4; }
.b-b { grid-column: span 5; grid-row: span 4; }
.b-c { grid-column: span 5; grid-row: span 3; }
.b-d { grid-column: span 7; grid-row: span 3; }
.b-a img { object-position: 50% 35%; }
.b-b img { object-position: 50% 30%; }
.b-c img { object-position: 15% 75%; }
.b-d img { object-position: 50% 35%; }

/* ---------- 12. Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-card { padding: 10px; border-radius: var(--radius-lg); }
.team-photo { position: relative; aspect-ratio: 4 / 4.6; border-radius: calc(var(--radius-lg) - 10px); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-meta { padding: 18px 12px 10px; }
.team-meta h4 { font-size: 1.1rem; }
.team-meta p { margin-top: 4px; font-size: 0.88rem; color: var(--muted); }
.team-1 img { object-position: 72% 20%; }
.team-2 img { object-position: 78% 25%; }
.team-3 img { object-position: 68% 25%; }

/* ---------- 13. CTA band ---------- */
.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(103, 232, 249, 0.35), transparent 60%),
    radial-gradient(500px 300px at 100% 100%, rgba(253, 186, 116, 0.4), transparent 60%);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.cta-band p { margin-top: 14px; color: var(--text-2); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- 14. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  padding-block: 64px 32px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 100%);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { margin-bottom: 18px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-grid a { color: var(--text-2); transition: color 0.3s var(--ease); }
.footer-grid a:hover { color: var(--cyan); }
.footer-blurb { margin-top: 18px; max-width: 320px; color: var(--muted); font-size: 0.93rem; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; }
.footer-contact .lucide { margin-top: 4px; color: var(--cyan); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  font-size: 0.82rem;
  color: var(--muted);
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(140deg, #34E07A, #1DAA55);
  box-shadow: 0 14px 34px -8px rgba(37, 211, 102, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.4s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: ripple 2.6s var(--ease) infinite;
}
@keyframes ripple { 0% { transform: scale(0.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- 15. Inner page hero ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(40px, 5vw, 64px);
  text-align: center;
}
.page-hero h1 { max-width: 900px; margin: 22px auto 0; font-size: clamp(2.3rem, 5vw, 4rem); }
.page-hero p { max-width: 640px; margin: 22px auto 0; font-size: 1.1rem; color: var(--text-2); }
.crumbs { display: inline-flex; gap: 8px; align-items: center; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs .lucide { width: 14px; height: 14px; }
.anchor-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.anchor-chips a { transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background-color 0.3s var(--ease); }
.anchor-chips a:hover { color: var(--text); border-color: rgba(14, 165, 233, 0.4); background: rgba(14, 165, 233, 0.08); }

/* ---------- 16. Tabs (services) ---------- */
.tabs { border-radius: var(--radius-xl); padding: 12px; }
.tab-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 6px;
  border-radius: calc(var(--radius-xl) - 8px);
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 22px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.35s var(--ease), background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.75); }
.tab[aria-selected="true"] {
  color: #04121F;
  background: var(--grad-cool);
  box-shadow: 0 10px 26px -10px rgba(14, 165, 233, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.tab-panel { padding: clamp(20px, 4vw, 48px); }
.tab-panel[hidden] { display: none; }
.tab-panel.is-entering { animation: panelIn 0.6s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.panel-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); }
.panel-kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.panel-grid h2 { margin-top: 12px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.panel-lead { margin-top: 16px; font-size: 1.06rem; color: var(--text-2); }
.panel-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.panel-sub { margin-top: 34px; margin-bottom: 16px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: step; }
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding-bottom: 18px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
  background: var(--surface-strong);
  border: 1px solid var(--border);
}
.steps li::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.45), transparent);
}
.steps li:last-child::after { display: none; }
.steps strong { display: block; color: var(--text); font-weight: 700; }
.steps span { display: block; margin-top: 2px; font-size: 0.92rem; color: var(--muted); }

.panel-visual { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.panel-visual .photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--border); }
.panel-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.panel-visual .float-card { position: absolute; left: -24px; bottom: 28px; right: auto; top: auto; animation-duration: 8s; }
.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.benefit-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  font-size: 0.92rem;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid rgba(15, 23, 42, 0.07);
}
.benefit-list .lucide { margin-top: 3px; color: var(--success); }

/* Small service tiles */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-card { display: flex; gap: 16px; align-items: flex-start; }
.mini-card h4 { margin-bottom: 6px; }
.mini-card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- 17. Accordion (FAQ) ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item { border-radius: var(--radius); overflow: hidden; transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease); }
.faq-item.is-open { border-color: rgba(14, 165, 233, 0.35); background: rgba(255, 255, 255, 0.9); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text);
}
.faq-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  transition: transform 0.45s var(--ease), background-color 0.45s var(--ease);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: rgba(14, 165, 233, 0.16); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; color: var(--text-2); }

/* ---------- 18. Info page ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--text-2); font-size: 1.04rem; }
.prose .lead { font-size: 1.2rem; color: var(--text); font-weight: 500; }

.stack-photos { position: relative; aspect-ratio: 1 / 1.05; }
.stack-photos .p1, .stack-photos .p2 {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px -24px rgba(15, 23, 42, 0.35);
}
.stack-photos img { width: 100%; height: 100%; object-fit: cover; }
.stack-photos .p1 { top: 0; left: 0; width: 72%; height: 70%; }
.stack-photos .p2 { right: 0; bottom: 0; width: 62%; height: 58%; padding: 8px; background: rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.stack-photos .p2 img { border-radius: calc(var(--radius-lg) - 8px); object-position: 70% 25%; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.value-card h4 { margin-top: 18px; }
.value-card p { margin-top: 8px; font-size: 0.92rem; color: var(--muted); }

.journey { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.journey::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--orange));
  opacity: 0.45;
}
.journey-step { position: relative; text-align: center; padding: 0 6px; }
.journey-step .node {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: 0 0 0 6px rgba(248, 250, 252, 0.85), 0 12px 30px -12px rgba(14, 165, 233, 0.45);
}
.journey-step .node .lucide { width: 26px; height: 26px; color: var(--cyan); }
.journey-step .node b {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.72rem;
  color: #fff;
  background: var(--grad-warm);
}
.journey-step h4 { font-size: 1rem; }
.journey-step p { margin-top: 6px; font-size: 0.88rem; color: var(--muted); }

.tourism-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.tourism-card h4 { margin-top: 18px; }
.tourism-card p { margin-top: 8px; font-size: 0.92rem; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }

.savings h3 { font-size: 1.35rem; }
.savings > p { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }
.bar-group { margin-top: 24px; }
.bar-group + .bar-group { margin-top: 20px; }
.bar-title { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.88rem; font-weight: 700; color: var(--text); }
.bar-title span { color: var(--success); }
.bar-row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--muted); }
.bar-row + .bar-row { margin-top: 8px; }
.bar { height: 12px; border-radius: 999px; background: rgba(15, 23, 42, 0.07); overflow: hidden; }
.bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: rgba(100, 116, 139, 0.4);
  transition: width 1.4s var(--ease);
}
.bar i.us { background: var(--grad-cool); box-shadow: 0 0 14px rgba(14, 165, 233, 0.45); }
.is-visible .bar i { width: var(--w); }

.checklist h3 { font-size: 1.35rem; }
.checklist > p { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }
.progress { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 0.82rem; font-weight: 700; color: var(--text); }
.progress .bar { flex: 1; height: 8px; }
.progress .bar i { width: 0; background: var(--grad-warm); transition: width 0.5s var(--ease); }
.check-items { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.check-items label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.93rem;
  cursor: pointer;
  background: var(--surface-2);
  border: 1px solid rgba(15, 23, 42, 0.07);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.check-items label:hover { border-color: var(--border-strong); }
.check-items input { position: absolute; opacity: 0; pointer-events: none; }
.check-items .box {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--border-strong);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.check-items .box .lucide { width: 14px; height: 14px; color: #04121F; opacity: 0; transform: scale(0.5); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.check-items input:checked + .box { background: var(--grad-cool); border-color: transparent; }
.check-items input:checked + .box .lucide { opacity: 1; transform: none; }
.check-items input:checked ~ .txt { color: var(--muted); text-decoration: line-through; }
.check-items input:focus-visible + .box { outline: 2px solid var(--cyan); outline-offset: 2px; }

.standards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.std-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.std-list li { display: flex; gap: 14px; align-items: flex-start; }
.std-list li .lucide { margin-top: 3px; color: var(--cyan); }
.std-list strong { display: block; color: var(--text); }
.std-list span { display: block; font-size: 0.9rem; color: var(--muted); }
.equip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.equip { padding: 18px; border-radius: 18px; background: var(--surface-2); border: 1px solid rgba(15, 23, 42, 0.07); }
.equip .lucide { width: 22px; height: 22px; color: var(--amber); }
.equip strong { display: block; margin-top: 12px; color: var(--text); font-size: 0.95rem; }
.equip span { display: block; margin-top: 4px; font-size: 0.85rem; color: var(--muted); }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.strip .bento-item { aspect-ratio: 4 / 5; }

/* ---------- 19. Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.form-card { border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 44px); position: relative; overflow: hidden; }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.form-card > p { margin-top: 10px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 0.82rem; font-weight: 700; color: var(--text-2); letter-spacing: 0.01em; }
.field label .req { color: var(--orange); }
.input-wrap { position: relative; }
.input-wrap .lucide {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
  transition: color 0.3s var(--ease);
}
.input-wrap.textarea .lucide { top: 18px; transform: none; }
.input-wrap:focus-within .lucide { color: var(--cyan); }
.control {
  width: 100%;
  padding: 15px 16px 15px 46px;
  border-radius: 16px;
  font-size: 0.96rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-strong);
  outline: none;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.control::placeholder { color: rgba(100, 116, 139, 0.75); }
.control:hover { border-color: var(--border-strong); }
.control:focus { border-color: rgba(14, 165, 233, 0.55); background: #fff; box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14); }
textarea.control { min-height: 130px; resize: vertical; }
select.control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
select.control option { color: #0F172A; }
input[type="date"].control { color-scheme: light; }
.field.has-error .control { border-color: rgba(225, 29, 72, 0.55); box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1); }
.field .error { display: none; font-size: 0.8rem; font-weight: 600; color: var(--danger); }
.field.has-error .error { display: block; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-strong);
  transition: all 0.3s var(--ease);
}
.pill span:hover { border-color: var(--border-strong); }
.pill input:checked + span { color: #04121F; background: var(--grad-cool); border-color: transparent; box-shadow: 0 8px 22px -8px rgba(34, 211, 238, 0.7); }
.pill input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pill .lucide { width: 16px; height: 16px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--cyan); }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-foot small { color: var(--muted); font-size: 0.82rem; display: inline-flex; gap: 8px; align-items: center; }
.btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-label-icon { display: none; }

.form-success { display: none; text-align: center; padding: clamp(20px, 4vw, 40px) 0; }
.form-card.is-success form { display: none; }
.form-card.is-success .form-success { display: block; animation: panelIn 0.7s var(--ease) both; }
.success-badge {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: #04121F;
  background: var(--grad-cool);
  box-shadow: 0 0 0 10px rgba(34, 211, 238, 0.12), 0 0 0 22px rgba(34, 211, 238, 0.06), 0 20px 50px -10px rgba(34, 211, 238, 0.8);
}
.success-badge .lucide { width: 42px; height: 42px; stroke-width: 2.5; }
.form-success h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.form-success > p { max-width: 460px; margin: 12px auto 0; color: var(--text-2); }
.summary {
  max-width: 440px;
  margin: 26px auto 0;
  padding: 18px 20px;
  border-radius: 18px;
  text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 0.9rem; }
.summary div + div { border-top: 1px solid rgba(15, 23, 42, 0.07); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; color: var(--text); font-weight: 600; text-align: right; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }

.details { display: grid; gap: 16px; }
.detail-card { border-radius: var(--radius-lg); }
.detail-row { display: flex; gap: 16px; align-items: flex-start; }
.detail-row + .detail-row { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(15, 23, 42, 0.07); }
.detail-row h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 700; }
.detail-row p, .detail-row a { margin-top: 6px; display: block; color: var(--text); font-weight: 600; }
.detail-row a:hover { color: var(--cyan); }
.detail-row .icon-badge { width: 46px; height: 46px; border-radius: 14px; }

.shift { margin-top: 14px; }
.shift-bar { display: grid; grid-template-columns: 4fr 3fr 4fr; gap: 4px; height: 10px; }
.shift-bar span { border-radius: 999px; }
.shift-bar .on { background: var(--grad-cool); }
.shift-bar .off { background: repeating-linear-gradient(135deg, rgba(249, 115, 22, 0.55) 0 4px, rgba(249, 115, 22, 0.15) 4px 8px); }
.shift-labels { display: grid; grid-template-columns: 4fr 3fr 4fr; gap: 4px; margin-top: 8px; font-size: 0.74rem; font-weight: 600; color: var(--muted); }
.shift-labels span:nth-child(2) { text-align: center; color: var(--amber); }
.shift-labels span:nth-child(3) { text-align: right; }

.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick-actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 10px;
  border-radius: 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.quick-actions a:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.quick-actions .lucide { width: 22px; height: 22px; color: var(--cyan); }
.quick-actions a.wa .lucide { color: var(--whatsapp); }

.map-wrap { position: relative; border-radius: var(--radius-xl); overflow: hidden; padding: 10px; }
.map-frame { position: relative; aspect-ratio: 21 / 9; border-radius: calc(var(--radius-xl) - 10px); overflow: hidden; background: #E2E8F0; }
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85) contrast(0.98);
}
.map-pin-card { position: absolute; right: 28px; top: 28px; left: auto; max-width: 320px; animation: none; }
.directions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.directions .card h4 { margin-top: 16px; }
.directions .card p { margin-top: 6px; font-size: 0.92rem; color: var(--muted); }

/* ---------- 20. Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: 0 20px 40px -14px rgba(15, 23, 42, 0.3);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast .lucide { color: var(--amber); }

/* ---------- 21. Motion: reveal + page transitions ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="right"] { transform: translateX(32px); }
.js [data-reveal="zoom"] { transform: scale(0.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* Fallback page transition (browsers without cross-document View Transitions) */
.js main, .js .site-footer { transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.js body:not(.is-ready) main { opacity: 0; transform: translateY(10px); }
.js body.is-leaving main, .js body.is-leaving .site-footer { opacity: 0; transform: translateY(-10px); }

/* Native cross-document view transitions (Chromium) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 0.35s var(--ease) both; }
::view-transition-new(root) { animation: vtIn 0.55s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }

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

/* ---------- 22. Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 0; }
  .values-grid, .tourism-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card.fc-1 { left: -4%; }
  .float-card.fc-2 { right: -4%; }
  .nav-phone span { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .hero-grid, .makeover-grid, .split, .panel-grid, .contact-grid, .cta-band, .standards-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 500px; margin-top: 12px; }
  .cta-actions { justify-content: flex-start; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .tab-list { grid-template-columns: repeat(2, 1fr); }
  .panel-visual { position: relative; top: auto; max-width: 520px; }
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey::before { top: 34px; bottom: 34px; left: 33px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--cyan), var(--blue), var(--orange)); }
  .journey-step { display: grid; grid-template-columns: 68px 1fr; gap: 18px; text-align: left; padding: 0 0 24px; }
  .journey-step .node { margin: 0; }
  .journey-step > div { padding-top: 10px; }
  .directions { grid-template-columns: 1fr; }
  .map-frame { aspect-ratio: 4 / 3; }
  .bento { grid-auto-rows: 90px; }
}

@media (max-width: 720px) {
  .services-grid, .values-grid, .tourism-grid, .mini-grid, .team-grid, .two-col { grid-template-columns: 1fr; }
  .team-photo { aspect-ratio: 4 / 3.6; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .b-a { grid-column: span 2; grid-row: span 2; }
  .b-b { grid-column: span 1; grid-row: span 2; }
  .b-c { grid-column: span 1; grid-row: span 2; }
  .b-d { grid-column: span 2; grid-row: span 2; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .float-card { padding: 10px 14px 10px 10px; gap: 10px; }
  .float-card strong { font-size: 0.98rem; }
  .float-card.fc-1 { left: -2%; top: 5%; }
  .float-card.fc-2 { right: -2%; }
  .float-card.fc-3 { left: 2%; bottom: 4%; }
  .form-grid { grid-template-columns: 1fr; }
  .benefit-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .map-pin-card { left: 14px; right: 14px; top: auto; bottom: 14px; max-width: none; }
  .equip-grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 96px 1fr; }
  .ba-knob { width: 52px; height: 52px; }
  .ba-label { top: 12px; padding: 6px 10px; font-size: 0.66rem; }
  .ba-label.before { left: 12px; }
  .ba-label.after { right: 12px; }
  .tab { padding: 12px 8px; font-size: 0.84rem; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .brand-text small { display: none; }
  .nav-actions .btn-sm { display: none; }
  .tab-list { grid-template-columns: 1fr; }
  .quick-actions a { padding: 14px 6px; font-size: 0.78rem; }
}
