/* HydroCare Athens — public site styles
   Palette and type from the Claude Design files; motion, glass header, rounded
   inset panels, grain and tinted shadows adapted from the Athena Volcano site. */

:root {
  --navy: #14224f;
  --navy-2: #1b2a5e;
  --blue: #0f5fb8;
  --blue-2: #1668c8;
  --sky: #6aaef5;
  --red: #b3151b;
  --red-d: #8e1015;
  --amber: #e8a21b;
  --bg: #f2f2f2;
  --soft: #f5f6f9;
  --white: #fff;
  --line: #e2e4ea;
  --line-2: #cdd2de;
  --ink: #14224f;
  --muted: #5c6275;
  --on-navy: #c6cfe6;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-xl: clamp(24px, 3.6vw, 48px);
  --r-lg: 28px;
  --r-md: 22px;
  --r-sm: 14px;
  --inset: clamp(8px, 1.6vw, 20px);
  --shadow-soft: 0 1px 2px rgba(20, 34, 79, 0.04), 0 12px 32px -12px rgba(20, 34, 79, 0.16);
  --shadow-lift: 0 2px 4px rgba(20, 34, 79, 0.05), 0 28px 60px -24px rgba(20, 34, 79, 0.32);
  --shadow-red: 0 10px 28px -10px rgba(179, 21, 27, 0.6);
  --shadow-blue: 0 10px 28px -10px rgba(15, 95, 184, 0.55);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  interpolate-size: allow-keywords;
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: 96px;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  color: var(--navy);
}
p {
  margin: 0;
  text-wrap: pretty;
}
h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}
button {
  font: inherit;
}
::selection {
  background: var(--navy);
  color: #fff;
}
*:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}
html {
  scrollbar-width: thin;
  scrollbar-color: #b7bfd3 transparent;
}

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
}
.skip:focus {
  top: 12px;
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}
.wrap-narrow {
  max-width: 920px;
}
.rel {
  position: relative;
}

/* ---- type ----------------------------------------------------------------- */

.display-xxl {
  font-size: clamp(2.15rem, 7.6vw, 5.4rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.display-xl {
  font-size: clamp(2.1rem, 5.6vw, 4.2rem);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.032em;
  max-width: 19ch;
}
.display-lg {
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.028em;
}
.display-md {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.024em;
}
.display-sm {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lead {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 58ch;
}
.lead-lg {
  font-size: clamp(17px, 2vw, 19.5px);
}
.lead a {
  font-weight: 700;
}
.note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--blue) 9%, transparent);
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 16px;
}
.kicker::before {
  content: '';
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}
.kicker-light {
  background: rgba(255, 255, 255, 0.1);
  color: #dfe6f7;
}

/* ---- buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background-color 0.25s, color 0.25s, box-shadow 0.35s var(--ease);
}
.btn:active {
  transform: scale(0.97);
}
.btn-lg {
  min-height: 58px;
  padding: 0 26px 0 22px;
  font-size: 17px;
}
.btn-md {
  min-height: 50px;
  padding: 0 22px;
}
.btn-sm {
  min-height: 42px;
  padding: 0 16px 0 12px;
  font-size: 15px;
}
.btn-block {
  width: 100%;
}
.btn-ico {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: -6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}
.btn-sm .btn-ico {
  width: 28px;
  height: 28px;
  margin-left: -2px;
}
.btn-arrow {
  display: inline-flex;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-call {
  background: var(--red);
  color: #fff;
}
.btn-call:hover {
  background: var(--red-d);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-call:hover .btn-ico svg {
  animation: ring 0.9s ease-in-out;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: #0b4a91;
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.btn-glass .btn-ico {
  background: rgba(255, 255, 255, 0.12);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@keyframes ring {
  0%, 100% { transform: rotate(0); }
  15%, 45% { transform: rotate(-14deg); }
  30%, 60% { transform: rotate(14deg); }
  75% { transform: rotate(-6deg); }
}

/* live chip + pulse */
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 13px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 20px;
  line-height: 1.3;
}
.live-chip-amber {
  padding-left: 15px;
}
.pulse-dot {
  position: relative;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--red);
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(3.2); opacity: 0; }
}

/* ---- surfaces ------------------------------------------------------------- */

.surface {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
}
.media-round {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.media-round img,
.media-round video,
.media-round iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.parallax {
  position: absolute;
  inset: -8% 0;
  will-change: transform;
}
.parallax img,
.parallax .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: var(--grain);
  opacity: 0.11;
  mix-blend-mode: overlay;
}

/* image placeholder when nothing is uploaded yet */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background:
    radial-gradient(circle at 28% 18%, rgba(22, 104, 200, 0.16), transparent 55%),
    linear-gradient(140deg, #e9eef7, #dbe2ef);
  color: rgba(20, 34, 79, 0.13);
  overflow: hidden;
}
.ph-mark {
  width: 38%;
  max-width: 120px;
  height: auto;
}
.ph-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(20, 34, 79, 0.45);
}

