/*
Theme Name: Casa Polska Host
Theme URI: https://casapolska.com
Author: Irvis Murillo
Author URI: https://casapolska.com
Description: Tema WordPress premium para alojamientos rurales y casas de campo enfocado en Airbnb y reservas directas.
Version: 1.0.9
License: Comercial
Text Domain: casa-polska-host
*/

/* =========================================================
   1. VARIABLES CSS (ORDENADAS Y COMENTADAS — SIN ADULTERAR)
   - No se cambia ningún nombre ni valor.
   - Solo se reordena y se agrupan por secciones.
========================================================= */
:root {
  /* =========================================================
     A) BASE / GENERALES
     - Variables reutilizables de todo el sitio
  ========================================================= */
  /* Colores principales */
  --cp-primary: #2563eb; /* Color primario (acciones / enlaces / elementos destacados) */
  --cp-dark: #0f172a;    /* Texto oscuro / fondos oscuros */
  --cp-light: #ffffff;   /* Blanco base */
  --cp-gray: #64748b;    /* Gris para texto secundario */

  /* Layout */
  --cp-header-height: 72px; /* Alto del header (para offsets y sticky headers) */
  --cp-radius: 14px;        /* Radio estándar para componentes */

  /* Tipografía - Fuentes */
  --cp-fuente-texto: system-ui, -apple-system, sans-serif;  /* Fuente de texto */
  --cp-fuente-titulo: system-ui, -apple-system, sans-serif; /* Fuente de títulos */

  /* Tipografía - Tamaños */
  --cp-tamano-textohtml: 16px; /* Base del documento (html) */
  --cp-tamano-body: 1rem;      /* Tamaño base para body */
  --cp-h1: 2.5rem;             /* Escala de headings */
  --cp-h2: 2rem;
  --cp-h3: 1.75rem;
  --cp-h4: 1.5rem;
  --cp-h5: 1.25rem;
  --cp-h6: 1rem;

  /* Interlineado y peso */
  --cp-lineheight-body: 1.6;   /* Line-height para párrafos */
  --cp-lineheight-h1h6: 1.25;  /* Line-height para títulos */
  --cp-fontweight-h1h6: 600;   /* Weight para títulos */


  /* =========================================================
     B) HERO FILOSOFÍA
     - Fondo animado, glassmorphism, overlays y textos
  ========================================================= */
  --cp-bg-hero-animado: linear-gradient(120deg, #ff0066, #ff8c00, #7f00ff, #00c3ff); /* Gradiente animado */
  --cp-color-fondo-hero: #1a1a2e;         /* Fondo base del hero */
  --cp-bg-glass: rgba(255, 255, 255, 0.12);  /* Fondo tipo “glass” */
  --cp-borde-glass: rgba(255, 255, 255, 0.25); /* Borde tipo “glass” */
  --cp-sombra-glow: 0 0 40px rgba(255, 0, 120, 0.35); /* Glow del hero */
  --cp-espaciado-hero: 3rem 1rem;          /* Padding / espaciado del hero */
  --cp-radio-hero: 16px;                   /* Radio específico del hero */
  --cp-color-overlay-video: rgba(0, 0, 0, 0.6); /* Overlay para video en hero */
  --cp-color-texto-principal: #ffffff;     /* Texto principal en hero */
  --cp-color-texto-secundario: rgba(255, 255, 255, 0.9); /* Texto secundario en hero */


  /* =========================================================
     C) CLIMA
     - Paleta, radios y transiciones del módulo clima
  ========================================================= */
  --color-primary: #3b82f6; /* Color primario del módulo */
  --color-secondary: #8b5cf6; /* Color secundario del módulo */
  --color-accent: #10b981; /* Acento (badges / checks / highlights) */

  --color-bg-dark: #c41464;   /* Fondo “dark” del módulo */
  --color-bg-medium: #0061fe; /* Fondo “medium” del módulo */
  --color-bg-light: #334155;  /* Fondo “light” del módulo */

  --color-text-light: #f1f5f9; /* Texto claro */
  --color-text-muted: #94a3b8; /* Texto muted */

  --border-radius: 32px; /* Radio principal del módulo clima */
  --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Transición suave */


  /* =========================================================
     D) FOOTER / COPYRIGHT / LEGALES
     - Colores, tamaños y anchos para el pie de página
  ========================================================= */
  /* Footer – Colores y tipografía */
  --footer-bg: #0f172a;    /* Fondo del footer */
  --footer-text: #cbd5f5;  /* Texto general */
  --footer-title: #ffffff; /* Títulos */
  --footer-link: #cbd5f5;  /* Links */

  /* Copyright */
  --copyright-bg: #020617; /* Fondo del bloque de copyright */
  --copyright-text: #94a3b8; /* Texto de copyright */

  /* Legales */
  --legal-link: #666;       /* Link legal */
  --legal-link-hover: #333; /* Hover link legal */

  /* Layout */
  --footer-max-width: 1200px; /* Ancho máximo del footer */

  /* Tipografía */
  --footer-font-size: 0.85rem;     /* Texto general footer */
  --footer-line-height: 1.6;       /* Line-height footer */
  --copyright-font-size: 0.75rem;  /* Tamaño copyright */
  --copyright-text-size: 0.7rem;   /* Tamaño alterno de copyright */
  --legal-font-size: 0.65rem;      /* Tamaño legales */
  --legal-icon-size: 0.6rem;       /* Tamaño iconos legales */
  /** fin de css para footer **/


  /* =========================================================
     E) VACATION RENTAL (Schema.org Widget)
     - Tipografía, colores, botón, iconos y animaciones
  ========================================================= */
  /* Tipografía */
  --vr-font-size: 14px;            /* Tamaño base */
  --vr-line-height: 1.6;           /* Interlineado */
  --vr-paragraph-spacing: 10px;    /* Separación entre párrafos */
  --vr-strong-weight: 600;         /* Peso de <strong> */

  /* Colores */
  --vr-strong-color: #ffffff; /* Color texto strong */
  --vr-check-color: #4CAF50;  /* Color check */

  /* Botón toggle */
  --vr-btn-text: #ffffff; /* Texto del botón */
  --vr-btn-font-size: 14px; /* Tamaño texto botón */
  --vr-btn-font-weight: 600; /* Peso del botón */
  --vr-btn-radius: 8px; /* Radio del botón */
  --vr-btn-padding: 12px 20px; /* Padding del botón */
  --vr-btn-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Fondo gradiente */
  --vr-btn-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Sombra normal */
  --vr-btn-shadow-hover: 0 6px 12px rgba(0,0,0,0.15); /* Sombra hover */

  /* Iconos */
  --vr-icon-size: 12px; /* Tamaño de icono */

  /* Animaciones */
  --vr-transition-fast: 0.3s ease; /* Transición rápida */
  --vr-transition-slow: 0.4s ease; /* Transición lenta */
  /*** fin de css root para widget de schemaorg para vationrental ***/



  /* =========================================================
     G) PAGE TEMPLATE: ACTIVIDADES (Paleta corta)
  ========================================================= */
  --amber: #F59E0B;        /* Amarillo ámbar */
  --warm-peach: #FBBF77;   /* Durazno */
  --clay: #C2704A;         /* Arcilla */
  --dark-wood: #3E2723;    /* Madera oscura */
  --cream-white: #FAF7F2;  /* Blanco crema */
  --soft-green: #A8B89E;   /* Verde suave */
  --burnt-sienna: #D97642; /* Siena tostada */
  /* fin de css root **/


  /* =========================================================
     H) PAGE TEMPLATE: ACTIVIDADES (Sistema completo)
  ========================================================= */
  /* Colores */
  --cp-color-bg-actividades: #f6efe6; /* Fondo de sección */
  --cp-color-acento: #a67c52;         /* Acento */
  --cp-color-texto: #555;             /* Texto base */
  --cp-color-texto-titulo: #333;      /* Texto título */
  --cp-color-card-bg: #fff;           /* Fondo card */
  --cp-color-card-hover-shadow: rgba(0,0,0,0.12); /* Color sombra hover */
  --cp-color-overlay-bg: #fff;        /* Fondo overlay */
  --cp-color-leyenda-bg: rgba(0, 0, 0, 0.5); /* Fondo leyenda */
  --cp-color-leyenda-texto: #fff;     /* Texto leyenda */

  /* Tamaños de texto */
  --cp-texto-subtitulo: 14px;    /* Subtítulo */
  --cp-texto-titulo: 32px;       /* Título */
  --cp-texto-descripcion: 16px;  /* Descripción */
  --cp-texto-overlay-h3: 16px;   /* Título dentro del overlay */
  --cp-texto-overlay-p: 14px;    /* Texto overlay */
  --cp-texto-leyenda: 12px;      /* Texto leyenda */
  --cp-pesosubtitulo: 800;       /* Peso subtítulo */

  /* Spacing / Márgenes / Padding */
  --cp-padding-seccion: 60px 20px; /* Padding de sección */
  --cp-margin-header-bottom: 50px; /* Separación header inferior */
  --cp-margin-subtitulo-bottom: 10px; /* Margen subtítulo */
  --cp-margin-titulo-bottom: 20px;    /* Margen título */
  --cp-padding-overlay: 12px 16px;    /* Padding overlay */
  --cp-padding-leyenda: 4px 8px;      /* Padding leyenda */

  /* Radios */
  --cp-border-radius-card: 16px;    /* Radio card */
  --cp-border-radius-leyenda: 6px;  /* Radio leyenda */

  /* Efectos */
  --cp-hover-card-transform: translateY(-8px); /* Elevación */
  --cp-hover-card-shadow: 0 15px 35px var(--cp-color-card-hover-shadow); /* Sombra hover */
  --cp-hover-img-scale: 1.05; /* Zoom imagen */
  --cp-transition-card: transform 0.4s ease, box-shadow 0.4s ease; /* Transición card */
  --cp-transition-img: transform 0.6s ease; /* Transición imagen */

  /* Columnas masonry */
  --cp-column-count-mobile: 1;   /* Columnas móvil */
  --cp-column-count-tablet: 2;   /* Columnas tablet */
  --cp-column-count-desktop: 3;  /* Columnas desktop */
  --cp-column-gap: 20px;         /* Gap columnas */

  /* Line-height */
  --cp-lineheight-descripcion: 1.6; /* Interlineado descripción */
  --cp-lineheight-leyenda: 1.3;     /* Interlineado leyenda */
  /*******************************************************************/


  /* =========================================================
     I) PAGE TEMPLATE: FAQ (Sistema completo)
  ========================================================= */
  /* Colores */
  --cp-faq-bg-start: #f8f5f1;      /* Inicio gradiente fondo */
  --cp-faq-bg-end: #f6efe6;        /* Fin gradiente fondo */
  --cp-faq-accent: #c4986d;        /* Acento */
  --cp-faq-accent-dark: #b38858;   /* Acento oscuro */
  --cp-faq-text-dark: #2c2c2c;     /* Texto principal */
  --cp-faq-text-medium: #666;      /* Texto secundario */
  --cp-faq-white: #ffffff;         /* Blanco */
  --cp-faq-hover-light: #fafafa;   /* Hover suave */

  /* Gradientes */
  --cp-faq-gradient-main: linear-gradient(135deg, var(--cp-faq-bg-start) 0%, var(--cp-faq-bg-end) 100%); /* Fondo */
  --cp-faq-gradient-accent: linear-gradient(135deg, var(--cp-faq-accent) 0%, var(--cp-faq-accent-dark) 100%); /* Botones/acentos */

  /* Tipografía */
  --cp-faq-h2-size-desktop: 2.5rem; /* H2 desktop */
  --cp-faq-h2-size-mobile: 2rem;    /* H2 móvil */
  --cp-faq-subtitle-size: 0.9rem;   /* Subtítulo */
  --cp-faq-text-large: 1.2rem;      /* Texto grande */
  --cp-faq-text-medium-size: 1.1rem;/* Texto medio */
  --cp-faq-text-base: 1rem;         /* Texto base */
  --cp-faq-text-small: 0.95rem;     /* Texto pequeño */
  --cp-faq-number-font-size: 0.85rem; /* Número */

  --cp-faq-letter-spacing: 2px; /* Tracking/letter-spacing */

  /* Pesos */
  --cp-faq-weight-bold: 700;
  --cp-faq-weight-semibold: 600;
  --cp-faq-weight-medium: 500;

  /* Espaciados */
  --cp-faq-padding-section: 1rem 1.5rem;   /* Padding general sección */
  --cp-faq-padding-question: 1.5rem;       /* Padding pregunta */
  --cp-faq-padding-answer-x: 1.5rem;       /* Padding horizontal respuesta */
  --cp-faq-padding-cta: 3rem 1rem;         /* Padding CTA */

  --cp-faq-gap-grid: 2rem;                 /* Gap grid */
  --cp-faq-gap-column: 1rem;               /* Gap columnas */
  --cp-faq-gap-inline: 1rem;               /* Gap inline */
  --cp-faq-gap-inline-small: 0.5rem;       /* Gap inline pequeño */

  --cp-faq-margin-header: 4rem;            /* Margen header */
  --cp-faq-margin-cta-text: 1.5rem;        /* Margen textos CTA */

  --cp-faq-max-width-container: 1200px;    /* Max container */
  --cp-faq-max-width-text: 600px;          /* Max texto */

  /* Bordes / radios */
  --cp-faq-radius-small: 12px;
  --cp-faq-radius-medium: 16px;
  --cp-faq-radius-pill: 50px;
  --cp-faq-radius-circle: 50%;

  /* Sombras */
  --cp-faq-shadow-light: 0 2px 8px rgba(0,0,0,0.06);
  --cp-faq-shadow-medium: 0 4px 16px rgba(0,0,0,0.1);
  --cp-faq-shadow-cta: 0 4px 16px rgba(0,0,0,0.08);
  --cp-faq-shadow-accent: 0 6px 20px rgba(196, 152, 109, 0.15);
  --cp-faq-shadow-button: 0 4px 12px rgba(196, 152, 109, 0.3);
  --cp-faq-shadow-button-hover: 0 6px 20px rgba(196, 152, 109, 0.4);

  /* Transiciones */
  --cp-faq-transition-fast: 0.3s ease;
  --cp-faq-transition-slow: 0.4s ease;

  /* Dimensiones */
  --cp-faq-icon-size: 32px;         /* Tamaño iconos */
  --cp-faq-number-size: 32px;       /* Tamaño número */
  --cp-faq-answer-max-height: 500px;/* Máximo alto de respuesta (animación) */

  /* Fullscreen */
  --cp-fullscreen-height: 100vh; /* Alto fullscreen */
  /** fin de css root para pagina faq casa polska **/

 /*inicio de root para la pagina de sobre-nosotros.php*/

  /* =========================================================
     🎨 PALETA BASE
     ========================================================= */

  --cpnos-bg-main: #fbf7f0;
  --cpnos-bg-soft: #f3ead8;
  --cpnos-bg-white: #ffffff;

  --cpnos-text-main: #1f2328;
  --cpnos-text-brown: #3d3028;
  --cpnos-text-strong: #6b4b2f;

  --cpnos-brand-gold: #a67c52;
  --cpnos-brand-gold-light: #c9a87a;
  --cpnos-brand-cream: #eadcc7;
  --cpnos-brand-brown: #6b4b2f;

  --cpnos-blue-verified: #2563eb;
  --cpnos-green-online: #22c55e;
  --cpnos-green-soft: #4ade80;

  /* =========================================================
     🎨 COLORES RGBA / TRANSPARENCIAS
     ========================================================= */

  --cpnos-white-60: rgba(255,255,255,.60);
  --cpnos-white-82: rgba(255,255,255,.82);
  --cpnos-white-45: rgba(255,255,255,.45);

  --cpnos-dark-overlay-strong: rgba(15,10,5,.82);
  --cpnos-dark-overlay-medium: rgba(15,10,5,.38);
  --cpnos-dark-overlay-light: rgba(15,10,5,.10);
  --cpnos-dark-overlay-side: rgba(15,10,5,.28);

  --cpnos-gold-soft-bg: rgba(166,124,82,.08);
  --cpnos-gold-soft-border: rgba(166,124,82,.28);

  --cpnos-brown-shadow-light: rgba(107,75,47,.15);
  --cpnos-brown-shadow-medium: rgba(107,75,47,.22);
  --cpnos-brown-shadow-strong: rgba(107,75,47,.40);

  --cpnos-border-soft: rgba(107,75,47,.12);
  --cpnos-border-extra-soft: rgba(107,75,47,.08);

  --cpnos-green-soft-bg: rgba(31,200,120,.06);
  --cpnos-green-soft-border: rgba(31,200,120,.22);

  /* =========================================================
     🪵 SOMBRAS
     ========================================================= */

  --cpnos-shadow-xl: 0 32px 80px var(--cpnos-brown-shadow-medium);
  --cpnos-shadow-lg: 0 16px 48px rgba(107,75,47,.28);
  --cpnos-shadow-md: 0 16px 40px var(--cpnos-brown-shadow-light);
  --cpnos-shadow-soft: 0 4px 24px rgba(107,75,47,.06);

  --cpnos-shadow-hover: 0 16px 48px rgba(107,75,47,.14);

  --cpnos-shadow-avatar:
    0 0 0 1px rgba(166,124,82,.18),
    0 16px 48px rgba(107,75,47,.28);

  --cpnos-shadow-badge: 0 8px 24px rgba(0,0,0,.25);
  --cpnos-shadow-verified: 0 4px 16px rgba(0,0,0,.20);

  /* =========================================================
     📐 RADIOS
     ========================================================= */

  --cpnos-radius-xl: 28px;
  --cpnos-radius-lg: 22px;
  --cpnos-radius-md: 20px;
  --cpnos-radius-sm: 18px;
  --cpnos-radius-xs: 14px;
  --cpnos-radius-pill: 999px;

  /* =========================================================
     📏 CONTENEDOR
     ========================================================= */

  --cpnos-container: 1140px;
  --cpnos-padding-x: 20px;
  /*fin de css root de sobre-nosotros.php**/


  /* =========================================================
   Casa Polska - Contacto (Airbnb-like)
   Variables globales extraídas
   ========================================================= */
  /* ================================
     COLORES BASE
  ================================= */
  --cpab-bg-main: #ffffff;
  --cpab-text-main: #222222;
  --cpab-text-muted: #6a6a6a;
  --cpab-text-soft: #444444;
  --cpab-text-inverse: #ffffff;

  --cpab-dark-strong: #111111;

  /* ================================
     COLORES BRAND / ACCENT
  ================================= */
  --cpab-primary: #ff385c;
  --cpab-primary-hover: #e61e4d;

  --cpab-surface-soft: #f7f7f7;

  /* ================================
     BORDES
  ================================= */
  --cpab-border-soft: rgba(34,34,34,.08);
  --cpab-border-medium: rgba(34,34,34,.10);
  --cpab-border-strong: rgba(34,34,34,.12);
  --cpab-border-hover: rgba(34,34,34,.18);

  /* ================================
     SOMBRAS
  ================================= */
  --cpab-shadow-btn-primary: 0 10px 18px rgba(255,56,92,.22);
  --cpab-shadow-soft: 0 6px 18px rgba(0,0,0,.08);
  --cpab-shadow-medium: 0 10px 26px rgba(0,0,0,.10);

  /* ================================
     TIPOGRAFÍA
  ================================= */
  --cpab-title-size: clamp(1.8rem, 3.4vw, 2.4rem);
  --cpab-subtitle-size: 1.02rem;
  --cpab-label-size: .78rem;
  --cpab-value-size: 1.02rem;
  --cpab-tip-size: .98rem;
  --cpab-map-title-size: 1.1rem;

  --cpab-title-weight: 700;
  --cpab-heavy-weight: 800;
  --cpab-bold-weight: 700;

  /* ================================
     ESPACIADOS
  ================================= */
  --cpab-wrap-padding-mobile: 2.25rem 1.25rem 3rem;
  --cpab-wrap-padding-desktop: 3.2rem 1.25rem 4rem;

  --cpab-gap-small: .2rem;
  --cpab-gap-medium: .75rem;
  --cpab-gap-large: 1.25rem;
  --cpab-gap-xl: 1.4rem;

  /* ================================
     RADIOS
  ================================= */
  --cpab-radius-btn: 999px;
  --cpab-radius-card: 16px;
  --cpab-radius-icon: 12px;
  --cpab-radius-tip-icon: 10px;
  --cpab-radius-map: 20px;

  /* ================================
     ICONOS
  ================================= */
  --cpab-icon-size-lg: 44px;
  --cpab-icon-size-sm: 34px;
  --cpab-icon-font-size: 1.1rem;

  /* ================================
     MAPA
  ================================= */
  --cpab-map-height-mobile: 340px;
  --cpab-map-height-desktop: 520px;

  /* ================================
     TRANSICIONES
  ================================= */
  --cpab-transition: all .15s ease;
  /*FIN DE CSSS*/


  /* =========================
     ROOT DE PAGINA DE CARDS DE RESERVA AIRBN Y MOTOR DE RESERVA
  /*fin de css**/
  
}



/* =========================================================
   2. RESET CSS
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =========================================================
   3. ELEMENTOS BASE
   ========================================================= */

/* HTML */
html {
  font-size: var(--cp-tamano-textohtml);
  overflow-x: hidden;
}

/* Body */
body {
  margin: 0;
  padding-top: var(--cp-header-height);
  font-family: var(--cp-fuente-texto);
  font-size: var(--cp-tamano-body);
  line-height: var(--cp-lineheight-body);
  color: var(--cp-dark);
  background-color: var(--cp-light);
  overflow-x: hidden;
}

/* =========================================================
   4. TIPOGRAFÍA
   ========================================================= */

/* Headings - Estilos compartidos */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--cp-fuente-titulo);
  font-weight: var(--cp-fontweight-h1h6);
  line-height: var(--cp-lineheight-h1h6);
  color: inherit;
}

