/*
Theme Name: Centro Radioncológico del Norte de la Patagonia
Theme URI: https://centrordn.com.ar
Author: Centro Radioncológico del Norte de la Patagonia
Description: Theme institucional con soporte completo para Elementor. Colores y tipografía según Manual de Identidad oficial.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
License: Privado
Text Domain: centro-rdn
Tags: medical, oncology, responsive, elementor, custom-colors
*/

/* ===========================
   VARIABLES DE MARCA
=========================== */
:root {
  --azul:        #002B49;
  --azul-dark:   #011b2e;
  --teal:        #3FAEAA;
  --teal-dark:   #2e9490;
  --blanco:      #ffffff;
  --gris-bg:     #f4f7f9;
  --gris-borde:  #e2e8ed;
  --texto:       #1a2e3b;
  --texto-s:     #5a7080;
  --max-w:       1100px;

  /* Variables Elementor — sobreescriben defaults del builder */
  --e-global-color-primary:    #002B49;
  --e-global-color-secondary:  #3FAEAA;
  --e-global-color-accent:     #3FAEAA;
  --e-global-color-text:       #1a2e3b;
  --e-global-typography-primary-font-family:   'Nunito Sans';
  --e-global-typography-secondary-font-family: 'Nunito Sans';
}

/* ===========================
   RESET
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===========================
   LAYOUT BASE
=========================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section         { padding: 5rem 1.5rem; }
.section-gris    { background: var(--gris-bg); }
.section-azul    { background: var(--azul); }

/* ===========================
   TIPOGRAFÍA
=========================== */
h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.2; color: var(--azul); }
p { line-height: 1.7; }

.section-eyebrow {
  font-size: 11px; font-weight: 800;
  color: var(--teal); letter-spacing: 2.5px;
  text-transform: uppercase; margin-bottom: 0.5rem; display: block;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800; color: var(--azul); line-height: 1.2;
}
.section-title.blanco { color: var(--blanco); }
.section-sub    { font-size: 1rem; color: var(--texto-s); margin-top: 0.5rem; }
.section-sub.blanco { color: rgba(255,255,255,0.6); }
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }

/* ===========================
   BOTONES GLOBALES
=========================== */
.btn-primary {
  display: inline-block;
  background: var(--teal); color: var(--blanco);
  padding: 13px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 700;
  border: none; cursor: pointer;
  font-family: 'Nunito Sans', sans-serif;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); color: var(--blanco); }

.btn-outline {
  display: inline-block; background: transparent;
  color: var(--blanco); padding: 13px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 700;
  border: 2px solid rgba(255,255,255,0.4);
  transition: border-color 0.2s, color 0.2s; text-decoration: none;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.btn-outline-dark {
  display: inline-block; background: transparent;
  color: var(--azul); padding: 13px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 700;
  border: 2px solid var(--azul);
  transition: all 0.2s; text-decoration: none;
}
.btn-outline-dark:hover { background: var(--azul); color: var(--blanco); }

/* ===========================
   NAVBAR
=========================== */
.site-header {
  background: var(--azul);
  position: sticky; top: 0; z-index: 9999;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.navbar-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo img { width: 46px; height: 46px; }
.site-logo-text .l1 { font-size: 14px; font-weight: 900; color: var(--blanco); display: block; line-height: 1.2; }
.site-logo-text .l2 { font-size: 10px; font-weight: 700; color: var(--teal); display: block; }

.main-navigation { display: flex; align-items: center; }
.main-navigation ul { display: flex; align-items: center; gap: 1.75rem; }
.main-navigation ul li a {
  color: rgba(255,255,255,0.82); font-size: 13.5px; font-weight: 600;
  transition: color 0.2s; padding: 4px 0;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--teal); }
.main-navigation ul li.menu-cta a {
  background: var(--teal); color: var(--blanco) !important;
  padding: 9px 20px; border-radius: 7px;
}
.main-navigation ul li.menu-cta a:hover { background: var(--teal-dark); }

.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px; flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2.5px;
  background: var(--blanco); border-radius: 2px; transition: all 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===========================
   HERO (usado fuera de Elementor)
=========================== */
.hero-section {
  background: var(--azul); padding: 5rem 1.5rem 5rem;
  position: relative; overflow: hidden;
}
.hero-section::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 60px; background: var(--blanco);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-atom-bg {
  position: absolute; right: -40px; top: 50%;
  transform: translateY(-50%);
  opacity: 0.06; width: 480px; height: 480px; pointer-events: none;
}
.hero-content { max-width: 640px; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--teal);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--teal); }
.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900;
  color: var(--blanco); line-height: 1.1; margin-bottom: 1.25rem;
}
.hero-section h1 em { color: var(--teal); font-style: normal; }
.hero-lead { font-size: 1.05rem; color: rgba(255,255,255,0.72); line-height: 1.75; max-width: 520px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12);
}
.stat-num { font-size: 2.2rem; font-weight: 900; color: var(--teal); }
.stat-lbl { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 600; margin-top: 2px; }

