/* =========================================================================
   VIDI PROPERTY CARE — ESTILOS MAESTROS DE ALTA GAMA (DISEÑO LUMINOSO)
   Fondo: Blanco radiante (#ffffff) y tonos pizarra/marfil suaves (#f8fafc)
   Corporativo: Azul marino (#06366a) y Oro mediterráneo (#C29246)
/* Tipografías: Nunito Bold (titulares) y Open Sans (cuerpo de lectura) — cargadas en HTML con preconnect */

:root {
  /* Paleta Oficial VIDI */
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-subtle: #f1f5f9;
  --color-navy: #06366a;
  --color-navy-dark: #031e3b;
  --color-navy-light: #0d4b8e;
  --color-gold: #c29246;
  --color-gold-hover: #d8a555;
  --color-gold-light: rgba(194, 146, 70, 0.12);
  --color-gold-border: rgba(194, 146, 70, 0.35);

  --color-text-main: #0c2340;
  --color-text-muted: #52667d;
  --color-text-light: #7b8e9f;
  --color-white: #ffffff;

  --color-wa: #25d366;
  --color-wa-hover: #20ba5a;

  /* Tipografías */
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Sombras y Elevaciones */
  --shadow-sm: 0 2px 8px rgba(6, 54, 106, 0.04);
  --shadow-md: 0 8px 24px rgba(6, 54, 106, 0.08);
  --shadow-lg: 0 16px 40px rgba(6, 54, 106, 0.10);
  --shadow-gold: 0 8px 25px rgba(194, 146, 70, 0.25);

  /* Bordes */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* Transiciones */
  --transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =========================================================================
   RESET Y BASE
   ========================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #f8fafc;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: transparent !important;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* =========================================================================
   ESCENARIO DE VÍDEO CINEMATOGRÁFICO A 60 FPS (CANVAS MOTOR)
   - Visible y nítido (z-index: 0, body transparente).
   - Sin marcas de agua (fotogramas recortados limpiamente).
   - Cero lag: dibujado directo en GPU mediante Canvas.
   - Inclinación 3D interactiva al mover el ratón.
   ========================================================================= */
.media-stage-bright {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.video-3d-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.walkthrough-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.ambient-dust-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* =========================================================================
   CABECERA FLOTANTE (STICKY HEADER)
   ========================================================================= */
.header-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(6, 54, 106, 0.08);
  box-shadow: 0 4px 20px rgba(6, 54, 106, 0.04);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

/* Logo Circular en Cabecera */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo-img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-circle);
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(6, 54, 106, 0.12);
  border: 2px solid var(--color-white);
  transition: transform 0.3s ease;
}

.header-logo:hover .header-logo-img {
  transform: scale(1.05);
}

/* Navegación Principal */
.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-navy);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: var(--color-gold);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--color-gold);
}

.nav-link:hover::after {
  width: 100%;
}

/* Acciones de Cabecera */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Selector de Idioma */
.lang-selector-dropdown {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background-color: var(--color-bg-alt);
  border: 1px solid rgba(6, 54, 106, 0.12);
  border-radius: var(--radius-pill);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}

.lang-btn:hover {
  background-color: var(--color-white);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.globe-icon, .chevron-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: var(--color-white);
  border: 1px solid rgba(6, 54, 106, 0.10);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 150px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1010;
}

.lang-dropdown-menu.show {
  display: flex;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  transition: var(--transition);
}

.lang-opt:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-gold);
}

.lang-opt .flag {
  font-size: 1.1rem;
}

/* Botones Principales */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-whatsapp-header {
  background-color: var(--color-wa);
  color: var(--color-white);
  padding: 10px 20px;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.30);
}

.btn-whatsapp-header:hover {
  background-color: var(--color-wa-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.40);
  color: var(--color-white);
}

.wa-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-primary-gold {
  background-color: var(--color-gold);
  color: var(--color-white);
  box-shadow: var(--shadow-gold);
}

