/* ==========================================================================
   CASANTA RENT A CAR - MODERNIZACIÓN VISUAL & VISOR 360° / 3D
   Mantiene 100% la estructura de WordPress + Elementor
   ========================================================================== */

:root {
  --cs-red: #e60012;
  --cs-red-dark: #b8000e;
  --cs-red-light: #ff2a39;
  --cs-red-soft: rgba(230, 0, 18, 0.08);
  --cs-red-glow: rgba(230, 0, 18, 0.25);
  --cs-dark: #0b0f19;
  --cs-slate-900: #0f172a;
  --cs-slate-800: #1e293b;
  --cs-slate-700: #334155;
  --cs-slate-600: #475569;
  --cs-slate-400: #94a3b8;
  --cs-slate-200: #e2e8f0;
  --cs-slate-100: #f1f5f9;
  --cs-slate-50: #f8fafc;
  --cs-white: #ffffff;
  --cs-whatsapp: #16a34a;
  --cs-whatsapp-hover: #15803d;
  --cs-radius-lg: 20px;
  --cs-radius-md: 14px;
  --cs-radius-sm: 10px;
  --cs-shadow-sm: 0 4px 16px -2px rgba(15, 23, 42, 0.06);
  --cs-shadow-md: 0 12px 32px -8px rgba(15, 23, 42, 0.1);
  --cs-shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.18);
  --cs-font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --cs-font-display: 'Montserrat', 'Plus Jakarta Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body.casanta-modern-active {
  font-family: var(--cs-font-sans) !important;
  color: var(--cs-slate-800);
  background-color: var(--cs-slate-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Hide broken JetReviews unrendered Vue template at bottom of page */
.jet-reviews-advanced,
[id^="jet-reviews"] {
  display: none !important;
}

/* ==========================================================================
   1. HEADER — contacto, navegación y menú adaptable sobre el contenido Elementor
   ========================================================================== */

body.casanta-modern-active .elementor-location-header.elementor-42 {
  position: sticky;
  top: 0;
  z-index: 990;
  background: #fff;
  box-shadow: 0 4px 24px rgba(11, 15, 25, 0.06);
}
body.admin-bar .elementor-location-header.elementor-42 { top: 32px; }

.elementor-42 .elementor-element.elementor-element-54f86488 {
  background: var(--cs-dark) !important;
  border: 0 !important;
  padding: 0 32px !important;
}
.elementor-42 .elementor-element-54f86488 > .elementor-container,
.elementor-42 .elementor-element-3ae40a7b > .elementor-container {
  max-width: 1240px !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}
.elementor-42 .elementor-element-54f86488 > .elementor-container { min-height: 40px; }
.elementor-42 .elementor-element-54f86488 .elementor-widget-wrap,
.elementor-42 .elementor-element-3ae40a7b .elementor-widget-wrap {
  padding: 0 !important;
  align-items: center !important;
}
.elementor-42 .elementor-element-54f86488 .elementor-widget,
.elementor-42 .elementor-element-3ae40a7b .elementor-widget { margin-bottom: 0 !important; }
.elementor-42 .elementor-element-54f86488 .elementor-widget-container,
.elementor-42 .elementor-element-3ae40a7b .elementor-widget-container { margin: 0 !important; padding: 0 !important; }
.elementor-42 .elementor-element.elementor-element-7816ebe2 { width: auto !important; flex: 1; }
.elementor-42 .elementor-element.elementor-element-5c1521b1 { width: auto !important; flex: 0 0 auto; }
.elementor-42 .elementor-element-768fb572 .elementor-icon-list-items {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 24px;
  margin: 0 !important;
}
.elementor-42 .elementor-element-768fb572 .elementor-icon-list-item {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1;
}
.elementor-42 .elementor-element-768fb572 .elementor-icon-list-item + .elementor-icon-list-item {
  border-left: 0 !important;
  position: relative;
  padding-left: 24px !important;
}
.elementor-42 .elementor-element-768fb572 .elementor-icon-list-item::after { display: none !important; }
.elementor-42 .elementor-element-768fb572 .elementor-icon-list-item + .elementor-icon-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(50% - 7px);
  width: 1px;
  height: 14px;
  background: #414550;
}
.elementor-42 .elementor-element-768fb572 .elementor-icon-list-text {
  font-family: var(--cs-font-sans) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: #e2e8f0 !important;
  padding-left: 8px !important;
  white-space: nowrap;
}
.elementor-42 .elementor-element-768fb572 .elementor-icon-list-icon svg { width: 14px !important; height: 14px; fill: #e2e8f0 !important; }
.elementor-42 .elementor-element-768fb572 a { display: inline-flex; align-items: center; min-height: 40px; }
.elementor-42 .elementor-element-4f0dfc27 .elementor-social-icons-wrapper { display: flex; gap: 8px; }
.elementor-42 .elementor-element-4f0dfc27 .elementor-social-icon {
  width: 32px !important;
  height: 36px !important;
  font-size: 14px !important;
  background: transparent !important;
  border-radius: 4px !important;
  transition: background .2s ease;
}
.elementor-42 .elementor-element-4f0dfc27 .elementor-social-icon svg { width: 14px; height: 14px; fill: #e2e8f0; }
.elementor-42 .elementor-element-4f0dfc27 .elementor-social-icon:hover { background: #252a36 !important; transform: none !important; }

.elementor-42 .elementor-element.elementor-element-3ae40a7b {
  position: relative !important;
  top: auto !important;
  z-index: 1 !important;
  background: #fff !important;
  backdrop-filter: none !important;
  border: 0 !important;
  border-bottom: 1px solid #e8eaee !important;
  box-shadow: none !important;
  padding: 0 32px !important;
}
.elementor-42 .elementor-element-3ae40a7b > .elementor-container { min-height: 92px; gap: 36px; }
.elementor-42 .elementor-element.elementor-element-377c965e { width: 208px !important; flex: 0 0 208px; order: 0 !important; }
.elementor-42 .elementor-element.elementor-element-42e2395d { width: auto !important; flex: 1; min-width: 0; order: 1 !important; }
.elementor-42 .elementor-element.elementor-element-4e43aadb { width: auto !important; flex: 0 0 auto; order: 2 !important; }
.elementor-42 .elementor-element-57dcf922 { text-align: left !important; }
.elementor-42 .elementor-element-57dcf922 a { display: flex; align-items: center; }
.elementor-42 .elementor-element-57dcf922 img,
.elementor-42 img.cs-svg-logo-header {
  width: 208px !important;
  height: 61px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
  transform: none !important;
}
.elementor-42 .elementor-element-14e8c854 .elementor-nav-menu--main { justify-content: flex-end !important; }
.elementor-42 .elementor-element-14e8c854 .elementor-nav-menu--main > ul { display: flex; flex-wrap: nowrap; gap: 28px; margin: 0 0 0 auto !important; padding: 0 !important; list-style: none !important; }
.elementor-42 .elementor-element-14e8c854 .elementor-nav-menu > li { list-style: none !important; }
.elementor-42 .elementor-element-14e8c854 .elementor-nav-menu > li::before,
.elementor-42 .elementor-element-14e8c854 .elementor-nav-menu > li::after { display: none !important; }
.elementor-42 .elementor-element-14e8c854 .elementor-nav-menu--main .elementor-item {
  font-family: var(--cs-font-sans) !important;
  font-size: 14px !important;
  line-height: 24px !important;
  font-weight: 600 !important;
  color: #333945 !important;
  padding: 16px 0 !important;
  margin: 0 !important;
  background: transparent !important;
  position: relative;
  white-space: nowrap;
  transition: color .2s ease;
}
.elementor-42 .elementor-element-14e8c854 .elementor-item:hover,
.elementor-42 .elementor-element-14e8c854 .elementor-item[aria-current] { color: var(--cs-red) !important; }
.elementor-42 .elementor-element-14e8c854 .elementor-nav-menu--main .elementor-item::after {
  content: '';
  position: absolute;
  inset: auto 0 7px;
  height: 2px;
  background: var(--cs-red);
  opacity: 1 !important;
  transform: scaleX(0);
  transition: transform .2s ease;
}
.elementor-42 .elementor-element-14e8c854 .elementor-nav-menu--main .elementor-item:hover::after,
.elementor-42 .elementor-element-14e8c854 .elementor-nav-menu--main .elementor-item[aria-current]::after { transform: scaleX(1); }
.elementor-42 .elementor-element-3b006db5 .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  background: var(--cs-red) !important;
  color: #fff !important;
  font-family: var(--cs-font-sans) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
  padding: 12px 25px !important;
  border: 1px solid var(--cs-red) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  transition: background .2s ease, border-color .2s ease !important;
}
.elementor-42 .elementor-element-3b006db5 .elementor-button:hover { background: var(--cs-red-dark) !important; border-color: var(--cs-red-dark) !important; transform: none !important; box-shadow: none !important; }
.elementor-42 .elementor-element-3b006db5 .elementor-button-content-wrapper { align-items: center; flex-direction: row !important; gap: 16px; }
.elementor-42 .elementor-element-3b006db5 .elementor-button-icon { display: none; }
.elementor-42 .elementor-element-3b006db5 .elementor-button-text { order: 0 !important; }
.elementor-42 .elementor-element-3b006db5 .elementor-button-content-wrapper::after {
  content: '';
  order: 2;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.elementor-42 .cs-menu-toggle { display: none !important; }
.elementor-42.cs-header-ready .elementor-element-14e8c854 .elementor-nav-menu--dropdown { display: none !important; }
.elementor-42 a:focus-visible,
.elementor-42 button:focus-visible { outline: 2px solid var(--cs-red); outline-offset: 4px; }
.elementor-42 .elementor-element-54f86488 a:focus-visible { outline-color: #fff; outline-offset: -2px; }
body.casanta-modern-active :is(#INICIO, #MODELOS, #ADICIONALES, #SOMOS, #DEPARTAMENTO) { scroll-margin-top: 150px; }

@media (max-width: 1100px) and (min-width: 1025px) {
  .elementor-42 .elementor-element-3ae40a7b > .elementor-container { gap: 24px; }
  .elementor-42 .elementor-element-14e8c854 .elementor-nav-menu--main > ul { gap: 20px; }
}
@media (max-width: 1024px) {
  .elementor-42 .elementor-element-54f86488,
  .elementor-42 .elementor-element-3ae40a7b { padding-inline: 24px !important; }
  .elementor-42 .elementor-element-3ae40a7b > .elementor-container { min-height: 76px; gap: 16px; position: static !important; }
  .elementor-42 .elementor-element.elementor-element-377c965e { width: 172px !important; flex-basis: 172px; }
  .elementor-42 .elementor-element-57dcf922 img { width: 172px !important; height: 51px !important; }
  .elementor-42 .elementor-element.elementor-element-42e2395d { flex: 0 0 44px; order: 3 !important; position: static; }
  .elementor-42 .elementor-element.elementor-element-4e43aadb { display: flex !important; margin-left: auto; }
  .elementor-42 .elementor-element-42e2395d > .elementor-widget-wrap,
  .elementor-42 .elementor-element-14e8c854,
  .elementor-42 .elementor-element-14e8c854 > .elementor-widget-container { position: static !important; }
  .elementor-42 .elementor-element-14e8c854 .elementor-nav-menu--main { display: none !important; }
  .elementor-42 .cs-menu-toggle {
    display: flex !important;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    padding: 12px !important;
    justify-content: center;
    align-items: center;
    color: #232936 !important;
    background: #fff !important;
    border: 1px solid #dce0e6 !important;
    border-radius: 4px !important;
    cursor: pointer;
  }
  .elementor-42 .cs-menu-toggle svg { width: 20px; height: 20px; fill: currentColor; }
  .elementor-42 .cs-menu-toggle .elementor-menu-toggle__icon--close { display: none; }
  .elementor-42 .cs-menu-toggle[aria-expanded="true"] .elementor-menu-toggle__icon--open { display: none; }
  .elementor-42 .cs-menu-toggle[aria-expanded="true"] .elementor-menu-toggle__icon--close { display: block; }
  .elementor-42.cs-header-menu-open .elementor-element-14e8c854 .elementor-nav-menu--dropdown {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    max-height: calc(100dvh - 150px) !important;
    transition: none !important;
    overflow-y: auto;
    margin: 0 !important;
    padding: 8px 24px 16px;
    background: #fff;
    border-radius: 0 !important;
    border-top: 1px solid #e8eaee;
    box-shadow: 0 16px 24px rgba(11, 15, 25, .1);
    transform: none !important;
  }
  .elementor-42 .elementor-element-14e8c854 .elementor-nav-menu--dropdown .elementor-item {
    min-height: 52px;
    padding: 14px 16px !important;
    font-family: var(--cs-font-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    color: #333945;
    border-bottom: 1px solid #edf0f3;
    border-radius: 0 !important;
    background: #fff;
  }
  .elementor-42 .elementor-element-14e8c854 .elementor-nav-menu--dropdown .elementor-item[aria-current] {
    background: #fff2f3 !important;
    box-shadow: inset 3px 0 var(--cs-red);
  }
  body.casanta-modern-active :is(#INICIO, #MODELOS, #ADICIONALES, #SOMOS, #DEPARTAMENTO) { scroll-margin-top: 132px; }
}
@media (max-width: 767px) {
  body.admin-bar .elementor-location-header.elementor-42 { top: 46px; }
  .elementor-42 .elementor-element-54f86488,
  .elementor-42 .elementor-element-3ae40a7b { padding-inline: 16px !important; }
  .elementor-42 .elementor-element.elementor-element-5c1521b1 { display: flex !important; }
  .elementor-42 .elementor-element-768fb572 .elementor-icon-list-items { gap: 10px; justify-content: flex-start !important; }
  .elementor-42 .elementor-element-768fb572 .elementor-icon-list-item + .elementor-icon-list-item { padding-left: 10px !important; }
  .elementor-42 .elementor-element-768fb572 .elementor-icon-list-text { font-size: 10px !important; padding-left: 5px !important; }
  .elementor-42 .elementor-element-768fb572 .elementor-icon-list-icon svg { width: 11px !important; height: 11px; }
  .elementor-42 .elementor-element-4f0dfc27 .elementor-social-icons-wrapper { gap: 2px; }
  .elementor-42 .elementor-element-4f0dfc27 .elementor-social-icon { width: 25px !important; }
  .elementor-42 .elementor-element-4f0dfc27 .elementor-social-icon svg { width: 12px; height: 12px; }
  .elementor-42 .elementor-element-3ae40a7b > .elementor-container { gap: 12px; }
  .elementor-42 .elementor-element.elementor-element-377c965e { width: 142px !important; flex-basis: 142px; }
  .elementor-42 .elementor-element-57dcf922 img { width: 142px !important; height: 44px !important; }
  .elementor-42 .elementor-element-3b006db5 .elementor-button { padding: 11px 14px !important; min-height: 44px; font-size: 12px !important; }
  .elementor-42 .elementor-element-3b006db5 .elementor-button-content-wrapper { gap: 8px; }
  .elementor-42.cs-header-menu-open .elementor-element-14e8c854 .elementor-nav-menu--dropdown { padding-inline: 16px; }
}
@media (max-width: 359px) {
  .elementor-42 .elementor-element-54f86488,
  .elementor-42 .elementor-element-3ae40a7b { padding-inline: 12px !important; }
  .elementor-42 .elementor-element-768fb572 .elementor-icon-list-items { gap: 6px; }
  .elementor-42 .elementor-element-768fb572 .elementor-icon-list-item + .elementor-icon-list-item { padding-left: 6px !important; }
  .elementor-42 .elementor-element-768fb572 .elementor-icon-list-icon { display: none; }
  .elementor-42 .elementor-element-4f0dfc27 .elementor-social-icon { width: 22px !important; }
  .elementor-42 .elementor-element-3ae40a7b > .elementor-container { gap: 8px; }
  .elementor-42 .elementor-element.elementor-element-377c965e { width: 124px !important; flex-basis: 124px; }
  .elementor-42 .elementor-element-57dcf922 img { width: 124px !important; }
}
@media (max-width: 600px) {
  body.admin-bar .elementor-location-header.elementor-42 { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .elementor-42 *, .elementor-42 *::after { transition: none !important; }
}

/* ==========================================================================
   2. HERO SECTION (#INICIO - Elementor ID 3139a6c)
   ========================================================================== */

.elementor-118 .elementor-element.elementor-element-3139a6c {
  position: relative;
  min-height: 560px !important;
  padding-top: 6rem !important;
  padding-bottom: 7.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
}

.elementor-118 .elementor-element.elementor-element-3139a6c::before {
  background:
    linear-gradient(180deg, rgba(11, 15, 25, 0.72) 0%, rgba(11, 15, 25, 0.58) 50%, rgba(11, 15, 25, 0.88) 100%),
    url("https://casantarentacar.cl/wp-content/uploads/2024/02/friends-travelling-by-rented-car-during-vacations.jpg") center 65% / cover no-repeat !important;
  opacity: 1 !important;
}

/* Hero Logo Box */
.elementor-118 .elementor-element.elementor-element-5a4c277 {
  text-align: center;
  margin-bottom: 8px !important;
}

.elementor-118 .elementor-element.elementor-element-5a4c277 img {
  max-width: 440px !important;
  width: 88% !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 18px 28px !important;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* Injected Hero Badges & Subtitle */
.cs-hero-enhancement {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
  margin: 14px auto 0;
  padding: 0 16px;
  z-index: 2;
}

.cs-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}

.cs-hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.cs-hero-title {
  font-family: var(--cs-font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 12px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.cs-hero-subtitle {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  color: rgba(248, 250, 252, 0.9);
  max-width: 640px;
  line-height: 1.55;
  margin: 0 0 22px;
}

.cs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 24px;
}

.cs-btn-primary,
.cs-btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--cs-font-sans);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-btn-primary {
  background: linear-gradient(135deg, var(--cs-red-light) 0%, var(--cs-red) 100%);
  color: #ffffff !important;
  box-shadow: 0 12px 28px -6px rgba(230, 0, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cs-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -6px rgba(230, 0, 18, 0.7);
}

.cs-btn-glass {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
}

.cs-btn-glass:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

/* Hide redundant default single hero button when enhanced */
body.casanta-modern-active .elementor-118 .elementor-element.elementor-element-c559442 {
  display: none !important;
}

.cs-hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  padding: 12px 22px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
}

.cs-hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cs-hero-trust-item svg {
  color: #ff4757;
  flex-shrink: 0;
}

/* ==========================================================================
   3. BRAND LOGOS BAR (Elementor ID d853bba / bb25b39) - HD VECTOR SVGs
   ========================================================================== */

.elementor-118 .elementor-element.elementor-element-d853bba {
  margin-top: -42px !important;
  margin-bottom: 36px !important;
  position: relative;
  z-index: 10;
  padding: 0 16px !important;
}

.elementor-118 .elementor-element.elementor-element-bb25b39 > .elementor-widget-container {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 32px !important;
  box-shadow: 0 18px 40px -12px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.cs-brands-label {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--cs-slate-400);
  margin-bottom: 14px;
}

.elementor-118 .elementor-element.elementor-element-bb25b39 .swiper-wrapper {
  align-items: center !important;
}

.elementor-118 .elementor-element.elementor-element-bb25b39 .swiper-slide {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 76px !important;
  padding: 8px 18px !important;
}

.elementor-118 .elementor-element.elementor-element-bb25b39 .swiper-slide-image {
  height: 54px !important;
  width: auto !important;
  max-width: 135px !important;
  object-fit: contain !important;
  filter: saturate(0.92);
  opacity: 0.9;
  transition: all 0.28s ease !important;
}

.elementor-118 .elementor-element.elementor-element-bb25b39 .swiper-slide:hover .swiper-slide-image {
  filter: saturate(1.1);
  opacity: 1;
  transform: scale(1.08);
}

/* ==========================================================================
   4. VEHICLE FLEET SECTION (#MODELOS - Elementor ID 29ccb72)
   ========================================================================== */

#MODELOS {
  padding: 24px 16px 64px !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
}

/* Section Header & Filter Bar */
.cs-fleet-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.cs-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cs-red);
  background: var(--cs-red-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.cs-section-title {
  font-family: var(--cs-font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--cs-slate-900);
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}

.cs-section-desc {
  font-size: 15.5px;
  color: var(--cs-slate-600);
  margin: 0 0 22px;
  line-height: 1.6;
}

/* Filter Pills */
.cs-fleet-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.cs-filter-btn {
  appearance: none;
  border: 1px solid var(--cs-slate-200);
  background: #ffffff;
  color: var(--cs-slate-700);
  font-family: var(--cs-font-sans);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cs-filter-btn:hover {
  border-color: var(--cs-red);
  color: var(--cs-red);
}

.cs-filter-btn.is-active {
  background: var(--cs-slate-900);
  border-color: var(--cs-slate-900);
  color: #ffffff;
  box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.25);
}

/* Vehicle Cards Styling (Applies to all 8 Elementor inner sections inside #MODELOS) */
#MODELOS .elementor-inner-section {
  background: #ffffff !important;
  border-radius: 22px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 28px -8px rgba(15, 23, 42, 0.07) !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
  position: relative !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

#MODELOS .elementor-inner-section:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 22px 44px -12px rgba(15, 23, 42, 0.16) !important;
  border-color: rgba(230, 0, 18, 0.28) !important;
}

#MODELOS .elementor-inner-section.cs-card-hidden {
  display: none !important;
}

#MODELOS .elementor-inner-section .elementor-element-populated {
  padding: 18px 18px 20px !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Card Top Header: Brand Mini-Logo + Category & Transmission Badges */
.cs-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  width: 100%;
}

.cs-card-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cs-card-brand img {
  height: 22px !important;
  width: auto !important;
  max-width: 56px !important;
  object-fit: contain !important;
}

.cs-card-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cs-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.cs-badge-category {
  background: var(--cs-slate-100);
  color: var(--cs-slate-700);
}

.cs-badge-auto {
  background: #dcfce7;
  color: #15803d;
}

.cs-badge-manual {
  background: #e0f2fe;
  color: #0369a1;
}

/* Vehicle Image Showcase Area */
#MODELOS .elementor-widget-image-box .elementor-image-box-img {
  position: relative !important;
  background: radial-gradient(circle at 50% 62%, #f1f5f9 0%, #ffffff 74%);
  border-radius: 16px;
  padding: 14px 10px 8px !important;
  margin-bottom: 12px !important;
  overflow: hidden;
  cursor: pointer;
}

#MODELOS .elementor-widget-image-box .elementor-image-box-img img {
  height: 155px !important;
  width: 100% !important;
  object-fit: contain !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  filter: drop-shadow(0 10px 14px rgba(15, 23, 42, 0.14));
}

#MODELOS .elementor-inner-section:hover .elementor-image-box-img img {
  transform: scale(1.06) !important;
}

/* Interactive 360° Floating Pill on Vehicle Image */
.cs-360-trigger-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(11, 15, 25, 0.86);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 3;
  transition: all 0.22s ease;
}

.cs-360-trigger-pill svg {
  color: #ff3b47;
}

#MODELOS .elementor-inner-section:hover .cs-360-trigger-pill {
  background: var(--cs-red);
  border-color: var(--cs-red);
  transform: scale(1.04);
}

