/*
  ECPC — public site
  ------------------------------------------------------------------
  Purpose      Landing for an IT integrator (Querétaro · Tuxtla). Build trust,
               show capability, route to WhatsApp. Online store coming soon.
  Tone         Sovereign minimalism. Persistent white, deep navy ink, a single
               electric blue accent taken from the logo. Soft, blue-tinted depth
               instead of hard borders. Quiet until you hover — then it moves.
  Type         Sora (display, geometric — echoes the rounded logo wordmark)
               Manrope (body/UI, humanist geometric, excellent at small sizes)
  Motion       Page-load reveal cascade, scroll reveals, count-up numbers,
               carousels with progress dots, cards that lift/round/recolor,
               buttons that shift hue and scale. Everything respects
               prefers-reduced-motion.
  Constraints  Astro SSR, vanilla JS, no framework, images are user-uploaded.
*/

/* ------------------------------------------------------------------ */
/*  Tokens                                                             */
/* ------------------------------------------------------------------ */

:root {
  --white: #ffffff;
  --soft: #f4f7fc;
  --soft-2: #e9eff9;
  --ink: #08132a;
  --navy: #0b1a35;
  --navy-2: #142a52;
  --blue: #427cc6;
  --blue-2: #5a90d4;
  --blue-soft: #e4eefb;
  --muted: #5a6a82;
  --muted-2: #8894a9;
  --line: #e2e9f3;
  --line-2: #cfdaea;
  --wa: #128c7e;

  --font-display: "Sora", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04), 0 6px 18px rgba(12, 28, 52, 0.05);
  --shadow-md: 0 2px 6px rgba(11, 18, 32, 0.05), 0 18px 44px rgba(12, 28, 52, 0.09);
  --shadow-lg: 0 6px 14px rgba(11, 18, 32, 0.06), 0 34px 80px rgba(12, 28, 52, 0.14);
  --shadow-blue: 0 14px 34px rgba(66, 124, 198, 0.32);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.22s;
  --t-med: 0.42s;
  --t-slow: 0.7s;

  --header-h: 76px;
}

/* ------------------------------------------------------------------ */
/*  Base                                                               */
/* ------------------------------------------------------------------ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font: 16px/1.6 var(--font-body);
  color: var(--ink);
  background: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); letter-spacing: -0.02em; }

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

.wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ------------------------------------------------------------------ */
/*  Typography helpers                                                 */
/* ------------------------------------------------------------------ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
  animation: pulse 2.6s var(--ease-io) infinite;
}

.eyebrow--light { color: #cfe0ff; }
.eyebrow--light .eyebrow-dot { background: #cfe0ff; box-shadow: 0 0 0 4px rgba(255,255,255,0.15); }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.12;
  max-width: 22ch;
}

.section-title--sm { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

.section-sub {
  margin: 1rem 0 0;
  max-width: 54ch;
  font-size: 1.06rem;
  color: var(--muted);
}

.section-head { margin-bottom: 2.6rem; }

.section-head--center {
  text-align: center;
  margin-bottom: 1.8rem;
}

.section-head--center .section-title,
.section-head--center .section-sub { margin-inline: auto; }

/* ------------------------------------------------------------------ */
/*  Buttons                                                            */
/* ------------------------------------------------------------------ */

.btn {
  --bg: var(--navy);
  --fg: var(--white);
  --bg-h: var(--blue);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0 1.45rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition:
    background var(--t-fast) ease,
    color var(--t-fast) ease,
    border-color var(--t-fast) ease,
    transform var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.28), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-med) ease;
  z-index: -1;
}

.btn:hover,
.btn:focus-visible {
  background: var(--bg-h);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-blue);
}

.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(0.99); }

