/* ============================================================
   Quetzaltlán — Jardín de Eventos | Plan Presencia
   ============================================================ */

:root {
    --color-sand:        #E5D3B3;
    --color-sand-light:  #F7F4EF;
    --color-sand-dark:   #C5B08A;
    --color-turquoise:   #008A8A;
    --color-turquoise-dim: rgba(0, 138, 138, 0.08);
    --color-deep-blue:   #0b1e3b;
    --color-texto:       #2a3340;
    --color-muted:       #465563;
    --color-text-warm:   #2f2b27;
    --color-muted-warm:  #4a443c;
    --color-turquoise-dark: #006b6b;
    --color-white:       #ffffff;
    --color-border:      rgba(11, 30, 59, 0.1);
    --color-border-warm: rgba(47, 43, 39, 0.14);

    --font-serif: 'Playfair Display', serif;
    --font-sans:  'Open Sans', system-ui, sans-serif;

    --content-max: 1080px;
    --content-narrow: 640px;
    --section-py: clamp(4rem, 7vw, 6rem);
    --gap-section: clamp(2rem, 4vw, 3rem);

    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   12px;
    --radius-xl:   16px;

    --shadow-soft: 0 1px 3px rgba(11, 30, 59, 0.04);
    --shadow-none: none;

    --transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    --transition-fast: color 0.15s ease, background 0.15s ease;
    --nav-height: 52px;
}

*, *::before, *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-weight: 400;
    background-color: var(--color-sand-light);
    color: var(--color-texto);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Texto de cuerpo (no títulos): peso legible */
p,
.section-subtitle,
.section-cta-lead,
.editorial-intro,
.editorial-body,
.editorial-body p,
.feature-card-text,
.info-card-text,
.contact-panel-hint,
.benefit-list li,
.hover-desc,
.calendar-footer,
.calendar-table td {
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--color-deep-blue);
    font-weight: 600;
}

/* ── Layout containers ────────────────────────────────────── */
.qz-container {
    width: 100%;
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.qz-container--narrow {
    max-width: calc(var(--content-narrow) + 4rem);
}

/* ── Utilities ────────────────────────────────────────────── */
.text-turquoise  { color: var(--color-turquoise) !important; }
.text-light-sans { font-family: var(--font-sans); font-weight: 400; }

.bg-sand        { background-color: var(--color-sand) !important; }
.bg-sand-light  { background-color: var(--color-sand-light) !important; }
.bg-turquoise   { background-color: var(--color-turquoise) !important; color: white; }
.bg-white       { background-color: var(--color-white) !important; }

/* Contraste: textos secundarios sobre fondos arena */
.bg-sand,
.bg-sand-light {
    color: var(--color-text-warm);
    --color-border: var(--color-border-warm);
}

.bg-sand .section-subtitle,
.bg-sand-light .section-subtitle,
.bg-sand .section-cta-lead,
.bg-sand-light .section-cta-lead,
.bg-sand .editorial-intro,
.bg-sand-light .editorial-intro,
.bg-sand .feature-card-text,
.bg-sand .info-card-text,
.bg-sand .calendar-footer {
    color: var(--color-muted-warm);
}

.bg-sand .editorial-lead,
.bg-sand-light .editorial-lead {
    color: var(--color-text-warm);
}

.bg-sand .editorial-body,
.bg-sand-light .editorial-body {
    color: var(--color-text-warm);
}

.bg-sand-light .calendar-footer {
    color: var(--color-muted-warm);
}

.bg-sand .section-eyebrow,
.bg-sand-light .section-eyebrow {
    color: var(--color-turquoise-dark);
}

.bg-sand .feature-card-title,
.bg-sand-light .feature-card-title,
.bg-sand .info-card-title,
.bg-sand .contact-panel-heading {
    color: var(--color-text-warm);
}

/* Paneles blancos dentro de secciones arena mantienen texto neutro legible */
.bg-sand .contact-panel,
.bg-sand-light .contact-panel,
.bg-sand .calendar-card,
.bg-sand-light .calendar-card {
    color: var(--color-texto);
}

.bg-sand .contact-panel .contact-panel-hint,
.bg-sand-light .contact-panel .contact-panel-hint {
    color: var(--color-muted);
}

.bg-sand .contact-panel .contact-panel-heading,
.bg-sand-light .contact-panel .contact-panel-heading {
    color: var(--color-deep-blue);
}

/* Sección turquesa: textos claros con contraste suficiente */
.bg-turquoise .section-eyebrow--light {
    color: rgba(255, 255, 255, 0.88);
}

.bg-turquoise .section-subtitle {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* ── Site navigation ──────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: background 0.25s ease, border-color 0.25s ease;
    border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
    background: rgba(247, 244, 239, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: var(--color-border);
}

.site-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
}

.site-nav-links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    gap: clamp(1.25rem, 3vw, 2.25rem);
}

.site-nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: var(--transition-fast);
}

