/* ========================================
   CASTORES.COM.MX CLONE - STYLES
   Idéntico al original
   ======================================== */

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

:root {
    --red: #C72628;
    --red-dark: #a01c2a;
    --red-light: #e84855;
    --navy: #121921;
    --navy-light: #1a2230;
    --dark: #1A1A1A;
    --gray-900: #212529;
    --gray-700: #495057;
    --gray-500: #6c757d;
    --gray-400: #adb5bd;
    --gray-300: #dee2e6;
    --gray-200: #e9ecef;
    --gray-100: #f8f9fa;
    --white: #ffffff;
    --gold: #c9a94e;
    --gold-light: #e0c97a;
    --beige: #f0ebe0;
    --beige-light: #f5f1e8;
    --whatsapp: #25D366;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    height: var(--header-height);
}

.header.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

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

/* Logo */
.header-logo a {
    display: flex;
    align-items: center;
}

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

/* Header Center - Action Pill */
.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.action-pill {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 40px;
    padding: 6px 8px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
    white-space: nowrap;
}

.action-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.action-icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.header-search {
    background: none;
    border: 2px solid var(--gray-300);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--dark);
    font-size: 1rem;
    transition: var(--transition);
}

.header-search:hover {
    border-color: var(--dark);
}

.header-menu {
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    transition: var(--transition);
}

.header-menu span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.header-menu.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.header-menu.active span:nth-child(2) {
    opacity: 0;
}

.header-menu.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* ---------- MOBILE NAV ---------- */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--white);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-content {
    padding: 32px 24px;
}

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

