/* ======= PALETA & BASE ======= */
:root {
    --bg-dark: #050608;
    --bg-dark-soft: #0b0d11;
    --bg-light: #f5f5f5;
    --gold: #f5c466;
    --gold-soft: rgba(245,196,102,0.2);
    --gold-strong: #ffcf59;
    --white: #ffffff;
    --text-main: #e6e6e6;
    --text-muted: #9a9a9a;
    --accent: #00c1ff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #151828 0, #020309 55%);
    color: var(--text-main);
    line-height: 1.5;
    scroll-behavior: smooth;
}

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

/* ======= HEADER ======= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: .6rem 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: linear-gradient(90deg, rgba(5,6,8,0.98), rgba(5,6,8,0.85));
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.logo-img {
    height: 44px;
    width: auto;
    border-radius: 50%;
    background: radial-gradient(circle at top, var(--gold-soft), transparent 60%);
    padding: 3px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-weight: 700;
    letter-spacing: .12em;
    font-size: .85rem;
}

.logo-sub {
    font-size: .7rem;
    color: var(--text-muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    font-size: .9rem;
}

.main-nav a {
    position: relative;
    padding-bottom: 2px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width .25s ease;
}

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

.btn-nav {
    padding: .4rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--gold-strong));
    color: #1a1207;
    font-weight: 600;
    box-shadow: 0 0 18px rgba(245,196,102,0.45);
}

/* ======= SECCIONES GENERALES ======= */
.section {
    padding: 6.2rem 6% 4rem;
}

.section-dark {
    background: radial-gradient(circle at top, #191b24 0, #050608 52%);
}

.section-light {
    background: var(--bg-light);
    color: #111;
}

.section-gold {
    position: relative;
    background: url("https://images.pexels.com/photos/1007836/pexels-photo-1007836.jpeg?auto=compress&cs=tinysrgb&w=1600") center/cover no-repeat fixed;
    color: var(--white);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: .5rem;
}

.section-header p {
    font-size: .96rem;
    color: var(--text-muted);
}

.section-light .section-header p {
    color: #555;
}

.gold, .gold-text {
    color: var(--gold);
}

/* overlays */
.overlay-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(245,196,102,0.25), transparent 55%),
                linear-gradient(180deg, rgba(0,0,0,0.62), #010208 80%);
    z-index: 0;
}

.overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.6), #020309 90%);
    z-index: 0;
}

/* ======= HERO ======= */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(0,193,255,0.25), transparent 60%),
        radial-gradient(circle at 100% 0%, rgba(245,196,102,0.35), transparent 60%);
    mix-blend-mode: screen;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.5rem;
    width: 100%;
    max-width: 1150px;
}

.hero-content {
    max-width: 620px;
}

.hero-tagline {
    font-size: .85rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .7rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.3rem);
    line-height: 1.1;
    margin-bottom: .9rem;
}

.hero-text {
    font-size: .98rem;
    color: var(--text-muted);
    margin-bottom: 1.4rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-bottom: 1.3rem;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-strong));
    color: #1a1207;
    padding: .7rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .92rem;
    box-shadow: 0 0 22px rgba(245,196,102,0.45);
    border: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 32px rgba(245,196,102,0.65);
    filter: brightness(1.03);
}

.btn-primary.small {
    padding: .45rem 1rem;
    font-size: .85rem;
    box-shadow: 0 0 14px rgba(245,196,102,0.4);
}

.btn-ghost {
    padding: .7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main);
    font-size: .9rem;
    transition: background .2s ease, border-color .2s ease;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .78rem;
    color: var(--text-muted);
}

.hero-badges span {
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    padding: .25rem .7rem;
    background: rgba(0,0,0,0.4);
}

.hero-side {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    max-width: 360px;
}

.hero-card h3 {
    font-size: 1rem;
    margin-bottom: .3rem;
}

.hero-tour-name {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: .35rem;
}

.hero-price {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.hero-price span {
    font-size: .9rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-right: .35rem;
}

.hero-small {
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: .7rem;
}

.hero-list {
    list-style: none;
    font-size: .85rem;
    margin-bottom: .9rem;
}

.hero-list li {
    margin-bottom: .25rem;
}

/* glass effect */
.glass {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border-radius: 1.1rem;
    padding: 1.1rem 1.3rem;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}

/* ======= ABOUT ======= */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.section-light .about-grid {
    color: #111;
}

.about-text p + p {
    margin-top: .8rem;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
    font-size: .8rem;
}

.about-tags span {
    border-radius: 999px;
    padding: .25rem .8rem;
    border: 1px solid rgba(0,0,0,0.07);
    background: #fff;
}

.highlight-card {
    text-align: center;
    padding: 1.3rem 1rem;
    margin-bottom: 1rem;
}

.highlight-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

.highlight-label {
    font-size: .82rem;
    color: var(--text-muted);
}

/* ======= TOURS ======= */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 1.7rem;
}

