:root {
    --bg: #0a1517;
    --panel: #0e1d20;
    --panel-strong: #0b2929;
    --text: #eaf5ee;
    --muted: #b5c7c0;
    --accent: #3aa0ff;
    --accent-2: #1f6bdc;
    --line: rgba(255, 255, 255, 0.08);
    --shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    --radius: 18px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(58, 160, 255, 0.08), transparent 25%),
                radial-gradient(circle at 80% 0%, rgba(58, 160, 255, 0.05), transparent 28%),
                #051112;
    color: var(--text);
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', 'Georgia', serif;
    color: #f8fff9;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

p {
    margin: 0 0 1rem 0;
    color: var(--muted);
}

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

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

.container {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(5, 17, 18, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    z-index: 20;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
}

.topbar__phone {
    color: #3aa0ff;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border: 1px solid var(--line);
    padding: 0.55rem 0.8rem;
    border-radius: 12px;
    background: rgba(58, 160, 255, 0.12);
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.topbar__phone:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.brand__mark {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.brand__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand__kicker {
    font-size: 0.75rem;
    color: var(--muted);
}

.brand__name {
    font-weight: 800;
    font-size: 1rem;
    color: #f1fff6;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links a {
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    transition: color 0.2s ease, background-color 0.2s ease;
    font-weight: 600;
}

.nav-links a:hover {
    background: rgba(58, 160, 255, 0.16);
    color: #ffffff;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    color: inherit;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-direction: column;
}

.nav-toggle span {
    display: block;
    width: 60%;
    height: 2px;
    background: #ffffff;
    border-radius: 12px;
}

.alert-ribbon {
    background: linear-gradient(90deg, #1d1f3a, #0c2e2b);
    color: #f7f5ff;
    border-bottom: 1px solid var(--line);
}

.alert-ribbon__inner {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.alert-ribbon__tag {
    background: #4b8cff;
    color: #0a0a10;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.alert-ribbon__text {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.alert-ribbon__cta {
    background: #3aa0ff;
    color: #041b2b;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.promo-banner {
    background: linear-gradient(120deg, rgba(58, 160, 255, 0.18), rgba(11, 41, 41, 0.9));
    border-block: 1px solid var(--line);
    padding: 2rem 0;
}

.promo-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.promo-banner h3 {
    margin: 0.2rem 0 0.6rem 0;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.step-media img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: 100%;
    min-height: 220px;
}

.step-content h3 {
    margin-top: 0.2rem;
}

.hero {
    position: relative;
    padding: 7rem 0 5.5rem 0;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(120deg, rgba(5, 17, 18, 0.75), rgba(5, 17, 18, 0.55)),
                      url("images/HocesDuraton1-large.jpg");
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.85;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero__copy h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.lead {
    font-size: 1.05rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.25rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--panel);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: none;
    color: #022016;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.08);
}

.btn--small {
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.65rem;
    background: rgba(58, 160, 255, 0.18);
    color: #e7fff4;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
}

.hero__badges {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.hero__card {
    background: rgba(5, 17, 18, 0.85);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero__card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.hero__card-content {
    padding: 1.6rem;
}

.hero__quicklinks {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-weight: 700;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--accent);
    margin: 0 0 0.65rem 0;
}

.section {
    padding: 4.5rem 0;
}

.section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(58, 160, 255, 0.45);
}

.card__image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.card__link {
    font-weight: 700;
    color: var(--accent);
}

.highlight {
    background: radial-gradient(circle at 10% 10%, rgba(58, 160, 255, 0.1), transparent 28%),
                linear-gradient(120deg, rgba(11, 41, 41, 0.9), rgba(5, 17, 18, 0.95));
    border-block: 1px solid var(--line);
}

.highlight__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

.list-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.list-panel__item {
    padding: 1.1rem 1.2rem;
    background: rgba(5, 17, 18, 0.65);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-grid__item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #000;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.3);
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-carousel {
    position: relative;
}

.gallery-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 1.2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.25rem 2.6rem 0.75rem;
    scrollbar-width: thin;
}

.gallery-track::-webkit-scrollbar {
    height: 8px;
}

.gallery-track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.gallery-item {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #000;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.35);
    scroll-snap-align: center;
}

.gallery-item img {
    width: 100%;
    height: clamp(240px, 30vw, 380px);
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(5, 17, 18, 0.8);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--shadow);
}

.carousel-btn--prev {
    left: 0.4rem;
}

.carousel-btn--next {
    right: 0.4rem;
}

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

.gallery-grid__item--tall img {
    height: 100%;
    min-height: 100%;
}

.booking {
    background: linear-gradient(160deg, rgba(58, 160, 255, 0.1), rgba(5, 17, 18, 0.9));
    border-block: 1px solid var(--line);
}

.booking__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: start;
}

.booking__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.2rem 0;
}

.booking__form {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

label {
    display: grid;
    gap: 0.35rem;
    font-weight: 700;
    color: #f6fff8;
    font-size: 0.95rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #0a1617;
    color: var(--text);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(58, 160, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(58, 160, 255, 0.2);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.form-status {
    margin: 0;
    font-size: 0.95rem;
    color: #b6c7cf;
}

.form-status.is-success {
    color: #5bb3ff;
}

.form-status.is-error {
    color: #f59f9f;
}

.btn--whatsapp {
    background: #2f8dff;
    border: none;
    color: #021b2e;
}

.smallprint {
    color: var(--muted);
    font-size: 0.9rem;
}

.seo-paragraph {
    color: #cfe8da;
    margin-bottom: 1rem;
}

.seo-block {
    background: rgba(5, 17, 18, 0.6);
    border-top: 1px solid var(--line);
}

.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}

.faq {
    background: linear-gradient(120deg, rgba(11, 41, 41, 0.8), rgba(5, 17, 18, 0.9));
    border-top: 1px solid var(--line);
}

.faq-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

details {
    background: rgba(5, 17, 18, 0.6);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    color: var(--text);
}

summary {
    cursor: pointer;
    font-weight: 800;
    letter-spacing: -0.01em;
}

details[open] {
    border-color: rgba(58, 160, 255, 0.45);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

details p {
    margin: 0.5rem 0 0.2rem 0;
    color: var(--muted);
}

.split__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem 0;
    display: grid;
    gap: 0.65rem;
}

.bullet-list li {
    padding-left: 1.6rem;
    position: relative;
}

.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
}

.info-card {
    background: var(--panel-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.info-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0;
    font-weight: 700;
}

.info-card__stamp {
    display: inline-flex;
    padding: 0.45rem 0.75rem;
    border: 1px dashed rgba(58, 160, 255, 0.6);
    border-radius: 12px;
    color: #d6ecff;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--line);
    background: #061010;
}

.footer__grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-weight: 700;
}

.footer-credit {
    color: #5faeff;
    font-weight: 800;
}

.footer-credit:hover {
    text-decoration: underline;
}

@media (max-width: 980px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 1rem;
        padding: 1rem;
        background: rgba(5, 17, 18, 0.96);
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: flex-start;
        transform: translateX(120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .topbar__phone {
        order: 3;
    }

    body.nav-open .nav-links {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .hero {
        padding-top: 6rem;
    }

    .gallery-grid__item--wide {
        grid-column: span 1;
    }

    .gallery-track {
        grid-auto-columns: minmax(240px, 80vw);
        padding: 0.25rem 1.2rem 0.75rem;
    }

    .carousel-btn {
        display: none;
    }
}

@media (max-width: 640px) {
    .topbar__inner {
        padding: 0.75rem 0;
    }

    .hero__card-img {
        height: 180px;
    }

    .section {
        padding: 3.5rem 0;
    }
}

html {
    scroll-behavior: smooth;
}