/* Headings - Tamaños específicos */
h1 { font-size: var(--cp-h1); }
h2 { font-size: var(--cp-h2); }
h3 { font-size: var(--cp-h3); }
h4 { font-size: var(--cp-h4); }
h5 { font-size: var(--cp-h5); }
h6 { font-size: var(--cp-h6); }

/* Párrafos */
p {
  font: inherit;
  margin: 0 0 1em;
}


/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--cp-header-height);
  background: var(--cp-light);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo a {
  font-weight: 700;
  text-decoration: none;
  color: var(--cp-dark);
}

/* Logo responsive */
.custom-logo {
  width: var(--logo-width-desktop);
  height: var(--logo-height-desktop);
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .custom-logo {
    width: var(--logo-width-mobile);
    height: var(--logo-height-mobile);
  }
}

/* Navegación Desktop (Default) */
.main-nav {
  display: block;
}

.main-nav .menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: inherit;
}

.main-nav .menu a {
  font-size: clamp(0.95rem, 0.9vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--cp-dark);
  position: relative;
  padding: 6px 2px;
  transition: color 0.25s ease;
}

.main-nav .menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--cp-primary);
  transition: width 0.25s ease;
}

.main-nav .menu a:hover {
  color: var(--cp-primary);
}

.main-nav .menu a:hover::after {
  width: 100%;
}

