/* ================================================
   KUPFERSCHMIEDE - LUXURY VACATION RENTAL
   Optimized for Desktop & Mobile (40+ Target Audience)
================================================ */

/* --- Design Tokens --- */
:root {
    /* Colors - High Contrast for 40+ */
    --color-primary: #7A6348;
    --color-primary-dark: #5C4A35;
    --color-accent: #B8973F;
    
    --color-ink: #1A1A1A;
    --color-text: #2D2D2D;
    --color-muted: #5A5A5A;
    --color-light: #8A8A8A;
    
    --color-bg: #FEFDFB;
    --color-bg-warm: #FAF8F5;
    --color-bg-dark: #1C1C1C;
    --color-white: #FFFFFF;
    
    /* Platform Colors */
    --airbnb: #FF385C;
    --booking: #003580;
    --whatsapp: #25D366;
    
    /* Typography */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing - Optimized */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 5rem;
    --space-2xl: 7rem;
    
    /* Layout */
    --container: 1100px;
    --container-wide: 1300px;
    --container-narrow: 720px;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
}

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

html {
    font-size: 17px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* --- Utility --- */
.overline {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

/* --- Mobile Booking Bar --- */
.mobile-booking-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 0.875rem 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.js-enabled .mobile-booking-bar {
    transform: translateY(100%);
}

.price-preview { display: flex; align-items: baseline; gap: 0.25rem; }
.price-preview .from { font-size: 0.8rem; color: var(--color-muted); }
.price-preview .price { font-size: 1.35rem; font-weight: 700; color: var(--color-ink); }
.price-preview .per { font-size: 0.9rem; color: var(--color-muted); }

.btn-book-now {
    background: var(--color-ink);
    color: var(--color-white);
    padding: 0.9rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    white-space: nowrap;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 1.5rem;
    transition: all 0.4s var(--ease);
}

.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

.nav.scrolled::before { opacity: 0; }

.nav.scrolled {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
    padding: 0.75rem 1.5rem;
}

.nav.menu-open {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav.menu-open::before {
    opacity: 0;
}

.nav-inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo img {
    height: 48px;
    filter: brightness(0) invert(1);
    transition: all 0.3s var(--ease);
}

.nav.scrolled .nav-logo img {
    filter: none;
    height: 40px;
}

.nav.menu-open .nav-logo img {
    filter: none;
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
    opacity: 0.9;
    padding: 0.5rem 0;
}

.nav.scrolled .nav-links a {
    color: var(--color-text);
    opacity: 1;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--color-primary);
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease);
}

.nav-contact:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.02);
}

.nav.scrolled .nav-contact { 
    color: var(--color-ink);
    background: var(--color-bg-warm);
}

.nav-toggle {
    display: none;
    width: 28px;
    height: 22px;
    position: relative;
    z-index: 10;
}

.nav-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s;
}

.nav-toggle::before,
.nav-toggle::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    transition: 0.3s;
}

.nav-toggle::before { top: 0; }
.nav-toggle::after { bottom: 0; }

.nav.scrolled .nav-toggle span,
.nav.scrolled .nav-toggle::before,
.nav.scrolled .nav-toggle::after {
    background: var(--color-ink);
}

.nav.menu-open .nav-toggle span,
.nav.menu-open .nav-toggle::before,
.nav.menu-open .nav-toggle::after {
    background: var(--color-ink);
}

/* Mobile Menu Animation */
.nav-toggle.active span {
    opacity: 0;
}

.nav-toggle.active::before {
    top: 50%;
    transform: rotate(45deg);
}

.nav-toggle.active::after {
    bottom: 50%;
    transform: rotate(-45deg);
}

/* Dark Navigation (for subpages with hero images) */
.nav-dark::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}

/* Mobile Navigation Overlay */
.nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    overflow-y: auto;
    background: #fff;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    z-index: 99;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-links.open a {
    color: var(--color-ink) !important;
    font-size: 1.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-links.open a:hover,
