/**
 * Path: public_html/assets/css/main.css
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --navy: #020080;
    --navy-dark: #01004f;
    --navy-deep: #000035;
    --white: #ffffff;
    --off-white: #f8f9ff;
    --sand: #d7b56d;
    --sand-light: #f4dfaa;
    --sky: #dcecff;
    --text: #172033;
    --muted: #68738c;
    --border: rgba(2, 0, 128, 0.12);
    --white-border: rgba(255, 255, 255, 0.14);
    --shadow: 0 28px 80px rgba(2, 0, 128, 0.16);
    --shadow-dark: 0 28px 90px rgba(0, 0, 53, 0.36);
    --radius: 30px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--text);
}

body.menu-open {
    overflow: hidden;
}

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

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    color: var(--white);
    background: rgba(2, 0, 128, 0.82);
    border-bottom: 1px solid var(--white-border);
    backdrop-filter: blur(20px);
    transition: 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(1, 0, 79, 0.96);
    box-shadow: 0 18px 50px rgba(0, 0, 53, 0.22);
}

.nav-wrap {
    width: min(1280px, calc(100% - 32px));
    min-height: 84px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 26px;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.45);
    color: var(--sand);
    font-weight: 900;
    letter-spacing: -0.04em;
    background: rgba(255,255,255,0.06);
}

.brand-text {
    display: grid;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 18px;
    letter-spacing: -0.03em;
}

.brand-text small {
    margin-top: 4px;
    color: rgba(255,255,255,0.68);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 700;
}

.main-nav > a,
.nav-dropdown > a {
    color: rgba(255,255,255,0.88);
    padding: 30px 0;
    transition: 0.2s ease;
}

.main-nav > a:hover,
.nav-dropdown > a:hover {
    color: var(--sand-light);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 78px;
    left: 50%;
    min-width: 220px;
    transform: translateX(-50%) translateY(8px);
    background: var(--white);
    color: var(--text);
    border-radius: 20px;
    padding: 10px;
    box-shadow: var(--shadow-dark);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.22s ease;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 18px;
    height: 18px;
    transform: translateX(-50%) rotate(45deg);
    background: var(--white);
}

.dropdown-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 13px;
    color: var(--navy);
    font-size: 13px;
}

.dropdown-menu a:hover {
    background: rgba(2, 0, 128, 0.07);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}

.lang-switch a {
    width: 34px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    color: rgba(255,255,255,0.78);
}

.lang-switch a:hover {
    background: rgba(255,255,255,0.12);
    color: var(--sand-light);
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 900;
    transition: 0.24s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--sand);
    color: var(--navy-dark);
    box-shadow: 0 18px 52px rgba(215, 181, 109, 0.32);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--sand-light);
}

.btn-light {
    background: var(--white);
    color: var(--navy);
}

.btn-light:hover {
    transform: translateY(-2px);
    background: var(--sand-light);
}

.btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.42);
    background: rgba(255,255,255,0.08);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

.mobile-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 11px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    border-radius: 999px;
}

.hero-slider {
    position: relative;
    min-height: 100vh;
    background: var(--navy-deep);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    transition: opacity 1s ease, visibility 1s ease, transform 5s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,53,0.88) 0%, rgba(2,0,128,0.55) 45%, rgba(2,0,128,0.18) 100%),
        linear-gradient(0deg, rgba(0,0,0,0.42), rgba(0,0,0,0.05));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding-top: 90px;
    color: var(--white);
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--sand-light);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 38px;
    height: 1px;
    background: currentColor;
}

.hero-content h1,
.hero-content h2 {
    max-width: 780px;
    margin: 0 0 26px;
    font-size: clamp(48px, 8vw, 108px);
    line-height: 0.94;
    letter-spacing: -0.075em;
}

.hero-content p {
    max-width: 650px;
    margin: 0 0 34px;
    color: rgba(255,255,255,0.86);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    background: rgba(255,255,255,0.09);
    color: var(--white);
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s ease;
}

.hero-arrow:hover {
    background: var(--white);
    color: var(--navy);
}

.hero-prev {
    left: 28px;
}

.hero-next {
    right: 28px;
}

.hero-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 34px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: 0.2s ease;
}

.hero-dots button.active {
    width: 54px;
    background: var(--sand-light);
}

.section {
    padding: 110px 0;
}

.intro-section {
    background:
        radial-gradient(circle at 10% 0%, rgba(215,181,109,0.18), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.intro-section h2,
.section-head h2,
.location-section h2,
.booking-cta h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.06;
    letter-spacing: -0.055em;
}

.intro-section p,
.section-head p,
.location-section p,
.booking-cta p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.85;
}

.section-head {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-head.light h2,
.section-head.light p {
    color: var(--white);
}

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

.villa-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.villa-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.villa-card div {
    padding: 26px;
}

.villa-card span {
    color: var(--sand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.villa-card h3 {
    margin: 10px 0 12px;
    color: var(--navy);
    font-size: 24px;
    letter-spacing: -0.035em;
}

.villa-card p {
    color: var(--muted);
    line-height: 1.75;
}

.villa-card a {
    display: inline-flex;
    margin-top: 8px;
    color: var(--navy);
    font-weight: 900;
}

.amenities-band {
    background:
        linear-gradient(135deg, rgba(0,0,53,0.94), rgba(2,0,128,0.94)),
        url('../images/hero/hero-2.webp') center/cover;
    color: var(--white);
}

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

.amenity-item {
    min-height: 110px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 22px;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-weight: 900;
    backdrop-filter: blur(12px);
}

.location-section {
    background: var(--off-white);
}

.location-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.location-image {
    border-radius: 36px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 10px solid var(--white);
}

.location-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.booking-cta {
    position: relative;
    background:
        linear-gradient(135deg, rgba(2,0,128,0.92), rgba(0,0,53,0.94)),
        url('../images/hero/hero-1.webp') center/cover;
    color: var(--white);
    padding: 105px 0;
    overflow: hidden;
}

.booking-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(215,181,109,0.16), transparent 28%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08), transparent 24%);
}

.booking-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    text-align: center;
}

.booking-cta .section-kicker {
    justify-content: center;
}

.booking-cta .section-kicker::before {
    display: none;
}

.booking-cta h2,
.booking-cta p {
    color: var(--white);
}

.booking-cta p {
    color: rgba(255,255,255,0.82);
}

.site-footer {
    position: relative;
    background: var(--navy-deep);
    color: var(--white);
    padding: 80px 0 28px;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, var(--sand), var(--sand-light), var(--sky));
}

.footer-grid {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
    gap: 42px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 22px;
}

.site-footer h4 {
    margin: 0 0 18px;
    color: var(--sand-light);
    font-size: 16px;
}

.site-footer p,
.site-footer a {
    display: block;
    color: rgba(255,255,255,0.74);
    line-height: 1.85;
    margin: 0 0 7px;
}

.site-footer a:hover {
    color: var(--sand-light);
}

.footer-brand p {
    max-width: 390px;
}

.footer-langs {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.footer-langs a {
    width: 40px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    font-weight: 900;
    font-size: 12px;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 48px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255,255,255,0.56);
    font-size: 14px;
}

.page-main {
    padding-top: 84px;
}

.page-hero {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
    color: var(--white);
}

.page-hero h1 {
    font-size: clamp(38px, 6vw, 72px);
    margin: 0 0 18px;
}

.page-hero p {
    max-width: 760px;
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
}

/**
 * Inner pages - Villa Marina
 */

