/* ==============================================
   COZY STUDIO SZENTENDRE — Main Stylesheet
   ============================================== */

/* ---------- CSS Variables ---------- */
:root {
    --gold:        #c8a96e;
    --gold-dark:   #a8843e;
    --gold-light:  #f0e0b8;
    --green:       #2a5c45;
    --green-light: #e8f0eb;
    --dark:        #1a1a1a;
    --mid:         #4a4a4a;
    --muted:       #7a7a7a;
    --border:      #e8e0d4;
    --bg:          #fafaf7;
    --bg-alt:      #f4f0ea;
    --white:       #ffffff;
    --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
    --shadow-md:   0 6px 24px rgba(0,0,0,.12);
    --shadow-lg:   0 16px 48px rgba(0,0,0,.18);
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   22px;
    --transition:  .28s cubic-bezier(.4,0,.2,1);
    --nav-h:       72px;
    --font-serif:  'Playfair Display', Georgia, serif;
    --font-sans:   'Inter', system-ui, sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--dark);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    filter: brightness(1.2);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Section defaults ---------- */
.section {
    padding: 90px 0;
}
.section-dark {
    background: var(--dark);
    color: var(--white);
}
.section-alt {
    background: var(--bg-alt);
}

.section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .6rem;
}
.section-label.light { color: var(--gold-light); }

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}
.section-title.light { color: var(--white); }

.section-subtitle {
    color: var(--muted);
    font-size: 1.05rem;
    margin-top: .5rem;
}
.section-subtitle a { color: var(--gold); }

.section-header-centered {
    text-align: center;
    margin-bottom: 3rem;
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}
.navbar.scrolled .brand { color: var(--dark); }
.navbar.scrolled .nav-link { color: var(--mid); }
.navbar.scrolled .nav-link:hover { color: var(--gold); }
.navbar.scrolled .hamburger span { background: var(--dark); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    transition: color var(--transition);
    text-shadow: 0 1px 6px rgba(0,0,0,.45);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.nav-link {
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255,255,255,.9);
    padding: .45rem .75rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
    color: var(--gold-light);
    background: rgba(255,255,255,.08);
}
.nav-btn {
    font-size: .875rem;
    font-weight: 600;
    color: var(--dark);
    background: var(--gold);
    padding: .45rem 1.1rem;
    border-radius: 50px;
    margin-left: .5rem;
    transition: background var(--transition), transform var(--transition);
}
.nav-btn:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 10;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================
   HERO
======================================== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 8s ease;
    filter: brightness(1.1);
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,10,10,.72) 0%,
        rgba(10,10,10,.45) 60%,
        rgba(10,10,10,.2) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: var(--nav-h);
    max-width: 700px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--gold-light);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.0;
    margin-bottom: 1.25rem;
}
.hero-title em {
    color: var(--gold);
    font-style: italic;
}
.hero-subtitle {
    font-size: clamp(.95rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.85);
    margin-bottom: 1.75rem;
    max-width: 540px;
    font-weight: 300;
}
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem;
}
.hero-tags span {
    font-size: .8rem;
    font-weight: 500;
    color: var(--white);
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.28);
    padding: .3rem .8rem;
    border-radius: 50px;
    backdrop-filter: blur(6px);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.5rem;
}
.hero-price {
    color: rgba(255,255,255,.75);
    font-size: .95rem;
}
.hero-price strong {
    color: var(--gold-light);
    font-size: 1.4rem;
    font-family: var(--font-serif);
}

.scroll-down {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    color: rgba(255,255,255,.6);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: color var(--transition);
    animation: bounce 2.2s infinite;
    z-index: 1;
}
.scroll-down:hover { color: var(--gold-light); }
@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .75rem 1.75rem;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 600;
    transition: all var(--transition);
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200,169,110,.35);
}
.btn-light {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}
.btn-light:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
}
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.6);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.12);
    border-color: var(--white);
    transform: translateY(-2px);
}
.btn-block {
    width: 100%;
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-size: 1rem;
}