.nav-links.open a.active {
    color: var(--color-primary) !important;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 380px;
    align-items: end;
    padding: 100px 3rem 3rem;
    gap: 2.5rem;
}

.hero-visual {
    position: absolute;
    inset: 0;
    z-index: -1;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.45) 100%),
        linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 50%);
}

.hero-content {
    color: var(--color-white);
    padding-bottom: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-badge i { color: var(--airbnb); }
.hero-badge .divider { opacity: 0.3; }
.hero-badge .rating { color: var(--color-accent); }

.hero h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.hero-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-features {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.hero-features i {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* --- Booking Card --- */
.hero-booking {
    position: relative;
    z-index: 10;
}

.booking-card {
    background: var(--color-white);
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eee;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-ink);
}

.price-unit {
    font-size: 0.95rem;
    color: var(--color-muted);
}

.booking-rating .stars {
    color: var(--color-accent);
    font-size: 0.9rem;
}

.booking-rating .count {
    display: block;
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-top: 0.2rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.85rem 0.9rem;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--color-ink);
    background: var(--color-white);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: var(--color-ink);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: scale(1.02) translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.booking-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-top: 0.875rem;
}

.booking-platforms {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.booking-platforms > span {
    font-size: 0.75rem;
    color: var(--color-light);
    display: block;
    margin-bottom: 0.6rem;
}

.platform-logos {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    align-items: center;
}

.platform-logos img {
    height: 18px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.platform-logos img:hover {
    opacity: 0.8;
}

/* --- Trust Bar --- */
.trust-bar {
    background: var(--color-bg-warm);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.trust-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-ink);
}

.trust-label {
    font-size: 0.75rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.trust-divider {
    width: 1px;
    height: 35px;
    background: rgba(0,0,0,0.1);
}

/* --- Live Booking Section --- */
.live-booking {
    padding: var(--space-xl) 1.5rem;
    background: var(--color-bg);
}

.live-booking-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.live-booking-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.live-booking-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-ink);
}

.smoobu-calendar-embed {
    background: var(--color-white);
    border-radius: 14px;
    padding: 0.6rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    overflow: hidden;
}

.smoobu-calendar-widget {
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    border-radius: 12px;
}

.smoobu-calendar-widget .calendarContent {
    padding: 0.35rem;
    min-height: 380px;
}

@media (min-width: 769px) {
    .smoobu-calendar-widget .multiCalendarWidget {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
    }

    .smoobu-calendar-widget .multiCalendarWidget .fullCalendar {
        display: block !important;
        float: none !important;
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }
}

.booking-tool-embed {
    background: var(--color-white);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: visible;
    max-height: none;
    margin-bottom: 0.9rem;
}

.booking-tool-embed iframe,
#apartmentIframeAll iframe {
    width: 100% !important;
    min-height: clamp(520px, 66vh, 760px);
    height: auto;
    border: 0;
    border-radius: 10px;
    display: block;
    background: var(--color-white);
}

.booking-tool-embed noscript p {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.booking-tool-embed noscript a {
    color: var(--color-primary);
    font-weight: 600;
}

.booking-fullview-btn {
    width: 100%;
    text-align: center;
    margin: 0.2rem 0 0.7rem;
    padding: 0.9rem 1rem;
    border-width: 1px;
    border-color: rgba(139, 115, 85, 0.35);
    background: rgba(139, 115, 85, 0.08);
    color: var(--color-primary);
    font-size: 0.92rem;
}

.booking-fullview-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-1px);
}

.booking-fallback-link {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.86rem;
    color: var(--color-muted);
}

.booking-fallback-link a {
    color: var(--color-primary);
    font-weight: 600;
}

#booking-tool,
#calendar {
    scroll-margin-top: 96px;
}

/* --- Introduction --- */
.intro {
    padding: var(--space-xl) 1.5rem;
    max-width: var(--container-wide);
    margin: 0 auto;
}

.intro-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-ink);
    margin-bottom: 1.25rem;
}

.intro-text p {
    color: var(--color-text);
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1.02rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-primary);
    margin-top: 1rem;
    padding: 0.5rem 0;
}

