/* ================================================================
   ORTOPÈDIA TURU — CSS MAESTRO COMPLETO
   Versión: 1.0 — Todas las páginas
   
   DÓNDE PEGAR:
   Elementor → Ajustes del sitio → CSS personalizado
   O: WordPress → Apariencia → Personalizar → CSS adicional

   ARCHIVOS INCLUIDOS:
   1. CSS global (home, header, nav, footer, clases comunes)
   2. Quiénes somos (page-id-22)
   3. Contacto (page-id-24)
   
   NOTA: El CSS de Soluciones (page-id-20) va en functions.php
   junto con la lógica JS de tabs (archivo soluciones-tabs.php)
   ================================================================ */

/* ============================================================
   ORTOPÈDIA TURU — CSS personalizado
   Para pegar en: Elementor > Ajustes del sitio > CSS personalizado
   O en: WordPress > Apariencia > Personalizar > CSS adicional
   ============================================================ */

/* ── VARIABLES DE COLOR ─────────────────────────────────────── */
:root {
  --navy:   #2E2F7A;
  --navy2:  #3A3B8F;
  --navy3:  #1C1D5C;
  --navy4:  #12134A;
  --teal:   #3BADA0;
  --teal2:  #4FC4B5;
  --teal3:  #2A8F84;
  --white:  #FFFFFF;
  --offwhite: #F0F4FF;
  --cream:  #EBF0FA;
  --muted:  #7A82B5;
  --muted2: #5A6070;
  --border: rgba(59,173,160,0.2);
  --border2: rgba(46,47,122,0.12);
  --text:   #1A1D3A;
}

/* ── TIPOGRAFÍAS GLOBALES ────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,600&family=DM+Sans:wght@300;400;500&display=swap');

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
}

/* Clases de utilidad que usas en el contenido */
.cursiva        { font-style: italic; }
.texto-amarillo { color: var(--teal2) !important; }

/* ── HEADER / NAV ────────────────────────────────────────────── */
#masthead {
  background: var(--navy3);
  box-shadow: 0 2px 24px rgba(18,19,74,0.35);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Contenedor principal del header */
#masthead .elementor-element-574dacd {
  min-height: 64px;
  padding: 0 32px !important;
  align-items: center;
}

/* Logo */
#masthead .elementor-element-622de38 {
  flex: 0 0 auto;
}
#masthead .elementor-widget-image img {
  max-height: 48px;
  width: auto;
}

/* Menú de navegación */
.hfe-nav-menu .hfe-menu-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(255,255,255,0.65) !important;
  transition: color .2s, border-color .2s;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
}
.hfe-nav-menu .hfe-menu-item:hover,
.hfe-nav-menu .current-menu-item > .hfe-menu-item {
  color: #ffffff !important;
  border-bottom-color: var(--teal);
}

/* Último ítem del menú (Contacto) → estilo botón */
#menu-item-27 .hfe-menu-item {
  background: var(--teal);
  color: #ffffff !important;
  padding: 7px 18px !important;
  border-radius: 3px !important;
  border-bottom: none !important;
  font-weight: 500 !important;
  transition: background .2s;
}
#menu-item-27 .hfe-menu-item:hover {
  background: var(--teal2);
}

#menu-item-27{
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── HERO — BLOQUE INTRO HOME ────────────────────────────────── */
.bloque-intro-home {

  min-height: 580px;
  padding: 80px 60px !important;
  position: relative;
  overflow: hidden;
}

/* Barra decorativa lateral derecha */
.bloque-intro-home::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--teal) 0%, transparent 100%);
  pointer-events: none;
}

/* Subtítulo pequeño amarillo (eyebrow) */
.subtitulo-peque-amarillo .elementor-heading-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px !important;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal2) !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.subtitulo-peque-amarillo .elementor-heading-title::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}

/* H1 principal del hero */
.bloque-intro-home h1.elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 52px !important;
  font-weight: 600;
  line-height: 1.1;
  color: #ffffff !important;
  margin-bottom: 20px;
}

/* Párrafo descriptivo del hero */
.bloque-intro-home .elementor-widget-text-editor p {
  font-size: 15px;
  color: white;
  line-height: 1.75;
  font-weight: 300;
  max-width: 440px;
  margin-bottom: 32px;
}