.btn svg { transition: transform var(--t-med) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { --bg: var(--blue); --bg-h: var(--navy); }

.btn-navy { --bg: var(--navy); --bg-h: var(--blue); }

.btn-ghost {
  --bg: transparent;
  --fg: var(--ink);
  --bg-h: var(--white);
  border-color: var(--line-2);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 12px 30px rgba(66, 124, 198, 0.16);
}

.btn-light {
  --bg: var(--white);
  --fg: var(--navy);
  --bg-h: var(--white);
}

.btn-light:hover { color: var(--blue); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25); }

.btn-outline-light {
  --bg: transparent;
  --fg: var(--white);
  --bg-h: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover { border-color: var(--white); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.btn-sm { min-height: 42px; padding: 0 1.1rem; font-size: 0.9rem; }
.btn-lg { min-height: 56px; padding: 0 1.75rem; font-size: 1.02rem; }

/* ------------------------------------------------------------------ */
/*  Header                                                             */
/* ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) ease, box-shadow var(--t-med) ease, background var(--t-med) ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(12, 28, 52, 0.06);
}

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

.brand { display: inline-flex; align-items: center; text-decoration: none; }

.brand-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  transition: transform var(--t-slow) var(--ease);
}

.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }

.site-nav {
  display: flex;
  gap: 0.35rem;
}

.site-nav a {
  position: relative;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--t-fast) ease, background var(--t-fast) ease;
}

.site-nav a:hover { color: var(--ink); background: var(--soft); }
.site-nav a.is-current { color: var(--blue); background: var(--blue-soft); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

/* ------------------------------------------------------------------ */
/*  Carousel (shared)                                                  */
/* ------------------------------------------------------------------ */

.carousel {
  position: relative;
  --dot-duration: 6s;
}

.carousel-track {
  position: relative;
  display: grid;
}

.slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease),
    visibility 0s linear var(--t-slow);
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s;
}

.slide.is-leaving { transform: translateX(-24px); }

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-med) var(--ease), box-shadow var(--t-med) ease;
}

.carousel-btn:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: var(--shadow-md);
}

.carousel-btn--prev { left: 0.75rem; }
.carousel-btn--next { right: 0.75rem; }

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.dot {
  position: relative;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 28, 52, 0.18);
  cursor: pointer;
  overflow: hidden;
  transition: width var(--t-med) var(--ease), background var(--t-fast) ease;
}

.dot.is-active {
  width: 42px;
  background: rgba(12, 28, 52, 0.18);
}

.dot-fill {
  position: absolute;
  inset: 0;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--blue);
  border-radius: inherit;
}

.dot.is-active .dot-fill {
  animation: dotfill var(--dot-duration) linear forwards;
}

.carousel.is-paused .dot.is-active .dot-fill { animation-play-state: paused; }

/* ------------------------------------------------------------------ */
/*  Hero                                                               */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  padding: 1.5rem 0 3rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  pointer-events: none;
  background:
    radial-gradient(48rem 26rem at 82% 8%, rgba(74, 134, 224, 0.13), transparent 62%),
    radial-gradient(36rem 22rem at 6% 88%, rgba(12, 28, 52, 0.06), transparent 60%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(to right, rgba(12, 28, 52, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 28, 52, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 70% at 70% 30%, #000 30%, transparent 85%);
}

.carousel--hero { --dot-duration: 6s; }

.carousel--hero .carousel-dots {
  position: static;
  transform: none;
  justify-content: flex-start;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding-top: 0.5rem;
}

.carousel--hero .carousel-btn { display: none; }

.slide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 3rem;
  min-height: min(560px, 68vh);
  padding: 2.5rem 0 1.5rem;
}

.slide-copy { position: relative; z-index: 1; }

.slide-title {
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.slide-sub {
  margin: 1.35rem 0 0;
  max-width: 50ch;
  font-size: 1.12rem;
  color: var(--muted);
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.slide.is-active .slide-copy > * {
  animation: rise 0.8s var(--ease) both;
}

.slide.is-active .slide-copy > :nth-child(2) { animation-delay: 0.08s; }
.slide.is-active .slide-copy > :nth-child(3) { animation-delay: 0.16s; }
.slide.is-active .slide-copy > :nth-child(4) { animation-delay: 0.24s; }

.slide-visual {
  position: relative;
  min-height: 320px;
}

.visual-glow {
  position: absolute;
  inset: 8% 4%;
  border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%;
  background: linear-gradient(135deg, rgba(74, 134, 224, 0.22), rgba(12, 28, 52, 0.08));
  filter: blur(28px);
  animation: blob 14s var(--ease-io) infinite alternate;
}

.visual-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease), border-radius var(--t-slow) var(--ease);
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-frame.is-logo {
  display: grid;
  place-items: center;
  padding: 14%;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(74, 134, 224, 0.12), transparent 70%),
    var(--white);
}

.visual-frame.is-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(12, 28, 52, 0.14));
}