.btn-primary-gold:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(194, 146, 70, 0.35);
  color: var(--color-white);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn-outline-navy:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =========================================================================
   BOTÓN HAMBURGUESA & MENÚ DESPLEGABLE MÓVIL
   ========================================================================= */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-alt);
  border: 1px solid rgba(6, 54, 106, 0.14);
  cursor: pointer;
  gap: 5px;
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
  background-color: var(--color-white);
  border-color: var(--color-gold);
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.mobile-menu-toggle.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Cajón de Navegación Móvil (Luxury Glassmorphic Overlay) */
.mobile-nav-drawer {
  position: fixed;
  top: 82px;
  left: 0;
  width: 100%;
  height: calc(100vh - 82px);
  height: calc(100dvh - 82px);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 24px 20px 40px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  overflow-y: auto;
  border-bottom: 2px solid var(--color-gold);
  box-shadow: 0 20px 40px rgba(6, 54, 106, 0.15);
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-navy);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  border-bottom: 1px solid rgba(6, 54, 106, 0.06);
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background-color: var(--color-gold-light);
  color: var(--color-gold);
  padding-left: 20px;
}

.mobile-nav-actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(6, 54, 106, 0.10);
}

.mobile-drawer-wa {
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  justify-content: center;
}

body.mobile-nav-locked {
  overflow: hidden;
}

/* =========================================================================
   SECCIÓN HERO (INICIO LUMINOSO & LOGO CENTRADO)
   ========================================================================= */
.section-hero-light {
  position: relative;
  padding: 60px 0 90px;
  background: transparent;
  text-align: center;
}

.hero-content-wrapper {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 44px 36px;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: 0 20px 60px rgba(6, 54, 106, 0.15), 0 0 0 1px rgba(194, 146, 70, 0.20);
}

/* Logotipo Circular Central Grande */
.hero-logo-circular-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px auto;
  width: 100%;
  text-align: center;
}

.hero-logo-circular-img {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-circle);
  object-fit: cover;
  box-shadow: 0 12px 36px rgba(6, 54, 106, 0.18);
  border: 4px solid var(--color-white);
  background-color: var(--color-white);
  transition: transform 0.4s ease;
}

.hero-logo-circular-img:hover {
  transform: scale(1.04) rotate(1deg);
}

/* Badge Superior */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background-color: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-pill);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(194, 146, 70, 0.25);
}

/* Título Principal */
.hero-title-main {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--color-navy);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

/* Subtítulo Descriptivo Corporativo */
.hero-subtitle-desc {
  font-size: 1.12rem;
  color: #163252;
  font-weight: 600;
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto 34px;
}

/* Grupo de Botones */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Grid de Confianza Hero (4 tarjetas) */
.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.trust-item-card {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: var(--radius-md);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.trust-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold-border);
  background: rgba(255, 255, 255, 0.85);
}

.trust-icon-badge {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-gold-light);
  border-radius: var(--radius-circle);
  color: var(--color-navy);
}

.trust-icon-badge svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.trust-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.trust-card-text {
  font-size: 0.82rem;
  color: #0c2340;
  font-weight: 600;
  line-height: 1.4;
}

/* =========================================================================
   SECCIONES GENERALES (FONDO TRANSLÚCIDO & CONTRASTE ALTO)
   ========================================================================= */
.section-light {
  padding: 85px 0;
  position: relative;
  background: transparent;
}

.section-bg-alt {
  padding: 85px 0;
  position: relative;
  background: transparent;
}

/* Optimización de Renderizado: Aplazar pintura de secciones fuera de pantalla */
#metodo, #servicios, #planes, #resenas, #contacto, .footer-luxury {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

.section-header-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: 0 10px 35px rgba(6, 54, 106, 0.12), 0 0 0 1px rgba(194, 146, 70, 0.18);
}

.section-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  line-height: 1.25;
  color: var(--color-navy);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #0c2340;
  font-weight: 600;
  line-height: 1.65;
}