.section {
  padding-block: clamp(56px, 8vw, 112px);
  position: relative;
}
.section-tight {
  padding-block: 8px clamp(48px, 7vw, 88px);
}
.panel-white {
  background: var(--white);
  border-radius: var(--r-xl);
  margin-inline: var(--inset);
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head-row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.section-head-row > div {
  max-width: 760px;
}
.section-head h2 a {
  color: inherit;
}

/* ---- header ----------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  padding: 10px var(--inset) 0;
  pointer-events: none;
}
.header-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1440px;
  margin-inline: auto;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(20, 34, 79, 0.06);
  transition: max-width 0.6s var(--ease), background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), padding 0.5s var(--ease);
}
.site-header.is-scrolled .header-pill {
  max-width: 1240px;
  padding-block: 6px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--navy);
  --hc-wave-a: #11398a;
  --hc-wave-b: #1f7ae6;
}
.logo:hover {
  color: var(--navy);
}
.logo-mark {
  width: auto;
  height: 40px;
  flex: 0 0 auto;
  transition: transform 0.6s var(--ease);
}
.logo:hover .logo-mark {
  transform: translateY(-1px) scale(1.04);
}
.logo-text {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  line-height: 1;
}
.logo-word {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.17em;
  margin-right: -0.17em;
}
.logo-word span {
  color: var(--blue-2);
  transition: color 0.4s;
}
.logo-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.5em;
  margin-right: -0.5em;
  color: #6b7186;
  transition: color 0.4s;
}
.logo-sub::before,
.logo-sub::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.logo-sub::after {
  margin-right: 0.5em;
}
.site-header.is-scrolled .logo-mark {
  height: 36px;
}
.logo-footer {
  flex-direction: column;
  align-items: center;
  width: fit-content;
  gap: 12px;
  color: #fff;
  --hc-wave-a: #4f9cf0;
  --hc-wave-b: #8cc4ff;
}
.logo-footer .logo-mark {
  height: 62px;
}
.logo-footer .logo-word {
  font-size: 21px;
}
.logo-footer .logo-word span {
  color: var(--sky);
}
.logo-footer .logo-sub {
  font-size: 10.5px;
  color: #aeb9d6;
}
@media (max-width: 420px) {
  .logo-mark {
    height: 34px;
  }
  .logo-word {
    font-size: 16.5px;
    letter-spacing: 0.13em;
    margin-right: -0.13em;
  }
  .header-actions .btn-call .call-text {
    display: none;
  }
  .header-actions .btn-call {
    width: 44px;
    min-height: 44px;
    padding: 0;
  }
  .header-actions .btn-call .btn-ico {
    margin: 0;
    background: none;
  }
}
.main-nav {
  display: none;
  gap: 2px;
  margin-inline: auto;
}
.main-nav a {
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: #3d4664;
  transition: background-color 0.25s, color 0.25s;
}
.main-nav a:hover {
  background: rgba(20, 34, 79, 0.06);
  color: var(--navy);
}
.main-nav a[aria-current='page'] {
  background: rgba(20, 34, 79, 0.08);
  color: var(--navy);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.header-phone {
  white-space: nowrap;
  display: none;
  padding: 0 8px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.menu-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 34, 79, 0.07);
  color: var(--navy);
  cursor: pointer;
}
.menu-close-ico,
.menu-open .menu-open-ico {
  display: none;
}
.menu-open .menu-close-ico {
  display: block;
}

/* transparent header over the home hero */
.has-dark-hero .site-header:not(.is-scrolled) .header-pill,
.menu-open .site-header .header-pill {
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.has-dark-hero .site-header:not(.is-scrolled) :is(.logo, .header-phone, .main-nav a),
.menu-open .site-header :is(.logo, .header-phone) {
  color: #fff;
}
.has-dark-hero .site-header:not(.is-scrolled) .logo-word span,
.menu-open .site-header .logo-word span {
  color: var(--sky);
}
.has-dark-hero .site-header:not(.is-scrolled) .logo,
.menu-open .site-header .logo {
  --hc-wave-a: #4f9cf0;
  --hc-wave-b: #8cc4ff;
}
.has-dark-hero .site-header:not(.is-scrolled) .logo-sub,
.menu-open .site-header .logo-sub {
  color: #b9c3dc;
}
.has-dark-hero .site-header:not(.is-scrolled) .main-nav a:hover,
.has-dark-hero .site-header:not(.is-scrolled) .main-nav a[aria-current='page'] {
  background: rgba(255, 255, 255, 0.14);
}
.has-dark-hero .site-header:not(.is-scrolled) .menu-btn,
.menu-open .menu-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

body:not(.has-dark-hero) main {
  padding-top: 84px;
}

/* mobile menu */
.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  padding: 96px clamp(20px, 5vw, 40px) max(24px, env(safe-area-inset-bottom));
  background: var(--navy);
  color: #fff;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-3%);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.menu-sheet[hidden] {
  display: none;
}
.menu-open .menu-sheet {
  opacity: 1;
  transform: none;
}
.menu-links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}
.menu-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(8px, 1.4vh, 16px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: clamp(22px, min(7vw, 4vh), 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transition-delay: calc(0.08s + var(--i) * 0.04s);
}
.menu-links a span {
  color: var(--sky);
  opacity: 0.7;
}
.menu-links a[aria-current='page'] {
  color: var(--sky);
}
.menu-open .menu-links a {
  opacity: 1;
  transform: none;
}
.menu-foot {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 20px;
  display: grid;
  gap: 10px;
}
html.menu-open,
html.menu-open body {
  overflow: hidden;
}

/* ---- breadcrumbs ------------------------------------------------------------ */

.crumbs {
  padding-top: 18px;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}
.crumbs li + li::before {
  content: '/';
  margin-right: 6px;
  color: #c3c8d5;
}
.crumbs [aria-current] {
  color: var(--navy);
  font-weight: 600;
}

/* ---- hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(640px, min(100svh, 980px));
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  border-radius: 0 0 clamp(28px, 4vw, 52px) clamp(28px, 4vw, 52px);
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.kenburns {
  position: absolute;
  inset: 0;
  animation: kenburns 32s ease-in-out infinite;
}
.kenburns img,
.kenburns video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes kenburns {
  0%, 100% { transform: scale(1.06); }
  50% { transform: scale(1.14) translate(-1.8%, -1.2%); }
}
.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 82% 18%, rgba(22, 104, 200, 0.55), transparent 70%),
    radial-gradient(ellipse 50% 60% at 8% 92%, rgba(15, 95, 184, 0.35), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 46px),
    var(--navy);
}
.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, transparent 25%, rgba(20, 34, 79, 0.55) 100%),
    linear-gradient(180deg, rgba(20, 34, 79, 0.78) 0%, rgba(20, 34, 79, 0.5) 45%, rgba(20, 34, 79, 0.92) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: clamp(72px, 10vw, 128px);
}
.hero-title {
  max-width: 15ch;
}
.hero-title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.09em;
  margin-bottom: -0.09em;
}
.hero-title .w > span {
  display: inline-block;
  transform: translateY(108%);
  animation: rise 1.05s var(--ease) forwards;
  animation-delay: calc(0.3s + var(--i) * 0.075s);
}
@keyframes rise {
  to { transform: none; }
}
.hero-in {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}
.hero-text {
  margin-top: 22px;
  max-width: 50ch;
  font-size: clamp(16.5px, 2vw, 20px);
  line-height: 1.5;
  color: #dde3f0;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: #b9c3dc;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}
.scroll-cue span {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 18px;
  background: #fff;
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}

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

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-slow {
  animation-duration: 70s;
}
.marquee-group {
  display: flex;
  gap: 10px;
  padding: 0 10px 0 0;
  margin: 0;
  list-style: none;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.badges {
  padding-block: 22px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 12px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.badge-ico {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--blue) 12%, transparent);
  color: var(--blue);
}

/* ---- services --------------------------------------------------------------- */

.services {
  overflow: hidden;
}
.services-bg {
  position: absolute;
  inset: -48px;
  background-size: cover;
  background-position: center;
  filter: blur(30px) saturate(1.2);
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  pointer-events: none;
}
.services-bg.is-on {
  opacity: 0.6;
}
.services-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(242, 242, 242, 0.82), rgba(242, 242, 242, 0.7));
  pointer-events: none;
}
.svc-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.svc-card {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.svc-card:hover,
.svc-card.is-active {
  color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.svc-media {
  position: relative;
  flex: 0 0 96px;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
}
.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.svc-card:hover .svc-media img {
  transform: scale(1.06);
}
.svc-media .ph-label {
  display: none;
}
.svc-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 36px;
}
.svc-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue);
}
.svc-title {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.25;
}
.svc-desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}
.svc-go {
  position: absolute;
  right: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--navy);
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s;
}
.svc-card:hover .svc-go {
  background: var(--navy);
  color: #fff;
  transform: rotate(-45deg);
}