.slide.is-active .visual-frame { animation: scaleIn 1s var(--ease) both 0.1s; }
.slide-visual:hover .visual-frame { transform: translateY(-6px) rotate(-0.6deg); border-radius: var(--r-lg); }

/* ------------------------------------------------------------------ */
/*  Stats                                                              */
/* ------------------------------------------------------------------ */

.stats { padding: 0 0 4.5rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) ease;
}

.stat::before {
  content: "";
  position: absolute;
  inset: auto -30% -50% auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 134, 224, 0.16), transparent 70%);
  transition: transform var(--t-slow) var(--ease);
}

.stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47, 111, 214, 0.35);
}

.stat:hover::before { transform: scale(1.5) translate(-10%, -10%); }

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

/* ------------------------------------------------------------------ */
/*  Sections                                                           */
/* ------------------------------------------------------------------ */

.section { padding: 4.5rem 0; }
.section--tight { padding: 3rem 0; }

.section--soft {
  background: linear-gradient(180deg, var(--soft) 0%, var(--white) 100%);
  border-block: 1px solid var(--line);
}

/* ------------------------------------------------------------------ */
/*  Services                                                           */
/* ------------------------------------------------------------------ */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.7rem 1.6rem 1.6rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) ease, border-radius var(--t-med) var(--ease);
}

.service:hover {
  transform: translateY(-8px);
  border-color: rgba(47, 111, 214, 0.4);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--blue-soft);
  color: var(--blue);
  transition: background var(--t-med) ease, color var(--t-med) ease, transform var(--t-med) var(--ease), border-radius var(--t-med) var(--ease);
}

.service-icon img { width: 30px; height: 30px; object-fit: contain; }

.service:hover .service-icon {
  background: var(--blue);
  color: var(--white);
  transform: rotate(-6deg) scale(1.06);
  border-radius: 50%;
}

.service h3 {
  margin-top: 0.4rem;
  font-size: 1.18rem;
  font-weight: 600;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.service-arrow {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--muted-2);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease), color var(--t-fast) ease;
}

.service:hover .service-arrow { opacity: 1; transform: none; color: var(--blue); }

/* ------------------------------------------------------------------ */
/*  Banners                                                            */
/* ------------------------------------------------------------------ */

.banners { padding: 0 0 4.5rem; }

.carousel--banner {
  --dot-duration: 5s;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.slide-banner {
  position: relative;
  margin: 0;
  aspect-ratio: var(--ratio, 21 / 9);
  min-height: 260px;
  background: var(--soft);
}

.slide-banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 8s linear;
}

.slide.is-active .slide-banner > img { transform: scale(1.08); }

.banner-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 80% at 82% 18%, rgba(74, 134, 224, 0.18), transparent 60%),
    radial-gradient(50% 60% at 8% 92%, rgba(12, 28, 52, 0.06), transparent 60%),
    linear-gradient(135deg, var(--white) 0%, var(--soft) 100%);
}

.banner-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(12, 28, 52, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 28, 52, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 80% at 60% 40%, #000 20%, transparent 80%);
}

.banner-placeholder img {
  width: min(44%, 400px);
  opacity: 0.1;
  transform: translateY(-14%);
}

