/* ════════════════════════════════════════════════════════
   MÉDICA YUCATÁN — Estilos compartidos
   Usar este archivo en todas las páginas del sitio
   ════════════════════════════════════════════════════════ */

:root {
  --brand-blue: #1B9DD8;
  --brand-blue-dark: #137CAB;
  --brand-teal: #1FB8AC;
  --brand-teal-light: #4FD1C5;
  --brand-teal-soft: #E0F5F2;
  --brand-orange: #F26B2C;
  --brand-orange-light: #FF8A4F;
  --ink: #0E2B3D;
  --ink-soft: #4A6478;
  --ink-muted: #8AA0AE;
  --bg: #FFFFFF;
  --bg-soft: #F4FBFA;
  --bg-blue: #EAF7FC;
  --line: #DCEEF1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

.rings {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(31, 184, 172, 0.15);
  pointer-events: none;
}
.rings::before, .rings::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(31, 184, 172, 0.12);
}
.rings::before { inset: 20px; }
.rings::after { inset: 40px; border-color: rgba(31, 184, 172, 0.08); }

/* NAV */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
nav.site-nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(14, 43, 61, 0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo-img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand-blue); }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.nav-cta-group { display: flex; align-items: center; gap: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(242, 107, 44, 0.3);
}
.btn-primary:hover {
  background: var(--brand-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 107, 44, 0.4);
}
.btn-teal {
  background: var(--brand-teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(31, 184, 172, 0.25);
}
.btn-teal:hover { background: var(--brand-teal-light); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--brand-teal); color: var(--brand-teal); }
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover { background: var(--bg-soft); transform: translateY(-2px); }

@media (max-width: 1100px) { .nav-links { display: none; } }
@media (max-width: 700px) { .nav-phone { display: none; } }

/* SECTION HEAD */
.section-head {
  text-align: center;
  margin-bottom: 72px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-teal);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-head h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head h2 .blue { color: var(--brand-blue); }
.section-head h2 .teal { color: var(--brand-teal); }
.section-head p { color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
section.standard { padding: 120px 0; position: relative; }
@media (max-width: 768px) { section.standard { padding: 80px 0; } }

/* FOOTER */
footer.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
footer.site-footer::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 184, 172, 0.1) 0%, transparent 60%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
}
.footer-brand img { height: 48px; margin-bottom: 20px; }
.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.6;
}
.footer-tagline {
  font-family: 'Montserrat', sans-serif;
  color: var(--brand-teal-light) !important;
  font-weight: 700;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.footer-col h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-teal-light);
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
}
.cofepris { font-family: 'Montserrat', sans-serif; letter-spacing: 0.05em; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* DISPLAY HELPERS */
.display { font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: -0.02em; }
.uppercase { text-transform: uppercase; }
