/* =============================================
   KWATERY MIELENKO PATRAJ — style.css
   Design System: Serene Escape / Quiet Luxury
   Fonts: Manrope (headlines) + Work Sans (body)
   ============================================= */

:root {
    --primary: #6d5b44;
    --primary-light: #c8b195;
    --primary-container: #f8dfc1;
    --on-primary: #ffffff;
    --secondary: #546251;
    --tertiary: #336289;
    --surface: #f4faf9;
    --surface-low: #e3f8f5;
    --surface-container: #ddf2f0;
    --on-surface: #0c1f1d;
    --on-surface-variant: #4d463d;
    --outline: #7f766c;
    --outline-variant: #d0c5b9;
    --white: #ffffff;

    /* Warm Sand tints — #c8b195 blended over white */
    --sand-wash: #fdf6ee; /* ~6%  — featherlight section bg  */
    --sand-light: #f6e9d8; /* ~18% — card & bar backgrounds   */
    --sand-mid: #ecdbc3; /* ~30% — stronger accent areas     */

    --shadow-sm:
        0 1px 3px rgba(12, 31, 29, 0.07), 0 1px 2px rgba(12, 31, 29, 0.05);
    --shadow-md: 0 4px 20px rgba(12, 31, 29, 0.09);
    --shadow-lg: 0 8px 40px rgba(12, 31, 29, 0.13);

    --r-sm: 0.25rem;
    --r: 0.5rem;
    --r-md: 0.75rem;
    --r-lg: 1rem;
    --r-xl: 1.5rem;
    --r-full: 9999px;

    --max-w: 1280px;
    --gutter: 24px;

    --f-head: "Manrope", sans-serif;
    --f-body: "Work Sans", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--on-surface);
    background: var(--surface);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}
a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .hero-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ── NAVBAR ─────────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--outline-variant);
    transition: box-shadow 0.2s;
}
#navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--on-surface);
    white-space: nowrap;
}
.nav-logo svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}
.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    transition: color 0.15s;
}
.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--on-surface);
    color: var(--white);
    font-family: var(--f-body);
    font-size: 14px;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: var(--r-lg);
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}
.btn-nav:hover {
    background: var(--primary);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--on-surface);
}

@media (max-width: 940px) {
    .nav-links {
        display: none;
    }
    .nav-cta-wrap {
        display: none;
    }
    .nav-hamburger {
        display: block;
    }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        border-bottom: 1px solid var(--outline-variant);
        box-shadow: var(--shadow-lg);
        z-index: 99;
        gap: 20px;
    }
    .nav-links.open a {
        font-size: 16px;
    }
}

/* ── HERO ────────────────────────────────────────── */
#hero {
    padding-top: 72px;
}

.hero-wrap {
    padding: 24px 0 0;
}

/* Gallery Grid – Booking.com style */
.hero-gallery {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 4px;
    border-radius: var(--r-xl);
    overflow: hidden;
    cursor: pointer;
}

.gal-main {
    grid-column: 1;
    grid-row: 1 / 3;
    position: relative;
    overflow: hidden;
}
.gal-item {
    position: relative;
    overflow: hidden;
}
.gal-more {
    position: relative;
    overflow: hidden;
}

.hero-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hero-gallery .gal-main:hover img,
.hero-gallery .gal-item:hover img,
.hero-gallery .gal-more:hover img {
    transform: scale(1.04);
}

.gal-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 31, 29, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--f-head);
    font-size: 18px;
    font-weight: 700;
    gap: 8px;
    transition: background 0.2s;
}
.gal-more:hover .gal-more-overlay {
    background: rgba(12, 31, 29, 0.42);
}

@media (max-width: 768px) {
    .hero-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 130px;
        border-radius: var(--r-lg);
    }
    .gal-main {
        grid-column: 1 / 3;
        grid-row: 1;
    }
    .gal-item:nth-child(3),
    .gal-item:nth-child(4) {
        display: none;
    }
    .gal-more {
        grid-column: 2;
        grid-row: 2;
    }
    .gal-item.gal-second {
        display: block;
    }
}

/* Hero info */
.hero-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: start;
    padding: 32px 0 44px;
    border-bottom: 1px solid var(--outline-variant);
}

.hero-title {
    font-family: var(--f-head);
    font-size: 36px;
    font-weight: 700;
    color: var(--on-surface);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
}