@media (min-width: 640px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-card {
    flex-direction: column;
    align-items: stretch;
  }
  .svc-media {
    flex: none;
    aspect-ratio: 16 / 10;
  }
  .svc-media .ph-label {
    display: block;
  }
  .svc-body {
    padding: 10px 10px 12px;
  }
  .svc-title {
    font-size: 19px;
  }
  .svc-go {
    top: 22px;
    right: 22px;
    margin: 0;
    background: rgba(255, 255, 255, 0.92);
  }
}
@media (min-width: 1000px) {
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- project cards ---------------------------------------------------------- */

h2 + .pgrid,
h2 + .chips,
h2 + .area-grid {
  margin-top: clamp(24px, 3vw, 36px);
}

.pgrid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) {
  .pgrid {
    gap: 14px;
  }
  .pgrid-auto {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  }
}
@media (min-width: 1000px) {
  .pgrid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pcard {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
  color: #fff;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.pcard:hover {
  color: #fff;
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}
.pcard-media,
.pcard .ph,
.pcard-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.5s;
}
.pcard .ph {
  background:
    radial-gradient(circle at 70% 25%, rgba(22, 104, 200, 0.5), transparent 60%),
    linear-gradient(160deg, #1f3170, var(--navy));
  color: rgba(255, 255, 255, 0.1);
}
.pcard .ph-label {
  display: none;
}
.pcard:hover .pcard-media {
  transform: scale(1.05);
}
.pcard-video {
  opacity: 0;
}
.pcard-video.is-playing {
  opacity: 1;
}
.pcard-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 34, 79, 0) 38%, rgba(20, 34, 79, 0.92) 100%);
  pointer-events: none;
}
.pcard-top {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pcard-play {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding-left: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  transition: transform 0.4s var(--ease);
}
.pcard:hover .pcard-play {
  transform: scale(1.1);
}
.pcard-dur {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(20, 34, 79, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.pcard-body {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pcard-area {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber);
}
.pcard-title {
  font-size: clamp(14.5px, 1.6vw, 17px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.pcard-sub {
  font-size: 13px;
  color: var(--on-navy);
  line-height: 1.4;
}
.pcard.is-hidden {
  display: none;
}
.pcard.is-entering {
  animation: fadeUp 0.6s var(--ease) both;
}

/* ---- why ---------------------------------------------------------------------- */

.why {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 920px) {
  .why {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}
.why-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.why-list li {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid #dadde6;
}
.why-n {
  flex: 0 0 auto;
  padding-top: 3px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue);
}
.why-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.why-desc {
  margin-top: 6px;
  font-size: 15.5px;
  color: var(--muted);
}
.why-media {
  aspect-ratio: 4 / 5;
  background: var(--navy);
}
.glass-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(20, 34, 79, 0.42);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 15px;
}
.glass-caption span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #d6ddef;
}

/* ---- reviews ---------------------------------------------------------------- */

.reviews .section-head {
  margin-bottom: 32px;
}
.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  color: var(--muted);
}
.rating strong {
  color: var(--navy);
}
.rating a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--amber);
}
.review {
  width: min(400px, 84vw);
  margin: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--soft);
  box-shadow: none;
}
.review blockquote {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.55;
  flex: 1;
}
.review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}
.review figcaption strong {
  display: block;
  color: var(--navy);
}
.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}
.reviews-marquee {
  padding-block: 4px;
}

