/* ==========================================================================
   LEGACY TILE CLEANING — DESIGN SYSTEM
   Colors sampled directly from the brand logo:
     light blue  #41A4E9   |   navy #17478D
   Extended into a full premium SWFL palette below.
   ========================================================================== */

:root {
  /* ---- Brand colors ---- */
  --navy: #17478D;          /* logo navy */
  --navy-deep: #0A1F3D;     /* deep background navy */
  --navy-ink: #0D2B4E;      /* headings on light bg */
  --blue: #41A4E9;          /* logo light blue */
  --blue-soft: #DCEEFC;     /* pale blue tint for backgrounds */
  --gold: #C6A15B;          /* restrained premium accent */
  --gold-soft: #E7D6AE;
  --cream: #FAF7F0;         /* warm off-white */
  --sand: #F3EEE3;          /* tile-grout adjacent warm neutral */
  --white: #FFFFFF;
  --ink: #16213A;
  --muted: #5B6678;
  --muted-on-navy: rgba(255,255,255,0.72);
  --line: #E7E2D6;
  --line-on-navy: rgba(255,255,255,0.14);

  /* ---- Type ---- */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* ---- Shape / motion ---- */
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 20px 60px rgba(10, 31, 61, 0.10);
  --shadow-lift: 0 26px 70px rgba(10, 31, 61, 0.18);
}

/* ==========================================================================
   RESET
   ========================================================================== */

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

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, h1, h2, h3, h4, p, figure, ul, ol {
  margin: 0;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; padding: 0; }

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

input, textarea, select {
  font-family: inherit;
  font-size: 16px;
}

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

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

.container-narrow {
  width: min(760px, 92%);
  margin-inline: auto;
}

section { position: relative; }

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

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

/* ==========================================================================
   TYPE SCALE
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}

.eyebrow.on-light { color: var(--blue); }
.eyebrow.on-light::before { background: var(--blue); }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy-ink);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  font-variation-settings: "opsz" 40, "WONK" 1;
}

h2 {
  font-size: clamp(34px, 4.4vw, 54px);
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
  font-weight: 600;
}

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

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 60ch;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 14px 30px rgba(198, 161, 91, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(198, 161, 91, 0.45);
}

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

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline-navy {
  border: 1.5px solid rgba(13,43,78,0.3);
  color: var(--navy-ink);
}

.btn-outline-navy:hover {
  background: var(--navy-ink);
  color: var(--white);
  border-color: var(--navy-ink);
}

.btn-navy {
  background: var(--navy-ink);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--blue);
  transform: translateY(-3px);
}

.btn-block { width: 100%; }

.btn-sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 11px;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding: 22px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header .nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(10, 31, 61, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(6, 16, 32, 0.18);
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 8px 24px rgba(6,16,34,0.25);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled .logo-link {
  background: rgba(255,255,255,0.94);
  box-shadow: 0 6px 16px rgba(6,16,34,0.18);
  padding: 6px 16px;
}

.logo-link img {
  height: 72px;
  width: auto;
  transition: height 0.35s var(--ease);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}

.site-header.is-scrolled .logo-link img { height: 56px; }

.main-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.main-nav a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.88;
  position: relative;
  padding: 6px 0;
  transition: opacity 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transition: right 0.3s var(--ease);
}

.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { right: 0; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

@media (min-width: 1080px) {
  .header-phone { display: inline-flex; align-items: center; gap: 8px; }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 210;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 100px 8% 60px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid var(--line-on-navy);
}

.mobile-nav .btn { margin-top: 26px; }

.mobile-nav-foot {
  margin-top: auto;
  color: var(--muted-on-navy);
  font-size: 13px;
}

@media (max-width: 1000px) {
  .main-nav, .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-settle 8s var(--ease) forwards;
}

@keyframes hero-settle {
  to { transform: scale(1); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,16,34,0.62) 0%, rgba(6,16,34,0.38) 30%, rgba(6,16,34,0.55) 78%, rgba(6,16,34,0.84) 100%),
    linear-gradient(115deg, rgba(6,20,45,0.62) 0%, rgba(6,20,45,0.30) 55%, rgba(6,20,45,0.10) 100%);
}

.hero-content {
  padding-top: 90px;
  max-width: 760px;
  animation: rise 1s var(--ease) both;
  animation-delay: 0.15s;
}

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

.hero-eyebrow {
  color: var(--gold-soft);
}

.hero h1 {
  font-size: clamp(44px, 6.6vw, 84px);
  color: var(--white);
  line-height: 0.98;
  text-shadow: 0 4px 30px rgba(3, 10, 24, 0.5);
  font-variation-settings: "opsz" 144, "WONK" 1;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: #7FC4F2;
  -webkit-text-stroke: 1.5px rgba(4, 13, 28, 0.55);
  paint-order: stroke fill;
  text-shadow: 0 8px 26px rgba(3, 10, 24, 0.5);
}

.hero-copy {
  font-size: 19px;
  color: rgba(255,255,255,0.86);
  max-width: 540px;
  margin: 26px 0 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 46px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}

.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.hero-scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(rgba(255,255,255,0.7), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}

@keyframes scrollcue {
  0% { transform: scaleY(0.4); transform-origin: top; opacity: 0.5; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0.4); transform-origin: bottom; opacity: 0.5; }
}

/* ---- Swoosh divider (signature motif drawn from the logo ribbon) ---- */

