:root {
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-muted: #555555;
  --color-border: #e4e4e4;
  --color-accent: #0a8f4b;
  --color-accent-soft: #e4f7ed;
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.04);
  --radius-card: 10px;
  --max-width: 1040px;
  --whatsapp-color: #25d366;
}

/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
}

/* Links */
a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

main {
  padding-bottom: 32px;
}

/* Header y navegación */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.navbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

.logo span {
  color: var(--color-accent);
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
}

.nav-links a {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f5f5f5;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  gap: 6px;
}

.btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: #066735;
  border-color: #066735;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent-soft);
  text-decoration: none;
}

.btn-whatsapp {
  background: var(--whatsapp-color);
  border-color: var(--whatsapp-color);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #1ebe5c;
  border-color: #1ebe5c;
  text-decoration: none;
}

.btn-block {
  width: 100%;
}

/* Secciones genéricas */
.section {
  padding: 24px 0;
}

.section h1,
.section h2 {
  margin-bottom: 10px;
}

.section p {
  margin-bottom: 10px;
}

/* Hero */
.hero {
  padding-top: 14px;
  padding-bottom: 10px;
}

.hero-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.hero-lead {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 14px;
}

.badge-top {
  display: inline-block;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  margin-bottom: 8px;
}

.hero-ctas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Tarjetas y grids */
.card {
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  background: #ffffff;
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* Sedes */
.seats-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.seat-item-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.seat-item-phone {
  font-size: 0.9rem;
}

/* Listas */
.bullet-list {
  list-style: none;
  padding-left: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
}

/* FAQ */
.faq-item {
  margin-bottom: 12px;
}

.faq-item h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

/* CTA centrado */
.cta-center {
  margin-top: 12px;
  text-align: center;
}

/* Footer */
footer {
  border-top: 1px solid var(--color-border);
  background: #fafafa;
  padding: 18px 0 26px;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.footer-phones ul {
  list-style: none;
  padding-left: 0;
}

.footer-phones li {
  margin-bottom: 4px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-links a {
  margin-right: 8px;
  font-size: 0.78rem;
}

/* Blog */
.post-list {
  list-style: none;
  padding-left: 0;
}

.post-list li {
  margin-bottom: 14px;
}

.post-list h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

/* Responsive ≥ 768px (tablet y escritorio) */
@media (min-width: 768px) {
  .navbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links {
    justify-content: flex-end;
  }

  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 18px;
    align-items: flex-start;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-ctas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seats-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  }
}

/* Responsive ≥ 1024px (desktop más amplio) */
@media (min-width: 1024px) {
  .hero-ctas {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .seats-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
