/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-darker: #00040a;      /* Midnight Blue, darkened */
    --bg-dark: #011021;        /* Deep Blue, darkened */
    --border-blue: #26658C;    /* Medium Slate Blue */
    --accent-teal: #54ACBF;    /* Cyan/Teal */
    --accent-light: #A7EBF2;   /* Light Aqua */
    --text-light: #F5F9FC;     /* Soft White */
    --text-muted: #A7C2D4;     /* Blue-Gray */
    --white: #ffffff;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-teal) 100%);
    --gradient-text: linear-gradient(90deg, var(--text-light) 0%, var(--accent-light) 100%);
    --gradient-card: linear-gradient(145deg, rgba(1, 16, 33, 0.9) 0%, rgba(0, 4, 10, 0.8) 100%);
    --glass-bg: rgba(1, 16, 33, 0.4);
    --glass-border: rgba(38, 101, 140, 0.4);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadow and Transitions */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(167, 235, 242, 0.2);
    --shadow-glow-hover: 0 0 30px rgba(167, 235, 242, 0.4);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-lg: 16px;
    --border-radius-md: 8px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-darker);
    color: var(--text-light);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-darker);
}

body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(84, 172, 191, 0.08) 0%, rgba(0,0,0,0) 70%);
    top: -10%;
    right: -10%;
    z-index: -1;
}

body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(167, 235, 242, 0.05) 0%, rgba(0,0,0,0) 70%);
    bottom: 20%;
    left: -10%;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

/* Common container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}

/* ==========================================================================
   BUTTONS & ACCENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--bg-darker);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-hover);
    filter: brightness(1.05);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-light);
    border: 1px solid var(--border-blue);
}

.btn-secondary:hover {
    background: rgba(84, 172, 191, 0.1);
    border-color: var(--accent-teal);
    transform: translateY(-2px);
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-teal);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 50px;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 14px 0;
    background: rgba(1, 28, 64, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-light);
}

.logo span {
    color: var(--accent-light);
}

.logo i {
    font-size: 1.8rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-light);
}

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

.header-cta {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--text-light);
}

/* ==========================================================================
   HERO / HOME SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 10% 30%, rgba(2, 56, 89, 0.4) 0%, rgba(1, 28, 64, 0.8) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-badge {
    background: rgba(84, 172, 191, 0.1);
    border: 1px solid var(--border-blue);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    width: fit-content;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-badge i {
    font-size: 1rem;
    color: var(--accent-teal);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-title span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 36px;
    max-width: 540px;
}

/* Fast Search Bar */
.search-bar {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 8px 8px 8px 24px;
    display: flex;
    align-items: center;
    max-width: 500px;
    margin-bottom: 48px;
    box-shadow: var(--shadow-soft);
}

.search-bar i {
    font-size: 1.3rem;
    color: var(--accent-teal);
    margin-right: 12px;
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-light);
    font-size: 0.95rem;
    flex-grow: 1;
    font-family: var(--font-body);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-count {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Image Arch */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arch-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: 480px;
    background: linear-gradient(180deg, var(--accent-teal) 0%, var(--bg-dark) 100%);
    padding: 10px;
    border-radius: 190px 190px 20px 20px; /* Arch shape */
    box-shadow: var(--shadow-soft), 0 0 40px rgba(84, 172, 191, 0.1);
}

.arch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 180px 180px 15px 15px; /* Inner arch */
}

/* Play Overlay Button */
.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(2, 56, 89, 0.85);
    border: 2px solid var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-light);
    box-shadow: var(--shadow-soft), 0 0 20px rgba(167, 235, 242, 0.3);
    z-index: 10;
}

.play-btn-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent-light);
    color: var(--bg-darker);
    box-shadow: 0 0 30px rgba(167, 235, 242, 0.6);
}

