/* ============================================
   MAG BAY FISHING FLEET — ESTANCIAS
   CSS autocontenido
   ============================================ */
:root {
    --navy: #0a2342;
    --navy-deep: #061527;
    --white: #ffffff;
    --brass: #c9a06c;
    --brass-strong: #a9793f;
    --navy-panel: rgba(255, 255, 255, 0.045);
    --navy-panel-border: rgba(255, 255, 255, 0.09);
    --muted: rgba(255, 255, 255, 0.68);
    --muted-soft: rgba(255, 255, 255, 0.5);
    --ink: #1c2a33;

    --font-display: "Fraunces", serif;
    --font-body: "Work Sans", sans-serif;

    --radius: 6px;
    --container: 1180px;
    --header-h: 84px;

    color-scheme: dark;
}

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

::-webkit-scrollbar {
    display: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-body);
    color: var(--white);
    background: var(--navy-deep);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.32s ease;
}

body.page-in {
    opacity: 1;
}

body.page-out {
    opacity: 0;
}

.main-nav a.nav-active,
.mobile-nav a.nav-active {
    color: var(--brass);
}

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

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

fieldset {
    border: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============ BOTONES ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.7rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.btn-block {
    width: 100%;
}

.btn-gold {
    background: var(--brass);
    color: var(--navy-deep);
}

.btn-gold:hover {
    background: var(--brass-strong);
    transform: translateY(-2px);
}

/* ============ HELPERS ============ */
.section {
    padding: 6.5rem 1.5rem;
}

.section-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--brass);
    margin-bottom: 0.6rem;
}

.reveal {
    opacity: 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: transparent;
    transition: background 0.4s ease, height 0.35s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    background: rgba(6, 21, 39, 0.96);
    backdrop-filter: blur(8px);
    height: 68px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.header-inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--white);
    flex-shrink: 0;
}

.brand-mark {
    width: 34px;
    height: 34px;
    color: var(--brass);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: var(--white);
}

.brand-text em {
    font-style: normal;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    color: var(--brass);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 1vw, 1.5rem);
  flex: 1;
  min-width: 0;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}

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

.main-nav a:hover {
    color: var(--white);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.3rem;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.header-phone svg {
    width: 16px;
    height: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 24px;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--navy-deep);
    z-index: 490;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    padding: 7rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav a {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 500;
}

.mobile-phone {
    color: var(--brass) !important;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-h) + 3rem) 1.5rem 3.5rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.page-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(6, 21, 39, 0.78) 0%,
            rgba(6, 21, 39, 0.55) 55%,
            rgba(6, 21, 39, 0.95) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
}

.page-hero .eyebrow {
    color: var(--brass);
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    max-width: 640px;
}

.page-hero p.page-hero-lead {
    color: var(--muted);
    max-width: 560px;
    margin-top: 0.8rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--muted-soft);
    margin-bottom: 1.2rem;
}

.breadcrumb a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--brass);
}

.breadcrumb .sep {
    opacity: 0.5;
}

.breadcrumb .current {
    color: var(--brass);
    font-weight: 600;
}

/* ============================================
   LAYOUT ESTANCIAS
   ============================================ */
.estancia-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.8rem;
    align-items: start;
}

.estancia-gallery-main {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 0.9rem;
    border: 1px solid var(--navy-panel-border);
    cursor: zoom-in;
}

.estancia-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.estancia-gallery-main:hover img {
    transform: scale(1.03);
}

.gallery-zoom-hint {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.8rem;
    background: rgba(6, 21, 39, 0.75);
    border: 1px solid var(--navy-panel-border);
    color: var(--brass);
    border-radius: 999px;
    pointer-events: none;
}

.estancia-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    margin-bottom: 2.4rem;
}

.estancia-thumbs img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--navy-panel-border);
    cursor: zoom-in;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.estancia-thumbs img:hover {
    transform: translateY(-2px);
    border-color: var(--brass);
}

.detail-block {
    margin-bottom: 2.2rem;
    background: var(--navy-panel);
    border: 1px solid var(--navy-panel-border);
    border-radius: var(--radius);
    padding: 1.8rem;
}