/* ========================================
   FACTS BAR
======================================== */
.facts-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.facts-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}
.fact {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 1.1rem 1.5rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--mid);
    border-right: 1px solid var(--border);
}
.fact:last-child { border-right: none; }
.fact svg { color: var(--gold); flex-shrink: 0; }

/* ========================================
   ABOUT
======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-text { }
.about-text p {
    color: var(--mid);
    margin-bottom: 1.1rem;
    font-size: 1.02rem;
}
.about-text p strong { color: var(--dark); }

.about-visuals {
    position: relative;
}
.about-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-floorplan {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: .75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    width: 140px;
}
.floorplan-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.floorplan-label {
    font-size: .7rem;
    font-weight: 600;
    color: var(--muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ========================================
   GALLERY
======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 10px;
}
.g-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.g-large {
    grid-column: span 2;
    grid-row: span 2;
}
.g-wide {
    grid-column: span 2;
}
.g-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.2);
    transition: transform .5s ease, filter .3s ease;
}
.g-item:hover .g-img {
    transform: scale(1.06);
    filter: brightness(1.3);
}
.g-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: .9rem 1rem;
    opacity: 0;
    transition: opacity var(--transition);
}
.g-item:hover .g-overlay { opacity: 1; }
.g-overlay span {
    font-size: .8rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* ========================================
   AMENITIES
======================================== */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}
.amenity-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.amenity-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--gold-light);
}
.amenity-icon {
    font-size: 2rem;
    margin-bottom: .75rem;
}
.amenity-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .4rem;
    color: var(--dark);
}
.amenity-card p {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ========================================
   LOCATION
======================================== */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.location-address-box {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 2rem;
}
.location-address-box svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.location-address-box strong { display: block; font-weight: 600; margin-bottom: .2rem; }
.location-address-box span { font-size: .875rem; color: var(--muted); }

.location-subtitle {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}
.location-subtitle svg { color: var(--gold); }

.transport-card {
    display: flex;
    gap: 1rem;
    padding: 1.1rem;
    border-left: 3px solid var(--gold-light);
    background: var(--white);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: .75rem;
    transition: border-color var(--transition);
}
.transport-card:hover { border-left-color: var(--gold); }
.transport-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.transport-card strong { display: block; font-weight: 600; margin-bottom: .3rem; }
.transport-card p { font-size: .9rem; color: var(--muted); margin-bottom: .3rem; }
.transport-card ul { padding-left: 1rem; }
.transport-card li {
    font-size: .875rem;
    color: var(--muted);
    list-style: disc;
    margin-bottom: .2rem;
}
.transport-card li strong { color: var(--dark); }

.nearby-list li {
    font-size: .9rem;
    color: var(--mid);
    padding: .35rem 0;
    border-bottom: 1px solid var(--border);
}
.nearby-list li strong { color: var(--dark); }

.location-map-wrapper {
    position: sticky;
    top: calc(var(--nav-h) + 20px);
}
.map-iframe {
    width: 100%;
    height: 440px;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.map-open-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .75rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--gold-dark);
}
.map-open-btn:hover { color: var(--gold); text-decoration: underline; }

/* ========================================
   PRICING
======================================== */
.pricing-wrapper {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 3rem;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.pricing-hero-img {
    position: relative;
    height: 200px;
}
.pricing-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(1.15);
}
.pricing-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.2));
}
.pricing-hero-text {
    position: absolute;
    bottom: 1.25rem;
    left: 1.5rem;
    right: 1.5rem;
    color: var(--white);
}
.pricing-hero-text h3 { font-family: var(--font-serif); font-size: 1.5rem; }
.pricing-hero-text p { font-size: .8rem; color: rgba(255,255,255,.8); }