.banner-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.4rem, 4vw, 3rem);
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(11, 18, 32, 0.72));
}

.slide.is-placeholder .banner-caption {
  color: var(--ink);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.85));
}

.slide.is-placeholder .banner-caption p { color: var(--muted); }
.slide.is-placeholder .banner-caption .eyebrow--light { color: var(--blue); }
.slide.is-placeholder .banner-caption .eyebrow--light .eyebrow-dot { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.slide.is-placeholder .banner-caption .btn-light { --bg: var(--navy); --fg: var(--white); --bg-h: var(--blue); }

.banner-caption h3 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 600;
}

.banner-caption p {
  margin: 0.5rem 0 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.82);
}

.banner-caption .btn { margin-top: 1.2rem; }

.carousel--banner .dot { background: rgba(12, 28, 52, 0.18); }
.carousel--banner .dot-fill { background: var(--blue); }
.carousel--banner .slide.has-image ~ .carousel-dots .dot { background: rgba(255, 255, 255, 0.35); }

/* ------------------------------------------------------------------ */
/*  Announcement                                                       */
/* ------------------------------------------------------------------ */

.announce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3.2rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(74, 134, 224, 0.14), transparent 60%),
    var(--soft);
  border: 1px solid var(--line);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 0 0 rgba(74, 134, 224, 0.6);
  animation: ping 1.8s ease-out infinite;
}

.announce-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 52ch;
}

.announce-copy .btn { margin-top: 0.6rem; }

.announce-visual img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.announce-art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform var(--t-slow) var(--ease);
}

.announce:hover .announce-art { transform: translateY(-6px) rotate(0.6deg); }

.art-window {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.art-window span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}

.art-window span:first-child { background: var(--blue-2); }

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
}

.art-grid i {
  display: block;
  aspect-ratio: 1 / 1.1;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--soft), var(--soft-2));
  border: 1px solid var(--line);
  animation: shimmer 3s ease-in-out infinite;
}

.art-grid i:nth-child(2) { animation-delay: 0.3s; }
.art-grid i:nth-child(3) { animation-delay: 0.6s; }
.art-grid i:nth-child(4) { animation-delay: 0.9s; }
.art-grid i:nth-child(5) { animation-delay: 1.2s; }
.art-grid i:nth-child(6) { animation-delay: 1.5s; }

.art-mark {
  position: absolute;
  right: -6%;
  bottom: -10%;
  width: 46%;
  opacity: 0.08;
  transform: rotate(-12deg);
}

/* ------------------------------------------------------------------ */
/*  Brands marquee                                                     */
/* ------------------------------------------------------------------ */

.marquee {
  overflow: hidden;
  padding: 0.5rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 55s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-seq {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 1rem;
}

.brand-chip {
  display: grid;
  place-items: center;
  min-width: 170px;
  height: 84px;
  padding: 0 1.6rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-fast) ease;
}

.brand-chip:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(47, 111, 214, 0.4);
  box-shadow: var(--shadow-md);
}

.brand-chip img {
  height: 40px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: filter var(--t-med) ease;
}

.brand-chip:hover img { filter: none; }

.brand-chip--text {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
  white-space: nowrap;
}

.brand-chip--text:hover { color: var(--navy); }

/* ------------------------------------------------------------------ */
/*  Features                                                           */
/* ------------------------------------------------------------------ */

.features {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: start;
}

.features-copy { position: sticky; top: calc(var(--header-h) + 2rem); }

.features-photo {
  margin-top: 1.8rem;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature {
  display: flex;
  gap: 1rem;
  padding: 1.4rem 1.4rem 1.5rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-fast) ease;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47, 111, 214, 0.4);
}

.feature-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  transition: background var(--t-med) ease, transform var(--t-med) var(--ease);
}

.feature:hover .feature-icon { background: var(--blue); transform: scale(1.08) rotate(-6deg); }