/* ---- chips ---------------------------------------------------------------------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px 0 16px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, color 0.3s;
}
.chip svg {
  color: var(--blue);
}
.chip:hover {
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1.5px var(--blue), var(--shadow-soft);
}
.chip-page {
  font-weight: 700;
}
.project .chips {
  margin-top: 36px;
}

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

.cta-band {
  padding-top: clamp(24px, 4vw, 48px);
}
.cta-panel {
  position: relative;
  margin-inline: var(--inset);
  padding: clamp(36px, 6vw, 84px) clamp(20px, 5vw, 72px);
  border-radius: var(--r-xl);
  background: var(--navy-2);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(22, 104, 200, 0.45), transparent 70%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(232, 162, 27, 0.12), transparent 70%);
}
.cta-grid {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin-inline: auto;
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 920px) {
  .cta-grid {
    grid-template-columns: 1fr minmax(360px, 460px);
    gap: 56px;
  }
  .cta-grid-solo {
    grid-template-columns: 1fr;
  }
}
.cta-text {
  margin-top: 14px;
  font-size: 17.5px;
  color: var(--on-navy);
  max-width: 44ch;
}

/* ---- lead form -------------------------------------------------------------------- */

.lead-form {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-lg);
  color: var(--ink);
}
.lead-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lead-text {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}
.lead-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}
.lead-fields[hidden],
.lead-done[hidden],
.lead-error[hidden] {
  display: none;
}
.field span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.field input,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #f7f8fb;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea {
  padding-block: 14px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 95, 184, 0.14);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lead-note {
  font-size: 13px;
  color: var(--muted);
}
.lead-error {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
}
.lead-done {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #e8f6ee;
  color: #135c33;
  font-size: 15.5px;
  animation: fadeUp 0.6s var(--ease) both;
}
.lead-done strong {
  display: block;
}
.lead-done-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #1f8a4c;
  color: #fff;
}

/* ---- page heads, stats, filters ------------------------------------------------- */