.pricing-body {
    padding: 1.75rem;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .95rem;
}
.price-row em { font-style: normal; color: var(--muted); font-size: .8rem; }
.price-row small { font-size: .72rem; color: var(--muted); margin-left: .25rem; }
.price-main {
    font-size: 1.05rem;
    font-weight: 600;
}
.price-value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--dark);
}
.price-divider {
    height: 1px;
    background: var(--border);
    margin: .5rem 0;
}
.price-example {
    text-align: center;
    padding: 1rem 0;
}
.price-example p { font-size: .9rem; color: var(--mid); }
.price-example-calc { font-size: .8rem !important; color: var(--muted) !important; }
.price-total {
    font-family: var(--font-serif);
    font-size: 2rem !important;
    font-weight: 700;
    color: var(--dark) !important;
}
.price-total small { font-size: .75rem; color: var(--muted); }

.pricing-airbnb-note {
    text-align: center;
    font-size: .8rem;
    color: var(--muted);
    margin-top: .75rem;
}
.pricing-airbnb-note a { color: var(--gold-dark); text-decoration: underline; }

.pricing-info-panel { padding-top: .5rem; }
.pricing-info-panel h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.included-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem 0;
    font-size: .925rem;
    color: var(--mid);
    border-bottom: 1px solid var(--border);
}
.check {
    color: var(--green);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.checkin-table { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.checkin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1rem;
    font-size: .9rem;
    border-bottom: 1px solid var(--border);
}
.checkin-row:last-child { border-bottom: none; }
.checkin-row span { color: var(--muted); }
.checkin-row strong { color: var(--dark); }

.price-disclaimer {
    font-size: .78rem;
    color: var(--muted);
    margin-top: 1.25rem;
    line-height: 1.5;
}

/* ========================================
   WIFI & INFO
======================================== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.wifi-card, .rules-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    transition: box-shadow var(--transition), transform var(--transition);
}
.wifi-card:hover, .rules-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.wifi-card-5g {
    border-top: 3px solid var(--gold);
}
.wifi-card-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.wifi-card h3, .rules-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .25rem;
    color: var(--dark);
}
.wifi-freq {
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
}
.wifi-details {
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: .75rem;
}
.wifi-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .4rem 0;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}
.wifi-row:last-child { border-bottom: none; }
.wifi-row span { font-size: .8rem; color: var(--muted); }
.wifi-secret {
    font-size: .82rem !important;
    color: var(--muted) !important;
    font-style: italic;
}
.wifi-row code {
    font-family: 'Courier New', monospace;
    font-size: .85rem;
    font-weight: 700;
    color: var(--dark);
    background: var(--white);
    padding: .2rem .5rem;
    border-radius: 4px;
    border: 1px solid var(--border);
    user-select: all;
}

.rules-list li {
    padding: .5rem 0;
    font-size: .9rem;
    color: var(--mid);
    border-bottom: 1px solid var(--border);
    line-height: 1.5;
}
.rules-list li:last-child { border-bottom: none; }

/* ========================================
   CONTACT
======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}
.contact-info-col { }
.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: .75rem;
    transition: box-shadow var(--transition);
}
.contact-method:hover { box-shadow: var(--shadow-sm); }
.contact-method-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-method h3 { font-size: .95rem; font-weight: 600; margin-bottom: .2rem; }
.contact-method a { color: var(--gold-dark); font-size: .9rem; }
.contact-method a:hover { text-decoration: underline; }
.contact-method p { font-size: .875rem; color: var(--muted); }
.contact-side-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-top: .75rem;
    filter: brightness(1.15);
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: .45rem;
}
.optional { font-weight: 400; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: .9rem;
    color: var(--dark);
    background: var(--bg);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,169,110,.15);
    background: var(--white);
}
.form-group textarea { resize: vertical; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-note {
    font-size: .78rem;
    color: var(--muted);
    text-align: center;
    margin-top: .75rem;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,.7);
    padding: 3rem 0 2rem;
}
.footer-inner { }
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 1.5rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}
.footer-nav a {
    font-size: .875rem;
    color: rgba(255,255,255,.6);
    padding: .35rem .7rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-mid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: .9rem;
}
.footer-mid a { color: var(--gold-light); }
.footer-mid a:hover { text-decoration: underline; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .8rem;
    color: rgba(255,255,255,.4);
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.5rem;
}
.footer-domain { font-family: 'Courier New', monospace; }

/* ========================================
   LIGHTBOX
======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.92);
    backdrop-filter: blur(6px);
}
.lb-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}
.lb-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    filter: brightness(1.1);
    box-shadow: 0 24px 80px rgba(0,0,0,.7);
}
.lb-caption {
    color: rgba(255,255,255,.7);
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .04em;
}
.lb-close, .lb-prev, .lb-next {
    position: fixed;
    z-index: 2;
    background: rgba(255,255,255,.12);
    color: var(--white);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    backdrop-filter: blur(4px);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 1.5rem; right: 1.5rem; }
.lb-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ========================================
   SCROLL ANIMATIONS
======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
[data-animate].visible {
    opacity: 1;
    transform: none;
}

/* ========================================
   LAZY LOADING / RESPONSIVE IMAGES
======================================== */
img[loading="lazy"] {
    /* prevent layout shift */
    content-visibility: auto;
}
.g-img, .about-main-img, .contact-side-img {
    /* progressive reveal on load */
    opacity: 0;
    transition: opacity .4s ease, transform .5s ease, filter .3s ease;
}
.g-img.loaded, .about-main-img.loaded, .contact-side-img.loaded {
    opacity: 1;
}
/* fallback: show immediately if JS disabled */
.no-js .g-img,
.no-js .about-main-img,
.no-js .contact-side-img { opacity: 1; }

/* ========================================
   RESPONSIVE
======================================== */

/* ---- Tablet (portrait + landscape) ---- */
@media (max-width: 1024px) {
    .about-grid           { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-visuals        { order: -1; }
    .about-main-img       { height: 340px; }
    .location-grid        { grid-template-columns: 1fr; }
    .location-map-wrapper { position: static; }
    .map-iframe           { height: 320px; }
    .pricing-wrapper      { grid-template-columns: 1fr; }
    .info-grid            { grid-template-columns: 1fr 1fr; }
    .contact-grid         { grid-template-columns: 1fr; }
    .gallery-grid         { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }
    .hero-title           { font-size: clamp(2.4rem, 6vw, 4rem); }
}

/* ---- Mobile (landscape + large phone) ---- */
@media (max-width: 768px) {
    :root { --nav-h: 60px; }

    .section              { padding: 56px 0; }
    .container            { padding: 0 18px; }

    /* Facts bar: 2 cols */
    .facts-inner          { display: grid; grid-template-columns: 1fr 1fr; }
    .fact                 { border-right: none; border-bottom: 1px solid var(--border); font-size: .8rem; padding: .7rem 1rem; }
    .fact:nth-child(odd)  { border-right: 1px solid var(--border); }

    /* Gallery */
    .gallery-grid         { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 6px; }
    .g-large              { grid-column: span 2; grid-row: span 1; }
    .g-wide               { grid-column: span 2; }
    /* Always show overlay on touch */
    .g-overlay            { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 40%); }

    /* About */
    .about-main-img       { height: 260px; }
    .about-floorplan      { width: 110px; bottom: -16px; left: -12px; }

    /* Info/WiFi */
    .info-grid            { grid-template-columns: 1fr; }
    .amenities-grid       { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .amenity-card         { padding: 1.25rem 1rem; }

    /* Pricing */
    .pricing-wrapper      { grid-template-columns: 1fr; gap: 2rem; }

    /* Form */
    .form-row             { grid-template-columns: 1fr; }
    .contact-form         { padding: 1.75rem 1.25rem; }

    /* Footer */
    .footer-top           { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .footer-nav           { gap: 0; flex-wrap: wrap; }
    .footer-mid           { flex-direction: column; gap: .4rem; }

    /* Lightbox buttons: bigger touch targets */
    .lb-close, .lb-prev, .lb-next { width: 52px; height: 52px; }
    .lb-prev              { left: .75rem; }
    .lb-next              { right: .75rem; }

    /* Mobile nav */
    .hamburger            { display: flex; }

    /* Navbar always dark on mobile so brand is always visible */
    .navbar {
        background: rgba(18,18,18,.88);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 2px 12px rgba(0,0,0,.25);
    }
    .navbar.scrolled {
        background: rgba(255,255,255,.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .navbar.scrolled .brand      { color: var(--dark); text-shadow: none; }
    .navbar.scrolled .hamburger span { background: var(--dark); }
    .brand                { color: var(--white) !important; text-shadow: none; }
    .hamburger span       { background: var(--white); }

    /* Nav menu: max-height slide-down (reliable on iOS) */
    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: rgba(18,18,18,.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 .75rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s cubic-bezier(.4,0,.2,1),
                    padding .35s ease;
        pointer-events: none;
        z-index: 999;
    }
    .nav-menu.open {
        max-height: calc(100svh - var(--nav-h));
        overflow-y: auto;
        padding: .75rem .75rem 1.5rem;
        pointer-events: auto;
        overscroll-behavior: contain;
    }
    .nav-link {
        color: rgba(255,255,255,.88);
        padding: 1rem 1rem;
        border-radius: var(--radius-sm);
        font-size: 1.05rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    .nav-link:hover, .nav-link:active { background: rgba(255,255,255,.08); color: var(--gold-light); }
    .nav-btn {
        text-align: center;
        margin-left: 0;
        margin-top: .5rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ---- Small phones (portrait) ---- */
@media (max-width: 480px) {
    .container            { padding: 0 16px; }

    /* Hero */
    .hero-title           { font-size: 2.4rem; line-height: 1.05; }
    .hero-subtitle        { font-size: .95rem; }
    .hero-tags            { gap: .35rem; }
    .hero-tags span       { font-size: .72rem; padding: .25rem .65rem; }
    .hero-actions         { flex-direction: column; gap: .6rem; }
    .hero-actions .btn    { width: 100%; justify-content: center; padding: .9rem 1.5rem; font-size: 1rem; }
    .scroll-down          { display: none; }

    /* Gallery: single column on tiny screens */
    .gallery-grid         { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 6px; }
    .g-large, .g-wide     { grid-column: span 1; }

    /* Amenities single col */
    .amenities-grid       { grid-template-columns: 1fr; }

    /* Facts: full width */
    .facts-inner          { grid-template-columns: 1fr; }
    .fact                 { border-right: none; width: 100%; }
    .fact:nth-child(odd)  { border-right: none; }

    /* About */
    .about-floorplan      { display: none; }
    .about-main-img       { height: 220px; }

    /* Section titles */
    .section-title        { font-size: 1.8rem; }

    /* Pricing */
    .pricing-card         { border-radius: var(--radius-md); }
    .pricing-body         { padding: 1.25rem; }

    /* Contact form */
    .contact-form         { padding: 1.25rem 1rem; border-radius: var(--radius-md); }
    .form-group input,
    .form-group select,
    .form-group textarea  { font-size: 1rem; } /* prevents zoom on iOS */

    /* Footer */
    .footer               { padding: 2rem 0 1.5rem; }
    .footer-bottom        { flex-direction: column; gap: .25rem; }

    /* Buttons: full tap area */
    .btn                  { min-height: 48px; }
    .nav-btn              { min-height: 48px; }

    /* Map */
    .map-iframe           { height: 260px; }

    /* WiFi code wrap */
    .wifi-row code        { font-size: .78rem; word-break: break-all; }

    /* Transport cards */
    .transport-card       { flex-direction: column; gap: .5rem; }
}