.text-link:hover {
    gap: 0.75rem;
}

.intro-visual {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
    align-items: end;
}

.intro-img-main img {
    border-radius: 12px;
    aspect-ratio: 4/5;
    object-fit: cover;
    width: 100%;
}

.intro-img-secondary {
    position: relative;
}

.intro-img-secondary img {
    border-radius: 12px;
    aspect-ratio: 3/4;
    object-fit: cover;
    width: 100%;
}

.img-caption {
    position: absolute;
    bottom: -1.75rem;
    left: 0;
    font-size: 0.85rem;
    color: var(--color-muted);
    font-style: italic;
}

/* --- Gallery --- */
.gallery {
    padding: var(--space-xl) 0;
    background: var(--color-bg-warm);
}

.gallery-header {
    text-align: center;
    max-width: var(--container-narrow);
    margin: 0 auto 2.5rem;
    padding: 0 1.5rem;
}

.gallery-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 260px 260px;
    gap: 0.75rem;
    padding: 0 0.75rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--color-white);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s var(--ease);
}

.gallery-item:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Grid Positions */
.gi-1 { grid-column: 1 / 6; grid-row: 1 / 2; }
.gi-2 { grid-column: 6 / 9; grid-row: 1 / 2; }
.gi-3 { grid-column: 9 / 13; grid-row: 1 / 3; }
.gi-4 { grid-column: 1 / 4; grid-row: 2 / 3; }
.gi-5 { grid-column: 4 / 9; grid-row: 2 / 3; }

.gallery-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding: 0 1.5rem;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid var(--color-ink);
    color: var(--color-ink);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s var(--ease);
}

.btn-secondary:hover {
    background: var(--color-ink);
    color: var(--color-white);
    transform: scale(1.02) translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* --- Highlights --- */
.highlights {
    padding: var(--space-xl) 1.5rem;
}

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

.highlights-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.highlights-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-ink);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.highlight-item {
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: var(--color-bg-warm);
    border-radius: 14px;
    transition: all 0.4s var(--ease);
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.highlight-icon i {
    font-size: 1.35rem;
    color: var(--color-primary);
}

.highlight-item h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-ink);
    margin-bottom: 0.4rem;
}

.highlight-item p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.5;
}

.highlights-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* --- Location --- */
.location {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 550px;
}

.location-visual {
    position: relative;
}

.location-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-content {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-bg-warm);
}

.location-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.location-content > p {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.75;
    font-size: 1rem;
}

.location-distances {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.distance-item {
    padding: 0.875rem;
    background: var(--color-white);
    border-radius: 8px;
}

.distance-time {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.distance-place {
    font-size: 0.9rem;
    color: var(--color-text);
}

/* --- Discover Grid --- */
.discover {
    padding: var(--space-xl) 1.5rem;
}

.discover-header {
    text-align: center;
    max-width: var(--container-narrow);
    margin: 0 auto 2.5rem;
}

.discover-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
}

.discover-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 240px 240px;
    gap: 0.875rem;
}

.discover-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.discover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.discover-card:hover img {
    transform: scale(1.08);
}

.dc-content {
    position: absolute;
    inset: 0;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
    color: var(--color-white);
}

.dc-content h3 {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.dc-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.4rem;
}

.dc-link {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s var(--ease);
}

.discover-card:hover .dc-link {
    opacity: 1;
    transform: translateY(0);
}

/* Discover Grid Positions */
.dc-large { grid-column: 1 / 2; grid-row: 1 / 3; }
.dc-wide { grid-column: 2 / 4; grid-row: 2 / 3; }

/* --- Reviews --- */
.reviews {
    padding: var(--space-xl) 1.5rem;
    background: var(--color-bg-warm);
}

.reviews-header {
    text-align: center;
    max-width: var(--container-narrow);
    margin: 0 auto 2.5rem;
}

.reviews-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
}

.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.summary-score .score {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-ink);
}

.summary-score .stars {
    color: var(--color-accent);
    font-size: 0.9rem;
}

