﻿/* Spanish static pages: spacing and contact polish without touching the demo template. */

/* Keep split-letter hero titles visible even if the animation is skipped or interrupted. */
.hero-title .char {
    opacity: 1 !important;
    transform: none !important;
}

.navbar-inner {
    gap: .9rem;
}

.navbar-brand {
    white-space: nowrap;
    min-width: 0;
    line-height: 1.08;
}

.container {
    padding-inline: clamp(1.2rem, 6vw, var(--space-xl));
}

.brand-carousel-shell {
    max-width: 100%;
    overflow: clip;
    contain: paint;
}

.brand-track {
    max-width: max-content;
}

.footer {
    padding-top: clamp(3rem, 5vw, 4.6rem);
}

.footer-grid {
    grid-template-columns: minmax(285px, 1.35fr) minmax(130px, .7fr) minmax(220px, .95fr) minmax(240px, .95fr);
    gap: clamp(1.2rem, 2.5vw, 2.4rem);
    align-items: start;
    margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.footer-brand {
    font-size: clamp(1.82rem, 2.25vw, 2.08rem);
    line-height: 1.08;
    white-space: nowrap;
    max-width: 100%;
}

.footer-tagline {
    max-width: 27ch;
    font-size: clamp(.94rem, 1.05vw, 1.03rem);
    line-height: 1.45;
    text-wrap: balance;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: .45rem;
    line-height: 1.55;
}

.footer-links a {
    text-decoration: none;
}

.footer-links > li > a:not(.footer-map-link):not(.footer-contact-link) {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding-block: .12rem;
}

.footer a {
    position: relative;
    z-index: 3;
}

.footer-map-link,
.footer-contact-link,
.footer-hours {
    display: inline-flex;
    align-items: flex-start;
    gap: .48rem;
}

.footer-map-link,
.footer-contact-link {
    pointer-events: auto;
    cursor: pointer !important;
}

.footer-contact-link {
    align-items: center;
    min-height: 32px;
}

.footer-map-link i,
.footer-contact-link i,
.footer-hours i {
    color: var(--gold);
    width: 1rem;
    flex: 0 0 auto;
    margin-top: .2rem;
}

.footer-contact-link i {
    margin-top: 0;
}

.footer-bottom {
    gap: 1rem;
}

.footer-policy-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .45rem .9rem;
    font-size: .76rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.footer-policy-links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: var(--ivory-muted);
    text-decoration: none;
}

.footer-policy-links a:hover {
    color: var(--gold);
}

.hero-language-switcher {
    position: relative;
    z-index: 6;
}

.hero-language-switcher a {
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.hero-scroll {
    pointer-events: none;
}

.legal-language-switcher {
    justify-content: flex-start;
    margin-top: 1.15rem;
}

.legal-language-switcher a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(12,9,7,.55);
    border: 1px solid rgba(212,165,116,.26);
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.legal-language-switcher a.is-active {
    background: rgba(212,165,116,.18);
    border-color: rgba(212,165,116,.65);
}

.legal-language-switcher img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.legal-language-switcher span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

.review-card-link {
    min-height: 32px;
    padding-block: .25rem;
}

body.cigars-es .btn-premium-contact.btn-sm.whatsapp-product {
    position: relative;
    min-height: 34px;
}

body.cigars-es .btn-premium-contact.btn-sm.whatsapp-product::after {
    content: "";
    position: absolute;
    inset: -6px;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .navbar-inner {
        padding-inline: clamp(1.2rem, 5vw, 3rem);
    }
}

@media (max-width: 576px) {
    .navbar {
        padding-top: .95rem;
        padding-bottom: .95rem;
    }

    .navbar.scrolled {
        padding-top: .75rem;
        padding-bottom: .75rem;
    }

    .navbar-inner {
        padding-inline: clamp(1rem, 6vw, 1.5rem);
        gap: .55rem;
    }

    .navbar-brand {
        font-size: clamp(1.28rem, 6.2vw, 1.58rem);
        letter-spacing: 0;
        flex: 1 1 auto;
    }

    .navbar-toggle {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.45rem;
        text-align: left;
    }

    .footer-brand {
        font-size: clamp(1.48rem, 7.4vw, 1.72rem);
    }

    .footer-tagline {
        max-width: 24ch;
        font-size: .92rem;
        line-height: 1.42;
    }

    .footer-links > li > a:not(.footer-map-link):not(.footer-contact-link) {
        min-height: 36px;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-bottom {
        justify-content: flex-start;
        text-align: left;
    }

    .footer-policy-links {
        justify-content: flex-start;
    }
}

body.home-es .section,
body.cigars-es .section {
    padding-top: clamp(3rem, 5.6vw, 4.9rem);
    padding-bottom: clamp(3rem, 5.6vw, 4.9rem);
}

body.home-es .section-header,
body.cigars-es .section-header {
    margin-bottom: clamp(1.55rem, 3vw, 2.25rem);
}

body.home-es .grid {
    gap: clamp(.9rem, 2vw, 1.35rem);
}

body.home-es .feature-card,
body.home-es .testimonial-card {
    padding: clamp(1.15rem, 2.3vw, 1.7rem);
}

body.home-es .feature-card .btn {
    margin-top: .95rem !important;
}

body.home-es .feature-icon-fa {
    font-size: 2.15rem;
    margin-bottom: .9rem;
}

body.home-es .feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: .9rem;
}

body.home-es .feature-title {
    font-size: clamp(1.18rem, 2vw, 1.38rem);
    margin-bottom: .55rem;
}

body.home-es .feature-text {
    font-size: .95rem;
    line-height: 1.58;
}

body.home-es .home-story-collage {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    min-height: clamp(360px, 43vw, 560px);
}

body.home-es .home-story-collage figure {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--black-warm);
    min-height: 0;
}