.swoosh-divider {
  position: relative;
  z-index: 5;
  line-height: 0;
  margin-top: -2px;
}

.swoosh-divider svg { display: block; width: 100%; height: auto; }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */

.trust-strip {
  background: var(--navy-deep);
  color: var(--white);
  padding: 30px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-right: 1px solid var(--line-on-navy);
  padding-right: 20px;
}

.trust-item:last-child { border-right: none; }

.trust-item svg { flex-shrink: 0; color: var(--gold); width: 22px; height: 22px; }

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; padding-right: 0; }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.services { background: var(--cream); }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.service-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

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

.service-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}

.service-card:hover .service-shine { transform: translateX(120%); }

.service-num {
  position: absolute;
  top: 16px; left: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(10,31,61,0.55);
  backdrop-filter: blur(4px);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}

.service-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.service-body h3 { font-size: 20px; }
.service-body p { color: var(--muted); font-size: 14.5px; flex: 1; }

.service-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.service-links .text-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.service-links .text-link:hover { color: var(--blue); }

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

/* ==========================================================================
   BEFORE / AFTER — signature interactive slider
   ========================================================================== */

.transform-section {
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}

.transform-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.transform-copy h2 { color: var(--white); }
.transform-copy .lede { color: var(--muted-on-navy); }

.transform-copy .btn { margin-top: 30px; }

.ba-slider {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  user-select: none;
  touch-action: pan-y;
}

.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-after { z-index: 1; }

.ba-before-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 50%;
  overflow: hidden;
}

.ba-before-wrap img {
  width: var(--ba-img-w, 200%);
  max-width: none;
}

.ba-label {
  position: absolute;
  bottom: 18px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(10,31,61,0.55);
  backdrop-filter: blur(4px);
  z-index: 3;
}

.ba-label.before-label { left: 18px; }
.ba-label.after-label { right: 18px; }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  z-index: 4;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  cursor: ew-resize;
}

.ba-handle-grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  color: var(--navy);
}

.ba-handle-grip svg { width: 18px; height: 18px; }

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

/* ==========================================================================
   WHY LEGACY
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.why-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.why-image img { aspect-ratio: 4/5; object-fit: cover; }

.why-badge {
  position: absolute;
  bottom: 22px; left: 22px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
  max-width: 230px;
}

.why-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
}

.why-badge span { font-size: 11.5px; color: var(--muted); letter-spacing: 0.03em; }

.legacy-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 30px 0 34px;
  line-height: 1.35;
}

.why-list {
  display: grid;
  gap: 22px;
}

.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-list .ico {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}

.why-list h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  margin-bottom: 4px;
}

.why-list p { font-size: 14px; color: var(--muted); }

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

/* ==========================================================================
   PROCESS
   ========================================================================== */

.process { background: var(--sand); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-step { position: relative; }

.process-num {
  font-family: var(--font-display);
  font-size: 46px;
  color: var(--blue);
  opacity: 0.5;
  margin-bottom: 14px;
  line-height: 1;
}

.process-step h3 { font-size: 17.5px; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--muted); }

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

/* ==========================================================================
   REVIEWS
   ========================================================================== */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px;
}

.review-card .stars { color: var(--gold); letter-spacing: 0.14em; margin-bottom: 18px; font-size: 15px; }

.review-card p {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy-ink);
  line-height: 1.5;
  margin-bottom: 22px;
}

.review-meta strong { display: block; font-size: 14px; }
.review-meta span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

.placeholder-note {
  margin-top: 34px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

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

/* ==========================================================================
   SERVICE AREA
   ========================================================================== */

.area-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.area-media { position: relative; overflow: hidden; }
.area-media img { width: 100%; height: 100%; object-fit: cover; }

.area-copy {
  background: var(--navy-deep);
  color: var(--white);
  padding: 90px 9%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.area-copy h2 { color: var(--white); }
.area-copy .lede { color: var(--muted-on-navy); margin-bottom: 30px; }

.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 36px;
}

.area-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}

.area-list li svg { color: var(--gold); flex-shrink: 0; width: 16px; height: 16px; }

