/* =========================================================
   Juan Detailing — styles.css
   Palette: white background · #09121b (secondary) · #FF8700 (accent details)
   Barlow Semi Condensed (display) · Inter (body) · Fasthand (script)
   ========================================================= */

:root {
  --bg:        #fefaf8;   /* white background (kept) */
  --surface:   #ffffff;
  --soft:      #f4f5f6;   /* neutral light gray sections */
  --ink:       #09121b;   /* secondary — text & dark UI */
  --ink-2:     #09121b;
  --muted:     #5b6470;
  --accent:    #FF8700;   /* tertiary — small details */
  --accent-d:  #e67a00;
  --accent-soft:#fff1e3;
  --dark:      #09121b;
  --dark-2:    #0f1b28;
  --line:      #e6e7e9;
  --line-dark: rgba(255,255,255,.10);
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 22px 50px rgba(9,18,27,.14);
  --maxw:      1180px;
  --head:      'Barlow Semi Condensed', system-ui, sans-serif;
  --body:      'Inter', system-ui, sans-serif;
  --script:    'Fasthand', cursive;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0; font-family: var(--body); background: var(--bg); color: var(--ink);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 860px; }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.02; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--head); font-weight: 700; font-size: 1.05rem; letter-spacing: .3px;
  padding: .8rem 1.6rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { font-size: .95rem; padding: .55rem 1.1rem; }
.btn-lg { font-size: 1.18rem; padding: .95rem 1.9rem; }
.btn-block { width: 100%; }

/* Primary CTA — accent orange */
.btn-yellow { background: var(--accent); color: var(--ink); box-shadow: 0 8px 22px rgba(255,135,0,.4); }
.btn-yellow:hover { transform: translateY(-2px); background: var(--accent-d); box-shadow: 0 12px 28px rgba(255,135,0,.5); }
/* Secondary — navy */
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #11202f; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-whatsapp { background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgba(9,18,27,.3); }
.btn-whatsapp:hover { transform: translateY(-2px); background: #11202f; }

/* ---------- Header (floating glass pill) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0; background: transparent; pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 1.2rem; height: 62px;
  padding: 0 .9rem 0 1.1rem;
  background: rgba(254,250,248,.5);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(9,18,27,.12);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled .header-inner {
  background: rgba(254,250,248,.74);
  box-shadow: 0 12px 34px rgba(9,18,27,.16);
}

.brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: var(--ink);
  background: var(--accent); border-radius: 11px; box-shadow: 0 6px 16px rgba(255,135,0,.35);
}
.brand-logo { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; display: block; flex-shrink: 0; }
.brand-text { font-family: var(--head); font-weight: 800; font-size: 1.5rem; line-height: .85; letter-spacing: .5px; color: var(--ink); }
.brand-text small { display: block; font-family: var(--body); font-weight: 600; font-size: .56rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; gap: 1.8rem; margin: 0 auto; }
.nav a { font-weight: 600; color: var(--ink-2); font-size: 1rem; transition: color .15s; }
.nav a:hover { color: var(--accent); }

.header-right { display: flex; align-items: center; gap: .9rem; }
.q-short { display: none; }   /* desktop: el botón muestra "Get a Quote"; en móvil cambia a "Quote" */
.header-phone { display: inline-flex; align-items: center; gap: .6rem; }
.phone-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.phone-txt { display: flex; flex-direction: column; line-height: 1.1; }
.phone-txt small { font-size: .72rem; color: var(--muted); }
.phone-txt strong { font-family: var(--head); font-weight: 700; font-size: 1.1rem; color: var(--ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .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); }

/* ---------- Hero (full screen) ---------- */
.hero {
  position: relative; width: 100%;
  min-height: clamp(600px, 100svh, 1000px);
  display: flex; overflow: hidden; text-align: center;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; background: var(--ink); }
/* Dark scrim so white hero text stays legible over the video */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(9,18,27,.6) 0%, rgba(9,18,27,.15) 32%, rgba(9,18,27,.25) 62%, rgba(9,18,27,.75) 100%);
}
.hero-content {
  position: relative; z-index: 2; width: 100%;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 116px 22px clamp(2.2rem, 5vw, 3.4rem);
}
.hero-top { display: flex; flex-direction: column; align-items: center; }
.hero-rating { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 600; font-size: .95rem; margin-bottom: 1rem; }
.hero-rating .stars { color: var(--accent); letter-spacing: 2px; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 800; letter-spacing: -1px; color: #fff; filter: drop-shadow(0 2px 12px rgba(0,0,0,.5)); }
/* Cascade text reveal (ported from cascade-text.tsx) — each char rolls up to a duplicate, staggered */
.hero-title.cascade { --ch: 1em; transition: color .35s ease; }
.hero-title.cascade.is-active { color: var(--accent); }
.cascade .c-word { display: inline-block; white-space: nowrap; }
.cascade .c-char { display: inline-block; overflow: hidden; height: var(--ch); line-height: 1; vertical-align: bottom; }
.cascade .c-inner { display: inline-block; will-change: transform; text-shadow: 0 var(--ch) currentColor; transform: translateY(0); transition: transform 260ms ease-in-out; }
.hero-title.cascade.is-active .c-char .c-inner { transform: translateY(calc(-1 * var(--ch))); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-soft { background: var(--soft); }
.section-transform { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.center-title { text-align: center; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -.5px; margin-bottom: 2.4rem; }
.center-sub { text-align: center; color: var(--muted); max-width: 620px; margin: -1.6rem auto 2.6rem; }

/* ---------- Main services (2 image cards) ---------- */
.main-services { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.ms-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--shadow); display: block; }
.ms-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ms-card:hover img { transform: scale(1.05); }
.ms-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(9,18,27,.82)); }
.ms-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.6rem; display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.ms-overlay h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; text-transform: uppercase; }

