/* =====================================================
   DRA. NAZA — Sitio Público
   Paleta: Navy #3d1e0e | Teal #00b4b0 | Coral #e8720a
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #3d1e0e;
  --navy-dark: #1e0a04;
  --teal: #00b4b0;
  --teal-light: #20b2aa;
  --coral: #e8720a;
  --coral-light: #e8896a;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Links & Headings */
a { color: inherit; text-decoration: none; transition: color var(--transition); }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(28px, 5vw, 52px); }
h2 { font-size: clamp(22px, 4vw, 38px); }
h3 { font-size: clamp(18px, 3vw, 22px); }

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

/* Container */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius); font-size: 15px;
  font-weight: 600; cursor: pointer; border: none; transition: all var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: #c9674f; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(224,123,106,.35); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--gray-100); }
.btn-full { width: 100%; }
.btn-nav {
  background: var(--coral); color: #fff; padding: 10px 20px; border-radius: 8px; font-weight: 600;
}
.btn-nav:hover { background: #c9674f; }

/* Tags, Badges, Chips */
.tag {
  display: inline-block; background: rgba(26,158,158,.1); color: var(--teal);
  padding: 4px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px;
}
.badge {
  display: inline-block; background: rgba(13,79,110,.08); color: var(--navy);
  padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 16px;
}
.chip {
  display: inline-block; background: rgba(255,255,255,0.15); color: #fff;
  padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; margin: 3px;
}

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.nav-logo img { display: block; }
.nav-links {
  display: flex; list-style: none; gap: 4px; align-items: center;
}
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--gray-800); transition: all var(--transition);
}
.nav-links a:hover { background: var(--gray-100); color: var(--navy); }
.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--gray-200);
    flex-direction: column; gap: 0; padding: 12px; display: none;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 16px; border-radius: 10px; }
  .btn-nav { display: block; text-align: center; margin: 8px 0; }
}

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #eaf5f8 0%, #f0fafa 50%, #fdf6f4 100%);
  padding: 100px 0 60px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(26,158,158,.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(224,123,106,.08) 0%, transparent 50%);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-text h1 { margin-bottom: 20px; }
.hero-text p { font-size: 18px; color: var(--gray-600); margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 28px; color: var(--navy); font-weight: 800; }
.stat span { font-size: 13px; color: var(--gray-600); }

.hero-img { display: flex; justify-content: center; }
.hero-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff; padding: 40px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); max-width: 340px; width: 100%;
  text-align: center;
}
.hero-card-icon { font-size: 64px; margin-bottom: 16px; }
.hero-card h3 { font-size: 22px; margin-bottom: 8px; }
.hero-card p { opacity: .8; margin-bottom: 20px; }
.hero-badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-text p { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-img { order: -1; }
  .hero-card { padding: 28px 20px; }
}

/* SECTIONS */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header h2 { margin: 8px 0 16px; }
.section-header p { color: var(--gray-600); font-size: 17px; }

/* SERVICE CARDS */
.grid-4 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; margin-bottom: 40px;
}
.card-service {
  background: #fff; border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  border: 1px solid var(--gray-200);
}
.card-service:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--teal); }
.service-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px; }
.card-service h3 { margin-bottom: 10px; font-size: 18px; color: var(--navy); }
.card-service p { color: var(--gray-600); font-size: 14px; }

.services-extra {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 16px;
}
.extra-item {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid var(--gray-200); border-radius: 10px; padding: 12px 16px;
  font-size: 14px; font-weight: 500;
}
.extra-item span { font-size: 20px; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center; }
.about-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-badges { display: flex; flex-direction: column; gap: 0; background: rgba(0,0,0,.15); }
.about-badge {
  display: block; color: #fff; padding: 12px 20px; font-size: 14px; font-weight: 600;
  border-top: 1px solid rgba(255,255,255,.1);
}
.about-text h2 { margin: 8px 0 20px; }
.about-text p { color: var(--gray-600); margin-bottom: 16px; }
.about-list { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.about-list li { font-weight: 500; color: var(--gray-800); }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* STEPS */
.steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.step {
  background: #fff; border-radius: var(--radius-lg); padding: 28px 24px;
  text-align: center; max-width: 220px; flex: 1; min-width: 160px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
}
.step-num {
  width: 48px; height: 48px; background: var(--navy); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; font-size: 16px; }
.step p { font-size: 14px; color: var(--gray-600); }
.step-arrow { font-size: 28px; color: var(--teal); align-self: center; opacity: .5; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 760px; margin: 0 auto; }
.price-card {
  background: #fff; border-radius: var(--radius-lg); padding: 36px 28px;
  box-shadow: var(--shadow); border: 2px solid var(--gray-200);
  position: relative; transition: all var(--transition);
}
.price-card-featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  border-color: var(--teal); color: #fff;
}
.price-card-featured li, .price-card-featured h3, .price-card-featured .price { color: #fff; }
.featured-badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--coral); color: #fff; padding: 4px 14px;
  border-radius: 20px; font-size: 12px; font-weight: 700;
}
.price-icon { font-size: 40px; margin-bottom: 12px; }
.price-card h3 { margin-bottom: 8px; }
.price { font-size: 36px; font-weight: 800; color: var(--navy); margin: 16px 0; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.price-card li { font-size: 14px; }
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px;
  transition: all var(--transition);
}
.contact-item:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 22px;
  color: #fff; flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 14px; color: var(--navy); }
.contact-item span { color: var(--gray-600); font-size: 15px; }
.social-links { display: flex; gap: 10px; margin: 16px 0; }
.social-btn {
  padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600;
  transition: all var(--transition);
}
.instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.facebook { background: #1877f2; color: #fff; }
.social-btn:hover { opacity: .85; transform: translateY(-2px); }

.portal-cta {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff; border-radius: var(--radius-lg); padding: 24px;
  margin-top: 8px;
}
.portal-cta h3 { margin-bottom: 8px; }
.portal-cta p { opacity: .8; margin-bottom: 16px; font-size: 14px; }

.contact-form-wrap {
  background: #fff; border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow); border: 1px solid var(--gray-200);
}
.contact-form-wrap h3 { margin-bottom: 20px; color: var(--navy); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200);
  border-radius: 10px; font-size: 15px; font-family: inherit;
  transition: border-color var(--transition); outline: none;
  background: #fff; color: var(--gray-800);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,158,158,.1); }
.contact-form textarea { resize: vertical; min-height: 100px; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* FOOTER */
.footer {
  background: var(--navy-dark); color: rgba(255,255,255,.85);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px;
}
.footer-grid h4 { color: #fff; margin-bottom: 16px; font-size: 15px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-grid li { font-size: 14px; opacity: .8; }
.footer-grid a:hover { color: var(--coral); opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 13px; opacity: .7; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* PWA BANNER */
.pwa-banner {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: #fff; padding: 12px 20px;
  border-radius: 40px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg); z-index: 9999; white-space: nowrap;
  animation: slideUp .4s ease;
}
@keyframes slideUp { from { opacity:0; transform:translate(-50%,20px); } to { opacity:1; transform:translate(-50%,0); } }
.pwa-banner button {
  background: var(--coral); color: #fff; border: none; padding: 6px 16px;
  border-radius: 20px; font-weight: 600; cursor: pointer; font-size: 13px;
}
#pwa-close { background: rgba(255,255,255,.15) !important; font-size: 16px; padding: 4px 10px !important; }
