/* =========================================
   1. VARIABLES & RESET
========================================= */
:root {
  /* Paleta de Colores */
  --primary: #9a7b6f;       /* Marrón Cobre (Marca) */
  --primary-hover: #856a5f;
  --primary-dark: #7d635a;
  --text-dark: #1f2937;     /* Texto principal */
  --text-light: #6b7280;    /* Texto secundario */
  --bg-light: #f9fafb;
  --white: #ffffff;
  
  /* Layout */
  --header-height: 90px;    /* Altura del header transparente/blanco */
  --topbar-height: 40px;    /* Altura de la barra oscura superior */
  --hero-h: 700px;          /* Altura banner principal */
  --panel-rise: 100px;      /* Elevación del panel sobre el banner */
}

/* Fuentes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

* { box-sizing: border-box; }

body {
  margin: 0; padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  /* CRÍTICO: Padding 0 para que el banner suba hasta el techo detrás del header */
  padding-top: 0; 
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  position: relative;
}

/* =========================================
   2. BARRA SUPERIOR (TOP BAR)
========================================= */
.top-bar {
  background-color: rgba(31, 41, 55, 0.95); /* Oscuro semi-transparente */
  color: #fff;
  height: var(--topbar-height);
  position: relative; 
  z-index: 1002;
  font-size: 12px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s ease; /* Animación para ocultarse al bajar */
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-contact { 
  display: flex; 
  gap: 15px; /* Antes era 25px */
}
.top-link { 
  display: flex; align-items: center; gap: 8px; 
  color: rgba(255,255,255,0.9); font-weight: 500; 
}
.top-link:hover { color: var(--primary); }

.top-social {
  display: flex;
  gap: 10px; /* Antes era 15px */
}
.top-social a { 
  color: rgba(255,255,255,0.9); display: flex; align-items: center; 
}
.top-social a:hover { color: var(--primary); }

/* =========================================
   3. HEADER PRINCIPAL (TRANSPARENTE -> BLANCO)
========================================= */
.site-header {
  position: fixed;
  top: var(--topbar-height); /* Se ubica justo debajo de la barra negra */
  left: 0; width: 100%;
  height: var(--header-height);
  z-index: 1001;
  transition: all 0.4s ease;
  
  /* ESTADO INICIAL: TRANSPARENTE */
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* Hacer que el contenido del header no esté tan en los extremos: limitar
   un poco el ancho del contenedor sólo dentro del header para centrarlo */
.site-header .container {
  width: min(1100px, 92%);
}

/* Centrar también la barra superior (top-bar) para que sus datos no estén en los extremos */
.top-bar .container {
  width: min(1100px, 92%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

/* LOGO */
.brand img {
  height: 55px;
  width: auto;
  transition: 0.3s;
}

/* NAVEGACIÓN DESKTOP */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 20px; /* Antes era 30px. Esto los junta más */
  margin-left: auto;
  margin-right: 25px; /* Antes era 30px. Acerca el botón CTA al menú */
}

/* Enlaces del menú (Texto Blanco al inicio) */
.nav-desktop a, .dropdown-trigger {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff; /* BLANCO POR DEFECTO */
  letter-spacing: 0.5px;
  padding: 10px 0;
  position: relative;
  background: none; border: none; cursor: pointer;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3); /* Sombra para leer mejor sobre fotos */
}

.nav-desktop a:hover, .nav-desktop a.active, 
.dropdown-trigger:hover, .dropdown-trigger.active {
  color: var(--primary);
  opacity: 1;
}

/* Animación de línea */
.nav-desktop a::after, .dropdown-trigger::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: 0.3s;
}
.nav-desktop a:hover::after, .nav-desktop a.active::after { width: 100%; }

/* Botón CTA Header */
.header-cta-btn {
  background-color: var(--primary);
  color: #fff;
  font-size: 12px; font-weight: 700; padding: 10px 20px;
  border-radius: 50px; letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border: 1px solid transparent;
}
.header-cta-btn:hover {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}
/* --- NUEVA REGLA: Logo al hacer Scroll (Invertir color) --- */
/* Cuando el header tiene la clase .scrolled, invertimos el color de la imagen */
.site-header.scrolled .brand img {
  /* Esto invierte el blanco a negro, y lo hace un poco gris para que sea elegante */
  filter: invert(1) brightness(0.2); 
  height: 45px; /* Opcional: reducirlo un poco al bajar se ve mejor */
}
/* --- ESTADO SCROLLED (CUANDO BAJAS) --- */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98); /* SE VUELVE BLANCO */
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-bottom: none;
  top: 0; /* Sube para tapar el espacio de la barra negra oculta */
  height: 80px; /* Se hace un poco más pequeño */
}

/* Cambiar color de textos a OSCURO al bajar */
.site-header.scrolled .nav-desktop a, 
.site-header.scrolled .dropdown-trigger {
  color: var(--text-dark);
  text-shadow: none;
}

.site-header.scrolled .header-cta-btn:hover {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: #fff;
}

