/* =====================================================================
   Cardeck redesign layer — "Circuit Line" (Nov 2026)
   Loaded AFTER site.css. Visual only: no content, SEO or URL changes.
   Remove the <link> to this file to fall back to the previous look.
   ===================================================================== */

:root {
  --ink: #0D1B2E;
  --ink-2: #0D1B2E;
  --muted: #566579;
  --line: #DCE4EC;
  --pale: #E8F6FA;
  --pale-2: #F4F7FA;
  --blue: #0F7590;
  --blue-2: #5CC8EE;
  --dark: #060D17;
  --rd-navy: #0B1626;
  --rd-night: #060D17;
  --rd-panel: #12233A;
  --rd-trace: #1792B1;
  --rd-cyan: #5CC8EE;
  --rd-action: #0F7590;
  --rd-action-dark: #0B5A6E;
  --rd-ice: #E8F6FA;
  --rd-paper: #F4F7FA;
  --rd-on-navy: #E6EEF5;
  --rd-on-navy-muted: #93A6BB;
  --rd-radius: 18px;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(13, 27, 46, .12);
}

body {
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Montserrat", system-ui, sans-serif; }

/* ---------- Section headings: sentence case + circuit kicker line ---------- */
h2,
section h2 {
  text-transform: none;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}

section { padding: 88px 0; }

.section-head {
  max-width: 1240px;
  margin: 0 auto 36px;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 40px;
  text-align: left;
}

.shell .section-head { padding: 0; }

.section-head > div { max-width: 680px; }

.section-head h2,
.reviews-head h2,
.map-head h2,
.landing-section-head h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.06;
  text-transform: none;
}