.hero-address {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4px 7px;
    font-size: 15px;
    color: var(--on-surface-variant);
    margin-bottom: 18px;
    line-height: 1.5;
}
.hero-address svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}
.hero-address a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hero-desc {
    font-size: 16px;
    color: var(--on-surface-variant);
    line-height: 1.75;
    max-width: 600px;
}

/* CTA Box */
.hero-cta-box {
    background: white;
    border: 1px solid var(--outline-variant);
    border-radius: var(--r-xl);
    padding: 28px 32px 24px;
    min-width: 280px;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}
.cta-box-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    margin-bottom: 6px;
}
.cta-box-price {
    font-family: var(--f-head);
    font-size: 32px;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 20px;
}
.cta-box-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--on-surface-variant);
}

.btn-cta {
    width: 100%;
    background: var(--on-surface);
    color: white;
    font-family: var(--f-body);
    font-size: 16px;
    font-weight: 700;
    padding: 16px;
    border-radius: var(--r-lg);
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    margin-bottom: 10px;
}
.btn-cta:hover {
    background: var(--primary);
}

.cta-box-note {
    text-align: center;
    font-size: 12px;
    color: var(--on-surface-variant);
}

@media (max-width: 800px) {
    .hero-info {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 26px;
    }
    .hero-cta-box {
        min-width: unset;
    }
    .hero-address svg {
        margin-top: 3px;
        flex-shrink: 0;
    }
}

/* ── BOOKING FORM BAR ────────────────────────────── */
#rezerwacja {
    background: white;
    border-bottom: 1px solid var(--outline-variant);
    box-shadow: var(--shadow-sm);
    padding: 20px 0;
    position: sticky;
    top: 72px;
    z-index: 50;
}

.booking-bar {
    display: flex;
    gap: 8px;
    align-items: stretch;
    flex-wrap: wrap;
}

.bb-box {
    background: white;
    border: 1.5px solid var(--outline-variant);
    border-radius: var(--r);
    min-height: 60px;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}
.bb-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(109, 91, 68, 0.1);
}

.bb-dates {
    flex: 2;
    min-width: 320px;
}
.bb-guests {
    flex: 0.9;
    min-width: 200px;
    position: relative;
    cursor: pointer;
    justify-content: space-between;
    user-select: none;
}
.bb-name {
    flex: 0.75;
    min-width: 150px;
}
.bb-phone {
    flex: 0.85;
    min-width: 170px;
}

.bb-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
    margin-right: 10px;
}

.bb-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.bb-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
}

.bb-value {
    font-size: 15px;
    color: var(--on-surface);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bb-date-fields {
    display: flex;
    width: 100%;
    gap: 0;
}
.bb-date-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}
.bb-date-col:first-child {
    padding-right: 14px;
    border-right: 1px solid var(--outline-variant);
    margin-right: 14px;
}
.bb-date-col input,
.bb-name-input,
.bb-phone-input {
    border: none;
    outline: none;
    font-family: var(--f-body);
    font-size: 15px;
    background: transparent;
    color: var(--on-surface);
    width: 100%;
}

.bb-chevron {
    font-size: 11px;
    color: var(--on-surface-variant);
    margin-left: 8px;
    flex-shrink: 0;
}

/* Guest dropdown */
.bb-guest-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 300px;
    background: white;
    border: 1px solid var(--outline-variant);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    display: none;
    z-index: 200;
    cursor: default;
}
.bb-guest-panel.open {
    display: block;
}

.guest-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.guest-row:last-of-type {
    margin-bottom: 0;
}
.guest-row svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}
.guest-row select {
    flex: 1;
    height: 40px;
    border: 1px solid var(--outline-variant);
    border-radius: var(--r);
    padding: 0 12px;
    font-family: var(--f-body);
    font-size: 15px;
    background: white;
    color: var(--on-surface);
    outline: none;
}
.guest-row select:focus {
    border-color: var(--primary);
}

.guest-ok-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--outline-variant);
}
.guest-ok-btn {
    background: var(--on-surface);
    color: white;
    border: none;
    border-radius: var(--r);
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}
.guest-ok-btn:hover {
    background: var(--primary);
}