/* =========================================================================
   NUEVA SECCIÓN: SOBRE NOSOTROS / QUÉ ES VIDI (#nosotros)
   ========================================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.about-content-card {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-lead-text,
.about-body-text,
.founder-body-text {
  font-size: 1rem;
  font-weight: 600;
  color: #0c2340;
  line-height: 1.65;
  margin-bottom: 18px;
}

.about-body-text {
  margin-bottom: 24px;
}

.about-quote-box {
  background: rgba(255, 255, 255, 0.60);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.quote-mark {
  width: 28px;
  height: 28px;
  fill: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-quote-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-navy);
  line-height: 1.5;
  font-style: italic;
}

.about-service-preview {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid rgba(6, 54, 106, 0.10);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.about-service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.about-service-caption {
  padding: 14px 18px;
}

.caption-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  display: block;
  margin-bottom: 4px;
}

.caption-text {
  font-size: 0.88rem;
  color: #163252;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.about-founder-card {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.founder-badge {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
  line-height: 1.25;
}

.founder-profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.founder-photo-wrapper {
  width: 124px;
  height: 124px;
  min-width: 124px;
  border-radius: 50%;
  border: 3.5px solid var(--color-gold);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(6, 54, 106, 0.15);
  background-color: #fff;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-info-header {
  display: flex;
  flex-direction: column;
}

.founder-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.55rem;
  color: var(--color-navy);
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.founder-position {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gold);
  margin: 0 0 10px 0;
}

.founder-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: 14px;
}

.founder-highlight-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

.lang-pill {
  padding: 6px 12px;
  background-color: var(--color-bg-alt);
  border: 1px solid rgba(6, 54, 106, 0.12);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-navy);
}

.founder-body-text:last-child {
  margin-bottom: 0;
}

/* =========================================================================
   SECCIÓN 1: EL MÉTODO VIDI
   ========================================================================= */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.method-card {
  background-color: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.method-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold-border);
  background-color: rgba(255, 255, 255, 0.85);
}

.method-card-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 18px;
  opacity: 0.85;
}

.method-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: 14px;
}

.method-card-desc {
  font-size: 0.95rem;
  color: #0c2340;
  font-weight: 600;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.method-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(6, 54, 106, 0.08);
  padding-top: 16px;
}

.method-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-navy);
  font-weight: 600;
}

.method-check-icon {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* =========================================================================
   SECCIÓN 2: SERVICIOS Y ESPECIALISTAS EN SEGUNDAS RESIDENCIAS
   ========================================================================= */
.specialists-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.specialist-card {
  background-color: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.specialist-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold-border);
  background-color: rgba(255, 255, 255, 0.85);
}

.specialist-badge-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--color-bg-alt);
  border: 1px solid rgba(6, 54, 106, 0.10);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--color-navy);
  margin-bottom: 18px;
}

.specialist-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-navy);
  margin-bottom: 14px;
}

.specialist-desc {
  font-size: 0.96rem;
  color: #163252;
  font-weight: 600;
  line-height: 1.65;
  margin-bottom: 22px;
}

.specialist-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.specialist-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-navy);
}

.bullet-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

/* Banner de Cobertura Geográfica con Imagen de Orihuela Costa */
.coverage-banner-box {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 28px;
}

.coverage-img-wrapper {
  width: 250px;
  min-width: 230px;
  height: 145px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(6, 54, 106, 0.10);
  flex-shrink: 0;
  border: none;
}

.coverage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.coverage-banner-box:hover .coverage-img {
  transform: scale(1.04);
}

.coverage-img-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(6, 54, 106, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.coverage-content-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-grow: 1;
  flex-wrap: wrap;
}

.coverage-info-col {
  display: flex;
  align-items: center;
  gap: 16px;
}

.coverage-icon {
  width: 38px;
  height: 38px;
  fill: var(--color-gold);
  flex-shrink: 0;
}

.coverage-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.coverage-locations {
  font-size: 0.88rem;
  color: #0c2340;
  font-weight: 600;
}

.coverage-tag-pill {
  padding: 6px 14px;
  background-color: var(--color-gold-light);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--color-navy);
}

/* =========================================================================
   SECCIÓN 3: PLANES & TARIFAS
   ========================================================================= */
.pricing-billing-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.switch-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-navy);
}

.switch-pill-container {
  display: inline-flex;
  background-color: var(--color-bg-subtle);
  border: 1px solid rgba(6, 54, 106, 0.12);
  border-radius: var(--radius-pill);
  padding: 4px;
}