/* ===========================
   STRIP INSTITUCIONAL
=========================== */
.inst-strip { background: var(--teal); padding: 1.25rem 1.5rem; }
.inst-strip-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.inst-item { display: flex; align-items: center; gap: 10px; color: var(--blanco); font-size: 13.5px; font-weight: 700; }
.inst-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.inst-sep { width: 1px; height: 28px; background: rgba(255,255,255,0.35); }

/* ===========================
   CARDS — TRATAMIENTOS
=========================== */
.tratamientos-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem;
}
.trat-card {
  background: var(--blanco); border-radius: 14px;
  padding: 1.75rem 1.5rem; border: 1px solid var(--gris-borde);
  transition: box-shadow 0.25s, transform 0.2s;
}
.trat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,43,73,0.10); }
.trat-icon {
  width: 52px; height: 52px; background: #e6f7f6;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.trat-icon svg { width: 28px; height: 28px; }
.trat-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--azul); margin-bottom: 0.5rem; }
.trat-card p  { font-size: 14px; color: var(--texto-s); line-height: 1.6; }
.trat-tag {
  display: inline-block; margin-top: 1rem;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--teal); background: #e6f7f6; padding: 4px 10px; border-radius: 20px;
}

/* ===========================
   CARDS — TECNOLOGÍA
=========================== */
.tec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.tec-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 1.75rem 1.5rem; transition: background 0.25s;
}
.tec-card:hover { background: rgba(63,174,170,0.12); }
.tec-num { font-size: 2.5rem; font-weight: 900; color: var(--teal); line-height: 1; margin-bottom: 0.75rem; }
.tec-card h3 { font-size: 1rem; font-weight: 800; color: var(--blanco); margin-bottom: 0.5rem; }
.tec-card p  { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ===========================
   NOSOTROS
=========================== */
.nosotros-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.nosotros-visual {
  background: var(--azul); border-radius: 20px;
  padding: 3rem 2rem; display: flex; align-items: center; justify-content: center;
  min-height: 340px;
}
.nosotros-valores { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.valor-item { display: flex; gap: 12px; align-items: flex-start; }
.valor-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); flex-shrink: 0; margin-top: 6px; }
.valor-item h4 { font-size: 15px; font-weight: 800; color: var(--azul); margin-bottom: 2px; }
.valor-item p  { font-size: 14px; color: var(--texto-s); line-height: 1.5; }

/* ===========================
   CARDS — EQUIPO MÉDICO
=========================== */
.equipo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.medico-card {
  background: var(--blanco); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--gris-borde); text-align: center;
  transition: box-shadow 0.25s, transform 0.2s;
}
.medico-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,43,73,0.10); }
.medico-header {
  background: var(--azul); height: 100px;
  display: flex; align-items: center; justify-content: center;
}
.medico-header img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.2); }
.medico-avatar {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--teal); display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: var(--blanco);
  border: 3px solid rgba(255,255,255,0.2);
}
.medico-body { padding: 1.1rem 1rem 1.25rem; }
.medico-body h4 { font-size: 15px; font-weight: 800; color: var(--azul); }
.medico-especialidad { font-size: 13px; color: var(--teal); font-weight: 700; margin: 4px 0 6px; }
.medico-body p { font-size: 12.5px; color: var(--texto-s); line-height: 1.5; }

/* ===========================
   NOTICIAS / BLOG
=========================== */
.noticias-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.noticia-card {
  background: var(--blanco); border-radius: 14px;
  border: 1px solid var(--gris-borde); overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
}
.noticia-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,43,73,0.10); }
.noticia-thumb { width: 100%; height: 200px; object-fit: cover; display: block; }
.noticia-thumb-placeholder {
  height: 200px; background: var(--azul);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.noticia-cat-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 800; color: var(--blanco);
  background: var(--teal); padding: 4px 10px; border-radius: 20px;
}
.noticia-body { padding: 1.25rem; }
.noticia-meta { font-size: 12px; color: var(--texto-s); font-weight: 600; margin-bottom: 0.5rem; }
.noticia-body h3 { font-size: 1rem; font-weight: 800; color: var(--azul); margin-bottom: 0.5rem; line-height: 1.4; }
.noticia-body .excerpt { font-size: 13.5px; color: var(--texto-s); line-height: 1.6; }
.leer-mas {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 1rem; font-size: 13px; font-weight: 700; color: var(--teal); transition: gap 0.2s;
}
.leer-mas:hover { gap: 8px; color: var(--teal-dark); }