.page-head {
  padding-block: 20px 28px;
}
.page-head .display-xl {
  margin-top: 8px;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin: 32px 0 0;
}
.stats div {
  display: flex;
  flex-direction: column-reverse;
}
.stats dd {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stats dt {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px 6px;
  margin: 0 -2px 22px;
}
.filters::-webkit-scrollbar {
  display: none;
}
.filter {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.filter:hover {
  box-shadow: inset 0 0 0 1.5px var(--blue);
}
.filter[aria-pressed='true'] {
  background: var(--navy);
  color: #fff;
  box-shadow: none;
}
.empty {
  margin-top: 28px;
  font-size: 16px;
  color: var(--muted);
}

/* ---- project page --------------------------------------------------------------- */

.project-head {
  margin-top: 14px;
}
.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}
.meta-chips div {
  padding: 12px 18px;
  border-radius: 16px;
}
.meta-chips dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta-chips dd {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 700;
}
.project-grid {
  display: grid;
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}
@media (min-width: 900px) {
  .project-grid {
    grid-template-columns: minmax(300px, 420px) 1fr;
    gap: 48px;
  }
  .player {
    position: sticky;
    top: 96px;
  }
}
.player {
  aspect-ratio: 9 / 16;
  max-height: 760px;
  background: var(--navy);
}
.player video {
  object-fit: contain;
  background: #000;
}
.yt {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.big-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  padding-left: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.18);
  transition: transform 0.4s var(--ease);
}
.yt:hover .big-play {
  transform: scale(1.08);
}
.story {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.story section p {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.68;
  color: var(--muted);
}
.results {
  padding: 22px 24px;
}
.results dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin: 14px 0 0;
}
.results dd {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.results dt {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}
.story-empty {
  padding: 24px;
  display: grid;
  gap: 16px;
  justify-items: start;
  color: var(--muted);
}
.before-after {
  margin-top: clamp(48px, 7vw, 88px);
}
.compare {
  margin: 20px 0 0;
  aspect-ratio: 16 / 10;
  background: var(--navy);
  user-select: none;
  touch-action: pan-y;
}
.compare-before {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 2px;
  margin-left: -1px;
  background: #fff;
  pointer-events: none;
}
.compare-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-lift);
}
.compare-handle span::before,
.compare-handle span::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -5px;
  border: solid var(--navy);
  border-width: 0 0 2.5px 2.5px;
}
.compare-handle span::before {
  left: 13px;
  transform: rotate(45deg);
}
.compare-handle span::after {
  right: 13px;
  transform: rotate(-135deg);
}
.compare-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.tag {
  position: absolute;
  top: 14px;
  z-index: 3;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(20, 34, 79, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  pointer-events: none;
}
.tag-l {
  left: 14px;
}
.tag-r {
  right: 14px;
}
.ba-captions {
  display: grid;
  gap: 8px 24px;
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}
@media (min-width: 760px) {
  .ba-captions {
    grid-template-columns: 1fr 1fr;
  }
}
.ba-captions strong {
  color: var(--navy);
}
.ba-single {
  margin-top: 16px;
  aspect-ratio: 16 / 10;
}
.project-gallery {
  margin-top: clamp(48px, 7vw, 88px);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
  margin-top: 20px;
}
@media (min-width: 760px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.gallery-grid figure {
  margin: 0;
}
.gallery-media {
  aspect-ratio: 3 / 4;
}
.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-grid figcaption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.quote {
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-lg);
}
.quote blockquote {
  margin: 14px 0 0;
  max-width: 56ch;
  font-size: clamp(18px, 2.5vw, 23px);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.quote figcaption {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.quote-soft {
  background: var(--soft);
  margin-top: 36px;
}

/* ---- split layouts ------------------------------------------------------------- */

.split-hero {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-block: 20px clamp(40px, 6vw, 72px);
}
.split-feature {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 920px) {
  .split-hero,
  .split-feature {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}
.split-hero .display-xl {
  margin-top: 8px;
}
.split-media {
  aspect-ratio: 5 / 4;
  background: var(--navy);
}
.feature-card {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--navy);
}
.feature-card img {
  transition: transform 0.9s var(--ease);
}
.feature-card:hover img {
  transform: scale(1.04);
}
.feature-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.split-feature .btn {
  margin-top: 22px;
}

/* ---- navy panels ------------------------------------------------------------------ */

.navy-panel {
  position: relative;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: var(--navy-2);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.navy-panel > *:not(.grain) {
  position: relative;
  z-index: 2;
}
.navy-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}
@media (min-width: 900px) {
  .navy-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}
.navy-text {
  margin-top: 14px;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-navy);
}
.navy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cred-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cred-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: 16px;
  line-height: 1.45;
}
.tick {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
}
.tick-amber {
  background: var(--amber);
  color: var(--navy);
}

/* gas steps */
.steps {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
  }
  .steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    border-top: 2px dashed rgba(15, 95, 184, 0.3);
  }
}
.step {
  position: relative;
  padding: 22px;
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}
.step-title {
  margin-top: 16px;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.3;
}
.step-desc {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.check-grid li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 16px;
  background: var(--soft);
  font-size: 16px;
  line-height: 1.45;
}

/* faq */
.faq {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(20, 34, 79, 0.06);
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s;
}
.faq-item[open] .faq-ico {
  transform: rotate(45deg);
  background: var(--navy);
  color: #fff;
}
.faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete;
}
.faq-item[open]::details-content {
  block-size: auto;
}
.faq-a p {
  padding-bottom: 22px;
  max-width: 70ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* about */
.team {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 760px) {
  .team {
    grid-template-columns: repeat(2, 1fr);
  }
}
.member {
  border-radius: var(--r-lg);
  background: var(--soft);
  overflow: hidden;
}
.member-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-body {
  padding: 24px;
}
.member-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.member-role {
  margin-top: 4px;
  font-weight: 600;
  color: var(--blue);
}
.member-bio {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--muted);
}
.member-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 10px;
  font-weight: 700;
  color: var(--navy);
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.tile {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--soft);
}
.tile.surface {
  background: var(--white);
}
.tile .tick {
  margin-bottom: 14px;
}
.tile-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.tile-desc {
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--muted);
}
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.principle {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.principle-n {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--amber);
}
.principle-title {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
}
.principle-desc {
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--on-navy);
}

