/* =========================================================
   CLEAN RYDZ — Mobile Detailing & Ceramic Coating, San Diego
   Design tokens — bright / bold / clean, white + blue palette
   ========================================================= */
:root{
  --ink:        #ffffff;
  --ink-2:      #eef4ff;
  --panel:      #ffffff;
  --panel-2:    #e7f0ff;
  --line:       rgba(11,38,84,0.12);
  --cyan:       #05b7d6;
  --blue:       #0b5fff;
  --indigo:     #3d3df0;
  --chrome:     #071534;
  --steel:      #47577a;
  --steel-dim:  #8291b3;
  --amber:      #ff8a1e;
  --amber-2:    #ff5b1e;
  --grad-shine: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 55%, var(--indigo) 100%);
  --grad-panel: linear-gradient(160deg, rgba(5,183,214,0.07), rgba(61,61,240,0.05));
  --shadow-lg:  0 30px 60px -20px rgba(11,38,84,0.22);
  --shadow-sm:  0 10px 24px -14px rgba(11,38,84,0.16);
  --radius:     16px;
  --radius-sm:  10px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, monospace;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--ink);
  color:var(--chrome);
  font-family:var(--font-body);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  text-transform:uppercase;
  letter-spacing:0.02em;
  font-weight:700;
  margin:0 0 0.5em;
  color:var(--chrome);
}
h1{ font-size:clamp(2.4rem,6vw,4.6rem); line-height:1.03; font-weight:700; }
h2{ font-size:clamp(1.8rem,3.6vw,2.8rem); line-height:1.1; }
h2 em, h1 em{
  font-style:normal;
  background:var(--grad-shine);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
h3{ font-size:clamp(1.15rem,2vw,1.5rem); }
p{ margin:0 0 1em; color:var(--steel); }
.container{ max-width:1180px; margin:0 auto; padding:0 24px; }
.eyebrow{
  font-family:var(--font-mono);
  text-transform:uppercase;
  letter-spacing:0.22em;
  font-size:0.72rem;
  font-weight:600;
  color:var(--blue);
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:22px; height:3px;
  background:var(--grad-shine); border-radius:2px;
  display:inline-block;
}
:focus-visible{ outline:2px solid var(--blue); outline-offset:3px; }

/* =========== Buttons =========== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--font-display);
  text-transform:uppercase;
  letter-spacing:0.05em;
  font-size:0.92rem;
  font-weight:600;
  padding:14px 26px;
  border-radius:999px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--grad-shine);
  color:#ffffff;
  box-shadow:0 12px 26px -8px rgba(11,95,255,0.45);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 18px 32px -8px rgba(11,95,255,0.55); }
.btn-ghost{
  background:#fff;
  color:var(--chrome);
  border-color:rgba(7,21,52,0.2);
}
.btn-ghost:hover{ border-color:var(--blue); color:var(--blue); background:var(--ink-2); }
.btn-amber{
  background:linear-gradient(100deg,var(--amber),var(--amber-2));
  color:#fff;
  box-shadow:0 12px 24px -10px rgba(255,91,30,0.5);
}
.btn-amber:hover{ transform:translateY(-2px); }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 18px; font-size:0.8rem; }

/* =========== Header / Nav =========== */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:500;
  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid var(--line);
  transition:background .3s ease;
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 24px;
  max-width:1280px; margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:44px; width:auto; }
.brand-name{ font-family:var(--font-display); font-size:1.05rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--chrome); }
.brand-name small{ display:block; font-family:var(--font-body); text-transform:none; letter-spacing:0; font-size:0.68rem; color:var(--steel); font-weight:500; }

