/* ==========================================================================
   Xino Enterprises · design system
   ========================================================================== */

:root {
  --ink: #0b1b33;
  --navy-950: #061428;
  --navy-900: #0a2540;
  --navy-800: #0f3460;
  --brand-700: #0b5cad;
  --brand-600: #1570d1;
  --brand-500: #2b86e8;
  --brand-100: #dcebff;
  --brand-50: #eef5ff;
  --amber-400: #fbbf24;
  --green-500: #25d366;
  --green-600: #1eb757;
  --green-700: #16884a;

  --text: #33445c;
  --muted: #5f6f86;
  --line: #e3e9f1;
  --line-strong: #cfd9e6;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --white: #ffffff;

  /* legacy aliases used in markup / older rules */
  --blue-950: var(--navy-950);
  --blue-900: var(--navy-900);
  --blue-800: var(--navy-800);
  --blue-700: var(--brand-700);
  --blue-600: var(--brand-600);
  --blue-100: var(--brand-50);
  --gray-50: var(--surface-soft);
  --gray-100: var(--line);
  --gray-500: var(--muted);
  --gray-600: var(--muted);
  --gray-700: var(--text);
  --color-primary: var(--brand-700);

  --shadow-xs: 0 1px 2px rgba(10, 37, 64, 0.06);
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06), 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-md: 0 12px 32px -8px rgba(10, 37, 64, 0.14), 0 2px 6px rgba(10, 37, 64, 0.05);
  --shadow-lg: 0 28px 60px -16px rgba(10, 37, 64, 0.28);
  --shadow-card: var(--shadow-sm);
  --shadow-brand: 0 10px 24px -6px rgba(21, 112, 209, 0.55);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --font-sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font-sans);

  --header-h: 74px;
  --space-section: clamp(3.5rem, 7vw, 6rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.022em;
  line-height: 1.18;
}

a {
  color: var(--brand-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-700);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(43, 134, 232, 0.5);
  outline-offset: 3px;
}

::selection {
  background: var(--brand-100);
  color: var(--ink);
}

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
  margin-inline: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Top utility bar ---------- */

.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  font-weight: 500;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar-info li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.topbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22);
  animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot {
  50% {
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.05);
  }
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.topbar a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.topbar a:hover {
  color: var(--brand-100);
}

@media (max-width: 860px) {
  .topbar-info li:nth-child(n + 2) {
    display: none;
  }
}

@media (max-width: 560px) {
  .topbar-links a:first-child {
    display: none;
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px -12px rgba(10, 37, 64, 0.22);
}

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

.logo-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  border-radius: 12px;
}

.logo-mark img {
  height: 50px;
  width: 50px;
  max-width: 50px;
  object-fit: contain;
}

@media (max-width: 520px) {
  .logo-mark img {
    height: 42px;
    width: 42px;
  }
}

.nav {
  display: none;
  align-items: center;
}

.nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav a:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.nav a.active {
  color: var(--brand-700);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem 0.55rem 0.55rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, var(--brand-500) 0%, var(--brand-600) 100%);
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-brand), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.header-cta::before {
  content: "";
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18) center / 15px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.35 1.78.68 2.62a2 2 0 0 1-.45 2.11L8 9.84a16 16 0 0 0 6.16 6.16l1.39-1.34a2 2 0 0 1 2.11-.45c.84.33 1.72.56 2.62.68A2 2 0 0 1 22 16.92z' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.header-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -8px rgba(21, 112, 209, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header.is-open .nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.75rem 4vw 1.25rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.site-header.is-open .nav a {
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}

.site-header.is-open .nav a.active {
  background: var(--brand-50);
}

