/* JAML CODE — estilos compartidos para páginas locales (ciudades) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button, input, textarea, select { font: inherit; }

:root {
  --bg:          #ffffff;
  --surface:     #f5f5f7;
  --text:        #1d1d1f;
  --muted:       rgba(0,0,0,0.50);
  --border:      rgba(0,0,0,0.08);
  --accent:      #6366f1;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;
  --radius-pill: 9999px;
  --radius-card: 16px;
  --container:   1200px;
  --pad-x:       clamp(1.25rem, 5vw, 5rem);
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 64px;
  display: flex; align-items: center; padding-inline: var(--pad-x);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%; max-width: var(--container); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-logo { font-size: 15px; font-weight: 600; letter-spacing: 0.05em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 150ms ease; }
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--text); color: var(--bg); font-size: 14px; font-weight: 600;
  padding: 10px 22px; border-radius: var(--radius-pill); border: none; cursor: pointer;
  transition: opacity 150ms ease, transform 150ms ease; white-space: nowrap;
  display: inline-block;
}
.btn-nav:hover { opacity: 0.88; transform: scale(1.02); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* HERO */
.hero-local {
  padding-top: 10rem; padding-bottom: clamp(4rem, 8vw, 6rem);
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
  text-align: center;
}
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: rgba(0,0,0,0.28); margin-inline: 6px; }
.eyebrow {
  font-size: 12px; font-weight: 500; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1.25rem;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; line-height: 1.12;
  letter-spacing: -0.02em; max-width: 900px; margin-inline: auto; margin-bottom: 1.5rem;
}
h1 em { font-family: var(--font-serif); font-weight: 400; font-style: italic; }
.hero-sub {
  font-size: clamp(16px, 2vw, 19px); color: var(--muted); line-height: 1.7;
  max-width: 620px; margin-inline: auto; margin-bottom: 2.5rem;
}
.btn-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--text); color: var(--bg); font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: var(--radius-pill); border: none; cursor: pointer;
  transition: opacity 150ms ease, transform 150ms ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { opacity: 0.88; transform: scale(1.02); }
.btn-secondary {
  background: rgba(0,0,0,0.04); color: var(--text); font-size: 15px; font-weight: 500;
  padding: 14px 28px; border-radius: var(--radius-pill); border: 1px solid rgba(0,0,0,0.12);
  cursor: pointer; transition: background 200ms ease, border-color 200ms ease;
  display: inline-block;
}
.btn-secondary:hover { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.22); }

/* SECTIONS */
section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-label {
  font-size: 12px; font-weight: 500; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1.25rem;
}
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 600; line-height: 1.18;
  letter-spacing: -0.01em; margin-bottom: 1rem; max-width: 760px;
}
h2 em { font-family: var(--font-serif); font-weight: 400; font-style: italic; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.lead { font-size: 17px; color: var(--muted); line-height: 1.8; max-width: 680px; }
.lead + .lead { margin-top: 1.25rem; }
.prose p { font-size: 16px; color: var(--muted); line-height: 1.8; max-width: 720px; }
.prose p + p { margin-top: 1.15rem; }
.prose strong { color: var(--text); font-weight: 600; }

/* GRID DE SERVICIOS */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 3rem; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 1.75rem; transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.card:hover {
  border-color: rgba(99,102,241,0.35); transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(99,102,241,0.10);
}
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.card-icon {
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 1rem;
  background: rgba(99,102,241,0.10); display: flex; align-items: center;
  justify-content: center; font-size: 18px;
}

/* ZONAS */
.zonas { background: var(--surface); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; }
.chip {
  background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 8px 18px; font-size: 14px; font-weight: 500; color: var(--text);
}

/* FAQ */
.faq-list { margin-top: 2.5rem; max-width: 820px; }
details {
  border-bottom: 1px solid var(--border); padding-block: 1.35rem;
}
details summary {
  font-size: 17px; font-weight: 600; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+'; font-size: 22px; font-weight: 400; color: var(--accent);
  line-height: 1; flex-shrink: 0; transition: transform 200ms ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-top: 0.85rem; max-width: 720px; }

/* CTA FINAL */
.cta-final { background: var(--text); color: #ffffff; text-align: center; }
.cta-final h2 { color: #ffffff; margin-inline: auto; }
.cta-final p { color: rgba(255,255,255,0.62); font-size: 17px; max-width: 540px; margin-inline: auto; margin-bottom: 2.25rem; line-height: 1.7; }
.cta-final .btn-primary { background: #ffffff; color: var(--text); }
.cta-final .btn-secondary { background: rgba(255,255,255,0.08); color: #ffffff; border-color: rgba(255,255,255,0.22); }
.cta-final .btn-secondary:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); }

/* OTRAS CIUDADES */
.otras { border-top: 1px solid var(--border); padding-block: 3rem; }
.otras-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 1rem; }
.otras-links { display: flex; flex-wrap: wrap; gap: 10px; }
.otras-links a {
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 8px 18px; font-size: 14px; font-weight: 500;
  transition: border-color 150ms ease, color 150ms ease;
}
.otras-links a:hover { border-color: var(--accent); color: var(--accent); }

/* FOOTER */
footer { background: var(--surface); padding-block: 3rem; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-brand { font-size: 15px; font-weight: 600; letter-spacing: 0.05em; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color 150ms ease; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--muted); margin-top: 1.5rem; }
