/* TEST 123 */
/* ══════════════════════════════════════
   MEDYREH I.P.S. — Stylesheet v1.0
   Colores: #F06824 (naranja) | #528ECB (azul) | #F3F2F6 (fondo)
   Tipografía: Montserrat
   ══════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --orange: #F06824;
  --orange-dark: #D4561A;
  --orange-light: #FFF0E8;
  --blue: #528ECB;
  --blue-dark: #3A72A8;
  --blue-light: #EBF2FA;
  --gray: #737373;
  --gray-light: #F3F2F6;
  --gray-dark: #444444;
  --white: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #666680;
  --border: #E8E8F0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --font: 'Montserrat', sans-serif;
  --nav-height: 80px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-light);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .15s !important; }
.delay-2 { transition-delay: .3s !important; }
.delay-3 { transition-delay: .45s !important; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 2px solid var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,104,36,.35);
}
.btn-primary.large { padding: 18px 36px; font-size: 1rem; }
.btn-primary.small { padding: 10px 20px; font-size: .85rem; margin-top: 16px; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  transition: var(--transition);
}
.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-wa:hover { background: #1DA851; transform: translateY(-2px); }

/* ── ONDAS BUTTON ── */
.btn-ondas {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #72816c;
  color: #fff;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(114,129,108,.35);
  transition: var(--transition);
  text-decoration: none;
}
.btn-ondas:hover {
  background: #5e6b59;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 40px rgba(114,129,108,.5);
}
@media (max-width: 768px) {
  .btn-ondas span { display: none; }
  .btn-ondas { padding: 14px; }
}

/* ── WHATSAPP FLOTANTE ── */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(37,211,102,.4);
  transition: var(--transition);
  animation: waFloat 2s ease-in-out infinite;
}
.wa-float:hover {
  background: #1DA851;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 40px rgba(37,211,102,.5);
}
@keyframes waFloat {
  0%,100% { box-shadow: 0 8px 32px rgba(37,211,102,.4); }
  50% { box-shadow: 0 8px 48px rgba(37,211,102,.6); }
}

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { margin-left: 24px; }
.nav-logo img {
  height: 64px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  margin-left: -5mm;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover, .nav-link.active {
  color: var(--orange);
  background: var(--orange-light);
}
.nav-link.nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  margin-left: 8px;
}
.nav-link.nav-cta:hover {
  background: var(--orange-dark);
  color: var(--white);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 240px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 50;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.dropdown-menu li a:hover {
  background: var(--orange-light);
  color: var(--orange);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: var(--gray-light);
  position: relative;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240,104,36,.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: floatShape 8s ease-in-out infinite;
}
.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(82,142,203,.12) 0%, transparent 70%);
  bottom: -100px;
  left: 100px;
  animation: floatShape 10s ease-in-out infinite reverse;
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(82,142,203,.15) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .5;
}
@keyframes floatShape {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px,-20px) scale(1.05); }
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 24px;
}
.hero-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-text h1 em {
  font-style: normal;
  color: var(--orange);
  position: relative;
}
.hero-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--orange);
}
.stat span {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  animation: floatCard 4s ease-in-out infinite;
}
.hero-card:nth-child(2) { animation-delay: 1.5s; }
.hero-card:nth-child(3) { animation-delay: 3s; }
.hero-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-card-icon.orange { background: var(--orange-light); color: var(--orange); }
.hero-card-icon.blue { background: var(--blue-light); color: var(--blue); }
.hero-card strong { display: block; font-size: .95rem; font-weight: 700; color: var(--text); }
.hero-card span { font-size: .82rem; color: var(--text-muted); font-weight: 500; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.hero-scroll span { font-size: .75rem; font-weight: 600; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }
.scroll-arrow {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  border-radius: 2px;
  animation: scrollDown 1.5s ease-in-out infinite;
}
@keyframes scrollDown { 0%,100% { opacity: 1; transform: scaleY(1); } 50% { opacity: .4; transform: scaleY(.6); } }

/* ── SERVICES ── */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  cursor: pointer;
}
.service-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.service-icon svg { width: 26px; height: 26px; }
.service-icon.orange { background: var(--orange-light); color: var(--orange); }
.service-card:hover .service-icon { background: var(--orange-light); color: var(--orange); transform: scale(1.1); }
.service-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); }
.service-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.service-link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--orange);
  transition: var(--transition);
}
.service-card:hover .service-link { letter-spacing: .02em; }
.service-card-cta {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-cta-content { text-align: center; }
.service-cta-content strong { display: block; font-size: 1.1rem; color: var(--white); margin-bottom: 8px; }
.service-cta-content p { color: rgba(255,255,255,.85); font-size: .875rem; }
.service-card-cta .btn-primary {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}
.service-card-cta:hover { transform: translateY(-4px) scale(1.01); }

/* ── ABOUT ── */
.about { background: var(--gray-light); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-card-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}
.about-icon-big {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--orange-light);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.about-card-main h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; color: var(--text); }
.about-card-main p { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
.about-badges { display: flex; flex-direction: column; gap: 10px; }
.about-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-dark);
  transition: var(--transition);
}
.about-badge svg { color: var(--blue); flex-shrink: 0; }
.about-badge:hover { border-color: var(--blue); color: var(--blue); }
.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-text p { font-size: .95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.about-values { display: flex; flex-direction: column; gap: 12px; margin: 28px 0; }
.value-item { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; color: var(--gray-dark); line-height: 1.5; }
.value-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.value-dot.orange { background: var(--orange); }
.value-dot.blue { background: var(--blue); }

/* ── CONVENIOS ── */
.convenios { background: var(--white); }
.convenios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}
.convenio-badge {
  display: inline-flex;
  align-items: center;
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue-dark);
  background: var(--blue-light);
  border: 1.5px solid rgba(82,142,203,.25);
  padding: 12px 24px;
  border-radius: 100px;
  transition: var(--transition);
}
.convenio-badge:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.convenios-note {
  text-align: center;
  font-size: .9rem;
  color: var(--text-muted);
}
.convenios-note a { color: var(--orange); font-weight: 600; text-decoration: underline; }