.play-btn-overlay::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid rgba(167, 235, 242, 0.5);
    border-radius: 50%;
    animation: ripple 1.8s infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* ==========================================================================
   CLIENTS / PARTNERS
   ========================================================================== */
.partners {
    padding: 50px 0;
    background: var(--bg-darker);
    border-top: 1px solid rgba(38, 101, 140, 0.2);
    border-bottom: 1px solid rgba(38, 101, 140, 0.2);
}

.partners-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.partner-logo i {
    font-size: 1.4rem;
}

.partner-logo:hover {
    opacity: 1;
    color: var(--accent-light);
    transform: scale(1.05);
}

/* ==========================================================================
   PRODUCTOS / GALLERY
   ========================================================================== */
.productos {
    background: var(--bg-darker);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    border: 1px solid var(--border-blue);
    background: transparent;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-accent);
    color: var(--bg-darker);
    border-color: var(--accent-light);
    box-shadow: var(--shadow-glow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.tour-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.tour-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-soft), 0 5px 25px rgba(84, 172, 191, 0.15);
}

.card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.tour-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.tour-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(1, 28, 64, 0.85);
    border: 1px solid var(--accent-teal);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.card-btn-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(1, 28, 64, 0.9) 0%, rgba(1, 28, 64, 0) 100%);
    padding: 16px;
    display: flex;
    justify-content: center;
    transition: var(--transition-smooth);
}

.tour-card:hover .card-btn-overlay {
    bottom: 0;
}

.card-content {
    padding: 24px;
}

.tour-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.tour-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.tour-location i {
    color: var(--accent-teal);
    font-size: 1rem;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(38, 101, 140, 0.2);
    padding-top: 16px;
}

.tour-action-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.tour-action-link:hover {
    color: var(--accent-teal);
}

.tour-action-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.tour-action-link:hover i {
    transform: translateX(4px);
}

.tour-spec {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(38, 101, 140, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
}

/* ==========================================================================
   PAQUETES / PRICING
   ========================================================================== */
.paquetes {
    background: radial-gradient(circle at 90% 50%, rgba(2, 56, 89, 0.3) 0%, rgba(1, 28, 64, 0.8) 100%);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
    align-items: stretch;
}

.package-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.package-card.recommended {
    border: 2px solid var(--accent-teal);
    transform: scale(1.03);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.package-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-light);
}

.package-card.recommended:hover {
    transform: scale(1.03) translateY(-8px);
}

.popular-ribbon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-accent);
    color: var(--bg-darker);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.package-type {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.package-price {
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
}

.package-price .price {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-light);
}

.package-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-right: 4px;
}

.package-price .period {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 8px;
}

.package-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    min-height: 48px;
}

.package-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.package-features li i {
    font-size: 1.2rem;
    color: var(--accent-teal);
}

.package-features li.disabled {
    color: rgba(167, 194, 212, 0.4);
}

.package-features li.disabled i {
    color: rgba(38, 101, 140, 0.4);
}

.package-card .btn {
    width: 100%;
}

/* Comparison Table Stylized */
.comparison-table-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow-x: auto;
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

.comparison-table-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th, 
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(38, 101, 140, 0.2);
}

.comparison-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-light);
    font-size: 1.05rem;
}