.tour-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transform: translateY(0);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tour-card.featured {
    border: 1px solid rgba(245,196,102,0.6);
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(0,0,0,0.85);
    border-color: rgba(245,196,102,0.7);
}

.tour-img {
    height: 190px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tour-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.7));
}

.tour-body {
    padding: 1.1rem 1.2rem 1.3rem;
    position: relative;
}

.tour-tag {
    font-size: .7rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
}

.tour-body h3 {
    margin-top: .35rem;
    margin-bottom: .25rem;
    font-size: 1.05rem;
}

.tour-price {
    font-size: .9rem;
    color: var(--gold);
    margin-bottom: .6rem;
}

.tour-text {
    font-size: .88rem;
    color: var(--text-muted);
    margin-bottom: .7rem;
}

.tour-meta {
    list-style: none;
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: .8rem;
}

.tour-meta li + li {
    margin-top: .2rem;
}

/* ======= BALLENAS ======= */
.section-gold .section-header p {
    color: rgba(255,255,255,0.75);
}

.ballenas-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.3rem;
    max-width: 1050px;
    margin: 0 auto;
}

.ballena-text {
    font-size: .92rem;
}

.ballena-text p {
    margin-bottom: .7rem;
}

.ballena-text ul {
    list-style: disc;
    padding-left: 1.2rem;
    font-size: .86rem;
}

.fact-card {
    margin-bottom: 1rem;
}

.fact-title {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold);
}

.fact-value {
    font-size: 1rem;
}

/* ======= GALERÍA ======= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    grid-auto-rows: 130px;
    gap: .8rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: .9rem;
    position: relative;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform .5s ease;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4), transparent);
    opacity: 0;
    transition: opacity .3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-note {
    margin-top: 1.5rem;
    text-align: center;
    font-size: .85rem;
    color: #666;
}

/* ======= BOOKING ======= */
.booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.3rem;
}

.booking-form {
    padding: 1.4rem 1.5rem 1.6rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1rem;
}

.form-group {
    margin-bottom: .8rem;
}

label {
    display: block;
    font-size: .8rem;
    margin-bottom: .2rem;
    color: var(--text-muted);
}

input, select, textarea {
    width: 100%;
    padding: .45rem .6rem;
    border-radius: .6rem;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.55);
    color: var(--text-main);
    font-size: .85rem;
}

textarea {
    min-height: 80px;
    resize: vertical;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 1px rgba(245,196,102,0.5);
}

.form-success {
    margin-top: .9rem;
    padding: .7rem .8rem;
    border-radius: .6rem;
    background: rgba(40,167,69,0.09);
    border: 1px solid rgba(40,167,69,0.6);
    font-size: .85rem;
}

.booking-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    padding: 1.1rem 1.2rem;
}

.info-card h3 {
    margin-bottom: .4rem;
    font-size: 1rem;
}

.info-card ul {
    list-style: disc;
    padding-left: 1.1rem;
    font-size: .84rem;
    color: var(--text-muted);
}

.info-card ul li + li {
    margin-top: .2rem;
}

/* ======= CONTACTO ======= */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    padding: 1.1rem 1.2rem;
    text-align: center;
}

.contact-item h3 {
    margin-bottom: .3rem;
}

.section-light .contact-item {
    background: #fff;
    border: 1px solid #e1e1e1;
    box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

/* ======= FOOTER ======= */
.main-footer {
    background: #050608;
    padding: 1.3rem 6% 1.3rem;
    text-align: center;
    font-size: .78rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-small {
    margin-top: .2rem;
}

/* ======= WHATSAPP FLOAT ======= */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1200;
}

.wa-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at top, #25D366, #148944);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);
    animation: float 3s ease-in-out infinite;
}

.wa-circle svg {
    width: 26px;
    height: 26px;
    fill: #ffffff;
}

/* ======= ANIMACIONES SCROLL ======= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: .15s;
}

.delay-2 {
    transition-delay: .3s;
}

/* ======= PARALLAX ======= */
.parallax {
    background-position: center center;
    background-attachment: fixed;
}

.section-gold.parallax {
    background-attachment: fixed;
}

/* ======= KEYFRAMES ======= */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ======= RESPONSIVE ======= */
@media (max-width: 980px) {
    .hero-inner,
    .about-grid,
    .ballenas-grid,
    .booking-grid {
        grid-template-columns: 1fr;
    }
    .hero-side {
        justify-content: flex-start;
    }
}

@media (max-width: 850px) {
    .main-header {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
        padding-bottom: .7rem;
    }
    .main-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: .8rem;
        font-size: .83rem;
    }
    .section {
        padding-left: 5%;
        padding-right: 5%;
    }
    .gallery-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 600px) {
    .section {
        padding-top: 5.5rem;
        padding-bottom: 3.2rem;
    }
    .hero {
        padding-top: 6.5rem;
    }
    .hero-inner {
        gap: 1.6rem;
    }
    .hero-card {
        max-width: 100%;
    }
    .gallery-grid {
        grid-template-columns: minmax(0,1fr);
        grid-auto-rows: 160px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}