.billing-opt-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.billing-opt-btn.active {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(6, 54, 106, 0.20);
}

.discount-badge {
  display: inline-block;
  background-color: var(--color-gold);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  margin-left: 4px;
}

/* Grid de Planes */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 40px;
}

.pricing-card {
  background-color: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background-color: rgba(255, 255, 255, 0.85);
}

.pricing-card.featured {
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-md);
}

.pricing-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(194, 146, 70, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-card-header {
  text-align: center;
  border-bottom: 1px solid rgba(6, 54, 106, 0.08);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.pricing-plan-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.pricing-plan-subtitle {
  font-size: 0.88rem;
  color: #0c2340;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.pricing-price-currency {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-right: 4px;
}

.pricing-price-value {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-navy);
}

.pricing-price-period {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-left: 4px;
}

.pricing-annual-display {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(194, 146, 70, 0.12);
  border: 1px solid rgba(194, 146, 70, 0.35);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: center;
}

.annual-price-eq {
  font-size: 0.88rem;
  color: var(--color-navy);
  font-weight: 600;
}

.annual-price-eq strong {
  color: var(--color-gold);
  font-size: 0.95rem;
  font-weight: 800;
}

.annual-total-badge {
  font-size: 0.78rem;
  color: #0c2340;
  font-weight: 700;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-navy);
  font-weight: 600;
}

.pricing-feature-icon {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.btn-pricing {
  width: 100%;
}

/* Tarjeta Destacada de Visita de Evaluación Inicial */
.audit-visit-card {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: 0 12px 35px rgba(6, 54, 106, 0.12), 0 0 0 1px rgba(194, 146, 70, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.audit-visit-info {
  max-width: 680px;
}

.audit-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.audit-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.audit-desc {
  font-size: 0.94rem;
  color: #0c2340;
  font-weight: 600;
  line-height: 1.6;
}

.audit-action-box {
  display: flex;
  align-items: center;
  gap: 20px;
}

.audit-price-tag {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--color-navy);
  white-space: nowrap;
}

/* Matriz Comparativa Desplegable */
.matrix-toggle-container {
  text-align: center;
  margin-top: 10px;
}

.btn-toggle-matrix {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background-color: var(--color-white);
  border: 1px solid rgba(6, 54, 106, 0.15);
  border-radius: var(--radius-pill);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-toggle-matrix:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  color: var(--color-gold);
}

.btn-toggle-matrix .chevron {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

/* Indicador de desplazamiento horizontal en móvil */
.matrix-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px auto 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0c2340;
  background: rgba(194, 146, 70, 0.14);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(194, 146, 70, 0.35);
  width: fit-content;
  max-width: 92%;
}

.swipe-hint-icon {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
  flex-shrink: 0;
  animation: swipeHintAnim 2s infinite ease-in-out;
}

@keyframes swipeHintAnim {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.matrix-table-wrapper {
  margin-top: 30px;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-md);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.matrix-table th, .matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(6, 54, 106, 0.08);
}

.matrix-table th {
  background-color: var(--color-bg-alt);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-navy);
}

.matrix-table td {
  font-size: 0.9rem;
  color: var(--color-navy);
}

.matrix-table tr:hover td {
  background-color: rgba(6, 54, 106, 0.02);
}

.check-gold {
  color: var(--color-gold);
  font-weight: bold;
}

/* =========================================================================
   NUEVA SECCIÓN: RESEÑAS REALISTAS (#resenas)
   ========================================================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold-border);
  background: rgba(255, 255, 255, 0.85);
}

.review-stars {
  color: #d8a555;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-quote {
  font-size: 0.96rem;
  font-style: italic;
  font-weight: 600;
  color: #0c2340;
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.review-author-box {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(6, 54, 106, 0.08);
  padding-top: 16px;
}

.review-author-avatar {
  width: 42px;
  height: 42px;
  background-color: var(--color-white);
  border: 1px solid rgba(6, 54, 106, 0.12);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.review-author-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.96rem;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.review-author-loc {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* =========================================================================
   SECCIÓN 5: CONTACTO DIRECTO & PRESUPUESTO
   ========================================================================= */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(6, 54, 106, 0.18);
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.90);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-navy);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-light);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-form-submit {
  width: 100%;
  padding: 16px 24px;
  font-size: 1.05rem;
}