.feature h3 { font-size: 1.06rem; font-weight: 600; }
.feature p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* ------------------------------------------------------------------ */
/*  Locations                                                          */
/* ------------------------------------------------------------------ */

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.location {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-fast) ease;
}

.location:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47, 111, 214, 0.4);
}

.location-media { min-height: 200px; position: relative; }

.location-media img { width: 100%; height: 100%; object-fit: cover; }

.location-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--blue);
  background:
    radial-gradient(70% 70% at 30% 30%, rgba(74, 134, 224, 0.2), transparent 70%),
    linear-gradient(160deg, var(--soft), var(--soft-2));
}

.location-art svg { transition: transform var(--t-slow) var(--ease); }
.location:hover .location-art svg { transform: translateY(-6px) scale(1.1); }

.location-body { padding: 1.5rem 1.5rem 1.5rem; }
.location-body h3 { font-size: 1.2rem; font-weight: 600; }
.location-body > p { margin: 0.4rem 0 0.9rem; color: var(--muted); }

.location-body dl { margin: 0 0 1.1rem; display: grid; gap: 0.4rem; }
.location-body dl div { display: flex; align-items: center; gap: 0.55rem; font-size: 0.93rem; color: var(--muted); }
.location-body dt { display: grid; color: var(--blue); }
.location-body dd { margin: 0; }
.location-body dd a { text-decoration: none; }
.location-body dd a:hover { color: var(--blue); }

/* ------------------------------------------------------------------ */
/*  Gallery                                                            */
/* ------------------------------------------------------------------ */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item.is-wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  backdrop-filter: blur(6px);
}

/* ------------------------------------------------------------------ */
/*  Custom                                                             */
/* ------------------------------------------------------------------ */

.custom {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.custom.has-image { grid-template-columns: 1fr 1fr; }
.custom.image-left .custom-image { order: -1; }
.custom-copy p { color: var(--muted); font-size: 1.04rem; }
.custom-image { border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

/* ------------------------------------------------------------------ */
/*  Contact                                                            */
/* ------------------------------------------------------------------ */

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
  padding: clamp(1.8rem, 4.5vw, 3.6rem);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  inset: auto -20% -60% auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 134, 224, 0.2), transparent 65%);
  pointer-events: none;
}

.contact-copy { position: relative; z-index: 1; }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.contact-cards { position: relative; z-index: 1; display: grid; gap: 0.8rem; }

.contact-cards li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  background: var(--soft);
  border: 1px solid var(--line);
  transition: transform var(--t-med) var(--ease), background var(--t-fast) ease, border-color var(--t-fast) ease;
}

.contact-cards li:hover {
  transform: translateX(6px);
  background: var(--white);
  border-color: rgba(47, 111, 214, 0.4);
}

.contact-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--line);
}

.contact-cards small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.contact-cards a { font-weight: 600; text-decoration: none; }
.contact-cards a:hover { color: var(--blue); }

/* ------------------------------------------------------------------ */
/*  Footer                                                             */
/* ------------------------------------------------------------------ */

.site-footer {
  margin-top: 2rem;
  padding: 3.5rem 0 0;
  background: var(--soft);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-lockup { width: min(340px, 100%); height: auto; }

.footer-note { margin: 1.1rem 0 0; font-size: 0.95rem; max-width: 40ch; }

.footer-social { display: flex; gap: 0.5rem; margin-top: 1.2rem; }

.social {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  transition: background var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-med) var(--ease);
}

.social:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }

.footer-col h4 {
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-col ul { display: grid; gap: 0.55rem; font-size: 0.95rem; }
.footer-col li strong { display: block; color: var(--ink); font-weight: 600; }
.footer-col li span { font-size: 0.9rem; }
.footer-col a { text-decoration: none; transition: color var(--t-fast) ease; }
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.2rem 0 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

/* ------------------------------------------------------------------ */
/*  Floating WhatsApp                                                  */
/* ------------------------------------------------------------------ */

.fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: background var(--t-fast) ease, transform var(--t-med) var(--ease), box-shadow var(--t-med) ease;
}

