/* ===== Spick & Span Mobile Detailing ===== */
/* Red/White/Blue American Theme */

:root {
  --red: #c8102e;
  --red-dark: #9b0c24;
  --blue: #0a3161;
  --blue-light: #1d4d99;
  --blue-dark: #061f3d;
  --white: #ffffff;
  --offwhite: #f7f8fb;
  --gray: #e6e8ee;
  --gray-mid: #8b94a3;
  --text: #1a1f2c;
  --shadow: 0 10px 30px rgba(10, 49, 97, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 49, 97, 0.2);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Editable images are hidden until apply-config.js has merged the live
   config from the worker (or the safety timeout has fired). This prevents
   a stale URL from flashing in the moment between page parse and the
   remote-config response. The class is added to <html> by apply-config.js.
   The same rule also lives in an inline <style> block at the top of every
   page's <head> so it applies before this stylesheet loads — without that,
   the browser can paint hardcoded image URLs before this file arrives. */
img[data-edit-img], img.brand-logo {
  opacity: 0;
  transition: opacity 0.18s ease-out;
}
html.cfg-loaded img[data-edit-img],
html.cfg-loaded img.brand-logo {
  opacity: 1;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--blue-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

.section { padding: 80px 0; }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.section-title.center { text-align: center; }

.section-sub {
  text-align: left;
  color: var(--gray-mid);
  font-size: 1.05rem;
  margin-top: -0.6em;
  margin-bottom: 2.4em;
}
.section-sub.center { text-align: center; }

.accent-red { color: var(--red); }
.accent-blue { color: var(--blue); }

/* ===== Header / Nav ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray);
}

.stripe-bar {
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--red) 0%, var(--red) 33.3%,
    var(--white) 33.3%, var(--white) 66.6%,
    var(--blue) 66.6%, var(--blue) 100%
  );
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  color: var(--blue-dark);
}
.brand:hover { color: var(--blue-dark); }

.brand-stars {
  color: var(--red);
  font-size: 0.75rem;
  letter-spacing: 4px;
  margin-bottom: 2px;
}

/* Logo - hidden until config provides a URL */
.brand-logo {
  display: none;
  height: 42px;
  width: auto;
  max-width: 180px;
  margin-right: 10px;
  object-fit: contain;
}
.brand.has-logo {
  flex-direction: row;
  align-items: center;
  gap: 0;
}
.brand.has-logo .brand-logo { display: inline-block; }
.brand.has-logo .brand-stars,
.brand.has-logo .brand-name,
.brand.has-logo .brand-sub { display: none; }
.brand.has-logo .brand-logo {
  margin-right: 0;
  height: 50px;
  max-width: 220px;
}

.brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
}
.brand-name .amp { color: var(--red); }

.brand-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gray-mid);
  font-weight: 600;
  margin-top: 2px;
}

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

.site-nav a {
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.site-nav a:hover { color: var(--red); }
.site-nav a.active { color: var(--red); }
.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 18px !important;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-cta:hover {
  background: var(--red-dark) !important;
  color: var(--white) !important;
}
.nav-cta::after { display: none !important; }

.nav-cta-book {
  background: var(--blue) !important;
  color: var(--white) !important;
}
.nav-cta-book:hover {
  background: var(--blue-dark) !important;
  color: var(--white) !important;
}

.page-hero-link {
  color: #ffd54a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-hero-link:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--blue-dark);
  border-radius: 2px;
  margin: 4px 0;
  transition: 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 4px solid var(--blue);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--gray); }
  .site-nav a:last-child { border-bottom: none; }
  .nav-cta {
    text-align: center;
    margin-top: 10px;
  }
}

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.35);
}
.btn-primary:hover { background: var(--red-dark); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-ghost:hover { background: var(--white); color: var(--blue-dark); }

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
}
.btn-white:hover { background: var(--offwhite); color: var(--red); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--blue-dark); }

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ===== Hero ===== */

.hero {
  position: relative;
  background: var(--blue-dark);
  color: var(--white);
  padding: 80px 0 130px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(6, 31, 61, 0.85) 0%, rgba(10, 49, 97, 0.55) 50%, rgba(200, 16, 46, 0.45) 100%);
}

.hero-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.hero-text { max-width: 640px; }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-text { max-width: 100%; }
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-license-wrap {
  max-width: 460px;
  margin: 18px 0 0 auto;
  text-align: center;
}

@media (max-width: 1024px) {
  .hero-license-wrap { margin: 18px auto 0; max-width: 540px; }
}