/* Tarjeta Lateral de Contacto Directo */
.contact-info-card {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 12px 35px rgba(6, 54, 106, 0.12), 0 0 0 1px rgba(194, 146, 70, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.direct-contact-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.direct-contact-desc {
  font-size: 0.95rem;
  color: #0c2340;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-channels-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.channel-icon-circle {
  width: 44px;
  height: 44px;
  background-color: var(--color-white);
  border: 1px solid rgba(6, 54, 106, 0.10);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  box-shadow: var(--shadow-sm);
}

.channel-icon-circle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.channel-text-group {
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.channel-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-navy);
}

.channel-val:hover {
  color: var(--color-gold);
}

/* =========================================================================
   PIE DE PÁGINA (FOOTER NAVY ELEGANTE)
   ========================================================================= */
.footer-navy-elegant {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 60px 0 30px;
  border-top: 3px solid var(--color-gold);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-img {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-circle);
  border: 2px solid var(--color-gold);
  background-color: var(--color-white);
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 360px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-gold);
  margin-bottom: 18px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a, .footer-nav-list button {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

.footer-nav-list a:hover, .footer-nav-list button:hover {
  color: var(--color-gold);
  transform: translateX(4px);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================================
   MODALES LEGALES (IMPRESSUM TMG § 5 / PRIVACIDAD RGPD)
   ========================================================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(3, 30, 59, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  background-color: var(--color-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-navy);
  transition: var(--transition);
}

.modal-close:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
}

.modal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.modal-body h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-navy);
  margin: 18px 0 8px;
}

.modal-body p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

/* Fallback para navegadores sin soporte de backdrop-filter */
@supports not (backdrop-filter: blur(1px)) {
  .hero-content-wrapper,
  .section-header-center,
  .trust-item-card,
  .about-content-card,
  .about-founder-card,
  .method-card,
  .specialist-card,
  .coverage-banner-box,
  .pricing-card,
  .audit-visit-card,
  .review-card,
  .contact-form-card,
  .contact-info-card {
    background-color: rgba(255, 255, 255, 0.94) !important;
  }
}

/* =========================================================================
   RESPONSIVE DESIGN (MÓVILES, TABLETS & RETINA)
   ========================================================================= */

/* Tablets & Pantallas Medianas (<= 992px) */
@media (max-width: 992px) {
  .header-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .method-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .specialists-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-section-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand-col {
    align-items: center;
  }

  .footer-brand-desc {
    margin: 0 auto;
  }

  .footer-nav-list {
    align-items: center;
  }

  .footer-nav-list a, .footer-nav-list button {
    text-align: center;
  }
}

