/* ========================================
   PREMIUM DENTAL TOURISM CSS
   ======================================== */

/* --- Variables & Base --- */
:root {
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
    --card-hover-y: -8px;
    --gold-glow: 0 0 20px rgba(197, 160, 89, 0.3);
}

body {
    background-color: #050505;
    /* Deep black */
    color: #e0e0e0;
}

/* --- Utilities --- */
.text-gold {
    color: var(--color-gold-main);
}

.italic-serif {
    font-family: var(--font-heading);
    font-style: italic;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold-main);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 3rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 1px;
    background: var(--color-gold-main);
}

.section-heading {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.center-text {
    text-align: center;
}

.center-text .section-label {
    padding-left: 0;
    padding-bottom: 0.5rem;
}

.center-text .section-label::before {
    display: none;
}

/* --- Hero Section --- */
.tourism-hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../assets/img/fotosantamarta.jpg') no-repeat center center/cover;
    /* Placeholder for hero */
    background-attachment: fixed;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, #050505 90%);
    z-index: 1;
}

.hero-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 4rem;
}

.hero-badg {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(197, 160, 89, 0.5);
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold-main);
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-glow {
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.4);
}

/* --- Mission Section --- */
.mission-section {
    padding: 10rem 0;
    background-color: #050505;
    position: relative;
    overflow: hidden;
}

/* Subtle glow background */
.mission-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    transform: translate(-30%, -50%);
    pointer-events: none;
    z-index: 0;
}

.mission-wrapper {
    position: relative;
    z-index: 1;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    margin-top: 5rem;
    align-items: center;
}

.mission-lead {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.3;
    padding-left: 2rem;
    border-left: 3px solid var(--color-gold-main);
    font-style: italic;
}

.mission-text-body {
    color: #999;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.mission-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.mission-features li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    color: #eee;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mission-features li:hover {
    background: rgba(197, 160, 89, 0.08);
    border-color: rgba(197, 160, 89, 0.3);
    transform: translateX(10px);
}

/* --- Options Section (Cards) --- */
.options-section {
    padding: 10rem 0;
    position: relative;
    background: #050505;
    overflow: hidden;
    /* Prevent huge text from causing scroll */
}

/* Big typography background effect */
.section-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18vw;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02);
    z-index: 0;
    white-space: nowrap;
    pointer-events: none;
    font-family: var(--font-heading);
    letter-spacing: -5px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 4rem;
    position: relative;
    z-index: 2;
    margin-top: 6rem;
    align-items: center;
    /* Center cards vertically if heights differ */
}

.option-card {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 3rem;
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    height: 100%;
}

.option-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(197, 160, 89, 0.4);
    background: rgba(25, 25, 25, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.option-card.premium {
    background: linear-gradient(160deg, rgba(25, 25, 25, 0.9), rgba(10, 10, 10, 0.95));
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.05);
    transform: scale(1.05);
    /* Make it naturally bigger */
    z-index: 2;
}

.option-card.premium:hover {
    transform: translateY(-15px) scale(1.07);
    box-shadow: 0 30px 60px rgba(197, 160, 89, 0.15);
}

/* Decorative glow for premium card */
.card-bg-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    top: -40%;
    right: -40%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, transparent 60%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.card-number {
    font-size: 5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-heading);
    line-height: 0.8;
    position: absolute;
    top: -2rem;
    left: -1rem;
    z-index: 0;
}

/* Badge styling */
.card-badge {
    background: var(--color-gold-main);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
    border-radius: 0;
    margin-left: auto;
    /* Push to right */
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

.card-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
}

.card-price-tag {
    color: var(--color-gold-main);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.card-price-tag.muted {
    color: #555;
    font-size: 0.9rem;
}

.card-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), transparent);
    margin: 2rem 0;
    width: 100%;
}

.card-features {
    flex-grow: 1;
    margin-bottom: 3rem;
    list-style: none;
    /* remove bullets just in case */
    padding: 0;
}