#MODELOS .elementor-inner-section:hover .cs-360-trigger-pill svg {
  color: #ffffff;
}

/* Vehicle Title */
#MODELOS .elementor-image-box-title {
  font-family: var(--cs-font-display) !important;
  font-size: 17.5px !important;
  font-weight: 800 !important;
  color: var(--cs-slate-900) !important;
  margin: 2px 0 6px !important;
  line-height: 1.25 !important;
}

#MODELOS .elementor-image-box-title a {
  text-decoration: none !important;
  color: inherit !important;
}

/* Vehicle Specs Grid inside Card */
.cs-card-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 8px;
  margin: 10px 0 14px;
  padding: 10px;
  background: var(--cs-slate-50);
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  text-align: left;
}

.cs-spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cs-slate-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs-spec-item svg {
  width: 14px;
  height: 14px;
  color: var(--cs-red);
  flex-shrink: 0;
}

/* Dual Buttons on Vehicle Card: "Interior 360°" + "Cotizar" */
.cs-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.cs-btn-360 {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 10px;
  border-radius: 11px;
  background: var(--cs-slate-900);
  color: #ffffff;
  border: 1px solid var(--cs-slate-900);
  font-family: var(--cs-font-sans);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cs-btn-360:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.35);
}

.cs-btn-360 svg {
  width: 15px;
  height: 15px;
  color: #ff4757;
  flex-shrink: 0;
}

