/* ================================
   BEST TOUR PUNTA CANA - Estilos Corporativos
   ================================ */

:root {
    /* Colores Corporativos */
    --primary: #0A497B;          /* Azul Ultramar - Títulos y footer */
    --primary-dark: #083a62;
    --primary-light: #1a6aa8;
    --secondary: #E7332C;        /* Rojo Bermellón - Resaltar */
    --accent: #FF621F;           /* Naranja Vivo - Botones */
    --accent-hover: #e55619;
    
    /* Neutros */
    --white: #ffffff;
    --black: #1c2130;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    
    /* Otros */
    --success: #22c55e;
    --whatsapp: #25D366;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s ease;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   BOTONES - Naranja Vivo
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 98, 31, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: #d42d27;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    border-color: var(--whatsapp);
}

.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 17px;
}

/* ================================
   HEADER - Logo Grande
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 65px;  /* Logo más grande */
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 36px;
}

.main-nav a {
    font-weight: 500;
    font-size: 15px;
    color: var(--gray-700);
    position: relative;
    padding: 8px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: var(--gray-100);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
}

/* Cart Button */
.btn-cart {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--gray-100);
    color: var(--primary);
    border: none;
    border-radius: 10px;
}

.btn-cart:hover {
    background: var(--primary);
    color: var(--white);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
}

/* ================================
   HERO - Overlay más claro
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    padding-top: 90px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Overlay más suave para ver mejor la imagen */
    background: linear-gradient(
        135deg,
        rgba(10, 73, 123, 0.6) 0%,
        rgba(10, 73, 123, 0.3) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    color: var(--white);
}

.hero-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 30px;
}

.hero-title {
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-title span {
    color: var(--accent);
}

.hero-description {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ================================
   SECCIÓN: Inicia tu Aventura (3 pasos)
   ================================ */
.steps-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.steps-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.steps-section .section-title span {
    color: var(--accent);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-number {
    position: relative;
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin: 0 auto 15px;
}

.step-card h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ================================
   FLIP BOX - Por qué viajar con nosotros
   ================================ */
.flipbox-section {
    padding: 100px 0;
    background: var(--white);
}

.flipbox-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.flipbox {
    height: 280px;
    perspective: 1000px;
}

.flipbox-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flipbox:hover .flipbox-inner {
    transform: rotateY(180deg);
}

.flipbox-front,
.flipbox-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.flipbox-front {
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.flipbox-front .flipbox-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff8c52 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.flipbox-front .flipbox-icon i {
    font-size: 28px;
    color: var(--white);
}

.flipbox-front h4 {
    font-size: 16px;
    color: var(--primary);
}

.flipbox-back {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.flipbox-back h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 15px;
}

.flipbox-back p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

/* ================================
   TARJETAS DE EXCURSIONES - Nuevo Formato
   ================================ */
.excursions-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-title {
    font-size: clamp(28px, 4vw, 40px);
}

.section-header .section-title span {
    color: var(--accent);
}

.excursions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Tarjeta estilo original: Título > Foto > Descripción > Botón */
.excursion-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.excursion-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Título arriba */
.excursion-card .card-header {
    padding: 20px 20px 15px;
    text-align: center;
}

.excursion-card .card-header h3 {
    font-size: 20px;
    color: var(--accent);
    margin: 0;
}

/* Imagen en medio */
.excursion-card .card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    margin: 0 20px;
    border-radius: var(--radius);
}

.excursion-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.excursion-card:hover .card-image img {
    transform: scale(1.08);
}

/* Descripción y botón abajo */
.excursion-card .card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.excursion-card .card-body p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.excursion-card .card-body .btn {
    align-self: flex-start;
}

/* ================================
   SECCIÓN TRANSPORTE
   ================================ */
.transport-section {
    padding: 100px 0;
    background: var(--white);
}

.transport-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.transport-content h2 {
    font-size: clamp(28px, 4vw, 38px);
    margin-bottom: 20px;
}

.transport-content h2 span {
    color: var(--gray-500);
    font-weight: 400;
}

.transport-content > p {
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.7;
}

.transport-features {
    margin-bottom: 30px;
}

.transport-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--gray-700);
}

.transport-features li i {
    color: var(--accent);
    font-size: 18px;
}

.transport-image {
    position: relative;
}

.transport-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.transport-image .btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

/* ================================
   BANNER DE OFERTAS (Editable desde Admin)
   ================================ */
.offers-banner {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-xl);
    margin: 60px auto;
    max-width: 1200px;
    overflow: hidden;
}

.offers-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.8) 100%
    );
}

.offers-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 40px;
}

.offers-banner h2 {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--accent);
    margin-bottom: 20px;
}

.offers-banner-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.offers-banner-features p {
    font-size: 16px;
    color: var(--gray-700);
}

.offers-banner-features span {
    color: var(--gray-500);
}

/* ================================
   FOOTER - Azul Ultramar
   ================================ */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.7;
}

.footer-tagline {
    font-style: italic;
    color: rgba(255,255,255,0.7);
    margin-top: 15px;
    font-size: 16px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-col ul a::before {
    content: '▸';
    font-size: 10px;
    color: var(--accent);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-contact li::before {
    display: none;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 3px;
    width: 18px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-mascot {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 150px;
    opacity: 0.9;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* ================================
   SECCIÓN: Tu Aliado Perfecto
   ================================ */
.tagline-section {
    padding: 60px 0;
    text-align: center;
    background: var(--white);
}

.tagline-section h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-style: italic;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.tagline-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .flipbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .excursions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .transport-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 20px;
    }
    
    .main-nav.active ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav.active ul li {
        border-bottom: 1px solid var(--gray-200);
    }
    
    .main-nav.active ul a {
        display: block;
        padding: 15px 0;
    }
    
    .logo img {
        height: 50px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .flipbox-grid {
        grid-template-columns: 1fr;
    }
    
    .flipbox {
        height: auto;
    }
    
    .flipbox-inner {
        transform: none !important;
    }
    
    .flipbox-front,
    .flipbox-back {
        position: relative;
        backface-visibility: visible;
        transform: none;
    }
    
    .flipbox-back {
        display: none;
    }
    
    .flipbox:hover .flipbox-back {
        display: flex;
    }
    
    .flipbox:hover .flipbox-front {
        display: none;
    }
    
    .excursions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* ================================
   PAGE HEADER
   ================================ */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    background-size: cover;
    background-position: center;
    margin-top: 89px;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 73, 123, 0.85) 0%,
        rgba(10, 73, 123, 0.6) 100%
    );
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.page-header-content h1 {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--white);
    margin-bottom: 16px;
}

.page-header-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* ================================
   FORMULARIOS
   ================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}