.card-features li {
    margin-bottom: 1.2rem;
    color: #bbb;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Custom check icon via text color */
.card-features li::before {
    /* If the HTML has a check mark text, we can style it via color on the li if needed, 
       but currently it's hardcoded text "✓". Layout handles gap. */
    content: '';
}

.full-width {
    width: 100%;
    text-align: center;
    padding: 1.5rem;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* --- Specs Section (Custom Grid) --- */
.specs-section {
    padding: 8rem 0 10rem;
    background: #050505;
    position: relative;
}

.specs-grid-container {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 5rem;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.specs-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.specs-row:last-child {
    border-bottom: none;
}

.specs-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.header-row {
    background: rgba(197, 160, 89, 0.05);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--color-gold-main);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.spec-col {
    padding: 2rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #ccc;
}

.col-feature {
    color: #888;
    font-weight: 500;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Premium Column Highlight */
.col-porcelain {
    background: linear-gradient(to bottom, rgba(197, 160, 89, 0.05), transparent);
    color: #fff;
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.col-porcelain::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(197, 160, 89, 0.5), transparent);
    opacity: 0.5;
}

.col-resin {
    color: #777;
}

.price-row {
    background: rgba(197, 160, 89, 0.08);
}

.price-row:hover {
    background: rgba(197, 160, 89, 0.15) !important;
}

.price-highlight {
    color: var(--color-gold-main);
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.price-standard {
    font-size: 1.4rem;
    color: #fff;
    font-family: var(--font-heading);
    opacity: 0.7;
}

/* --- Destination Section --- */
.destination-section {
    padding: 12rem 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.destination-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/img/fotosantamarta2.jpg') no-repeat center center/cover;
    filter: brightness(0.6) contrast(1.1);
    /* Enhance mood */
    z-index: 0;
    animation: slowZoom 20s infinite alternate;
    /* Breathe life into static image */
    transform-origin: center;
}

@keyframes slowZoom {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1.25);
    }
}

.destination-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #050505 90%);
    z-index: 1;
    pointer-events: none;
}

.destination-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    padding: 4rem;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 4px;
    /* Brutalist edge */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.destination-content .section-label {
    display: inline-block;
    color: var(--color-gold-main);
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid var(--color-gold-main);
    padding-bottom: 0.5rem;
}

.destination-content .section-heading {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.destination-desc {
    font-size: 1.3rem;
    color: #ddd;
    font-weight: 300;
    line-height: 1.8;
    max-width: 80%;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- Accommodation (Split) --- */
.accommodation-section {
    padding: 10rem 0;
    background: #050505;
    position: relative;
}

.split-feature {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
    height: 500px;
}

.bento-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.bento-sub-top {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.bento-sub-bottom {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.8);
}

.bento-item:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
    z-index: 1;
}

.split-details {
    padding-left: 2rem;
    flex: 1;
}

.feature-heading {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #444;
    /* GHL part is white/gold */
}

.feature-text {
    color: #888;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feat-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.feat-icon {
    font-size: 1.5rem;
    color: var(--color-gold-main);
}

.feat-info h4 {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.feat-info p {
    font-size: 0.8rem;
    color: #666;
}

/* --- Payment Section --- */
.payment-section {
    padding: 12rem 0;
    position: relative;
    background: radial-gradient(circle at center, #111 0%, #050505 100%);
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    overflow: hidden;
}

/* Background Texture */
.payment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 7rem 0;
    position: relative;
    gap: 3rem;
}

/* Connecting Line with Flow Animation */
.steps-container::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, rgba(197, 160, 89, 0) 0%, rgba(197, 160, 89, 0.4) 50%, rgba(197, 160, 89, 0) 100%);
    background-size: 200% 100%;
    animation: flowLine 3s linear infinite;
    z-index: 0;
}

@keyframes flowLine {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.step-card {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.step-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(197, 160, 89, 0.1);
}

.step-number {
    width: 100px;
    height: 100px;
    background: #080808;
    border: 2px solid var(--color-gold-main);
    color: var(--color-gold-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin: -5rem auto 2rem;
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.15);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.step-card:hover .step-number {
    background: var(--color-gold-main);
    color: #000;
    box-shadow: 0 0 50px rgba(197, 160, 89, 0.6);
    transform: scale(1.1);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.step-card p {
    font-size: 1rem;
    color: #999;
    line-height: 1.7;
}

.step-connector {
    display: none;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 6rem;
    justify-content: center;
}

.pm-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.pm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.pm-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 160, 89, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.pm-card:hover::before {
    opacity: 1;
}

.pm-card h4 {
    color: var(--color-gold-main);
    margin-bottom: 2rem;
    letter-spacing: 3px;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 700;
}

.pm-detail {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-family: monospace;
    letter-spacing: 1px;
}

.pm-sub {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-action {
    text-align: center;
    margin-top: 5rem;
}

.btn-gold-solid {
    position: relative;
    display: inline-block;
    background: var(--gradient-gold);
    color: #000;
    padding: 1.5rem 5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2);
    overflow: hidden;
}

.btn-gold-solid:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.5);
}

/* Shine Effect on Button */
.btn-gold-solid::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.6s;
}

.btn-gold-solid:hover::after {
    transform: rotate(45deg) translate(100%, 100%);
}

/* --- RE-INSERTED FIX FOR SPECS TABLE --- */
.header-row .col-porcelain {
    color: #ffd700 !important;
    background: rgba(197, 160, 89, 0.2);
    border-bottom: 2px solid var(--color-gold-main);
    font-weight: 800;
    position: relative;
    z-index: 100;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.header-row .col-porcelain::after {
    display: none;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero-title {
        font-size: 3rem;
    }

    .mission-grid,
    .split-feature,
    .steps-container {
        flex-direction: column;
        gap: 3rem;
    }

    .specs-grid-container {
        overflow-x: auto;
    }

    .specs-row {
        min-width: 600px;
    }

    .step-connector {
        display: none;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .option-card {
        padding: 2rem;
    }
}