/* ==========================================================================
   INTERNACIÓN DOMICILIARIA BARRAZA - CORE STYLES
   Optimized for High Performance, White Background, #0054a1 & #ef861f
   ========================================================================== */
:root {
    --primary: #0054a1;
    --primary-dark: #003e78;
    --primary-light: #eef5fc;
    --secondary: #ef861f;
    --secondary-dark: #d47110;
    --bg-main: #ffffff;
    --bg-surface: #f7f9fc;
    --text-main: #1e293b;
    --text-muted: #526071;
    --border-color: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 4px 12px rgba(0, 84, 161, 0.06);
    --shadow-md: 0 12px 30px rgba(0, 84, 161, 0.10);
    --transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
    --container-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 84, 161, 0.25);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #ffffff;
}
.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 134, 31, 0.28);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-wa {
    background-color: #25d366;
    color: #ffffff;
}
.btn-wa:hover {
    background-color: #1ebe5d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background: #ffffff;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.header-top {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
}

.header-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-logo img {
    width: 185px;
    height: auto;
    aspect-ratio: 1.9 / 1;
    object-fit: contain;
}

.header-info-grid {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-info-icon {
    position: relative;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0;
    line-height: 1 !important;
}
.header-info-icon svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    display: block;
}

.header-info-item strong {
    display: block;
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
}

.header-info-item span {
    display: block;
    font-size: 0.80rem;
    color: var(--text-muted);
}

/* Sticky Nav */
.header-nav {
    background: var(--primary);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: var(--transition);
}

.header-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item { position: relative; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 17px 18px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px 3px 0 0;
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 295px;
    background: #ffffff;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 1050;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 11px 20px;
    color: var(--text-main);
    font-size: 0.90rem;
    font-weight: 600;
    border-left: 3px solid transparent;
}

.dropdown-menu li a:hover,
.dropdown-menu li a.active {
    background: var(--primary-light);
    color: var(--primary);
    border-left-color: var(--secondary);
}

/* Header Right Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    padding: 4px 10px;
    border-radius: 50px;
    gap: 6px;
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 700;
    font-size: 0.80rem;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 20px;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--secondary);
    color: #ffffff;
}

.lang-sep { color: rgba(255,255,255,0.4); font-size: 0.8rem; }

.header-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-socials a:hover {
    background: var(--secondary);
    color: #ffffff;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: var(--primary-light);
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   HERO SLIDER (HOME)
   ========================================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--primary-light);
}

.hero-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 650;
    min-height: 320px;
    max-height: 650px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: rgba(0, 84, 161, 0.45);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.2);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: none;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.hero-arrow:hover { background: var(--secondary); color: #ffffff; }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

/* ==========================================================================
   SECTIONS & TYPOGRAPHY
   ========================================================================== */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-bg-light { background-color: var(--bg-surface); }

.eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    border-left: 3px solid var(--secondary);
    padding-left: 12px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.25;
    margin: 0 0 18px;
}

.accent-bar {
    width: 54px;
    height: 4px;
    background: var(--secondary);
    border-radius: 4px;
    margin: 16px 0 24px;
}
.accent-bar.center { margin-left: auto; margin-right: auto; }

/* Home 3-Col Intro */
.home-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.home-about-card {
    text-align: center;
    padding: 28px;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.home-about-card img {
    width: 110px;
    margin: 0 auto 20px;
}

.home-about-highlight {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 16px 0 0;
    line-height: 1.45;
}

.home-about-photo img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 0 auto;
}

/* Quote Banner */
.quote-box {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 36px 24px;
    border-top: 2px solid var(--primary-light);
    border-bottom: 2px solid var(--primary-light);
}

.quote-box blockquote {
    margin: 0;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 600;
    color: var(--primary);
    line-height: 1.5;
}

.quote-box cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-weight: 800;
    color: var(--secondary);
    font-size: 1rem;
}

/* Stats & Services Showcase (Parallax Banner) */
.stats-showcase {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    padding: 80px 0;
}

.stats-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 84, 161, 0.92), rgba(0, 56, 112, 0.88));
}