.section-head h2::before,
.reviews-head h2::before {
  content: "";
  display: block;
  width: 56px;
  height: 12px;
  margin-bottom: 14px;
  background:
    radial-gradient(circle at 50px 6px, #FFFFFF 0 3px, transparent 3.5px),
    radial-gradient(circle at 50px 6px, var(--rd-trace) 0 5px, transparent 5.5px),
    linear-gradient(var(--rd-trace), var(--rd-trace)) 0 5px / 44px 2px no-repeat;
}

.section-head p {
  max-width: 440px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.section-kicker,
.kicker {
  color: var(--rd-action);
  font-weight: 600;
  letter-spacing: .14em;
  font-size: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.btn:not(.secondary) {
  background: var(--rd-cyan);
  color: var(--rd-navy);
  border-color: var(--rd-cyan);
}

.btn:not(.secondary):hover,
.btn:not(.secondary):focus-visible {
  background: #86D8F3;
  color: var(--rd-navy);
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(230, 238, 245, .5);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  border-color: var(--rd-cyan);
  color: var(--rd-cyan);
}

/* =====================================================================
   HEADER
   ===================================================================== */
.rd-strip {
  background: var(--rd-night);
  color: var(--rd-on-navy-muted);
  font-size: 12.5px;
  font-weight: 500;
}

.rd-strip__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
}

.rd-strip span,
.rd-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rd-strip i { color: var(--rd-cyan); font-size: 12px; }
.rd-strip a { color: var(--rd-cyan); font-weight: 600; }
.rd-strip a:hover { color: #FFFFFF; }
.rd-strip__right { display: inline-flex; flex-wrap: wrap; gap: 6px 20px; }

.topbar {
  background: rgba(11, 22, 38, .96);
  border-bottom: 1px solid rgba(92, 200, 238, .14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.topbar .nav {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 76px;
  padding: 0 24px;
  gap: 18px;
}

.topbar .brand { min-width: 0; }
.topbar .brand img { width: clamp(150px, 16vw, 200px); }

.navlinks { gap: 4px; }

.navlinks > a,
.navlinks .nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: #C9D5E2;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0;
  transition: background .2s ease, color .2s ease;
}

.navlinks > a:hover,
.navlinks .nav-dropdown-trigger:hover,
.navlinks > a:focus-visible {
  color: #FFFFFF;
  background: rgba(92, 200, 238, .1);
}

.navlinks > a.active,
.navlinks .nav-dropdown-trigger.active {
  color: #FFFFFF;
  background: rgba(92, 200, 238, .16);
}

.nav-actions .btn {
  min-height: 46px;
  height: auto;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--rd-cyan);
  color: var(--rd-navy);
  font-size: 14.5px;
  text-transform: none;
}

.nav-actions .btn svg { width: 17px; height: 17px; }
.nav-actions .btn:hover { background: #86D8F3; color: var(--rd-navy); }

/* services mega dropdown */
.nav-dropdown-menu {
  background: var(--rd-navy);
  border: 1px solid rgba(92, 200, 238, .2);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(6, 13, 23, .45);
}

.navlinks .nav-dropdown-card {
  border-radius: 14px;
  background: var(--rd-panel);
  border: 1px solid rgba(92, 200, 238, .14);
  color: var(--rd-on-navy);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.navlinks .nav-dropdown-card:hover,
.navlinks .nav-dropdown-card:focus-visible {
  border-color: var(--rd-cyan);
  color: #FFFFFF;
}

.nav-dropdown-card__thumb { border-radius: 10px; }

.nav-dropdown-carousel-arrow {
  border-radius: 50%;
  background: rgba(92, 200, 238, .12);
  color: #FFFFFF;
  border: 1px solid rgba(92, 200, 238, .3);
}

/* mobile extras inside the menu panel (hidden on desktop) */
.rd-mnav-extra { display: none; }

@media (max-width: 980px) {
  .topbar { padding: 0; }
  .topbar .nav { min-height: 68px; padding: 0 16px; }
  .topbar .brand img { width: 150px; }

  .nav-actions .btn { display: none; }

  .menu-btn {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(92, 200, 238, .35);
    background: rgba(92, 200, 238, .06);
    color: #FFFFFF;
  }

  .menu-btn[aria-expanded="true"] {
    border-color: var(--rd-cyan);
    color: var(--rd-cyan);
  }

  .navlinks {
    background:
      linear-gradient(var(--rd-trace), var(--rd-trace)) 0 0 / 100% 1px no-repeat;
  }

  .navlinks.open {
    padding: 8px 0 22px;
  }

  .navlinks > a,
  .navlinks .nav-dropdown-trigger {
    position: relative;
    justify-content: flex-start;
    min-height: 54px;
    padding: 0 4px 0 22px;
    border-radius: 0;
    border-top: 0;
    border-bottom: 1px solid rgba(147, 166, 187, .16);
    background: transparent;
    color: var(--rd-on-navy);
    font-size: 17px;
    font-weight: 600;
  }

  .navlinks > a::before,
  .navlinks .nav-dropdown-trigger::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    border: 1.5px solid rgba(147, 166, 187, .5);
  }

  .navlinks > a.active,
  .navlinks .nav-dropdown-trigger.active {
    color: var(--rd-cyan);
    background: transparent;
  }

  .navlinks > a.active::before,
  .navlinks .nav-dropdown-trigger.active::before {
    background: var(--rd-cyan);
    border-color: var(--rd-cyan);
    box-shadow: 0 0 0 4px rgba(92, 200, 238, .18);
  }

  .navlinks > a::after {
    content: "\203A";
    margin-left: auto;
    padding-right: 6px;
    font-size: 24px;
    font-weight: 400;
    color: var(--rd-on-navy-muted);
  }

  .nav-submenu-toggle { color: var(--rd-on-navy); }

  .rd-mnav-extra {
    display: grid;
    gap: 12px;
    padding-top: 14px;
  }

  .rd-mnav-extra__btns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .navlinks .rd-mnav-extra a.btn {
    justify-content: center;
    min-height: 52px;
    border-bottom: 0;
    padding: 0 12px;
    font-size: 15px;
  }

  .navlinks .rd-mnav-extra a.btn::before,
  .navlinks .rd-mnav-extra a.btn::after { display: none; }

  .rd-mnav-extra__meta {
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: var(--rd-on-navy-muted);
  }

  .rd-mnav-extra__meta span { display: flex; gap: 8px; align-items: flex-start; }
  .rd-mnav-extra__meta i { color: var(--rd-cyan); margin-top: 3px; }
}

@media (max-width: 640px) {
  .rd-strip__cert { display: none !important; }
  .rd-strip__inner { justify-content: center; }
}

/* =====================================================================
   LINE-ART LAYER (injected by redesign.js — decorative only)
   ===================================================================== */
.rd-traces {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.rd-traces .t { fill: none; stroke: var(--rd-trace); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: rdDraw 10s cubic-bezier(.65, 0, .35, 1) infinite; opacity: .75; }
.rd-traces .p { fill: none; stroke: #E6FBFF; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 16 900; stroke-dashoffset: 916; animation: rdPulse 3.2s linear infinite; }
.rd-traces .n { fill: var(--rd-navy); stroke: var(--rd-cyan); stroke-width: 1.8; }
.rd-traces .r { fill: none; stroke: var(--rd-cyan); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: rdRing 2.4s ease-out infinite; }
.rd-traces .b { fill: none; stroke: var(--rd-cyan); stroke-width: 1.5; opacity: .8; }
.rd-traces .s { animation: rdScan 7s ease-in-out infinite; }
.rd-traces .d2 { animation-delay: .5s; }
.rd-traces .d3 { animation-delay: 1s; }
.rd-traces .q2 { animation-delay: 1.1s; }
.rd-traces .q3 { animation-delay: 2.2s; }

@keyframes rdDraw { 0% { stroke-dashoffset: 700; opacity: .75; } 30% { stroke-dashoffset: 0; } 84% { stroke-dashoffset: 0; opacity: .75; } 96% { opacity: 0; } 100% { stroke-dashoffset: 700; opacity: 0; } }
@keyframes rdPulse { to { stroke-dashoffset: 0; } }
@keyframes rdRing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes rdScan { 0% { transform: translateX(-80px); opacity: 0; } 10% { opacity: 1; } 55% { transform: translateX(1500px); opacity: 1; } 60%, 100% { transform: translateX(1500px); opacity: 0; } }
@keyframes rdKb { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes rdIn { from { opacity: 0; transform: translateY(8px); } }

/* =====================================================================
   HOME — HERO
   ===================================================================== */
.hero::after {
  background:
    linear-gradient(90deg, rgba(6, 13, 23, .92) 0%, rgba(6, 13, 23, .7) 38%, rgba(6, 13, 23, .15) 72%, rgba(6, 13, 23, 0) 100%),
    linear-gradient(0deg, rgba(6, 13, 23, .7) 0%, rgba(6, 13, 23, 0) 30%);
}

.hero .rd-traces { z-index: 1; }
.hero-inner { z-index: 2; }

.hero-slide.active { animation: rdKb 14s ease-in-out infinite alternate; }

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-copy { max-width: 680px; }

.rd-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(92, 200, 238, .4);
  background: rgba(6, 13, 23, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--rd-cyan);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rd-hero-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rd-cyan);
  animation: rdBlink 1.1s steps(2) infinite;
}

@keyframes rdBlink { 50% { opacity: 0; } }

.hero h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.02em;
}

.hero p { color: #C9D5E2; font-size: clamp(16px, 1.6vw, 18px); }

.rd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.rd-hero-actions .btn { min-height: 52px; padding: 0 24px; font-size: 15.5px; display: inline-flex; align-items: center; gap: 10px; }

.hero-controls {
  left: max(24px, calc((100% - 1240px) / 2 + 24px));
  transform: none;
}

.hero-arrow {
  border-radius: 50%;
  border-color: rgba(230, 238, 245, .35);
  background: transparent;
}

.hero-arrow:hover,
.hero-arrow:focus-visible { border-color: var(--rd-cyan); color: var(--rd-cyan); background: transparent; }

.hero-dot { width: 10px; height: 10px; background: rgba(230, 238, 245, .4); transition: width .3s ease, background .2s ease; }
.hero-dot.active { width: 28px; background: var(--rd-cyan); }

/* =====================================================================
   HOME — INTRO, WHY
   ===================================================================== */
#intro { background: var(--rd-ice); }

.intro-copy h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
}

.intro-copy h2::before {
  content: "ABOUT CARDECK";
  display: block;
  margin-bottom: 14px;
  color: var(--rd-action);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
}

.intro-copy p { color: #33445A; font-size: 16px; line-height: 1.7; }

.intro-thumbnail { position: relative; }

.intro-thumbnail::before,
.intro-thumbnail::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 64px;
  height: 64px;
  pointer-events: none;
}

.intro-thumbnail::before { left: 18px; top: 18px; border-left: 2px solid var(--rd-cyan); border-top: 2px solid var(--rd-cyan); }
.intro-thumbnail::after { right: 18px; bottom: 18px; border-right: 2px solid var(--rd-cyan); border-bottom: 2px solid var(--rd-cyan); }

.why { background: #FFFFFF; }

.why-card {
  border-radius: var(--rd-radius);
  border: 1px solid var(--line);
  background: #FFFFFF;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.why-card:hover,
.why-card:focus {
  transform: translateY(-4px);
  border-color: #9FD8F2;
  box-shadow: 0 18px 40px rgba(13, 27, 46, .1);
}

.why-card .icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 16px;
  background: var(--rd-navy);
  color: var(--rd-cyan);
}

.why-card .icon i { color: var(--rd-cyan); font-size: 24px; }
.why-card:hover .icon i, .why-card:focus .icon i { font-size: 26px; }
.why-card h3 { text-transform: none; letter-spacing: 0; color: var(--ink); }

/* =====================================================================
   HOME — SERVICES (list left, photo + description right)
   ===================================================================== */
#services { background: var(--rd-paper); }

@media (min-width: 681px) {
  .service-layout {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 22px;
  }

  .service-tabs {
    order: -1;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .service-tab {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 8px 14px 8px 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #FFFFFF;
    color: var(--ink);
    text-transform: none;
    text-align: left;
    font-size: 14.5px;
    font-weight: 600;
  }

  .service-tab-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
    background: var(--rd-ice);
    color: var(--rd-action);
    font-size: 17px;
  }

  .service-tab.active,
  .service-tab:hover,
  .service-tab:focus-visible {
    background: var(--rd-navy);
    border-color: var(--rd-navy);
    color: #FFFFFF;
  }

  .service-tab.active .service-tab-icon,
  .service-tab:hover .service-tab-icon,
  .service-tab:focus-visible .service-tab-icon {
    background: var(--rd-cyan);
    color: var(--rd-navy);
    transform: none;
  }

  .service-detail {
    grid-template-rows: none;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    min-height: 460px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: #FFFFFF;
  }

  .service-image { position: relative; }

  .service-image img { aspect-ratio: auto; height: 100%; }

  .service-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 32px;
    border-top: 0;
    animation: rdIn .35s ease-out;
  }
}

.service-image::before,
.service-image::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  pointer-events: none;
}

.service-image::before { left: 16px; top: 16px; border-left: 2px solid var(--rd-cyan); border-top: 2px solid var(--rd-cyan); }
.service-image::after { right: 16px; bottom: 16px; border-right: 2px solid var(--rd-cyan); border-bottom: 2px solid var(--rd-cyan); }
.service-image { position: relative; }

.service-copy h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  text-transform: none;
  font-weight: 800;
  color: var(--ink);
}

.service-copy p { font-size: 15.5px; line-height: 1.65; }

.service-copy-link {
  gap: 8px;
  min-height: 46px;
  margin-top: 6px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--rd-action);
  color: #FFFFFF;
  text-transform: none;
}

.service-copy-link::after { content: "\2192"; }
.service-copy-link:hover,
.service-copy-link:focus-visible { background: var(--rd-action-dark); color: #FFFFFF; }

/* "How a visit works" (new static section) */
.rd-steps { background: #FFFFFF; }

.rd-steps__list {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  list-style: none;
  text-align: left;
}

.rd-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #FFFFFF;
}

.rd-step__top { display: flex; align-items: center; gap: 12px; }

.rd-step__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  border: 1.5px solid var(--rd-trace);
  color: var(--rd-action);
}

.rd-step__line {
  position: relative;
  flex: 1 1 auto;
  height: 2px;
  background: rgba(23, 146, 177, .25);
  overflow: hidden;
}

.rd-step__line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: var(--rd-trace);
  animation: rdLine 2.6s linear infinite;
}