.main-nav .current-menu-item > a {
  color: var(--cp-primary);
  font-weight: 600;
}

.main-nav .menu li {
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

.main-nav .menu li:nth-child(1) { animation-delay: .05s; }
.main-nav .menu li:nth-child(2) { animation-delay: .1s; }
.main-nav .menu li:nth-child(3) { animation-delay: .15s; }

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Submenú Desktop */
.main-nav .menu li {
  position: relative;
}

.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 999;
}

@media (min-width: 992px) {
  .main-nav .menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.main-nav .sub-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cp-dark);
  transition: background .2s ease, color .2s ease;
}

.main-nav .sub-menu a:hover {
  background: rgba(37,99,235,.08);
  color: var(--cp-primary);
}

/* Indicador visual (flecha) */
.menu-item-has-children > a::after {
  content: "▾";
  font-size: 0.7em;
  margin-left: 6px;
  opacity: 0.6;
}

/* Hamburguesa */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cp-dark);
  margin: 4px 0;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* -------------------------------------------------
   Botón CTA – estilo base
   ------------------------------------------------- */
.cta-button {
  /* Variables de tema */
  background: var(--cp-primary);
  color: #fff;

  /* Dimensiones y tipografía */
  font-size: 13px;               /* tamaño final (sobrescribe el anterior) */
  padding: 8px 12px;             /* padding final (sobrescribe el anterior) */
  white-space: nowrap;

  /* Bordes y decoración */
  border-radius: var(--cp-radius);
  text-decoration: none;
  font-weight: 600;
}