.detail-block h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.detail-block p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.check-list li {
    padding-left: 1.6rem;
    position: relative;
    margin-bottom: 0.7rem;
    font-size: 0.93rem;
    color: var(--muted);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brass);
    font-weight: 700;
}

.two-col-list {
    columns: 2;
    column-gap: 1.5rem;
}

/* ============================================
   FORMULARIO
   ============================================ */
.estancia-form {
    background: var(--navy-panel);
    border: 1px solid var(--navy-panel-border);
    border-radius: var(--radius);
    padding: 2rem;
    position: sticky;
    top: 110px;
}

.estancia-form h3 {
    margin-bottom: 0.4rem;
    font-size: 1.35rem;
}

.form-lead {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 1.4rem;
}

.price-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    margin-bottom: 1.4rem;
    background: rgba(201, 160, 108, 0.08);
    border: 1px solid rgba(201, 160, 108, 0.22);
    border-radius: var(--radius);
    flex-wrap: wrap;
}

.price-night {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brass);
    line-height: 1;
}

.price-night small {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
    margin-left: 0.3rem;
}

.price-tag {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.estancia-form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 1rem;
}

.estancia-form input,
.estancia-form textarea,
.estancia-form select {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.75rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--navy-panel-border);
    border-radius: var(--radius);
    color: var(--white);
    color-scheme: dark;
    resize: vertical;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.estancia-form input::placeholder,
.estancia-form textarea::placeholder {
    color: var(--muted-soft);
}

.estancia-form input:focus,
.estancia-form textarea:focus,
.estancia-form select:focus {
    outline: none;
    border-color: var(--brass);
    box-shadow: 0 0 0 3px rgba(201, 160, 108, 0.15);
}

.stay-reservation-feedback {
    margin-top: 0.8rem;
    color: #d9736a;
    font-size: 0.9rem;
}

.stay-reservation-modal[hidden] {
    display: none;
}

.stay-reservation-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: rgba(2, 10, 20, 0.78);
}

.stay-reservation-modal-content {
    position: relative;
    width: min(100%, 440px);
    padding: 2.25rem;
    border: 1px solid var(--navy-panel-border);
    border-radius: 10px;
    background: #0d2948;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.stay-reservation-modal-close {
    position: absolute;
    top: 0.65rem;
    right: 0.85rem;
    color: var(--muted);
    font-size: 1.8rem;
    line-height: 1;
}

.stay-reservation-modal-icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(127, 191, 143, 0.16);
    color: #7fbf8f;
    font-size: 1.35rem;
}

.stay-reservation-modal-content h2 {
    margin-bottom: 0.7rem;
    font-size: 1.65rem;
}

.stay-reservation-modal-content > p {
    margin-bottom: 1.35rem;
    color: var(--muted);
}

.stay-reservation-download-feedback {
    font-size: 0.9rem;
}

.stay-reservation-download-feedback.is-error {
    color: #d9736a;
}

.stay-reservation-modal-dismiss {
    margin-top: 0.8rem;
    padding: 0.5rem 1rem;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.stay-reservation-modal-open {
    overflow: hidden;
}

/* ============================================
   CALENDARIO DOBLE MES
   ============================================ */
.calendar-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--navy-panel-border);
    border-radius: var(--radius);
    padding: 1.2rem 1rem 1rem;
    margin-bottom: 1.3rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--navy-panel-border);
    flex-wrap: wrap;
    gap: 0.4rem;
}

.calendar-dates-display {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.85rem;
}

.calendar-dates-display strong {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
}

.calendar-dates-display span {
    color: var(--muted);
    font-size: 0.82rem;
}

.calendar-months-frame {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) 2rem;
    align-items: start;
    gap: 0.35rem;
}