/* Botón primario — "Llamar ahora" */
.elementor-element-bcafab8 .elementor-button {
  background: var(--teal) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 3px !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 13px 28px !important;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.elementor-element-bcafab8 .elementor-button:hover {
  background: var(--teal2) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(59,173,160,0.35);
}

/* Botón secundario — "Como llegar" */
.elementor-element-8db6f02 .elementor-button {
  background: white !important;
  color: #12134A !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 3px !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  padding: 12px 26px !important;
  transition: border-color .2s, color .2s, background .2s;
}
.elementor-element-8db6f02 .elementor-button:hover {
  border-color: var(--teal) !important;
  color: var(--teal2) !important;
  background: rgba(59,173,160,0.08) !important;
}

/* Stats (50+, 6, Atención personalizada) */
.bloque-info-intro-home {
  border-left: 2px solid var(--teal);
  padding-left: 16px !important;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  color: var(--teal2);
  font-weight: 600;
  line-height: 1;
}

.stat-lbl {
  font-size: 16px;
  color: white;
  margin-top: 4px;
  letter-spacing: 0.3px;
  font-weight: 400;
}

/* Tercer stat — texto sin clase stat-num/stat-lbl */
.elementor-element-b600119 .elementor-widget-container {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--teal2);
  font-weight: 500;
  line-height: 1.3;
}

/* ── SECCIÓN NUESTRAS ÁREAS ──────────────────────────────────── */
.elementor-element-96eb799 {
  padding: 72px 60px !important;
  background: #ffffff;
}

/* Título H2 de sección */
.elementor-element-b4c63d7 .elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 36px !important;
  font-weight: 600;
  color: var(--navy) !important;
  line-height: 1.2;
  margin-bottom: 8px;
}

/* ── TARJETAS DE SOLUCIÓN ─────────────────────────────────────── */
.tarjeta-solucion-home {
  background: #ffffff;
  border: 1px solid var(--border2);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  cursor: pointer;
  padding: 0 !important;
}
.tarjeta-solucion-home:hover {
  box-shadow: 0 8px 32px rgba(46,47,122,0.12);
  transform: translateY(-3px);
}

/* Imagen de la tarjeta */
.tarjeta-solucion-home .elementor-widget-image {
  margin: 0 !important;
  padding: 0 !important;
}
.tarjeta-solucion-home .elementor-widget-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform .5s ease;
}
.tarjeta-solucion-home:hover .elementor-widget-image img {
  transform: scale(1.04);
}

.tarjeta-solucion-home .elementor-widget-image a{
  width: 100%;
}

/* Zona de texto de la tarjeta */
.tarjeta-solucion-home .elementor-widget-heading,
.tarjeta-solucion-home .elementor-widget-text-editor,
.tarjeta-solucion-home .boton-tarjeta {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* Título de la tarjeta */
.tarjeta-solucion-home h2 a{
  text-decoration: none !important;
}

.tarjeta-solucion-home .elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 25px !important;
  font-weight: 600;
  color: var(--navy) !important;
  margin-top: 16px;
  margin-bottom: 6px;
  transition: color .2s;
}
.tarjeta-solucion-home:hover .elementor-heading-title {
  color: var(--teal3) !important;
}

/* Descripción dentro de la tarjeta */
.tarjeta-solucion-home .elementor-widget-text-editor,
.tarjeta-solucion-home .sol-card-desc,
.tarjeta-solucion-home p {
  font-size: 15px !important;
  color: black !important;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 0;
}

/* Borde inferior turquesa al hacer hover */
.tarjeta-solucion-home {
  border-top: 3px solid transparent;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.tarjeta-solucion-home:hover {
  border-top-color: var(--teal);
}

/* Botón "Ver más →" dentro de tarjeta */
.boton-tarjeta .elementor-button {
  background: transparent !important;
  color: var(--teal) !important;
  border: none !important;
  padding: 8px 0 16px 0 !important;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: none !important;
  transition: gap .2s, letter-spacing .2s;
}
.boton-tarjeta .elementor-button:hover {
  color: var(--teal3) !important;
  letter-spacing: 1px;
}

/* ── SECCIÓN QUIÉNES SOMOS (ABOUT BAND) ─────────────────────── */
.elementor-element-442f664 {
  min-height: 440px;
}

/* Columna izquierda — imagen */
.elementor-element-a1f7220 {
  overflow: hidden;
}
.elementor-element-a1f7220 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: saturate(0.7);
}