/* Estado activo – pulso genérico */
.cta-button.is-active {
  animation: pulse 2s infinite;
}

/* Estado pulsante – animación “breathe” más elegante */
.cta-button.is-pulsing {
  animation: cta-breathe 2.4s ease-in-out infinite;
}

/* Hover – pausa la animación y aumenta ligeramente */
.cta-button:hover {
  animation-play-state: paused;
  transform: scale(1.05);
}

/* -------------------------------------------------
   Animaciones
   ------------------------------------------------- */

/* Pulso simple */
@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Pulso “breathe” con sombra */
@keyframes cta-breathe {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(37, 99, 235, 0.6);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.45);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(37, 99, 235, 0.6);
  }
}

/* -------------------------------------------------
   Media query – ocultar en pantallas pequeñas
   ------------------------------------------------- */
@media (max-width: 360px) {
  .cta-button {
    display: none;
  }
}
/**fin de css de boton disponibilidad menu*/


/* =========================================================
   MENÚ MÓVIL
   ========================================================= */
@media (max-width: 991px) {
  .main-nav {
    display: none;
    position: fixed;
    top: var(--cp-header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--cp-header-height));
    background: #fff;
    padding: 24px;
    overflow-y: auto;
    z-index: 998;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav .menu {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav .menu a {
    font-size: clamp(1.1rem, 4vw, 1.35rem);
    font-weight: 600;
    padding: 12px 4px;
    display: block;
  }

  .main-nav .menu a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .menu-item-has-children > a::after {
    float: right;
  }

  /* Acordeón móvil */
  .sub-menu {
    display: none;
    padding-left: 16px;
  }

  .menu-item-has-children.submenu-open > .sub-menu {
    display: block;
  }

  .main-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
    box-shadow: none;
    padding: 8px 0 8px 16px;
  }

  .menu-item-has-children.submenu-open > .sub-menu {
    display: block;
  }

  .sub-menu a {
    font-size: 1rem;
    opacity: 0.9;
  }
}