/* ===========================
   CTA TURNO
=========================== */
.cta-turno-section {
  background: var(--azul); padding: 5rem 1.5rem;
  text-align: center; position: relative; overflow: hidden;
}
.cta-turno-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-turno-section h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; color: var(--blanco); margin-bottom: 1rem; }
.cta-turno-section p  { font-size: 1.05rem; color: rgba(255,255,255,0.68); margin-bottom: 2rem; line-height: 1.7; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-tel  { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 1.5rem; font-size: 14px; color: rgba(255,255,255,0.55); font-weight: 600; }
.cta-tel a { color: var(--teal); font-weight: 700; }

/* ===========================
   CONTACTO
=========================== */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contacto-info h3 { font-size: 1.1rem; font-weight: 800; color: var(--azul); margin-bottom: 1.5rem; }
.info-item { display: flex; gap: 12px; margin-bottom: 1.25rem; align-items: flex-start; }
.info-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--azul); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 20px; height: 20px; }
.info-item h4 { font-size: 13px; font-weight: 800; color: var(--azul); margin-bottom: 2px; }
.info-item p, .info-item a { font-size: 14px; color: var(--texto-s); }
.obra-social-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0.75rem; }
.os-tag {
  font-size: 12px; font-weight: 700; color: var(--azul);
  background: var(--blanco); border: 1px solid var(--gris-borde);
  padding: 5px 12px; border-radius: 20px;
}
.contacto-form { background: var(--blanco); border-radius: 16px; padding: 2rem; border: 1px solid var(--gris-borde); }
.contacto-form h3 { font-size: 1.1rem; font-weight: 800; color: var(--azul); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--texto); margin-bottom: 5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--gris-borde);
  border-radius: 8px; font-size: 14px;
  font-family: 'Nunito Sans', sans-serif;
  color: var(--texto); background: var(--blanco);
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Contact Form 7 estilos */
.wpcf7-submit {
  width: 100%; padding: 13px; background: var(--teal); color: var(--blanco);
  border: none; border-radius: 8px; font-size: 15px; font-weight: 700;
  font-family: 'Nunito Sans', sans-serif; cursor: pointer; transition: background 0.2s;
}
.wpcf7-submit:hover { background: var(--teal-dark); }
.wpcf7-not-valid-tip { font-size: 12px; color: #e53e3e; margin-top: 4px; display: block; }
.wpcf7-response-output { margin-top: 1rem; padding: 10px 14px; border-radius: 8px; font-size: 14px; }

/* ===========================
   FOOTER
=========================== */
.site-footer { background: var(--azul-dark); padding: 3rem 1.5rem 1.5rem; color: rgba(255,255,255,0.55); }
.footer-top {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-brand .f-logo img { width: 38px; height: 38px; }
.footer-brand .fl1 { font-size: 13px; font-weight: 900; color: var(--blanco); display: block; }
.footer-brand .fl2 { font-size: 10px; font-weight: 700; color: var(--teal); display: block; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 800; color: var(--blanco); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--teal); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: 12px;
}
.footer-bottom a { color: var(--teal); }

/* ===========================
   PÁGINAS INTERNAS
=========================== */
.page-hero { background: var(--azul); padding: 4rem 1.5rem 3rem; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--blanco); font-weight: 900; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1rem; margin-top: 0.75rem; }
.breadcrumb { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
.breadcrumb a, .breadcrumb span { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 600; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* Entrada blog / tratamiento */
.entry-content { max-width: 720px; }
.entry-content p    { margin-bottom: 1.25rem; font-size: 1rem; color: var(--texto); line-height: 1.8; }
.entry-content h2   { font-size: 1.4rem; color: var(--azul); margin: 2rem 0 0.75rem; }
.entry-content h3   { font-size: 1.2rem; color: var(--azul); margin: 1.75rem 0 0.5rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content li   { margin-bottom: 0.5rem; font-size: 1rem; line-height: 1.7; color: var(--texto); }
.entry-content img  { border-radius: 10px; margin: 1.5rem 0; }
.entry-content blockquote {
  border-left: 4px solid var(--teal); padding: 0.75rem 1.5rem;
  background: var(--gris-bg); border-radius: 0 10px 10px 0;
  margin: 1.5rem 0; font-size: 1.05rem; color: var(--azul); font-style: italic;
}

/* Paginación */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px;
  font-size: 14px; font-weight: 700;
  border: 1.5px solid var(--gris-borde); color: var(--texto); transition: all 0.2s;
}
.pagination a:hover, .pagination .current { background: var(--teal); color: var(--blanco); border-color: var(--teal); }

/* ===========================
   ELEMENTOR — OVERRIDES
=========================== */

/* Fondo del body en editor */
body.elementor-editor-active { background: var(--blanco) !important; }

/* Quitar padding extra del canvas de Elementor en front-page */
.elementor-page .elementor-section-wrap { margin: 0 !important; }

/* Sección con fondo azul desde Elementor */
.e-bg-azul    { background: var(--azul) !important; }
.e-bg-teal    { background: var(--teal) !important; }
.e-bg-gris    { background: var(--gris-bg) !important; }

/* Headings dentro de Elementor con colores de marca */
.elementor-widget-heading .elementor-heading-title { font-family: 'Nunito Sans', sans-serif !important; font-weight: 800 !important; }
.e-titulo-blanco .elementor-heading-title { color: var(--blanco) !important; }
.e-titulo-teal  .elementor-heading-title { color: var(--teal) !important; }

/* Botones Elementor con estilo de marca */
.elementor-button.e-btn-teal {
  background: var(--teal) !important; color: var(--blanco) !important;
  border-radius: 8px !important; font-weight: 700 !important;
  font-family: 'Nunito Sans', sans-serif !important;
}
.elementor-button.e-btn-teal:hover { background: var(--teal-dark) !important; }
.elementor-button.e-btn-outline {
  background: transparent !important; color: var(--blanco) !important;
  border: 2px solid rgba(255,255,255,0.4) !important; border-radius: 8px !important;
  font-weight: 700 !important;
}
.elementor-button.e-btn-outline:hover { border-color: var(--teal) !important; color: var(--teal) !important; }

/* Iconos Elementor con color teal */
.e-icon-teal .elementor-icon { color: var(--teal) !important; }
.e-icon-teal .elementor-icon svg { fill: var(--teal) !important; }

/* Divisores */
.elementor-divider-separator { border-color: var(--teal) !important; }

/* Image boxes con estilo tarjeta */
.e-card-style .elementor-image-box-wrapper {
  background: var(--blanco); border-radius: 14px;
  padding: 1.75rem 1.5rem; border: 1px solid var(--gris-borde);
  transition: box-shadow 0.25s, transform 0.2s;
}
.e-card-style .elementor-image-box-wrapper:hover {
  transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,43,73,0.10);
}
.e-card-style .elementor-image-box-title { font-weight: 800 !important; color: var(--azul) !important; }
.e-card-style .elementor-image-box-description { color: var(--texto-s) !important; }

/* Stat box */
.e-stat-box { text-align: center; }
.e-stat-box .elementor-counter-number { font-size: 2.5rem !important; font-weight: 900 !important; color: var(--teal) !important; }
.e-stat-box .elementor-counter-title  { font-size: 12px !important; color: rgba(255,255,255,0.55) !important; font-weight: 600 !important; }

/* Team member cards */
.e-medico-card .elementor-team-member { border-radius: 14px !important; overflow: hidden !important; border: 1px solid var(--gris-borde) !important; }

/* ===========================
   WIDGETS SIDEBAR
=========================== */
.widget-area { display: flex; flex-direction: column; gap: 2rem; }
.widget { background: var(--blanco); border-radius: 14px; padding: 1.5rem; border: 1px solid var(--gris-borde); }
.widget-title { font-size: 15px; font-weight: 800; color: var(--azul); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--teal); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .main-navigation {
    display: none; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--azul); padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .main-navigation.toggled { display: flex; }
  .main-navigation ul { flex-direction: column; gap: 0; width: 100%; }
  .main-navigation ul li a { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 15px; display: block; }
  .main-navigation ul li:last-child a { border-bottom: none; }
  .site-header { position: relative; }
  .nosotros-inner  { grid-template-columns: 1fr; gap: 2rem; }
  .nosotros-visual { min-height: 220px; }
  .contacto-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top      { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand    { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .hero-section   { padding: 3.5rem 1.25rem 3rem; }
  .hero-atom-bg   { display: none; }
  .hero-btns      { flex-direction: column; }
  .hero-btns .btn-primary, .hero-btns .btn-outline { text-align: center; }
  .hero-stats     { gap: 1.5rem; }
  .stat-num       { font-size: 1.75rem; }
  .inst-strip-inner { flex-direction: column; gap: 1rem; }
  .inst-sep       { display: none; }
  .section        { padding: 3.5rem 1.25rem; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-top     { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .cta-btns       { flex-direction: column; align-items: center; }
  .cta-btns .btn-primary, .cta-btns .btn-outline { width: 100%; max-width: 300px; text-align: center; }
}