/* contact */
.channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.channel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 170px;
  padding: 24px;
  border-radius: var(--r-md);
  color: var(--navy);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.channel:hover {
  color: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.channel-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: auto;
  border-radius: 999px;
  background: color-mix(in oklab, var(--blue) 10%, transparent);
  color: var(--blue);
}
.channel-label {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.channel-value {
  font-size: clamp(19px, 2.3vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.channel-value-sm {
  font-size: clamp(16px, 1.45vw, 19px);
  overflow-wrap: anywhere;
}
.channel-note {
  font-size: 14px;
  color: var(--muted);
}
.channel-hot {
  background: var(--red);
  color: #fff;
}
.channel-hot:hover {
  color: #fff;
  box-shadow: var(--shadow-red);
}
.channel-hot .channel-ico {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.channel-hot .channel-label,
.channel-hot .channel-note {
  color: #f6d5d7;
}
.contact-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-side {
  display: grid;
  gap: 20px;
}
.details {
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-lg);
}
.details dl {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
}
.details dl div {
  padding-top: 12px;
  border-top: 1px solid #edeff3;
}
.details dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.details dd {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 600;
}
.map {
  aspect-ratio: 16 / 10;
  background: #e7eaf1;
}

/* areas */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}
.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px;
  color: var(--navy);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.area-card:hover {
  color: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.area-card-plain {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.area-ico {
  color: var(--blue);
  margin-bottom: 10px;
}
.area-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.area-sub {
  font-size: 14px;
  color: var(--muted);
}
.area-go {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--navy);
  transition: transform 0.4s var(--ease);
}
.area-card:hover .area-go {
  transform: translateX(4px);
}

.notfound {
  padding-block: 64px 96px;
}
.nf-code {
  font-size: clamp(6rem, 20vw, 12rem);
  background: linear-gradient(135deg, var(--navy), var(--blue-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- footer --------------------------------------------------------------------- */

.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: clamp(56px, 8vw, 96px);
  border-radius: clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px) 0 0;
  background: var(--navy);
  color: var(--on-navy);
  overflow: hidden;
  isolation: isolate;
}
.site-footer .wrap {
  position: relative;
  z-index: 2;
}
.footer-cta {
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-big {
  margin-top: 4px;
  max-width: none;
  color: #fff;
}
.footer-big a {
  color: var(--sky);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 3px no-repeat;
  transition: background-size 0.5s var(--ease);
  white-space: nowrap;
}
.footer-big a:hover {
  color: var(--sky);
  background-size: 100% 3px;
}
.footer-cols {
  display: grid;
  gap: 32px;
  padding-block: 44px;
}
@media (min-width: 640px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .footer-cols {
    grid-template-columns: 0.9fr 1.2fr 1.3fr 0.7fr 0.9fr;
  }
}
.footer-logo {
  width: 150px;
  height: auto;
  border-radius: 18px;
  background: var(--bg);
}
.footer-h {
  margin-bottom: 12px;
  font-weight: 700;
  color: #fff;
}
.footer-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.55;
}
.footer-list a {
  color: #fff;
  font-weight: 600;
}
.footer-list a:hover {
  color: var(--sky);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 0 calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--navy);
  transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.socials a:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}
.socials-light a {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  color: #fff;
}
.socials-light a:hover {
  background: #fff;
  color: var(--navy);
}

/* ---- floating mobile call pill --------------------------------------------------- */

.call-pill {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 65;
  display: flex;
  gap: 8px;
  transform: translateY(calc(100% + 28px));
  opacity: 0;
  transition: transform 0.55s var(--ease), opacity 0.4s var(--ease);
  pointer-events: none;
}
.call-pill.is-visible {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.call-pill-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: var(--shadow-red), 0 18px 40px -16px rgba(20, 34, 79, 0.5);
}
.call-pill-main:hover {
  color: #fff;
  background: var(--red-d);
}
.call-pill-main span:last-child {
  white-space: nowrap;
}
@media (max-width: 430px) {
  .call-pill-label {
    display: none;
  }
}
.call-pill-main .pulse-dot {
  background: #fff;
  width: 8px;
  height: 8px;
}
.call-pill-side {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #7360f2;
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(20, 34, 79, 0.08);
}
.call-pill-side[aria-label='WhatsApp'] {
  color: #1fa855;
}

/* ---- breakpoints ------------------------------------------------------------------ */

@media (max-width: 759px) {
  .btn-row .btn {
    flex: 1 1 220px;
  }
  .hero-inner {
    padding-top: 120px;
  }
  .reviews-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-inline: 16px;
  }
  .reviews-marquee::-webkit-scrollbar {
    display: none;
  }
  .reviews-marquee .marquee-track {
    animation: none;
  }
  .reviews-marquee .marquee-group[aria-hidden] {
    display: none;
  }
  .reviews-marquee .review {
    scroll-snap-align: center;
  }
  .site-footer {
    padding-bottom: 72px;
  }
}
@media (min-width: 560px) {
  .header-phone {
    display: inline;
  }
}
@media (min-width: 1200px) {
  .main-nav {
    display: flex;
  }
  .header-actions {
    margin-left: 0;
  }
  .menu-btn {
    display: none;
  }
}
@media (min-width: 1024px) {
  .call-pill {
    display: none;
  }
}

/* ---- mobile carousels: [data-rail] grids become swipeable rows under 760px --------- */

.rail-nav {
  display: none;
}
@media (max-width: 759px) {
  .rail {
    --gut: clamp(16px, 4vw, 32px);
    display: flex;
    gap: 12px;
    margin-inline: calc(-1 * var(--gut));
    padding: 8px var(--gut) 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gut);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .rail::-webkit-scrollbar {
    display: none;
  }
  .rail > * {
    flex: 0 0 82%;
    min-width: 0;
    scroll-snap-align: start;
  }
  .rail.pgrid > * {
    flex-basis: 72%;
  }
  .rail.pgrid .pcard {
    aspect-ratio: 4 / 5;
  }
  .steps.rail {
    margin-top: 24px;
  }
  .steps.rail > * {
    flex-basis: 78%;
  }

  /* service cards turn into tall photo cards inside the carousel */
  .svc-grid.rail .svc-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .svc-grid.rail .svc-card:hover,
  .svc-grid.rail .svc-card.is-active {
    transform: none;
  }
  .svc-grid.rail .svc-media {
    flex: none;
    aspect-ratio: 4 / 3;
  }
  .svc-grid.rail .svc-body {
    padding: 14px 8px 8px;
  }
  .svc-grid.rail .svc-title {
    font-size: 19px;
  }
  .svc-grid.rail .svc-go {
    top: 20px;
    right: 20px;
    margin: 0;
    background: rgba(255, 255, 255, 0.92);
  }

  .rail-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
  }
  .rail-dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .rail-dots button {
    display: grid;
    place-items: center;
    height: 28px;
    padding: 0 3px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .rail-dots button::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(20, 34, 79, 0.2);
    transition: width 0.4s var(--ease), background-color 0.3s;
  }
  .rail-dots button[aria-current='true']::before {
    width: 26px;
    background: var(--navy);
  }
  .rail-arrows {
    display: flex;
    gap: 8px;
  }
  .rail-arrows button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(20, 34, 79, 0.08);
    color: var(--navy);
    cursor: pointer;
    transition: opacity 0.3s;
  }
  .rail-arrows button:disabled {
    opacity: 0.35;
    cursor: default;
  }
  .rail-arrows .rail-prev svg {
    transform: rotate(180deg);
  }

  /* hero: less zoom so the 16:9 clip stays sharp in a portrait frame */
  .kenburns {
    animation-name: kenburns-sm;
  }
  .kenburns video {
    object-position: 62% 50%;
  }
  .scroll-cue {
    display: none;
  }

  /* why: shorter photo on phones */
  .why {
    gap: 28px;
  }
  .why-media {
    aspect-ratio: 5 / 4;
  }
  .why-list li {
    padding: 18px 0;
  }
}
@keyframes kenburns-sm {
  0%, 100% { transform: scale(1.01); }
  50% { transform: scale(1.05) translate(-1%, -0.6%); }
}

