/* ============================================
   PACIFIC AUTO SHINE — Global Styles
   ============================================ */

:root {
  --bg-deep: #061320;
  --bg-mid: #0a1e2f;
  --bg-teal: #133b5c;
  --accent: #2b8cb8;
  --accent-bright: #5cc4ee;
  --accent-dark: #1d5a7a;
  --text: #ffffff;
  --text-muted: #b8c5d1;
  --text-dim: #7d8b99;
  --card-bg: rgba(20, 50, 75, 0.55);
  --card-border: rgba(91, 196, 238, 0.18);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background with floral pattern overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at top, var(--bg-teal) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('assets/bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.32;
  z-index: -1;
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text); }

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--text-muted); }

/* ============================================
   TOP PROMO BAR
   ============================================ */
.promo-bar {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-dark));
  color: var(--text);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.promo-bar a { color: var(--text); text-decoration: underline; }
.promo-bar strong { color: #fff; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 19, 32, 0.75);
  border-bottom: 1px solid var(--card-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}

.nav-brand img {
  width: auto;
  height: 56px;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.nav { overflow: visible; }
.nav-inner { padding: 0.75rem 1.5rem; }

.nav-brand span small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--accent-bright);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent-bright);
}

.nav-cta {
  background: var(--accent);
  color: var(--text) !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 50px;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--accent-bright);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle svg { width: 28px; height: 28px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
  box-shadow: 0 4px 20px rgba(43, 140, 184, 0.4);
}

.btn-primary:hover {
  background: var(--accent-bright);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(92, 196, 238, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--text);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent-bright);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
}

.hero-inner {
  max-width: 900px;
}

.hero-logo {
  width: min(560px, 88vw);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 6px 30px rgba(91, 196, 238, 0.35));
}

/* Tabs (booking form) */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.85rem 1.25rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: var(--accent-bright);
  border-bottom-color: var(--accent-bright);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Checkbox grid for add-ons */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: rgba(6, 19, 32, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.check-item:hover { border-color: var(--accent); }
.check-item input { accent-color: var(--accent-bright); width: 18px; height: 18px; }
.check-item span { color: var(--text); font-size: 0.92rem; font-weight: 500; }
.check-item small { display: block; color: var(--text-dim); font-size: 0.75rem; margin-top: 2px; }

/* Compare table for ceramic page */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
}
.compare-table th, .compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}
.compare-table th {
  background: rgba(43, 140, 184, 0.15);
  color: var(--accent-bright);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.compare-table td:first-child { color: var(--text-muted); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--accent-bright); font-weight: 700; }
.compare-table .no { color: var(--text-dim); }

.hero h1 {
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin-bottom: 2.5rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   CARD GRID
   ============================================ */
.grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-bright);
}

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--accent-bright);
  background: linear-gradient(180deg, rgba(43, 140, 184, 0.25), var(--card-bg));
}

.pricing-card .badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--accent-bright);
  color: var(--bg-deep);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-bright);
  margin: 1rem 0 0.25rem;
  line-height: 1;
}

.pricing-card .price-meta {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.pricing-card .includes-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-bright);
  text-transform: uppercase;
  margin: 1rem 0 0.75rem;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.pricing-card ul li {
  padding: 0.45rem 0 0.45rem 1.5rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(91, 196, 238, 0.08);
}

.pricing-card ul li:last-child { border-bottom: none; }

.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.45rem;
  color: var(--accent-bright);
  font-weight: 800;
}

.pricing-section + .pricing-section { margin-top: 1.5rem; }
.pricing-section h4 {
  color: var(--accent-bright);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  margin: 1.25rem 0 0.5rem;
  border-top: 1px solid var(--card-border);
  padding-top: 1rem;
}
.pricing-section:first-of-type h4 { border-top: none; padding-top: 0; }

/* ============================================
   FEATURE CARDS (home page)
   ============================================ */
