/* Aquario Estetica Automotiva - Design System */

:root {
  --ink: #0A0A0A;
  --ink-soft: #131313;
  --teal: #14A6A0;
  --teal-light: #5BCFC9;
  --brass: #B08D3E;
  --bg: #0A0A0A;
  --bg-alt: #141414;
  --bg-panel: #191919;
  --text: #EDEFEE;
  --muted: #9AA3A1;
  --line: #2A2C2B;
  --white: #FFFFFF;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  --maxw: 1180px;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--muted); max-width: 62ch; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

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

/* ===== Header ===== */
.site-header {
  background: var(--bg-panel);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text .lg-word { white-space: nowrap; }
.logo-text .lg-word em { color: var(--teal-light); font-style: normal; }
.logo-text small {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 4px;
}
.footer-logo { margin-bottom: 16px; }
.main-nav {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: #C9D6D4;
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--white);
  border-color: var(--teal-light);
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.icon-link { color: #C9D6D4; }
.icon-link:hover { color: var(--white); }
.btn-whatsapp-pill {
  background: var(--teal);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}
.btn-whatsapp-pill:hover { background: var(--teal-light); }
.nav-toggle {
  display: none;
  background: none; border: none; color: var(--white);
  cursor: pointer; padding: 4px;
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.active .icon-menu { display: none; }
.nav-toggle.active .icon-close { display: block; }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 15px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 500;
  font-size: 0.98rem;
}
.mobile-nav .btn-whatsapp-pill {
  margin: 16px 28px 20px;
  text-align: center;
  border-bottom: none;
  padding: 12px 18px;
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
}
@media (min-width: 861px) {
  .mobile-nav { display: none !important; }
}
@media (max-width: 420px) {
  .header-actions .icon-link { display: none; }
  .header-actions .btn-whatsapp-pill { padding: 8px 12px; font-size: 0.8rem; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 3px;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); }
.btn-outline-dark {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,31,34,0.92) 0%, rgba(11,31,34,0.55) 55%, rgba(11,31,34,0.2) 100%);
}
.hero .wrap { position: relative; padding-top: 90px; padding-bottom: 72px; }
.hero-content { max-width: 640px; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero p.lede {
  color: #D9E4E2;
  font-size: 1.08rem;
  max-width: 52ch;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Section scaffolding ===== */
section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { margin-top: 12px; }
.bg-alt { background: var(--bg-alt); }
.bg-ink { background: var(--bg-panel); color: var(--white); }
.bg-ink h2, .bg-ink h3 { color: var(--white); }
.bg-ink p { color: #B9C7C5; }

/* ===== Why choose us — definition list style ===== */
.reasons {
  border-top: 1px solid var(--line);
}
.reason-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.reason-row h3 { display: flex; align-items: center; gap: 14px; }
.reason-row .ricon { width: 26px; height: 26px; flex-shrink: 0; color: var(--teal-light); }
.reason-row p { margin: 0; max-width: 56ch; }

@media (max-width: 720px) {
  .reason-row { grid-template-columns: 1fr; gap: 10px; }
}

/* ===== Services — spec list style ===== */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.service-row .thumb {
  width: 88px; height: 88px;
  object-fit: cover;
  border-radius: 2px;
}
.service-row h3 { margin-bottom: 6px; }
.service-row p { margin: 0; }
.service-row .go {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
.service-row:hover .go { border-color: var(--teal); }

@media (max-width: 640px) {
  .service-row { grid-template-columns: 64px 1fr; }
  .service-row .go { grid-column: 2; }
}

/* ===== Comparison table ===== */
.compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 480px; border-collapse: collapse; margin-top: 8px; }
.compare-table th, .compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.95rem;
}
.compare-table th { font-family: var(--font-display); font-weight: 600; color: var(--white); }
.compare-table td:first-child, .compare-table th:first-child { color: var(--muted); font-weight: 500; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== CTA band ===== */
.cta-band {
  background: var(--bg-panel);
  color: var(--white);
  padding: 64px 0;
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: #B9C7C5; margin: 0; }

/* ===== Form ===== */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px;
  max-width: 480px;
}
.form-panel h3 { margin-bottom: 18px; color: #10201F; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.field input, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #D6DDDB;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #F4F6F5;
  color: #10201F;
}
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #10201F;
}
.checkbox-group input { width: auto; }
.form-panel .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 4px;
}
.t-stars { color: #F2B84B; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.t-quote { color: var(--text); font-size: 1rem; margin-bottom: 18px; }
.t-author { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.t-name { font-weight: 600; color: var(--white); font-size: 0.92rem; }
.t-source { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-panel);
  color: #9FB2AF;
  padding: 60px 0 28px;
  border-top: 2px solid var(--teal);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h3 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid p, .footer-grid a { color: #9FB2AF; font-size: 0.92rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.83rem;
}
.social-row { display: flex; gap: 14px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Floating WhatsApp button ===== */
.float-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--teal);
  color: var(--white);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(11,31,34,0.35);
  z-index: 60;
}
.float-whatsapp:hover { background: var(--teal-light); }