.nav-links{ display:flex; align-items:center; gap:6px; }
.nav-links a{
  padding:10px 14px; font-size:0.85rem; font-weight:700;
  text-transform:uppercase; letter-spacing:0.04em;
  color:var(--steel); border-radius:8px;
  transition:color .2s ease, background .2s ease;
  position:relative;
}
.nav-links a:hover, .nav-links a.active{ color:var(--blue); background:var(--ink-2); }
.nav-links a.active::after{
  content:""; position:absolute; left:14px; right:14px; bottom:3px; height:3px;
  background:var(--grad-shine); border-radius:2px;
}
.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-phone{ display:flex; align-items:center; gap:8px; font-family:var(--font-mono); font-size:0.85rem; color:var(--chrome); font-weight:600; }
.nav-phone svg{ width:16px; height:16px; stroke:var(--blue); }

.menu-toggle{
  display:none; background:#fff; border:1px solid var(--line); border-radius:8px;
  width:42px; height:42px; color:var(--chrome); cursor:pointer;
}
.menu-toggle span{ display:block; width:20px; height:2px; background:var(--chrome); margin:4px auto; transition:transform .25s ease, opacity .25s ease; }

@media (max-width:960px){
  .nav-links{
    position:fixed; inset:64px 0 0 0; flex-direction:column; align-items:stretch;
    background:#ffffff; padding:20px 24px; gap:2px;
    transform:translateY(-12px); opacity:0; pointer-events:none; transition:all .25s ease;
  }
  .nav-links.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
  .nav-links a{ padding:16px 10px; border-bottom:1px solid var(--line); border-radius:0; }
  .nav-phone{ display:none; }
  .menu-toggle{ display:block; }
}

/* =========== Hero =========== */
.hero{
  position:relative;
  padding:170px 0 110px;
  overflow:hidden;
  isolation:isolate;
}
.hero::before{
  content:"";
  position:absolute; inset:0; z-index:-2;
  background:
    radial-gradient(1100px 620px at 12% -12%, rgba(11,95,255,0.14), transparent 60%),
    radial-gradient(900px 560px at 102% 4%, rgba(5,183,214,0.16), transparent 55%),
    var(--ink);
}
.hero::after{
  content:"";
  position:absolute; inset:0; z-index:-1;
  background-image:
    linear-gradient(rgba(11,38,84,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,38,84,0.05) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:radial-gradient(700px 500px at 20% 20%, black, transparent 70%);
}
/* Signature element: bold "speed stripe" sweep, echoing a racing livery / foam-cannon pass */
.shine-sweep{
  position:absolute; top:0; bottom:0; width:26%;
  background:linear-gradient(100deg, transparent, rgba(11,95,255,0.10), rgba(5,183,214,0.16), transparent);
  transform:translateX(-160%) skewX(-14deg);
  animation:sweep 5.5s ease-in-out infinite;
  animation-delay:1.4s;
  pointer-events:none;
  z-index:2;
}
@keyframes sweep{
  0%{ transform:translateX(-160%) skewX(-14deg); }
  30%{ transform:translateX(340%) skewX(-14deg); }
  100%{ transform:translateX(340%) skewX(-14deg); }
}

.hero-grid{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:center; }
.hero-copy p.lead{ font-size:1.08rem; max-width:46ch; }
.hero-badges{ display:flex; flex-wrap:wrap; gap:10px; margin:22px 0 30px; }
.hero-badge{
  display:flex; align-items:center; gap:8px;
  background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-sm);
  padding:9px 14px; border-radius:999px; font-size:0.8rem; font-weight:600; color:var(--chrome);
}
.hero-badge svg{ width:15px; height:15px; stroke:var(--blue); flex-shrink:0; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; }
.hero-stats{ display:flex; gap:32px; margin-top:40px; }
.hero-stat b{ display:block; font-family:var(--font-display); font-size:1.9rem; color:var(--blue); }
.hero-stat span{ font-size:0.78rem; color:var(--steel); text-transform:uppercase; letter-spacing:0.06em; font-weight:600; }