.rd-step:nth-child(2) .rd-step__line::after { animation-delay: .6s; }
.rd-step:nth-child(3) .rd-step__line::after { animation-delay: 1.2s; }
.rd-step:nth-child(4) .rd-step__line::after { animation-delay: 1.8s; }

@keyframes rdLine { to { left: 100%; } }

.rd-step__num { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .08em; }
.rd-step h3 { margin: 0; font-size: 18px; font-weight: 800; text-transform: none; }
.rd-step p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* =====================================================================
   HOME — PROMOTIONS, VIDEOS, TRUSTED, REVIEWS, PAYMENT, MAP
   ===================================================================== */
.promotion {
  background-color: var(--rd-navy);
  background-image: radial-gradient(rgba(92, 200, 238, .1) 1px, transparent 1px);
  background-size: 28px 28px;
}

.promotion .section-head h2 { color: #FFFFFF; }
.promotion .section-head p { color: var(--rd-on-navy-muted); }

.promotion-slide {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(92, 200, 238, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}

.promotion-slide::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid var(--rd-cyan);
  border-radius: 10px;
  opacity: 0;
  transform: scale(.96);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.promotion-slide:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.promotion-slide:hover::after,
.promotion-slide:focus-visible::after { opacity: 1; transform: scale(1); }

.home-youtube { background: var(--rd-paper); }

.home-video-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #FFFFFF;
}

.home-video-frame { border-radius: 16px; overflow: hidden; }

.home-video-thumb { border-radius: 12px; overflow: hidden; }
.home-video-thumb.active { outline: 2px solid var(--rd-cyan); outline-offset: 2px; }

.home-video-arrow,
.trusted-arrow,
.video-arrow {
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink);
}