.stats-showcase .container { position: relative; z-index: 2; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: center;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: clamp(2.5rem, 4.5vw, 3.6rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.stat-prefix { color: var(--secondary); }

.stat-label {
    margin-top: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.showcase-services {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
    padding-top: 48px;
}

.showcase-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: right;
}

.showcase-links a {
    color: #ffffff;
    font-size: clamp(1.25rem, 2.5vw, 1.85rem);
    font-weight: 400;
    line-height: 1.3;
    transition: var(--transition);
}

.showcase-links a strong { font-weight: 800; color: #ffffff; }
.showcase-links a:hover { color: var(--secondary); transform: translateX(-6px); }
.showcase-links a:hover strong { color: var(--secondary); }

/* Convenios Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.partner-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 115px;
    transition: var(--transition);
}

.partner-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.partner-card img {
    max-height: 76px;
    width: auto;
    object-fit: contain;
}

/* Supersalud Strip */
.supersalud-bar {
    background: var(--bg-surface);
    padding: 36px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.supersalud-bar img {
    max-width: 320px;
    margin: 0 auto;
}

/* Home Contact & Map Split */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 28px 0;
}

.contact-info-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.contact-info-row .c-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-pills {
    display: flex;
    gap: 12px;
}

.social-pills a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-pills a:hover { background: var(--secondary); transform: translateY(-2px); }

.map-frame {
    width: 100%;
    min-height: 380px;
    height: 100%;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   PAGE HEADER / BANNER & INNER PAGES
   ========================================================================== */
.page-hero-banner {
    padding: 32px 0 0;
}

.page-hero-banner img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    object-fit: cover;
    max-height: 450px;
}

.page-title-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 44px 0;
}

.page-title-header h1 {
    margin: 0;
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    font-weight: 800;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 0.86rem;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.8);
}

.breadcrumb a { color: #ffffff; text-decoration: underline; }

/* Two-Column Content Grid (Nosotros) */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}

.benefits-box {
    background: var(--primary-light);
    border-left: 4px solid var(--secondary);
    padding: 24px 28px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-top: 24px;
}

.benefits-box h4 {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 800;
}

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

.check-list li {
    position: relative;
    padding-left: 26px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
    font-weight: 800;
}

/* Mision / Vision / Calidad Split */
.mvp-section {
    background: var(--primary);
    color: #ffffff;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.mvp-content {
    padding: 64px 48px 64px max(20px, calc((100vw - var(--container-max)) / 2 + 20px));
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mvp-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.mvp-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mvp-item h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

.mvp-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.mvp-image {
    min-height: 420px;
    background-size: cover;
    background-position: center;
}

/* 8 Lineamientos Grid */
.lineamientos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.lineamiento-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 26px 22px;
    transition: var(--transition);
}

.lineamiento-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.lineamiento-num {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.lineamiento-card h4 {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 700;
}

.lineamiento-card p {
    margin: 0;
    font-size: 0.90rem;
    color: var(--text-muted);
}

.transparency-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   SERVICES CARDS, TABS, STEPS, FILTERS & ACCORDIONS
   ========================================================================== */
.service-cards-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin: 32px 0;
}

.service-mini-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.service-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.service-mini-card img {
    width: 100%;
    aspect-ratio: 500 / 335;
    object-fit: cover;
}

.service-mini-card h4 {
    margin: 0;
    padding: 14px 10px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
}

/* Filter Controls (Alquiler) */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 24px;
}

.filter-btn {
    padding: 9px 20px;
    border-radius: 50px;
    border: 1.5px solid var(--border-color);
    background: #ffffff;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.equipos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.equipo-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.equipo-card.hidden { display: none; }

.equipo-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.equipo-card img {
    width: 100%;
    aspect-ratio: 500 / 335;
    object-fit: cover;
}

.equipo-card h4 {
    margin: 0;
    padding: 15px 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
}

/* Interactive Tabs */
.tabs-wrapper {
    margin: 36px 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover { color: var(--primary); }

.tab-btn.active {
    background: #ffffff;
    color: var(--primary);
    border-bottom-color: var(--secondary);
}

.tab-panel {
    display: none;
    padding: 32px;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.35s ease;
}

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

/* Steps Grid */
.steps-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
    align-items: center;
    margin-top: 32px;
}

.steps-photo img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 0 auto;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.step-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.step-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-item h4 {
    margin: 0 0 4px;
    color: var(--primary);
    font-weight: 800;
}

.step-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Accordions */
.accordion {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
    overflow: hidden;
    margin: 24px 0;
}

.accordion-header {
    width: 100%;
    padding: 18px 24px;
    background: var(--primary-light);
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    cursor: pointer;
    text-align: left;
}

.accordion-header svg { transition: transform 0.3s ease; }
.accordion.open .accordion-header svg { transform: rotate(180deg); }

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s ease;
    padding: 0 24px;
}

.accordion.open .accordion-body {
    max-height: 2200px;
    padding: 24px;
}

/* Tours Grid (AsistCar) */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 32px;
}

.tour-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.tour-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.tour-card img {
    width: 100%;
    aspect-ratio: 500 / 450;
    object-fit: cover;
}

.tour-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-card__body h3 {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 800;
}

.tour-meta {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 0.88rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 880px;
    margin: 0 auto 36px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; border: 0;
}

/* ==========================================================================
   FORMS & CTA BANNERS
   ========================================================================== */
.cta-form-section {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 68px 0;
}

.cta-form-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(247, 249, 252, 0.90);
}

.cta-form-section .container { position: relative; z-index: 2; }

.form-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

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

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    background: #ffffff;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 84, 161, 0.12);
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 600;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 600;
}

/* ==========================================================================
   FOOTER & FLOATING WIDGETS
   ========================================================================== */
.site-footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.92);
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-logo img {
    width: 200px;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover { background: var(--secondary); color: #ffffff; transform: translateY(-2px); }

.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--secondary);
}

.line-group-title {
    margin: 0 0 6px;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.92rem;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    margin-bottom: 6px;
}

.footer-phone:hover { color: var(--secondary); }

.badge-wa {
    background: #25d366;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.94rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    padding: 22px 0;
    background: var(--primary);
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.92);
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy, .footer-credits { margin: 0; }
.footer-credits a { color: #d9bd30; font-weight: 700; }
.footer-credits a:hover { color: #f2da5c; text-decoration: underline; }

/* Floating WhatsApp & Back to Top */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    z-index: 990;
}

.wa-float:hover {
    background: #1ebe5d;
    color: #ffffff;
    transform: translateY(-3px);
}

.back-to-top {
    position: fixed;
    bottom: 84px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--secondary);
    color: #ffffff;
    border: 2px solid #ffffff;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(239, 134, 31, 0.38);
    z-index: 989;
    transition: var(--transition);
}

.back-to-top.visible { display: inline-flex; }
.back-to-top:hover { background: var(--secondary-dark); transform: translateY(-3px); }
