:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --border: #e5e7eb;
  --text: #0f172a;
  --muted: #475569;
  --primary: #1e3a8a;
  --primary-2: #1d4ed8;
  --accent: #64748b;
  --accent-2: #e2e8f0;
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.theme-dark {
  --bg: #0b1220;
  --card: #0f1b2d;
  --border: #1f2a3a;
  --text: #e5e7eb;
  --muted: #a1a1aa;
  --primary: #3b82f6;
  --primary-2: #60a5fa;
  --accent: #94a3b8;
  --accent-2: #1f2937;
  --shadow: 0 4px 12px rgba(2, 6, 23, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "DM Sans", "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--primary-2);
}

img {
  max-width: 100%;
  height: auto;
}

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 720px) {
  .site-body {
    padding-bottom: 3.5rem;
  }
}

main {
  flex: 1;
}

.container {
  width: min(1168px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 4.8rem 0;
}

.section-title {
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  font-weight: 600;
  margin: 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(246, 248, 251, 0.6), rgba(246, 248, 251, 0.9));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.theme-dark .section-muted {
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.6), rgba(15, 27, 45, 0.9));
}

.hero {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.06), rgba(226, 232, 240, 0.3));
  border-bottom: 1px solid var(--border);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.card:hover {
  border-color: #cbd5f5;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.card-muted {
  background: rgba(176, 141, 87, 0.08);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
}

.badge-accent {
  background: var(--accent-2);
  color: var(--text);
  border-color: transparent;
}

.pill-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--accent-2);
  color: var(--text);
  font-size: 0.78rem;
}

.pill-soft svg {
  display: block;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill.is-active,
.pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--primary-2);
}

.btn-secondary,
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: var(--primary-2);
  color: var(--primary-2);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
}

.btn-ghost:hover {
  border-color: var(--primary-2);
  color: var(--primary-2);
}

.text-muted {
  color: var(--muted);
}

.text-accent {
  color: var(--accent);
}

.heading-xl {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 1.2;
  font-weight: 600;
}

.heading-lg {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 600;
}

.heading-md {
  font-size: 1.3rem;
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

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

.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.navbar {
  border-bottom: 1px solid var(--border);
  background: rgba(246, 248, 251, 0.98);
  position: sticky;
  top: 0;
  z-index: 20;
}

.theme-dark .navbar {
  background: rgba(11, 18, 32, 0.96);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 2rem;
  min-height: 64px;
}

.brand {
  font-weight: 600;
  font-size: 1.1rem;
}

.nav-contact {
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
}

.nav-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 1.25rem 0 1.75rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  z-index: 30;
}

.nav-panel.is-open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.12);
  border: none;
  z-index: 25;
}

.nav-overlay.is-open {
  display: block;
}

.nav-panel .nav-link {
  padding: 0.7rem 0;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav-link {
  color: var(--muted);
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-link.is-active {
  color: var(--text);
  font-weight: 600;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.6;
}

.nav-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-cta {
  display: inline-flex;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.input {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th,
.table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.details[open] {
  background: var(--accent-2);
}

.details summary h3 {
  margin: 0.1rem 0 0;
}

.details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  padding-right: 2rem;
}

.details summary::-webkit-details-marker {
  display: none;
}

.details[open] summary {
  margin-bottom: 1.2rem;
}

.details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.2rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.details[open] summary::after {
  content: "–";
}

.package-grid {
  display: grid;
  gap: 1.5rem;
}

.inline-list {
  padding-left: 1.1rem;
  margin: 0;
}

.inline-list li {
  margin-bottom: 0.4rem;
}

.cta-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sticky-whatsapp {
  position: fixed;
  bottom: 0.85rem;
  right: 0.85rem;
  z-index: 30;
  box-shadow: var(--shadow);
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
}

.noscript-nav {
  position: sticky;
  top: 0;
  z-index: 10;
}

@media (max-width: 960px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .navbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .nav-cta {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .section {
    padding: 3.6rem 0;
  }
}

@media (max-width: 720px) {
  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .sticky-whatsapp {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}