/* =========================================================
   HERO FILOSOFÍA
   ========================================================= */
.cp-hero-filosofia {
  background: var(--cp-color-fondo-hero);
  padding: var(--cp-espaciado-hero);
  transition: background 0.3s ease;
}

.cp-hero-filosofia.cp-fondo-vivo {
  background: var(--cp-bg-hero-animado);
  background-size: 400% 400%;
  animation: cp-fondo-vivo 18s ease infinite;
}

@keyframes cp-fondo-vivo {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .cp-hero-filosofia.cp-fondo-vivo {
    animation: none;
    background-position: 0% 50%;
  }
}

.cp-hero-contenedor {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Video */
.cp-hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--cp-radio-hero);
  overflow: hidden;
  background: #000;
}

.cp-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cp-video-leyenda {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--cp-color-overlay-video);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  line-height: 1.3;
  max-width: 80%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.cp-video-leyenda i {
  margin-left: 0.3rem;
}

/* Texto Filosofía */
.cp-hero-texto {
  font-family: var(--cp-fuente-texto);
  background: var(--cp-bg-glass);
  border: 1px solid var(--cp-borde-glass);
  border-radius: var(--cp-radio-hero);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--cp-sombra-glow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin: 0 0.8rem;
}

.cp-hero-texto h2 {
  font-family: var(--cp-fuente-titulo);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cp-color-texto-principal);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.cp-hero-texto h2 i {
  margin-left: 0.4rem;
  font-size: 0.9em;
}

