/*
Theme Name: Dr. Marulanda Medical Premium V2
Theme URI: https://example.com/
Author: GitHub Copilot
Description: Tema multipágina premium para el sitio del Dr. Juan Marulanda.
Version: 2.0.0
Text Domain: dr-marulanda-medical-v2
*/

:root {
  --emerald: #0f766e;
  --emerald-dark: #064e3b;
  --gold: #c8a347;
  --gold-soft: #e8d8a8;
  --paper: #f8faf9;
  --ink: #0f172a;
  --muted: #475569;
  --border: rgba(15, 118, 110, 0.12);
  --shadow: 0 14px 38px -28px rgba(15, 23, 42, 0.24);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, sans-serif;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 249, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5.5rem 0; }
.kicker {
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--emerald);
  font-size: .72rem;
  font-weight: 700;
}
.title { color: var(--ink); font-family: 'Playfair Display', serif; }
.emerald-line {
  width: 8rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 20px 50px -28px rgba(15, 118, 110, 0.30);
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s ease;
}
.btn-primary {
  background: var(--emerald);
  color: #fff;
  box-shadow: 0 20px 50px -25px rgba(15, 118, 110, .35);
}
.btn-primary:hover { background: var(--emerald-dark); }
.btn-secondary {
  border: 1px solid var(--gold);
  color: var(--ink);
}
.btn-secondary:hover {
  background: var(--gold);
  color: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  gap: 1rem;
}
.site-brand {
  text-decoration: none;
  color: var(--ink);
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  letter-spacing: .28em;
  font-weight: 700;
}
.site-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-menu a {
  text-decoration: none;
  color: #475569;
  font-size: .95rem;
}
.site-menu a:hover { color: var(--emerald); }

.hero {
  min-height: 88vh;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(15,118,110,.10), transparent 28%),
    radial-gradient(circle at 85% 25%, rgba(200,163,71,.12), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(15,118,110,.08), transparent 28%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAF9 100%);
}
.soft-grid {
  background-image: linear-gradient(rgba(15,118,110,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(15,118,110,.055) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-panel {
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(15,118,110,.08), rgba(200,163,71,.08));
  border: 1px solid rgba(15,118,110, .12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(15,118,110,.12);
  color: var(--muted);
}

.mobile-toggle {
  display: none;
  border: 1px solid rgba(15,118,110,.18);
  background: #fff;
  color: var(--emerald);
  width: 46px;
  height: 46px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .site-menu { display: none; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-menu {
    display: none;
    padding: 1rem 0 1.25rem;
    flex-direction: column;
    gap: .85rem;
  }
  .mobile-menu.is-open { display: flex; }
}

@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}