.summary-text {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.reviews-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.review-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 12px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.review-platform {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.review-platform.airbnb { background: var(--airbnb); }
.review-platform.booking { background: var(--booking); }

.review-meta { flex: 1; }

.review-author {
    font-weight: 600;
    color: var(--color-ink);
    display: block;
    font-size: 0.95rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.review-rating {
    color: var(--color-accent);
    font-size: 0.85rem;
}

.review-card blockquote {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text);
    font-style: italic;
}

.reviews-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* --- Final CTA --- */
.final-cta {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(28, 28, 28, 0.75);
}

.cta-content {
    position: relative;
    color: var(--color-white);
    max-width: 550px;
    padding: 2rem 1.5rem;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1.75rem;
    line-height: 1.65;
}

.btn-large {
    padding: 1.15rem 2.5rem;
    font-size: 1rem;
}

.cta-content .btn-primary {
    background: var(--color-white);
    color: var(--color-ink);
}

.cta-content .btn-primary:hover {
    background: var(--color-accent);
    color: var(--color-ink);
}

.cta-contact {
    margin-top: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cta-contact > span {
    font-size: 0.9rem;
    opacity: 0.7;
    width: 100%;
    margin-bottom: 0.25rem;
}

.contact-whatsapp,
.contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--color-white);
    transition: background 0.2s;
}

.contact-whatsapp:hover { background: var(--whatsapp); }
.contact-phone:hover { background: rgba(255,255,255,0.2); }

/* --- Footer --- */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.7);
}

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

.footer-logo {
    height: 38px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--color-white);
    color: var(--color-ink);
}

.footer-nav {
    display: flex;
    gap: 3rem;
}

.footer-col h4,
.footer-contact h4 {
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.65rem;
}

.footer-col ul li a {
    font-size: 0.9rem;
}

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

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

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem 1.5rem;
    text-align: center;
    font-size: 0.8rem;
}

/* ================================================
   RESPONSIVE DESIGN
================================================ */

/* Large Desktop */
@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr 350px;
        padding: 90px 2rem 2.5rem;
        gap: 2rem;
    }
    
    .hero h1 { font-size: 3rem; }
    .intro-layout { gap: 3rem; }
    .footer-main { gap: 2rem; }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .nav {
        transition: transform 0.32s var(--ease), padding 0.32s var(--ease), background 0.32s var(--ease), box-shadow 0.32s var(--ease), backdrop-filter 0.32s var(--ease);
        will-change: transform;
    }

    .nav.nav-hidden {
        transform: translateY(-110%);
    }

    .nav.menu-open,
    .nav.menu-open.nav-hidden {
        transform: none !important;
        z-index: 1500;
    }

    .nav-links.open {
        z-index: 110;
    }

    .nav-toggle {
        z-index: 120;
    }

    .nav-links, .nav-contact { display: none; }
    .nav-toggle { display: block; }
    
    .hero {
        grid-template-columns: 1fr;
        padding: 100px 1.5rem 80px;
        align-items: flex-end;
        min-height: 85vh;
    }
    
    .hero-content { padding-bottom: 0; }
    .hero h1 { font-size: 2.75rem; }
    .hero-tagline { font-size: 1.1rem; }
    
    .hero-booking {
        display: none;
    }
    
    .mobile-booking-bar { display: flex; }
    body.has-mobile-booking-bar { padding-bottom: 92px; }
    
    .trust-inner {
        gap: 1.5rem;
        flex-wrap: wrap;
        padding: 1rem;
    }
    
    .trust-divider { display: none; }
    .trust-item { min-width: 100px; }

    .live-booking {
        padding: var(--space-xl) 1rem;
    }
    
    .live-booking-header h2 {
        font-size: 1.8rem;
    }
    
    .intro-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .intro-text { text-align: center; }
    .intro-text h2 { font-size: 1.9rem; }
    
    .intro-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px 200px;
    }
    
    .gi-1, .gi-2, .gi-3, .gi-4, .gi-5 {
        grid-column: auto;
        grid-row: auto;
    }
    
    .gi-3 { grid-column: 1 / 3; }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .location-visual { height: 280px; }
    .location-content { padding: 2.5rem 1.5rem; }
    
    .discover-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px;
    }
    
    .dc-large, .dc-wide {
        grid-column: auto;
        grid-row: auto;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
    }
    
    .review-card { padding: 1.25rem; }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 2.5rem 1.5rem;
    }
    
    .footer-nav { justify-content: center; }
    .footer-social { justify-content: center; }
}