.cp-hero-texto p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--cp-color-texto-secundario);
  margin: 0 auto 1rem;
  max-width: 520px;
}

.cp-hero-texto p:last-child {
  margin-bottom: 0;
}

.cp-hero-texto strong {
  color: var(--cp-color-texto-principal);
  font-weight: 600;
}

@media (min-width: 768px) {
  .cp-hero-contenedor {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }

  .cp-hero-video {
    aspect-ratio: 4 / 5;
  }

  .cp-hero-texto {
    margin: 0;
    text-align: left;
  }

  .cp-hero-texto h2 {
    font-size: 2.2rem;
  }

  .cp-hero-texto p {
    font-size: 1.05rem;
  }
}

/* =========================================================
   SERVICIOS PREMIUM (3 CARDS)
   ========================================================= */
.services-premium {
  padding: 80px 16px;
  background: #f8f9fa;
}

.services-premium .services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.services-header h2 {
  font-size: 2rem;
  margin: 0 0 12px;
  color: #1a1a1a;
}

.services-header p {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
}

.services-header .highlight {
  text-decoration: underline;
  text-decoration-color: #FFD700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.services-premium .services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .services-premium .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 340px;
  background: #000;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  transition: transform .45s ease, box-shadow .45s ease;
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0,0,0,.18);
  }

  .service-card:hover img {
    transform: scale(1.05);
  }
}