.hero-license {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  padding: 8px 18px;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 6px 18px rgba(29, 77, 153, 0.4);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 .accent-red { color: #ff4d6b; }
.hero h1 .accent-blue { color: #7eb6ff; }

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-badges {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.badge {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--red);
  padding-left: 14px;
}
.badge strong {
  font-size: 1.6rem;
  font-family: 'Bebas Neue', sans-serif;
  color: var(--white);
  letter-spacing: 0.02em;
}
.badge span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== Page Hero (interior pages) ===== */

.page-hero {
  background: var(--blue-dark);
  color: var(--white);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.1);
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,31,61,0.85) 0%, rgba(10,49,97,0.6) 50%, rgba(200,16,46,0.4) 100%);
}
.page-hero h1 { color: var(--white); }
.page-hero h1 .accent-red { color: #ff4d6b; }
.page-hero h1 .accent-blue { color: #7eb6ff; }
.page-hero-sub {
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  font-size: 1.1rem;
}

/* ===== Who Section ===== */

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.who p { font-size: 1.05rem; color: #2a3142; }

.who-image {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}
.who-image > img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--red);
  border-bottom: 6px solid var(--blue);
}
.who-image-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--red);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.who-image-badge strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.who-image-badge span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  line-height: 1.2;
}

.who-card {
  background: var(--blue-dark);
  color: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  border-top: 6px solid var(--red);
  box-shadow: var(--shadow);
  margin-top: 24px;
}
.who-card h3 { color: var(--white); margin-bottom: 16px; }

.area-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px 16px;
}
.area-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}
.area-list li::before {
  content: '\2605';
  position: absolute;
  left: 0;
  color: var(--red);
}

@media (max-width: 880px) {
  .who-grid { grid-template-columns: 1fr; gap: 48px; }
  .who-image > img { height: 360px; }
  .who-image-badge { right: 20px; bottom: -20px; }
  .area-list { grid-template-columns: 1fr 1fr; }
}

/* ===== Features ===== */

.features {
  background: var(--offwhite);
  padding: 80px 0;
  position: relative;
}
.features::before, .features::after {
  content: '';
  position: absolute;
  height: 6px;
  left: 0; right: 0;
}
.features::before {
  top: 0;
  background: linear-gradient(90deg, var(--red) 33%, var(--white) 33%, var(--white) 66%, var(--blue) 66%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  border-top: 4px solid var(--blue);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 2px 10px rgba(10, 49, 97, 0.06);
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-top-color: var(--red);
}
.feature-icon {
  font-size: 2.6rem;
  margin-bottom: 12px;
}
.feature h3 { color: var(--blue-dark); margin-bottom: 8px; }
.feature p { color: #4a5468; margin: 0; font-size: 0.95rem; }

/* ===== CTA Band ===== */

.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: var(--white); margin-bottom: 4px; }
.cta-inner p { color: rgba(255,255,255,0.9); margin: 0; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Services Page ===== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.service-card:hover .service-img img {
  transform: scale(1.06);
}
.service-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--gray);
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.service-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6,31,61,0.25) 100%);
  pointer-events: none;
}
.service-body { padding: 28px 32px 32px; }

.service-card.featured {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  border: none;
}
.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,0.9); }
.service-card.featured .check-list li { color: rgba(255,255,255,0.95); }
.service-card.featured .check-list li::before { color: #ff4d6b; }
.service-card.featured .service-img::after {
  background: linear-gradient(180deg, transparent 40%, rgba(6,31,61,0.7) 100%);
}

.ribbon {
  position: absolute;
  top: 16px;
  right: -8px;
  background: var(--red);
  color: var(--white);
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px 0 0 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.ribbon::after {
  content: '';
  position: absolute;
  top: 100%; right: 0;
  border: 4px solid transparent;
  border-top-color: var(--red-dark);
  border-right-color: var(--red-dark);
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.check-list li {
  position: relative;
  padding: 6px 0 6px 28px;
  color: #4a5468;
  font-size: 0.95rem;
}
.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--red);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Sub-section headings within a service card (e.g. EXTERIOR / INTERIOR) */
.service-section {
  margin-top: 18px;
}
.service-section + .service-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--gray);
}
.service-section h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 6px;
}
.service-section .check-list {
  margin-top: 4px;
}
.service-card.featured .service-section h4 { color: #7eb6ff; }
.service-card.featured .service-section + .service-section { border-top-color: rgba(255,255,255,0.15); }

.service-meta {
  font-size: 0.85rem;
  color: var(--gray-mid);
  font-weight: 500;
  margin: -6px 0 12px;
  letter-spacing: 0.02em;
}
.service-card.featured .service-meta { color: rgba(255,255,255,0.7); }

/* ===== Gallery ===== */

.gallery-section {
  background: var(--offwhite);
  position: relative;
}
.gallery-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 33%, var(--white) 33%, var(--white) 66%, var(--blue) 66%);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 14px;
  margin-top: 30px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6,31,61,0.45) 100%);
  pointer-events: none;
}