.inner-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    color: var(--white);
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.about-hero {
    background-image: url('../images/hero/hero-1.webp');
}

.apartments-hero {
    background-image: url('../images/hero/hero-3.webp');
}

.inner-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,53,0.9), rgba(2,0,128,0.48), rgba(2,0,128,0.16)),
        linear-gradient(0deg, rgba(0,0,0,0.34), transparent);
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 90px;
}

.inner-hero h1 {
    max-width: 840px;
    margin: 0 0 24px;
    font-size: clamp(42px, 7vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.inner-hero p {
    max-width: 720px;
    color: rgba(255,255,255,0.84);
    font-size: 19px;
    line-height: 1.75;
}

.story-grid,
.image-text-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.story-grid h2,
.image-text-grid h2,
.values-section h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.story-content p,
.image-text-grid p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.image-text-section {
    background: var(--off-white);
}

.image-stack {
    position: relative;
    min-height: 560px;
}

.image-main {
    width: 82%;
    height: 520px;
    object-fit: cover;
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.image-small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 44%;
    height: 260px;
    object-fit: cover;
    border-radius: 28px;
    border: 10px solid var(--white);
    box-shadow: var(--shadow);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 32px;
}

.feature-list div {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 18px 50px rgba(2, 0, 128, 0.08);
}

.feature-list strong {
    display: block;
    color: var(--navy);
    font-size: 24px;
    margin-bottom: 5px;
}

.feature-list span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

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

.values-grid article {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.values-grid article span {
    color: var(--sand);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.14em;
}

.values-grid h3 {
    color: var(--navy);
    font-size: 24px;
    margin: 16px 0 12px;
    letter-spacing: -0.035em;
}

.values-grid p {
    color: var(--muted);
    line-height: 1.8;
}

.apartments-list-section {
    background: linear-gradient(180deg, #ffffff, #f8f9ff);
}

.apartment-list {
    display: grid;
    gap: 34px;
}

.apartment-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 34px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.apartment-row.reverse .apartment-row-image {
    order: 2;
}

.apartment-row-image img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.apartment-row-content {
    padding: clamp(30px, 5vw, 58px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.apartment-type {
    color: var(--sand);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.apartment-row-content h2 {
    margin: 12px 0 18px;
    color: var(--navy);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.apartment-row-content p {
    color: var(--muted);
    line-height: 1.85;
    font-size: 16px;
}

.apartment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 28px;
}

.apartment-meta span {
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(2, 0, 128, 0.07);
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

.apartment-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.text-link {
    color: var(--navy);
    font-weight: 900;
}

.text-link:hover {
    color: var(--sand);
}

/**
 * Apartment detail
 */

.apartment-detail-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    color: var(--white);
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.apartment-detail-section {
    background: #ffffff;
}

.apartment-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 420px;
    gap: 42px;
    align-items: start;
}

.apartment-detail-content {
    background: var(--white);
}

.apartment-detail-content h2 {
    margin: 0 0 22px;
    color: var(--navy);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.apartment-detail-content p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.detail-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.detail-feature-grid div {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 20px;
}

.detail-feature-grid strong {
    display: block;
    color: var(--navy);
    font-size: 20px;
    margin-bottom: 6px;
}

.detail-feature-grid span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.booking-side-card {
    position: sticky;
    top: 110px;
    background:
        linear-gradient(135deg, rgba(2,0,128,0.96), rgba(0,0,53,0.98));
    color: var(--white);
    border-radius: 30px;
    padding: 32px;
    box-shadow: var(--shadow-dark);
}

.booking-side-card h3 {
    margin: 0 0 14px;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.booking-side-card p {
    color: rgba(255,255,255,0.78);
    line-height: 1.75;
    margin-bottom: 26px;
}

.apartment-gallery-section {
    background: var(--off-white);
}

.detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-tile {
    display: block;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}

.gallery-tile img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.35s ease;
}

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

/**
 * Amenities and surroundings pages
 */

.amenities-hero {
    background-image: url('../images/hero/hero-2.webp');
}

.surroundings-hero {
    background-image: url('../images/gallery/3013081.webp');
}

.amenities-page-section {
    background: linear-gradient(180deg, #ffffff, #f8f9ff);
}

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

.amenities-page-grid article {
    min-height: 280px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 32px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.amenities-page-grid article::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(215,181,109,0.16);
}

.amenities-page-grid article span {
    color: var(--sand);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.amenities-page-grid article h3 {
    color: var(--navy);
    font-size: 25px;
    letter-spacing: -0.04em;
    margin: 18px 0 12px;
}

.amenities-page-grid article p {
    color: var(--muted);
    line-height: 1.8;
    margin: 0;
}

.surroundings-section {
    background: var(--off-white);
}

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

.surrounding-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.surrounding-card.large {
    grid-column: span 2;
}

.surrounding-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.surrounding-card.large img {
    height: 420px;
}

.surrounding-card div {
    padding: 28px;
}

.surrounding-card span {
    color: var(--sand);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.surrounding-card h3 {
    color: var(--navy);
    font-size: 26px;
    margin: 12px 0;
    letter-spacing: -0.04em;
}

.surrounding-card p {
    color: var(--muted);
    line-height: 1.75;
    margin: 0;
}

.location-note-section {
    background: #ffffff;
}

.location-note {
    max-width: 860px;
}

.location-note h2 {
    color: var(--navy);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.055em;
    margin: 0 0 20px;
}

.location-note p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.85;
}

/**
 * Prices and contact pages
 */

.prices-hero {
    background-image: url('../images/hero/hero-4.webp');
}

.contact-hero {
    background-image: url('../images/hero/hero-5.webp');
}

.prices-section {
    background: linear-gradient(180deg, #ffffff, #f8f9ff);
}

.price-table-wrap {
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
}

.price-table th {
    background: var(--navy);
    color: var(--white);
    text-align: left;
    padding: 22px;
    font-size: 14px;
}

.price-table td {
    padding: 22px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-weight: 700;
}

.price-table tbody tr:last-child td {
    border-bottom: 0;
}

.price-table td:first-child {
    color: var(--navy);
    font-weight: 900;
}

.price-note {
    margin-top: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.price-note h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 28px;
}

.price-note p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 22px;
}

.contact-section {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: start;
}

.contact-info-card,
.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.contact-info-card {
    padding: 34px;
}

.contact-info-card h2 {
    color: var(--navy);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.055em;
    margin: 0 0 18px;
}

.contact-info-card p {
    color: var(--muted);
    line-height: 1.8;
}

.contact-lines {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.contact-lines div {
    padding: 18px;
    border-radius: 20px;
    background: var(--off-white);
    border: 1px solid var(--border);
}

.contact-lines strong {
    display: block;
    color: var(--navy);
    margin-bottom: 5px;
}

.contact-lines a,
.contact-lines span {
    color: var(--muted);
    line-height: 1.7;
}

.contact-form {
    padding: 34px;
    display: grid;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--navy);
    font-weight: 800;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px 16px;
    font: inherit;
    outline: none;
    background: #ffffff;
}

.contact-form input {
    height: 52px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(2, 0, 128, 0.08);
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.contact-form button {
    border: 0;
    cursor: pointer;
}

/**
 * Booking page
 */

.booking-hero {
    background-image: url('../images/hero/hero-1.webp');
}

.booking-section {
    background: linear-gradient(180deg, #ffffff, #f8f9ff);
}

.booking-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: start;
}

.booking-info-card,
.booking-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.booking-info-card {
    padding: 34px;
}

.booking-info-card h2 {
    color: var(--navy);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.055em;
    margin: 0 0 24px;
}

.booking-steps {
    display: grid;
    gap: 15px;
}

.booking-steps div {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border-radius: 20px;
    background: var(--off-white);
    border: 1px solid var(--border);
}

.booking-steps strong {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--sand-light);
    border-radius: 50%;
    font-size: 13px;
}

.booking-steps span {
    color: var(--muted);
    line-height: 1.6;
    font-weight: 700;
}

.booking-form {
    padding: 34px;
    display: grid;
    gap: 18px;
}

.booking-form label {
    display: grid;
    gap: 8px;
    color: var(--navy);
    font-weight: 800;
    font-size: 14px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px 16px;
    font: inherit;
    outline: none;
    background: #ffffff;
}

.booking-form input,
.booking-form select {
    height: 52px;
}

.booking-form textarea {
    resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(2, 0, 128, 0.08);
}

.form-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.booking-form button {
    border: 0;
    cursor: pointer;
}

/**
 * Dynamic price table additions
 */

.price-table th small,
.price-table td small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
}

.price-table th small {
    color: rgba(255, 255, 255, 0.72);
}

.price-table td strong {
    display: block;
    color: var(--navy);
}

.price-table td small {
    color: var(--muted);
}

.price-request-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--navy);
    color: var(--white);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.price-request-link:hover {
    background: var(--sand);
    color: var(--navy-dark);
}

/**
 * Availability check
 */

.availability-result {
    display: none;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}

.availability-result.checking,
.availability-result.available,
.availability-result.unavailable {
    display: block;
}

.availability-result.checking {
    background: rgba(2, 0, 128, 0.07);
    color: var(--navy);
    border: 1px solid rgba(2, 0, 128, 0.14);
}

.availability-result.available {
    background: rgba(22, 163, 74, 0.10);
    color: #15803d;
    border: 1px solid rgba(22, 163, 74, 0.20);
}

.availability-result.unavailable {
    background: rgba(217, 48, 37, 0.10);
    color: #d93025;
    border: 1px solid rgba(217, 48, 37, 0.20);
}

.booking-form button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/**
 * Footer socials and map
 */

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.footer-socials a {
    width: auto;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    font-weight: 900;
    font-size: 12px;
}

.map-section {
    padding: 90px 0;
    background: #ffffff;
}

.map-box {
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: var(--off-white);
}

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

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

@media (max-width: 1180px) {

    .main-nav {
        gap: 14px;
        font-size: 13px;
    }

    .nav-booking {
        display: none;
    }

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

@media (max-width: 980px) {

    .nav-wrap {
        min-height: 76px;
    }

    .mobile-toggle {
        display: block;
        order: 3;
    }

    .main-nav {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        height: calc(100vh - 76px);
        padding: 26px;
        background: var(--navy-dark);
        display: none;
        flex-direction: column;
        align-items: stretch;
        overflow-y: auto;
    }

    body.menu-open .main-nav {
        display: flex;
    }

    .main-nav > a,
    .nav-dropdown > a {
        padding: 14px 0;
        font-size: 18px;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: rgba(255,255,255,0.08);
        box-shadow: none;
        margin-top: 8px;
        color: var(--white);
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu a {
        color: rgba(255,255,255,0.82);
    }

    .intro-grid,
    .location-grid,
    .story-grid,
    .image-text-grid,
    .apartment-row,
    .apartment-detail-grid,
    .contact-grid,
    .booking-grid {
        grid-template-columns: 1fr;
    }

    .apartment-row.reverse .apartment-row-image {
        order: 0;
    }

    .cards-grid,
    .values-grid,
    .amenities-page-grid,
    .surroundings-grid {
        grid-template-columns: 1fr;
    }

    .surrounding-card.large {
        grid-column: span 1;
    }

    .booking-side-card {
        position: relative;
        top: auto;
    }

    .detail-gallery-grid,
    .detail-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-stack {
        min-height: auto;
    }

    .image-main {
        width: 100%;
    }

    .image-small {
        position: relative;
        width: 70%;
        margin: -90px 0 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-arrow {
        display: none;
    }
}

@media (max-width: 680px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .brand-text small,
    .lang-switch {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    .hero-content {
        width: min(100% - 28px, 1180px);
        padding-top: 78px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: clamp(42px, 15vw, 68px);
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .section {
        padding: 74px 0;
    }

    .inner-hero {
        min-height: 500px;
    }

    .feature-list,
    .form-two,
    .detail-gallery-grid,
    .detail-feature-grid {
        grid-template-columns: 1fr;
    }

    .image-main {
        height: 380px;
    }

    .image-small {
        width: 82%;
        height: 220px;
    }

    .apartment-row-image img {
        min-height: 300px;
    }

    .apartment-actions .btn {
        width: 100%;
    }

    .location-image img {
        height: 360px;
    }

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

    .amenities-page-grid article {
        min-height: auto;
    }

    .surrounding-card img,
    .surrounding-card.large img {
        height: 260px;
    }

    .apartment-detail-hero {
        min-height: 560px;
    }

    .gallery-tile img {
        height: 240px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}