/* Móviles Estándar & Tablets Verticales (<= 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Espaciado de secciones más libre y armónico (evita acumulación) */
  .section-light,
  .section-bg-alt {
    padding: 52px 0;
  }

  .section-hero-light {
    padding: 28px 0 50px;
  }

  /* Cabecera compacta y limpia */
  .header-container {
    height: 72px;
  }

  .header-logo-img {
    width: 48px;
    height: 48px;
  }

  .mobile-nav-drawer {
    top: 72px;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
  }

  /* Tarjetas con márgenes y acolchados proporcionados */
  .hero-content-wrapper {
    padding: 30px 18px;
    border-radius: 20px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .hero-logo-circular-img {
    width: 125px;
    height: 125px;
    margin-bottom: 18px;
    border-width: 3px;
  }

  .hero-badge-pill {
    padding: 5px 14px;
    font-size: 0.72rem;
    margin-bottom: 16px;
    text-align: center;
  }

  .hero-title-main {
    font-size: clamp(1.65rem, 5.8vw, 2.2rem);
    line-height: 1.24;
    margin-bottom: 14px;
  }

  .hero-subtitle-desc {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-cta-group .btn {
    width: 100%;
    min-height: 48px;
    padding: 13px 20px;
    font-size: 0.92rem;
  }

  /* Grid de confianza Hero en 2 columnas equilibradas */
  .hero-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .trust-item-card {
    padding: 14px 10px;
    border-radius: var(--radius-md);
  }

  .trust-icon-badge {
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
  }

  .trust-icon-badge svg {
    width: 18px;
    height: 18px;
  }

  .trust-card-title {
    font-size: 0.86rem;
    margin-bottom: 3px;
    line-height: 1.25;
  }

  .trust-card-text {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  /* Encabezados de sección limpios y abiertos */
  .section-header-center {
    padding: 22px 18px;
    margin-bottom: 28px;
    border-radius: 18px;
  }

  .section-badge {
    font-size: 0.76rem;
    margin-bottom: 6px;
  }

  .section-title {
    font-size: clamp(1.5rem, 5.2vw, 1.95rem);
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .section-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  /* Tarjetas de contenido con padding estilizado para no saturar la pantalla */
  .about-content-card,
  .about-founder-card,
  .method-card,
  .specialist-card,
  .pricing-card,
  .review-card,
  .contact-form-card,
  .contact-info-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .about-lead-text,
  .about-body-text,
  .founder-body-text {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  .about-quote-box {
    padding: 14px 16px;
    gap: 10px;
    border-radius: 0 12px 12px 0;
  }

  .about-quote-text {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .about-service-img {
    height: 160px;
  }

  .founder-badge {
    font-size: 1.18rem;
    margin-bottom: 12px;
  }

  .founder-profile-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .founder-photo-wrapper {
    margin: 0 auto;
    width: 110px;
    height: 110px;
    min-width: 110px;
  }

  .founder-info-header {
    align-items: center;
  }

  .founder-name {
    font-size: 1.35rem;
  }

  .founder-highlight-bar {
    justify-content: center;
  }

  .founder-card-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }

  .method-card-number {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .method-card-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .method-card-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  .method-check-list {
    gap: 8px;
    padding-top: 12px;
  }

  .method-check-item {
    font-size: 0.84rem;
  }

  .specialist-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .specialist-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .specialist-bullets {
    gap: 10px;
  }

  .specialist-bullet-item {
    font-size: 0.86rem;
  }

  .coverage-banner-box {
    padding: 18px 16px;
    border-radius: 16px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .coverage-img-wrapper {
    width: 100%;
    min-width: 100%;
    height: 160px;
  }

  .coverage-content-side {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    width: 100%;
  }

  .coverage-info-col {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .coverage-locations {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  /* Planes y Precios */
  .pricing-billing-switch {
    margin-bottom: 24px;
    gap: 10px;
  }

  .switch-label {
    font-size: 0.88rem;
  }

  .billing-opt-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
    min-height: 40px;
  }

  .pricing-card {
    padding: 28px 18px;
  }

  .pricing-plan-name {
    font-size: 1.25rem;
  }

  .pricing-plan-subtitle {
    min-height: auto;
    margin-bottom: 12px;
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .pricing-price-currency {
    font-size: 1.3rem;
  }

  .pricing-price-value {
    font-size: 2.75rem;
  }

  .pricing-features-list {
    gap: 10px;
    margin-bottom: 22px;
  }

  .pricing-feature-item {
    font-size: 0.85rem;
  }

  .btn-pricing {
    min-height: 48px;
  }

  .audit-visit-card {
    padding: 22px 18px;
    border-radius: 18px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
    margin-bottom: 24px;
  }

  .audit-visit-info {
    text-align: center;
  }

  .audit-title {
    font-size: 1.15rem;
  }

  .audit-desc {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .audit-action-box {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .audit-price-tag {
    font-size: 1.9rem;
  }

  .btn-audit {
    width: 100%;
    min-height: 48px;
  }

  /* Matriz comparativa responsive con deslizamiento horizontal suave */
  .matrix-scroll-hint {
    display: flex;
  }

  .matrix-table-wrapper {
    margin-top: 10px;
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
  }

  .matrix-table {
    min-width: 580px;
  }

  .matrix-table th:first-child,
  .matrix-table td:first-child {
    position: sticky;
    left: 0;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
    box-shadow: 2px 0 6px rgba(6, 54, 106, 0.08);
  }

  .matrix-table th:first-child {
    background-color: #f2f5f9;
  }

  .matrix-table th, .matrix-table td {
    padding: 12px 14px;
    font-size: 0.84rem;
  }

  /* Reseñas */
  .review-card {
    padding: 22px 18px;
  }

  .review-stars {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .review-quote {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .review-author-box {
    padding-top: 12px;
    gap: 10px;
  }

  .review-author-avatar {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .review-author-name {
    font-size: 0.88rem;
  }

  .review-author-loc {
    font-size: 0.76rem;
  }

  /* Formulario y Contacto Directo */
  .form-group-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }

  .form-group {
    margin-bottom: 14px;
  }

  .form-label {
    font-size: 0.82rem;
    margin-bottom: 6px;
  }

  /* Prevenir zoom excesivo en iOS Safari fijando 16px mínimo */
  .form-input, .form-select, .form-textarea {
    font-size: 16px !important;
    padding: 12px 14px;
    min-height: 48px;
    border-radius: 8px;
  }

  .form-textarea {
    min-height: 95px;
  }

  .btn-form-submit {
    padding: 14px 20px;
    font-size: 0.95rem;
    min-height: 48px;
  }

  .direct-contact-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .direct-contact-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .contact-channels-list {
    gap: 14px;
    margin-bottom: 22px;
  }

  .channel-icon-circle {
    width: 38px;
    height: 38px;
  }

  .channel-icon-circle svg {
    width: 18px;
    height: 18px;
  }

  .channel-val {
    font-size: 0.95rem;
  }

  /* Pie de página */
  .footer-navy-elegant {
    padding: 44px 0 24px;
  }

  .footer-top-grid {
    gap: 24px;
    margin-bottom: 28px;
  }

  .footer-col-title {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .footer-nav-list {
    gap: 8px;
  }

  .footer-nav-list a, .footer-nav-list button {
    font-size: 0.85rem;
    padding: 4px 8px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  .footer-bottom-bar {
    padding-top: 18px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
    font-size: 0.78rem;
  }

  /* Modales */
  .modal-card {
    padding: 24px 18px;
    border-radius: 16px;
    max-height: 90vh;
  }
}

/* Móviles Pequeños (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .header-container {
    height: 66px;
  }

  .header-logo-img {
    width: 42px;
    height: 42px;
  }

  .header-actions {
    gap: 8px;
  }

  /* Ahorrar espacio en cabecera ocultando el texto "WhatsApp" en pantallas reducidas */
  .btn-whatsapp-header .wa-btn-text {
    display: none;
  }

  .btn-whatsapp-header {
    padding: 9px 12px;
    border-radius: 50px;
  }

  .lang-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
    gap: 4px;
  }

  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
    padding: 7px;
  }

  .mobile-nav-drawer {
    top: 66px;
    height: calc(100vh - 66px);
    height: calc(100dvh - 66px);
    padding: 18px 14px 30px;
  }

  .mobile-nav-link {
    font-size: 1.05rem;
    padding: 12px 14px;
  }

  .hero-content-wrapper {
    padding: 24px 14px;
  }

  .hero-logo-circular-img {
    width: 110px;
    height: 110px;
    margin-bottom: 14px;
    border-width: 3px;
  }

  .hero-badge-pill {
    font-size: 0.68rem;
    padding: 4px 10px;
  }

  .hero-title-main {
    font-size: 1.55rem;
    line-height: 1.22;
  }

  .hero-subtitle-desc {
    font-size: 0.92rem;
  }

  .hero-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .trust-item-card {
    padding: 12px 8px;
  }

  .trust-card-title {
    font-size: 0.82rem;
  }

  .trust-card-text {
    font-size: 0.72rem;
  }

  .section-header-center {
    padding: 18px 14px;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .about-content-card,
  .about-founder-card,
  .method-card,
  .specialist-card,
  .pricing-card,
  .review-card,
  .contact-form-card,
  .contact-info-card {
    padding: 20px 14px;
    border-radius: 16px;
  }

  .founder-badge {
    font-size: 1.1rem;
  }

  .pricing-price-value {
    font-size: 2.5rem;
  }

  .modal-card {
    padding: 20px 14px;
  }
}