.gallery-tall {
  grid-row: span 2;
}
.gallery-wide {
  grid-column: span 2;
}

@media (max-width: 880px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-auto-rows: 200px;
  }
  .gallery-tall { grid-row: span 2; }
  .gallery-wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-tall, .gallery-wide {
    grid-row: auto;
    grid-column: auto;
  }
}

/* ===== Banner Stripe ===== */

.banner-stripe {
  background: var(--blue);
  color: var(--white);
  padding: 40px 0;
  border-top: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
}
.banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.banner-text h2 { color: var(--white); margin-bottom: 4px; font-size: 1.6rem; }
.banner-text p { margin: 0; color: rgba(255,255,255,0.85); }

/* ===== Steps ===== */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.step {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--gray);
  position: relative;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  box-shadow: 0 8px 20px rgba(200,16,46,0.3);
}
.step h3 { margin-bottom: 6px; }
.step p { color: #4a5468; font-size: 0.95rem; margin: 0; }

/* ===== Contact Page ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--red);
  border: 3px solid var(--blue);
  border-radius: var(--radius);
  margin-bottom: 14px;
  color: var(--white);
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.info-card:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 30px rgba(200, 16, 46, 0.3);
  background: var(--red-dark);
  color: var(--white);
}
.info-card.no-link:hover { transform: none; box-shadow: none; background: var(--red); }
.info-icon {
  font-size: 1.6rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--white);
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--red);
}
.info-card h4 { margin: 0 0 2px; color: var(--white); }
.info-card p { margin: 0; color: rgba(255, 255, 255, 0.92); font-size: 0.95rem; }

.hours-card {
  background: var(--blue-dark);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  margin-top: 20px;
  border-top: 4px solid var(--blue-light);
}
.hours-card h3 { color: var(--white); margin-bottom: 12px; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list strong { color: var(--white); font-weight: 600; }
.hours-list .closed strong { color: #ff8da3; }

/* ===== Form ===== */

.contact-form-wrap {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--gray);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}
.contact-form label > span {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-dark);
  margin-bottom: 6px;
}
.contact-form em { color: var(--red); font-style: normal; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray);
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-note {
  font-size: 0.9rem;
  color: var(--gray-mid);
  text-align: center;
  margin: 12px 0 0;
}
.form-success {
  background: #e6f4ea;
  color: #1d6f3a;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 12px;
  text-align: center;
  font-weight: 600;
}

/* ===== Footer ===== */

.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
  margin-top: 0;
  border-top: 6px solid var(--red);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.brand-footer {
  margin-bottom: 12px;
  color: var(--white);
}
.brand-footer .brand-name { color: var(--white); font-size: 1.5rem; }
.brand-footer .brand-sub { color: rgba(255,255,255,0.6); }

.site-footer h4 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { margin-bottom: 8px; }
.link-list a {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}
.link-list a:hover { color: var(--white); }

.payments {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 0;
}

.muted { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* ===== Hero Review Carousel ===== */

.hero-reviews {
  position: relative;
  z-index: 2;
}

.review-carousel {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  padding: 24px 24px 22px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.45);
  color: var(--text);
  max-width: 460px;
  margin-left: auto;
}

@media (max-width: 1024px) {
  .review-carousel { margin: 0 auto; max-width: 540px; }
}

.rc-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 4px 0 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--gray);
}

/* Google G logo on the left of the centered group */
.rc-rating {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.rc-rating svg { width: 100%; height: 100%; display: block; }

.rc-summary-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

/* Brand logo on the right - sized to match the Google G so it sits next to the
   stars/reviews block the same way the G does on the left. */
.rc-brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.rc-brand-logo[src=""],
.rc-brand-logo:not([src]) {
  display: none;
}

.rc-stars {
  color: #f4b400;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  line-height: 1;
}

.rc-count { font-size: 0.85rem; color: var(--gray-mid); }
.rc-count strong { color: var(--text); }

.rc-track {
  position: relative;
  min-height: 200px;
}

.rc-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.rc-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.rc-stars-small {
  color: #f4b400;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
  text-align: center;
}

.rc-slide p {
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 14px;
  font-weight: 500;
}

.rc-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rc-author strong {
  color: var(--blue-dark);
  font-size: 0.95rem;
}

.rc-author span {
  font-size: 0.8rem;
  color: var(--gray-mid);
}

.rc-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  margin-top: 18px;
  border-top: 1px solid var(--gray);
}