.fab:hover { background: var(--wa); transform: translateY(-4px) scale(1.06); box-shadow: 0 18px 40px rgba(18, 140, 126, 0.35); }

/* ------------------------------------------------------------------ */
/*  Full-screen carousel                                               */
/* ------------------------------------------------------------------ */

.full { position: relative; }

.carousel--full {
  --dot-duration: 7s;
  height: var(--full-h, 80vh);
  min-height: 420px;
  max-height: 900px;
  overflow: hidden;
  background: var(--navy);
}

.carousel--full .carousel-track,
.full-slide { height: 100%; }

.full-slide {
  display: grid;
  transform: none;
}

.full-slide.is-active { transform: none; }
.full-slide.is-leaving { transform: none; }

.full-media {
  position: absolute;
  inset: 0;
}

.full-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 9s linear;
}

.slide.is-active .full-media > img { transform: scale(1.12); }

.full-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(66, 124, 198, 0.45), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}

.full-placeholder img { width: min(46%, 460px); opacity: 0.16; filter: brightness(0) invert(1); transform: translate(28%, 0); }
.full-slide.align-center .full-placeholder img { transform: translate(0, -40%); opacity: 0.1; }
.full-slide.align-right .full-placeholder img { transform: translate(-28%, 0); }

.full-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 19, 42, calc(var(--overlay, 0.45) + 0.2)), rgba(8, 19, 42, calc(var(--overlay, 0.45) * 0.6))),
    linear-gradient(180deg, rgba(8, 19, 42, 0.1), rgba(8, 19, 42, calc(var(--overlay, 0.45) + 0.15)));
}

.full-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(3rem, 8vh, 6rem) 0;
  color: var(--white);
}

.full-slide.align-left .full-copy { align-items: flex-start; text-align: left; }
.full-slide.align-center .full-copy { align-items: center; text-align: center; }
.full-slide.align-right .full-copy { align-items: flex-end; text-align: right; }
.full-slide.valign-top .full-copy { justify-content: flex-start; }
.full-slide.valign-center .full-copy { justify-content: center; }
.full-slide.valign-bottom .full-copy { justify-content: flex-end; padding-bottom: clamp(4rem, 12vh, 7rem); }

.full-title {
  max-width: 18ch;
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}

.full-sub {
  margin: 1.2rem 0 0;
  max-width: 52ch;
  font-size: 1.14rem;
  color: rgba(255, 255, 255, 0.86);
}

.full-actions { margin-top: 2rem; }
.full-slide.align-center .full-actions { justify-content: center; }
.full-slide.align-right .full-actions { justify-content: flex-end; }

.slide.is-active .full-copy > * { animation: rise 0.8s var(--ease) both; }
.slide.is-active .full-copy > :nth-child(2) { animation-delay: 0.1s; }
.slide.is-active .full-copy > :nth-child(3) { animation-delay: 0.2s; }
.slide.is-active .full-copy > :nth-child(4) { animation-delay: 0.3s; }

.carousel--full .carousel-btn {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.carousel--full .carousel-btn:hover { background: var(--white); color: var(--navy); }
.carousel--full .carousel-btn--prev { left: 1.5rem; }
.carousel--full .carousel-btn--next { right: 1.5rem; }
.carousel--full .carousel-dots { bottom: 1.6rem; }
.carousel--full .dot { background: rgba(255, 255, 255, 0.35); }
.carousel--full .dot-fill { background: var(--white); }

/* ------------------------------------------------------------------ */
/*  CTA band                                                           */
/* ------------------------------------------------------------------ */

.cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.8rem, 4.5vw, 3.4rem);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--cta-img);
  background-size: cover;
  background-position: center;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cta--navy { color: var(--white); background: var(--navy); }
.cta--navy::after {
  background:
    radial-gradient(50% 80% at 90% 10%, rgba(66, 124, 198, 0.55), transparent 60%),
    linear-gradient(90deg, rgba(11, 26, 53, 0.96), rgba(11, 26, 53, 0.72));
}