@media (min-width: 1040px) {
  .nav-toggle {
    display: none;
  }

  .nav,
  .site-header.is-open .nav {
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    justify-content: center;
    gap: 0.1rem;
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav a.active::after {
    content: "";
    position: absolute;
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.1rem;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-600);
  }

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.005em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

@media (max-width: 479px) {
  .btn {
    white-space: normal;
    text-align: center;
  }
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-500) 0%, var(--brand-600) 55%, var(--brand-700) 100%);
  border-color: var(--brand-700);
  box-shadow: var(--shadow-brand), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(21, 112, 209, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  color: var(--brand-700);
  border-color: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-light {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35);
}

.btn-light:hover {
  color: var(--brand-700);
  transform: translateY(-2px);
}

.btn-ghost-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-card {
  margin-top: auto;
  min-height: 46px;
  padding: 0.6rem 1rem;
  font-size: 0.925rem;
  color: var(--brand-700);
  background: var(--brand-50);
  border-color: transparent;
}

.btn-card[href^="tel:"]::before {
  content: "";
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.35 1.78.68 2.62a2 2 0 0 1-.45 2.11L8 9.84a16 16 0 0 0 6.16 6.16l1.39-1.34a2 2 0 0 1 2.11-.45c.84.33 1.72.56 2.62.68A2 2 0 0 1 22 16.92z' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.35 1.78.68 2.62a2 2 0 0 1-.45 2.11L8 9.84a16 16 0 0 0 6.16 6.16l1.39-1.34a2 2 0 0 1 2.11-.45c.84.33 1.72.56 2.62.68A2 2 0 0 1 22 16.92z' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.btn-card:not([href^="tel:"])::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.btn-card:not([href^="tel:"]):hover::after {
  transform: translateX(3px);
}

.btn-card:hover {
  color: #fff;
  background: var(--brand-600);
}

.btn-wa {
  color: #fff;
  background: linear-gradient(180deg, #2fdc72 0%, var(--green-600) 100%);
  border-color: var(--green-600);
  box-shadow: 0 10px 22px -8px rgba(30, 183, 87, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-wa:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -8px rgba(30, 183, 87, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  min-height: 58px;
  padding-inline: 1.8rem;
  font-size: 1.03rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.btn-call {
  gap: 0.6rem;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-pill);
}

.eyebrow a {
  color: inherit;
}

.section {
  padding: var(--space-section) 0;
}

.section-alt {
  background: var(--surface-soft);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.section-kicker,
.why-kicker {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.section-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.028em;
  line-height: 1.15;
}

.section-title.light,
.section-accent .section-title {
  color: #fff;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.075rem;
}

.about-text {
  margin: 0 0 1rem;
  font-size: 1.075rem;
  color: var(--text);
}

.section-accent {
  position: relative;
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(43, 134, 232, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: rgba(255, 255, 255, 0.86);
}

.section-accent p {
  color: rgba(255, 255, 255, 0.8);
}

.section-accent .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

.section-accent a:not(.btn) {
  color: var(--brand-100);
}

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

.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(5rem, 9vw, 7rem);
  overflow: hidden;
  background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 420px at 92% 8%, rgba(43, 134, 232, 0.16), transparent 65%),
    radial-gradient(520px 360px at 0% 100%, rgba(11, 92, 173, 0.08), transparent 70%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 92, 173, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 92, 173, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.hero-badge .topbar-dot {
  background: #10b981;
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero h1 .accent {
  color: var(--brand-600);
}

.hero-sub {
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 1.6vw, 1.175rem);
  color: var(--muted);
  max-width: 36rem;
}

.hero-checks {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-checks li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #dcfce7 center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' stroke='%2316884a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.hero-call-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.925rem;
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust strong {
  color: var(--ink);
}

/* hero visual */

.hero-visual {
  position: relative;
}

.hero-media {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  padding: 0 0 2.5rem 2.5rem;
}

.hero-media-main {
  margin: 0;
  aspect-ratio: 4 / 4.4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--line);
}

.hero-media-main img,
.hero-media-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-sub {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  margin: 0;
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
}

/* legacy circle grid (kept for any page still using it) */
.hero-circle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 520px;
  margin-inline: auto;
}

.hero-circle {
  margin: 0;
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-circle-main {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.hero-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Stats / trust strip ---------- */

.trust-strip {
  position: relative;
  z-index: 2;
  padding: 0;
  margin-top: clamp(-4rem, -6vw, -3rem);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

@media (min-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: clamp(1.1rem, 2.4vw, 1.6rem) clamp(1rem, 2.2vw, 1.6rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .trust-card {
    border-bottom: 0;
  }
  .trust-card:last-child {
    border-right: 0;
  }
}

@media (max-width: 899px) {
  .trust-card:nth-child(2n) {
    border-right: 0;
  }
  .trust-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

.trust-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brand-600);
  background: var(--brand-50);
}

.trust-card h2,
.trust-card strong {
  display: block;
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.trust-card p {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 520px) {
  .trust-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .trust-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
}

/* ---------- CTA banner ---------- */

.cta-banner {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

.cta-banner-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(43, 134, 232, 0.45), transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.cta-banner-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
  mask-image: linear-gradient(90deg, transparent 40%, #000);
}

.cta-banner-copy {
  max-width: 38rem;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7cc0ff;
}

.cta-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}

.cta-banner .cta-banner-wrap h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
}

.cta-banner-sub {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1rem;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cta-banner-wrap .btn-call,
.section-accent .btn-call,
.page-hero .btn-call,
.contact-panel .btn-call,
.final-cta .btn-call {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.cta-banner-wrap .btn-call .btn-icon,
.section-accent .btn-call .btn-icon,
.page-hero .btn-call .btn-icon,
.contact-panel .btn-call .btn-icon,
.final-cta .btn-call .btn-icon {
  color: var(--brand-600);
}

.cta-banner-wrap .btn-call:hover,
.section-accent .btn-call:hover,
.page-hero .btn-call:hover,
.contact-panel .btn-call:hover,
.final-cta .btn-call:hover {
  color: var(--brand-700);
  background: #f2f7ff;
}

@media (max-width: 780px) {
  .cta-banner-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-banner-wrap .btn,
  .cta-banner-actions {
    width: 100%;
  }
  .cta-banner-actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Generic cards ---------- */

.why-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.why-card,
.card,
.feature-box {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: clamp(1.4rem, 2.6vw, 1.85rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}

.why-card:hover,
.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-100);
  box-shadow: var(--shadow-md);
}

.why-card-icon,
.card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin: 0 0 1.1rem;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 14px;
  transition: background 0.25s, color 0.25s;
}

.why-card:hover .why-card-icon,
.card:hover .card-icon {
  color: #fff;
  background: var(--brand-600);
  border-color: var(--brand-600);
}

.why-card-title,
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.why-card-text,
.card p {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.975rem;
  line-height: 1.6;
  color: var(--muted);
}

.card p {
  margin-bottom: 1.25rem;
}

.why-card .btn-card {
  margin-top: 1rem;
}

/* issue cards on dark-ish context */
.issue-grid .why-card {
  padding-top: 1.6rem;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.step {
  position: relative;
  padding: 1.75rem 1.5rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(160deg, var(--brand-500), var(--brand-700));
  border-radius: 12px;
  box-shadow: var(--shadow-brand);
}

@media (min-width: 860px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 49px;
    left: calc(1.5rem + 56px);
    right: -1.5rem;
    border-top: 2px dashed var(--brand-100);
  }
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
  font-weight: 700;
}

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

.steps-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

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

.services-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .services-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-100);
  box-shadow: var(--shadow-md);
}

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--line);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-card-media img {
  transform: scale(1.05);
}

.service-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.35rem 1.4rem;
}

.service-card-body .card-icon {
  width: 48px;
  height: 48px;
  margin: -2.9rem 0 0.9rem;
  color: var(--brand-600);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.service-card:hover .service-card-body .card-icon {
  color: #fff;
  background: var(--brand-600);
  border-color: var(--brand-600);
}

.service-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
}

.service-card p {
  margin: 0 0 1.15rem;
  flex-grow: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-page-grid .service-card p {
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.service-card--cta {
  justify-content: space-between;
  padding: 1.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(400px 220px at 100% 0%, rgba(43, 134, 232, 0.5), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  border-color: transparent;
}

.service-card--cta h3 {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.service-card--cta p {
  display: block;
  color: rgba(255, 255, 255, 0.75);
}

.service-card--cta .btn + .btn {
  margin-top: 0.65rem;
}

/* ---------- Split / feature ---------- */

.split {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.split-copy p {
  margin: 0 0 1rem;
}

.split-copy .btn {
  margin-top: 0.75rem;
}

.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-img img {
  width: 100%;
}

.split-img-mosaic {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  overflow: visible;
  box-shadow: none;
  border-radius: 0;
}

.split-tile {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.split-tile-large {
  grid-row: 1 / 3;
}

.split-tile img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

@media (max-width: 640px) {
  .split-img-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .split-tile-large {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

.check-list {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.check-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.18) center / 11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ductable-section {
  background: #fff;
}

.ductable-layout {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .ductable-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.ductable-video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: var(--shadow-lg);
}

.ductable-video video {
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--navy-950);
}

.feature-box h2,
.feature-box h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
}

.feature-box p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
}

.feature-box .btn,
.feature-box .cta-row {
  margin-top: auto;
}

.feature-box .btn {
  align-self: flex-start;
}

.feature-inline-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin: 0 0 1.1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.content-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 760px) {
  .content-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.pill {
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

/* ---------- Reviews ---------- */

.testimonials {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 1.75rem 1.6rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.quote::before {
  content: "";
  display: block;
  width: 34px;
  height: 26px;
  margin-bottom: 1rem;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cpath fill='%23dcebff' d='M0 26V15.6C0 6.8 4.6 1.6 13.7 0l1.5 3.3C10.7 4.6 8.4 7.3 8.2 11.2H14V26H0Zm19.4 0V15.6C19.4 6.8 24 1.6 33.1 0l1.5 3.3c-4.5 1.3-6.8 4-7 7.9h5.8V26H19.4Z'/%3E%3C/svg%3E");
}

.quote:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.quote p {
  margin: 0 0 1.4rem;
  flex: 1 1 auto;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
}

.quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

.quote cite {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}

.quote footer span {
  color: var(--muted);
}

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

.gallery-page-lead {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
}

.gallery-preview {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 860px) {
  .gallery-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-preview-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-preview-item img,
.gallery-preview-item video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.gallery-preview.gallery-preview--quad {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 980px) {
  .gallery-preview.gallery-preview--quad {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-cta-wrap {
  margin-top: 2rem;
  text-align: center;
}

.gallery-grid,
.gallery-image-grid,
.gallery-video-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 620px) {
  .gallery-grid,
  .gallery-image-grid,
  .gallery-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .gallery-grid,
  .gallery-image-grid,
  .gallery-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-item,
.gallery-shape {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  content-visibility: auto;
  contain-intrinsic-size: 320px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.gallery-item figcaption {
  padding: 0.75rem 1rem 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.gallery-video-card {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  content-visibility: auto;
  contain-intrinsic-size: 320px;
}

.gallery-video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--navy-950);
}

.gallery-video-card p {
  margin: 0;
  padding: 0.7rem 1rem 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
}

.gallery-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 2.25rem 0 0;
}

.media-lightbox[hidden] {
  display: none;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.media-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 40, 0.86);
  backdrop-filter: blur(4px);
}

.media-lightbox-dialog {
  position: relative;
  width: min(96vw, 1040px);
  max-height: 90vh;
  background: var(--navy-950);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.media-lightbox-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.media-lightbox-content img,
.media-lightbox-content video {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  background: var(--navy-950);
}

/* ---------- Service areas ---------- */

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

@media (min-width: 640px) {
  .area-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .area-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.area-grid li {
  margin: 0;
}

.area-grid a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  height: 100%;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}

.area-grid a::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: var(--brand-600);
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E");
}

.area-grid a:hover {
  color: var(--brand-700);
  border-color: var(--brand-500);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.area-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* in-page link lists used on city pages */
.section .footer-links[style] a {
  display: block;
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.section .footer-links[style] a:hover {
  color: var(--brand-700);
  border-color: var(--brand-500);
  transform: translateY(-2px);
}

.section .footer-links[style] li {
  margin: 0;
}

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

.faq-grid {
  display: grid;
  gap: 0.75rem;
  max-width: 860px;
  margin-inline: auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
  border-color: var(--brand-100);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  position: relative;
  padding: 1.1rem 3.25rem 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--brand-50) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%231570d1' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
}

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

.home-contact-wrap {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
}

.contact-intro {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.contact-blurb {
  margin: 0.5rem auto 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
  }
}

.contact-info {
  min-width: 0;
}

.contact-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(43, 134, 232, 0.42), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-panel-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7cc0ff;
}

.contact-panel-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: #fff;
}

.contact-panel-text {
  margin: 0.5rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s, border-color 0.2s;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-item-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.contact-item--primary .contact-item-icon {
  color: #fff;
  background: linear-gradient(160deg, var(--brand-500), var(--brand-700));
}

.contact-item-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.contact-item-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.contact-item-body a,
.contact-item-body > span:last-child {
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-item-body a:hover {
  color: #fff;
  text-decoration: underline;
}

.contact-item--primary .contact-item-body a {
  font-size: 1.15rem;
  font-weight: 800;
}

.contact-panel .btn-call {
  margin-top: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form-head {
  margin-bottom: 1.4rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.contact-form-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 800;
}

.form-note {
  margin: 0;
  font-size: 0.925rem;
  color: var(--muted);
}

.form-feedback {
  margin: 0 0 0.75rem;
  min-height: 1.2rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.form-feedback.is-error {
  color: #b42318;
}

.form-feedback.is-success {
  color: var(--green-700);
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
}

.contact-form label span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.975rem;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.contact-form select {
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%235f6f86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a3b8;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: #b6c4d6;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 4px rgba(43, 134, 232, 0.16);
}

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

.contact-form .btn {
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    align-content: start;
  }

  .contact-form > .contact-form-head,
  .contact-form > .form-note,
  .contact-form > .form-feedback,
  .contact-form > label:nth-of-type(n + 3),
  .contact-form > .btn,
  .contact-form > a {
    grid-column: 1 / -1;
  }
}

.home-map {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--line);
}

.home-map-frame {
  display: block;
  width: 100%;
  height: clamp(260px, 36vw, 380px);
  border: 0;
}

.home-map-external {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.95rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-700);
  text-decoration: none;
  background: #fff;
  border-top: 1px solid var(--line);
}

.home-map-external::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.home-map-external:hover::after {
  transform: translateX(4px);
}

.address {
  margin: 1.5rem 0;
  font-style: normal;
}

.contact-line {
  margin: 0 0 1rem;
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding: 0 0 var(--space-section);
}

.final-cta-inner {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  border-radius: 28px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(700px 320px at 50% -10%, rgba(43, 134, 232, 0.55), transparent 65%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.final-cta-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 80%);
}

.final-cta h2 {
  max-width: 22ch;
  margin: 0 auto 0.85rem;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.final-cta p {
  max-width: 36rem;
  margin: 0 auto 2rem;
  font-size: 1.075rem;
}

.final-cta .hero-actions {
  justify-content: center;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(3rem, 6vw, 4.25rem);
  color: rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(800px 360px at 90% 0%, rgba(43, 134, 232, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}

.page-hero .container {
  position: relative;
}

.page-hero .eyebrow {
  max-width: none;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #cfe5ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.page-hero .eyebrow a {
  color: #fff;
}

.page-hero h1 {
  max-width: 22ch;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.032em;
  color: #fff;
}

.page-hero p {
  max-width: 60ch;
  margin: 0;
  font-size: 1.075rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.76);
}

.page-hero .hero-actions {
  margin-top: 1.75rem !important;
}

.page-hero .hero-call-note {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-hero .btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.page-hero .btn-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
}

.page-hero .gallery-page-lead {
  color: rgba(255, 255, 255, 0.76);
}

/* variant classes now share the base hero */
.about-page-hero .container,
.service-page-hero .container,
.whyus-page-hero .container,
.reviews-page-hero .container,
.secondhand-page-hero .container,
.contact-page-hero .container,
.gallery-page-hero-pro .container {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

/* split hero with booking card (city pages) */

.page-hero-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 960px) {
  .page-hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  }
}

.page-hero--split h1 {
  margin-top: 0.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-meta li {
  display: flex;
  flex-direction: column;
  min-width: 128px;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-meta strong {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-meta span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

.hero-panel {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  color: var(--text);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-500), #34d399);
}

.page-hero .hero-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
}

.page-hero .hero-panel-title {
  margin: 0 0 1.1rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
}

.hero-panel-list {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}

.hero-panel-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.hero-panel-check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--green-700);
  background: #dcfce7;
}

.page-hero .hero-panel .btn-call {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-500) 0%, var(--brand-600) 55%, var(--brand-700) 100%);
  border-color: var(--brand-700);
  box-shadow: var(--shadow-brand), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.page-hero .hero-panel .btn-call .btn-icon {
  color: #fff;
}

.page-hero .hero-panel .btn-call:hover {
  color: #fff;
}

.hero-panel .btn + .btn {
  margin-top: 0.65rem;
}

.page-hero .hero-panel-note {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 520px) {
  .hero-meta li {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 0;
  }
}

/* city service cards */

.city-svc-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .city-svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .city-svc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.city-svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.4rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}

.city-svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-100);
  box-shadow: var(--shadow-md);
}

.city-svc-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.city-svc-card:hover .city-svc-icon {
  color: #fff;
  background: var(--brand-600);
  border-color: var(--brand-600);
}

.city-svc-title {
  margin: 0 0 0.4rem;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.3;
}

.city-svc-title a {
  color: var(--ink);
  text-decoration: none;
}

.city-svc-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.city-svc-text {
  flex: 1 1 auto;
  margin: 0 0 1.25rem;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--muted);
}

.city-svc-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.city-svc-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-700);
  text-decoration: none;
}

.city-svc-more::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.city-svc-card:hover .city-svc-more::after {
  transform: translateX(4px);
}

.city-svc-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 6px 14px -6px rgba(21, 112, 209, 0.6);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.city-svc-call .btn-icon {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
}

.city-svc-call:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -6px rgba(21, 112, 209, 0.7);
}

/* ---------- About / service pages ---------- */

.about-intro-grid,
.service-intro-grid,
.about-story-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 960px) {
  .about-intro-grid,
  .service-intro-grid,
  .about-story-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.about-intro-copy .about-text,
.service-intro-copy .about-text {
  margin-bottom: 1.15rem;
}

.about-points {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
  color: var(--text);
}

.about-points li {
  position: relative;
  padding-left: 1.9rem;
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7 center / 11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' stroke='%2316884a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.about-shape-stack,
.service-shape-stack {
  position: relative;
  display: block;
  padding: 0 0 2.5rem 2.5rem;
}

.about-shape,
.service-shape {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-shape-one,
.service-shape-main {
  aspect-ratio: 16 / 11;
}

.about-shape-two,
.service-shape-side {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40%;
  max-width: 240px;
  aspect-ratio: 1;
  border: 6px solid #fff;
}

.about-shape img,
.service-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-metrics {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .about-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.about-gallery-pro,
.about-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-gallery-pro-item,
.about-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.about-gallery-pro-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.about-gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-gallery-item figcaption {
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .about-gallery-pro,
  .about-gallery {
    grid-template-columns: 1fr;
  }
}

.about-cta-inner {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: var(--radius-lg);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}

.about-cta-inner .hero-actions {
  justify-content: center;
}

.about-hero-actions {
  margin-top: 1.5rem;
}

.reviews-photo-wrap {
  display: flex;
  justify-content: flex-end;
}

.reviews-photo {
  width: min(100%, 440px);
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.reviews-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-page-grid {
  margin-top: 0.5rem;
}

.product-grid {
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 720px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.3rem 1.4rem;
}

.product-copy h3 {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
}

.price {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 0.85rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: var(--radius-pill);
}

.product-copy p:not(.price) {
  flex: 1;
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.product-copy .btn {
  margin-top: auto;
  align-self: stretch;
}

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

.footer {
  position: relative;
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43, 134, 232, 0.6), transparent);
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 3rem;
  }
}

.footer-logo {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.5rem;
  line-height: 0;
  background: #fff;
  border-radius: 14px;
}

.footer-logo img {
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-tag {
  margin: 0;
  max-width: 32ch;
  font-size: 0.95rem;
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
  font-size: 0.94rem;
}

.footer-bottom {
  width: min(1180px, 92vw);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Floating contact (desktop side tabs / mobile bottom bar) ---------- */

.scroll-cta {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transform: translate(-120%, -50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0.35s;
}

.scroll-cta.is-visible {
  transform: translate(0, -50%);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scroll-cta a,
.scroll-enquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.15rem 0.7rem;
  writing-mode: vertical-rl;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 30px -8px rgba(6, 20, 40, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.22s var(--ease), filter 0.22s;
}

.scroll-cta a {
  border-left: 0;
  border-radius: 0 14px 14px 0;
}

.scroll-cta a svg,
.scroll-enquiry svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
}

.scroll-cta a:hover {
  color: #fff;
  transform: translateX(4px);
  filter: brightness(1.06);
}

.scroll-cta-phone {
  background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
}

.scroll-cta-wa {
  background: linear-gradient(180deg, #2fdc72, var(--green-600));
}

.scroll-cta-label {
  display: inline;
}

.scroll-enquiry {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 205;
  border-right: 0;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-950));
  transform: translate(120%, -50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0.35s;
}

.scroll-enquiry.is-visible {
  transform: translate(0, -50%);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scroll-enquiry.is-visible:hover {
  color: #fff;
  transform: translate(-4px, -50%);
}

@media (max-width: 760px) {
  body {
    padding-bottom: 72px;
  }

  .scroll-cta,
  .scroll-cta.is-visible {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -12px rgba(10, 37, 64, 0.25);
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .scroll-cta a {
    flex: 1 1 50%;
    min-height: 50px;
    padding: 0.7rem 0.9rem;
    writing-mode: horizontal-tb;
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: none;
    border: 0;
    border-radius: var(--radius-sm);
  }

  .scroll-cta a svg {
    transform: none;
  }

  .scroll-cta a:hover {
    transform: none;
  }

  .scroll-cta-phone .scroll-cta-label::after {
    content: " Now";
  }

  .scroll-enquiry {
    display: none;
  }
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible,
.reveal.reveal-instant {
  opacity: 1;
  transform: none;
}

.reveal.reveal-instant {
  transition: none;
}

.reveal-delay {
  transition-delay: 0.1s;
}

/* ---------- Geo notice ---------- */

.geo-city-notice {
  position: fixed;
  left: 50%;
  top: 1rem;
  z-index: 1200;
  transform: translateX(-50%);
  pointer-events: none;
}

.geo-city-notice-inner {
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-pill);
  background: rgba(6, 20, 40, 0.94);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
}

.geo-city-bar {
  padding: 0.65rem 0;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(90deg, var(--brand-700), var(--brand-600));
}

.geo-city-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.geo-city-bar a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line, #e3e8ef);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--brand-50);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem 1.35rem 1.4rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted, #5b6b7f);
}

.blog-tag {
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: var(--radius-pill);
}

.blog-card-title {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.35;
}

.blog-card-title a {
  color: var(--ink);
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--brand-600);
}

.blog-card-text {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--muted, #5b6b7f);
}

.blog-card-more {
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-600);
  text-decoration: none;
}

.blog-card-more::after {
  content: " →";
}

.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.page-hero .breadcrumb a:hover {
  color: #fff;
}

.post-hero h1 {
  max-width: 900px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.post-meta li + li::before {
  content: "•";
  margin-right: 1.4rem;
  margin-left: -0.7rem;
  opacity: 0.5;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  align-items: start;
}

.post-body {
  min-width: 0;
  font-size: 1.04rem;
  line-height: 1.8;
  color: #2b3a4d;
}

.post-cover {
  margin: 0 0 2rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.post-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-body h2 {
  margin: 2.6rem 0 0.9rem;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.3;
  color: var(--ink);
  scroll-margin-top: 100px;
}

.post-body h3 {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.15rem;
  color: var(--ink);
}

.post-body p {
  margin: 0 0 1.1rem;
}

.post-body ul,
.post-body ol {
  margin: 0 0 1.3rem;
  padding-left: 1.3rem;
}

.post-body li {
  margin-bottom: 0.45rem;
}

.post-body a:not(.btn) {
  color: var(--brand-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body strong {
  color: var(--ink);
}

.post-table {
  margin: 1.4rem 0 1.6rem;
  overflow-x: auto;
  border: 1px solid var(--line, #e3e8ef);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.post-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.94rem;
  line-height: 1.5;
}

.post-table th,
.post-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line, #e3e8ef);
}

.post-table th {
  font-weight: 700;
  color: #fff;
  background: var(--navy-900);
}

.post-table tr:last-child td {
  border-bottom: 0;
}

.post-table tbody tr:nth-child(even) td {
  background: #f7f9fc;
}

.post-callout {
  margin: 1.5rem 0;
  padding: 1.1rem 1.3rem;
  font-size: 0.98rem;
  background: var(--brand-50);
  border-left: 4px solid var(--brand-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.post-callout p:last-child {
  margin-bottom: 0;
}

.post-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin: 2rem 0;
  padding: 1.5rem 1.6rem;
  color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(21, 112, 209, 0.45), transparent 60%), var(--navy-950);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.post-body .post-cta p {
  margin: 0;
}

.post-body .post-cta-title {
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 800;
  color: #fff;
}

.post-body .post-cta-text {
  margin-top: 0.25rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

.post-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.post-faq {
  grid-template-columns: 1fr;
}

.post-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1.2rem;
}

.post-aside-card {
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--line, #e3e8ef);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.post-aside-call {
  display: grid;
  gap: 0.7rem;
  border-top: 4px solid var(--brand-500);
}

.post-aside-call p {
  margin: 0;
}

.post-aside-kicker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-600, #1eb757);
}

.post-aside-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.post-aside-text {
  margin-bottom: 0.3rem !important;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted, #5b6b7f);
}

.post-aside-heading {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #5b6b7f);
}

.post-toc {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.post-toc li {
  counter-increment: toc;
}

.post-toc a {
  display: flex;
  gap: 0.55rem;
  padding: 0.4rem 0.5rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #34465c;
  text-decoration: none;
  border-radius: var(--radius-xs);
}

.post-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-weight: 700;
  color: var(--brand-500);
}

.post-toc a:hover {
  color: var(--brand-700);
  background: var(--brand-50);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-aside {
    position: static;
    order: -1;
  }

  .post-aside-call {
    display: none;
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .post-body {
    font-size: 1rem;
  }

  .post-cta {
    padding: 1.3rem;
  }

  .post-cta-actions,
  .post-cta-actions .btn {
    width: 100%;
  }
}