/* Columna derecha — contenido */
.elementor-element-4df1435 {
  padding: 64px 56px !important;
  justify-content: center;
}

/* Subtítulo pequeño "Quiénes somos" */
.elementor-element-442f664 .subtitulo-peque-amarillo .elementor-heading-title {
  color: var(--teal2) !important;
}

/* H1 de la sección about */
.elementor-element-442f664 h1.elementor-heading-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 36px !important;
  font-weight: 600;
  color: #ffffff !important;
  line-height: 1.15;
  margin-bottom: 18px;
}

/* Texto descriptivo */
.elementor-element-442f664 .elementor-widget-text-editor p {
  font-size: 15px;
  color: white;
  line-height: 1.8;
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 24px;
}

/* Pills de valores */
.val-pills {
  display: inline-flex;
  margin-right: 6px;
  margin-bottom: 6px;
}
.val-pill {
  display: inline-block;
  background: rgba(59,173,160,0.15);
  border: 1px solid rgba(59,173,160,0.35);
  color: var(--teal2);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Botón "Conocer más →" en about */
.elementor-element-dcf1932 .elementor-button {
  background: white !important;
  color: #12134A !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 3px !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  padding: 12px 26px !important;
  transition: border-color .2s, color .2s;
}
.elementor-element-dcf1932 .elementor-button:hover {
  border-color: var(--teal) !important;
  color: var(--teal2) !important;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
#site-footer {
  background: var(--navy4) !important;
  border-top: 3px solid var(--teal);
  padding: 32px 60px !important;
}
#site-footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#site-footer .copyright p {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.3px;
  margin: 0;
}

/* ── ESTILOS GLOBALES ELEMENTOR ─────────────────────────────── */

/* Eliminar márgenes por defecto de widgets en hero */
.bloque-intro-home .elementor-widget-heading,
.bloque-intro-home .elementor-widget-text-editor,
.bloque-intro-home .elementor-widget-button {
  margin-bottom: 0;
}

/* Separador entre secciones */
.elementor-element-b3694a0 {
  padding: 20px 0 !important;
}

/* ── RESPONSIVE — TABLET (≤1024px) ──────────────────────────── */
@media (max-width: 1024px) {
  .bloque-intro-home {
    padding: 56px 32px !important;
    min-height: auto;
  }
  .bloque-intro-home h1.elementor-heading-title {
    font-size: 38px !important;
  }
  .elementor-element-96eb799 {
    padding: 48px 32px !important;
  }
  .elementor-element-4df1435 {
    padding: 48px 32px !important;
  }
  #site-footer {
    padding: 28px 32px !important;
  }
}

/* ── RESPONSIVE — MÓVIL (≤767px) ────────────────────────────── */
@media (max-width: 767px) {
  .bloque-intro-home {
    padding: 48px 20px !important;
    min-height: auto;
  }
  .bloque-intro-home h1.elementor-heading-title {
    font-size: 30px !important;
  }
  .bloque-intro-home .elementor-widget-text-editor p {
    font-size: 14px;
  }
  .elementor-element-96eb799 {
    padding: 40px 20px !important;
  }
  .elementor-element-b4c63d7 .elementor-heading-title {
    font-size: 26px !important;
  }
  .tarjeta-solucion-home .elementor-widget-image img {
    height: 160px;
  }
  .elementor-element-442f664 {
    flex-direction: column !important;
  }
  .elementor-element-a1f7220 {
    min-height: 220px;
  }
  .elementor-element-4df1435 {
    padding: 40px 20px !important;
  }
  .elementor-element-442f664 h1.elementor-heading-title {
    font-size: 28px !important;
  }
  #site-footer {
    padding: 24px 20px !important;
  }
  #site-footer .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  /* Menú hamburguesa */
  .hfe-nav-menu__toggle {
    color: #ffffff;
  }
}


/* ============================================================
   QUIÉNES SOMOS (page-id-22) — CSS personalizado
   Añadir junto al resto en: Elementor > Ajustes del sitio >
   CSS personalizado  (o Apariencia > Personalizar > CSS adicional)
   ============================================================ */