.comparison-table td {
    font-size: 0.95rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td i {
    font-size: 1.2rem;
}

.comparison-table td i.bx-check {
    color: var(--accent-teal);
}

.comparison-table td i.bx-x {
    color: rgba(167, 194, 212, 0.3);
}

/* ==========================================================================
   QUIÉNES SOMOS / ABOUT US / VALUES
   ========================================================================== */
.about {
    background: var(--bg-darker);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

/* Circular/rounded Arch for About section */
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-rounded-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 420px;
    background: linear-gradient(180deg, var(--accent-teal) 0%, var(--bg-dark) 100%);
    padding: 8px;
    border-radius: 100px 100px 100px 100px; /* Fully rounded capsule/pill or high rounded border */
    box-shadow: var(--shadow-soft), 0 0 30px rgba(84, 172, 191, 0.08);
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 92px;
}

/* Accordion Styling */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.accordion-item.active {
    border-color: var(--accent-teal);
    box-shadow: 0 4px 20px rgba(84, 172, 191, 0.1);
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: transparent;
    color: var(--text-light);
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    font-weight: 600;
}

.accordion-title i {
    font-size: 1.4rem;
    color: var(--accent-teal);
    background: rgba(84, 172, 191, 0.1);
    padding: 8px;
    border-radius: 50%;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--accent-light);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding: 0 24px 20px 64px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   CONTÁCTANOS / CONTACT
   ========================================================================== */
.contacto {
    background: radial-gradient(circle at 10% 50%, rgba(2, 56, 89, 0.3) 0%, rgba(1, 28, 64, 0.8) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.info-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-card i {
    font-size: 1.6rem;
    color: var(--accent-teal);
    background: rgba(84, 172, 191, 0.1);
    padding: 12px;
    border-radius: 50%;
}

.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(1, 28, 64, 0.6);
    border: 1px solid var(--border-blue);
    padding: 14px 20px;
    border-radius: var(--border-radius-md);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 10px rgba(84, 172, 191, 0.15);
    background: rgba(1, 28, 64, 0.85);
}

.form-group textarea {
    resize: none;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* ==========================================================================
   PRIVACY POLICY PAGE (privacidad.html)
   ========================================================================== */
.privacy-page {
    padding-top: 140px;
    padding-bottom: 100px;
    min-height: 80vh;
}

.privacy-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-soft);
}

.privacy-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--accent-light);
    border-bottom: 1px solid rgba(38, 101, 140, 0.2);
    padding-bottom: 16px;
}

.privacy-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.privacy-body h3 {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--accent-teal);
}

.privacy-body p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.privacy-body ul {
    margin-left: 24px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.privacy-body ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(38, 101, 140, 0.2);
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-light);
    font-family: var(--font-heading);
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 16px;
    margin-bottom: 20px;
    max-width: 280px;
}

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

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(38, 101, 140, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--gradient-accent);
    color: var(--bg-darker);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-newsletter p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    background: rgba(1, 28, 64, 0.6);
    border: 1px solid var(--border-blue);
    padding: 12px 16px;
    border-radius: 30px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    flex-grow: 1;
}

.newsletter-form input:focus {
    border-color: var(--accent-teal);
}

.newsletter-form button {
    width: 44px;
    height: 44px;
    background: var(--gradient-accent);
    color: var(--bg-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-glow);
}

.newsletter-form button:hover {
    box-shadow: var(--shadow-glow-hover);
    transform: scale(1.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(38, 101, 140, 0.2);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--accent-light);
}

/* ==========================================================================
   FLOATING BUTTON (Back To Top)
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--gradient-accent);
    color: var(--bg-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft), var(--shadow-glow-hover);
    filter: brightness(1.1);
}

/* ==========================================================================
   360 INTERACTIVE MODAL (LIGHTBOX)
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(1, 28, 64, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--gradient-card);
    border: 1px solid var(--border-blue);
    width: 90%;
    max-width: 950px;
    height: 80vh;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

.modal.active .modal-container {
    transform: scale(1);
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(38, 101, 140, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.3rem;
    color: var(--accent-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close {
    font-size: 1.8rem;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--accent-light);
}

.modal-body {
    flex-grow: 1;
    position: relative;
    background: var(--bg-darker);
    overflow: hidden;
}

.modal-frame-container {
    width: 100%;
    height: 100%;
}

/* Modal Internal Elements */
.modal-loader {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(84, 172, 191, 0.1);
    border-top: 3px solid var(--accent-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-loader p {
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Panorama Viewer Engine (Simulated 360) */
.panorama-viewer {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: pan-tour 45s linear infinite alternate;
    position: relative;
}

@keyframes pan-tour {
    0% { background-position: 0% center; }
    100% { background-position: 100% center; }
}

.panorama-tip {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(1, 28, 64, 0.8);
    border: 1px solid var(--border-blue);
    backdrop-filter: blur(4px);
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--accent-light);
    pointer-events: none;
    box-shadow: var(--shadow-soft);
}

.panorama-tip i {
    font-size: 1.1rem;
    animation: bounce-x 1.5s infinite;
}

@keyframes bounce-x {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

/* Hotspots in panorama */
.tour-hotspot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: rgba(167, 235, 242, 0.4);
    border: 2px solid var(--accent-light);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(167, 235, 242, 0.6);
    z-index: 10;
    transition: var(--transition-smooth);
}

.tour-hotspot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--accent-light);
    border-radius: 50%;
}