/* Tablet Portrait & Mobile Landscape */
@media (max-width: 768px) {
    html { font-size: 16px; }
    html.page-home { font-size: 18px; }
    
    :root {
        --space-xl: 3.5rem;
        --space-2xl: 4.5rem;
    }
    
    .nav { padding: 0.875rem 1rem; }
    .nav.scrolled { padding: 0.75rem 1rem; }
    .nav-logo img { height: 40px; }
    .nav.scrolled .nav-logo img { height: 36px; }
    
    .hero {
        padding: 80px 1rem 70px;
        min-height: 75vh;
    }
    
    .hero h1 { font-size: 2.25rem; }
    .hero-tagline { font-size: 1rem; margin-bottom: 1.25rem; }
    .hero-badge { font-size: 0.8rem; padding: 0.4rem 0.85rem; }
    .hero-features { gap: 0.75rem 1rem; }
    .hero-features span { font-size: 0.9rem; }
    
    .mobile-booking-bar {
        padding: 0.75rem 1rem;
    }
    body.has-mobile-booking-bar { padding-bottom: 88px; }
    
    .btn-book-now {
        padding: 0.8rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .trust-inner { padding: 0.875rem; gap: 1rem; }
    .trust-number { font-size: 1.2rem; }
    .trust-label { font-size: 0.7rem; }

    .live-booking-header h2 { font-size: 1.6rem; }
    .smoobu-calendar-embed {
        padding: 0.45rem;
        margin-bottom: 0.85rem;
    }
    .smoobu-calendar-widget .calendarContent { min-height: 340px; }
    .smoobu-calendar-widget .multiCalendarWidget .fullCalendar:nth-of-type(n + 2) {
        display: none !important;
    }
    .smoobu-calendar-widget .multiCalendarWidget .fullCalendar:first-of-type {
        width: 100% !important;
        float: none !important;
    }
    .smoobu-calendar-widget .multiCalendarWidget .singleCalendarWidget table td,
    .smoobu-calendar-widget .multiCalendarWidget .singleCalendarWidget h2 table td {
        height: 54px !important;
        line-height: 54px !important;
    }
    .booking-tool-embed {
        padding: 0.75rem;
    }
    .booking-tool-embed iframe,
    #apartmentIframeAll iframe {
        min-height: clamp(560px, 78dvh, 900px);
    }
    
    .intro { padding: var(--space-xl) 1rem; }
    .intro-text h2 { font-size: 1.7rem; }
    .intro-text p { font-size: 0.95rem; }
    
    .intro-visual {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .intro-img-secondary { display: none; }
    .intro-img-main img { aspect-ratio: 4/3; }
    
    .gallery { padding: var(--space-xl) 0; }
    .gallery-header { margin-bottom: 2rem; }
    .gallery-header h2 { font-size: 1.7rem; }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 180px);
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .gi-1, .gi-2, .gi-3, .gi-4, .gi-5 {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    
    .highlights { padding: var(--space-xl) 1rem; }
    .highlights-header h2 { font-size: 1.7rem; }
    
    .highlights-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .highlight-item {
        padding: 1.25rem 1rem;
    }
    
    .highlight-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.75rem;
    }
    
    .highlight-icon i { font-size: 1.2rem; }
    .highlight-item h3 { font-size: 1rem; }
    .highlight-item p { font-size: 0.85rem; }
    
    .location-content h2 { font-size: 1.7rem; }
    .location-content > p { font-size: 0.95rem; }
    .location-distances { grid-template-columns: 1fr; gap: 0.5rem; }
    
    .discover { padding: var(--space-xl) 1rem; }
    .discover-header h2 { font-size: 1.7rem; }
    
    .discover-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 180px);
    }
    
    .dc-content h3 { font-size: 1.25rem; }
    .dc-content p { font-size: 0.85rem; }
    
    .reviews { padding: var(--space-xl) 1rem; }
    .reviews-header h2 { font-size: 1.7rem; }
    .summary-score .score { font-size: 2rem; }
    
    .review-card blockquote { font-size: 0.9rem; }
    
    .final-cta { min-height: 400px; }
    .cta-content h2 { font-size: 2rem; }
    .cta-content > p { font-size: 1rem; }
    .btn-large { padding: 1rem 2rem; }
    
    .footer-nav {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    html { font-size: 15px; }
    html.page-home { font-size: 17px; }
    
    .hero { min-height: 70vh; padding: 70px 1rem 60px; }
    .hero h1 { font-size: 1.9rem; }
    .hero-features span { font-size: 0.85rem; }
    
    .trust-inner { 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    html.page-home .highlights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }
    
    .highlight-item {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
        padding: 1rem;
    }

    html.page-home .highlight-item {
        display: block;
        text-align: center;
        padding: 1rem 0.75rem;
    }
    
    .highlight-icon {
        margin: 0;
        flex-shrink: 0;
    }

    html.page-home .highlight-icon {
        margin: 0 auto 0.6rem;
    }

    html.page-home .highlight-item h3 { font-size: 0.95rem; }
    html.page-home .highlight-item p { font-size: 0.84rem; line-height: 1.4; }
    
    .cta-content h2 { font-size: 1.75rem; }
    .smoobu-calendar-widget .calendarContent { min-height: 320px; }
    body.has-mobile-booking-bar { padding-bottom: 86px; }
    
    .footer-main { padding: 2rem 1rem; }
}