.hero-visual{ position:relative; }
.hero-card{
  background:var(--grad-panel), var(--panel);
  border:1px solid var(--line); border-radius:var(--radius);
  padding:26px; box-shadow:var(--shadow-lg); position:relative; overflow:hidden;
}
.hero-card::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(120deg, transparent 40%, rgba(5,183,214,0.14) 50%, transparent 60%);
  transform:translateX(-100%);
  animation:sweep 5.5s ease-in-out infinite; animation-delay:2s;
}
.hero-card img{ border-radius:12px; }
.hero-card .caption{ display:flex; justify-content:space-between; align-items:center; margin-top:16px; }
.hero-card .caption span{ color:var(--steel); font-size:0.85rem; }
.hero-card .caption b{ font-family:var(--font-mono); color:var(--blue); font-size:0.95rem; }

/* Logo intro overlay */
.intro-overlay{
  position:fixed; inset:0; z-index:2000; background:#ffffff;
  display:flex; align-items:center; justify-content:center;
  transition:opacity .6s ease, visibility .6s ease;
}
.intro-overlay.hide{ opacity:0; visibility:hidden; }
.intro-logo{ width:200px; opacity:0; animation:intro-in 1.1s ease forwards .15s; filter:drop-shadow(0 6px 30px rgba(11,95,255,0.25)); }
.intro-ring{
  position:absolute; width:260px; height:260px; border-radius:50%;
  border:2px solid rgba(11,95,255,0.3);
  animation:ring-pulse 1.8s ease-out infinite;
}
@keyframes intro-in{
  0%{ opacity:0; transform:scale(0.82) translateY(8px); }
  60%{ opacity:1; }
  100%{ opacity:1; transform:scale(1) translateY(0); }
}
@keyframes ring-pulse{
  0%{ transform:scale(0.7); opacity:0.8; }
  100%{ transform:scale(1.35); opacity:0; }
}

/* =========== Sections =========== */
section{ padding:96px 0; position:relative; }
.section-head{ max-width:640px; margin:0 0 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Service cards grid */
.services-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.service-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:26px 22px; position:relative; overflow:hidden; display:block;
  box-shadow:var(--shadow-sm);
  transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service-card:hover{ transform:translateY(-6px); border-color:var(--blue); box-shadow:var(--shadow-lg); }
.service-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background:var(--grad-shine); opacity:0; transition:opacity .3s ease;
}
.service-card:hover::before{ opacity:1; }
.service-icon{
  width:46px; height:46px; border-radius:12px; margin-bottom:16px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(140deg, rgba(5,183,214,0.14), rgba(61,61,240,0.12));
  border:1px solid var(--line);
}
.service-icon svg{ width:22px; height:22px; stroke:var(--blue); }
.service-card h3{ margin-bottom:8px; }
.service-card p{ font-size:0.92rem; margin-bottom:14px; }
.service-card .from{ font-family:var(--font-mono); color:var(--blue); font-size:0.95rem; font-weight:700; }
.service-card .more{ font-size:0.8rem; color:var(--steel); display:inline-flex; align-items:center; gap:6px; margin-top:10px; font-weight:600; }
.service-card:hover .more{ color:var(--blue); }
.service-card .more svg{ width:14px; height:14px; stroke:currentColor; }

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

/* Pricing */
.pricing-tabs{ display:flex; gap:10px; margin-bottom:34px; flex-wrap:wrap; }
.tab-btn{
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:0.04em;
  background:#fff; border:1px solid var(--line); color:var(--steel);
  padding:11px 20px; border-radius:999px; cursor:pointer; font-size:0.85rem; font-weight:600;
  transition:all .2s ease;
}
.tab-btn.active, .tab-btn:hover{ color:#fff; background:var(--grad-shine); border-color:transparent; }

.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:900px){ .pricing-grid{ grid-template-columns:1fr; } }

