/* ===================================================================
   DYMTRA — Estilos compartidos de páginas de servicio (SEO local Bauru)
   Reutiliza los tokens visuales de index.html. No afecta a index/portfolio
   (que llevan su propio <style> inline).
   =================================================================== */

:root {
  --navy:      #050E1F;
  --navy-2:    #0A192F;
  --navy-3:    #0F2645;
  --yellow:    #FFC107;
  --yellow-2:  #FFD54F;
  --yellow-glow: rgba(255, 193, 7, 0.18);
  --glass-bg:  rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-main:      #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted:     #64748B;
  --radius-card: 20px;
  --maxw: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--navy);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--navy); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ─── NAV ─── */
.s-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(5, 14, 31, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
}
.s-nav a.s-logo img { height: 38px; width: auto; border-radius: 4px; }
.s-nav-links { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.s-nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; transition: color 0.2s;
}
.s-nav-links a:hover, .s-nav-links a[aria-current="page"] { color: var(--text-main); }
.s-nav-cta {
  background: var(--yellow); color: var(--navy);
  font-size: 0.85rem; font-weight: 700;
  padding: 10px 20px; border-radius: 100px; text-decoration: none;
  white-space: nowrap; transition: transform 0.2s, box-shadow 0.2s;
}
.s-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 26px var(--yellow-glow); }

/* ─── BREADCRUMB ─── */
.s-breadcrumb { font-size: 0.82rem; color: var(--text-muted); padding: 20px 0 0; }
.s-breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.s-breadcrumb a:hover { color: var(--yellow); }

/* ─── HERO ─── */
.s-hero { padding: 56px 0 40px; position: relative; }
.s-hero::after {
  content: ""; position: absolute; top: -80px; right: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, var(--yellow-glow), transparent 70%);
  pointer-events: none; z-index: -1;
}
.s-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 18px;
}
.s-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.s-hero h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; line-height: 1.12;
  letter-spacing: -0.02em; margin-bottom: 18px;
}
.s-hero h1 .accent { color: var(--yellow); }
.s-hero .lead { font-size: 1.12rem; color: var(--text-secondary); max-width: 640px; }
.s-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-primary {
  background: var(--yellow); color: var(--navy);
  font-weight: 700; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 100px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px var(--yellow-glow); }
.btn-ghost {
  border: 1px solid var(--glass-border); color: var(--text-main);
  font-weight: 600; font-size: 0.95rem;
  padding: 14px 24px; border-radius: 100px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

/* ─── SECTIONS ─── */
.s-section { padding: 44px 0; border-top: 1px solid var(--glass-border); }
.s-section h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.s-section h3 { font-size: 1.15rem; font-weight: 600; margin: 22px 0 8px; }
.s-section p + p { margin-top: 14px; }
.s-section p, .s-section li { color: var(--text-secondary); }
.s-section strong { color: var(--text-main); }

.s-hero-img {
  width: 100%; max-height: 380px; object-fit: cover;
  border-radius: var(--radius-card); border: 1px solid var(--glass-border);
  margin-top: 32px;
}

/* ─── FEATURE LIST ─── */
.s-list { list-style: none; display: grid; gap: 14px; margin-top: 10px; }
.s-list li { position: relative; padding-left: 30px; }
.s-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--navy); background: var(--yellow);
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 800;
}

/* ─── CARD GRID (serviços relacionados / cidades) ─── */
.s-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 22px; }
.s-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-card); padding: 22px; text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}
.s-card:hover { transform: translateY(-3px); border-color: var(--yellow); }
.s-card h3 { margin: 0 0 6px; color: var(--text-main); font-size: 1.05rem; }
.s-card p { font-size: 0.9rem; margin: 0; }
.s-card .s-card-link { color: var(--yellow); font-size: 0.85rem; font-weight: 600; display: inline-block; margin-top: 12px; }

/* ─── GALLERY STRIP ─── */
.s-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 22px; }
.s-gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--glass-border); background: var(--navy-2);
}

/* ─── FAQ ─── */
.s-faq { display: grid; gap: 12px; margin-top: 18px; }
.s-faq details {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 4px 18px;
}
.s-faq summary {
  cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--text-main);
  list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: "+"; color: var(--yellow); font-size: 1.3rem; line-height: 1; }
.s-faq details[open] summary::after { content: "–"; }
.s-faq details p { padding: 0 0 16px; font-size: 0.95rem; }

/* ─── CTA BLOCK ─── */
.s-cta {
  margin: 48px 0; padding: 40px 32px; text-align: center;
  background: linear-gradient(145deg, var(--navy-2), var(--navy-3));
  border: 1px solid var(--glass-border); border-radius: var(--radius-card);
}
.s-cta h2 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 1.6rem; margin-bottom: 10px; }
.s-cta p { color: var(--text-secondary); margin-bottom: 22px; }

/* ─── FOOTER ─── */
.s-footer { border-top: 1px solid var(--glass-border); padding: 36px 0 28px; margin-top: 20px; }
.s-footer .wrap { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.s-footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 12px; }
.s-footer ul { list-style: none; display: grid; gap: 8px; }
.s-footer a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; }
.s-footer a:hover { color: var(--yellow); }
.s-footer .s-copy { width: 100%; border-top: 1px solid var(--glass-border); padding-top: 18px; margin-top: 8px; font-size: 0.82rem; color: var(--text-muted); }

/* ─── WHATSAPP FAB ─── */
.s-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.s-fab svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 640px) {
  .s-nav { flex-wrap: wrap; }
  .s-nav-links { gap: 16px; order: 3; width: 100%; }
  .s-footer .wrap { flex-direction: column; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