.site-nav.is-scrolled .site-nav-links a {
    color: var(--color-texto);
}

.site-nav-links a:hover {
    color: var(--color-turquoise);
}

.site-nav.is-scrolled .site-nav-links a:hover {
    color: var(--color-turquoise);
}

.site-nav-end {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-nav-cta {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.8125rem;
    font-weight: 400;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.site-nav.is-scrolled .btn-nav-cta {
    color: var(--color-deep-blue);
    border-bottom-color: var(--color-turquoise);
}

.btn-nav-cta:hover {
    color: var(--color-turquoise);
    border-bottom-color: var(--color-turquoise);
}

.site-nav-toggle {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: white;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
}

.site-nav.is-scrolled .site-nav-toggle {
    color: var(--color-deep-blue);
}

.site-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.site-nav.is-scrolled .site-nav-toggle:hover {
    background: rgba(11, 30, 59, 0.05);
}

.site-nav-drawer {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-sand-light);
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem clamp(1.25rem, 4vw, 2rem) 1.25rem;
    z-index: 1099;
}

.site-nav-drawer[hidden] { display: none !important; }

.site-nav-drawer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav-drawer-links a {
    display: block;
    padding: 0.65rem 0;
    color: var(--color-texto);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    border-bottom: 1px solid var(--color-border);
}

.site-nav-drawer-links a:hover {
    color: var(--color-turquoise);
}

.site-nav-drawer-links li:last-child a {
    border-bottom: none;
}

@media (min-width: 992px) {
    .site-nav-links { display: flex; }
    .site-nav-toggle { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background-color: var(--color-deep-blue);
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 30, 59, 0.2) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem clamp(1.25rem, 4vw, 2rem);
    max-width: 720px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-logo {
    max-width: min(260px, 62vw);
    margin: 0 auto 2rem;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1rem;
}

.hero-text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.8vw, 1.75rem);
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    max-width: 32ch;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.hero-scroll:hover { color: rgba(255, 255, 255, 0.85); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-hero {
    background: var(--color-turquoise);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-hero:hover {
    background: #007373;
    color: white;
}

.btn-hero-outline {
    background: transparent;
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.45);
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-hero-outline:hover {
    border-color: rgba(255, 255, 255, 0.85);
    color: white;
}

.btn-wa {
    background: #25d366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 400;
    font-size: 0.875rem;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 260px;
}

    .btn-wa:hover {
        background: #20b858;
        color: white;
    }

/* ── Sections ─────────────────────────────────────────────── */
.section {
    padding-block: var(--section-py);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--gap-section);
}

.section-header--light .section-title,
.section-header--light .section-subtitle { color: white !important; }

.section-eyebrow {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-turquoise);
    margin-bottom: 0.5rem;
}

.section-eyebrow--light { color: rgba(255, 255, 255, 0.88); }

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.section-title--left {
    text-align: left;
}

.section-subtitle {
    color: var(--color-muted);
    font-size: 0.975rem;
    margin: 0;
    line-height: 1.7;
}

.section-cta {
    text-align: center;
    margin-top: var(--gap-section);
}

.section-cta-lead {
    color: var(--color-muted);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

/* ── Editorial layout ─────────────────────────────────────── */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-section);
    align-items: center;
}

@media (min-width: 992px) {
    .editorial-grid {
        grid-template-columns: 1fr 1fr;
        gap: clamp(3rem, 5vw, 5rem);
    }

    .editorial-grid--reversed .editorial-img-container { order: 2; }
    .editorial-grid--reversed .editorial-content { order: 1; }
}

.editorial-img-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    max-height: 520px;
    border-radius: var(--radius-md);
}

.editorial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.parallax-img {
    transform: scale(1.08);
    will-change: transform;
}

.editorial-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.editorial-lead {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 500;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.editorial-intro {
    color: var(--color-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 52ch;
}

.editorial-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--color-texto);
    max-width: 52ch;
}

.editorial-body p { margin: 0; }

/* ── Feature cards ──────────────────────────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 576px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

.feature-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--color-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    border-color: rgba(0, 107, 107, 0.35);
    box-shadow: 0 2px 12px rgba(11, 30, 59, 0.06);
}

.bg-sand .feature-card,
.bg-sand-light .feature-card {
    border-color: var(--color-border-warm);
}

.feature-card-icon {
    font-size: 1.1rem;
    color: var(--color-turquoise-dark);
    display: block;
    margin-bottom: 0.15rem;
}

.feature-card-title {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-deep-blue);
    margin: 0;
}

.feature-card-text {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin: 0;
    line-height: 1.6;
}

/* ── Event hover grid ─────────────────────────────────────── */
.hover-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 576px) {
    .hover-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
    .hover-grid { grid-template-columns: repeat(4, 1fr); }
}

.hover-item {
    position: relative;
    aspect-ratio: 3 / 4;
    min-height: 300px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.hover-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 30, 59, 0.75) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    color: white;
}