@media (max-width: 980px) {
  .area-section { grid-template-columns: 1fr; }
  .area-media { min-height: 340px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy-ink);
}

.faq-q .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  position: relative;
}

.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.faq-q .plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q .plus::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }

.faq-item.open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a p {
  padding: 0 4px 26px;
  color: var(--muted);
  max-width: 68ch;
  font-size: 15px;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.final-cta {
  position: relative;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.final-cta-media { position: absolute; inset: 0; z-index: -2; }
.final-cta-media img { width: 100%; height: 100%; object-fit: cover; }

.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6,16,34,0.86), rgba(6,16,34,0.78));
}

.final-cta h2 { color: var(--white); max-width: 720px; margin-inline: auto; }
.final-cta .lede { color: rgba(255,255,255,0.82); margin-inline: auto; margin-bottom: 40px; }

.final-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.82);
  padding: 76px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 50px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-on-navy);
}

.footer-brand img { height: 50px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; max-width: 30ch; margin-bottom: 20px; }

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-on-navy);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.footer-social a:hover { background: var(--blue); border-color: var(--blue); }
.footer-social svg { width: 16px; height: 16px; }

footer h4 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

footer .footer-col a, footer .footer-col p {
  display: block;
  font-size: 13.5px;
  margin-bottom: 11px;
  color: rgba(255,255,255,0.72);
}

footer .footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--white); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   QUOTE PANEL (slide-out)
   ========================================================================== */

.quote-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,16,34,0.55);
  backdrop-filter: blur(2px);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.quote-overlay.open { opacity: 1; visibility: visible; }

.quote-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 301;
  width: min(560px, 100%);
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -30px 0 80px rgba(0,0,0,0.25);
}

.quote-panel.open { transform: translateX(0); }

.quote-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 32px 22px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.quote-head h2 { font-size: 28px; margin-bottom: 6px; }
.quote-head p { color: var(--muted); font-size: 14px; }

.quote-close {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.quote-close:hover { background: var(--sand); transform: rotate(90deg); }

.quote-body {
  padding: 26px 32px 40px;
  overflow-y: auto;
  flex: 1;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--navy-ink);
  margin-bottom: 8px;
}

.field .req { color: var(--gold); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.field textarea { resize: vertical; min-height: 96px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  outline: none;
}

.field-error {
  color: #B3452F;
  font-size: 12.5px;
  margin-top: 6px;
  display: none;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #B3452F; }

.field.invalid .field-error { display: block; }

.service-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.check-pill {
  position: relative;
}

.check-pill input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.check-pill span {
  display: block;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-ink);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.check-pill input:checked + span {
  background: var(--navy-ink);
  border-color: var(--navy-ink);
  color: var(--white);
}

.check-pill input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.upload-field {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  text-align: center;
  background: var(--cream);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
  position: relative;
}

.upload-field:hover { border-color: var(--blue); }

.upload-field input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-field p { font-size: 13px; color: var(--muted); }
.upload-field strong { color: var(--navy); }

.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.upload-thumb {
  width: 60px; height: 60px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.upload-thumb img { width: 100%; height: 100%; object-fit: cover; }

.honeypot-field { position: absolute; left: -9999px; opacity: 0; }

.quote-submit-row {
  margin-top: 8px;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

.btn-loading .btn-label { visibility: hidden; }
.btn-loading::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(10,31,61,0.25);
  border-top-color: var(--navy-deep);
  animation: spin 0.7s linear infinite;
}

.btn-primary.btn-loading { position: relative; }

@keyframes spin { to { transform: rotate(360deg); } }

.quote-state {
  display: none;
  text-align: center;
  padding: 40px 10px;
}

.quote-state.active { display: block; }

.quote-state .icon-circle {
  width: 74px; height: 74px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}

.state-success .icon-circle { background: var(--blue-soft); color: var(--navy); }
.state-error .icon-circle { background: #F7E3DC; color: #B3452F; }

.quote-state h3 { font-size: 22px; margin-bottom: 12px; }
.quote-state p { color: var(--muted); font-size: 14.5px; max-width: 34ch; margin-inline: auto; }
.quote-state .btn { margin-top: 26px; }

/* ==========================================================================
   MOBILE STICKY ACTION BAR
   ========================================================================== */

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  display: none;
  background: var(--navy-deep);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
}

.mobile-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mobile-bar a, .mobile-bar button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.mobile-bar a { border-right: 1px solid var(--line-on-navy); }
.mobile-bar button { color: var(--navy-deep); background: var(--gold); }

@media (max-width: 720px) {
  .mobile-bar { display: block; }
  body { padding-bottom: 58px; }
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.in-view > * { transition-delay: calc(var(--i, 0) * 0.08s); }