/* Dropdown Menu (Siempre blanco) */
.nav-item-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: -20px;
  background: #fff; min-width: 200px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-radius: 8px; padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(15px);
  transition: 0.3s ease;
}
.nav-item-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 10px 25px;
  font-size: 13px; color: var(--text-dark) !important; /* Siempre oscuro dentro del dropdown */
  text-shadow: none !important;
  text-transform: none; border-left: 3px solid transparent;
}
.dropdown-menu a:hover { background: #fdfdfd; color: var(--primary) !important; border-left-color: var(--primary); }
.dropdown-menu a::after { display: none; } 

/* Hamburguesa Móvil */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1005; }
.mobile-toggle .bar { width: 25px; height: 3px; background: #fff; transition: 0.3s; border-radius: 2px; }
.site-header.scrolled .mobile-toggle .bar { background: var(--text-dark); } /* Oscuro al bajar */


/* =========================================
   4. MENÚ MÓVIL (Off-Canvas)
========================================= */
.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; opacity: 0; visibility: hidden; transition: 0.3s; }
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav { position: fixed; top: 0; right: -280px; width: 280px; height: 100vh; background: #fff; z-index: 2001; padding: 20px; box-shadow: -5px 0 30px rgba(0,0,0,0.1); transition: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0); display: flex; flex-direction: column; }
.mobile-nav.open { right: 0; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.mobile-nav-title { font-weight: 800; font-size: 18px; color: var(--primary); }
.mobile-nav-close { background: none; border: none; font-size: 30px; color: var(--text-dark); cursor: pointer; }
.mobile-links a { display: block; padding: 12px 0; font-size: 15px; font-weight: 500; border-bottom: 1px solid #f9f9f9; color: var(--text-dark); }
.mobile-links a:hover { color: var(--primary); padding-left: 10px; }
.mobile-cta { margin-top: 20px; text-align: center; background: var(--primary); color: #fff !important; border-radius: 8px; padding: 12px !important; }


/* =========================================
   5. HERO SLIDER
========================================= */
.hero-slider { position: relative; z-index: 1; }
.hero-slides { height: var(--hero-h); position: relative; overflow: hidden; background: #ddd; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out; }
.hero-slide.is-active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(0,0,0,0), rgba(0,0,0,0.4)); }

/* Dots */
.hero-dots { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 15px; z-index: 20; }
.hero-dot { width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5); padding: 2px; background: transparent; cursor: pointer; opacity: 0.7; transition: 0.3s; }
.hero-dot img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hero-dot.is-active { transform: scale(1.2); border-color: #fff; opacity: 1; }


/* =========================================
   6. HERO PANEL (VALORES)
========================================= */
.hero-panel { position: relative; z-index: 10; margin-top: calc(-1 * var(--panel-rise)); padding: 0 10px; }
.hero-panel-inner { 
  background: #fff; 
  border-radius: 20px; 
  padding: 40px; 
  box-shadow: 0 20px 60px rgba(0,0,0,0.1); 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 30px; 
}
.panel-item { text-align: center; }
.panel-circle { width: 120px; height: 120px; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; border: 5px solid #f3f4f6; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.panel-circle img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.panel-item:hover .panel-circle img { transform: scale(1.1); }
.panel-item h3 { font-size: 14px; letter-spacing: 1.5px; color: var(--primary); margin-bottom: 10px; }
.panel-item p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* =========================================
   7. SECCIONES GENERALES
========================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

.cta-bar { background: #5c5c5c; padding: 40px 0; color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: center; gap: 30px; }
.cta-text { font-family: "Georgia", serif; font-size: 22px; }

.welcome { padding: 80px 0; background: #fff; }
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.welcome-photo { height: 500px; background-size: cover; border-radius: 20px; }
.welcome-kicker { font-size: 12px; letter-spacing: 3px; color: var(--primary); font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.welcome-kicker::before { content: ""; width: 30px; height: 1px; background: var(--primary); }
.welcome-name { font-size: 32px; margin: 0 0 10px; color: var(--text-dark); }
.welcome-title { font-size: 16px; color: var(--text-light); font-weight: 400; margin-bottom: 30px; }
.welcome-link { font-size: 12px; font-weight: 700; color: var(--primary); letter-spacing: 1px; display: inline-flex; align-items: center; gap: 5px; }

/* =========================================
   8. TESTIMONIOS
========================================= */
.testimonials { padding: 100px 0; background: url('../img/fondo2.jpg') center/cover; position: relative; }
.testimonials::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0.85); backdrop-filter: blur(3px); }
.testimonials .container { position: relative; z-index: 2; }
.testimonials-title { text-align: center; font-size: 32px; letter-spacing: 2px; margin-bottom: 40px; }

.testimonials-shell { display: flex; align-items: center; gap: 20px; }
.t-viewport { overflow: hidden; width: 100%; padding: 20px 0; }
.t-track { display: flex; gap: 30px; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); }

.t-card { 
  flex: 0 0 calc(50% - 15px);
  background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6); border-radius: 20px;
  display: flex; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.t-card:hover { transform: translateY(-5px); box-shadow: 0 25px 50px rgba(0,0,0,0.1); }
.t-media { width: 140px; min-width: 140px; position: relative; }
.t-media img { width: 100%; height: 100%; object-fit: cover; }
.t-content { padding: 25px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.t-head { display: flex; justify-content: space-between; margin-bottom: 10px; align-items: start; }
.t-name { font-weight: 800; font-size: 15px; color: var(--text-dark); }
.t-role { font-size: 11px; color: var(--primary); text-transform: uppercase; }
.t-badge { font-size: 10px; background: #e0f2fe; color: #0284c7; padding: 4px 8px; border-radius: 10px; }
.t-text { font-size: 13px; line-height: 1.6; color: #4b5563; font-style: italic; }
.t-nav { width: 40px; height: 40px; border-radius: 50%; border: none; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); cursor: pointer; color: var(--text-dark); font-size: 18px; display: flex; align-items: center; justify-content: center; }
.t-nav:hover { background: var(--primary); color: #fff; }

/* =========================================
   9. SERVICIOS
========================================= */
.services { padding: 80px 0; background: #0f1720; color: #fff; }
.services-title { text-align: center; font-size: 30px; margin-bottom: 60px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; justify-items: center; }
.service-card { text-align: center; width: 100%; max-width: 200px; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.service-orb { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,0.1); transition: 0.4s; position: relative; }
.service-orb::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.3); transition: 0.4s; }
.service-orb img { width: 100%; height: 100%; object-fit: cover; }
.service-card:hover .service-orb { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 0 30px rgba(154, 123, 111, 0.4); }
.service-card:hover .service-orb::after { background: transparent; }
.service-name { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,0.8); }

/* =========================================
   10. NOTICIAS & BLOG
========================================= */
.news { padding: 80px 0; background: #f9fafb; }
.news-head { text-align: center; margin-bottom: 50px; }
.news-title { font-size: 32px; color: var(--text-dark); margin: 0 0 10px; }
.news-subtitle { color: var(--primary); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.news-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.06); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.news-thumb { height: 200px; background-size: cover; background-position: center; background-color: #eee; position: relative; }
.news-cat { position: absolute; top: 15px; left: 15px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; padding: 5px 12px; border-radius: 20px; text-transform: uppercase; }
.news-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 12px; color: #9ca3af; margin-bottom: 10px; font-weight: 600; }
.news-card-title { font-size: 18px; line-height: 1.4; margin: 0 0 15px; color: var(--text-dark); }
.news-excerpt { font-size: 13px; color: #6b7280; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.news-btn { align-self: flex-start; background: transparent; border: 1px solid var(--primary); color: var(--primary); padding: 10px 20px; font-size: 11px; font-weight: 700; letter-spacing: 1px; cursor: pointer; transition: 0.3s; border-radius: 5px; }
.news-btn:hover { background: var(--primary); color: #fff; }
.news-hidden-content { display: none; }

/* MODAL */
.news-modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; padding: 20px; }
.news-modal-overlay.open { opacity: 1; visibility: visible; }
.news-modal-container { background: #fff; width: 100%; max-width: 800px; max-height: 90vh; border-radius: 20px; position: relative; overflow-y: auto; box-shadow: 0 25px 50px rgba(0,0,0,0.25); transform: scale(0.9); transition: transform 0.4s ease; }
.news-modal-overlay.open .news-modal-container { transform: scale(1); }
.news-modal-close { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; background: #f3f4f6; border: none; border-radius: 50%; font-size: 24px; color: var(--text-dark); cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; }
.news-modal-close:hover { background: #e5e7eb; color: #000; }
.news-modal-body { padding: 40px; }
.news-modal-body h3 { font-size: 24px; color: var(--primary); margin-top: 0; }
.news-modal-body p { font-size: 15px; line-height: 1.8; color: #374151; margin-bottom: 15px; }
.news-modal-body ul { padding-left: 20px; margin-bottom: 20px; }
.news-modal-body .breadcrumbs { font-size: 12px; color: #999; text-transform: uppercase; margin-bottom: 20px; }

/* Video Responsive */
.video-responsive { position: relative; padding-bottom: 56.25%; padding-top: 25px; height: 0; margin-bottom: 25px; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.video-responsive iframe, .video-responsive video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* =========================================
   11. SECCIÓN DE CONTACTO
========================================= */
.contact-section { position: relative; padding: 100px 0; overflow: hidden; color: #fff; }
.contact-bg-image { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; z-index: 0; transform: scale(1.1); }
.contact-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(154, 123, 111, 0.8)); z-index: 1; }
.contact-container { position: relative; z-index: 2; display: flex; justify-content: center; }
.contact-card { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 25px; padding: 0; max-width: 900px; width: 100%; display: flex; box-shadow: 0 25px 50px rgba(0,0,0,0.25); overflow: hidden; }
.contact-content { flex: 1; padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.contact-visual { width: 40%; position: relative; background: rgba(255, 255, 255, 0.05); }
.contact-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-tag { display: inline-block; font-size: 12px; letter-spacing: 2px; color: #ffdab9; text-transform: uppercase; font-weight: 700; margin-bottom: 15px; }
.contact-title { font-size: 36px; font-weight: 800; margin: 0 0 20px; line-height: 1.2; color: #fff; }
.contact-text { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.9); margin-bottom: 35px; }

.whatsapp-cta-btn { background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; display: flex; align-items: center; gap: 15px; padding: 15px 30px; border-radius: 15px; transition: all 0.3s ease; text-decoration: none; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); width: fit-content; position: relative; overflow: hidden; }
.whatsapp-cta-btn::after { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transition: 0.5s; }
.whatsapp-cta-btn:hover::after { left: 100%; }
.whatsapp-cta-btn:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4); }
.btn-text-group { display: flex; flex-direction: column; line-height: 1.2; }
.btn-label { font-size: 13px; font-weight: 500; opacity: 0.9; }
.btn-number { font-size: 18px; font-weight: 800; letter-spacing: 0.5px; }

/* LIGHTBOX / IMAGE MODAL */
.image-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 20px; }
.image-modal-overlay.open { display: flex; }
.image-modal { max-width: 1100px; width: 100%; max-height: 90vh; display: flex; align-items: center; justify-content: center; position: relative; }
.image-modal img { max-width: 100%; max-height: 90vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.image-modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.9); border: none; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.image-modal-caption { margin-top: 10px; color: #fff; text-align: center; font-size: 14px; }
.image-modal-action { position: absolute; left: 16px; top: 12px; background: rgba(255,255,255,0.95); color: var(--text-dark); padding: 8px 12px; border-radius: 8px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

@media (max-width: 900px) {
  .image-modal { max-width: 100%; }
  .image-modal img { max-height: 80vh; }
}

.contact-footer { margin-top: 40px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.15); display: flex; gap: 30px; font-size: 13px; color: rgba(255,255,255,0.8); }
.c-item { display: flex; align-items: center; gap: 10px; }

/* =========================================
   12. FOOTER PREMIUM
========================================= */
.site-footer { background-color: #4b4b4b; color: #fff; padding: 60px 0 30px; font-size: 14px; position: relative; }
.footer-contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start; }
.f-item { display: flex; gap: 15px; }
.f-icon { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; transition: 0.3s; }
.f-item:hover .f-icon { background: var(--primary); color: #fff; border-color: var(--primary); }
.f-text { display: flex; flex-direction: column; }
.f-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,0.6); margin-bottom: 8px; text-transform: uppercase; }
.f-text a { color: #fff; font-size: 15px; font-weight: 500; margin-bottom: 4px; transition: 0.2s; }
.f-text a:hover { color: var(--primary); transform: translateX(3px); }
.f-email-link { word-break: break-all; }
.footer-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 40px 0 25px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: rgba(255,255,255,0.7); }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

/* =========================================
   13. BOTÓN FLOTANTE
========================================= */
.float-chat { position: fixed; bottom: 25px; right: 25px; background-color: #25d366; color: #fff; padding: 10px 20px 10px 15px; border-radius: 50px; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 9999; font-weight: 700; font-size: 14px; transition: all 0.3s ease; animation: pulse-green 2s infinite; }
.float-chat:hover { transform: scale(1.05) translateY(-3px); background-color: #20bd5a; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6); }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* =========================================
   14. RESPONSIVE GLOBAL (Móvil)
========================================= */
@media (max-width: 992px) {
  .nav-desktop, .header-cta-btn { display: none; } 
  .mobile-toggle { display: flex; } 
  .hidden-mobile { display: none; }
  
  :root { --header-height: 70px; }
  .brand img { height: 40px; }
  .top-bar { display: none; } /* Ocultar barra negra en móvil */
  .site-header { top: 0; }
  
  .hero-panel-inner { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-card { flex-direction: column; }
  .contact-visual { width: 100%; height: 250px; }
  .footer-contact-row { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
  .float-chat span { display: none; }
  .float-chat { padding: 12px; border-radius: 50%; bottom: 15px; right: 15px; }
}

@media (max-width: 600px) {
  .hero-panel-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .t-card { flex: 0 0 100%; }
}







/* =========================================
   PÁGINAS INTERNAS: HEADER
========================================= */
.page-header {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1f2937;
  margin-top: -80px; /* Para compensar el padding del body si es necesario */
}

.page-header-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.4; /* Oscurecer imagen de fondo */
  transform: scale(1.1);
}

.page-header-content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px; margin: 0 0 10px;
  letter-spacing: 1px;
}

.breadcrumbs {
  font-size: 14px; text-transform: uppercase;
  letter-spacing: 2px; color: var(--primary);
  font-weight: 700;
}

/* =========================================
   SECCIÓN BIOGRAFÍA (Diseño Moderno)
========================================= */
.bio-section {
  padding: 100px 0;
  background: #fff;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

/* Imagen Dr */
.bio-image { position: relative; }

.bio-img-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 20px 20px 0 var(--primary); /* Sombra sólida moderna */
  border: 1px solid rgba(0,0,0,0.1);
}
.bio-img-frame img { width: 100%; display: block; }

.bio-exp-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: #fff;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  border: 1px solid #eee;
}
.bio-exp-badge .num {
  font-size: 32px; font-weight: 800; color: var(--primary);
  line-height: 1;
}
.bio-exp-badge .txt {
  font-size: 11px; text-transform: uppercase; font-weight: 700; color: var(--text-dark);
  margin-top: 5px;
}

/* Texto Bio */
.bio-heading {
  font-family: 'Playfair Display', serif;
  font-size: 36px; line-height: 1.2;
  color: var(--text-dark); margin-bottom: 10px;
}
.bio-heading .highlight { color: var(--primary); font-style: italic; }

.bio-subheading {
  font-size: 18px; font-weight: 600; color: var(--text-light);
  margin-bottom: 30px; text-transform: uppercase; letter-spacing: 1px;
  border-left: 4px solid var(--primary); padding-left: 15px;
}

.bio-text p {
  font-size: 16px; line-height: 1.8; color: #4b5563; margin-bottom: 20px;
}

.bio-quote {
  background: #f9fafb;
  border-radius: 0 20px 20px 0;
  border-left: 5px solid var(--primary);
  padding: 25px;
  font-style: italic;
  font-size: 18px;
  color: var(--text-dark);
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* =========================================
   SCROLL INFINITO DE CERTIFICADOS
========================================= */
.cert-section {
  padding: 80px 0 100px;
  background: #f3f4f6; /* Gris muy suave */
  overflow: hidden;
}

.cert-header { text-align: center; margin-bottom: 50px; }
.cert-title { font-size: 32px; color: var(--text-dark); margin-bottom: 10px; }
.cert-subtitle { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; }

/* Contenedor del Scroll */
.infinite-scroll-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.infinite-track {
  display: flex;
  gap: 40px; /* Espacio entre certificados */
  width: max-content;
  animation: scroll-left 40s linear infinite; /* Velocidad del scroll */
}

/* Animación */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Se mueve la mitad (el set original) y luego repite */
}

/* Detener animación al pasar el mouse */
.infinite-track:hover {
  animation-play-state: paused;
}

/* Estilo de cada Certificado */
.slide-item {
  width: 300px; /* Tamaño grande */
  height: 420px; /* Formato vertical (A4) */
  flex-shrink: 0;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  display: flex; align-items: center; justify-content: center;
}

.slide-item:hover {
  transform: scale(1.05); /* Zoom al pasar el mouse */
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ajusta la imagen sin cortarla */
  filter: grayscale(10%); /* Un poco desaturado para elegancia */
  transition: 0.3s;
}

.slide-item:hover img { filter: grayscale(0%); }

/* Responsive */
@media (max-width: 900px) {
  .bio-grid { grid-template-columns: 1fr; gap: 40px; }
  .bio-image { max-width: 400px; margin: 0 auto; }
  .slide-item { width: 220px; height: 310px; } /* Más pequeños en móvil */
  .page-title { font-size: 36px; }
}






/* =========================================
   PÁGINA EXPERIENCIA: LISTA Y DESCARGAS
========================================= */
.experience-list {
  margin-top: 30px;
  display: flex; flex-direction: column; gap: 20px;
}

.exp-item {
  display: flex; gap: 15px; align-items: flex-start;
}

.exp-icon {
  color: var(--primary); font-weight: 800; font-size: 18px;
  margin-top: 2px;
}

.exp-detail {
  font-size: 15px; line-height: 1.6; color: #4b5563;
}

.links-row {
  display: flex; gap: 15px; flex-wrap: wrap; margin-top: 5px;
}

.download-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-top: 6px; text-decoration: none;
  border-bottom: 1px solid transparent; transition: 0.3s;
}

.download-link:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

.d-icon { font-size: 14px; }

/* =========================================
   SECCIÓN PROYECTOS (GRID)
========================================= */
.projects-section {
  padding: 80px 0;
  background: #f9fafb;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.project-card {
  background: #fff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(154, 123, 111, 0.15); /* Sombra color cobre suave */
  border-color: var(--primary);
}

.p-icon {
  font-size: 40px; margin-bottom: 20px;
  background: #f3f4f6; width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--text-dark);
}

.project-card h3 {
  font-size: 18px; color: var(--primary); margin: 0 0 15px;
  font-weight: 700;
}

.project-card p {
  font-size: 14px; color: #6b7280; line-height: 1.6; margin: 0;
}

/* =========================================
   BLOQUE PUBLICACIÓN
========================================= */
.publication-block {
  background: linear-gradient(135deg, #1f2937, #374151);
  border-radius: 20px;
  padding: 50px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Efecto de fondo sutil */
.publication-block::before {
  content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent);
  transform: rotate(30deg); pointer-events: none;
}

.pub-content { position: relative; z-index: 2; }

.pub-tag {
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; padding: 5px 12px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: 1px;
  display: inline-block; margin-bottom: 20px;
}

.publication-block h3 {
  font-size: 26px; font-family: 'Playfair Display', serif;
  margin: 0 0 30px; line-height: 1.3;
}

.btn-pub {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  color: #fff; font-weight: 600; font-size: 13px;
  transition: 0.3s;
}

.btn-pub:hover {
  background: #fff; color: var(--text-dark); border-color: #fff;
}



/* =========================================
   PÁGINA EQUIPO: CAJA DE EXPERIENCIA
========================================= */
.experience-box {
  margin-top: 30px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.exp-box-header {
  background: #f9fafb;
  padding: 15px 20px;
  font-weight: 700;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.minus-icon {
  font-weight: 900;
  color: var(--primary);
  font-size: 18px;
  line-height: 1;
}

.exp-box-body {
  padding: 20px;
}

.exp-list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

.exp-list-clean li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

.exp-list-clean li:last-child {
  margin-bottom: 0;
}

/* Icono check personalizado para la lista */
.exp-list-clean li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--primary);
  font-size: 12px;
  font-weight: bold;
}



/* =========================================
   PÁGINA DR. GARNIQUE (PERFIL)
========================================= */
.dr-profile-section {
  padding: 80px 0;
  background: #f9fafb;
}

/* Layout Grid: Izquierda (Grande) - Derecha (Pequeña) */
.dr-grid {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 2 partes contenido, 1 parte sidebar */
  gap: 50px;
  align-items: start;
}

/* --- COLUMNA IZQUIERDA --- */
.dr-header-card {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: center;
}

.dr-photo-frame {
  width: 180px; height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.dr-photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.dr-header-info { flex: 1; }

.dr-name {
  font-family: 'Playfair Display', serif;
  font-size: 32px; color: var(--text-dark);
  margin: 0 0 5px; line-height: 1.2;
}

.dr-codes {
  display: inline-block;
  background: #e5e7eb; color: #4b5563;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 4px;
  margin-bottom: 15px;
}

.dr-titles {
  display: flex; flex-direction: column; gap: 5px;
  margin-bottom: 20px;
}
.dr-titles span {
  font-size: 14px; color: var(--primary); font-weight: 600; text-transform: uppercase;
}

/* Redes Sociales */
.dr-social {
  display: flex; align-items: center; gap: 15px;
  border-top: 1px solid #eee; padding-top: 15px;
}
.dr-social span { font-size: 12px; color: #888; font-style: italic; }

.social-icons { display: flex; gap: 10px; }
.soc-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: bold;
  transition: 0.3s;
}
.soc-btn:hover { transform: translateY(-3px); }
.soc-btn.li { background: #0077b5; }
.soc-btn.tw { background: #000; }
.soc-btn.fb { background: #1877f2; }
.soc-btn.em { background: var(--primary); }


.dr-bio-text .lead-text {
  font-size: 18px; color: #374151; line-height: 1.6; margin-bottom: 20px;
}

.dr-credentials-box {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  margin-top: 30px;
  border-left: 4px solid var(--primary);
}
.dr-credentials-box .box-title {
  margin-top: 0; font-size: 18px; color: var(--text-dark); margin-bottom: 20px;
}

/* --- COLUMNA DERECHA (SIDEBAR) --- */
.dr-sidebar {
  position: sticky;
  top: 110px; /* Para que baje con el scroll */
  display: flex; flex-direction: column; gap: 20px;
}

.sidebar-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.02);
  text-align: center;
}

.sidebar-card .sb-icon { font-size: 24px; margin-bottom: 10px; }
.sidebar-card h3 { font-size: 15px; color: var(--primary); margin: 0 0 15px; text-transform: uppercase; letter-spacing: 1px; }

.sb-list { display: flex; flex-direction: column; gap: 8px; }
.sb-list a { font-weight: 500; color: #4b5563; font-size: 15px; }
.sb-list a:hover { color: var(--primary); }
.sb-list .highlight-num { font-weight: 700; color: var(--text-dark); font-size: 16px; }

/* Tarjeta Ubicación */
.location-card { text-align: left; }
.location-card .sb-icon, .location-card h3 { text-align: center; }

.loc-item strong { display: block; color: var(--text-dark); font-size: 14px; margin-bottom: 5px; }
.loc-item p { font-size: 13px; color: #666; margin: 0 0 8px; line-height: 1.4; }
.loc-item .small { font-size: 11px; text-transform: uppercase; color: #999; }

.loc-phones {
  display: flex; gap: 10px; font-size: 12px; color: var(--primary); font-weight: 700;
}

.divider { height: 1px; background: #eee; margin: 20px 0; }

/* --- FRASE FINAL --- */
.dr-quote-banner {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.quote-main {
  font-family: 'Playfair Display', serif;
  font-size: 36px; margin: 0 0 10px;
}
.quote-sub {
  font-size: 16px; font-weight: 300; letter-spacing: 1px; margin: 0; opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .dr-grid { grid-template-columns: 1fr; gap: 40px; }
  .dr-header-card { flex-direction: column; text-align: center; }
  .dr-social { justify-content: center; }
  .dr-sidebar { position: static; } /* Quitar sticky en móvil */
  .quote-main { font-size: 28px; }
}




/* =========================================
   PÁGINA PONENCIAS
========================================= */
.ponencias-section {
  padding: 80px 0;
  background: #f9fafb;
}

.ponencias-layout {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 2/3 Contenido, 1/3 Sidebar */
  gap: 50px;
  align-items: start;
}

/* --- GRID DE DOCUMENTOS --- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Responsivo automático */
  gap: 20px;
}

/* Tarjeta de Documento (Estilo Tech/Futurista) */
.doc-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Efecto Hover: Se levanta y brilla el borde */
.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(154, 123, 111, 0.15); /* Sombra cobre */
  border-color: var(--primary);
}

/* Decoración lateral en hover */
.doc-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 0;
  background: var(--primary); transition: 0.3s;
}
.doc-card:hover::before { height: 100%; }

.doc-icon-box {
  color: #9ca3af;
  margin-bottom: 15px;
  transition: 0.3s;
}
.doc-card:hover .doc-icon-box { color: var(--primary); }

.doc-num {
  font-size: 10px; font-weight: 700; color: #cbd5e1; letter-spacing: 1px;
  margin-bottom: 5px; display: block;
}

.doc-title {
  font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--text-dark);
  margin: 0 0 20px; flex-grow: 1; /* Empuja el botón al fondo */
}

.doc-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.doc-link .arrow { transition: 0.3s; }
.doc-link:hover .arrow { transform: translateX(5px); }


/* --- SIDEBAR (MÁS PUBLICACIONES) --- */
.ponencias-sidebar {
  position: sticky; top: 120px;
}

.sidebar-widget {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.widget-title {
  font-size: 18px; color: var(--text-dark); margin: 0 0 15px;
}

.widget-divider { width: 40px; height: 3px; background: var(--primary); margin-bottom: 25px; }
.widget-divider-soft { height: 1px; background: #eee; margin: 25px 0; }

.mini-post { display: flex; flex-direction: column; gap: 8px; }

.mp-title a {
  font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--text-dark);
  transition: 0.2s;
}
.mp-title a:hover { color: var(--primary); }

.mp-date {
  font-size: 11px; text-transform: uppercase; color: #9ca3af; font-weight: 600;
}

.mp-excerpt {
  font-size: 13px; color: #6b7280; line-height: 1.6; margin: 5px 0 10px;
}

.mp-btn {
  align-self: flex-start;
  background: #4b5563; color: #fff;
  font-size: 10px; font-weight: 700; padding: 6px 15px;
  border-radius: 4px; letter-spacing: 1px;
}
.mp-btn:hover { background: var(--primary); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .ponencias-layout { grid-template-columns: 1fr; gap: 40px; }
  .ponencias-sidebar { position: static; }
}



/* =========================================
   PÁGINA SERVICIOS
========================================= */
.services-section {
  padding: 80px 0;
  background: #f9fafb;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr; /* Columna derecha más ancha */
  gap: 50px;
  align-items: start;
}

/* --- COLUMNA IZQUIERDA: INTRO --- */
.intro-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: sticky;
  top: 130px; /* Se queda fija al bajar */
}

.intro-img-frame {
  height: 250px;
  overflow: hidden;
}
.intro-img-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: 0.5s;
}
.intro-card:hover .intro-img-frame img { transform: scale(1.05); }

.intro-text {
  padding: 30px;
  font-size: 15px; color: #4b5563; line-height: 1.6;
}

.intro-signature {
  margin-top: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 22px; color: var(--primary);
  font-weight: 700;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

/* --- COLUMNA DERECHA: ACORDEÓN MODERNO --- */
.services-accordion {
  display: flex; flex-direction: column; gap: 15px;
}

.acc-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Estado Activo (Abierto) */
.acc-item.active {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(154, 123, 111, 0.15);
}

.acc-header {
  width: 100%;
  background: #fff;
  border: none;
  padding: 20px 25px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  text-align: left;
  transition: 0.3s;
}

.acc-title {
  font-size: 14px; font-weight: 700; color: #374151;
  text-transform: uppercase; letter-spacing: 0.5px;
}

.acc-icon {
  font-size: 20px; color: #9ca3af; font-weight: 300;
  transition: 0.3s;
}

/* Hover Header */
.acc-header:hover .acc-title { color: var(--primary); }

/* Header Activo */
.acc-item.active .acc-header {
  background: var(--primary);
}
.acc-item.active .acc-title { color: #fff; }
.acc-item.active .acc-icon { color: #fff; transform: rotate(45deg); } /* La + se vuelve x */

/* Cuerpo del Acordeón */
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fcfcfc;
}

.acc-item.active .acc-body {
  max-height: 500px; /* Altura suficiente para el texto */
}

.acc-content {
  padding: 25px;
  font-size: 15px; line-height: 1.7; color: #555;
  border-top: 1px solid #eee;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-layout { grid-template-columns: 1fr; gap: 30px; }
  .intro-card { position: static; }
}


/* =========================================
   PÁGINA CAUSAS DE INFERTILIDAD
========================================= */
.causas-intro {
  padding: 80px 0 40px;
  background: #fff; text-align: center;
}
.intro-box { max-width: 800px; margin: 0 auto; }
.section-title { font-size: 32px; color: var(--text-dark); margin-bottom: 20px; }
.intro-box p { font-size: 16px; color: #4b5563; line-height: 1.6; margin-bottom: 20px; }
.intro-box .subtitle { font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; font-size: 13px; margin-top: 30px; }

/* GRID DE TARJETAS */
.causas-grid-section { padding: 0 0 100px; background: #fff; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.causa-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.03);
  display: flex; flex-direction: column;
}

.causa-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(154, 123, 111, 0.2);
}

.card-img {
  height: 200px; position: relative; overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.causa-card:hover .card-img img { transform: scale(1.1); }

.card-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.2); transition: 0.3s;
}
.causa-card:hover .card-overlay { background: rgba(154, 123, 111, 0.4); }

.card-icon {
  position: absolute; bottom: 15px; right: 15px;
  background: #fff; width: 40px; height: 40px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 2;
}

.card-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 18px; color: var(--text-dark); margin: 0 0 10px; font-weight: 700; }
.card-body p { font-size: 14px; color: #6b7280; line-height: 1.5; margin-bottom: 20px; flex: 1; }

.btn-read-more {
  background: none; border: none; padding: 0;
  color: var(--primary); font-weight: 700; font-size: 13px;
  text-transform: uppercase; cursor: pointer; text-align: left;
  transition: 0.3s;
}
.btn-read-more:hover { color: var(--primary-dark); letter-spacing: 0.5px; }


/* ================= MODALES (POP-UPS) ================= */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(31, 41, 55, 0.8); backdrop-filter: blur(5px);
  z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: 0.3s ease;
  padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
  background: #fff;
  width: 100%; max-width: 800px; max-height: 85vh;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  position: relative;
  transform: translateY(30px); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex; flex-direction: column;
}
.modal-overlay.active .modal-content { transform: translateY(0); }

.modal-close {
  position: absolute; top: 15px; right: 15px;
  width: 36px; height: 36px;
  background: #f3f4f6; border: none; border-radius: 50%;
  font-size: 24px; color: #374151; cursor: pointer;
  z-index: 10; display: flex; align-items: center; justify-content: center;
  transition: 0.2s;
}
.modal-close:hover { background: var(--primary); color: #fff; }

.modal-body {
  padding: 40px; overflow-y: auto;
}
.modal-body h2 { color: var(--primary); font-family: 'Playfair Display', serif; font-size: 28px; margin-top: 0; }
.modal-body h3 { color: var(--text-dark); font-size: 18px; margin-top: 25px; }
.modal-body p { font-size: 15px; line-height: 1.7; color: #4b5563; margin-bottom: 15px; }

.highlight-box {
  background: #fefce8; border-left: 4px solid #eab308;
  padding: 15px 20px; margin: 20px 0;
  color: #854d0e; font-size: 14px; line-height: 1.6;
}

.styled-list { padding-left: 20px; }
.styled-list li { margin-bottom: 10px; font-size: 15px; color: #4b5563; }
.styled-list li strong { color: var(--text-dark); }




/* =========================================
   PÁGINA EXÁMENES
========================================= */
.exam-intro {
  padding: 80px 0 60px;
  background: #fff;
  text-align: center;
}
.intro-content-box { max-width: 800px; margin: 0 auto; }
.intro-content-box .section-heading {
  font-family: 'Playfair Display', serif; font-size: 36px;
  color: var(--primary); margin-bottom: 20px;
}
.intro-content-box .lead-text {
  font-size: 18px; color: #374151; margin-bottom: 20px; line-height: 1.6;
}
.intro-content-box p { font-size: 15px; color: #6b7280; line-height: 1.6; }

/* Títulos de Sección */
.section-label-wrapper { text-align: center; margin-bottom: 50px; }
.section-label {
  font-size: 11px; font-weight: 800; color: #9ca3af;
  text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 10px;
}
.section-title-lg {
  font-size: 32px; color: var(--text-dark); margin: 0; position: relative; display: inline-block;
}
.section-title-lg::after {
  content: ""; display: block; width: 50px; height: 3px;
  background: var(--primary); margin: 15px auto 0;
}


/* --- SECCIÓN SET BÁSICO --- */
.basic-exams-section {
  padding: 60px 0 100px;
  background: #f9fafb;
}

.basic-exam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); /* Tarjetas anchas */
  gap: 30px;
}

.b-exam-card {
  background: #fff;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  display: flex; gap: 25px;
  border: 1px solid rgba(0,0,0,0.03);
  transition: 0.3s;
}

.b-exam-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(154, 123, 111, 0.15);
  border-color: var(--primary);
}

.b-icon {
  font-size: 40px;
  background: #fdf2f8; /* Tono suave */
  width: 70px; height: 70px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.b-content h4 {
  font-size: 20px; margin: 0 0 5px; color: var(--text-dark);
}

.b-subtitle {
  font-size: 12px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 15px;
}

.b-content p {
  font-size: 14px; color: #4b5563; line-height: 1.6; margin-bottom: 15px;
}

.b-note {
  background: #f3f4f6; padding: 12px 15px;
  border-radius: 8px; font-size: 13px; color: #374151;
  border-left: 3px solid #9ca3af;
}
.b-note.warning {
  background: #fff7ed; border-left-color: #f59e0b; color: #92400e;
}


/* --- SECCIÓN COMPLEMENTARIOS --- */
.comp-exams-section {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid #f3f4f6;
}

.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.comp-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 25px;
  transition: 0.3s;
}

.comp-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.c-head {
  display: flex; align-items: center; gap: 15px; margin-bottom: 15px;
}

.c-icon {
  font-size: 24px;
}

.comp-card h5 {
  font-size: 16px; color: var(--text-dark); margin: 0; font-weight: 700;
}

.comp-card p {
  font-size: 13px; color: #6b7280; line-height: 1.6; margin: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .basic-exam-grid { grid-template-columns: 1fr; }
  .b-exam-card { flex-direction: column; text-align: center; }
  .b-icon { margin: 0 auto; }
}


/* =========================================
   PÁGINA BAJA COMPLEJIDAD
========================================= */

/* Introducción */
.intro-philosophy {
  padding: 80px 0 60px;
  background: #fff; text-align: center;
}
.philosophy-box { max-width: 800px; margin: 0 auto; }
.philosophy-box .section-heading { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--primary); margin-bottom: 20px; }

/* Métodos (Comparativa) */
.methods-section {
  padding: 60px 0 100px;
  background: #f9fafb;
}

.methods-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.methods-header h3 { font-size: 28px; color: var(--text-dark); margin-bottom: 15px; }
.methods-header p { color: #6b7280; font-size: 16px; line-height: 1.6; }

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.method-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: 0.3s;
}

.method-card.highlight {
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(154, 123, 111, 0.1);
  position: relative;
}
.method-card.highlight::before {
  content: "Recomendado";
  position: absolute; top: 20px; right: 20px;
  background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 700; padding: 4px 10px;
  border-radius: 20px; text-transform: uppercase;
}

.m-icon { font-size: 40px; margin-bottom: 20px; }

.method-card h3 { font-size: 20px; color: var(--text-dark); margin-bottom: 15px; }
.method-card p { font-size: 14px; color: #4b5563; line-height: 1.6; margin-bottom: 20px; }

.m-list { list-style: none; padding: 0; }
.m-list li {
  position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 14px; color: #555;
}
.m-list li::before {
  content: "•"; color: var(--primary); font-weight: bold; font-size: 18px;
  position: absolute; left: 0; top: -2px;
}


/* Timeline del Proceso */
.process-section {
  padding: 80px 0;
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.process-step {
  background: #fdfdfd;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  transition: 0.3s;
  display: flex; gap: 20px;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border-color: var(--primary);
}

.step-num {
  font-size: 40px; font-weight: 900; color: rgba(154, 123, 111, 0.15);
  line-height: 1; flex-shrink: 0;
}

.step-content h4 {
  font-size: 18px; color: var(--text-dark); margin: 5px 0 10px; font-weight: 700;
}
.step-content p {
  font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 10px;
}

.step-note {
  background: #fff7ed; color: #9a3412;
  font-size: 12px; padding: 10px; border-radius: 6px;
  border-left: 3px solid #f97316;
}

/* Sección Donante */
.donor-section {
  padding: 60px 0;
  background: #111827; /* Fondo oscuro contraste */
  color: #fff;
}

.donor-box {
  display: flex; align-items: center; gap: 40px;
  max-width: 900px; margin: 0 auto;
}

.d-icon-big { font-size: 60px; }

.d-info h3 { font-size: 24px; margin-bottom: 15px; color: #fff; }
.d-info p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 10px; }

/* Responsive */
@media (max-width: 900px) {
  .donor-box { flex-direction: column; text-align: center; }
  .process-step { flex-direction: column; }
  .step-num { margin-bottom: 10px; }
}

/* =========================================
   PÁGINA ALTA COMPLEJIDAD
========================================= */

/* --- COMPARATIVA TÉCNICA --- */
.technique-comparison {
  padding: 60px 0;
  background: #fff;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.tech-card {
  background: #f9fafb;
  border-radius: 16px;
  padding: 35px;
  border: 1px solid #e5e7eb;
  transition: 0.3s;
}

.tech-card.highlight {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(154, 123, 111, 0.15);
}

.t-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.t-icon { font-size: 32px; background: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.t-header h3 { font-size: 20px; color: var(--text-dark); margin: 0; line-height: 1.3; }

.t-body p { font-size: 14px; color: #4b5563; line-height: 1.6; margin-bottom: 20px; }
.t-badge { 
  display: inline-block; background: var(--text-dark); color: #fff; 
  font-size: 10px; font-weight: 700; padding: 4px 10px; 
  border-radius: 4px; text-transform: uppercase; margin-bottom: 8px;
}
.t-small { font-size: 13px; color: #6b7280; font-style: italic; }


/* --- TIMELINE VERTICAL --- */
.timeline-section {
  padding: 80px 0;
  background: #fdfdfd;
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px; /* Espacio para la línea */
}

/* Línea Vertical */
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 14px; /* Centrado en el padding */
  width: 2px;
  background: #e5e7eb;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}
.timeline-item:last-child { margin-bottom: 0; }

.tl-marker {
  position: absolute;
  left: -40px; top: 0;
  width: 30px; height: 30px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  border: 4px solid #fff; /* Borde blanco para separar de la línea */
  box-shadow: 0 0 0 1px #e5e7eb; /* Borde exterior sutil */
  z-index: 2;
}

.tl-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.02);
  transition: 0.3s;
}

.timeline-item:hover .tl-content {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border-left: 3px solid var(--primary);
}

.tl-content h4 {
  margin: 0 0 10px; color: var(--text-dark); font-size: 18px;
}
.tl-content p {
  margin: 0; font-size: 14px; color: #666; line-height: 1.6;
}

/* Item Destacado (Prueba embarazo) */
.timeline-item.highlight .tl-marker {
  background: #10b981; /* Verde éxito */
}


/* --- MEDICAL TIPS --- */
.medical-tips-section {
  padding: 60px 0;
  background: #fff;
}

.tips-box {
  background: #1f2937;
  border-radius: 20px;
  padding: 40px;
  color: #fff;
  display: flex; gap: 30px; align-items: flex-start;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.tips-icon { font-size: 50px; }

.tips-content h3 { font-family: 'Playfair Display', serif; font-size: 24px; margin-top: 0; margin-bottom: 25px; color: #fff; }

.tips-grid {
  display: flex; gap: 40px; margin-bottom: 25px;
}

.tip-item { border-left: 2px solid var(--primary); padding-left: 15px; }

.tip-percent {
  display: block; font-size: 32px; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 5px;
}
.tip-item p { font-size: 13px; color: rgba(255,255,255,0.8); margin: 0; }

.tip-footer {
  font-size: 13px; font-style: italic; color: #9ca3af; margin: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .tips-box { flex-direction: column; }
  .tips-grid { flex-direction: column; gap: 20px; }
  .timeline-container { padding-left: 30px; }
  .timeline-container::before { left: 9px; }
  .tl-marker { left: -30px; width: 24px; height: 24px; font-size: 11px; }
}

/* =========================================
   PÁGINA DGP (GENÉTICA)
========================================= */

/* Intro */
.dgp-intro { padding: 80px 0; background: #fff; }
.dgp-intro-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: center;
}
.dgp-highlight {
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 16px;
  padding: 30px; text-align: center;
}
.dna-icon { font-size: 50px; margin-bottom: 15px; display: block; animation: float 3s infinite ease-in-out; }

/* Sección Estadísticas (Dark Mode Tech) */
.dgp-stats-section {
  padding: 80px 0;
  background: #1f2937; /* Fondo oscuro */
  color: #fff;
}

.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: 0.3s;
}
.stat-card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.1); }

/* Gráfico Circular CSS Puro */
.circular-chart {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--p)*1%), rgba(255,255,255,0.1) 0);
  margin: 0 auto 20px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.circular-chart::before {
  content: ""; position: absolute; inset: 10px; background: #1f2937; border-radius: 50%;
}
.stat-value {
  position: relative; z-index: 2; font-size: 28px; font-weight: 700; color: #fff;
}

.stat-card h4 { font-size: 18px; margin: 0 0 10px; color: var(--primary); }
.stat-card p { font-size: 14px; color: rgba(255,255,255,0.7); margin: 0; }


/* Detalles e Indicaciones */
.dgp-details-section { padding: 80px 0; background: #fdfdfd; }

.procedure-box {
  background: #fff; border-left: 5px solid var(--primary);
  padding: 30px; border-radius: 0 12px 12px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-bottom: 60px;
}
.procedure-box h3 { margin-top: 0; color: var(--text-dark); }

.indications-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;
}

.ind-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 25px; text-align: center;
  transition: 0.3s;
}
.ind-card:hover {
  border-color: var(--primary); box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.ind-icon { font-size: 30px; display: block; margin-bottom: 15px; }
.ind-card p { font-size: 14px; color: #4b5563; line-height: 1.5; margin: 0; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 900px) {
  .dgp-intro-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}


/* =========================================
   PÁGINA BANCO DE GAMETOS
========================================= */

/* Intro */
.gametos-intro { padding: 80px 0 60px; background: #fff; text-align: center; }
.intro-box-wide { max-width: 900px; margin: 0 auto; }
.intro-box-wide .section-heading {
  font-family: 'Playfair Display', serif; font-size: 36px;
  color: var(--primary); margin-bottom: 20px;
}
.intro-box-wide .lead-text { font-size: 18px; color: #374151; margin-bottom: 20px; }


/* SECCIÓN DONACIÓN */
.donation-section {
  padding: 60px 0 100px;
  background: #f9fafb;
}

.donation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.donation-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  display: flex;
  transition: 0.3s;
  border: 1px solid rgba(0,0,0,0.03);
}

.donation-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(154, 123, 111, 0.15);
}

.don-icon {
  width: 100px;
  background: #fdf2f8; /* Rosa suave por defecto */
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
}

.donation-card.male .don-icon { background: #eff6ff; /* Azul suave */ }

.don-content { padding: 35px; }

.don-content h3 {
  font-size: 22px; color: var(--text-dark); margin: 0 0 15px; font-weight: 700;
}

.don-desc { font-size: 14px; color: #6b7280; margin-bottom: 20px; line-height: 1.6; }

.don-list { list-style: none; padding: 0; }
.don-list li {
  position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 14px; color: #4b5563;
}
.don-list li::before {
  content: "•"; color: var(--primary); font-weight: bold; position: absolute; left: 0;
}
.donation-card.male .don-list li::before { color: #3b82f6; } /* Bullet azul para hombre */


/* SECCIÓN CRIOPRESERVACIÓN (Dark Tech Style) */
.cryo-section {
  padding: 100px 0;
  background: #111827; /* Fondo oscuro */
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Decoración de fondo */
.cryo-section::before {
  content: ""; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1), transparent);
  border-radius: 50%; pointer-events: none;
}

.cryo-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.cryo-badge {
  display: inline-block; background: rgba(255,255,255,0.1); color: #38bdf8; /* Celeste neón */
  font-size: 11px; font-weight: 700; padding: 5px 15px; border-radius: 20px;
  margin-bottom: 20px; letter-spacing: 1px; border: 1px solid rgba(56, 189, 248, 0.3);
}

.cryo-header h2 { font-family: 'Playfair Display', serif; font-size: 36px; margin: 0 0 20px; }
.cryo-header p { font-size: 16px; color: rgba(255,255,255,0.7); }

.cryo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.cryo-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 40px; border-radius: 20px;
  transition: 0.3s;
}

.cryo-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-5px);
}

.c-icon-box { font-size: 40px; margin-bottom: 20px; }

.cryo-card h3 { font-size: 22px; margin: 0 0 15px; }
.cryo-card p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 20px; }

.highlight-info {
  background: rgba(56, 189, 248, 0.1);
  border-left: 3px solid #38bdf8;
  padding: 15px; font-size: 13px; color: #e0f2fe;
  border-radius: 0 8px 8px 0;
}
.highlight-info span { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: #38bdf8; }

/* Tarjeta Oncofertilidad */
.cryo-card.onco:hover { border-color: #f59e0b; /* Dorado/Ambar */ }
.cryo-card.onco .c-icon-box { filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.5)); }


/* Mensaje de Esperanza */
.hope-message {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  max-width: 800px; margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.1);
}
.hope-message h4 { color: #f59e0b; font-size: 20px; margin: 0 0 15px; font-family: 'Playfair Display', serif; }
.hope-message p { color: #fff; font-size: 15px; margin: 0; line-height: 1.6; }


/* RESPONSIVE */
@media (max-width: 900px) {
  .donation-card { flex-direction: column; }
  .don-icon { width: 100%; height: 80px; }
}


/* =========================================
   PÁGINA ONCOFERTILIDAD
========================================= */

/* Intro */
.onco-intro {
  padding: 80px 0 60px;
  background: #fff;
  text-align: center;
}

/* Sección Soluciones (Fondo Oscuro Tech) */
.gender-solutions-section {
  padding: 80px 0 100px;
  background: #1f2937;
  color: #fff;
}

.gender-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.gender-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px;
  transition: 0.3s;
  display: flex; flex-direction: column;
}

.gender-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.06);
}

/* Estilos Específicos Mujer */
.gender-card.female:hover { border-color: #ec4899; box-shadow: 0 20px 50px rgba(236, 72, 153, 0.15); }
.gender-card.female .g-badge { background: rgba(236, 72, 153, 0.2); color: #f472b6; border: 1px solid #ec4899; }

/* Estilos Específicos Hombre */
.gender-card.male:hover { border-color: #3b82f6; box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15); }
.gender-card.male .g-badge { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid #3b82f6; }


.g-icon-box {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 25px;
}
.g-icon { font-size: 40px; background: rgba(255,255,255,0.1); width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.g-badge {
  font-size: 11px; text-transform: uppercase; font-weight: 700;
  padding: 6px 15px; border-radius: 20px; letter-spacing: 1px;
}

.gender-card h3 { font-size: 24px; margin: 0 0 15px; font-family: 'Playfair Display', serif; }
.gender-card p { color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 25px; flex: 1; }

.tech-box {
  background: rgba(0,0,0,0.2);
  padding: 20px; border-radius: 12px;
}
.tech-box h4 { font-size: 14px; margin: 0 0 10px; color: #fff; text-transform: uppercase; letter-spacing: 1px; }

.tech-box ul { list-style: none; padding: 0; margin: 0; }
.tech-box ul li {
  font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 8px; position: relative; padding-left: 15px;
}
.tech-box ul li::before {
  content: "•"; position: absolute; left: 0; color: #fff;
}


/* Sección Prevención (Wellness) */
.prevention-section {
  padding: 80px 0;
  background: #fff;
}

.prevention-box {
  max-width: 800px; margin: 0 auto;
  background: #f0fdf4; /* Verde muy suave */
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  padding: 40px;
  display: flex; gap: 30px; align-items: center;
}

.prev-icon { font-size: 60px; }

.prev-content h3 { font-size: 22px; color: #15803d; margin: 0 0 15px; }
.prev-content p { font-size: 15px; color: #166534; line-height: 1.6; margin-bottom: 10px; }
.prev-content strong { font-weight: 700; color: #14532d; }

/* Responsive */
@media (max-width: 900px) {
  .gender-grid { grid-template-columns: 1fr; }
  .prevention-box { flex-direction: column; text-align: center; }
}