/* ── CTA ── */
.cta-section { background: var(--gray-light); }
.cta-box {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, #6BA3D4 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.cta-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}
.cta-text p { font-size: 1rem; color: rgba(255,255,255,.82); line-height: 1.6; max-width: 480px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; flex-shrink: 0; }
.cta-actions .btn-primary {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}
.cta-actions .btn-primary:hover { background: var(--gray-light); }

/* ── FOOTER ── */
.footer { background: #1A1A2E; padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand img {
  height: 90px !important;
  width: auto !important;
  max-width: none !important;
  display: block !important;
  margin-bottom: 16px !important;
  filter: none !important;
}
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 8px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--orange); color: var(--white); }
.footer-links h4 { font-size: .85rem; font-weight: 700; color: var(--white); margin-bottom: 20px; letter-spacing: .06em; text-transform: uppercase; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links ul li a { font-size: .875rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-links ul li a:hover { color: var(--orange); }
.footer-contact h4 { font-size: .85rem; font-weight: 700; color: var(--white); margin-bottom: 20px; letter-spacing: .06em; text-transform: uppercase; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact-item svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: .875rem; color: rgba(255,255,255,.55); line-height: 1.5; }
a.footer-contact-item { text-decoration: none; cursor: pointer; transition: opacity .2s; }
a.footer-contact-item--map:hover { opacity: .85; }
a.footer-contact-item--map:hover span { color: #ffffff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .82rem; color: rgba(255,255,255,.4); transition: var(--transition); }
.footer-legal a:hover { color: var(--orange); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; padding: 60px 24px; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 400px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { flex-direction: column; text-align: center; padding: 48px 32px; }
  .cta-text p { margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link { width: 100%; justify-content: space-between; }
  .nav-link.nav-cta { justify-content: center; margin: 8px 0 0; }
  .dropdown-menu { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: none; background: var(--gray-light); margin-top: 4px; }
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .hero-text h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions a { text-align: center; justify-content: center; }
  .cta-actions { flex-direction: column; }
  .cta-actions a { text-align: center; justify-content: center; }
}

/* ── INFORMACIÓN FINANCIERA ── */

/* Hero interno de páginas interiores */
.page-hero {
  padding-top: var(--nav-height);
  background: var(--blue);
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 48px 24px;
}
.page-hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 10px;
}
.page-hero-content > p {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  font-weight: 500;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: .82rem;
  font-weight: 600;
}
.breadcrumb a {
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb svg { color: rgba(255,255,255,.45); flex-shrink: 0; }
.breadcrumb span { color: var(--white); }

/* Intro section */
.fin-intro { background: var(--white); }
.fin-intro .section-header p {
  max-width: 780px;
  font-size: .95rem;
}

/* Docs section */
.fin-docs { background: var(--gray-light); padding-top: 0; }

/* Tabs de años */
.fin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  width: fit-content;
}
.fin-tab {
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray);
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
  border: none;
}
.fin-tab:hover { color: var(--orange); background: var(--orange-light); }
.fin-tab.active {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(240,104,36,.3);
}

/* Grid de documentos */
.fin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Tarjeta de documento */
.fin-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
}
.fin-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.fin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fin-pdf-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #FDECEA;
  color: #E53935;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fin-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.fin-card-sub {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Badges */
.fin-badge {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  flex-shrink: 0;
}
.fin-badge.available {
  background: #E8F5E9;
  color: #2E7D32;
}
.fin-badge.soon {
  background: var(--gray-light);
  color: var(--gray);
}

/* Botones de documento */
.fin-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.fin-btn-download,
.fin-btn-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}
.fin-btn-download {
  background: var(--blue);
  color: var(--white);
}
.fin-btn-download:hover { background: var(--blue-dark); transform: translateY(-1px); }
.fin-btn-view {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.fin-btn-view:hover { background: var(--blue-light); }
/* Estado deshabilitado (próximamente) */
.fin-btn-download[aria-disabled="true"],
.fin-btn-view[aria-disabled="true"] {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Nota legal */
.fin-legal { background: var(--gray-light); padding: 56px 0; }
.fin-legal-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.fin-legal-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fin-legal-text p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 8px;
}
.fin-legal-text p:last-child { margin-bottom: 0; }
.fin-legal-text a { color: var(--orange); font-weight: 600; text-decoration: underline; }

/* Info adicional */
.fin-info { background: var(--white); }
.fin-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fin-info-card {
  background: var(--gray-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}
.fin-info-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.fin-info-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.fin-info-icon.blue { background: var(--blue-light); color: var(--blue); }
.fin-info-icon.orange { background: var(--orange-light); color: var(--orange); }
.fin-info-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.fin-info-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* Responsive */
@media (max-width: 768px) {
  .fin-grid { grid-template-columns: 1fr; }
  .fin-info-grid { grid-template-columns: 1fr; gap: 16px; }
  .fin-tabs { width: 100%; justify-content: center; }
  .fin-tab { flex: 1; text-align: center; padding: 10px 16px; }
  .fin-legal-box { flex-direction: column; align-items: center; text-align: center; }
  .page-hero-content h1 { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .fin-card-actions { flex-direction: column; }
  .fin-btn-download, .fin-btn-view { justify-content: center; }
  .fin-info-grid { grid-template-columns: 1fr; }
}