.calendar-month-nav {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    margin-top: 0.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.calendar-month-nav:hover:not(:disabled) {
    background: var(--brass);
    color: var(--navy-deep);
}

.calendar-month-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.calendar-months {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 0;
    gap: 1rem;
    user-select: none;
}

.calendar-availability-feedback {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
}

.calendar-availability-feedback.is-error {
    color: #d9736a;
}

.calendar-month-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    margin-bottom: 0.9rem;
    text-transform: capitalize;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-dow {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--muted-soft);
    text-align: center;
    padding: 0.3rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-day {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    background: transparent;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    padding: 0;
    font-family: var(--font-body);
    font-weight: 500;
}

.calendar-day:hover:not(.disabled):not(.booked) {
    background: rgba(201, 160, 108, 0.18);
    color: var(--brass);
}

.calendar-day.empty {
    cursor: default;
    visibility: hidden;
}

.calendar-day.disabled {
    color: var(--muted-soft);
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-day.booked {
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    position: relative;
}

.calendar-day.booked::after {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    top: 50%;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.45);
    transform: rotate(-15deg);
    border-radius: 2px;
}

.calendar-day.booked::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.calendar-day.in-range {
    background: rgba(201, 160, 108, 0.12);
    border-radius: 0;
    color: var(--white);
}

.calendar-day.in-range:hover {
    background: rgba(201, 160, 108, 0.22);
}

.calendar-day.selected {
    background: var(--brass);
    color: var(--navy-deep);
    font-weight: 700;
    z-index: 1;
}

.calendar-day.selected:hover {
    background: var(--brass-strong);
    color: var(--navy-deep);
}

.calendar-day.start,
.calendar-day.end {
    box-shadow: 0 0 0 2px rgba(201, 160, 108, 0.35);
}

.calendar-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--navy-panel-border);
}

.calendar-nav-btn {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brass);
    padding: 0.4rem 0.7rem;
    border-radius: var(--radius);
    transition: background 0.2s ease, color 0.2s ease;
}

.calendar-nav-btn:hover {
    background: rgba(201, 160, 108, 0.12);
    color: var(--brass-strong);
}

/* ============================================
   RESUMEN DE PAGO
   ============================================ */
.price-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--navy-panel-border);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
    margin: 0 0 1.2rem;
    font-size: 0.9rem;
}

.price-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    padding: 0.35rem 0;
}

.price-summary-row span:last-child {
    color: var(--white);
    font-weight: 500;
}

.price-summary-total {
    border-top: 1px solid var(--navy-panel-border);
    margin-top: 0.6rem;
    padding-top: 0.8rem;
    font-weight: 700;
    color: var(--white);
}

.price-summary-total span:last-child {
    color: var(--brass);
    font-family: var(--font-display);
    font-size: 1.15rem;
}

/* ============================================
   MÉTODOS DE PAGO
   ============================================ */
.payment-methods {
    margin: 0.8rem 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.payment-methods legend {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.payment-option {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--navy-panel-border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    margin-bottom: 0 !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.payment-option:hover {
    border-color: rgba(201, 160, 108, 0.4);
    background: rgba(201, 160, 108, 0.05);
}

.payment-option input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--navy-panel-border);
    background: rgba(255, 255, 255, 0.04);
    margin-top: 0.15rem;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    padding: 0;
    transition: border-color 0.2s ease;
}

.payment-option input[type="radio"]:checked {
    border-color: var(--brass);
}

.payment-option input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--brass);
}

.payment-option-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-weight: 400;
}

.payment-option-body strong {
    color: var(--white);
    font-weight: 600;
    font-size: 0.92rem;
}

.payment-option-body em {
    font-style: normal;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.5;
}

.payment-note {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.55;
    padding: 0.8rem 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid var(--brass);
    border-radius: var(--radius);
    margin-bottom: 1.2rem;
}

.payment-note a {
    color: var(--brass);
    text-decoration: underline;
}

.payment-note a:hover {
    color: var(--brass-strong);
}

.form-note {
    font-size: 0.78rem;
    color: var(--muted-soft);
    text-align: center;
    margin-top: 0.9rem;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(4, 12, 22, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 92vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: lightboxIn 0.35s ease;
}

@keyframes lightboxIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--navy-panel-border);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lightbox-close {
    top: 1.2rem;
    right: 1.2rem;
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
    line-height: 1;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    font-size: 2rem;
    line-height: 1;
    padding-bottom: 0.15rem;
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--brass);
    color: var(--navy-deep);
    border-color: var(--brass);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 4rem;
    border-top: 1px solid var(--navy-panel-border);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand p {
    margin: 1rem 0 1.3rem;
    font-size: 0.9rem;
    max-width: 340px;
}