/* Style original Elementor "Cotizar !" button inside .cs-card-actions or standalone */
#MODELOS .elementor-widget-button .elementor-button,
.cs-btn-quote {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100% !important;
  padding: 10px 10px !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, var(--cs-red-light) 0%, var(--cs-red) 100%) !important;
  color: #ffffff !important;
  font-family: var(--cs-font-sans) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 6px 16px -4px var(--cs-red-glow) !important;
  transition: all 0.2s ease !important;
}

#MODELOS .elementor-widget-button .elementor-button:hover,
.cs-btn-quote:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 20px -4px rgba(230, 0, 18, 0.45) !important;
}

/* Hide original Elementor button wrapper when replaced by .cs-card-actions */
#MODELOS .elementor-inner-section.cs-card-enhanced .elementor-widget-button {
  display: none !important;
}

/* ==========================================================================
   5. INTERACTIVE 3D / 360° CABIN VIEWER MODAL (<dialog>)
   ========================================================================== */

dialog#casanta-360-modal {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: #0b0f19;
  color: #f8fafc;
  width: min(1140px, 95vw);
  max-width: 1140px;
  max-height: 92vh;
  overflow: hidden;
  box-shadow: 0 32px 80px -12px rgba(0, 0, 0, 0.75);
  margin: auto;
}