/* ── HERO (reutiliza .bloque-intro-home del global) ─────────────
   Solo ajustes específicos de esta página                        */

.page-id-22 .bloque-intro-home {
    min-height: 420px;
}

.page-id-22 .bloque-intro-home h1.elementor-heading-title {
    font-size: 48px !important;
    line-height: 1.1;
}

/* ── BANDA DE CITA ──────────────────────────────────────────── */
.elementor-element-98fe530 {
    background: #3BADA0 !important; /* turquesa de marca */
    padding: 32px 60px !important;
}

.elementor-element-98fe530 h2.elementor-heading-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 21px !important;
    font-weight: 500;
    font-style: italic;
    color: #ffffff !important;
    line-height: 1.55;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

/* ── SECCIÓN TEXTO + IMAGEN ─────────────────────────────────── */
.elementor-element-bb4d5f4 {
    padding: 72px 0 !important;
    background: #ffffff;
}

.elementor-element-bb4d5f4 .e-con-inner {
    gap: 64px;
    align-items: center;
}

/* Columna de texto */
.elementor-element-acfc665 {
    padding-right: 16px;
}

/* Párrafos .about-para */
p.about-para {
    font-size: 14.5px !important;
    color: #1A1D3A !important;
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 20px !important;
    font-family: 'DM Sans', sans-serif;
}

p.about-para:last-of-type {
    margin-bottom: 28px !important;
}

/* Botón "Contactar con nosotros →" */
.boton-somos-nosotros .elementor-button {
    background: #3BADA0 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 3px !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 13px 28px !important;
    transition: background .2s, transform .2s, box-shadow .2s;
}

.boton-somos-nosotros .elementor-button:hover {
    background: #4FC4B5 !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(59,173,160,0.35);
}

/* Imagen de la columna derecha */
.elementor-element-07b2681 .elementor-widget-image img {
    border-radius: 4px;
    width: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0 12px 40px rgba(46,47,122,0.12);
}

/* ── SECCIÓN VALORES ────────────────────────────────────────── */
.elementor-element-8535d7b {
    padding: 64px 60px !important;
}

/* Título "Nuestros valores" */
.elementor-element-dcfb1a7 .elementor-heading-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 34px !important;
    font-weight: 600;
    color: white !important;
    text-align: center;
    margin-bottom: 40px !important;
    width: 100%;
}

/* Grid de 4 valores */
.elementor-element-107e034 {
    gap: 24px !important;
}

/* Cada tarjeta de valor */
.elementor-element-8535d7b .elementor-widget-icon-box {
    background: #ffffff;
    border-radius: 6px;
    padding: 28px 24px !important;
    border: 1px solid rgba(46,47,122,0.10);
    transition: box-shadow .25s, transform .25s, border-color .25s;
    height: 100%;
    min-height: 260px;
}

.elementor-element-8535d7b .elementor-widget-icon-box:hover {
    box-shadow: 0 8px 28px rgba(46,47,122,0.10);
    transform: translateY(-3px);
    border-color: rgba(59,173,160,0.3);
}

/* Icono de cada valor */
.elementor-element-8535d7b .elementor-icon {
    color: #3BADA0 !important;
    margin-bottom: 14px;
}

.elementor-element-8535d7b .elementor-icon svg {
    width: 28px !important;
    height: 28px !important;
    fill: #3BADA0;
}

/* Título de cada valor */
.elementor-element-8535d7b .elementor-icon-box-title span {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: #2E2F7A !important;
    display: block;
    margin-bottom: 8px;
}

/* Descripción de cada valor */
.elementor-element-8535d7b .elementor-icon-box-description {
    font-size: 15px !important;
    color: black !important;
    line-height: 1.65;
    font-weight: 300;
    font-family: 'DM Sans', sans-serif;
}

/* ── RESPONSIVE — TABLET (≤1024px) ──────────────────────────── */
@media (max-width: 1024px) {
    .page-id-22 .bloque-intro-home h1.elementor-heading-title {
        font-size: 36px !important;
    }
    .elementor-element-98fe530 {
        padding: 28px 32px !important;
    }
    .elementor-element-98fe530 h2.elementor-heading-title {
        font-size: 18px !important;
    }
    .elementor-element-bb4d5f4 {
        padding: 48px 0 !important;
    }
    .elementor-element-8535d7b {
        padding: 48px 32px !important;
    }
    .elementor-element-107e034 {
        gap: 16px !important;
    }
}