body.home-es .home-story-collage-main {
    grid-row: span 2;
}

body.home-es .home-story-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.72) brightness(.78);
    transition: transform var(--duration-slower) var(--ease-out), filter var(--duration-base) var(--ease-out);
}

body.home-es .home-story-collage figure:hover img {
    transform: scale(1.04);
    filter: saturate(1) brightness(.95);
}

body.home-es .home-story-collage figcaption {
    position: absolute;
    left: 1rem;
    bottom: .9rem;
    z-index: 2;
    color: var(--ivory);
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.7vw, 1.35rem);
    text-shadow: 0 8px 24px rgba(0,0,0,.55);
}

body.home-es .home-story-collage figure::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(to top, rgba(5,4,3,.78), transparent);
    pointer-events: none;
}

body.home-es .home-gallery-balanced {
    gap: .55rem;
    padding-inline: clamp(1rem, 2.5vw, 2rem);
}

body.home-es .home-gallery-balanced .gallery-item {
    min-height: clamp(180px, 19vw, 280px);
    border-radius: var(--radius-lg);
}

body.home-es .home-gallery-balanced .gallery-item.wide {
    aspect-ratio: 2 / 1;
}

body.home-es .home-gallery-balanced .gallery-label {
    bottom: 1rem;
    left: 1rem;
}

body.home-es .quote-section {
    padding-top: clamp(2.6rem, 5vw, 4rem);
    padding-bottom: clamp(2.6rem, 5vw, 4rem);
}

body.home-es .quote-content {
    max-width: 760px;
}

body.home-es .quote-mark {
    font-size: clamp(4.8rem, 8vw, 7rem);
    line-height: .45;
}

body.home-es .quote-text {
    font-size: clamp(1.45rem, 3.2vw, 2.35rem);
    line-height: 1.34;
    margin-bottom: 1rem;
}

body.home-es .quote-author {
    font-size: .78rem;
    letter-spacing: .16em;
}

body.home-es .quote-section + .section {
    padding-top: clamp(2.7rem, 5vw, 4.2rem);
}

body.cigars-es .product-grid-pro {
    gap: 1rem;
    margin-top: 1.35rem !important;
}

body.cigars-es .filter-toolbar {
    margin-top: 1.35rem;
    gap: .55rem;
}

body.cigars-es .filter-btn {
    padding: .62rem .9rem;
    font-size: .84rem;
}

body.cigars-es .visitor-grid,
body.cigars-es .details-grid {
    gap: .85rem;
}

body.cigars-es .visitor-card,
body.cigars-es .detail-card {
    padding: .95rem 1rem;
}

body.cigars-es .visitor-card i,
body.cigars-es .detail-card i {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
    margin-bottom: .55rem;
}

body.cigars-es .visitor-card h3,
body.cigars-es .detail-card h3 {
    font-size: .98rem;
    margin-bottom: .3rem;
}

body.cigars-es .visitor-card p,
body.cigars-es .detail-card p {
    font-size: .88rem;
    line-height: 1.55;
}

body.cigars-es .brand-slide {
    min-height: 180px;
}

body[class^="legal-"] .legal-hero {
    min-height: clamp(420px, 52vh, 560px);
    display: flex;
    align-items: flex-end;
    position: relative;
    padding: clamp(9.75rem, 13vh, 11rem) 0 clamp(3.25rem, 6vh, 4.35rem);
    overflow: hidden;
}