/* footer on phones: contact full width, link lists side by side */
@media (max-width: 639px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-block: 32px;
  }
  .footer-cols > :nth-child(-n + 2) {
    grid-column: 1 / -1;
  }
  .footer-cols > :first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .footer-cols > :first-child .socials {
    margin: 0;
  }
  .footer-logo {
    width: 96px;
  }
  .logo-footer .logo-mark {
    height: 44px;
  }
  .logo-footer .logo-word {
    font-size: 17px;
  }
  .footer-cta {
    padding-bottom: 32px;
  }
}

/* ---- scroll reveal (enabled by site.js) ------------------------------------------- */

.reveal-on [data-reveal]:not(.done),
.reveal-on [data-stagger]:not(.done) > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--sd, 0s);
}
@media (min-width: 920px) {
  .reveal-on [data-reveal='left']:not(.done) {
    transform: translateX(-40px);
  }
  .reveal-on [data-reveal='right']:not(.done) {
    transform: translateX(40px);
  }
}
.reveal-on [data-reveal].is-in:not(.done),
.reveal-on [data-stagger].is-in:not(.done) > * {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .kenburns,
  .marquee-track {
    animation: none !important;
  }
  .marquee {
    overflow-x: auto;
  }
  .hero-title .w > span,
  .hero-in {
    transform: none;
    opacity: 1;
  }
}

/* admin live preview: show everything immediately */
.is-preview .hero-title .w > span,
.is-preview .hero-in {
  animation: none;
  transform: none;
  opacity: 1;
}
.is-preview .call-pill {
  display: none;
}

/* ---- phone hours ---------------------------------------------------------------------
   Calls are answered until closing time. `html.after-hours` (set by the server, refreshed
   in the browser) swaps every call link for its Viber counterpart. */
html:not(.after-hours) .when-closed,
html.after-hours .when-open {
  display: none !important;
}
.btn-viber {
  background: #6552e8;
  color: #fff;
}
.btn-viber:hover {
  background: #5240cf;
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(101, 82, 232, 0.65);
}
@media (max-width: 420px) {
  .header-actions .btn-viber .call-text {
    display: none;
  }
  .header-actions .btn-viber {
    width: 44px;
    min-height: 44px;
    padding: 0;
  }
  .header-actions .btn-viber .btn-ico {
    margin: 0;
    background: none;
  }
}
.call-pill-viber {
  background: #6552e8;
  box-shadow: 0 10px 28px -10px rgba(101, 82, 232, 0.65), 0 18px 40px -16px rgba(20, 34, 79, 0.5);
}
.call-pill-viber:hover {
  background: #5240cf;
}
.cta-note,
.menu-hours {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--on-navy);
  max-width: 44ch;
}
.menu-hours {
  margin-top: 6px;
}
.channel-viber {
  background: #6552e8;
}
.channel-viber:hover {
  box-shadow: 0 10px 28px -10px rgba(101, 82, 232, 0.65);
}
.channel-viber .channel-label,
.channel-viber .channel-note {
  color: #e3defc;
}
.channel-off:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}
.channel-off .channel-value {
  color: var(--muted);
}
.svc-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--red);
}
.svc-cta-viber {
  color: #6552e8;
}