/* ── RESPONSIVE — MÓVIL (≤767px) ────────────────────────────── */
@media (max-width: 767px) {
    .page-id-22 .bloque-intro-home {
        min-height: auto;
    }
    .page-id-22 .bloque-intro-home h1.elementor-heading-title {
        font-size: 28px !important;
    }
    .elementor-element-98fe530 {
        padding: 24px 20px !important;
    }
    .elementor-element-98fe530 h2.elementor-heading-title {
        font-size: 16px !important;
        text-align: left;
    }
    .elementor-element-bb4d5f4 {
        padding: 40px 0 !important;
    }
    /* Texto arriba, imagen abajo en móvil */
    .elementor-element-bb4d5f4 .e-con-inner {
        flex-direction: column !important;
        gap: 32px !important;
    }
    .elementor-element-acfc665 {
        padding-right: 0;
    }
    .elementor-element-8535d7b {
        padding: 40px 20px !important;
    }
    .elementor-element-dcfb1a7 .elementor-heading-title {
        font-size: 26px !important;
        margin-bottom: 28px !important;
    }
    /* Valores en 2 columnas en móvil */
    .elementor-element-107e034 {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
    .elementor-element-0f1db0c,
    .elementor-element-719a605,
    .elementor-element-4a14941,
    .elementor-element-f4b5a23 {
        width: calc(50% - 6px) !important;
        flex: none !important;
    }
    .elementor-element-8535d7b .elementor-widget-icon-box {
        padding: 20px 16px !important;
    }
}
/* ============================================================
   CONTACTO (page-id-24) — CSS personalizado
   Añadir junto al resto en: Elementor > Ajustes del sitio >
   CSS personalizado  (o Apariencia > Personalizar > CSS adicional)
   ============================================================ */

/* ── CONTENEDOR PRINCIPAL — DOS COLUMNAS ────────────────────── */
.page-id-24 .elementor-element-58ca9b4 {
    min-height: 85vh;
    align-items: stretch !important;
}

/* Columna izquierda — fondo navy oscuro (sobreescribe el gradiente de Elementor) */
.page-id-24 .elementor-element-c82b189 {
    background: #1C1D5C !important;
    padding: 72px 56px !important;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Círculo decorativo top-right */
.page-id-24 .elementor-element-c82b189::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: rgba(59,173,160,0.07);
    pointer-events: none;
}

/* Círculo decorativo bottom-left */
.page-id-24 .elementor-element-c82b189::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(59,173,160,0.05);
    pointer-events: none;
}

/* H1 del hero de contacto */
.page-id-24 .elementor-element-02ce4f6 h1.elementor-heading-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 44px !important;
    font-weight: 600;
    color: #ffffff !important;
    line-height: 1.15;
    margin-bottom: 16px;
}

/* Párrafo "Escríbenos..." */
.page-id-24 .elementor-element-7586ced .elementor-widget-container p {
    font-size: 14px;
    color: rgba(255,255,255,0.58);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 36px;
}

/* ── ICON BOXES DE CONTACTO ─────────────────────────────────── */
/* (Dirección, Teléfono, Email, Horario) */
.page-id-24 .elementor-element-c82b189 .elementor-widget-icon-box {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.page-id-24 .elementor-element-c82b189 .elementor-icon-box-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* Caja del icono */
.page-id-24 .elementor-element-c82b189 .elementor-icon-box-icon .elementor-icon,
.page-id-24 .elementor-element-c82b189 .elementor-icon-box-icon span.elementor-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    background: rgba(59,173,160,0.15) !important;
    border: 1px solid rgba(59,173,160,0.35) !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    color: #3BADA0 !important;
    text-decoration: none;
}

.page-id-24 .elementor-element-c82b189 .elementor-icon-box-icon svg {
    width: 16px !important;
    height: 16px !important;
    fill: #3BADA0 !important;
}

/* Título del icon box (Dirección, Teléfono, etc.) */
.page-id-24 .elementor-element-c82b189 .elementor-icon-box-title,
.page-id-24 .elementor-element-c82b189 .elementor-icon-box-title a,
.page-id-24 .elementor-element-c82b189 .elementor-icon-box-title span {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 15px !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #4FC4B5 !important;
    font-weight: 500 !important;
    margin-bottom: 4px;
    display: block;
    text-decoration: none !important;
}