dialog#casanta-360-modal::backdrop {
  background: rgba(7, 10, 18, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cs-modal-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  min-height: 580px;
  max-height: 92vh;
}

/* Left Column: Interactive 360° / 3D Viewport */
.cs-modal-stage {
  position: relative;
  background: #05070c;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cs-stage-topbar {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.cs-stage-badge {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(11, 15, 25, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
}

.cs-stage-badge-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2a39;
  box-shadow: 0 0 0 4px rgba(255, 42, 57, 0.25);
}

.cs-stage-tabs {
  pointer-events: auto;
  display: inline-flex;
  background: rgba(11, 15, 25, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(10px);
}

.cs-stage-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-family: var(--cs-font-sans);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cs-stage-tab.is-active {
  background: var(--cs-red);
  color: #ffffff;
}

#cs-panorama-container {
  width: 100%;
  height: 100%;
  min-height: 480px;
  flex: 1;
}

/* Exterior / Studio View Fallback Tab */
.cs-exterior-stage {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 480px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 48px 32px;
  background: radial-gradient(circle at 50% 50%, #1e293b 0%, #090d16 78%);
  text-align: center;
}

.cs-exterior-stage.is-active {
  display: flex;
}

.cs-exterior-stage img {
  max-width: 82%;
  max-height: 290px;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s ease;
}

/* Camera Presets Bar at Bottom of 360° Viewport */
.cs-camera-bar {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cs-cam-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 15, 25, 0.82);
  color: #e2e8f0;
  font-family: var(--cs-font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.cs-cam-btn:hover,
.cs-cam-btn.is-active {
  background: var(--cs-red);
  border-color: var(--cs-red);
  color: #ffffff;
}

/* Custom Pannellum Hotspot Styling */
.cs-hotspot-pin {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(230, 0, 18, 0.92);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 6px rgba(230, 0, 18, 0.28), 0 4px 12px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cs-hotspot-pin:hover {
  transform: scale(1.18);
}

.cs-hotspot-tooltip {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 15, 25, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.cs-hotspot-pin:hover .cs-hotspot-tooltip {
  opacity: 1;
}

/* Right Column: Vehicle Details & Quick WhatsApp Booking */
.cs-modal-sidebar {
  background: #ffffff;
  color: var(--cs-slate-900);
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 92vh;
}

.cs-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cs-modal-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.cs-modal-brand-row img {
  height: 22px;
  width: auto;
}

.cs-modal-title {
  font-family: var(--cs-font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--cs-slate-900);
  margin: 0;
  line-height: 1.2;
}

.cs-modal-close {
  appearance: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--cs-slate-200);
  background: var(--cs-slate-50);
  color: var(--cs-slate-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.cs-modal-close:hover {
  background: var(--cs-red);
  border-color: var(--cs-red);
  color: #ffffff;
}

.cs-modal-desc {
  font-size: 13.5px;
  color: var(--cs-slate-600);
  line-height: 1.55;
  margin: 0 0 16px;
}

.cs-modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.cs-modal-spec-box {
  background: var(--cs-slate-50);
  border: 1px solid var(--cs-slate-200);
  border-radius: 12px;
  padding: 9px 12px;
}

.cs-modal-spec-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--cs-slate-400);
  display: block;
}

.cs-modal-spec-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--cs-slate-900);
}

/* Quick Quote Calculator inside Modal */
.cs-quote-form {
  background: var(--cs-slate-50);
  border: 1px solid var(--cs-slate-200);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
}

.cs-quote-form-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--cs-slate-900);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cs-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.cs-form-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--cs-slate-600);
  margin-bottom: 4px;
}