.cta--blue { color: var(--white); background: var(--blue); }
.cta--blue::after {
  background:
    radial-gradient(50% 80% at 90% 10%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(90deg, rgba(66, 124, 198, 0.96), rgba(66, 124, 198, 0.72));
}

.cta--light { color: var(--ink); background: var(--soft); border: 1px solid var(--line); }
.cta--light::after { background: linear-gradient(90deg, rgba(244, 247, 252, 0.96), rgba(244, 247, 252, 0.7)); }

.cta .section-sub { color: inherit; opacity: 0.82; }
.cta--light .section-sub { color: var(--muted); opacity: 1; }
.cta-actions { justify-content: flex-end; }

/* ------------------------------------------------------------------ */
/*  Form                                                               */
/* ------------------------------------------------------------------ */

.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}

.form-perks { display: grid; gap: 0.6rem; margin-top: 1.6rem; }
.form-perks li { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-weight: 600; }
.form-perks svg { color: var(--blue); flex: none; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.form-field { display: grid; gap: 0.4rem; }
.form-field.is-full { grid-column: 1 / -1; }
.form-field > span { font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.form-field em { color: var(--blue); font-style: normal; }

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}

.form textarea { min-height: 120px; resize: vertical; }

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.form .is-invalid { border-color: #d64545; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.form-status { margin: 0; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.form-status.is-ok { color: #157f3b; }
.form-status.is-err { color: #b42318; }

.form.is-sent { position: relative; }
.form.is-sent > :not(.form-foot) { opacity: 0.35; pointer-events: none; }

/* ------------------------------------------------------------------ */
/*  FAQ                                                                */
/* ------------------------------------------------------------------ */

.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 0.7rem; }

.faq-item {
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-med) var(--ease);
}

.faq-item[open] { border-color: rgba(66, 124, 198, 0.4); box-shadow: var(--shadow-md); }

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: none; color: var(--blue); transition: transform var(--t-med) var(--ease); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-body { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq-body p { margin: 0; }

/* ------------------------------------------------------------------ */
/*  Testimonials                                                       */
/* ------------------------------------------------------------------ */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.testimonial {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial-quote { color: var(--blue); opacity: 0.6; }
.testimonial blockquote { margin: 0; font-size: 1.04rem; line-height: 1.6; color: var(--ink); flex: 1; }

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.testimonial figcaption img,
.testimonial .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  font-family: var(--font-display);
}

.testimonial figcaption strong { display: block; }
.testimonial figcaption span { color: var(--muted); }
.stars { margin-left: auto; display: flex; gap: 2px; color: #f2b01e; }
.stars svg { fill: currentColor; }

/* ------------------------------------------------------------------ */
/*  Process                                                            */
/* ------------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 1.5rem 1.4rem 1.4rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-fast) ease;
}

.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(66, 124, 198, 0.4); }

.step-num {
  position: absolute;
  top: 1.2rem;
  right: 1.3rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted-2);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 1rem;
  transition: background var(--t-med) ease, color var(--t-med) ease, transform var(--t-med) var(--ease);
}

.step:hover .step-icon { background: var(--blue); color: var(--white); transform: rotate(-6deg) scale(1.06); }
.step h3 { font-size: 1.08rem; font-weight: 600; }
.step p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* ------------------------------------------------------------------ */
/*  Video / Map / Spacer                                               */
/* ------------------------------------------------------------------ */

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-poster {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.video-poster:hover img { transform: scale(1.03); }

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-med) var(--ease), background var(--t-fast) ease;
}

.video-poster:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--white); }

.map {
  height: var(--map-h, 420px);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.map iframe { width: 100%; height: 100%; border: 0; }

.spacer--sm { height: 1.5rem; }
.spacer--md { height: 3rem; }
.spacer--lg { height: 6rem; }
.spacer.has-line { display: grid; align-items: center; }
.spacer hr { margin: 0; border: 0; border-top: 1px solid var(--line); }

/* ------------------------------------------------------------------ */
/*  Login                                                              */
/* ------------------------------------------------------------------ */

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(40rem 24rem at 80% 10%, rgba(74, 134, 224, 0.12), transparent 60%),
    var(--white);
}