.feature-card {
  text-align: center;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  background: rgba(43, 140, 184, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
}

.feature-icon svg { width: 28px; height: 28px; }

.feature-card h3 {
  margin-bottom: 0.5rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: transform 0.3s;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  text-align: center;
  padding: 2rem;
  font-style: italic;
  opacity: 0.6;
}

.gallery-placeholder svg {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.testimonial::before {
  content: '“';
  font-size: 3rem;
  line-height: 0;
  color: var(--accent-bright);
  margin-right: 0.25rem;
  vertical-align: -0.5rem;
}

.testimonial-author {
  font-style: normal;
  font-weight: 700;
  color: var(--accent-bright);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-grid .stack > * + * { margin-top: 1.25rem; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-bright);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-block {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-block h3 {
  color: var(--accent-bright);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.contact-block a, .contact-block p { color: var(--text); }

/* Form */
.form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(6, 19, 32, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-bright);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--accent-dark), var(--bg-teal));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin: 4rem 0;
}

.cta-strip h2 {
  margin-bottom: 1rem;
}

.cta-strip p {
  margin-bottom: 1.75rem;
  color: var(--text);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
  background: rgba(6, 19, 32, 0.6);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand img { width: 140px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; max-width: 320px; }

.footer h4 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--accent-bright);
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer ul a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem;
    background: rgba(6, 19, 32, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--card-border);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section { padding: 3.5rem 0; }
  .hero { min-height: 80vh; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---- 2-tap booking widget ---- */
.booking-widget {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem;
}

.bw-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0.85rem;
}
.bw-step:first-child { margin-top: 0; }
.bw-step h3 { font-size: 1.05rem; margin: 0; }

.bw-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bw-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.bw-options button {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(43, 140, 184, 0.12);
  border: 2px solid var(--card-border);
  border-radius: 12px;
  padding: 0.9rem 0.75rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  text-align: center;
}
.bw-options button small {
  display: block;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.bw-options button:hover {
  border-color: var(--accent-bright);
  transform: translateY(-2px);
}
.bw-options button.selected {
  border-color: var(--accent-bright);
  background: rgba(92, 196, 238, 0.22);
  box-shadow: 0 0 0 3px rgba(92, 196, 238, 0.18);
}
.bw-options button.selected small { color: var(--accent-bright); }

.bw-hint {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--accent-bright);
  font-weight: 600;
}
.bw-fallback {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}
.bw-fallback a { color: var(--accent-bright); }

/* review stars */
.stars {
  color: #ffc233;
  letter-spacing: 0.15em;
}
.review-stars {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* ceramic process step labels */
.step-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(92, 196, 238, 0.12);
  border: 1px solid rgba(92, 196, 238, 0.3);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.75rem;
}

/* desktop booking fallback */
#bw-desktop {
  margin-top: 1rem;
  text-align: center;
}
#bw-desktop .bw-msg {
  background: rgba(6, 19, 32, 0.6);
  border: 1px dashed var(--accent-bright);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.85rem;
}
.bw-desktop-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* instagram embed */
.ig-embed-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 0.75rem;
  overflow: hidden;
}
#ig-embed {
  width: 100%;
  height: 560px;
  border: none;
  border-radius: 10px;
  background: #fff;
}
.ig-cta {
  text-align: center;
  padding: 1rem 0 0.5rem;
}
@media (max-width: 600px) {
  #ig-embed { height: 480px; }
}

/* ---- denser phone layout: 2-up cards, desktop feel ---- */
@media (max-width: 640px) {
  .grid-2, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .card { padding: 1.1rem; }
  .card h3 { font-size: 0.98rem; }
  .card p, .card li { font-size: 0.8rem; }
  .card ul { padding-left: 1rem; }
  .badge { font-size: 0.6rem; padding: 0.25rem 0.6rem; }
  .price { font-size: 1.45rem; }
  .price-meta { font-size: 0.72rem; }
  .pricing-card .btn { width: 100%; text-align: center; padding: 0.7rem 0.5rem; font-size: 0.8rem; margin-right: 0 !important; margin-bottom: 0.5rem; }
  .feature-card { padding: 1rem; }
  .feature-icon { width: 38px; height: 38px; }
  .testimonial { font-size: 0.8rem; }
  .testimonial-author { font-size: 0.72rem; }
  .review-stars { font-size: 0.8rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .section { padding: 2.75rem 0; }
  .section-header { margin-bottom: 1.75rem; }
  /* booking widget stays thumb-friendly — full-size tap targets */
  .bw-options button { font-size: 0.88rem; padding: 0.85rem 0.5rem; }
}

/* ---- phone: compact pricing, shorter page ---- */
@media (max-width: 640px) {
  /* homepage pricing: hide checklists, cards become name + price + button */
  #pricing .pricing-card ul { display: none; }
  #pricing .pricing-card .price-meta { margin-bottom: 0.9rem; }
  #pricing .pricing-card { padding-bottom: 1.1rem; }

  /* services page: detail cards keep their lists, so give them full width */
  .grid-2:has(.pricing-section) { grid-template-columns: 1fr; }

  /* tighter overall rhythm */
  .hero { min-height: 62vh; padding: 2.5rem 1.5rem; }
  .hero-logo { width: min(420px, 80vw); margin-bottom: 1rem; }
  .cta-strip { padding: 2rem 1.25rem; margin: 2.5rem 0; }
  .footer { padding: 2rem 1.5rem 1.5rem; margin-top: 2.5rem; }
}

/* ---- phone: pricing cards full-width, badges can't overlap ---- */
@media (max-width: 640px) {
  #pricing .grid-2 { grid-template-columns: 1fr; gap: 0.75rem; }
  #pricing .pricing-card .badge {
    position: static;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 0.5rem;
  }
  #pricing .pricing-card h3 { font-size: 1.15rem; }
  #pricing .pricing-card .price { font-size: 1.75rem; margin-top: 0.5rem; }
}