.cs-form-field select,
.cs-form-field input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid var(--cs-slate-200);
  background: #ffffff;
  font-family: var(--cs-font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cs-slate-900);
}

.cs-modal-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff !important;
  font-family: var(--cs-font-sans);
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 10px 24px -6px rgba(22, 163, 74, 0.45);
  transition: all 0.22s ease;
  margin-top: auto;
}

.cs-modal-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(22, 163, 74, 0.6);
}

/* ==========================================================================
   6. ADICIONALES (#ADICIONALES), SOMOS (#SOMOS), TESTIMONIOS & DEPARTAMENTO
   ========================================================================== */

#ADICIONALES {
  padding-top: 32px !important;
}

#ADICIONALES .elementor-heading-title,
#SOMOS .elementor-heading-title,
.elementor-118 .elementor-element.elementor-element-e32d0f3 .elementor-heading-title,
#DEPARTAMENTO .elementor-heading-title {
  font-family: var(--cs-font-display) !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
}

/* Adicionales Cards (Alzador & Silla) */
.elementor-118 .elementor-element.elementor-element-4946817 {
  gap: 24px !important;
  padding: 12px 16px 48px !important;
}

.elementor-118 .elementor-element.elementor-element-19c64ee,
.elementor-118 .elementor-element.elementor-element-4a32dc3 {
  background: #ffffff !important;
  border-radius: 22px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: var(--cs-shadow-md) !important;
  padding: 28px 24px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.elementor-118 .elementor-element.elementor-element-19c64ee:hover,
.elementor-118 .elementor-element.elementor-element-4a32dc3:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--cs-shadow-lg) !important;
}