.hover-overlay > i {
    display: none;
}

.hover-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 0.25rem;
    color: white !important;
}

.hover-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    line-height: 1.5;
    opacity: 1;
}

/* ── Gallery carousel ───────────────────────────────────────── */
.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1.25rem;
    padding: 0.5rem 0 2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar { display: none; }

.carousel-slide {
    flex: 0 0 calc(33.333% - 0.85rem);
    scroll-snap-align: start;
    min-width: 260px;
    aspect-ratio: 4 / 5;
    max-height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .carousel-slide { flex: 0 0 calc(50% - 0.65rem); }
}

@media (max-width: 576px) {
    .carousel-slide {
        flex: 0 0 82%;
        min-width: 0;
    }
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.carousel-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-texto);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-nav-btn:hover {
    border-color: var(--color-turquoise);
    color: var(--color-turquoise);
}

/* ── Benefits list ────────────────────────────────────────── */
.benefit-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 400;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    color: var(--color-texto);
}

.check-marker {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-turquoise);
    font-size: 1rem;
}

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Calendar ─────────────────────────────────────────────── */
.calendar-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: white;
    overflow: hidden;
}

.calendar-header {
    background: var(--color-deep-blue);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.calendar-month {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: white;
    margin: 0;
    text-align: center;
    flex: 1;
}

.calendar-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.calendar-nav-btn:hover { background: rgba(255, 255, 255, 0.12); }

.calendar-body { padding: 1.5rem 2rem; }

.calendar-table th {
    padding: 0.85rem 0.5rem;
    color: var(--color-turquoise);
    font-family: var(--font-serif);
    font-size: 0.9rem;
    text-align: center;
}

.calendar-table td {
    padding: 0.85rem 0.5rem;
    text-align: center;
    color: var(--color-texto);
    transition: var(--transition-fast);
}

.calendar-day.today {
    background-color: var(--color-sand);
    border-radius: 8px;
    font-weight: 600;
    color: var(--color-text-warm);
}

.calendar-day.past-day {
    color: #8a9199;
}

.calendar-day.booked {
    color: #9aa3ad;
    position: relative;
    cursor: not-allowed;
}

.calendar-day.booked::after {
    content: '✕';
    color: #dc3545;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0.55;
}

.calendar-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--color-sand-light);
    border-top: 1px solid var(--color-border-warm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-muted-warm);
}

.calendar-legend-mark {
    color: #dc3545;
    font-size: 1.1rem;
    font-weight: bold;
}

/* ── Contact ──────────────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 2rem;
        align-items: stretch;
    }
}

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

.info-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: transparent;
    padding: 1.25rem 0;
    border-top: 1px solid var(--color-border);
    height: 100%;
}

.info-card:first-child {
    border-top: none;
    padding-top: 0;
}

.info-card-icon {
    font-size: 1.5rem;
    color: var(--color-turquoise);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.info-card-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-deep-blue);
    margin: 0 0 0.35rem;
}

.info-card-text {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.contact-panel {
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    padding: clamp(1.5rem, 3vw, 2rem);
    display: flex;
    align-items: center;
}

.contact-panel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 576px) {
    .contact-panel-grid:has(#qr-module:not([hidden])) {
        grid-template-columns: 1fr auto 1fr;
        gap: 2rem;
        align-items: center;
    }
}

.contact-panel-divider {
    width: 1px;
    height: 100%;
    min-height: 180px;
    background: rgba(0, 0, 0, 0.08);
    justify-self: center;
}

.contact-panel-divider[hidden],
#qr-module[hidden] {
    display: none !important;
}

.contact-panel-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.contact-panel-heading {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-deep-blue);
    margin: 0;
}

.contact-panel-hint {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin: 0;
    max-width: 22ch;
}

.qr-wrapper {
    background: white;
    padding: 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.map-block {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 21 / 9;
    min-height: 260px;
    border: 1px solid var(--color-border);
}

.map-block iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .map-block { aspect-ratio: 4 / 3; }
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
    background: var(--color-deep-blue);
    color: rgba(255, 255, 255, 0.78);
    padding: clamp(3rem, 5vw, 4rem) 0;
}

.footer-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: white;
    margin: 0 0 0.25rem;
    letter-spacing: 0.02em;
}

.footer-tagline {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 1rem;
}

.footer-copy {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    font-size: 1.1rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-social a:hover { color: white; }

/* ── WhatsApp float ───────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: #25d366;
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

    .whatsapp-float:hover {
        background: #20b858;
        color: white;
        transform: scale(1.1) translateY(-3px);
    }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive tweaks ──────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero,
    .btn-hero-outline {
        width: 100%;
        max-width: 320px;
    }

    .editorial-img-container {
        max-height: 400px;
        aspect-ratio: 5 / 4;
    }

    .whatsapp-float {
        bottom: calc(24px + env(safe-area-inset-bottom));
        right: 20px;
        width: 58px;
        height: 58px;
    }
}