/* Descripción del icon box (valor real: dirección, teléfono, etc.) */
.page-id-24 .elementor-element-c82b189 .elementor-icon-box-description {
    font-size: 16px !important;
    color: rgba(255,255,255,0.75) !important;
    line-height: 1.55;
    font-weight: 300;
    font-family: 'DM Sans', sans-serif;
    margin: 0;
}

/* ── COLUMNA DERECHA — MAPA + TÍTULO ────────────────────────── */
.page-id-24 .elementor-element-6c1e9c2 {
    background: #ffffff;
    padding: 56px 52px !important;
    justify-content: center;
}

/* Título "O visítanos" con clase .texto-verde */
.texto-verde .elementor-heading-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 30px !important;
    font-weight: 600;
    color: #2E2F7A !important;
    margin-bottom: 8px !important;
    line-height: 1.2;
}

/* Párrafo "Ven a nuestra tienda en Terrassa." */
.page-id-24 .elementor-element-28e9ca4 .elementor-widget-container p {
    font-size: 14px;
    color: #5A6070;
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 24px;
}

/* ── IFRAME DE GOOGLE MAPS ──────────────────────────────────── */
.page-id-24 .elementor-element-5def2e1 {
    width: 100%;
}

.page-id-24 .elementor-element-5def2e1 iframe {
    width: 100% !important;
    height: 380px !important;
    border-radius: 6px;
    border: 1.5px solid rgba(46,47,122,0.12) !important;
    display: block;
}

/* ── RESPONSIVE — TABLET (≤1024px) ──────────────────────────── */
@media (max-width: 1024px) {
    .page-id-24 .elementor-element-58ca9b4 {
        min-height: auto;
        flex-direction: column !important;
    }
    .page-id-24 .elementor-element-c82b189 {
        padding: 48px 32px !important;
    }
    .page-id-24 .elementor-element-02ce4f6 h1.elementor-heading-title {
        font-size: 36px !important;
    }
    .page-id-24 .elementor-element-6c1e9c2 {
        padding: 48px 32px !important;
    }
    .page-id-24 .elementor-element-5def2e1 iframe {
        height: 300px !important;
    }
}

/* ── RESPONSIVE — MÓVIL (≤767px) ────────────────────────────── */
@media (max-width: 767px) {
    .page-id-24 .elementor-element-c82b189 {
        padding: 40px 20px !important;
    }
    .page-id-24 .elementor-element-02ce4f6 h1.elementor-heading-title {
        font-size: 28px !important;
    }
    .page-id-24 .elementor-element-6c1e9c2 {
        padding: 36px 20px !important;
    }
    .texto-verde .elementor-heading-title {
        font-size: 24px !important;
    }
    .page-id-24 .elementor-element-5def2e1 iframe {
        height: 240px !important;
    }
    /* Icon boxes en móvil: apilar verticalmente */
    .page-id-24 .elementor-element-c82b189 .elementor-icon-box-wrapper {
        gap: 12px;
    }

    .caja-icono-contacto .elementor-icon-box-wrapper {
      align-items: center !important;
      flex-direction: row !important;
      text-align: center;
    }

    .page-id-24 .elementor-element-c82b189 .elementor-icon-box-icon svg {
      width: 47px !important;
      height: 35px !important;
      fill: #3BADA0 !important;
    }

    .page-id-24 .elementor-element-c82b189 .elementor-icon-box-icon .elementor-icon, .page-id-24 .elementor-element-c82b189 .elementor-icon-box-icon span.elementor-icon {
      width: 80px !important;
      height: 75px !important;
    }

    .page-id-24 .elementor-icon-box-wrapper h3, .page-id-24 .elementor-icon-box-wrapper a, .page-id-24 .elementor-icon-box-wrapper p{
      text-align: left !important;
    }

    header .elementor-widget-image{
      justify-content: center;
      align-items: center;
      display: flex;
    }

    /* Contenedor principal del header */
    #masthead .elementor-element-574dacd {
      min-height: 64px;
      padding: 0 32px !important;
      align-items: center;
    }

    .hfe-nav-menu .hfe-menu-item:hover, .hfe-nav-menu .current-menu-item > .hfe-menu-item {
      border-bottom-color: transparent !important;
    }

    /*quienes somos*/
    .elementor-element-8535d7b .elementor-icon svg {
      width: 57px !important;
      height: 57px !important;
      fill: #3BADA0;
    }

    .elementor-element-8535d7b .elementor-widget-icon-box {
      padding: 20px 20px !important;
    }

    /*soluciones*/
    .tabs-soluciones .e-n-tab-title {
      padding: 10px 22px !important;
    }
}