.elementor-118 .elementor-element.elementor-element-b0d2baf img,
.elementor-118 .elementor-element.elementor-element-d2bb27d img {
  max-height: 170px !important;
  width: auto !important;
  object-fit: contain !important;
  margin: 0 auto 12px !important;
}

/* Somos Casanta Section */
.elementor-118 .elementor-element.elementor-element-a122103 {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--cs-shadow-md);
  padding: 32px !important;
  gap: 32px !important;
  margin-bottom: 48px !important;
}

.elementor-118 .elementor-element.elementor-element-8407c48 {
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  color: var(--cs-slate-700) !important;
  text-align: left !important;
}

.elementor-118 .elementor-element.elementor-element-c9964b8 iframe {
  border-radius: 18px !important;
  min-height: 320px !important;
  box-shadow: var(--cs-shadow-sm);
}

/* Testimonials & Video Section */
.elementor-118 .elementor-element.elementor-element-df3e1d1 {
  gap: 28px !important;
  align-items: center !important;
  margin-bottom: 56px !important;
}

.elementor-118 .elementor-element.elementor-element-92087d8,
.elementor-118 .elementor-element.elementor-element-8b098b8 {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px !important;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--cs-shadow-md);
}

.elementor-118 .elementor-element.elementor-element-f9b1c1f .elementor-wrapper {
  border-radius: 16px !important;
  overflow: hidden !important;
}