.service-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1),
    rgba(0,0,0,0.7)
  );
}

.service-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 22px 24px;
  color: #ffffff;
  text-align: center;
  z-index: 2;
}

.service-content h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 600;
}

.service-content p {
  margin: 0 auto 10px;
  max-width: 90%;
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: .95;
}

.service-detail {
  display: inline-block;
  position: relative;
  font-size: 0.75rem;
  opacity: .85;
  padding-bottom: 4px;
}

.service-detail::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60%;
  height: 2px;
  background: rgba(255,255,255,.7);
  transform: translateX(-50%);
  border-radius: 2px;
}

.service-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,215,0,0.95);
  color: #1a1a1a;
  font-size: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
  z-index: 3;
}

.services-premium h2,
.services-premium h3,
.services-premium p {
  font-family: var(--cp-fuente-texto);
}

/* =========================================================
   AMENIDADES
   ========================================================= */
.casapolska-amenidades {
  background-color: #f8f6f2;
  padding: 40px 16px;
}

.casapolska-amenidades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.casapolska-amenidades-grid:first-of-type {
  margin-bottom: 40px;
}

.casapolska-amenidad {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  transition: all .3s ease;
}

.casapolska-amenidad i {
  font-size: 34px;
  color: var(--amenidades-icon-color, #3f6b4e);
  margin-bottom: 10px;
}

.casapolska-amenidad span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  letter-spacing: .3px;
}

@media (hover: hover) {
  .casapolska-amenidad:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,.10);
  }
}

@media (min-width: 768px) {
  .casapolska-amenidades-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .casapolska-amenidades-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Amenidades Destacadas */
.casapolska-amenidad.destacada {
  position: relative;
  border: 2px solid rgba(63,107,78,.25);
}

.casapolska-amenidad .amenidad-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: yellow;
  color: black;
  font-size: 10.5px;
  padding: 3px 7px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgb(251, 251, 251);
  line-height: 1;
  white-space: nowrap;
}

.casapolska-amenidad .amenidad-badge i {
  font-size: 10px;
  margin-bottom: 0;
}

.casapolska-amenidad.destacada.pago > i {
  animation: float 3s ease-in-out infinite;
  display: inline-block;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* =========================================================
   BLOG PROFESIONAL
   ========================================================= */
.blog-layout {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.blog-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.blog-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #f1f5f9;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover .blog-thumb::after {
  opacity: 1;
}

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.blog-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cp-primary, #3b82f6);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-category:hover {
  color: #2563eb;
}

.blog-category i {
  font-size: 0.9em;
}

.blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.875rem;
  color: #64748b;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #475569;
}

.blog-meta img {
  border-radius: 50%;
  border: 2px solid #e2e8f0;
}

