/* ==========================================================================
   Tropical Spas Services & Repairs — Stylesheet
   Design tokens derived from the supplied logo:
   navy ring/text, turquoise "Spas" lettering, palm green, hibiscus orange.
   ========================================================================== */

:root {
  /* Colors */
  --navy: #122A4E;
  --navy-deep: #0B1D38;
  --blue-secondary: #1E4C82;
  --aqua: #22A8C4;
  --aqua-deep: #17879F;
  --green: #3C8A4E;
  --orange: #E27C2B;
  --yellow: #F0A93C;
  --ink: #15202B;
  --muted: #5B6B78;
  --white: #FFFFFF;
  --bg-light: #F2F7F9;
  --bg-panel: #FFFFFF;
  --border: #DCE6EA;
  --shadow-sm: 0 2px 10px rgba(11, 42, 74, 0.07);
  --shadow-md: 0 10px 30px rgba(11, 42, 74, 0.12);
  --shadow-lg: 0 20px 50px rgba(11, 42, 74, 0.16);

  /* Type */
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --header-h: 108px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.6vw, 3.75rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.65rem); }
h3 { font-size: 1.3rem; }

p { color: var(--muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

.section-pad { padding: 96px 0; }

@media (max-width: 720px) {
  .section-pad { padding: 64px 0; }
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--aqua-deep);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--yellow);
}

.section-head p {
  margin-top: 14px;
  font-size: 1.08rem;
  max-width: 56ch;
}

.bg-light { background: var(--bg-light); }
.bg-navy { background: var(--navy); }
.bg-navy h2, .bg-navy h3, .bg-navy .eyebrow { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.72); }

/* Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #cc6c1f; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--aqua); color: var(--aqua-deep); transform: translateY(-2px); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-aqua {
  background: var(--aqua);
  color: var(--white);
}
.btn-aqua:hover { background: var(--aqua-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; justify-content: center; }

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

/* Top contact bar
   ========================================================================== */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar-tagline { font-weight: 500; }
.topbar-links { display: flex; align-items: center; gap: 20px; }
.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}
.topbar-links a:hover { color: var(--yellow); }
.topbar-links svg { width: 15px; height: 15px; }

@media (max-width: 720px) {
  .topbar .container { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 7px; padding-bottom: 7px; }
  .topbar-links { flex-wrap: wrap; gap: 14px; }
}

/* Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(11, 42, 74, 0.09);
  border-bottom-color: var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 58px; width: auto; }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--navy); line-height: 1.2; }
.brand-text span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 14px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
  transition: background 0.15s ease, color 0.15s ease;
  position: relative;
}
.main-nav a:hover { background: var(--bg-light); }
.main-nav a.active { color: var(--aqua-deep); background: rgba(34,168,196,0.1); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.menu-toggle svg { width: 26px; height: 26px; color: var(--navy); }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-actions .btn-secondary { display: none; }
  .menu-toggle { display: flex; }
  .brand img { height: 48px; }
}

.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 900;
  background: var(--navy-deep);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mobile-nav-top img { height: 44px; }
.mobile-nav-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--white); }
.mobile-nav-close svg { width: 26px; height: 26px; }
.mobile-nav-links { padding: 18px 24px; display: flex; flex-direction: column; }
.mobile-nav-links a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-cta { padding: 12px 24px 28px; display: flex; flex-direction: column; gap: 12px; margin-top: auto; }

/* Hero
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue-secondary) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 84px 0 96px;
}

.hero-ripples {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  max-width: 130vw;
  opacity: 0.35;
  pointer-events: none;
}
.hero-ripples circle {
  fill: none;
  stroke: rgba(255,255,255,0.4);
  stroke-width: 1;
}
.hero-ripples .ripple-aqua { stroke: rgba(78, 210, 230, 0.45); }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-grid-solo {
  grid-template-columns: 1fr;
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.hero-grid-solo .hero-kicker { margin-left: auto; margin-right: auto; }
.hero-grid-solo .hero-lead { margin-left: auto; margin-right: auto; }
.hero-grid-solo .hero-ctas { justify-content: center; }
.hero-services-line.center { justify-content: center; }

.hero-project-photo {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 24px 60px rgba(3,14,32,0.38);
}
.hero-project-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,22,43,0.82) 0%, transparent 42%);
  pointer-events: none;
}
.hero-project-photo img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; display: block; }
.hero-project-photo figcaption {
  position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1;
  display: flex; flex-direction: column; gap: 3px;
  color: rgba(255,255,255,0.82); font-size: 0.86rem;
}
.hero-project-photo figcaption strong {
  color: var(--yellow); font-family: var(--font-display); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-kicker svg { width: 16px; height: 16px; color: var(--yellow); }

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-lead { color: rgba(255,255,255,0.82); font-size: 1.15rem; max-width: 52ch; margin-bottom: 32px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-services-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.68);
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  z-index: 2;
}
.scroll-cue .cue-dot {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 100px;
  position: relative;
}
.scroll-cue .cue-dot::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.75);
  animation: cueMove 1.8s ease-in-out infinite;
}
@keyframes cueMove {
  0% { opacity: 0; top: 6px; }
  40% { opacity: 1; }
  100% { opacity: 0; top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue .cue-dot::before { animation: none; opacity: 0.8; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-ripples { opacity: 0.22; }
  .hero-project-photo { min-height: 420px; max-width: 680px; width: 100%; margin: 6px auto 0; }
  .hero-project-photo img { min-height: 420px; max-height: 520px; }
}

/* Hero load-in — the single orchestrated motion moment.
   Visible by default; JS adds "js-anim" only once it can also trigger
   "is-in" a frame later, so the animation is a bonus, never a blocker. */