.tour-hotspot:hover {
    transform: scale(1.2);
    background: rgba(167, 235, 242, 0.7);
    box-shadow: 0 0 20px rgba(167, 235, 242, 0.9);
}

.hotspot-tooltip {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(1, 28, 64, 0.9);
    border: 1px solid var(--accent-teal);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.tour-hotspot:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-grid {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .about-grid,
    .contact-grid {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(1, 28, 64, 0.95);
        backdrop-filter: blur(15px);
        border-left: 1px solid var(--border-blue);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 50px 40px;
        gap: 30px;
        z-index: 1000;
        transition: var(--transition-smooth);
    }
    
    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }
    
    .header-cta {
        display: none; /* Hide CTA in mobile for cleaner header, or move inside menu */
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-badge,
    .search-bar {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-visual {
        order: 2; /* Put visual below the accordion on mobile */
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 12px;
        gap: 12px;
    }
    
    .search-bar input {
        width: 100%;
        text-align: center;
    }
    
    .search-bar .btn {
        width: 100%;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .comparison-table-wrapper {
        padding: 15px;
    }
    
    .privacy-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   NUEVAS TARIFAS, FORMULARIO Y BANNERS (AGREGADOS)
   ========================================================================== */

/* Grid de Checkboxes para el Cotizador */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-teal);
    cursor: pointer;
    background: rgba(1, 28, 64, 0.6);
    border: 1px solid var(--border-blue);
    border-radius: 4px;
}

.checkbox-item:hover {
    color: var(--text-light);
}

/* Banner Informativo de Hospedaje (Alojamiento) */
.hosting-info-banner {
    background: rgba(84, 172, 191, 0.08);
    border: 1px solid rgba(84, 172, 191, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 24px 30px;
    margin-top: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-soft);
}

.hosting-info-banner p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.hosting-info-banner p strong {
    color: var(--accent-light);
}

/* Banner de Promoción Especial Inmobiliarias */
.realtor-promo-banner {
    background: linear-gradient(135deg, rgba(84, 172, 191, 0.15) 0%, rgba(2, 56, 89, 0.3) 100%);
    border: 2px dashed var(--accent-teal);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    margin-top: 40px;
    text-align: center;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-smooth);
}

.realtor-promo-banner:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow-glow-hover);
}

.realtor-promo-banner h3 {
    font-size: 1.6rem;
    color: var(--accent-light);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.realtor-promo-banner p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto 24px auto;
    line-height: 1.6;
}

.realtor-promo-banner p strong {
    color: var(--accent-light);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366; /* WhatsApp Green */
    color: var(--white);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    background: #20ba59;
    color: var(--white);
}

.whatsapp-btn i {
    font-size: 1.4rem;
}

/* Botón de WhatsApp genérico para sección de contacto */
.whatsapp-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 5px;
    transition: var(--transition-smooth);
}

.whatsapp-contact-btn:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

/* Grid de dos columnas para tarifas */
.pricing-groups-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .pricing-groups-container {
        grid-template-columns: 1fr;
    }
}