.mobile-nav-content li a {
    display: block;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-nav-content li a:hover {
    background: var(--gray-100);
    color: var(--red);
}

/* ---------- ACTION PANEL OVERLAYS ---------- */
.panel-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Search bar panel (Rastrear & Facturación) */
.search-bar-panel {
    position: relative;
    width: 90%;
    max-width: 700px;
    transform: translateY(-20px);
    transition: transform 0.35s ease;
}

.panel-overlay.active .search-bar-panel,
.panel-overlay.active .cotizar-modal {
    transform: translateY(0);
}

.search-bar-inner {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    padding: 8px 8px 8px 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.search-bar-icon {
    color: var(--gray-400);
    font-size: 1.15rem;
    margin-right: 14px;
    flex-shrink: 0;
}

.search-bar-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    background: transparent;
}

.search-bar-input::placeholder {
    color: var(--gray-400);
}

.search-bar-go {
    flex-shrink: 0;
    width: 56px;
    height: 48px;
    border: none;
    border-radius: 50px;
    background: var(--red);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar-go:hover {
    background: var(--red-dark);
}

/* Close button */
.panel-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.panel-close:hover {
    background: rgba(255, 255, 255, 0.45);
}

/* Cotizar Modal */
.cotizar-modal {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 40px 48px;
    width: 90%;
    max-width: 620px;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.35s ease;
}

.panel-close-modal {
    position: absolute;
    top: -12px;
    right: -12px;
    background: var(--gray-200);
    color: var(--gray-700);
}

.panel-close-modal:hover {
    background: var(--gray-300);
}

.cotizar-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 4px;
}

.cotizar-subtitle {
    font-size: 0.95rem;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 28px;
}

.cotizar-section {
    margin-bottom: 24px;
}

.cotizar-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cotizar-pin {
    color: var(--red);
    font-size: 1.1rem;
}

.cotizar-field {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
    gap: 12px;
}

.cotizar-field-icon {
    color: var(--gray-400);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.cotizar-select,
.cotizar-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.93rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.cotizar-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%236c757d'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 20px;
}

.cotizar-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cotizar-select option,
.cotizar-input::placeholder {
    color: var(--gray-500);
}

/* ---------- HERO BANNER ---------- */
.hero-banner {
    margin-top: var(--header-height);
    background: var(--gray-100);
    padding: 60px 32px 50px;
    text-align: center;
}

.hero-banner-container {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-banner-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.hero-banner-pill {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 6px 22px;
    border-radius: 30px;
    font-weight: 700;
    margin-left: 4px;
}

/* ---------- HERO (VIDEO) ---------- */
.hero {
    position: relative;
    height: 70vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-fallback {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient-left,
.hero-gradient-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 1;
    pointer-events: none;
}

.hero-gradient-left {
    left: 0;
    background: linear-gradient(to right, rgba(180, 200, 230, 0.45), transparent);
}

.hero-gradient-right {
    right: 0;
    background: linear-gradient(to left, rgba(180, 200, 230, 0.45), transparent);
}

.hero-mute-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: none;
    background: var(--red);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero-mute-btn:hover {
    background: var(--red-dark);
}

/* ---------- PROMOTIONS ---------- */
.promotions {
    padding: 80px 32px;
    background: var(--white);
}

.promotions-container {
    max-width: 1300px;
    margin: 0 auto;
}

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

.promo-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.promo-card--beige {
    background: var(--beige-light);
}

.promo-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.promo-card-inner {
    display: flex;
    min-height: 340px;
    position: relative;
}

.promo-card-text {
    flex: 1;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1;
}

.promo-badge {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 24px;
    width: fit-content;
    margin-bottom: 24px;
}

.promo-badge--dark {
    background: #7a1a1e;
}

.promo-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 12px;
}

.promo-address {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.5;
    margin-bottom: 16px;
}

.promo-note {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-style: italic;
    margin-top: auto;
}

.promo-card-image {
    width: 45%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.promo-card-image img {
    position: relative;
    z-index: 1;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom;
}

.promo-curve {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -20%;
    width: 120%;
    z-index: 0;
}

.promo-curve--blue {
    background: linear-gradient(160deg, #3a7bd5 0%, #6db3f2 40%, #3a7bd5 100%);
    border-radius: 50% 0 0 50%;
    clip-path: ellipse(70% 100% at 70% 50%);
}

.promo-curve--gold {
    background: linear-gradient(160deg, #c9a94e 0%, #e0c97a 40%, #c9a94e 100%);
    border-radius: 50% 0 0 50%;
    clip-path: ellipse(70% 100% at 70% 50%);
}

/* ---------- SERVICE SECTIONS ---------- */
.service-section {
    padding: 80px 60px;
    overflow: hidden;
}

.service-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-container--reverse {
    direction: rtl;
}

.service-container--reverse>* {
    direction: ltr;
}

.service-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.service-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-section:hover .service-image img {
    transform: scale(1.03);
}

.service-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 40px;
}

/* Service Label Pill */
.service-label-pill {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark);
    padding: 8px 24px;
    border: 1.5px solid var(--gray-400);
    border-radius: 30px;
    width: fit-content;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.service-label-pill--light {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-label-pill--dark {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.25);
}

.service-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.05;
    color: var(--dark);
}

.service-title--white {
    color: var(--white);
}

.service-title--gold {
    color: var(--gold);
}

.service-description {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--gray-700);
    margin-bottom: 32px;
    max-width: 480px;
}

.service-description--light {
    color: rgba(255, 255, 255, 0.85);
}

/* Service CTA Button (outlined pill) */
.service-cta-btn {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid var(--dark);
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition);
    width: fit-content;
}

.service-cta-btn:hover {
    background: var(--dark);
    color: var(--white);
}

.service-cta-btn--light {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.service-cta-btn--light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.service-cta-btn--gold {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.service-cta-btn--gold:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Inhouse */
.inhouse {
    background: var(--beige);
}

/* Paqueteria */
.paqueteria {
    background: var(--red);
}

/* Completos */
.completos {
    background: var(--navy);
}

/* ---------- STATS SECTION ---------- */
.stats-section {
    position: relative;
    padding: 120px 60px;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.stats-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 30, 0.55);
}

.stats-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.stats-left {
    display: flex;
    flex-direction: column;
}

.stats-heading {
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1;
}

.stats-subtext {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 460px;
}

.stats-cta-btn {
    display: inline-block;
    padding: 14px 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
    transition: var(--transition);
    width: fit-content;
}

.stats-cta-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.stats-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}

.stat-plus {
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--white);
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.stat-unit {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    margin-left: 8px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    display: block;
}

/* ---------- SEMINUEVAS ---------- */
.seminuevas {
    background: var(--red);
    padding: 80px 60px;
    overflow: hidden;
}

.seminuevas-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.seminuevas-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.seminuevas-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
}

.seminuevas-cta {
    display: inline-block;
    padding: 14px 36px;
    background: var(--white);
    color: var(--red);
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    width: fit-content;
}

.seminuevas-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.seminuevas-image img {
    max-width: 580px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
    transition: transform 0.6s ease;
}

.seminuevas:hover .seminuevas-image img {
    transform: scale(1.02) translateY(-6px);
}

/* ---------- COMPROMISO ---------- */
.compromiso {
    position: relative;
    padding: 100px 32px;
    overflow: hidden;
}