.home-video-arrow:hover,
.trusted-arrow:hover,
.video-arrow:hover { border-color: var(--rd-trace); color: var(--rd-action); }

.trusted-companies { background: #FFFFFF; }

.trusted-logo {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  transition: border-color .2s ease, transform .2s ease;
}

.trusted-logo:hover { border-color: #9FD8F2; transform: translateY(-2px); }

.google-reviews { background: var(--rd-paper); }

.reviews-head { max-width: none; margin: 0 0 32px; padding: 0; text-align: left; }
.reviews-head h2 { font-size: clamp(28px, 3.4vw, 44px); }

.review-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: none;
  text-align: left;
}

.review-avatar { background: var(--rd-navy); color: var(--rd-cyan); }
.review-stars { color: #E39A1E; }
.review-link { color: var(--rd-action); font-weight: 700; }

.payment { background: #FFFFFF; }

.bank {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  transition: border-color .2s ease, transform .2s ease;
}

.bank:hover { border-color: #9FD8F2; transform: translateY(-2px); }

.map-link {
  border-radius: 999px;
  background: var(--rd-navy);
  color: #FFFFFF;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.map-link:hover { background: var(--rd-action); color: #FFFFFF; }

/* =====================================================================
   FOOTER + FLOATING ACTIONS
   ===================================================================== */
.footer {
  background: var(--rd-night);
  color: var(--rd-on-navy-muted);
  border-top: 1px solid rgba(92, 200, 238, .14);
}

.footer h3 { color: var(--rd-on-navy); text-transform: none; letter-spacing: 0; font-weight: 700; }
.footer a { color: var(--rd-on-navy-muted); }
.footer a:hover { color: var(--rd-cyan); }
.footer .contact-chip b { color: var(--rd-cyan); }
.footer .copyright { border-top: 1px solid rgba(147, 166, 187, .18); color: var(--rd-on-navy-muted); }

.floating-action {
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(6, 13, 23, .3);
}

.floating-action-whatsapp { background: var(--rd-cyan); color: var(--rd-navy); }
.floating-action-call { background: var(--rd-navy); color: #FFFFFF; }
.floating-action-top { background: #FFFFFF; color: var(--rd-navy); border: 1px solid var(--line); }

.consent-banner { border-radius: 18px; border: 1px solid var(--line); }

/* =====================================================================
   SUBPAGE HEROES
   ===================================================================== */
.page-hero,
.service-single-hero,
.blog-single-hero,
.contact-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--rd-navy);
  background-image: radial-gradient(rgba(92, 200, 238, .1) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--rd-on-navy);
  text-align: left;
}

.page-hero::before,
.service-single-hero::before,
.blog-single-hero::before {
  background: linear-gradient(90deg, rgba(6, 13, 23, .92) 0%, rgba(6, 13, 23, .7) 45%, rgba(6, 13, 23, .25) 100%);
}

.page-hero .shell,
.service-single-hero__inner,
.blog-single-hero__inner,
.contact-hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-hero__bg,
.service-single-hero__bg,
.blog-single-hero__bg { animation: rdKb 16s ease-in-out infinite alternate; }

.page-hero h1,
.service-single-hero h1,
.blog-single-hero h1,
.contact-hero h1 {
  color: #FFFFFF;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: none;
}

.page-hero p,
.service-single-hero p,
.blog-single-hero p,
.contact-hero p { color: #C9D5E2; }

.page-hero .kicker,
.contact-hero .section-kicker { color: var(--rd-cyan); }

.service-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(92, 200, 238, .35);
  background: rgba(6, 13, 23, .45);
  color: #C9D5E2;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.service-breadcrumb:hover { color: var(--rd-cyan); border-color: var(--rd-cyan); }

.service-single-icon {
  border-radius: 16px;
  background: rgba(92, 200, 238, .14);
  color: var(--rd-cyan);
}

.blog-single-meta span,
.blog-single-meta time {
  border-radius: 999px;
}

/* =====================================================================
   CARDS (services, blog, related)
   ===================================================================== */
.services-archive-section,
.blog-archive-section,
.related-services-section,
.related-blog-section,
.contact-info { background: var(--rd-paper); }

.service-post-card,
.blog-post-card,
.related-service-card,
.related-blog-card,
.info-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-post-card:hover,
.blog-post-card:hover,
.related-service-card:hover,
.related-blog-card:hover {
  transform: translateY(-4px);
  border-color: #9FD8F2;
  box-shadow: 0 18px 40px rgba(13, 27, 46, .12);
}

.service-post-card__media,
.blog-post-card__media { position: relative; overflow: hidden; }

.service-post-card__media::after,
.blog-post-card__media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid var(--rd-cyan);
  border-radius: 10px;
  opacity: 0;
  transform: scale(.96);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.service-post-card:hover .service-post-card__media::after,
.blog-post-card:hover .blog-post-card__media::after { opacity: 1; transform: scale(1); }

.service-post-card h3,
.blog-post-card h3,
.related-service-card strong,
.related-blog-card strong {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 800;
  color: var(--ink);
}

.service-post-card__icon {
  border-radius: 14px;
  background: var(--rd-navy);
  color: var(--rd-cyan);
}

.service-post-card__link,
.blog-post-card__link {
  color: var(--rd-action);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

.related-service-card span {
  border-radius: 12px;
  background: var(--rd-navy);
  color: var(--rd-cyan);
}

.info-card i {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--rd-navy);
  color: var(--rd-cyan);
}

.info-card h3 { text-transform: none; letter-spacing: 0; }

/* =====================================================================
   ARTICLE BODIES
   ===================================================================== */
.service-content-body,
.blog-content-body { font-size: 16.5px; line-height: 1.75; color: #1F2E42; }

.service-content-body h2,
.blog-content-body h2,
.service-content-body h3,
.blog-content-body h3 { text-transform: none; letter-spacing: -.01em; color: var(--ink); }

.service-content-body blockquote,
.blog-content-body blockquote {
  border-left: 3px solid var(--rd-trace);
  border-radius: 0 14px 14px 0;
  background: var(--rd-ice);
  color: #0B3A4A;
  font-weight: 600;
}

.service-content-body a,
.blog-content-body a { color: var(--rd-action); }

.service-content-body img,
.blog-content-body img { border-radius: 16px; }

.content-share__button { border-radius: 12px; }

.service-single-bottom-cta .btn { min-height: 52px; padding: 0 26px; }

/* =====================================================================
   MEDIA
   ===================================================================== */
.youtube-section {
  background-color: var(--rd-navy);
  background-image: radial-gradient(rgba(92, 200, 238, .1) 1px, transparent 1px);
  background-size: 28px 28px;
}

.youtube-section .section-head h2,
.youtube-section h3 { color: #FFFFFF; }
.youtube-section .section-head p,
.youtube-section .featured-video-copy p { color: var(--rd-on-navy-muted); }

.featured-video {
  border-radius: 20px;
  overflow: hidden;
  background: var(--rd-panel);
  border: 1px solid rgba(92, 200, 238, .2);
}

.video-thumb { border-radius: 14px; }
.video-thumb-title { color: var(--rd-on-navy); }
.video-thumb.active .video-thumb-image { outline: 2px solid var(--rd-cyan); outline-offset: 2px; }

.photo-gallery { background: var(--rd-paper); }

.gallery-thumb {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.gallery-thumb::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid var(--rd-cyan);
  border-radius: 10px;
  opacity: 0;
  transform: scale(.96);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.gallery-thumb:hover::after,
.gallery-thumb:focus-visible::after { opacity: 1; transform: scale(1); }

.lightbox { background: rgba(6, 13, 23, .92); }
.lightbox-dialog { border-radius: 18px; }
.lightbox-close { border-radius: 12px; }

/* =====================================================================
   CONTACT + MAP SECTION HEADS
   ===================================================================== */
.contact-hero .hero-actions .btn,
.page-hero .hero-actions .btn,
.service-single-hero .hero-actions .btn { min-height: 52px; padding: 0 24px; }

.map-head h2 { text-transform: none; }

/* =====================================================================
   LANDING PAGES — keep the CMS theme colours, only add the line layer
   ===================================================================== */
.landing-hero .rd-traces { z-index: 1; }
.landing-hero-grid { position: relative; z-index: 2; }

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .rd-traces .t { animation: none; stroke-dashoffset: 0; }
  .rd-traces .p, .rd-traces .r, .rd-traces .s { animation: none; display: none; }
  .hero-slide.active,
  .page-hero__bg,
  .service-single-hero__bg,
  .blog-single-hero__bg,
  .rd-step__line::after,
  .rd-hero-chip::before { animation: none; }
}

/* =====================================================================
   SERVICE DETAIL — content + sticky booking card
   ===================================================================== */
@media (min-width: 981px) {
  .service-single-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
  }
}

.service-single-content {
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: none;
}

.service-single-content > h2 { text-transform: none; }

.rd-book-card {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.rd-book-card__panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 20px;
  background-color: var(--rd-navy);
  background-image: radial-gradient(rgba(92, 200, 238, .12) 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--rd-on-navy);
}

.rd-book-card__kicker {
  color: var(--rd-cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rd-book-card__panel strong { font-size: 20px; line-height: 1.25; color: #FFFFFF; font-weight: 800; }

.rd-book-card__panel .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
}

.rd-book-card__why {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  list-style: none;
}

.rd-book-card__why li { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.rd-book-card__why b { display: block; color: var(--ink); font-size: 14px; }

.rd-book-card__why i {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: var(--rd-ice);
  color: var(--rd-action);
}

.service-post-card__body,
.blog-post-card__body { text-align: left; }

/* section heads that hold kicker + h2 + p directly (contact page) */
.section-head:has(> .section-kicker),
.section-head:has(> h2:first-child) {
  display: block;
}

.section-head:has(> .section-kicker) > p:not(.section-kicker) { margin-top: 12px; }

/* hero sizing: room for chip + headline + buttons + controls */
.hero { min-height: 620px; }

@media (max-width: 1040px) {
  .hero { aspect-ratio: auto; min-height: 640px; }
  .hero-inner { align-items: end; padding-top: 72px; padding-bottom: 110px; }
}

@media (max-width: 760px) {
  .hero { min-height: 600px; }
  .hero-inner { padding: 56px 20px 96px; }
  .hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .rd-hero-chip { font-size: 10.5px; padding: 6px 12px; margin-bottom: 16px; }
  .rd-hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-controls { left: 20px; bottom: 28px; }
  .rd-strip__right > span { display: none; }
  section { padding: 64px 0; }
  .section-head { padding: 0 20px; }
}

/* contact hero: background photo + readable overlay (image set in CMS > Pages > Contact) */
.contact-hero.has-background-image { min-height: 460px; display: grid; align-items: end; }
.contact-hero.has-background-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 13, 23, .92) 0%, rgba(6, 13, 23, .7) 45%, rgba(6, 13, 23, .25) 100%);
}
.contact-hero .page-hero__bg { z-index: 0; object-position: center 72%; animation: rdKb 16s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .contact-hero .page-hero__bg { animation: none; } }

/* =====================================================================
   MOBILE ACTION BAR (≤680px) — flat, squared, on-brand
   ===================================================================== */
@media (max-width: 680px) {
  .floating-actions {
    left: 0;
    right: 0;
    bottom: 0;
    grid-template-columns: 1fr 1.6fr 1fr;
    align-items: stretch;
    gap: 0;
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    background: var(--rd-night, #060D17);
    border-top: 1px solid rgba(92, 200, 238, .18);
    box-shadow: 0 -10px 28px rgba(6, 13, 23, .28);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: hidden;
  }

  /* circuit trace along the top edge with a travelling pulse */
  .floating-actions::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 34%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rd-cyan, #5CC8EE), transparent);
    animation: rd-bar-pulse 5.5s linear infinite;
    pointer-events: none;
  }

  .floating-actions .floating-action {
    position: relative;
    width: auto;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #FFFFFF;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    font-family: "Montserrat", sans-serif;
    -webkit-tap-highlight-color: transparent;
  }

  .floating-actions .floating-action i {
    font-size: 17px;
    line-height: 1;
    color: var(--rd-cyan, #5CC8EE);
  }

  .floating-actions .floating-action span {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1;
    text-transform: none;
    color: rgba(232, 246, 250, .86);
  }

  /* hairline dividers between cells */
  .floating-actions .floating-action-call::after,
  .floating-actions .floating-action-top::before {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    width: 1px;
    background: rgba(147, 166, 187, .18);
  }
  .floating-actions .floating-action-call::after { right: 0; }
  .floating-actions .floating-action-top::before { left: 0; }

  /* primary action: squared teal block, icon + label in one row */
  .floating-actions .floating-action-whatsapp {
    flex-direction: row;
    gap: 9px;
    margin: 8px 6px;
    height: 44px;
    border-radius: 8px;
    background: var(--rd-cyan, #5CC8EE);
    color: var(--rd-navy, #0B1626);
  }
  .floating-actions .floating-action-whatsapp i { font-size: 20px; color: var(--rd-navy, #0B1626); }
  .floating-actions .floating-action-whatsapp span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--rd-navy, #0B1626);
  }

  .floating-actions .floating-action:hover,
  .floating-actions .floating-action:focus-visible {
    transform: none;
    box-shadow: none;
    outline: 0;
  }
  .floating-actions .floating-action-call:active,
  .floating-actions .floating-action-top:active,
  .floating-actions .floating-action-call:focus-visible,
  .floating-actions .floating-action-top:focus-visible {
    background: rgba(92, 200, 238, .08);
  }
  .floating-actions .floating-action-whatsapp:active { background: #7DD5F2; }
  .floating-actions .floating-action-whatsapp:focus-visible { box-shadow: 0 0 0 2px var(--rd-night, #060D17), 0 0 0 4px var(--rd-cyan, #5CC8EE); }

  /* "Top" is quieter until the page has been scrolled */
  .floating-actions .floating-action-top:not(.is-visible) { opacity: .45; }

  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
}

@keyframes rd-bar-pulse {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

@media (prefers-reduced-motion: reduce) {
  .floating-actions::before { animation: none; opacity: 0; }
}