body[class^="legal-"] .legal-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(.55) brightness(.5);
    transform: scale(1.03);
}

body[class^="legal-"] .legal-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,4,3,.45), var(--black) 96%);
}

body[class^="legal-"] .legal-hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

body[class^="legal-"] .legal-hero .section-title {
    max-width: 15ch;
    margin-bottom: .85rem;
    font-size: clamp(2.4rem, 4.2vw, 4.45rem);
    line-height: 1.06;
    letter-spacing: 0;
}

body[class^="legal-"] .legal-hero .section-eyebrow {
    margin-bottom: 1rem;
}

body[class^="legal-"] .legal-hero .section-subtitle {
    max-width: 48ch;
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.65;
}

body[class^="legal-"] .legal-hero .section-eyebrow,
body[class^="legal-"] .legal-hero .section-title,
body[class^="legal-"] .legal-hero .section-subtitle {
    opacity: 1 !important;
    transform: none !important;
}

body[class^="legal-"] .legal-page {
    padding: clamp(3.25rem, 6vw, 6rem) 0;
}

body[class^="legal-"] .legal-layout {
    display: grid;
    grid-template-columns: minmax(0, .34fr) minmax(0, .66fr);
    gap: clamp(1.2rem, 3vw, 2.4rem);
    align-items: start;
    min-width: 0;
}

body[class^="legal-"] .legal-aside,
body[class^="legal-"] .legal-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.035);
    min-width: 0;
    max-width: 100%;
}

body[class^="legal-"] .legal-layout > div {
    min-width: 0;
    max-width: 100%;
}

body[class^="legal-"] .legal-aside {
    position: sticky;
    top: 104px;
    padding: 1.15rem;
}

body[class^="legal-"] .legal-aside a {
    display: block;
    color: var(--ivory-muted);
    text-decoration: none;
    padding: .58rem 0;
    border-bottom: 1px solid rgba(201,169,98,.08);
}

body[class^="legal-"] .legal-aside a:last-child {
    border-bottom: 0;
}

body[class^="legal-"] .legal-aside a:hover {
    color: var(--gold);
}

body[class^="legal-"] .legal-aside a[aria-current="page"] {
    color: var(--gold);
    font-weight: 700;
    padding-left: .75rem;
    border-left: 2px solid var(--gold);
    background: rgba(201,169,98,.06);
}

body[class^="legal-"] .legal-card {
    padding: clamp(1.2rem, 2.5vw, 1.9rem);
    margin-bottom: 1rem;
}

body[class^="legal-"] .legal-card h2 {
    color: var(--ivory);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    margin-bottom: .85rem;
}

body[class^="legal-"] .legal-card h3 {
    color: var(--gold);
    font-size: 1rem;
    margin: 1.1rem 0 .45rem;
}

body[class^="legal-"] .legal-card p,
body[class^="legal-"] .legal-card li {
    color: var(--text-muted);
    line-height: 1.75;
}

body[class^="legal-"] .legal-card ul {
    padding-left: 1.2rem;
}

body[class^="legal-"] .legal-note {
    border-left: 3px solid var(--gold);
    background: rgba(201,169,98,.08);
}

body[class^="legal-"] .legal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}

body[class^="legal-"] .legal-table-wrap {
    overflow-x: auto;
    max-width: 100%;
}

body[class^="legal-"] .legal-table th,
body[class^="legal-"] .legal-table td {
    border: 1px solid var(--border);
    padding: .75rem;
    text-align: left;
    color: var(--text-muted);
}

body[class^="legal-"] .legal-table th {
    color: var(--ivory);
    background: rgba(201,169,98,.08);
}