.blog-date,
.blog-reading-time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-date i,
.blog-reading-time i {
  color: var(--cp-primary, #3b82f6);
}

.blog-title {
  margin: 0;
  line-height: 1.3;
}

.blog-title a {
  text-decoration: none;
  color: #0f172a;
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-title a:hover {
  color: var(--cp-primary, #3b82f6);
}

.blog-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
  flex: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--cp-primary, #3b82f6);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  align-self: flex-start;
  margin-top: 8px;
}

.blog-read-more:hover {
  background: #2563eb;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.blog-read-more i {
  transition: transform 0.2s;
}

.blog-read-more:hover i {
  transform: translateX(4px);
}

.blog-pagination {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #e2e8f0;
}

.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.blog-pagination a {
  background: #f1f5f9;
  color: #475569;
}

.blog-pagination a:hover {
  background: var(--cp-primary, #3b82f6);
  color: #ffffff;
}

.blog-pagination .current {
  background: var(--cp-primary, #3b82f6);
  color: #ffffff;
}

.blog-empty {
  text-align: center;
  padding: 80px 20px;
  color: #64748b;
  font-size: 1.1rem;
}

.blog-empty i {
  font-size: 3rem;
  color: #cbd5e1;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .blog-layout {
    margin: 60px auto;
    padding: 0 24px;
  }

  .blog-title a {
    font-size: 1.75rem;
  }

  .blog-excerpt {
    font-size: 1.05rem;
  }
}

@media (min-width: 992px) {
  .blog-layout {
    grid-template-columns: 2.5fr 1fr;
    gap: 56px;
  }

  .blog-card {
    flex-direction: row;
    margin-bottom: 40px;
  }

  .blog-thumb {
    width: 45%;
    flex-shrink: 0;
    aspect-ratio: 4/3;
  }

  .blog-content {
    padding: 32px;
    width: 55%;
  }

  .blog-title a {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .blog-card {
    animation: fadeInUp 0.5s ease backwards;
  }

  .blog-card:nth-child(2) { animation-delay: 0.1s; }
  .blog-card:nth-child(3) { animation-delay: 0.2s; }
  .blog-card:nth-child(4) { animation-delay: 0.3s; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* =========================================================
   FOTO HORIZONTAL REPRESENTATIVA
   ========================================================= */
.casapolska-fotohorizontal {
  width: 100%;
  margin: 0;
  padding: 0;
}

.casapolska-fotohorizontal-bg {
  width: 100%;
  height: 100vh;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.casapolska-fotohorizontal-leyenda {
  max-width: 420px;
  margin: 24px;
  padding: 16px 22px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.25)
  );
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

@media (max-width: 768px) {
  .casapolska-fotohorizontal-bg {
    height: 70vh;
  }

  .casapolska-fotohorizontal-leyenda {
    max-width: 90%;
    margin: 16px;
    font-size: 0.95rem;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 64px 16px;
}

.footer-inner {
  max-width: var(--footer-max-width);
  margin: 0 auto;
}

.footer-widgets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-widget h4 {
  color: var(--footer-title);
  margin-bottom: 12px;
}

.footer-widget {
  font-size: var(--footer-font-size);
  line-height: var(--footer-line-height);
}

.footer-widget a {
  color: var(--footer-link);
  text-decoration: none;
}

.footer-widget a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer-widgets {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================================================
   COPYRIGHT
   ========================================================= */
.site-copyright {
  background: var(--copyright-bg);
  color: var(--copyright-text);
  padding: 14px 16px;
  font-size: var(--copyright-font-size);
}

.copyright-inner {
  max-width: var(--footer-max-width);
  margin: 0 auto;
  text-align: left;
}

/* =========================================================
   LEGALES
   ========================================================= */
.legal-links {
  font-size: var(--legal-font-size);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.copyright-text {
  font-size: var(--copyright-text-size);
  margin-bottom: 5px;
}

.legal-link {
  color: var(--legal-link);
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.legal-link:hover {
  color: var(--legal-link-hover);
  text-decoration: underline;
}

.legal-link i {
  font-size: var(--legal-icon-size);
  margin-right: 4px;
}

@media (min-width: 768px) {
  .legal-links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
  }

  .copyright-text {
    margin-bottom: 0;
    margin-right: 5px;
  }
}

@media (min-width: 1024px) {
  .legal-links {
    flex-wrap: nowrap;
  }
}


/* =========================================================
   SKIP LINK — Accesibilidad
   ========================================================= */
.cph-skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 99999;
  padding: 0.75rem 1.25rem;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.15s;
}
.cph-skip-link:focus {
  top: 0;
  outline: 3px solid #0f172a;
  outline-offset: 2px;
}

/* =========================================================
   BREADCRUMBS
   ========================================================= */
.cph-breadcrumbs {
  margin: 1rem 0 1.5rem;
  font-size: 13px;
}
.cph-bc-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.cph-bc-item a {
  color: #2563eb;
  text-decoration: none;
}
.cph-bc-item a:hover {
  text-decoration: underline;
}
.cph-bc-item span[aria-current] {
  color: #64748b;
}
.cph-bc-sep {
  color: #94a3b8;
  font-size: 11px;
}
