/* ============ EL MONTE AUTO DETAILING — demo site (dark / metallic) ============ */
:root {
  --bg: #0a0d13;
  --bg2: #10141c;
  --bg3: #161c27;
  --steel: #4aa8de;
  --steel-light: #9fd2f2;
  --silver: #c9d4e0;
  --text: #eef2f7;
  --muted: #9aa7ba;
  --line: #232c3d;
  --accent: var(--steel);
  --radius: 10px;
  --font-display: 'Oswald', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { width: min(1100px, 92%); margin: 0 auto; }
.steel { color: var(--steel); }
.ig-icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem 4%;
  background: rgba(10, 13, 19, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 8px;
  background: linear-gradient(135deg, var(--steel), #2b6ea3);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; flex: none;
}
.brand-name { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .1em; line-height: 1; font-weight: 600; color: var(--text); }
.brand-name em { font-style: normal; color: var(--steel); }

.site-nav { display: none; gap: 1.4rem; }
.site-nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.site-nav a:hover { color: var(--steel-light); }

.menu-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--text); display: block; transition: .25s; }

@media (max-width: 860px) {
  .site-header .btn-sm { display: none; }
  .site-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg2); padding: 1.2rem 4% 1.5rem;
    border-bottom: 1px solid var(--line); gap: 1rem;
  }
  .site-nav.open a { font-size: 1.05rem; }
}
@media (min-width: 861px) {
  .site-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  text-decoration: none; font-weight: 700; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 6px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-accent { background: linear-gradient(180deg, #5db4e6, #2b7fbb); color: #fff; box-shadow: 0 4px 18px rgba(74, 168, 222, .3); text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.btn-accent:hover { box-shadow: 0 6px 26px rgba(74, 168, 222, .5); }
.btn-ghost { border-color: var(--steel); color: var(--steel-light); background: rgba(74, 168, 222, .08); }
.btn-ghost:hover { background: rgba(74, 168, 222, .18); }
.btn-lg { font-size: 1.1rem; padding: 1rem 2rem; }
.btn-sm { font-size: .88rem; padding: .6rem 1.1rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('images/hero-pulido.jpg') center 30% / cover no-repeat; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,13,19,.55) 0%, rgba(10,13,19,.35) 40%, rgba(10,13,19,.96) 100%),
              linear-gradient(90deg, rgba(10,13,19,.8) 0%, rgba(10,13,19,.15) 70%);
}
.hero-content { position: relative; z-index: 2; width: min(1100px, 92%); margin: 0 auto; padding: 5rem 0 4rem; }
.hero-kicker {
  color: var(--steel-light); font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  font-size: .8rem; margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(3rem, 11vw, 5.6rem);
  line-height: 1.02; letter-spacing: .04em; margin-bottom: 1rem; font-weight: 600;
  text-shadow: 0 4px 30px rgba(0,0,0,.7);
}
.hero h1 .steel { color: var(--steel-light); }
.hero-tagline { font-size: 1.15rem; color: var(--silver); max-width: 34rem; margin-bottom: 1.4rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.8rem; }
.badge {
  display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: rgba(74, 168, 222, .2); border: 1px solid var(--steel);
  border-radius: 999px; padding: .45rem 1.1rem;
}
.badge-alt { background: rgba(201, 212, 224, .1); border-color: var(--silver); color: var(--silver); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.steel-line { height: 3px; background: linear-gradient(90deg, transparent, var(--steel) 25%, var(--silver) 50%, var(--steel) 75%, transparent); }
.hero .steel-line { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg2); }
.section-kicker {
  color: var(--steel); font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  font-size: .78rem; margin-bottom: .6rem;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 7vw, 3.2rem);
  letter-spacing: .04em; line-height: 1.05; margin-bottom: 1rem; font-weight: 600;
  position: relative; display: inline-block;
}
.section-title::after {
  content: ""; display: block; height: 3px; width: 64px; margin-top: .8rem;
  background: linear-gradient(90deg, var(--steel), var(--silver)); border-radius: 2px;
}
.section-sub { color: var(--muted); max-width: 38rem; margin-bottom: 2.2rem; }

/* ---------- Guarantee ---------- */
.guarantee-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .guarantee-grid { grid-template-columns: auto 1fr; gap: 3rem; } }
.guarantee-badge-big {
  font-size: 5rem; width: 8.5rem; height: 8.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 30%, var(--bg3), var(--bg2));
  border: 2px solid var(--steel); box-shadow: 0 0 40px rgba(74,168,222,.35);
  margin: 0 auto;
}
.guarantee .btn { margin-top: 1rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(74,168,222,.6); }
.service-img { aspect-ratio: 16/10; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 1.3rem 1.3rem 1.4rem; }
.service-body h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--steel-light); margin-bottom: .4rem; font-weight: 600; letter-spacing: .02em; }
.service-body p { color: var(--muted); font-size: .95rem; margin-bottom: .9rem; }
.service-link { color: var(--steel); font-weight: 700; text-decoration: none; font-size: .95rem; }
.service-link:hover { text-decoration: underline; color: var(--steel-light); }
.price-note {
  margin-top: 2rem; text-align: center; color: var(--muted); font-size: .95rem;
  border: 1px dashed rgba(74,168,222,.5); border-radius: var(--radius); padding: 1rem 1.2rem; background: var(--bg2);
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: .8rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid img {
  border-radius: 8px; border: 1px solid var(--line);
  aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .25s ease;
}
.gallery-grid img:hover { transform: scale(1.02); }
.gallery-note { margin-top: 1.2rem; color: #6b7a8f; font-size: .85rem; font-style: italic; text-align: center; }

/* ---------- Hours ---------- */
.hours-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .hours-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.hours-grid .btn { margin-top: 1.2rem; }
.hours-table { width: 100%; border-collapse: collapse; background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours-table td { padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:first-child { font-weight: 700; color: var(--steel-light); }
.hours-table td:last-child { text-align: right; color: var(--muted); }
.hours-note { color: var(--steel-light); font-size: .9rem; font-style: italic; margin-top: 1rem; }

/* ---------- Location ---------- */
.location-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .location-grid { grid-template-columns: .9fr 1.4fr; align-items: stretch; } }
.location-info {
  background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; display: flex; flex-direction: column; justify-content: center; gap: 1.4rem;
}
.address { font-size: 1.2rem; font-weight: 600; line-height: 1.7; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 300px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }

/* ---------- Contact ---------- */
.contact-wrap { text-align: center; max-width: 44rem; margin: 0 auto; }
.contact-wrap .section-title::after { margin-left: auto; margin-right: auto; }
.contact-wrap .section-sub { margin-left: auto; margin-right: auto; }
.contact-wrap .btn-lg { margin: 1rem 0 1.6rem; }
.contact-links { display: flex; justify-content: center; align-items: center; gap: .8rem; flex-wrap: wrap; }
.contact-links a { color: var(--steel-light); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.contact-links a:hover { text-decoration: underline; }
.contact-hours { margin-top: 1rem; color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.2rem 0; text-align: center; background: #06080c; }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .1em; margin-bottom: .5rem; }
.footer-brand span { color: var(--muted); font-size: 1rem; }
.footer-demo { color: var(--steel-light); font-weight: 600; font-size: .95rem; margin-bottom: .4rem; }
.footer-note { color: #6b7a8f; font-size: .82rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