/* ---- phone polish for all pages ---- */
@media (max-width: 640px) {
  /* odd card out (3rd of 3) spans full width instead of sitting alone in a corner */
  .grid-2 > *:last-child:nth-child(odd),
  .grid-3 > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  /* ceramic comparison table fits the screen */
  .compare-table th, .compare-table td {
    padding: 0.6rem 0.55rem;
    font-size: 0.78rem;
  }

  /* about page stats + services jump chips breathe better */
  .stat { padding: 1rem; }
  .stat-number { font-size: 1.75rem; }
  .booking-widget { padding: 1.25rem; }
}

/* ---- phone: a la carte cards compact, no stretched bubbles ---- */
@media (max-width: 640px) {
  .alacarte-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .alacarte-grid .pricing-card { padding: 1.1rem 1.25rem !important; }
  .alacarte-grid .pricing-card ul { margin-bottom: 1rem; flex-grow: 0; }
  .alacarte-grid .btn {
    width: auto;
    align-self: flex-start;
    padding: 0.55rem 1.4rem;
    font-size: 0.75rem;
    margin-bottom: 0;
  }
  /* booking widget: 2x2 packages */
  .bw-options { grid-template-columns: repeat(2, 1fr); }
}

/* ---- phone: slimmer header + hero, ceramic spotlight stacks ---- */
@media (max-width: 640px) {
  /* promo bar: one tight line */
  .promo-bar { font-size: 0.66rem; padding: 0.35rem 0.75rem; letter-spacing: 0.04em; }

  /* nav: smaller logo + tighter bar */
  .nav-brand img { height: 38px; }
  .nav-brand { font-size: 0.85rem; gap: 0.5rem; }
  .nav-brand span small { font-size: 0.55rem; }
  .nav-inner { padding: 0.5rem 1rem; }

  /* hero: half the height it was */
  .hero { min-height: 0; padding: 2rem 1.25rem 2.25rem; }
  .hero-logo { width: min(300px, 68vw); margin-bottom: 0.75rem; }
  .hero h1 { font-size: 1.6rem; margin-bottom: 0.75rem; }
  .hero .lead { font-size: 0.92rem; margin-bottom: 1.5rem; }
  .hero .eyebrow { font-size: 0.65rem; margin-bottom: 0.5rem; }
  .hero-cta .btn { padding: 0.75rem 1.4rem; font-size: 0.8rem; }

  /* ceramic spotlight: stack + center, shrink the shield */
  .ceramic-spotlight {
    display: block !important;
    text-align: center !important;
    padding: 1.75rem 1.25rem !important;
  }
  .ceramic-spotlight h2 { font-size: 1.3rem; }
  .ceramic-spotlight p { font-size: 0.9rem !important; }
  .ceramic-spotlight > div:last-child { display: none; }
}

/* ---- hero logo shine sweep ---- */
.hero-logo {
  animation: logo-glow 4s ease-in-out infinite;
}
@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 6px 30px rgba(91, 196, 238, 0.35)); }
  50%      { filter: drop-shadow(0 6px 42px rgba(92, 196, 238, 0.75)); }
}

/* ---- before/after swipe slider ---- */
.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 1;
  max-width: 540px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  touch-action: none;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-top {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba.animating .ba-top { transition: clip-path 1.1s ease; }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--accent-bright);
  box-shadow: 0 0 12px rgba(92, 196, 238, 0.8);
}
.ba.animating .ba-handle { transition: left 1.1s ease; }
.ba-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-label {
  position: absolute;
  top: 12px;
  background: rgba(6, 19, 32, 0.75);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  pointer-events: none;
}

/* ---- before/after duo: slider + motion video ---- */
.ba-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.ba-duo .ba { max-width: none; }
.ba-video { cursor: default; }
.ba-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 760px) {
  .ba-duo { grid-template-columns: 1fr; gap: 1rem; max-width: 540px; }
}

/* video box sizes itself from the file — no modern CSS needed */
.ba-video-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}
.ba-video-box video {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- auto-sweeping slider (gif-style loop until grabbed) ---- */
.ba:not(.manual) .ba-top {
  animation: ba-wipe-clip 7s ease-in-out infinite;
}
.ba:not(.manual) .ba-handle {
  animation: ba-wipe-pos 7s ease-in-out infinite;
}
@keyframes ba-wipe-clip {
  0%, 10%  { clip-path: inset(0 5% 0 0); }
  50%, 60% { clip-path: inset(0 94% 0 0); }
  100%     { clip-path: inset(0 5% 0 0); }
}
@keyframes ba-wipe-pos {
  0%, 10%  { left: 95%; }
  50%, 60% { left: 6%; }
  100%     { left: 95%; }
}

/* slider media (video or img) fills the box */
.ba video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