.brand-text.light strong {
    color: var(--white);
}

.social-row {
    display: flex;
    gap: 0.9rem;
}

.social-row a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--navy-panel-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.social-row svg {
    width: 17px;
    height: 17px;
}

.social-row a:hover {
    background: var(--brass);
    border-color: var(--brass);
    color: var(--navy-deep);
}

.footer-col h5 {
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 1.1rem;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}

.footer-col a:hover {
    color: var(--brass);
}

.footer-bottom {
    border-top: 1px solid var(--navy-panel-border);
    padding: 1.4rem 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted-soft);
}

/* ============================================
   WHATSAPP FLOTANTE + POPUP
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 1.6rem;
    right: 1.6rem;
    z-index: 600;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    position: relative;
    z-index: 2;
}

.wa-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

.wa-popup {
    position: fixed;
    bottom: 5.8rem;
    right: 1.6rem;
    z-index: 599;
    width: 280px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(6, 21, 39, 0.28);
    overflow: hidden;
    display: none;
    opacity: 0;
    color: var(--ink);
}

.wa-popup.show {
    display: block;
}

.wa-popup-close {
    position: absolute;
    top: 0.6rem;
    right: 0.7rem;
    z-index: 2;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-popup-header {
    background: var(--navy);
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--white);
}

.wa-popup-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wa-popup-avatar svg {
    width: 18px;
    height: 18px;
}

.wa-popup-header strong {
    display: block;
    font-size: 0.88rem;
}

.wa-popup-status {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.wa-popup-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7cffb2;
    display: inline-block;
}

.wa-popup-body {
    background: #f7f5f0;
    padding: 1rem 1.1rem 0.6rem;
}

.wa-bubble {
    background: var(--white);
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    box-shadow: 0 1px 2px rgba(10, 35, 66, 0.06);
}

.wa-bubble-time {
    display: block;
    text-align: right;
    font-size: 0.7rem;
    color: #5b6b76;
    margin-bottom: 0.3rem;
}

.wa-popup-input {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.1rem;
    background: var(--white);
    border-top: 1px solid rgba(10, 35, 66, 0.08);
    font-size: 0.82rem;
    color: #5b6b76;
    font-weight: 500;
}

.wa-popup-input svg {
    color: var(--brass-strong);
    flex-shrink: 0;
}

.wa-popup-input:hover {
    background: #f7f5f0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .estancia-layout {
        grid-template-columns: 1fr;
    }

    .estancia-form {
        position: static;
    }
}

@media (max-width: 720px) {
    .calendar-months {
        gap: 0.45rem;
    }

    .calendar-month-title {
        font-size: 0.82rem;
        margin-bottom: 0.5rem;
    }

    .calendar-grid {
        gap: 0;
    }

    .calendar-day {
        font-size: 0.72rem;
    }

    .calendar-dow {
        font-size: 0.58rem;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4.5rem 1.2rem;
    }

    .two-col-list {
        columns: 1;
    }

    .estancia-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 1.1rem;
        right: 1.1rem;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .price-night {
        font-size: 1.3rem;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
    }

    .lightbox-prev {
        left: 0.6rem;
    }

    .lightbox-next {
        right: 0.6rem;
    }

    .lightbox-close {
        top: 0.7rem;
        right: 0.7rem;
    }

    .wa-popup {
        width: calc(100vw - 2.4rem);
        right: 1.2rem;
        bottom: 5.2rem;
    }
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.language-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: rgba(13, 13, 13, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  /* min-width: 180px; */
  padding: 0.35rem;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
  z-index: 50;
}

.language-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  color: #fff;
  text-decoration: none;
  border-radius: 0.65rem;
  transition: background 0.2s ease;
}

.language-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lang-flag {
  font-size: 1rem;
}