/* Submit */
.bb-submit {
    background: var(--on-surface);
    color: white;
    border: none;
    border-radius: var(--r);
    min-width: 210px;
    padding: 0 24px;
    font-family: var(--f-body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}
.bb-submit:hover {
    background: var(--primary);
}
.bb-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.booking-status {
    margin-top: 8px;
    font-size: 13px;
    color: var(--on-surface-variant);
    min-height: 18px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
}
.booking-status.error {
    color: #ba1a1a;
    background: #fce4e4;
    border: 1px solid #f5b5b5;
    border-radius: var(--r);
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
}
.booking-status.success {
    color: var(--secondary);
    font-weight: 600;
    font-size: 16px;
    background: #e6f4e6;
    border: 1.5px solid #8cc28c;
    border-radius: var(--r-lg);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.booking-status.success::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--r-full);
    background: #8cc28c;
    color: white;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    #rezerwacja {
        position: static;
        padding: 20px 0 16px;
    }
    .booking-bar {
        flex-direction: column;
    }
    .bb-dates,
    .bb-guests,
    .bb-name,
    .bb-phone {
        width: 100%;
        min-width: unset;
    }
    .bb-guest-panel {
        width: 100%;
    }
    .bb-submit {
        min-height: 56px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .bb-date-fields {
        flex-direction: column;
        gap: 10px;
    }
    .bb-date-col:first-child {
        padding-right: 0;
        border-right: none;
        margin-right: 0;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--outline-variant);
    }
    .hero-wrap {
        padding: 16px 16px 0;
    }
    .hero-title {
        font-size: 22px;
    }
    .hero-info {
        padding: 24px 0 32px;
        gap: 24px;
    }
    .hero-cta-box {
        padding: 20px;
    }
    .cta-box-price {
        font-size: 24px;
        margin-bottom: 14px;
    }
}

/* ── GENERAL SECTION ─────────────────────────────── */
.section {
    padding: 72px 0;
}
.section-bg-white {
    background: white;
}

.section-head {
    margin-bottom: 40px;
}
.section-head.centered {
    text-align: center;
}

.section-title {
    font-family: var(--f-head);
    font-size: 28px;
    font-weight: 700;
    color: var(--on-surface);
    line-height: 1.25;
    margin-bottom: 8px;
}

.section-sub {
    font-size: 16px;
    color: var(--on-surface-variant);
    line-height: 1.65;
}

/* ── TRUST / RATINGS ─────────────────────────────── */
#oceny {
    background: var(--sand-wash);
    border-top: 1px solid var(--sand-mid);
    border-bottom: 1px solid var(--sand-mid);
    padding: 40px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.trust-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--on-surface);
    border-radius: var(--r-xl);
    padding: 24px 20px;
    text-align: center;
    color: white;
}
.trust-total .t-score {
    font-family: var(--f-head);
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 6px;
}
.trust-total .t-label {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}
.trust-total .t-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.trust-portal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--outline-variant);
    border-radius: var(--r-xl);
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.trust-portal .t-score {
    font-family: var(--f-head);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}
.trust-portal .t-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--on-surface);
    margin-bottom: 4px;
}
.trust-portal .t-count {
    font-size: 11px;
    color: var(--on-surface-variant);
}

@media (max-width: 900px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .trust-total {
        grid-column: 1 / 3;
        flex-direction: row;
        gap: 16px;
        padding: 16px 24px;
        text-align: left;
    }
    .trust-total .t-score {
        font-size: 40px;
    }
}
@media (max-width: 600px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }
    .trust-total {
        grid-column: 1 / 3;
    }
}

/* ── ROOMS ───────────────────────────────────────── */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.room-card {
    background: white;
    border: 1px solid var(--outline-variant);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition:
        box-shadow 0.25s,
        transform 0.25s;
}
.room-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.room-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.room-card:hover .room-img img {
    transform: scale(1.06);
}

.room-body {
    padding: 20px;
}

.room-name {
    font-family: var(--f-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 8px;
}
.room-desc {
    font-size: 14px;
    color: var(--on-surface-variant);
    line-height: 1.6;
    margin-bottom: 14px;
}

.room-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.room-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    background: var(--primary-container);
    padding: 4px 10px;
    border-radius: var(--r-full);
}

@media (max-width: 1024px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .rooms-grid {
        grid-template-columns: 1fr;
    }
}

/* ── AMENITIES ───────────────────────────────────── */
.amenities-bar {
    background: var(--sand-light);
    border: 1px solid var(--sand-mid);
    border-radius: var(--r-xl);
    padding: 20px 24px;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.amenities-bar-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    flex-shrink: 0;
}
.amenities-bar-label svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: var(--on-surface);
    background: var(--surface-low);
    border: 1px solid var(--outline-variant);
    border-radius: var(--r-full);
    padding: 8px 16px;
}
.chip svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.amen-card {
    background: white;
    border: 1px solid var(--outline-variant);
    border-radius: var(--r-lg);
    padding: 24px;
}
.amen-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 16px;
}
.amen-card-head svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.amen-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.amen-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--on-surface-variant);
}
.amen-list li svg {
    width: 16px;
    height: 16px;
    color: var(--secondary);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .amenities-grid {
        grid-template-columns: 1fr;
    }
}