/* Casanta Departamentos Section (#DEPARTAMENTO) */
.elementor-118 .elementor-element.elementor-element-cd96b6d {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 28px;
  padding: 38px 34px !important;
  gap: 32px !important;
  color: #f8fafc !important;
  box-shadow: var(--cs-shadow-lg);
  margin-bottom: 64px !important;
}

.elementor-118 .elementor-element.elementor-element-fb40c57,
.elementor-118 .elementor-element.elementor-element-fb40c57 p {
  color: #e2e8f0 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  text-align: left !important;
}

.cs-depto-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.cs-depto-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
}

.elementor-118 .elementor-element.elementor-element-a9bc854 img {
  border-radius: 18px !important;
}

/* Acceso permanente a WhatsApp, respetando el área segura del dispositivo. */
body.casanta-modern-active .cs-whatsapp-float {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 980;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff !important;
  background: #25d366;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
body.casanta-modern-active .cs-whatsapp-float svg {
  display: block;
  width: 30px;
  height: 34px;
  fill: currentColor;
}
body.casanta-modern-active .cs-whatsapp-float:hover {
  background: #1aa952;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
}
body.casanta-modern-active .cs-whatsapp-float:focus-visible {
  outline: 3px solid #0b0f19;
  outline-offset: 4px;
}
@media (max-width: 767px) {
  body.casanta-modern-active .cs-whatsapp-float {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.casanta-modern-active .cs-whatsapp-float { transition: none; }
}

/* ==========================================================================
   7. MODERN LUXURY FOOTER (Elementor ID 40) - DOBLE A DIGITAL & OSVALDO PERALTA
   ========================================================================== */

.elementor-40 .elementor-element.elementor-element-557356b {
  background: radial-gradient(circle at 18% 0%, #172036 0%, #090d16 55%, #05070c 100%) !important;
  color: #e2e8f0 !important;
  padding: 0 !important;
  border-top: 3px solid var(--cs-red) !important;
  position: relative;
  overflow: hidden;
}

/* Hide legacy 2-column footer inner sections once modern footer is mounted */
body.casanta-modern-active .elementor-40.cs-footer-upgraded .elementor-element-5ccf335d,
body.casanta-modern-active .elementor-40.cs-footer-upgraded .elementor-element-36aabcda {
  display: none !important;
}

.cs-modern-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 52px 24px 28px;
  font-family: var(--cs-font-sans);
  color: #cbd5e1;
}

/* Top CTA strip inside footer */
.cs-footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 32px;
  margin-bottom: 44px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(230, 0, 18, 0.16) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.cs-footer-cta-text h3 {
  font-family: var(--cs-font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}

.cs-footer-cta-text p {
  margin: 0;
  font-size: 14px;
  color: #cbd5e1;
}

.cs-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cs-footer-btn-wa,
.cs-footer-btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.22s ease;
}

.cs-footer-btn-wa {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff !important;
  box-shadow: 0 10px 24px -6px rgba(22, 163, 74, 0.5);
}

.cs-footer-btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(22, 163, 74, 0.65);
}

.cs-footer-btn-call {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cs-footer-btn-call:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

/* Main 4-Column Footer Grid */
.cs-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cs-footer-brand-logo {
  height: 54px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 14px;
  display: block;
}

.cs-footer-brand-desc {
  font-size: 13.8px;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0 0 18px;
}

.cs-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 11px;
  border-radius: 999px;
}

.cs-footer-badge span.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}