.price-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:0; overflow:hidden; display:flex; flex-direction:column;
  box-shadow:var(--shadow-sm);
  transition:border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.price-card:hover{ border-color:var(--blue); transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.price-card .pc-head{ padding:24px 24px 18px; border-bottom:1px solid var(--line); position:relative; }
.price-card .pc-head.featured{ background:linear-gradient(160deg, rgba(5,183,214,0.10), rgba(61,61,240,0.06)); }
.badge-pop{
  position:absolute; top:-1px; right:20px; background:linear-gradient(100deg,var(--amber),var(--amber-2));
  color:#fff; font-family:var(--font-mono); font-size:0.65rem; text-transform:uppercase; letter-spacing:0.08em;
  padding:5px 10px; border-radius:0 0 8px 8px; font-weight:700;
}
.pc-vehicle{ font-size:0.78rem; color:var(--steel); text-transform:uppercase; letter-spacing:0.08em; font-weight:700; }
.pc-price{ font-family:var(--font-mono); font-size:2.1rem; color:var(--blue); margin:6px 0 2px; font-weight:600; }
.pc-price span{ font-size:0.95rem; color:var(--steel); }
.price-card .pc-body{ padding:22px 24px; flex:1; display:flex; flex-direction:column; }
.pc-list{ margin:0 0 22px; flex:1; }
.pc-list li{ display:flex; align-items:flex-start; gap:10px; font-size:0.88rem; color:var(--steel); padding:6px 0; }
.pc-list li svg{ width:15px; height:15px; stroke:var(--blue); margin-top:2px; flex-shrink:0; }

/* Process timeline */
.process{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; counter-reset:step; }
.process-step{ position:relative; padding:28px 20px 20px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); }
.process-step .num{
  font-family:var(--font-mono); font-size:0.78rem; color:var(--blue); font-weight:700;
  display:block; margin-bottom:10px; letter-spacing:0.08em;
}
@media (max-width:900px){ .process{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .process{ grid-template-columns:1fr; } }

/* Testimonials marquee */
.marquee-wrap{ overflow:hidden; mask-image:linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee{ display:flex; gap:20px; width:max-content; animation:marquee 34s linear infinite; }
.marquee:hover{ animation-play-state:paused; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.testi-card{
  width:340px; flex-shrink:0; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); padding:24px; box-shadow:var(--shadow-sm);
}
.testi-stars{ color:var(--amber); letter-spacing:2px; margin-bottom:10px; font-size:0.9rem; }
.testi-card p{ font-size:0.92rem; color:var(--chrome); opacity:0.85; }
.testi-name{ font-family:var(--font-mono); font-size:0.78rem; color:var(--steel); font-weight:600; }

/* Service area */
.area-chips{ display:flex; flex-wrap:wrap; gap:10px; }
.area-chips span{
  background:#fff; border:1px solid var(--line); padding:8px 16px;
  border-radius:999px; font-size:0.82rem; color:var(--steel); font-weight:600; box-shadow:var(--shadow-sm);
}
.radius-note{
  display:flex; gap:14px; align-items:flex-start; background:var(--panel-2); border:1px solid var(--line);
  border-radius:var(--radius); padding:20px 22px; margin-top:26px;
}
.radius-note svg{ width:22px; height:22px; stroke:var(--amber-2); flex-shrink:0; margin-top:2px; }
.radius-note p{ margin:0; font-size:0.9rem; }
.radius-note a{ font-weight:700; }

/* Lead form */
.lead-section{ background:var(--ink-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.lead-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
@media (max-width:900px){ .lead-grid{ grid-template-columns:1fr; } }
.lead-form{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow-lg); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:520px){ .form-row{ grid-template-columns:1fr; } }
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:0.78rem; text-transform:uppercase; letter-spacing:0.06em; color:var(--steel); margin-bottom:6px; font-weight:700; }
.field input, .field select, .field textarea{
  width:100%; background:var(--ink-2); border:1px solid var(--line); border-radius:8px;
  padding:12px 14px; color:var(--chrome); font-family:var(--font-body); font-size:0.92rem;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--blue); outline:none; background:#fff; }
.field textarea{ resize:vertical; min-height:90px; }
.form-note{ font-size:0.78rem; color:var(--steel-dim); margin-top:12px; }
.form-success{ display:none; background:rgba(5,183,214,0.08); border:1px solid rgba(5,183,214,0.4); border-radius:10px; padding:16px; font-size:0.9rem; color:var(--chrome); margin-top:14px; }
.form-success.show{ display:block; }

/* FAQ */
.faq-item{ border-bottom:1px solid var(--line); padding:20px 0; }
.faq-q{ display:flex; justify-content:space-between; align-items:center; cursor:pointer; gap:20px; }
.faq-q h4{ margin:0; font-family:var(--font-body); text-transform:none; letter-spacing:0; font-size:1.02rem; font-weight:700; }
.faq-q svg{ width:18px; height:18px; stroke:var(--blue); flex-shrink:0; transition:transform .25s ease; }
.faq-item.open .faq-q svg{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; font-size:0.92rem; }
.faq-item.open .faq-a{ max-height:300px; padding-top:12px; }

/* CTA band */
.cta-band{
  background:linear-gradient(120deg, rgba(5,183,214,0.10), rgba(61,61,240,0.10)), var(--ink-2);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  text-align:center; padding:80px 0;
}
.cta-band h2{ margin-bottom:14px; }
.cta-band p{ max-width:520px; margin-left:auto; margin-right:auto; }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:26px; }

/* Page hero (interior pages) */
.page-hero{ padding:150px 0 60px; position:relative; }
.page-hero::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:radial-gradient(900px 520px at 85% -10%, rgba(11,95,255,0.14), transparent 60%), var(--ink);
}
.breadcrumb{ font-family:var(--font-mono); font-size:0.75rem; color:var(--steel-dim); margin-bottom:16px; font-weight:600; }
.breadcrumb a:hover{ color:var(--blue); }