/* ---------- Transform / about ---------- */
.transform-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.transform-copy h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.5px; margin-bottom: 1rem; }
.transform-copy p { color: var(--muted); margin: 0 0 1rem; }
.transform-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.transform-copy strong { color: var(--ink); }
.ba-eyebrow { display: inline-block; font-family: var(--head); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-size: .85rem; margin-bottom: .4rem; }

/* ---------- Before / After slider ---------- */
.ba {
  --pos: 50%; --divider-opacity: 1;
  position: relative; width: 100%; aspect-ratio: 16/10; border-radius: var(--radius);
  overflow: hidden; background: var(--soft); user-select: none; touch-action: none;
  cursor: ew-resize; box-shadow: var(--shadow);
}
.ba__base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba__before { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 calc(100% - var(--pos)) 0 0); pointer-events: none; }
.ba__before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after-mask { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 var(--pos)); pointer-events: none; }
.ba__label { position: absolute; top: 14px; padding: 6px 14px; font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; border-radius: 999px; pointer-events: none; z-index: 3; white-space: nowrap; }
.ba__label--before { left: 14px; background: rgba(9,18,27,.78); backdrop-filter: blur(6px); color: #fff; }
.ba__label--after { right: 14px; background: var(--accent); color: var(--ink); box-shadow: 0 4px 14px rgba(255,135,0,.5); }
.ba__divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; box-shadow: 0 0 14px rgba(255,255,255,.7); transform: translateX(-1px); pointer-events: none; z-index: 4; opacity: var(--divider-opacity); transition: opacity .15s ease; }
.ba__handle {
  position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%);
  width: 78px; height: 40px; border-radius: 999px; background: var(--ink); color: #fff; border: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: ew-resize;
  box-shadow: 0 10px 28px rgba(9,18,27,.45); z-index: 5; transition: transform .15s, background .15s;
}
.ba__handle:hover { background: var(--accent); color: var(--ink); transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 10px 28px rgba(255,135,0,.5); }

.ba-meta { margin-top: 1.1rem; }
.ba-meta h3 { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; }
.ba-meta p { color: var(--muted); margin: .2rem 0 0; }