body[class^="legal-"] .legal-updated {
    color: var(--gold);
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

body[class^="legal-"] .legal-contact-links {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

@media (max-width: 1100px) {
    body[class^="legal-"] .legal-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    body[class^="legal-"] .legal-aside {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: .45rem;
    }

    body[class^="legal-"] .legal-aside a {
        display: inline-flex;
        align-items: center;
        min-height: 38px;
        padding: .45rem .72rem;
        border: 1px solid var(--border);
        border-radius: 999px;
    }

    body[class^="legal-"] .legal-aside a[aria-current="page"] {
        padding-left: .72rem;
        border-left: 1px solid var(--gold);
    }
}

@media (max-width: 900px) {
    body[class^="legal-"] .legal-hero {
        min-height: 500px;
    }

    body[class^="legal-"] .legal-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    body[class^="legal-"] .legal-aside {
        position: static;
    }
}

@media (max-width: 576px) {
    body[class^="legal-"] .legal-hero {
        min-height: 520px;
        padding: 10rem 0 3.3rem;
    }

    body[class^="legal-"] .legal-hero .section-title {
        max-width: 10ch;
        font-size: clamp(2.15rem, 10.5vw, 2.9rem);
    }

    body[class^="legal-"] .legal-hero .section-eyebrow {
        font-size: .68rem;
        letter-spacing: .18em;
    }

    body[class^="legal-"] .legal-hero .section-subtitle {
        font-size: 1rem;
    }

    body.contact-es .contact-layout,
    body.contact-es .planner-panel,
    body.contact-es .map-panel,
    body.contact-es .route-card,
    body.contact-es .faq-card {
        min-width: 0;
        max-width: 100%;
    }

    body.contact-es .planner-form input,
    body.contact-es .planner-form select,
    body.contact-es .planner-form textarea {
        width: 100%;
        min-width: 0;
    }

    body.contact-es .planner-form .interest-option input[type="checkbox"] {
        width: auto;
        min-width: 14px;
        height: 14px;
        flex: 0 0 auto;
    }

    body[class^="legal-"] .legal-table {
        min-width: 0;
        table-layout: fixed;
    }

    body[class^="legal-"] .legal-table th,
    body[class^="legal-"] .legal-table td {
        padding: .52rem;
        font-size: .76rem;
        word-break: break-word;
    }
}

@media (max-width: 900px) {
    body.home-es .home-story-collage {
        min-height: 0;
        grid-template-columns: 1fr 1fr;
    }

    body.home-es .home-story-collage-main {
        grid-column: span 2;
        aspect-ratio: 16 / 10;
    }

    body.home-es .home-story-collage figure:not(.home-story-collage-main) {
        aspect-ratio: 1;
    }

    body.home-es .home-gallery-balanced {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    body.home-es .home-story-collage {
        grid-template-columns: 1fr;
    }

    body.home-es .home-story-collage-main {
        grid-column: auto;
    }

    body.home-es .home-story-collage figure,
    body.home-es .home-story-collage figure:not(.home-story-collage-main) {
        aspect-ratio: 4 / 3;
    }

    body.home-es .home-gallery-balanced {
        grid-template-columns: 1fr;
        gap: .75rem;
    }

    body.home-es .home-gallery-balanced .gallery-item,
    body.home-es .home-gallery-balanced .gallery-item.wide {
        aspect-ratio: 4 / 3;
        min-height: 0;
        grid-column: auto;
    }
}

/* Temporary language landing pages used while EN/FR/DE/PT are migrated. */
body.lang-pending {
    min-height: 100vh;
    margin: 0;
    color: var(--ivory);
    background:
        linear-gradient(135deg, rgba(5,4,3,.9), rgba(30,18,10,.72)),
        url("../images/cigars/Cigars_1.jpg") center / cover fixed;
}

body.lang-pending::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 14%, rgba(201,169,98,.18), transparent 28%),
        linear-gradient(to bottom, rgba(5,4,3,.18), rgba(5,4,3,.86));
}

.pending-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(1.25rem, 5vw, 3rem);
}

.pending-card {
    width: min(100%, 680px);
    border: 1px solid rgba(201,169,98,.28);
    border-radius: var(--radius-lg);
    background: rgba(10,8,6,.78);
    box-shadow: 0 28px 80px rgba(0,0,0,.36);
    padding: clamp(1.35rem, 4vw, 2.6rem);
}

.pending-card h1 {
    max-width: 13ch;
    margin: .45rem 0 .85rem;
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 7vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.pending-card p:not(.section-eyebrow) {
    max-width: 58ch;
    margin: 0;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.8vw, 1.12rem);
    line-height: 1.7;
}

.pending-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.45rem;
}

.pending-actions .btn {
    min-height: 46px;
}

.pending-language-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1.1rem;
}

.pending-language-switcher a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(201,169,98,.24);
    transition: transform .2s var(--ease-out), border-color .2s var(--ease-out);
}

.pending-language-switcher a:hover,
.pending-language-switcher a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(201,169,98,.65);
}

.pending-language-switcher a.is-active {
    background: rgba(201,169,98,.16);
    border-color: rgba(201,169,98,.72);
}

.pending-language-switcher img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.pending-language-switcher span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

@media (max-width: 576px) {
    .pending-card {
        border-radius: var(--radius-md);
    }

    .pending-card h1 {
        max-width: 12ch;
        font-size: clamp(2.15rem, 11vw, 3.2rem);
    }

    .pending-actions {
        display: grid;
    }

    .pending-actions .btn {
        width: 100%;
    }
}