/* Footer */
.site-footer{ background:var(--panel-2); border-top:1px solid var(--line); padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h4{ font-size:0.8rem; letter-spacing:0.08em; color:var(--chrome); margin-bottom:16px; font-weight:700; }
.footer-grid ul li{ margin-bottom:10px; }
.footer-grid ul li a{ color:var(--steel); font-size:0.9rem; }
.footer-grid ul li a:hover{ color:var(--blue); }
.footer-brand p{ max-width:34ch; font-size:0.88rem; }
.footer-social{ display:flex; gap:12px; margin-top:16px; }
.footer-social a{ width:36px; height:36px; border:1px solid var(--line); border-radius:8px; display:flex; align-items:center; justify-content:center; background:#fff; }
.footer-social a:hover{ border-color:var(--blue); }
.footer-social svg{ width:16px; height:16px; stroke:var(--steel); }
.footer-bottom{ border-top:1px solid var(--line); padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:0.78rem; color:var(--steel-dim); }

/* =========== Chat widget =========== */
.chat-launcher{
  position:fixed; bottom:24px; right:24px; z-index:900;
  width:64px; height:64px; border-radius:50%;
  background:var(--grad-shine); border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px -8px rgba(11,95,255,0.5);
  animation:float-btn 3.2s ease-in-out infinite;
}
@keyframes float-btn{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-6px); } }
.chat-launcher svg{ width:26px; height:26px; stroke:#ffffff; }
.chat-launcher .ping{
  position:absolute; top:-4px; right:-4px; width:16px; height:16px; border-radius:50%;
  background:var(--amber); border:2px solid #fff;
}
.chat-panel{
  position:fixed; bottom:100px; right:24px; z-index:900;
  width:360px; max-width:calc(100vw - 32px); height:min(520px, 70vh);
  background:#fff; border:1px solid var(--line); border-radius:18px;
  box-shadow:var(--shadow-lg); display:flex; flex-direction:column; overflow:hidden;
  transform:translateY(16px) scale(0.97); opacity:0; pointer-events:none;
  transition:all .25s ease;
}
.chat-panel.open{ transform:translateY(0) scale(1); opacity:1; pointer-events:auto; }
.chat-head{
  background:var(--grad-shine); padding:16px 18px; display:flex; align-items:center; gap:10px; color:#ffffff;
}
.chat-head img{ width:32px; height:32px; border-radius:50%; background:#fff; padding:3px; }
.chat-head b{ font-family:var(--font-display); font-size:0.95rem; text-transform:uppercase; }
.chat-head span{ display:block; font-size:0.72rem; opacity:0.9; }
.chat-close{ margin-left:auto; background:rgba(255,255,255,0.25); border:none; width:28px; height:28px; border-radius:50%; cursor:pointer; color:#fff; }
.chat-body{ flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:10px; background:var(--ink-2); }
.msg{ max-width:85%; padding:10px 13px; border-radius:14px; font-size:0.86rem; line-height:1.45; }
.msg.bot{ background:#fff; border:1px solid var(--line); align-self:flex-start; border-bottom-left-radius:4px; color:var(--chrome); }
.msg.user{ background:var(--grad-shine); color:#fff; align-self:flex-end; border-bottom-right-radius:4px; font-weight:600; }
.chat-choices{ display:flex; flex-wrap:wrap; gap:8px; margin-top:2px; }
.chat-choices button{
  background:#fff; border:1px solid var(--line); color:var(--chrome);
  padding:8px 12px; border-radius:999px; font-size:0.78rem; cursor:pointer; transition:all .2s ease; font-weight:600;
}
.chat-choices button:hover{ border-color:var(--blue); color:var(--blue); }
.chat-input-row{ padding:12px; border-top:1px solid var(--line); display:flex; gap:8px; background:#fff; }
.chat-input-row input{
  flex:1; background:var(--ink-2); border:1px solid var(--line); border-radius:999px;
  padding:10px 14px; color:var(--chrome); font-size:0.85rem;
}
.chat-input-row button{
  background:var(--grad-shine); border:none; width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; cursor:pointer; flex-shrink:0;
}
.chat-input-row button svg{ width:16px; height:16px; stroke:#ffffff; }
.typing{ display:flex; gap:4px; padding:6px 0; }
.typing span{ width:6px; height:6px; border-radius:50%; background:var(--steel); animation:typing 1s infinite ease-in-out; }
.typing span:nth-child(2){ animation-delay:.15s; }
.typing span:nth-child(3){ animation-delay:.3s; }
@keyframes typing{ 0%,60%,100%{ transform:translateY(0); opacity:.5; } 30%{ transform:translateY(-4px); opacity:1; } }

@media (max-width:520px){
  .chat-panel{ right:16px; left:16px; width:auto; bottom:92px; }
  .chat-launcher{ right:16px; }
}

/* reveal on scroll */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
  .shine-sweep, .hero-card::before{ display:none; }
}

@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero{ padding:150px 0 80px; }
  .lead-grid{ gap:36px; }
}

/* =========================================================
   FUTURISTIC ENHANCEMENTS — photos, particles, scan lines, tilt
   ========================================================= */

/* Hero photo now real image; keep consistent frame + scan sweep */
.hero-card img{ width:100%; height:280px; object-fit:cover; border-radius:12px; }
.hero-card{ position:relative; }
.photo-scan{
  position:absolute; inset:0; border-radius:12px; pointer-events:none; overflow:hidden;
}
.photo-scan::before{
  content:""; position:absolute; top:0; bottom:0; width:30%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,0.5), rgba(5,183,214,0.35), transparent);
  transform:translateX(-160%) skewX(-16deg);
  animation:sweep 6s ease-in-out infinite; animation-delay:2.4s;
  mix-blend-mode:overlay;
}

/* Floating particle field in hero — pure CSS, GPU-cheap */
.hero::before{ z-index:-2; }
.particle-field{ position:absolute; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
.particle-field span{
  position:absolute; border-radius:50%;
  background:radial-gradient(circle, rgba(11,95,255,0.5), rgba(5,183,214,0.15) 60%, transparent 70%);
  animation:drift linear infinite;
  opacity:0.6;
}
@keyframes drift{
  0%{ transform:translateY(0) translateX(0); }
  50%{ transform:translateY(-40px) translateX(14px); }
  100%{ transform:translateY(0) translateX(0); }
}

/* Photo gallery — hover zoom + tilt + gradient overlay */
.gallery-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:1080px){ .gallery-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .gallery-grid{ grid-template-columns:1fr; } }
.gallery-card{
  position:relative; display:block; border-radius:var(--radius); overflow:hidden;
  aspect-ratio:6/7; box-shadow:var(--shadow-sm); border:1px solid var(--line);
  transform-style:preserve-3d; transition:transform .4s ease, box-shadow .4s ease;
  will-change:transform;
}
.gallery-card:hover{ box-shadow:var(--shadow-lg); transform:translateY(-6px) scale(1.01); }
.gallery-card img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .6s ease, filter .6s ease;
}
.gallery-card:hover img{ transform:scale(1.09); filter:saturate(1.12); }
.gallery-overlay{
  position:absolute; inset:0; display:flex; align-items:flex-end; justify-content:space-between; gap:10px;
  padding:18px; color:#fff; font-family:var(--font-display); text-transform:uppercase; letter-spacing:0.04em; font-size:0.92rem;
  background:linear-gradient(0deg, rgba(7,21,52,0.82) 0%, rgba(7,21,52,0.15) 55%, transparent 100%);
}
.gallery-overlay svg{ width:18px; height:18px; stroke:#fff; flex-shrink:0; transition:transform .3s ease; }
.gallery-card:hover .gallery-overlay svg{ transform:translateX(4px); }
.gallery-card::after{
  content:""; position:absolute; inset:0; border-radius:var(--radius);
  background:linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.35) 48%, transparent 60%);
  transform:translateX(-140%) skewX(-14deg); pointer-events:none;
}
.gallery-card:hover::after{ animation:sweep 1.1s ease; }

/* Service-page split hero with photo */
.page-hero-split{ padding:150px 0 70px; }
.page-hero-grid{ display:grid; grid-template-columns:1.15fr 0.85fr; gap:48px; align-items:center; }
@media (max-width:900px){ .page-hero-grid{ grid-template-columns:1fr; } }
.page-hero-copy{ max-width:none; }
.hero-photo-frame{
  position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-lg);
  border:1px solid var(--line); aspect-ratio:9/10;
}
.hero-photo-frame img{ width:100%; height:100%; object-fit:cover; display:block; }
.hero-photo-frame .photo-scan::before{ animation-delay:1.2s; }

/* Animated gradient ring accent behind photo frames (futuristic touch) */
.hero-photo-frame::before{
  content:""; position:absolute; inset:-2px; z-index:-1; border-radius:calc(var(--radius) + 2px);
  background:conic-gradient(from var(--spin, 0deg), var(--cyan), var(--blue), var(--indigo), var(--cyan));
  opacity:0.5; filter:blur(6px);
  animation:spin-glow 6s linear infinite;
}
@keyframes spin-glow{
  0%{ --spin:0deg; }
  100%{ --spin:360deg; }
}
@property --spin{ syntax:'<angle>'; inherits:false; initial-value:0deg; }

/* Number counter styling (JS toggles the counted class) */
.hero-stat b, .pc-price{ font-variant-numeric:tabular-nums; }

@media (prefers-reduced-motion: reduce){
  .particle-field span, .photo-scan::before, .gallery-card::after, .hero-photo-frame::before{ animation:none !important; }
}
