:root {
    --brand-primary: #f4b63a;
    --brand-secondary: #0e2f4b;
    --brand-accent: #007f5f;
    --brand-light: #f6f8fb;
    --brand-dark: #1c1f24;
    --text-muted: #6f7c88;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --radius-card: 22px;
    --shadow-soft: 0 20px 45px rgba(15, 30, 45, 0.12);
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--brand-dark);
    background-color: #fff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    border-radius: calc(var(--radius-card) - 6px);
}

.container {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 0 1.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.85rem 1.9rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: none;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    background: var(--brand-primary);
    color: var(--brand-dark);
    box-shadow: var(--shadow-soft);
}

.button--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    padding: 0.85rem 1.75rem;
}

.button--whatsapp {
    background: var(--brand-accent);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.button--full {
    width: 100%;
}

.topbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(12, 28, 45, 0.08);
    z-index: 20;
}

.topbar__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.topbar__brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
}

.topbar__nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar__link {
    font-weight: 600;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.topbar__link:hover {
    background: rgba(14, 47, 75, 0.08);
}

.hero {
    background: linear-gradient(135deg, #0b1f3a 0%, #174a8c 60%, #0b1f3a 100%);
    color: #fff;
    padding: 5rem 0 4.5rem;
}

.hero__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
}

.hero__kicker {
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.68);
}

.hero__text h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 3.2vw + 1.4rem, 3.8rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

.hero__text p {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.5rem;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.hero__availability {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.97rem;
}

.hero__image {
    text-align: center;
}

.hero__image img {
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero__image figcaption {
    margin-top: 0.85rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.section {
    padding: 4.75rem 0;
}

.section--light {
    background: var(--brand-light);
}

.section--accent {
    background: linear-gradient(115deg, #0b1f3a 0%, #0e2f4b 55%, #174a8c 100%);
    color: #fff;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 1.6vw + 1.6rem, 2.7rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section__title--light {
    color: #fff;
}

.section__subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.services-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 2.1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(12, 28, 45, 0.08);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.service-card li {
    position: relative;
    padding-left: 1.4rem;
}

.service-card li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--brand-primary);
}

.highlight {
    background: linear-gradient(135deg, #f4b63a 0%, #fdce77 100%);
    color: #1f2a3d;
}

.highlight__content {
    display: grid;
    gap: 1.5rem;
    max-width: 780px;
    text-align: center;
}

.highlight p {
    font-size: 1.15rem;
    color: #2f3848;
}

.experience-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.grid {
    display: grid;
    gap: 1.75rem;
}

.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .button {
        min-height: 44px; /* iOS recommended touch target */
    }

    .topbar__link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.experience-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 2.2rem;
    border: 1px solid rgba(12, 28, 45, 0.08);
    box-shadow: 0 12px 30px rgba(9, 24, 38, 0.08);
}

.experience-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.experience-card ul {
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.experience-card li {
    color: var(--text-muted);
}

.experience-card strong {
    color: var(--brand-dark);
}

.testimonials {
    text-align: center;
}

.testimonial {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 2.4rem;
    border-left: 6px solid var(--brand-primary);
    box-shadow: var(--shadow-soft);
    font-style: italic;
}

.testimonial cite {
    display: block;
    margin-top: 1.2rem;
    font-weight: 600;
    font-style: normal;
    color: var(--brand-secondary);
}

.contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.75rem;
    align-items: start;
}

.contact__info p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.contact__list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.contact__list a {
    color: #ffd88a;
    font-weight: 600;
}

.contact__form {
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-card);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 0.85rem;
}

.contact__form h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
}

.contact__form label {
    font-weight: 600;
    color: var(--brand-dark);
}

.field-hint {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact__form input,
.contact__form textarea,
.contact__form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(12, 28, 45, 0.18);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact__form input:focus,
.contact__form textarea:focus,
.contact__form select:focus {
    border-color: var(--brand-secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 60, 110, 0.2);
}

.contact__disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    text-align: center;
}

.footer {
    background: #071324;
    color: rgba(255, 255, 255, 0.82);
    padding-top: 3.5rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.2rem;
    padding-bottom: 2.2rem;
}

.footer__social {
    display: grid;
    gap: 0.65rem;
}

.footer__social a {
    color: #ffd88a;
    font-weight: 600;
}

.footer__legal {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 1.4rem 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.62);
}

/* Gallery Section */
.gallery-section {
    background: #fff;
}

.gallery-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(15, 30, 45, 0.18);
}

.gallery-item--featured {
    grid-column: span 1;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.gallery-item figcaption {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    color: var(--brand-dark);
    text-align: center;
}

/* Tour Packages */
.tour-packages {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.tour-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 2px solid rgba(12, 28, 45, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 30, 45, 0.15);
    border-color: var(--brand-primary);
}

.tour-card--premium {
    border-color: var(--brand-primary);
    border-width: 3px;
}

.tour-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--brand-primary), #fdce77);
    color: var(--brand-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(244, 182, 58, 0.4);
}