.hero-kicker, .hero h1, .hero-lead, .hero-ctas, .hero-services-line, .hero-project-photo {
  opacity: 1;
  transform: none;
}
.hero.js-anim .hero-kicker, .hero.js-anim .hero h1, .hero.js-anim .hero-lead,
.hero.js-anim .hero-ctas, .hero.js-anim .hero-services-line, .hero.js-anim .hero-project-photo {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero.js-anim .hero-kicker { transition-delay: 0.05s; }
.hero.js-anim .hero h1 { transition-delay: 0.15s; }
.hero.js-anim .hero-lead { transition-delay: 0.25s; }
.hero.js-anim .hero-ctas { transition-delay: 0.35s; }
.hero.js-anim .hero-services-line { transition-delay: 0.45s; }
.hero.js-anim .hero-project-photo { transition-delay: 0.3s; }
.hero.js-anim.is-in .hero-kicker, .hero.js-anim.is-in .hero h1, .hero.js-anim.is-in .hero-lead,
.hero.js-anim.is-in .hero-ctas, .hero.js-anim.is-in .hero-services-line, .hero.js-anim.is-in .hero-project-photo {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero.js-anim .hero-kicker, .hero.js-anim .hero h1, .hero.js-anim .hero-lead,
  .hero.js-anim .hero-ctas, .hero.js-anim .hero-services-line, .hero.js-anim .hero-project-photo {
    opacity: 1; transform: none; transition: none;
  }
}

/* Placeholder media
   ========================================================================== */
.media-placeholder {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue-secondary) 55%, var(--aqua-deep) 100%);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.media-placeholder::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.16) 0, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,0.12) 0, transparent 40%);
}
.media-placeholder .mp-ripples { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0.5; }
.media-placeholder .mp-icon {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.media-placeholder .mp-icon .mp-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.media-placeholder .mp-icon svg { width: 22px; height: 22px; }
.media-placeholder .mp-label { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1.25; }
.media-placeholder.tone-aqua { background: linear-gradient(160deg, var(--aqua-deep) 0%, var(--aqua) 60%, #58c9de 100%); }
.media-placeholder.tone-green { background: linear-gradient(160deg, #1d5a30 0%, var(--green) 60%, #59a768 100%); }
.media-placeholder.tone-orange { background: linear-gradient(160deg, #9c4d13 0%, var(--orange) 60%, #f0a05a 100%); }

/* Trust strip
   ========================================================================== */
.trust-strip { padding: 56px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 22px; height: 22px; color: var(--aqua-deep); }
.trust-item h3 { font-size: 1rem; margin-bottom: 4px; }
.trust-item p { font-size: 0.9rem; }

@media (max-width: 980px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

/* About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: start; }
.about-copy p { margin-bottom: 16px; font-size: 1.03rem; }
.about-copy p:last-child { margin-bottom: 0; }

.timeline { list-style: none; margin-top: 8px; position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ''; position: absolute; left: -28px; top: 3px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--aqua); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--aqua);
}
.timeline h4 { font-size: 0.98rem; color: var(--navy); margin-bottom: 2px; }
.timeline p { font-size: 0.88rem; margin: 0; }
.about-project-photo {
  margin-bottom: 28px; border-radius: var(--radius-md); overflow: hidden; background: var(--navy);
  box-shadow: var(--shadow-md);
}
.about-project-photo img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.about-project-photo figcaption {
  padding: 13px 16px; color: rgba(255,255,255,0.84); font-size: 0.82rem; line-height: 1.4;
}

@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Service cards
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--aqua);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:nth-child(3n+2) { border-top-color: var(--green); }
.service-card:nth-child(3n+3) { border-top-color: var(--orange); }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-media { aspect-ratio: 16/10; }
.service-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 25px; height: 25px; color: var(--aqua-deep); }
.service-body h3 { margin-bottom: 8px; }
.service-body p { font-size: 0.92rem; margin-bottom: 14px; }

.service-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.service-details-inner { overflow: hidden; }
.service-card.is-open .service-details { grid-template-rows: 1fr; }
.services-visuals {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: -10px 0 34px;
}
.service-visual {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden;
  background: var(--navy); box-shadow: var(--shadow-sm);
}
.service-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,22,43,0.9) 0%, rgba(7,22,43,0.1) 62%, transparent 78%);
}
.service-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
.service-visual:hover img { transform: scale(1.035); }
.service-visual figcaption {
  position: absolute; left: 17px; right: 17px; bottom: 15px; z-index: 1;
  color: rgba(255,255,255,0.83); font-size: 0.8rem; line-height: 1.35;
}
.service-visual figcaption strong { display: block; color: var(--white); font-size: 0.98rem; margin-bottom: 3px; }
.service-visual figcaption span { display: block; }
.service-details ul { padding: 2px 0 14px; }
.service-details li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.service-details li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--aqua);
}

.service-card-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; }
.service-more-toggle {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: var(--navy); display: flex; align-items: center; gap: 5px;
}
.service-more-toggle svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.service-card.is-open .service-more-toggle svg { transform: rotate(180deg); }
.service-ask-btn {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: var(--white); background: var(--aqua-deep);
  padding: 9px 16px; border-radius: 100px;
  transition: background 0.15s ease;
}
.service-ask-btn:hover { background: var(--navy); }

@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .services-visuals { grid-template-columns: 1fr; } .service-visual { aspect-ratio: 16/10; } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

/* Brands
   ========================================================================== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.brand-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 16px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.brand-tile:hover { border-color: var(--aqua); box-shadow: var(--shadow-sm); }
.brand-note {
  background: var(--bg-light);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  font-size: 0.94rem;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.brand-note strong { color: var(--navy); }

.product-experience { margin-top: 44px; }
.product-experience-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.product-experience-item {
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; background: var(--white);
}
.product-experience-item h4 { font-size: 0.98rem; margin-bottom: 6px; }
.product-experience-item p { font-size: 0.86rem; margin: 0; }

@media (max-width: 980px) { .brands-grid, .product-experience-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .brands-grid, .product-experience-list { grid-template-columns: 1fr; } }

/* Warranty
   ========================================================================== */
.warranty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 26px; }
.warranty-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 26px;
}
.warranty-card .wc-term { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--yellow); margin-bottom: 8px; }
.warranty-card h4 { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.warranty-card p { color: rgba(255,255,255,0.72); font-size: 0.9rem; margin: 0; }
.warranty-note {
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
  border-top: 1px solid rgba(255,255,255,0.14); padding-top: 20px;
}
@media (max-width: 900px) { .warranty-grid { grid-template-columns: 1fr; } }

/* Refurbished inventory
   ========================================================================== */
.inventory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.inventory-card { border: 1px solid var(--border); border-top: 3px solid var(--aqua); border-radius: var(--radius-md); overflow: hidden; background: var(--white); }
.inventory-card:nth-child(2) { border-top-color: var(--green); }
.inventory-card:nth-child(3) { border-top-color: var(--orange); }
.inventory-body { padding: 24px 22px 24px; }
.inventory-tag {
  display: inline-block; font-size: 0.74rem; font-weight: 700; font-family: var(--font-display);
  color: var(--aqua-deep); background: rgba(34,168,196,0.1); padding: 4px 10px; border-radius: 100px; margin-bottom: 10px;
}
.inventory-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.inventory-body p { font-size: 0.88rem; margin-bottom: 16px; }
@media (max-width: 900px) { .inventory-grid { grid-template-columns: 1fr; } }

/* Process
   ========================================================================== */
.process-list { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--muted);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.process-step.is-active .process-num { border-color: var(--aqua); color: var(--white); background: var(--aqua); }
.process-step h3 { margin-bottom: 6px; }
.process-step p { font-size: 0.95rem; margin: 0; max-width: 62ch; }
.process-checklist {
  margin-top: 40px; background: var(--bg-light); border-radius: var(--radius-md); padding: 26px 30px;
}
.process-checklist h4 { font-size: 1rem; margin-bottom: 12px; }
.process-checklist ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
.process-checklist li { font-size: 0.9rem; color: var(--muted); padding-left: 20px; position: relative; }
.process-checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
@media (max-width: 640px) { .process-checklist ul { grid-template-columns: 1fr; } .process-step { grid-template-columns: 48px 1fr; } .process-num { width: 44px; height: 44px; font-size: 1rem; } }

/* Gallery
   ========================================================================== */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.gallery-filter-btn {
  padding: 9px 18px; border-radius: 100px; border: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--navy);
  transition: all 0.15s ease;
}
.gallery-filter-btn:hover { border-color: var(--aqua); }
.gallery-filter-btn.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-grid-compact { grid-template-columns: repeat(3, 1fr); }
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 8px 22px rgba(11,29,56,0.1);
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.gallery-item:hover { transform: translateY(-3px); }
.gallery-item.is-hidden { display: none; }
.gallery-item button { display: block; width: 100%; height: 100%; position: relative; }
.gallery-photo {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover .gallery-photo, .gallery-item:focus-within .gallery-photo { transform: scale(1.035); }
.gallery-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to top, rgba(7,22,43,0.92) 0%, rgba(7,22,43,0.18) 58%, transparent 76%);
  display: flex; align-items: flex-end; padding: 16px;
  pointer-events: none;
  opacity: 1;
}
.gallery-category {
  display: block; color: var(--yellow); font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 4px;
}
.gallery-caption { display: block; color: var(--white); font-size: 0.82rem; font-weight: 600; line-height: 1.35; text-align: left; }

@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.lightbox {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000;
  background: rgba(9, 22, 42, 0.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox-inner { max-width: 900px; width: 100%; }
.lightbox-media { height: min(72vh, 760px); border-radius: var(--radius-md); overflow: hidden; background: #07162b; }
.lightbox-media .gallery-photo { width: 100%; height: 100%; object-fit: contain; transform: none; }
.lightbox-caption { color: var(--white); text-align: center; margin-top: 16px; font-size: 0.95rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: var(--white);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { width: 40px; height: 40px; } }

/* FAQ accordion
   ========================================================================== */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--navy);
}
.faq-question svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.25s ease; color: var(--aqua-deep); }
.faq-item.is-open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer p { padding: 0 4px 22px; font-size: 0.96rem; max-width: 68ch; }

/* Quote form
   ========================================================================== */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.86rem; font-weight: 700; color: var(--navy); font-family: var(--font-display); }
.form-field .req { color: var(--orange); }
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 14px;
  color: var(--ink); background: var(--white); transition: border-color 0.15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--aqua); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-hint { font-size: 0.8rem; color: var(--muted); }
.form-error { font-size: 0.8rem; color: #C6402B; display: none; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #C6402B; }
.form-field.has-error .form-error { display: block; }

.field-dynamic { display: none; }
.field-dynamic.is-visible { display: flex; }

.file-drop {
  border: 1.5px dashed var(--border); border-radius: 10px; padding: 20px; text-align: center;
  font-size: 0.88rem; color: var(--muted); cursor: pointer; transition: border-color 0.15s ease;
}
.file-drop:hover, .file-drop.is-dragover { border-color: var(--aqua); color: var(--aqua-deep); }
.file-drop svg { width: 22px; height: 22px; margin: 0 auto 8px; color: var(--aqua-deep); }
.file-drop input { display: none; }
.file-list { font-size: 0.82rem; color: var(--navy); margin-top: 8px; }

.consent-row { display: flex; align-items: flex-start; gap: 10px; }
.consent-row input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--aqua); flex-shrink: 0; }
.consent-row label { font-size: 0.84rem; color: var(--muted); }

.form-submit-row { display: flex; align-items: center; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
.form-note { font-size: 0.78rem; color: var(--muted); max-width: 40ch; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.is-visible { display: block; }
.fs-icon {
  width: 62px; height: 62px; border-radius: 50%; background: rgba(60,138,78,0.12);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.fs-icon svg { width: 30px; height: 30px; color: var(--green); }
.form-success h3 { margin-bottom: 8px; }
.form-success p { max-width: 46ch; margin: 0 auto; }

.form-submit-error {
  display: none;
  text-align: center;
  padding: 28px 20px 4px;
}
.form-submit-error.is-visible { display: block; }
.fs-icon-error { background: rgba(198,64,43,0.12); }
.fs-icon-error svg { color: #C6402B; }
.form-submit-error h3 { margin-bottom: 8px; }
.form-submit-error p { max-width: 46ch; margin: 0 auto; }

#quote-form.is-submitted .form-fields-view { display: none; }
#quote-form.is-submitted .form-submit-row { display: none; }

@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } .form-wrap { padding: 26px; } }

/* Contact section
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 30px; margin-bottom: 18px;
}
.contact-line { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-line:last-child { border-bottom: none; }
.contact-line .ci { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-line .ci svg { width: 19px; height: 19px; color: var(--aqua-deep); }
.contact-line a, .contact-line span.ct { font-weight: 700; color: var(--navy); font-family: var(--font-display); font-size: 0.98rem; }
.contact-line .ct-label { font-size: 0.78rem; color: var(--muted); display: block; margin-bottom: 2px; font-weight: 500; }
.contact-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.contact-map { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3.1; border: 1px solid var(--border); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 30px; } }

/* Final CTA
   ========================================================================== */
.final-cta {
  background: linear-gradient(120deg, var(--aqua-deep) 0%, var(--aqua) 100%);
  color: var(--white); text-align: center; padding: 84px 0;
}
.final-cta h2 { color: var(--white); }
.final-cta p { color: rgba(255,255,255,0.88); max-width: 56ch; margin: 16px auto 34px; font-size: 1.08rem; }
.final-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.final-cta .btn-secondary { border: none; }

/* Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.72); padding: 68px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 56px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.62); font-size: 0.9rem; max-width: 34ch; }
.footer-col h4 { color: var(--white); font-family: var(--font-display); font-size: 0.92rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.68); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 22px 0; font-size: 0.82rem; color: rgba(255,255,255,0.5);
}
.footer-legal { display: flex; gap: 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating SMS + Chatbot launcher
   ========================================================================== */
.float-stack {
  position: fixed; right: 22px; bottom: 22px; z-index: 700;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.fab {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  position: relative;
}
.fab svg { width: 28px; height: 28px; }
.fab-sms { background: #25D366; color: var(--white); }
.fab-sms::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: fabPulse 2.2s ease-out infinite;
}
@keyframes fabPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .fab-sms::after { animation: none; display: none; } }

.fab-chat { background: var(--navy); color: var(--white); }

.fab-tooltip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--navy-deep); color: var(--white); font-size: 0.82rem; font-weight: 600;
  padding: 8px 14px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.15s ease;
}
.fab:hover .fab-tooltip { opacity: 1; }
@media (max-width: 760px) { .fab-tooltip { display: none; } .float-stack { right: 14px; bottom: 14px; } .fab { width: 54px; height: 54px; } }

/* Chatbot panel
   ========================================================================== */
.chatbot-panel {
  position: fixed; right: 22px; bottom: 96px; z-index: 800;
  width: 360px; max-width: calc(100vw - 32px);
  height: 500px; max-height: 70vh;
  background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.9); opacity: 0; pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.chatbot-panel.is-open { transform: scale(1); opacity: 1; pointer-events: auto; }
@media (max-width: 760px) { .chatbot-panel { right: 16px; bottom: 156px; width: calc(100vw - 32px); height: 62vh; } }

.chatbot-head {
  background: var(--navy); color: var(--white);
  padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-shrink: 0;
}
.chatbot-head-info { display: flex; align-items: center; gap: 10px; }
.chatbot-head-info .ch-badge {
  width: 34px; height: 34px; border-radius: 50%; background: var(--aqua);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chatbot-head-info .ch-badge svg { width: 18px; height: 18px; }
.chatbot-head-info strong { font-family: var(--font-display); font-size: 0.94rem; display: block; }
.chatbot-head-info span { font-size: 0.74rem; color: rgba(255,255,255,0.65); }
.chatbot-head-actions { display: flex; gap: 4px; }
.chatbot-head-actions button { width: 30px; height: 30px; color: var(--white); display: flex; align-items: center; justify-content: center; border-radius: 6px; }
.chatbot-head-actions button:hover { background: rgba(255,255,255,0.14); }
.chatbot-head-actions svg { width: 17px; height: 17px; }

.chatbot-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-light); }
.chat-msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 0.88rem; line-height: 1.45; }
.chat-msg.bot { align-self: flex-start; background: var(--white); border: 1px solid var(--border); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; }
.chat-options { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
.chat-option-btn {
  text-align: left; background: var(--white); border: 1.5px solid var(--border); color: var(--navy);
  padding: 10px 14px; border-radius: 10px; font-size: 0.86rem; font-weight: 600; transition: border-color 0.15s ease;
}
.chat-option-btn:hover { border-color: var(--aqua); color: var(--aqua-deep); }
.chat-contact-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.chat-contact-actions a { font-size: 0.85rem; }

.chatbot-foot { padding: 12px 16px; border-top: 1px solid var(--border); flex-shrink: 0; }
.chatbot-foot .btn { width: 100%; }

/* Scroll reveal
   Progressive enhancement: elements are fully visible by default. Only once
   JS confirms it can run does it add "js-pending" (hidden, ready to animate)
   right before observing — so a script error or no-JS visitor still sees
   everything, and the fade-in is a bonus, never a requirement. */
.reveal { opacity: 1; transform: none; }
.reveal.js-pending { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.js-pending.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal.js-pending { opacity: 1; transform: none; transition: none; } }

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1200;
  background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: 8px;
  font-weight: 700; transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* Utility */
.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (max-width: 720px) {
  .about-copy, .about-grid { text-align: left; }
}