.login-box {
  width: min(400px, 100%);
  padding: 2.2rem 2rem 2rem;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.login-logo { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 1rem; }
.login-box h1 { font-size: 1.5rem; font-weight: 600; }
.login-lede { margin: 0.4rem 0 1.5rem; color: var(--muted); font-size: 0.95rem; }

.login-box label {
  display: block;
  text-align: left;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.login-box input {
  width: 100%;
  min-height: 50px;
  padding: 0 1rem;
  margin-bottom: 0.9rem;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}

.login-box input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.login-submit { width: 100%; }
.status { min-height: 1.2rem; margin: 0 0 0.6rem; color: #b42318; font-size: 0.9rem; }

/* ------------------------------------------------------------------ */
/*  Reveal                                                             */
/* ------------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal.is-in { opacity: 1; transform: none; }

html.no-js .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/*  Keyframes                                                          */
/* ------------------------------------------------------------------ */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94) translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes dotfill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--blue-soft); }
  50% { box-shadow: 0 0 0 7px rgba(47, 111, 214, 0.12); }
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(74, 134, 224, 0.6); }
  100% { box-shadow: 0 0 0 9px rgba(74, 134, 224, 0); }
}

@keyframes blob {
  0% { border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%; transform: rotate(0deg) scale(1); }
  100% { border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%; transform: rotate(18deg) scale(1.08); }
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* ------------------------------------------------------------------ */
/*  Responsive                                                         */
/* ------------------------------------------------------------------ */

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; gap: 2rem; }
  .features-copy { position: static; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.8rem 1.25rem 1.2rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .site-nav a { padding: 0.8rem 0.9rem; font-size: 1.02rem; }
  .nav-toggle { display: grid; }
  .header-actions .btn { display: none; }

  .brand-mark { width: 44px; height: 44px; }

  .slide-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: 0;
    padding: 1.4rem 0 1rem;
  }

  .slide-visual { min-height: 0; order: -1; }
  .visual-frame { aspect-ratio: 16 / 10; }
  .slide-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .slide-actions .btn { flex: 1 1 auto; }

  .stats { padding-bottom: 3.2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat { padding: 1.2rem 1.1rem; }

  .section { padding: 3.2rem 0; }
  .service-grid,
  .feature-list,
  .location-grid,
  .gallery,
  .footer-grid { grid-template-columns: 1fr; }

  .gallery-item.is-wide { grid-column: auto; }
  .announce,
  .contact,
  .cta,
  .form-wrap,
  .custom.has-image { grid-template-columns: 1fr; gap: 1.8rem; }
  .cta-actions { justify-content: flex-start; }
  .form { grid-template-columns: 1fr; }
  .testimonials, .steps { grid-template-columns: 1fr; }
  .carousel--full { height: 72vh; min-height: 480px; }
  .full-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .carousel--full .carousel-btn { display: none; }
  .location { grid-template-columns: 1fr; }
  .location-media { min-height: 160px; }

  .banners { padding-bottom: 3.2rem; }
  .slide-banner { min-height: 220px; aspect-ratio: 4 / 3; }
  .carousel-btn { width: 40px; height: 40px; }
  .banner-caption h3 { font-size: 1.4rem; }
  .banner-caption p { display: none; }

  .contact-actions .btn { flex: 1 1 auto; }
  .fab { width: 52px; height: 52px; right: 1rem; bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .reveal { opacity: 1; transform: none; }
  .marquee-seq[aria-hidden="true"] { display: none; }
  .marquee-track { width: 100%; flex-wrap: wrap; justify-content: center; }
  .marquee-seq { flex-wrap: wrap; justify-content: center; }
}