.cs-footer-col-title {
  font-family: var(--cs-font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 8px;
}

.cs-footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2.5px;
  border-radius: 99px;
  background: var(--cs-red);
}

.cs-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-footer-links li a,
.cs-footer-links li button {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--cs-font-sans);
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 13.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  text-align: left;
}

.cs-footer-links li a:hover,
.cs-footer-links li button:hover {
  color: #ffffff !important;
  transform: translateX(3px);
}

.cs-footer-links li a svg,
.cs-footer-links li button svg {
  color: var(--cs-red-light);
  flex-shrink: 0;
}

.cs-footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.45;
}

.cs-footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(230, 0, 18, 0.14);
  border: 1px solid rgba(230, 0, 18, 0.3);
  color: #ff4757;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cs-footer-contact-item a {
  color: #f8fafc !important;
  text-decoration: none !important;
  font-weight: 600;
}

.cs-footer-contact-item a:hover {
  color: var(--cs-red-light) !important;
}

/* Bottom Bar: Copyright & Developer Credit */
.cs-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 13px;
  color: #94a3b8;
}

.cs-footer-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cs-footer-dev-credit {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 12.8px;
  font-weight: 500;
}

.cs-footer-dev-credit strong {
  color: #ffffff;
  font-weight: 700;
}

.cs-footer-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cs-footer-ig-link:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 16px -3px rgba(220, 39, 67, 0.55);
}

.cs-footer-agency-badge {
  color: #ff4757;
  font-weight: 800;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   8. RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */

@media (max-width: 960px) {
  .cs-modal-layout {
    grid-template-columns: 1fr;
  }
  .cs-modal-stage,
  #cs-panorama-container {
    min-height: 360px;
  }
  .cs-modal-sidebar {
    max-height: none;
  }
  .cs-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .elementor-118 .elementor-element.elementor-element-3139a6c {
    min-height: 480px !important;
    padding-top: 4rem !important;
    padding-bottom: 5.5rem !important;
  }
  .cs-card-actions {
    grid-template-columns: 1fr;
  }
  .elementor-118 .elementor-element.elementor-element-a122103,
  .elementor-118 .elementor-element.elementor-element-cd96b6d {
    padding: 22px 18px !important;
  }
  .cs-footer-cta {
    padding: 22px 20px;
  }
  .cs-footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .cs-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