/* ── REVIEWS ─────────────────────────────────────── */
.reviews-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.reviews-big {
    font-family: var(--f-head);
    font-size: 64px;
    font-weight: 800;
    color: var(--on-surface);
    line-height: 1;
}
.reviews-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.reviews-stars {
    color: #f59e0b;
    font-size: 22px;
    letter-spacing: 2px;
}
.reviews-count {
    font-size: 14px;
    color: var(--on-surface-variant);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    background: var(--sand-light);
    border: 1px solid var(--sand-mid);
    border-radius: var(--r-xl);
    padding: 28px;
}
.review-quote {
    font-size: 28px;
    color: var(--primary-light);
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 8px;
}
.review-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--on-surface);
    margin-bottom: 20px;
    font-style: italic;
}
.review-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--r-full);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}
.review-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--on-surface);
}
.review-source {
    font-size: 12px;
    color: var(--on-surface-variant);
}

@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ── LOCATION ────────────────────────────────────── */
.location-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.location-info h3 {
    font-family: var(--f-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 12px;
}

.loc-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--on-surface-variant);
    margin-bottom: 28px;
    line-height: 1.6;
}
.loc-address svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.loc-address a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dist-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 28px;
}
.dist-table tr {
    border-bottom: 1px solid var(--outline-variant);
}
.dist-table tr:last-child {
    border-bottom: none;
}
.dist-table td {
    padding: 12px 0;
    vertical-align: middle;
}
.dist-table .dt-place {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--on-surface);
}
.dist-table .dt-dist {
    text-align: right;
    font-weight: 700;
    color: var(--primary);
}

.dt-icon {
    width: 30px;
    height: 30px;
    border-radius: var(--r);
    background: var(--surface-low);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dt-icon svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.map-box {
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--outline-variant);
    box-shadow: var(--shadow-md);
    height: 420px;
}
.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 900px) {
    .location-layout {
        grid-template-columns: 1fr;
    }
    .map-box {
        height: 300px;
    }
}

/* ── FLOATING GOOGLE MAPS BADGE ──────────────────── */
.maps-badge {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid var(--outline-variant);
    border-radius: var(--r-full);
    padding: 10px 18px 10px 10px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    text-decoration: none;
}
.maps-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(12, 31, 29, 0.18);
}

.maps-badge-pin {
    width: 38px;
    height: 38px;
    background: #ea4335;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.maps-badge-pin svg {
    width: 22px;
    height: 22px;
    color: white;
}

.maps-badge-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.maps-badge-top {
    font-size: 13px;
    font-weight: 700;
    color: var(--on-surface);
}
.maps-badge-sub {
    font-size: 11px;
    color: var(--on-surface-variant);
}

@media (max-width: 600px) {
    .maps-badge {
        bottom: 16px;
        right: 16px;
        padding: 10px;
    }
    .maps-badge-text {
        display: none;
    }
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
    background: var(--on-surface);
    color: white;
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 28px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-head);
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 14px;
}
.footer-logo svg {
    width: 22px;
    height: 22px;
    color: var(--primary-light);
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-head);
    font-size: 22px;
    font-weight: 700;
}
.footer-phone svg {
    width: 20px;
    height: 20px;
    color: var(--primary-light);
    flex-shrink: 0;
}
.footer-phone a {
    color: var(--primary-light);
    transition: color 0.15s;
}
.footer-phone a:hover {
    color: white;
}

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.15s;
}
.footer-links a:hover {
    color: white;
}

.footer-addr {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.15s;
}
.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ── LIGHTBOX ────────────────────────────────────── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.93);
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.lightbox.open {
    display: flex;
}

.lb-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-inner img {
    max-width: 88vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: var(--r-lg);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.lb-close {
    position: fixed;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: var(--r-full);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    font-size: 22px;
    transition: background 0.15s;
}
.lb-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.lb-prev,
.lb-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: var(--r-full);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: background 0.15s;
}
.lb-prev {
    left: 16px;
}
.lb-next {
    right: 16px;
}
.lb-prev:hover,
.lb-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lb-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 16px;
    border-radius: var(--r-full);
}

/* ── UTILITY ─────────────────────────────────────── */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