/* Mobile fine-tuning */
@media (max-width: 390px) {
    .mobile-booking-bar {
        gap: 0.65rem;
        padding: 0.7rem 0.75rem;
    }

    .price-preview .from,
    .price-preview .per {
        font-size: 0.75rem;
    }

    .price-preview .price {
        font-size: 1.15rem;
    }

    .btn-book-now {
        padding: 0.74rem 1rem;
        font-size: 0.84rem;
    }

    .booking-tool-embed {
        padding: 0.6rem;
    }

    .smoobu-calendar-widget .calendarContent { min-height: 300px; }
    .booking-tool-embed iframe,
    #apartmentIframeAll iframe {
        min-height: clamp(600px, 86dvh, 980px);
    }

    .booking-fallback-link {
        font-size: 0.8rem;
    }

    body.has-mobile-booking-bar {
        padding-bottom: 84px;
    }
}

@media (max-width: 360px) {
    .mobile-booking-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .price-preview {
        justify-content: center;
    }

    .btn-book-now {
        width: 100%;
        text-align: center;
    }
    .booking-tool-embed iframe,
    #apartmentIframeAll iframe {
        min-height: clamp(620px, 90dvh, 1020px);
    }

    body.has-mobile-booking-bar {
        padding-bottom: 124px;
    }
}

/* Safe area for notched phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-booking-bar {
        padding-bottom: calc(0.875rem + env(safe-area-inset-bottom));
    }
}

/* Improve touch targets */
@media (hover: none) and (pointer: coarse) {
    .btn-primary,
    .btn-secondary,
    .btn-book-now,
    .nav-toggle,
    .gallery-item,
    .discover-card,
    .highlight-item {
        min-height: 44px;
    }
    
    .nav-links a,
    .footer-col a {
        padding: 0.75rem 0;
    }
    
    /* Disable hover animations on touch */
    .gallery-item:hover img,
    .discover-card:hover img,
    .intro-img-main:hover img {
        transform: none;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-text: #000000;
        --color-muted: #333333;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
}

/* Print styles */
@media print {
    .nav,
    .mobile-booking-bar,
    .hero-booking,
    .footer {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
}