.ba-select { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.ba-chip {
  font-family: var(--head); font-weight: 700; font-size: .95rem; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem;
  cursor: pointer; transition: .2s;
}
.ba-chip:hover { border-color: var(--accent); color: var(--accent); }
.ba-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Tabs + packages ---------- */
.tabs-wrap { display: flex; justify-content: center; margin-bottom: 2.4rem; }
.tabs { display: inline-flex; gap: .3rem; padding: .35rem; background: #ececec; border-radius: 999px; }
.tab {
  font-family: var(--head); font-weight: 700; font-size: 1.02rem; color: var(--muted);
  background: transparent; border: 0; padding: .6rem 1.4rem; border-radius: 999px; cursor: pointer; transition: .2s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--accent); color: var(--ink); box-shadow: 0 6px 16px rgba(255,135,0,.35); }

.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
.pkg {
  background: var(--dark); color: #fff; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow);
}
.pkg.featured { outline: 3px solid var(--accent); }
.pkg-photo { position: relative; aspect-ratio: 16/8; overflow: hidden; }
.pkg-photo img { width: 100%; height: 100%; object-fit: cover; }
.pkg-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(9,18,27,.9)); }
.pkg-head { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.1rem 1.3rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; }
.pkg-head h3 { color: #fff; font-size: 1.7rem; font-weight: 800; text-transform: uppercase; line-height: 1; }
.pkg-label { font-family: var(--script); font-size: 1.7rem; line-height: .9; color: var(--accent); }

.pkg-body { padding: 1.3rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.pkg-price { font-family: var(--head); font-weight: 800; font-size: 1.3rem; color: var(--accent); }
.pkg-price small { display: block; font-family: var(--body); font-weight: 500; font-size: .72rem; color: rgba(255,255,255,.55); }
.pkg-col h4 { font-size: 1.2rem; text-transform: uppercase; color: #fff; margin-bottom: .5rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line-dark); }
.pkg-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.pkg-col li { position: relative; padding-left: 1.6rem; font-size: .9rem; color: rgba(255,255,255,.82); }
.pkg-col li::before { content: ""; position: absolute; left: 0; top: .3em; width: 15px; height: 15px; background: var(--accent); -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat; }
.pkg .btn { margin-top: auto; }

.packages-note { text-align: center; color: var(--muted); margin-top: 2rem; font-size: .95rem; }
.packages-note em { color: var(--accent); font-style: normal; font-weight: 600; }
.packages-note a { color: var(--accent); font-weight: 600; }

/* ---------- About Us ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-copy h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.5px; margin: .3rem 0 1rem; }
.about-copy p { color: var(--muted); margin: 0 0 1rem; }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; background: var(--accent); -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat; }

/* ---------- Stat bar (navy with orange numbers) ---------- */
.statbar { background: var(--bg); }
.statbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.statbar-item { text-align: center; padding: 1.6rem 1rem; }
.statbar-item strong { display: block; font-family: var(--head); font-weight: 800; font-size: 1.8rem; color: var(--accent); line-height: 1; }
.statbar-item span { font-size: .9rem; color: var(--muted); font-weight: 600; }

/* ---------- Dark sections ---------- */
.section-dark { background: var(--dark); color: #fff; }
.section-dark.dark-alt { background: var(--dark-2); }
.dark-title { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -.5px; color: #fff; margin-bottom: 1rem; }
.dark-sub { color: rgba(255,255,255,.66); margin: 0 auto 2.4rem; max-width: 640px; }
.center { text-align: center; }

.shine-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.5); margin-bottom: 1.8rem; }
.shine-media img, .shine-media video { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.shine-media .play { position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; font-size: 1.8rem; padding-left: 5px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.shine-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }

/* ---------- Testimonials ---------- */
/* Single-row swipeable carousel (backup for the Google reviews widget) */
.testi-carousel { position: relative; overflow: hidden; }   /* recorta el track -> sin scroll libre */
.testi-track {
  display: flex; gap: 1.4rem; padding: 8px 0 16px;
  transition: transform .55s cubic-bezier(.2,.7,.2,1); will-change: transform;
}
.testi-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.95); color: var(--ink);
  font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(9,18,27,.18); transition: background .2s, color .2s, border-color .2s;
  touch-action: manipulation;   /* evita el zoom por doble-tap al pulsar rápido */
  -webkit-tap-highlight-color: transparent;
}
.testi-arrow:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.testi-prev { left: 6px; }
.testi-next { right: 6px; }
.testimonial { flex: 0 0 clamp(280px, 31%, 380px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 10px 30px rgba(9,18,27,.06); display: flex; flex-direction: column; gap: 1rem; margin: 0; }
.t-stars { color: var(--accent); letter-spacing: 2px; font-size: 1.05rem; }
.testimonial blockquote { margin: 0; color: var(--ink-2); font-size: 1.02rem; line-height: 1.6; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.t-name { font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--ink); display: flex; flex-direction: column; line-height: 1.15; }
.t-name small { font-family: var(--body); font-weight: 500; font-size: .8rem; color: var(--muted); }

/* ---------- Comparison (dark, accent-highlighted recommended column) ---------- */
.compare { max-width: 940px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); }
.compare-row { display: grid; grid-template-columns: 1.05fr 1fr 1fr; align-items: stretch; }
.compare-row > div { padding: 1rem 1.2rem; font-size: .92rem; border-top: 1px solid var(--line-dark); display: flex; align-items: center; gap: .55rem; }
.compare-row:first-child > div { border-top: 0; }
.compare-feature { font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: #fff; }
.compare-them { color: rgba(255,255,255,.55); background: rgba(255,255,255,.03); }
.compare-us { color: #fff; background: rgba(255,135,0,.12); box-shadow: inset 3px 0 0 var(--accent); }
.compare-head > div { font-family: var(--head); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; flex-direction: column; align-items: flex-start; gap: .25rem; }
.compare-head .compare-them { background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); }
.compare-head .compare-us { background: var(--accent); color: var(--ink); box-shadow: none; }
.ctag { font-family: var(--body); font-weight: 700; font-size: .62rem; letter-spacing: .5px; text-transform: uppercase; padding: .2rem .5rem; border-radius: 5px; }
.ctag.good { background: var(--ink); color: #fff; }
.ctag.bad { background: rgba(255,255,255,.15); color: rgba(255,255,255,.8); }
.compare .x { color: rgba(255,255,255,.4); font-weight: 700; }
.compare .ok { color: var(--accent); font-weight: 700; }

/* ---------- FAQ (dark) ---------- */
.faq { display: grid; gap: .8rem; }
.faq details { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--radius-sm); padding: 0 1.3rem; }
.faq details[open] { border-color: rgba(255,135,0,.5); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-family: var(--head); font-weight: 700; font-size: 1.25rem; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--accent); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: rgba(255,255,255,.66); margin: 0; padding: 0 0 1.2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact-copy h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.5px; margin-bottom: 1rem; }
.contact-copy > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; color: var(--ink); font-weight: 500; }
.contact-list svg { width: 22px; height: 22px; fill: var(--accent); flex-shrink: 0; }
.contact-list a:hover { color: var(--accent); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: grid; gap: 1.1rem; box-shadow: var(--shadow); }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-family: var(--body); font-size: 1rem; padding: .75rem .9rem; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,135,0,.2); }
.field textarea { resize: vertical; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,135,0,.2); }
.form-status { margin: 0; font-weight: 600; font-size: .95rem; min-height: 1.2em; }
.form-status.ok { color: var(--ink); }
.form-status.err { color: var(--accent); }
.form-fineprint { margin: 0; color: var(--muted); font-size: .8rem; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); padding-top: 3.5rem; position: relative; overflow: hidden; }
.brand-light .brand-text { color: #fff; }

/* Columnas superiores (centradas, con subrayado) */
.footer-cols { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 1.4rem; padding-bottom: 2.5rem; }
.footer-col { text-align: center; overflow-wrap: break-word; min-width: 0; }
.footer-col h4 { font-size: 1.2rem; text-transform: uppercase; color: #fff; margin: 0 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line-dark); display: inline-block; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-col li { font-size: .95rem; }
.footer-col a:hover { color: var(--accent); }
.footer-col .mt { margin-top: .6rem; }

/* Bloque de marca centrado (como la referencia) */
.footer-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; padding: 1rem 0 1.6rem; }
.footer-brand-center { justify-content: center; }
.footer-brand-center .brand-text { font-size: 1.8rem; }
.footer-center p { max-width: 30rem; margin: 0; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.4rem; max-width: none; font-weight: 600; }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: var(--accent); }
.fc-left { text-align: left; }
.fc-mid { text-align: center; }
.fc-right { text-align: right; }
.socials { display: flex; flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 1.6rem; margin-top: .3rem; }
.socials a { display: inline-flex; align-items: center; gap: .55rem; color: rgba(255,255,255,.8); font-weight: 600; font-size: .95rem; transition: color .2s; }
.socials a svg { flex-shrink: 0; }
.socials a:hover { color: var(--accent); }