.rc-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--gray);
  background: var(--white);
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rc-arrow:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.rc-arrow:active { transform: scale(0.96); }

.rc-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.rc-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gray);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rc-dot.active {
  background: var(--red);
  transform: scale(1.3);
}

.rc-cta {
  display: block;
  text-align: center;
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--blue-dark);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rc-cta:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

/* ===== Reviews Page ===== */

.reviews-summary-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  padding: 38px 28px;
  min-height: 168px;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.rating-display {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.rating-google {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.rating-google svg { width: 100%; height: 100%; display: block; }

.rating-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.rating-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.rating-brand-logo[src=""],
.rating-brand-logo:not([src]) {
  display: none;
}

.rating-display .big-rating {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--blue);
}

.rating-display .big-stars {
  color: #f4b400;
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  line-height: 1;
  margin-bottom: 6px;
}

.rating-display .muted {
  color: var(--gray-mid);
  font-size: 0.95rem;
}

.rating-display .muted strong { color: var(--text); font-weight: 700; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

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

.review-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  margin: 0;
  box-shadow: 0 2px 6px rgba(10, 49, 97, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 49, 97, 0.18);
  box-shadow: var(--shadow);
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: -8px;
  right: 22px;
  font-family: 'Inter', serif;
  font-weight: 800;
  font-size: 5rem;
  line-height: 1;
  color: var(--gray);
  opacity: 0.5;
  pointer-events: none;
}

.review-stars {
  color: #f4b400;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  line-height: 1;
}

.review-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.review-tag.new {
  background: rgba(200, 16, 46, 0.1);
  color: var(--red);
}

.review-card blockquote {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
}

.review-card .muted-quote {
  color: var(--gray-mid);
  font-style: italic;
  font-weight: 400;
}

.owner-reply {
  background: var(--offwhite);
  border-left: 3px solid var(--blue);
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 18px;
}

.owner-reply-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 4px;
}

.owner-reply p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}

.review-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--gray);
}

.review-card figcaption strong {
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.005em;
}

.review-meta {
  font-size: 0.82rem;
  color: var(--gray-mid);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.badge-guide {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.08);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== Book Page ===== */

.page-hero-compact { padding: 60px 0 40px; }
.page-hero-compact h1 { margin-bottom: 12px; }
.page-hero-compact .page-hero-sub { margin-bottom: 0; }

.book-section {
  padding: 50px 0 90px;
  background: var(--offwhite);
}

.book-frame-wrap {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray);
}

.book-frame {
  width: 100%;
  height: 720px;
  border: 0;
  display: block;
  background: var(--white);
}

@media (max-width: 720px) {
  .book-frame { height: 980px; }
}

.book-fallback {
  text-align: center;
  margin: 22px 0 0;
  color: var(--gray-mid);
  font-size: 0.92rem;
}

.book-fallback a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.book-fallback a:hover { color: var(--red-dark); }

.book-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

@media (max-width: 760px) { .book-info { grid-template-columns: 1fr; } }

.book-info-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-align: center;
}

.book-info-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  line-height: 1;
}

.book-info-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 1.4rem;
  margin: 0 0 6px;
  color: var(--blue-dark);
}

.book-info-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.book-info-card a {
  color: var(--blue);
  font-weight: 700;
}
.book-info-card a:hover { color: var(--red); }

/* Square live service preview */

.square-preview {
  padding: 50px 0 10px;
  background: var(--white);
}

.square-preview-head {
  margin-bottom: 36px;
}

.square-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.square-service-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.square-service-card:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.square-service-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
  color: var(--blue-dark);
  margin: 0 0 8px;
}

.sv-desc {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0 0 14px;
  white-space: pre-line;
  line-height: 1.55;
}

.sv-variations {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  margin-top: auto;
}

.sv-variation {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  padding-top: 8px;
  border-top: 1px solid var(--gray);
}
.sv-variation:first-child { border-top: 0; padding-top: 0; }

.sv-vname {
  color: var(--gray-mid);
  font-weight: 600;
  margin-right: auto;
}

.sv-price {
  color: var(--red);
  font-weight: 700;
  font-size: 1rem;
}

.sv-duration {
  color: var(--gray-mid);
  font-weight: 500;
}

.sv-dot {
  color: var(--gray);
}

.sv-book-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

.sv-book-link:hover { color: var(--red); }
.sv-book-link span { transition: transform 0.2s; }
.sv-book-link:hover span { transform: translateY(2px); }