.tour-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--brand-secondary);
}

.tour-duration {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--brand-light);
}

.tour-highlights {
    list-style: none;
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tour-highlights li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.tour-highlights li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--brand-accent);
    font-weight: bold;
    font-size: 1.1rem;
}

.tour-highlights strong {
    color: var(--brand-dark);
}

.tour-price {
    background: linear-gradient(135deg, var(--brand-secondary), #174a8c);
    color: #fff;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: auto;
}

/* Benefits Grid */
.benefits-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--brand-dark);
}

.benefit-item p {
    color: #2f3848;
    font-size: 0.95rem;
    line-height: 1.5;
}

.thanks {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(14, 47, 75, 0.95), rgba(0, 127, 95, 0.92)), url('losette-hero.png') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

.thanks__container {
    max-width: 520px;
    padding: 3rem;
    border-radius: var(--radius-card);
    background: rgba(7, 19, 36, 0.82);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1.4rem;
}

.thanks__container h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.6rem);
    color: var(--brand-primary);
}

.thanks__container p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}

.thanks__container .button {
    justify-self: center;
    padding-inline: 2.6rem;
}

/* Mobile Bottom Navigation (App-like) */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(12, 28, 45, 0.1);
    padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-bottom-nav .nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background: none;
    border: none;
    padding: 0.5rem 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-muted);
}

.mobile-bottom-nav .nav-tab.active {
    color: var(--brand-primary);
}

.mobile-bottom-nav .nav-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.mobile-bottom-nav .nav-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content {
    min-height: 100vh;
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 30;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--brand-dark);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Tablet and below */
@media (max-width: 840px) {
    .mobile-bottom-nav {
        display: flex;
    }

    .main-content {
        padding-bottom: 80px; /* Space for bottom nav */
    }

    .footer {
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
    }

    .mobile-menu-toggle {
        display: block;
    }

    .topbar__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 25;
    }

    .topbar__nav.active {
        right: 0;
    }

    .topbar__link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .topbar__nav .button {
        width: 100%;
    }

    .hero__content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .services-grid,
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .contact {
        grid-template-columns: 1fr;
    }

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-item--featured {
        grid-column: span 1;
    }

    .tour-packages {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Hide desktop navigation on mobile when using tabs */
    .topbar__nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile phones */
@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }

    .topbar__brand {
        font-size: 1.1rem;
    }

    .topbar__content {
        padding: 0.75rem 0;
    }

    .hero {
        padding: 3rem 0 2.5rem;
    }

    .hero__text h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero__kicker {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .hero__text p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .hero__cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero__cta .button {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .hero__availability {
        font-size: 0.9rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section__title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .section__subtitle {
        font-size: 0.95rem;
    }

    .services-grid,
    .experience-grid {
        margin-top: 1.5rem;
        gap: 1.25rem;
    }

    .service-card,
    .experience-card {
        padding: 1.5rem;
    }

    .service-card h3,
    .experience-card h3 {
        font-size: 1.15rem;
    }

    .testimonial {
        padding: 1.5rem;
    }

    .contact__form {
        padding: 1.5rem;
    }

    .contact__form h3 {
        font-size: 1.25rem;
    }

    .gallery-item img {
        height: 240px;
        object-position: center 30%; /* Show more of top to include heads */
    }

    .tour-card {
        padding: 1.5rem;
    }

    .tour-card h3 {
        font-size: 1.2rem;
    }

    .tour-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .benefit-icon {
        font-size: 2.5rem;
    }

    .benefit-item {
        padding: 1rem;
    }

    .contact__form input,
    .contact__form textarea,
    .contact__form select {
        padding: 0.75rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .footer {
        padding-top: 2.5rem;
    }

    .footer__content {
        gap: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .footer__legal {
        padding: 1rem 0;
        font-size: 0.85rem;
    }
}

/* Small mobile phones */
@media (max-width: 380px) {
    .topbar__brand {
        font-size: 1rem;
    }

    .hero__text h1 {
        font-size: 1.75rem;
    }

    .button {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .service-card,
    .experience-card,
    .testimonial {
        padding: 1.25rem;
    }

    .contact__form {
        padding: 1.25rem;
    }

    .gallery-item img {
        height: 220px;
        object-position: center 30%;
    }

    .tour-card {
        padding: 1.25rem;
    }

    .tour-badge {
        top: -10px;
        right: 15px;
        font-size: 0.7rem;
        padding: 0.35rem 0.85rem;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
    }

    .section {
        padding: 2.5rem 0;
    }

    .topbar__nav {
        padding: 4rem 1.5rem 1.5rem;
        overflow-y: auto;
    }
}