/* Texto gigante difuminado de fondo */
.footer-watermark { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: clamp(1.3rem, 9vw, 7rem); line-height: 1; letter-spacing: -1px; text-align: center; white-space: nowrap; color: rgba(255,255,255,.05); padding: .2rem 8px; user-select: none; }
.footer-bottom { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: .3rem; padding: 1.3rem 0 88px; border-top: 1px solid var(--line-dark); font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---- Footer en PC: marca + redes a la izquierda · Company/Service Areas a la derecha ---- */
@media (min-width: 761px) {
  .footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 3rem; }
  .footer-center { order: -1; align-items: flex-start; text-align: left; padding: 0; gap: 1.1rem; max-width: 28rem; }
  .footer-center p { text-align: left; max-width: 26rem; }
  .footer-brand-center { justify-content: flex-start; }
  .footer-center .brand-text small { margin-top: 4px; }   /* espacio bajo el nombre, como el header */
  .footer-center .socials { flex-direction: column; align-items: flex-start; gap: .7rem; margin-top: .2rem; }
  .footer-cols { grid-template-columns: auto auto; gap: 3.5rem; padding-bottom: 0; align-self: flex-start; }
  .fc-left, .fc-right { text-align: left; }
  .fc-left h4, .fc-right h4 { margin-left: 0; margin-right: 0; }
}

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: transform .2s; }
.whatsapp-fab:hover { transform: scale(1.08); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .transform-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .testimonial { flex-basis: 46%; }
  .footer-cols { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); }
}
@media (max-width: 760px) {
  /* --- Header móvil (estilo PC detailing): sin menú, logo + llamar + "Quote" --- */
  .site-header { padding: 12px 14px; }            /* margen lateral del pill */
  .header-inner { justify-content: space-between; gap: .5rem; height: 56px; padding: 0 .6rem 0 .8rem; }
  .brand { min-width: 0; flex-shrink: 1; }
  .brand-logo { width: 36px; height: 36px; }      /* logo (imagen) un poco más chico */
  .brand-text { font-size: 1.2rem; }              /* mantiene "car detailing" debajo */
  .brand-text small { margin-top: 3px; }          /* un poco más de espacio bajo JUAN */
  .nav { display: none; }                         /* sin menú desplegable */
  .nav-toggle { display: none; }                  /* sin hamburguesa */
  .header-phone .phone-txt { display: none; }     /* botón de llamar: solo el icono */
  .phone-ico { width: 36px; height: 36px; }
  .header-right { margin-left: 0; gap: .5rem; flex-shrink: 0; }
  .header-quote { display: inline-flex; padding: .5rem .9rem; font-size: .9rem; }  /* botón compacto */
  .q-full { display: none; }                      /* en móvil dice "Quote" */
  .q-short { display: inline; }
  .hero-content { padding-bottom: 6.5rem; }       /* sube los botones del hero para no chocar con el WhatsApp */
  .ba-select { display: grid; grid-template-columns: 1fr 1fr; }  /* selector antes/después en 2x2 */
  .ba-meta p { min-height: 3.2em; }               /* reserva 2 líneas para que no salten los botones */
  /* pares de botones en una sola línea (como los del hero) */
  .transform-actions, .shine-actions { display: flex; flex-wrap: nowrap; justify-content: center; gap: .7rem; }
  .transform-actions .btn, .shine-actions .btn { padding: .7rem 1rem; font-size: .92rem; white-space: nowrap; }
  .main-services { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .testimonial { flex-basis: 80%; }   /* 1 tarjeta centrada con asomos a los lados */
  .statbar-inner { grid-template-columns: 1fr 1fr; }
  .compare-head > div { font-size: 1.05rem; align-items: center; text-align: center; }  /* badges/títulos centrados */
  .compare-row > div { padding: .8rem; font-size: .82rem; overflow-wrap: break-word; }   /* evita que se corten palabras largas */
  .vs-brand { display: block; }   /* el nombre de marca baja a una segunda línea */
  /* 1ª columna más estrecha -> más espacio para las 2 columnas comparadas (alineadas) */
  .compare-row { grid-template-columns: minmax(0,0.7fr) minmax(0,1fr) minmax(0,1fr); }
  /* divisores rectos y continuos entre columnas */
  .compare-them { border-left: 1px solid rgba(255,255,255,.14); }
  .compare-us { border-left: 2px solid var(--accent); box-shadow: none; }
  /* badge en 1 sola línea -> "NOT RECOMMENDED" no salta y los títulos alinean */
  .ctag { white-space: nowrap; font-size: .5rem; padding: .2rem .38rem; letter-spacing: .2px; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 1rem; }
  .footer-col h4 { font-size: .92rem; letter-spacing: .2px; }
  .footer-col li { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