/* ---- inspection fee ------------------------------------------------------------------ */

.price-grid {
  align-items: center;
}
.price-section .display-lg {
  max-width: 18ch;
}
.receipt {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lift);
}
.receipt-text {
  margin: 8px 0 0;
  font-size: 16.5px;
  line-height: 1.5;
}
.receipt-rows {
  margin: 18px 0 0;
}
.receipt-rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px dashed #cfd4e0;
  font-size: 16px;
}
.receipt-rows dt {
  color: var(--muted);
}
.receipt-rows dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.receipt-rows .receipt-total {
  border-top: 2px solid var(--navy);
}
.receipt-total dt {
  font-weight: 700;
  color: var(--ink);
}
.receipt-total dd {
  font-size: clamp(28px, 3.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--blue);
}
.receipt-note {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---- "how it works" in three steps -------------------------------------------------- */

.steps-section {
  padding-bottom: clamp(28px, 4vw, 48px);
}
.steps-section .section-head {
  margin-bottom: 0;
}
@media (min-width: 640px) {
  .steps-3 {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 860px) {
  .steps-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1080px) {
  .steps-3::before {
    display: none;
  }
}
.steps-3 .step {
  padding: 26px;
}
.steps-3 .step-title {
  font-size: 19px;
}
.more-services {
  margin-top: clamp(36px, 5vw, 56px);
}

/* ---- price packages ------------------------------------------------------------------ */

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}
.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 28px);
  color: var(--ink);
}
.pkg-featured {
  box-shadow: inset 0 0 0 2px var(--blue), var(--shadow-soft);
}
.pkg-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.pkg-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 14px 0 0;
  padding-bottom: 14px;
  border-bottom: 1px dashed #cfd4e0;
}
.pkg-price strong {
  font-size: clamp(30px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.pkg-from,
.pkg-unit {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
}
.pkg-desc {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.5;
}
.pkg-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.pkg-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.4;
}
.pkg-list .tick {
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
.pkg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 22px;
}
.pkg-more {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pkg-note {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
@media (max-width: 759px) {
  .pkg-grid.rail {
    display: flex;
  }
  .pkg-grid.rail > * {
    flex-basis: 84%;
  }
}

/* ---- cookie consent -------------------------------------------------------------------- */

.consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 120;
  max-width: 560px;
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lift);
}
.consent[hidden] {
  display: none;
}
@media (min-width: 640px) {
  .consent {
    left: 20px;
    right: auto;
    bottom: 20px;
  }
}
.consent-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.consent-text {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.consent-text a,
.ext-gate a,
.legal a,
.lead-note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-opts {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.consent-opts[hidden] {
  display: none;
}
.consent-opt {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--soft);
  font-size: 14.5px;
  line-height: 1.45;
  cursor: pointer;
}
.consent-opt input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: var(--blue);
}
.consent-opt strong {
  display: block;
  color: var(--ink);
}
.consent-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
/* Accept and reject look the same on purpose (equal choice). */
.btn-consent {
  flex: 1 1 160px;
  justify-content: center;
  background: var(--navy);
  color: #fff;
}
.btn-consent:hover {
  background: var(--navy-2);
  color: #fff;
}
.btn-consent[hidden] {
  display: none;
}
.link-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn[hidden] {
  display: none;
}
.consent-more {
  padding: 6px 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

/* placeholder where a YouTube video or Google map would be */
.ext-embed {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #e7eaf1;
}
.ext-gate {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 400px;
  padding: 20px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}
.ext-gate p {
  margin: 0;
}
.ext-gate-over {
  position: absolute;
  inset: auto 12px 12px;
  margin-inline: auto;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lift);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- legal pages ------------------------------------------------------------------------ */

.legal-date {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.legal {
  padding-bottom: clamp(48px, 7vw, 88px);
  font-size: 16.5px;
  line-height: 1.65;
}
.legal-company {
  padding: 22px 24px;
}
.legal-company dl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px 24px;
  margin: 12px 0 0;
}
.legal-company dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.legal-company dd {
  margin: 0;
  font-weight: 600;
}
.legal-sec {
  margin-top: clamp(28px, 4vw, 40px);
}
.legal-sec h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.legal-sec p {
  margin: 10px 0 0;
}
.legal-sec ul {
  margin: 10px 0 0;
  padding-left: 22px;
}
.legal-sec li + li {
  margin-top: 6px;
}
.legal-more {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.site-footer .link-btn {
  color: inherit;
  opacity: 0.85;
}

/* 1200–1279px: the desktop menu is just too wide with the phone number text, keep only the red call button */
@media (min-width: 1200px) and (max-width: 1279px) {
  .header-phone {
    display: none;
  }
}