.e-n-tabs-content .elementor-widget-text-editor {
    color: #1A1D3A;
}



/* ── HERO CON IMAGEN DE FONDO VISIBLE ── */
/* Overlay sobre imagen de fondo del hero */
.bloque-intro-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 19, 74, 0.60);
  z-index: 0;
  pointer-events: none;
}

.bloque-intro-home > .e-con,
.bloque-intro-home > .elementor-container {
  position: relative;
  z-index: 1;
}

/*Banner cookies*/
.cky-consent-bar{
  background-color: #000E6F !important;
  border-color: #000E6F !important;
}

.cky-title, .cky-consent-bar p, .cky-consent-bar a{
  color: white !important;
}

.cky-btn-reject{
  color: white !important;
  background-color: transparent !important;
  border-color: white !important;
}

.cky-btn-accept{
  color: #000E6F !important;
  background-color: white !important;
  border-color: white !important;
}


/* ================================================================
   SERVICIOS (page-id-353) — CSS adicional
   Pegar al final del CSS maestro en:
   Elementor → Ajustes del sitio → CSS personalizado
   ================================================================ */

/* ── HERO DE SERVICIOS ───────────────────────────────────────── */
/* Reutiliza la clase .plantillas que ya tienes en Soluciones,
   pero aquí solo hay UN bloque hero (sin lógica de tabs que lo
   muestre/oculte), así que lo dejamos siempre visible */

.page-id-353 .plantillas.e-con {
    min-height: 380px;
    position: relative;
    overflow: hidden;
}

/* Overlay navy sobre la imagen de fondo */
.page-id-353 .plantillas.e-con::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(18,19,74,0.96) 0%, rgba(28,29,92,0.65) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Barra turquesa inferior */
.page-id-353 .plantillas.e-con::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3BADA0 0%, transparent 100%);
    z-index: 2;
}

/* Contenido interior por encima del overlay */
.page-id-353 .plantillas.e-con .e-con-inner {
    position: relative;
    z-index: 3;
    padding: 64px 60px !important;
}

/* H1 del hero */
.page-id-353 .plantillas h1.elementor-heading-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 48px !important;
    font-weight: 600;
    color: #ffffff !important;
    line-height: 1.1;
    margin-bottom: 14px;
}

/* Párrafo descriptivo del hero */
.page-id-353 .plantillas .elementor-widget-text-editor p {
    color: white;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
    max-width: 560px;
    margin-bottom: 0;
}

/* ── TABS DE SERVICIOS ───────────────────────────────────────── */
/* Mismos estilos que .tabs-soluciones — ya están en el CSS maestro
   via functions.php, pero esta página no pasa por ese hook.
   Los redeclaramos aquí para que se apliquen también en page-353 */

.page-id-353 .tabs-soluciones .e-n-tabs-heading {
    background: #ffffff;
    border-bottom: 1px solid rgba(46,47,122,0.12);
    display: flex;
    overflow-x: auto;
    padding: 0 32px;
    box-shadow: 0 2px 8px rgba(46,47,122,0.06);
    scrollbar-width: none;
}
.page-id-353 .tabs-soluciones .e-n-tabs-heading::-webkit-scrollbar {
    display: none;
}

.page-id-353 .tabs-soluciones .e-n-tab-title {
    padding: 18px 22px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11.5px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    color: #5A6070 !important;
    white-space: nowrap;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
    cursor: pointer;
    transition: color .2s, border-color .2s;
    border-radius: 0 !important;
    outline: none;
}
.page-id-353 .tabs-soluciones .e-n-tab-title:hover {
    color: #2E2F7A !important;
}
.page-id-353 .tabs-soluciones .e-n-tab-title[aria-selected="true"] {
    color: #2E2F7A !important;
    border-bottom-color: #3BADA0 !important;
    font-weight: 500 !important;
}
.page-id-353 .tabs-soluciones .e-n-tab-title:focus {
    outline: none;
    box-shadow: none;
}