.compromiso-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.compromiso-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compromiso-overlay {
    position: absolute;
    inset: 0;
    background: rgba(240, 245, 250, 0.75);
    backdrop-filter: blur(1px);
}

.compromiso-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.compromiso-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 48px;
    line-height: 1.3;
}

.compromiso-badge {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 6px 24px;
    border-radius: 12px;
    font-style: normal;
}

.compromiso-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.compromiso-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 380px;
    cursor: pointer;
    transition: var(--transition);
    display: block;
}

.compromiso-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.compromiso-card>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.compromiso-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 28px;
}

.compromiso-card-overlay h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    text-align: left;
    line-height: 1.2;
}

/* ---------- NEWSLETTER ---------- */
.newsletter {
    background: var(--gray-100);
    padding: 80px 32px;
}

.newsletter-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.newsletter p {
    color: var(--gray-700);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--gray-300);
    border-right: none;
    border-radius: 30px 0 0 30px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    background: var(--white);
}

.newsletter-input-group input:focus {
    border-color: var(--red);
}

.newsletter-input-group button {
    padding: 14px 28px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 0 30px 30px 0;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-input-group button:hover {
    background: var(--red-dark);
}

/* ---------- FOOTER (LIGHT) ---------- */
.footer {
    background: var(--gray-100);
    color: var(--dark);
    padding: 60px 32px 0;
    border-top: 1px solid var(--gray-300);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 48px;
    padding-bottom: 40px;
    align-items: start;
}

/* Footer Logo */
.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-logo-grupo {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.08em;
}

.footer-logo-castores {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -0.02em;
    line-height: 1;
}

.footer-logo-dot {
    color: var(--red);
}

/* Footer Links */
.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--gray-700);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--red);
    padding-left: 4px;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--white);
    transition: var(--transition);
}

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

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    border-top: 1px solid var(--gray-300);
    background: rgba(200, 210, 230, 0.15);
    margin: 0 -32px;
    padding-left: 32px;
    padding-right: 32px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ---------- WHATSAPP BUTTON ---------- */
.whatsapp-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    z-index: 900;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 28px rgba(37, 211, 102, 0.65);
    }
}

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .service-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-container--reverse {
        direction: ltr;
    }

    .service-section {
        padding: 60px 32px;
    }

    .service-image img {
        min-height: 320px;
    }

    .service-content {
        padding: 20px 0;
    }

    .service-title {
        font-size: 2.6rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .stats-left {
        align-items: center;
    }

    .stats-subtext {
        max-width: 100%;
    }

    .stats-heading {
        font-size: 2.8rem;
    }

    .stat-number {
        font-size: 3.2rem;
    }

    .seminuevas-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .seminuevas-content {
        align-items: center;
    }

    .seminuevas-image img {
        max-width: 420px;
    }

    .compromiso-cards {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .compromiso-title {
        font-size: 2.2rem;
    }

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

    .footer-links-group {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-social {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .header-container {
        padding: 0 16px;
    }

    .action-pill {
        display: none;
    }

    .hero {
        min-height: 400px;
        height: 60vh;
    }

    .promotions {
        padding: 48px 16px;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-card-inner {
        min-height: 280px;
    }

    .promo-title {
        font-size: 1.3rem;
    }

    .service-section {
        padding: 48px 20px;
    }

    .service-title {
        font-size: 2.2rem;
    }

    .stats-section {
        padding: 60px 20px;
    }

    .stats-heading {
        font-size: 2.2rem;
    }

    .stat-number {
        font-size: 2.6rem;
    }

    .seminuevas {
        padding: 48px 20px;
    }

    .seminuevas-title {
        font-size: 2.4rem;
    }

    .compromiso {
        padding: 60px 16px;
    }

    .compromiso-title {
        font-size: 1.8rem;
    }

    .compromiso-card {
        height: 280px;
    }

    .newsletter {
        padding: 48px 16px;
    }

    .newsletter h2 {
        font-size: 1.4rem;
    }

    .newsletter-input-group {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-input-group input {
        border-right: 2px solid var(--gray-300);
        border-radius: 30px;
    }

    .newsletter-input-group input:focus {
        border-color: var(--red);
    }

    .newsletter-input-group button {
        border-radius: 30px;
    }

    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-bottom {
        text-align: center;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-castores {
        font-size: 1.5rem;
    }

    .promo-card-image {
        display: none;
    }

    .promo-card-inner {
        min-height: auto;
    }

    .service-image img {
        min-height: 250px;
    }
}