/* ── CONTENIDO DE CADA TAB ───────────────────────────────────── */
.page-id-353 .tabs-soluciones .e-n-tabs-content {
    background: #EBF0FA;
    padding: 48px 0 !important;
}

/* Panel imagen + info (.contenedor-tabs) */
.page-id-353 .contenedor-tabs {
    padding: 0 60px !important;
}

/* Imagen dentro del tab */
.page-id-353 .contenedor-tabs .elementor-widget-image img {
    width: 100%;
    border-radius: 4px;
    display: block;
    object-fit: cover;
    max-height: 420px;
}

/* H3 del panel (título del servicio) — cualquier heading level */
.page-id-353 .contenedor-tabs .elementor-heading-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: #4FC4B5 !important;
    line-height: 1.15;
}

.page-id-353 .contenedor-tabs h3.elementor-heading-title {
    font-size: 34px !important;
    margin-bottom: 14px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    color: #2E2F7A !important;
}

/* Párrafos del contenido */
.page-id-353 .contenedor-tabs .elementor-widget-text-editor p {
    font-size: 16px;
    color: #1A1D3A;
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: 14px;
}
/* Párrafo en negrita dentro del tab */
.page-id-353 .contenedor-tabs .elementor-widget-text-editor strong {
    color: #1A1D3A;
    font-weight: 500;
}

/* Botón "Solicitar información →" */
.page-id-353 .boton-informacion-soluciones .elementor-button {
    background: #3BADA0 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 3px !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 13px 28px !important;
    margin-top: 16px;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.page-id-353 .boton-informacion-soluciones .elementor-button:hover {
    background: #4FC4B5 !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(59,173,160,0.35);
}

/* ── FOOTER DE SERVICIOS (Elementor, elementor-259) ─────────── */
/* Este footer usa un nav de menú legal + copyright, diferente
   al #site-footer de Hello que usamos en las otras páginas */

#colophon {
    background: #12134A !important;
    border-top: 3px solid #3BADA0;
}

/* Contenedor del menú legal */
.elementor-element-fb6e690 {
    padding: 20px 40px !important;
}

/* Links del menú legal */
.elementor-element-fb6e690 .hfe-menu-item {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5) !important;
    font-weight: 400;
    transition: color .2s;
    text-decoration: none;
}
.elementor-element-fb6e690 .hfe-menu-item:hover {
    color: #4FC4B5 !important;
}

/* Contenedor del copyright */
.elementor-element-e54b653 {
    padding: 12px 40px 20px !important;
}
.elementor-element-e54b653 .elementor-widget-text-editor p {
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    text-align: center;
    font-weight: 300;
    margin: 0;
}

/* ── RESPONSIVE — TABLET (≤1024px) ──────────────────────────── */
@media (max-width: 1024px) {
    .page-id-353 .plantillas.e-con .e-con-inner {
        padding: 48px 32px !important;
    }
    .page-id-353 .plantillas h1.elementor-heading-title {
        font-size: 36px !important;
    }
    .page-id-353 .contenedor-tabs {
        padding: 0 32px !important;
    }
    .elementor-element-fb6e690,
    .elementor-element-e54b653 {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

/* ── RESPONSIVE — MÓVIL (≤767px) ────────────────────────────── */
@media (max-width: 767px) {
    .page-id-353 .plantillas.e-con .e-con-inner {
        padding: 40px 20px !important;
    }
    .page-id-353 .plantillas h1.elementor-heading-title {
        font-size: 28px !important;
    }
    .page-id-353 .tabs-soluciones .e-n-tabs-heading {
        padding: 0 16px;
    }
    .page-id-353 .tabs-soluciones .e-n-tab-title {
        padding: 12px 16px !important;
    }
    .page-id-353 .contenedor-tabs {
        padding: 0 20px !important;
    }
    .page-id-353 .contenedor-tabs h3.elementor-heading-title {
        font-size: 26px !important;
    }
    .elementor-element-fb6e690,
    .elementor-element-e54b653 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}


/* Tarjetas solución — imagen anclada al top */
.tarjeta-solucion-home .elementor-widget-image img {
    object-position: top center !important;
}