/* ==========================================================================
   AURA TULUM — Design System
   Inspired by Anantara Zanzibar: ultra-clean, refined, warm, unhurried
   ========================================================================== */

/* ==========================================================================
   0. WEB FONTS
   ========================================================================== */

@font-face {
    font-family: 'Chamberi Display';
    src: url('../fonts/chamberi-display-regular.otf') format('opentype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'freight-pro-medium';
    src: url('../fonts/freight-text-pro-400.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'freight-pro-medium';
    src: url('../fonts/freight-text-pro-700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
    /* Colors — derived from logo palette */
    --at-black: #0f0f17;
    --at-white: #ffffff;
    --at-cream: #F9F5F3;
    --at-sand: #EDE6DE;
    --at-bronze: #c98646;
    --at-taupe: #c98646;
    --at-bronze-light: #d9a87a;
    --at-bronze-dark: #5c3f41;
    --at-taupe-dark: #5c3f41;
    --at-green: #013334;
    --at-green-light: #0a5c5e;
    --at-text: #565864;
    --at-text-light: #7A7A7A;
    --at-text-heading: #a7703e;
    --at-border: #E8E0D8;

    /* Typography */
    --at-font-heading: 'Chamberi Display', sans-serif;
    --at-font-body: 'freight-pro-medium', sans-serif;

    /* Spacing */
    --at-section-pad: 100px;
    --at-container-pad: 40px;
    --at-container-max: 1280px;

    /* Transitions */
    --at-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --at-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --at-duration: 0.4s;
    --at-duration-slow: 0.6s;

    /* Header */
    --at-header-height: 120px;
    --at-header-height-scrolled: 90px;
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--at-font-body);
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    color: var(--at-text);
    background-color: var(--at-white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background-color: var(--at-bronze);
    color: var(--at-white);
}

img,
picture,
video,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--at-bronze);
    text-decoration: none;
    transition: color var(--at-duration) var(--at-ease);
}

a:hover {
    color: var(--at-bronze-dark);
}

ul,
ol {
    list-style: none;
}

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

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--at-font-heading);
    font-weight: 600;
    line-height: 1;
    color: var(--at-text-heading);
    letter-spacing: normal;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 14px;
}

p {
    margin-bottom: 1.5em;
    color: var(--at-text);
}

p:last-child {
    margin-bottom: 0;
}

.at-lead {
    font-size: clamp(1.125rem, 1.5vw, 1.35rem);
    line-height: 1.9;
    color: var(--at-text-light);
    font-weight: 300;
}


/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.at-main {
    min-height: 50vh;
    padding-top: var(--at-header-height);
}

.at-container {
    max-width: var(--at-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--at-container-pad);
    padding-right: var(--at-container-pad);
}

.at-container--narrow {
    max-width: 860px;
}

.at-container--wide {
    max-width: 1480px;
}

.at-section {
    padding: var(--at-section-pad) 0;
    position: relative;
}

.at-section--cream {
    background-color: var(--at-cream);
}

.at-section--dark {
    background-color: var(--at-black);
    color: rgba(255, 255, 255, 0.8);
}

.at-section--dark h1,
.at-section--dark h2,
.at-section--dark h3,
.at-section--dark h4,
.at-section--dark h5,
.at-section--dark h6 {
    color: var(--at-white);
}

.at-section--dark p {
    color: rgba(255, 255, 255, 0.65);
}

.at-section--sand {
    background-color: var(--at-sand);
}

.at-grid {
    display: grid;
    gap: 40px;
}

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


/* ==========================================================================
   5. HEADER
   ========================================================================== */

.at-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--at-header-height);
    background-color: var(--at-white);
    border-bottom: 1px solid var(--at-border);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.at-header--scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-bottom-color: transparent;
}

.at-header--hidden {
    transform: translateY(-100%);
}

.at-header__inner {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Desktop nav halves */
.at-header__nav {
    display: none;
}

@media (min-width: 1025px) {
    .at-header__nav {
        display: flex;
        align-items: center;
        flex: 1;
    }

    .at-header__nav--left {
        justify-content: flex-end;
        padding-right: 48px;
    }

    .at-header__nav--right {
        justify-content: flex-start;
        padding-left: 48px;
    }

    .at-header__toggle {
        display: none !important;
    }
}

/* Logo — centered */
.at-header__logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 100%;
}

.at-header__logo-img {
    height: 58px;
    width: auto;
    transition: opacity var(--at-duration) var(--at-ease);
}

.at-header__logo-img--light {
    display: none;
}

.at-header__logo-img--dark {
    display: block;
}

/* Actions (lang switch / WhatsApp) */
.at-header__actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: 28px;
}

/* Navigation links */
.at-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.at-nav > li {
    position: relative;
}

.at-nav > li > a {
    font-family: var(--at-font-body);
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    color: var(--at-black);
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.4s ease;
    position: relative;
    white-space: nowrap;
}

.at-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--at-bronze);
    transition: width 0.4s var(--at-ease);
}

.at-nav > li > a:hover::after,
.at-nav > li.current-menu-item > a::after {
    width: 100%;
}

.at-nav > li > a:hover,
.at-nav > li.current-menu-item > a {
    color: var(--at-text-heading);
}

/* Dropdown submenu */
.at-nav__dropdown {
    position: relative;
}

.at-nav__sub {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background-color: var(--at-white);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    padding: 16px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    border-top: 1px solid var(--at-bronze);
}

.at-nav__dropdown:hover .at-nav__sub,
.at-nav__dropdown.is-open .at-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.at-nav__sub li a {
    display: block;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 300;
    color: var(--at-text);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    white-space: nowrap;
}

.at-nav__sub li a:hover {
    color: var(--at-bronze);
    padding-left: 34px;
}

/* Header actions */
.at-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.at-header__brochure {
    color: var(--at-white) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.at-header__brochure:hover {
    background-color: var(--at-white) !important;
    color: var(--at-black) !important;
    border-color: var(--at-white) !important;
}

.at-header--scrolled .at-header__brochure {
    color: var(--at-bronze) !important;
    border-color: var(--at-bronze) !important;
}

.at-header--scrolled .at-header__brochure:hover {
    background-color: var(--at-bronze) !important;
    color: var(--at-white) !important;
}

/* Language switcher */
.at-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--at-border);
    border-radius: 100px;
    padding: 2px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}

.at-lang-switch__current,
.at-lang-switch__link {
    font-family: var(--at-font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 100px;
    transition: all 0.3s ease;
    line-height: 1;
}

.at-lang-switch__current {
    background: var(--at-black);
    color: var(--at-white);
}

.at-lang-switch__link {
    color: var(--at-text-light);
    cursor: pointer;
}

.at-lang-switch__link:hover {
    color: var(--at-black);
}

.at-lang-switch__sep {
    width: 0;
    height: 0;
    display: none;
}

/* WhatsApp header icon */
.at-header__whatsapp {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgb(86, 88, 100);
    transition: color 0.3s ease;
}

.at-header__whatsapp:hover {
    color: #25D366;
}

.at-header__whatsapp svg {
    width: 24px;
    height: 24px;
}

.at-header__whatsapp span {
    font-family: var(--at-font-body);
    font-size: 18px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
}

@media (min-width: 1025px) {
    .at-header__whatsapp svg {
        width: 24px;
        height: 24px;
    }

    .at-header__whatsapp span {
        font-size: 18px;
    }
}

/* Mobile lang switch — hidden on desktop */
.at-header__actions--mobile {
    display: none;
}

@media (max-width: 1024px) {
    .at-header__actions--mobile {
        display: flex;
    }

    /* Compact mobile header — logo stays the hero */
    :root {
        --at-header-height: 88px;
    }

    .at-header {
        height: 88px;
    }

    .at-header__inner {
        justify-content: space-between;
        height: 88px;
    }

    .at-header__logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .at-header__logo-img {
        height: 64px;
    }

    /* Mobile WhatsApp — discreet icon-only, logo stays the focus */
    .at-header__actions--mobile .at-header__whatsapp {
        gap: 0;
        color: var(--at-text-light);
    }
    .at-header__actions--mobile .at-header__whatsapp span {
        display: none;
    }
    .at-header__actions--mobile .at-header__whatsapp svg {
        width: 20px;
        height: 20px;
    }
}

/* Hamburger toggle */
.at-header__toggle {
    display: block;
    width: 26px;
    height: 16px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
    flex-shrink: 0;
}

.at-header__toggle span {
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    background-color: var(--at-black);
    left: 0;
    transition: all 0.4s var(--at-ease);
}

.at-header__toggle span:nth-child(1) { top: 0; }
.at-header__toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.at-header__toggle span:nth-child(3) { bottom: 0; }

.at-header__toggle.is-active span {
    background-color: var(--at-black);
}

.at-header__toggle.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.at-header__toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.at-header__toggle.is-active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}


/* ==========================================================================
   6. MOBILE MENU
   ========================================================================== */

/* Mobile menu — white overlay, Anantara-style */
.at-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background-color: #0f1419;
    height: 0;
    overflow: hidden;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.at-mobile-menu.is-open {
    height: 100vh;
    height: 100dvh;
}

.at-mobile-menu__header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    z-index: 1;
}

.at-mobile-menu__logo img {
    height: 60px;
    width: auto;
}

.at-mobile-menu__close {
    background: none;
    border: none;
    color: var(--at-white);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.at-mobile-menu__inner {
    text-align: left;
    padding: 90px 40px 30px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.at-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.at-mobile-nav > li > a {
    font-family: var(--at-font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 7px 0;
    display: block;
    letter-spacing: 0.04em;
    border-bottom: none;
    transition: color 0.3s ease;
}

.at-mobile-nav > li:first-child > a {
    border-top: none;
}

.at-mobile-nav > li > a:hover {
    color: var(--at-bronze);
}

.at-mobile-nav .at-nav__sub {
    position: static;
    transform: none;
    background: none;
    box-shadow: none;
    border-top: none;
    opacity: 1;
    visibility: visible;
    padding: 4px 0 12px 18px;
    min-width: 0;
    display: none;
    margin: 0;
    list-style: none;
}

.at-mobile-nav .at-nav__dropdown.is-open .at-nav__sub {
    display: block;
    transform: none;
    opacity: 1;
    visibility: visible;
}

.at-mobile-nav .at-nav__dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 4px;
}

.at-mobile-nav .at-nav__dropdown > a::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
    margin-left: 14px;
    opacity: 0.65;
}

.at-mobile-nav .at-nav__dropdown.is-open > a::after {
    transform: rotate(45deg);
    opacity: 1;
    color: var(--at-bronze);
}

.at-mobile-nav .at-nav__sub li a {
    font-family: var(--at-font-heading);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    border-bottom: none;
    display: block;
    letter-spacing: 0.03em;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.at-mobile-nav .at-nav__sub li a:hover,
.at-mobile-nav .at-nav__sub li.current-menu-item a {
    color: var(--at-bronze);
    padding-left: 6px;
}

.at-mobile-menu__footer {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.at-mobile-menu__footer .at-lang-switch {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.at-mobile-menu__footer .at-lang-switch__current {
    background: var(--at-white);
    color: #0f1419;
}

.at-mobile-menu__footer .at-lang-switch__link {
    color: rgba(255, 255, 255, 0.5);
}

.at-mobile-menu__footer .at-lang-switch__link:hover {
    color: var(--at-white);
}


/* ==========================================================================
   7. HERO
   ========================================================================== */

.at-hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

@supports (-webkit-touch-callout: none) {
    /* iOS: fixed bg doesn't work */
    .at-hero {
        background-attachment: scroll;
    }
}

@media (hover: hover) and (min-width: 769px) {
    .at-hero {
        background-attachment: fixed;
    }
}

.at-hero--small {
    height: 55vh;
    min-height: 450px;
}

/* Hero slideshow */
.at-hero--slideshow {
    background: none;
    background-attachment: scroll;
}

.at-hero__slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.at-hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    will-change: opacity;
}

.at-hero__slide.is-active {
    opacity: 1;
}

/* Subtle Ken Burns zoom on active slide */
.at-hero__slide.is-active {
    animation: at-kenburns 8s ease-in-out forwards;
}

@keyframes at-kenburns {
    0%   { transform: scale(1); }
    100% { transform: scale(1.06); }
}

.at-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.35) 100%
    );
    z-index: 1;
}

.at-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--at-container-pad);
    max-width: 1000px;
}

.at-hero__title {
    font-family: var(--at-font-heading);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 600;
    color: var(--at-white);
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.1;
    margin-bottom: 24px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.at-hero__subtitle {
    font-family: var(--at-font-heading);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 50px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.at-hero__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.at-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 22px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 11px;
    cursor: pointer;
    transition: border-color 0.4s ease;
}

.at-hero__scroll:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.at-hero__scroll::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 1px;
    animation: scrollBounce 2.5s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.2; }
}


/* ==========================================================================
   8. BUTTONS
   ========================================================================== */

.at-btn {
    display: inline-block;
    font-family: var(--at-font-body);
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    padding: 18px 50px;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.at-btn--primary {
    background-color: var(--at-bronze);
    color: var(--at-white);
    border-color: var(--at-bronze);
}

.at-btn--primary:hover {
    background-color: var(--at-bronze-dark);
    border-color: var(--at-bronze-dark);
    color: var(--at-white);
}

.at-btn--outline {
    background-color: transparent;
    color: var(--at-bronze);
    border-color: var(--at-bronze);
}

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

.at-btn--white {
    background-color: transparent;
    color: var(--at-white);
    border-color: var(--at-white);
}

.at-btn--white:hover {
    background-color: var(--at-white);
    color: var(--at-black);
}

.at-btn--white-outline {
    background-color: transparent;
    color: var(--at-white);
    border-color: rgba(255, 255, 255, 0.4);
}

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

.at-btn--gold {
    background-color: var(--at-bronze);
    color: var(--at-white);
    border-color: var(--at-bronze);
}

.at-btn--gold:hover {
    background-color: #b8732e;
    border-color: #b8732e;
    color: var(--at-white);
}

.at-btn--gold-outline {
    background-color: transparent;
    color: var(--at-white);
    border-color: var(--at-bronze);
}

.at-btn--gold-outline:hover {
    background-color: var(--at-bronze);
    color: var(--at-white);
    border-color: var(--at-bronze);
}

.at-btn--large {
    padding: 20px 58px;
    font-size: 18px;
}

.at-btn--small {
    padding: 14px 36px;
    font-size: 14px;
}

.at-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* ==========================================================================
   9. SECTION HEADER
   ========================================================================== */

.at-section__header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.at-section__label {
    display: block;
    font-family: var(--at-font-body);
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.05em;
    color: var(--at-bronze);
    margin-bottom: 24px;
}

.at-section--dark .at-section__label {
    color: var(--at-bronze-light);
}

.at-section__title {
    font-family: var(--at-font-heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--at-text-heading);
}

.at-section--dark .at-section__title {
    color: var(--at-white);
}

.at-section__subtitle {
    font-family: var(--at-font-heading);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--at-text-light);
    margin-top: 24px;
    line-height: 1.7;
}


/* ==========================================================================
   10. VILLA CARDS
   ========================================================================== */

.at-villa-card {
    display: block;
    background-color: var(--at-white);
    overflow: hidden;
    border-radius: 0;
    transition: box-shadow var(--at-duration-slow) var(--at-ease);
}

.at-villa-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.at-villa-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.at-villa-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background-color: var(--at-cream);
}

.at-villa-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--at-ease);
}

.at-villa-card:hover .at-villa-card__image img {
    transform: scale(1.05);
}

.at-villa-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--at-green) 0%, #0f0f17 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--at-white);
    font-family: var(--at-font-heading);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: normal;
    text-transform: none;
}

.at-villa-card__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--at-bronze);
    color: var(--at-white);
    font-size: 11px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    padding: 8px 16px;
    z-index: 2;
    border-radius: 0;
}

.at-villa-card__content {
    padding: 24px 0;
    text-align: center;
}

.at-villa-card__title {
    font-family: var(--at-font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--at-text-heading);
    margin-bottom: 6px;
    line-height: 1.3;
}

.at-villa-card__subtitle {
    font-family: var(--at-font-body);
    font-weight: 300;
    color: var(--at-text-light);
    font-size: 17px;
    line-height: 26px;
}

.at-villa-card__specs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin: 18px 0 0;
    color: var(--at-text-light);
    font-size: 15px;
    letter-spacing: 0.03em;
}

.at-villa-card__specs span {
    display: inline-flex;
    align-items: center;
}

.at-villa-card__specs span + span::before {
    content: '\00b7';
    margin: 0 12px;
    color: var(--at-border);
    font-size: 1.4em;
}

.at-villa-card__price {
    margin-top: 18px;
    font-family: var(--at-font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--at-bronze);
    letter-spacing: 0.02em;
}


/* ==========================================================================
   11. CTA BANNER
   ========================================================================== */

.at-cta-banner {
    background-color: var(--at-black);
    color: var(--at-white);
    padding: 100px 0;
    text-align: center;
}

.at-cta-banner__content {
    max-width: 650px;
    margin: 0 auto;
}

.at-cta-banner__title {
    font-family: var(--at-font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    color: var(--at-white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.at-cta-banner__text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 50px;
    line-height: 30px;
}

.at-cta-banner__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ==========================================================================
   12. FOOTER
   ========================================================================== */

.at-footer {
    background-color: var(--at-black);
    color: rgba(255, 255, 255, 0.5);
    padding-top: 100px;
}

.at-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--at-container-pad);
}

.at-footer__grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 80px;
}

.at-footer__logo {
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.4s ease;
}

.at-footer__logo:hover {
    opacity: 0.8;
}

.at-footer__logo-img {
    height: 70px;
    width: auto;
}

.at-footer__tagline {
    font-size: 17px;
    font-weight: 300;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 26px;
}

.at-footer__heading {
    font-family: var(--at-font-heading);
    font-size: 20px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.at-footer__links li {
    margin-bottom: 18px;
}

.at-footer__links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 17px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.at-footer__links a:hover {
    color: var(--at-white);
}

.at-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0;
    padding: 36px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
}

.at-footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.at-footer__social-link svg {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.at-footer__social-link:hover svg {
    opacity: 1;
}

.at-footer__credits a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.at-footer__credits a:hover {
    color: var(--at-white);
}


/* ==========================================================================
   13. FORMS
   ========================================================================== */

.at-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.at-form__group {
    margin-bottom: 40px;
    position: relative;
}

.at-form__label {
    display: block;
    font-family: var(--at-font-body);
    font-size: 15px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--at-text);
    margin-bottom: 12px;
    transition: color 0.4s var(--at-ease-out);
}

.at-form__label span[aria-hidden] {
    color: var(--at-bronze);
    font-weight: 300;
}

.at-form__group:focus-within .at-form__label {
    color: var(--at-bronze-dark);
}

.at-form__input,
.at-form__select,
.at-form__textarea {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--at-border);
    padding: 14px 0 16px;
    font-size: 20px;
    font-weight: 300;
    font-family: var(--at-font-body);
    color: var(--at-text);
    transition: border-color 0.5s var(--at-ease-out), box-shadow 0.5s var(--at-ease-out);
    border-radius: 0;
    outline: none;
    letter-spacing: 0.01em;
}

.at-form__input:focus,
.at-form__select:focus,
.at-form__textarea:focus {
    border-color: var(--at-bronze);
    box-shadow: 0 1px 0 0 var(--at-bronze);
}

.at-form__input::placeholder,
.at-form__textarea::placeholder {
    color: #C8C0B8;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.02em;
}

.at-form__textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 28px;
}

.at-form__select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c98646' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 10px;
    padding-right: 28px;
    cursor: pointer;
}

.at-form__select:hover {
    border-color: var(--at-bronze-light);
}

/* Submit — premium feel */
.at-form__submit {
    margin-top: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--at-ease-out);
    letter-spacing: normal;
}

.at-form__submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent
    );
    transition: left 0.6s var(--at-ease-out);
}

.at-form__submit:hover::after {
    left: 100%;
}

.at-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(201, 134, 70, 0.25);
}

.at-form__submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(201, 134, 70, 0.18);
}

.at-form__feedback {
    padding: 24px 28px;
    margin-top: 30px;
    text-align: center;
    font-size: 15px;
    font-weight: 300;
    border-radius: 0;
    display: none;
    letter-spacing: 0.02em;
    line-height: 24px;
}

.at-form__feedback--success,
.at-form__feedback--error {
    display: block;
}

.at-form__feedback--success {
    background-color: rgba(45, 74, 62, 0.05);
    color: var(--at-green);
    border: 1px solid rgba(45, 74, 62, 0.08);
    border-left: 3px solid var(--at-green);
}

.at-form__feedback--error {
    background-color: rgba(180, 60, 60, 0.04);
    color: #9a3333;
    border: 1px solid rgba(180, 60, 60, 0.08);
    border-left: 3px solid #9a3333;
}

.at-form__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}


/* ==========================================================================
   14. SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.at-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
        transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.at-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.at-reveal--delay-1 { transition-delay: 0.1s; }
.at-reveal--delay-2 { transition-delay: 0.2s; }
.at-reveal--delay-3 { transition-delay: 0.3s; }
.at-reveal--delay-4 { transition-delay: 0.4s; }

.at-reveal--fade {
    transform: none;
}

.at-reveal--slide-left {
    transform: translateX(-20px);
}

.at-reveal--slide-left.is-visible {
    transform: translateX(0);
}

.at-reveal--slide-right {
    transform: translateX(20px);
}

.at-reveal--slide-right.is-visible {
    transform: translateX(0);
}

.at-reveal--scale {
    transform: scale(0.97);
}

.at-reveal--scale.is-visible {
    transform: scale(1);
}


/* ==========================================================================
   15. PAGE-SPECIFIC STYLES — FRONT PAGE
   ========================================================================== */

/* Home intro */
.at-home-intro {
    text-align: center;
}

.at-home-intro__text {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
    line-height: 30px;
    font-size: 20px;
    color: var(--at-text-light);
}

.at-home-intro__quote {
    font-family: var(--at-font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--at-text);
    margin-bottom: 36px;
    position: relative;
    padding-left: 30px;
    border-left: 1px solid var(--at-bronze);
}

.at-home-intro__image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: var(--at-cream);
}

.at-home-intro__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--at-ease);
}

.at-home-intro__image:hover img {
    transform: scale(1.03);
}

/* Home why */
.at-home-why {
    position: relative;
    background-size: cover;
    background-position: center;
}

.at-home-why__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(26, 26, 26, 0.7);
}

.at-home-why__content {
    position: relative;
    z-index: 2;
}

/* Home collection */
.at-home-collection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Home setting */
.at-home-setting {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

/* Subtle noise texture overlay for depth */
.at-home-setting::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 0;
}

/* Map frame wrapper — holds the card + decorative corners */
.at-home-setting__map-frame {
    position: relative;
    margin-top: 60px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

/* Bronze corner accents — bold architectural L-shaped marks */
.at-home-setting__map-frame::before,
.at-home-setting__map-frame::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-color: var(--at-bronze);
    border-style: solid;
    opacity: 0;
    transition: opacity 1s var(--at-ease-out), transform 1s var(--at-ease-out);
    z-index: 3;
}

.at-home-setting__map-frame::before {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
    transform: translate(15px, 15px);
}

.at-home-setting__map-frame::after {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
    transform: translate(-15px, -15px);
}

/* Additional corners */
.at-home-setting__corner-tr,
.at-home-setting__corner-bl {
    position: absolute;
    width: 60px;
    height: 60px;
    border-color: var(--at-bronze);
    border-style: solid;
    opacity: 0;
    transition: opacity 1s var(--at-ease-out) 0.15s, transform 1s var(--at-ease-out) 0.15s;
    z-index: 3;
    pointer-events: none;
}

.at-home-setting__corner-tr {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
    transform: translate(-15px, 15px);
}

.at-home-setting__corner-bl {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
    transform: translate(15px, -15px);
}

/* Animate corners in when revealed */
.is-visible .at-home-setting__map-frame::before,
.is-visible .at-home-setting__map-frame::after,
.is-visible .at-home-setting__corner-tr,
.is-visible .at-home-setting__corner-bl {
    opacity: 1;
    transform: translate(0, 0);
}

/* Ambient bronze glow beneath the map — strong */
.at-home-setting__map-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center,
        rgba(201, 134, 70, 0.25) 0%,
        rgba(201, 134, 70, 0.10) 40%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.6s var(--at-ease-out), transform 0.6s var(--at-ease-out);
}

.at-home-setting__map-frame:hover .at-home-setting__map-glow {
    opacity: 1.5;
    transform: translate(-50%, -50%) scale(1.08);
}

/* Map card */
.at-home-setting__map {
    margin-top: 0;
    max-width: none;
    border-radius: 4px;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(201, 134, 70, 0.08),
        0 0 0 1px rgba(201, 134, 70, 0.15);
    position: relative;
    z-index: 1;
    transition: transform 0.6s var(--at-ease-out), box-shadow 0.6s var(--at-ease-out);
}

.at-home-setting__map-frame:hover .at-home-setting__map {
    transform: translateY(-6px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.35),
        0 40px 100px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(201, 134, 70, 0.15),
        0 0 0 1px rgba(201, 134, 70, 0.3);
}

/* Hover also spreads corners outward */
.at-home-setting__map-frame:hover::before {
    transform: translate(-4px, -4px);
}
.at-home-setting__map-frame:hover::after {
    transform: translate(4px, 4px);
}
.at-home-setting__map-frame:hover .at-home-setting__corner-tr {
    transform: translate(4px, -4px);
}
.at-home-setting__map-frame:hover .at-home-setting__corner-bl {
    transform: translate(-4px, 4px);
}

.at-home-setting__map img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    transition: transform 6s linear;
}

.at-home-setting__map-frame:hover .at-home-setting__map img {
    transform: scale(1.05);
}

/* Inner border with bronze tint */
.at-home-setting__map::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 134, 70, 0.2);
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
    transition: border-color 0.4s var(--at-ease-out);
}

.at-home-setting__map-frame:hover .at-home-setting__map::after {
    border-color: rgba(201, 134, 70, 0.35);
}

/* Pulsing location pin — larger and brighter */
.at-home-setting__pin {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.at-home-setting__pin::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    background: var(--at-bronze);
    border-radius: 50%;
    box-shadow:
        0 0 12px rgba(201, 134, 70, 0.8),
        0 0 30px rgba(201, 134, 70, 0.4);
}

.at-home-setting__pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid var(--at-bronze-light);
    animation: at-pin-pulse 2s var(--at-ease-out) infinite;
}

@keyframes at-pin-pulse {
    0% {
        width: 14px;
        height: 14px;
        opacity: 1;
    }
    100% {
        width: 60px;
        height: 60px;
        opacity: 0;
    }
}

/* Decorative line above the map area */
.at-home-setting__divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--at-bronze), transparent);
    margin: 40px auto 0;
    opacity: 0.7;
}

.at-home-setting__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(26, 26, 26, 0.65) 0%,
        rgba(26, 26, 26, 0.25) 60%,
        transparent 100%
    );
}

.at-home-setting__content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    padding: 100px 0;
}

/* Home why intro text */
.at-home-why__intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    font-size: 20px;
    line-height: 30px;
    color: var(--at-text);
}

.at-home-why__intro p {
    margin: 0;
}

/* Home why blocks */
.at-home-why-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--at-border);
}

.at-home-why-block {
    padding: 50px 40px;
    border-right: 1px solid var(--at-border);
}

.at-home-why-block:last-child {
    border-right: none;
}

.at-home-why-block__number {
    display: block;
    font-family: var(--at-font-heading);
    font-size: 2rem;
    font-weight: 300;
    color: var(--at-bronze);
    margin-bottom: 24px;
    line-height: 1;
}

.at-home-why-block h3 {
    font-family: var(--at-font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--at-text-heading);
    margin-bottom: 16px;
    line-height: 1.35;
}

.at-home-why-block p {
    font-size: 18px;
    color: var(--at-text-light);
    line-height: 28px;
    margin: 0;
}

/* Hero buttons */
.at-hero__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 10px;
}


/* ==========================================================================
   16. PAGE-SPECIFIC STYLES — COLLECTION
   ========================================================================== */

/* Collection grid (kept for home page) */
.at-collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.at-collection-grid .at-villa-card__image {
    aspect-ratio: 4 / 3;
}

.at-collection-grid .at-villa-card__content {
    padding: 30px 0;
}

.at-collection-grid .at-villa-card__title {
    font-size: 1.6rem;
}

/* Collection hero */
.at-hero--collection {
    height: 70vh;
    min-height: 520px;
}

.at-hero--collection .at-hero__content {
    max-width: 700px;
}

.at-hero__label {
    display: block;
    font-family: var(--at-font-body);
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

/* Collection intro */
.at-collection-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 30px;
    color: var(--at-text);
}

/* ---- Villa Showcase sections ---- */
.at-showcase {
    padding-top: var(--at-section-pad);
    padding-bottom: var(--at-section-pad);
}

.at-showcase__layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.at-showcase__layout--reverse {
    grid-template-columns: 0.85fr 1.15fr;
}

.at-showcase__layout--reverse .at-showcase__image {
    order: 2;
}

.at-showcase__layout--reverse .at-showcase__content {
    order: 1;
}

/* Image */
.at-showcase__image {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 2px;
}

.at-showcase__image > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--at-ease);
}

.at-showcase__image:hover > img {
    transform: scale(1.03);
}

.at-showcase__image-secondary {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 42%;
    border: 4px solid var(--at-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.at-section--cream .at-showcase__image-secondary {
    border-color: var(--at-cream);
}

.at-showcase__image-secondary img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

/* Content */
.at-showcase__content {
    padding: 20px 0;
}

.at-showcase__number {
    display: block;
    font-family: var(--at-font-heading);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--at-border);
    line-height: 1;
    margin-bottom: 16px;
}

.at-showcase__title {
    font-family: var(--at-font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--at-text-heading);
    line-height: 1.2;
    margin-bottom: 10px;
}

.at-showcase__subtitle {
    font-family: var(--at-font-body);
    font-size: 18px;
    font-weight: 300;
    color: var(--at-text-light);
    line-height: 28px;
    margin-bottom: 32px;
}

.at-showcase__specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 32px;
    margin-bottom: 36px;
    padding: 28px 0;
    border-top: 1px solid var(--at-border);
    border-bottom: 1px solid var(--at-border);
}

.at-showcase__spec-value {
    display: block;
    font-family: var(--at-font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--at-text-heading);
    line-height: 1.2;
}

.at-showcase__spec-label {
    display: block;
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--at-text-light);
    margin-top: 4px;
}


/* ==========================================================================
   17. PAGE-SPECIFIC STYLES — LOCATION (Editorial Dossier)
   ==========================================================================
   Concept: a confidential location dossier in the spirit of Cereal Magazine
   and Aman brochures. Asymmetric grids, marginalia numbering, satellite map
   centerpiece, amenities as an editorial index. All on the existing
   freight-pro / Chamberi / bronze palette.
*/

/* --- Shared editorial atoms (numbers, labels, rules) --- */

.at-loc-num {
    display: block;
    font-family: var(--at-font-heading);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.4em;
    color: var(--at-bronze);
    line-height: 1;
}

.at-loc-num--inline {
    display: inline-block;
    margin-bottom: 18px;
}

.at-loc-section-label {
    display: block;
    font-family: var(--at-font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--at-text);
    margin-top: 14px;
}

.at-loc-section-title {
    font-family: var(--at-font-heading);
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.005em;
    color: var(--at-text-heading);
    margin: 18px 0 0;
    max-width: 22ch;
}

.at-loc-section-lede {
    margin-top: 22px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 300;
    color: var(--at-text-light);
    max-width: 56ch;
}

.at-loc-rule {
    display: block;
    margin-top: 36px;
    width: 56px;
    height: 1px;
    background: var(--at-bronze);
    opacity: 0.55;
}

.at-loc-section-header {
    margin-bottom: 60px;
}

.at-loc-section-header--centered {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.at-loc-section-header--centered .at-loc-num,
.at-loc-section-header--centered .at-loc-section-label,
.at-loc-section-header--centered .at-loc-section-title {
    margin-left: auto;
    margin-right: auto;
}

.at-loc-section-header--centered .at-loc-section-title {
    max-width: 24ch;
}

/* --- 02 · LE LIEU (centered editorial intro) --- */

.at-loc-intro {
    background-color: var(--at-cream);
    padding: clamp(80px, 11vw, 140px) 0;
}

.at-loc-intro__inner {
    text-align: center;
}

.at-loc-intro__inner .at-loc-num {
    margin-bottom: 12px;
}

.at-loc-intro__title {
    font-family: var(--at-font-heading);
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.005em;
    color: var(--at-text-heading);
    margin: 22px auto 28px;
    max-width: 26ch;
}

.at-loc-intro__body {
    font-size: 18px;
    line-height: 28px;
    font-weight: 300;
    color: var(--at-text);
    max-width: 56ch;
    margin: 0 auto;
}

.at-loc-intro__body p {
    margin: 0 0 1.2em;
}

.at-loc-intro__body p:last-child {
    margin-bottom: 0;
}

/* --- 03 · LA CARTE (satellite map centerpiece) --- */

.at-loc-map {
    background-color: var(--at-sand);
    padding: clamp(80px, 11vw, 140px) 0;
}

.at-loc-map__frame {
    position: relative;
    margin: clamp(40px, 5vw, 64px) auto 0;
    max-width: 960px;
    background-color: var(--at-cream);
    box-shadow:
        0 1px 0 rgba(15, 15, 23, 0.04),
        0 30px 60px -30px rgba(15, 15, 23, 0.25);
    overflow: hidden;
}

.at-loc-map__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    filter: saturate(0.78) contrast(1.04);
}

.at-loc-map__placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #d6cdb6 0%, #b9b29a 100%);
}

/* Pin markers */
.at-loc-pin {
    position: absolute;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
}

.at-loc-pin::before,
.at-loc-pin::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.at-loc-pin::before {
    background: var(--at-bronze);
    box-shadow: 0 0 0 4px rgba(201, 134, 70, 0.18);
    transition: box-shadow 0.4s var(--at-ease-out);
}

.at-loc-pin::after {
    border: 1px solid var(--at-bronze);
    transform: scale(1);
    opacity: 0;
    transition: transform 1.6s var(--at-ease-out), opacity 1.6s var(--at-ease-out);
    animation: at-loc-pulse 3s var(--at-ease-out) infinite;
}

.at-loc-pin--site::before {
    background: var(--at-white);
    box-shadow: 0 0 0 4px var(--at-bronze), 0 0 0 8px rgba(201, 134, 70, 0.18);
    width: 16px;
    height: 16px;
    inset: -1px;
}

.at-loc-pin--beach::before  { background: #6FB1C6; }
.at-loc-pin--center::before { background: #8e7250; }
.at-loc-pin--cenote::before { background: #3F8C7A; }

.at-loc-pin:hover::before {
    box-shadow: 0 0 0 6px rgba(201, 134, 70, 0.28);
}

@keyframes at-loc-pulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(3.6); opacity: 0;   }
}

/* Pin tooltip */
.at-loc-pin[data-label]::before {
    z-index: 1;
}

.at-loc-pin[data-label] {
    position: absolute;
}

.at-loc-pin[data-label]:hover::after {
    animation: none;
}

.at-loc-pin[data-label]:hover {
    z-index: 5;
}

.at-loc-pin[data-label]::before,
.at-loc-pin[data-label]::after { /* keep marker rendering */ }

.at-loc-pin[data-label]:hover::after {
    content: attr(data-label);
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    background: var(--at-black);
    color: var(--at-white);
    padding: 6px 12px;
    font-family: var(--at-font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 0;
    border: none;
    width: auto;
    height: auto;
    inset: auto;
    opacity: 1;
    pointer-events: none;
}

/* Map legend */
.at-loc-map__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding: 22px 28px;
    background: var(--at-white);
    border-top: 1px solid var(--at-border);
    font-family: var(--at-font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--at-text);
}

.at-loc-map__legend-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.at-loc-map__dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.at-loc-map__dot--site   { background: var(--at-white); border: 2px solid var(--at-bronze); }
.at-loc-map__dot--beach  { background: #6FB1C6; }
.at-loc-map__dot--center { background: #8e7250; }
.at-loc-map__dot--cenote { background: #3F8C7A; }

/* --- 04 · DISTANCES (compass ribbon) --- */

.at-loc-distances {
    background-color: var(--at-black);
    color: rgba(255, 255, 255, 0.72);
    padding: clamp(80px, 11vw, 140px) 0;
}

.at-loc-distances .at-loc-num {
    color: var(--at-bronze-light);
}

.at-loc-distances .at-loc-section-label {
    color: rgba(255, 255, 255, 0.6);
}

.at-loc-distances .at-loc-section-title {
    color: var(--at-white);
    max-width: 22ch;
}

.at-loc-compass {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    margin: 72px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.at-loc-compass__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 44px 16px 36px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.5s var(--at-ease-out);
    opacity: 0;
    transform: translateY(12px);
    animation: at-loc-fade-up 0.7s var(--at-ease-out) forwards;
    animation-delay: var(--at-loc-delay, 0s);
}

.at-loc-compass__item:last-child {
    border-right: none;
}

.at-loc-compass__item:hover {
    background-color: rgba(255, 255, 255, 0.025);
}

.at-loc-compass__bearing {
    display: inline-block;
    font-family: var(--at-font-heading);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.4em;
    color: var(--at-bronze);
    margin-bottom: 22px;
    padding: 4px 10px;
    border: 1px solid rgba(201, 134, 70, 0.5);
    border-radius: 100px;
}

.at-loc-compass__time {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 14px;
}

.at-loc-compass__num {
    font-family: var(--at-font-heading);
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    font-weight: 300;
    line-height: 1;
    color: var(--at-white);
    letter-spacing: -0.02em;
}

.at-loc-compass__unit {
    font-family: var(--at-font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: lowercase;
}

.at-loc-compass__place {
    font-family: var(--at-font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes at-loc-fade-up {
    to { opacity: 1; transform: translateY(0); }
}

/* --- 05 · LE TABLEAU (six photographic moments — replaces icon index) --- */

.at-loc-tableau {
    background-color: var(--at-cream);
    padding: clamp(80px, 12vw, 160px) 0;
}

.at-loc-tableau__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(300px, 28vw, 460px);
    gap: clamp(14px, 1.6vw, 22px);
    margin-top: clamp(50px, 6vw, 80px);
}

.at-loc-tableau__tile {
    position: relative;
    display: block;
    overflow: hidden;
    background-color: var(--at-black);
    opacity: 0;
    transform: translateY(14px);
    animation: at-loc-fade-up 0.9s var(--at-ease-out) forwards;
    animation-delay: var(--at-loc-delay, 0s);
}

.at-loc-tableau__tile--wide {
    grid-column: span 2;
}

.at-loc-tableau__tile--tall {
    grid-column: span 1;
}

.at-loc-tableau__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.at-loc-tableau__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.6s var(--at-ease-out);
}

.at-loc-tableau__tile:hover .at-loc-tableau__img {
    transform: scale(1.05);
}

.at-loc-tableau__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 15, 23, 0) 38%,
        rgba(15, 15, 23, 0.55) 78%,
        rgba(15, 15, 23, 0.85) 100%
    );
    transition: opacity 0.5s var(--at-ease-out);
}

.at-loc-tableau__caption {
    position: absolute;
    left: clamp(22px, 2.2vw, 36px);
    right: clamp(22px, 2.2vw, 36px);
    bottom: clamp(22px, 2.4vw, 36px);
    color: var(--at-white);
    z-index: 2;
}

.at-loc-tableau__meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.at-loc-tableau__meta::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background-color: var(--at-bronze);
}

.at-loc-tableau__num {
    font-family: var(--at-font-heading);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.34em;
    color: var(--at-bronze);
    line-height: 1;
}

.at-loc-tableau__cat {
    font-family: var(--at-font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1;
}

.at-loc-tableau__name {
    font-family: var(--at-font-heading);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--at-white);
    margin: 0 0 10px;
}

.at-loc-tableau__note {
    font-family: var(--at-font-body);
    font-size: 14px;
    line-height: 22px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    max-width: 38ch;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s var(--at-ease-out), transform 0.5s var(--at-ease-out);
}

.at-loc-tableau__tile:hover .at-loc-tableau__note {
    opacity: 1;
    transform: translateY(0);
}

.at-loc-tableau__tile:hover .at-loc-tableau__veil {
    background: linear-gradient(
        180deg,
        rgba(15, 15, 23, 0) 30%,
        rgba(15, 15, 23, 0.6) 70%,
        rgba(15, 15, 23, 0.92) 100%
    );
}

/* --- 06 · ART DE VIVRE (centered editorial text) --- */

.at-loc-living {
    background-color: var(--at-cream);
    padding: clamp(80px, 11vw, 140px) 0;
}

.at-loc-living__inner {
    text-align: center;
}

.at-loc-living__inner .at-loc-num {
    margin-bottom: 12px;
}

.at-loc-living__title {
    font-family: var(--at-font-heading);
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.005em;
    color: var(--at-text-heading);
    margin: 22px auto 24px;
    max-width: 26ch;
}

.at-loc-living__body {
    font-size: 18px;
    line-height: 28px;
    font-weight: 300;
    color: var(--at-text);
    max-width: 56ch;
    margin: 0 auto;
}

.at-loc-living__body p {
    margin: 0;
}

/* --- 07 · CONNECTIVITÉ (closing editorial note) --- */

.at-loc-note {
    background-color: var(--at-sand);
    padding: clamp(80px, 11vw, 140px) 0;
}

.at-loc-note__inner {
    text-align: center;
}

.at-loc-note__title {
    font-family: var(--at-font-heading);
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.005em;
    color: var(--at-text-heading);
    margin: 22px auto 24px;
    max-width: 26ch;
}

.at-loc-note__body {
    font-size: 18px;
    line-height: 28px;
    font-weight: 300;
    color: var(--at-text);
    max-width: 56ch;
    margin: 0 auto;
}

.at-loc-note__body p {
    margin: 0;
}

/* --- 08 · CTA (private visit) --- */

.at-loc-cta {
    position: relative;
    background-color: var(--at-black);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: rgba(255, 255, 255, 0.78);
    padding: clamp(90px, 12vw, 160px) 0;
    text-align: center;
    overflow: hidden;
}

.at-loc-cta--with-image {
    background-attachment: scroll;
}

@media (hover: hover) and (min-width: 769px) {
    .at-loc-cta--with-image {
        background-attachment: fixed;
    }
}

.at-loc-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(15, 15, 23, 0.88) 0%,
        rgba(15, 15, 23, 0.7) 45%,
        rgba(15, 15, 23, 0.92) 100%);
    pointer-events: none;
    z-index: 1;
}

.at-loc-cta .at-container {
    position: relative;
    z-index: 2;
}

.at-loc-cta__pre {
    display: block;
    font-family: var(--at-font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--at-bronze);
    margin-bottom: 28px;
}

.at-loc-cta__title {
    font-family: var(--at-font-heading);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--at-white);
    margin: 0 auto 28px;
    max-width: 22ch;
}

.at-loc-cta__text {
    font-size: 18px;
    line-height: 28px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    max-width: 52ch;
    margin: 0 auto 44px;
}

.at-loc-cta__actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* --- Responsive — large tablet --- */

@media (max-width: 1100px) {
    .at-loc-compass {
        grid-template-columns: repeat(3, 1fr);
    }

    .at-loc-compass__item:nth-child(3) { border-right: none; }
    .at-loc-compass__item:nth-child(4),
    .at-loc-compass__item:nth-child(5),
    .at-loc-compass__item:nth-child(6) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Tableau — collapse to 2-col layout, all tiles equal */
    .at-loc-tableau__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: clamp(320px, 42vw, 440px);
    }
    .at-loc-tableau__tile--wide,
    .at-loc-tableau__tile--tall {
        grid-column: span 1;
    }
}

/* --- Responsive — mobile --- */

@media (max-width: 640px) {
    .at-loc-compass {
        grid-template-columns: repeat(2, 1fr);
    }

    .at-loc-compass__item {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        padding: 32px 12px 28px;
    }

    .at-loc-compass__item:nth-child(2n) { border-right: none; }
    .at-loc-compass__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.08); }

    /* Tableau — single column on mobile, slightly taller for impact */
    .at-loc-tableau__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 78vw;
        gap: 12px;
    }
    .at-loc-tableau__tile--wide,
    .at-loc-tableau__tile--tall {
        grid-column: span 1;
    }
    .at-loc-tableau__name {
        font-size: 1.4rem;
    }

    /* On mobile, show the description always (no hover state) */
    .at-loc-tableau__note {
        opacity: 1;
        transform: none;
    }

    .at-loc-map__legend {
        gap: 14px 20px;
        padding: 18px 20px;
        font-size: 11px;
        letter-spacing: 0.16em;
    }

}


/* ==========================================================================
   18. PAGE-SPECIFIC STYLES — INVESTMENT
   ========================================================================== */

/* --- Stats Band --- */

.at-invest-stats {
    background-color: var(--at-black);
    padding: 80px 0;
    overflow: hidden;
}

.at-invest-stats__inner {
    max-width: var(--at-container-max);
    margin: 0 auto;
    padding: 0 var(--at-container-pad);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.at-invest-stats__item {
    text-align: center;
    padding: 40px 24px;
    position: relative;
}

.at-invest-stats__item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(201, 134, 70, 0.2);
}

.at-invest-stats__item:last-child::after {
    display: none;
}

.at-invest-stats__value {
    display: block;
    font-family: var(--at-font-heading);
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    font-weight: 600;
    color: var(--at-bronze-light);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.at-invest-stats__label {
    display: block;
    font-family: var(--at-font-body);
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.at-invest-stats__desc {
    display: block;
    font-family: var(--at-font-body);
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Split Sections (image + text) --- */

.at-invest-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.at-invest-split--reverse {
    direction: rtl;
}

.at-invest-split--reverse > * {
    direction: ltr;
}

.at-invest-split__media {
    overflow: hidden;
}

.at-invest-split__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--at-ease);
}

.at-invest-split__media:hover img {
    transform: scale(1.03);
}

.at-invest-split__content {
    max-width: 480px;
}

.at-invest-split--reverse .at-invest-split__content {
    margin-left: auto;
}

.at-invest-split__title {
    font-family: var(--at-font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    color: var(--at-text-heading);
    line-height: 1.15;
    margin-bottom: 28px;
}

.at-invest-split__text {
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    color: var(--at-text-light);
}

.at-invest-split__text p {
    margin-bottom: 20px;
}

.at-invest-split__text p:last-child {
    margin-bottom: 0;
}

/* --- Process Section — horizontal cards on dark --- */

.at-invest-process {
    background-color: var(--at-black);
    padding: 120px 0;
    color: var(--at-white);
}

.at-invest-process .at-section__header {
    margin-bottom: 30px;
}

.at-invest-process .at-section__title {
    color: var(--at-white);
}

.at-invest-process__intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 70px;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    color: rgba(255, 255, 255, 0.55);
}

.at-invest-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.at-invest-process__step {
    padding: 48px 32px 40px;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.4s ease;
}

.at-invest-process__step:last-child {
    border-right: none;
}

.at-invest-process__step:hover {
    background-color: rgba(201, 134, 70, 0.06);
}

.at-invest-process__num {
    display: block;
    font-family: var(--at-font-heading);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--at-bronze);
    line-height: 1;
    margin-bottom: 20px;
}

.at-invest-process__line {
    width: 32px;
    height: 1px;
    background: var(--at-bronze);
    margin-bottom: 24px;
    transition: width 0.4s var(--at-ease-out);
}

.at-invest-process__step:hover .at-invest-process__line {
    width: 56px;
}

.at-invest-process__step-title {
    font-family: var(--at-font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--at-white);
    margin-bottom: 14px;
    line-height: 1.3;
}

.at-invest-process__step p {
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* --- Responsive --- */

@media (max-width: 1024px) {
    .at-invest-stats__inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .at-invest-stats__item:nth-child(2)::after {
        display: none;
    }
    .at-invest-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .at-invest-split--reverse {
        direction: ltr;
    }
    .at-invest-split__content {
        max-width: 100%;
    }
    .at-invest-split--reverse .at-invest-split__content {
        margin-left: 0;
    }
    .at-invest-split__media img {
        aspect-ratio: 16 / 9;
    }
    .at-invest-process__grid {
        grid-template-columns: repeat(2, 1fr);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .at-invest-process__step:nth-child(2) {
        border-right: none;
    }
    .at-invest-process__step:nth-child(3),
    .at-invest-process__step:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .at-invest-process__step:nth-child(4) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .at-invest-stats {
        padding: 50px 0;
    }
    .at-invest-stats__inner {
        grid-template-columns: 1fr 1fr;
    }
    .at-invest-stats__item {
        padding: 28px 16px;
    }
    .at-invest-stats__item::after {
        top: 15%;
        height: 70%;
    }
    .at-invest-stats__item:nth-child(2)::after {
        display: none;
    }
    .at-invest-process {
        padding: 80px 0;
    }
    .at-invest-process__grid {
        grid-template-columns: 1fr;
    }
    .at-invest-process__step {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 36px 24px;
    }
    .at-invest-process__step:last-child {
        border-bottom: none;
    }
    .at-invest-process__step:nth-child(3),
    .at-invest-process__step:nth-child(4) {
        border-top: none;
    }
}


/* ==========================================================================
   19. PAGE-SPECIFIC STYLES — CONTACT
   ========================================================================== */

/* --- Contact Intro Band --- */

.at-contact-intro {
    padding: 70px 0;
    background-color: var(--at-cream);
}

.at-contact-intro__inner {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

.at-contact-intro__rule {
    width: 48px;
    height: 1px;
    background: var(--at-bronze);
    margin: 0 auto 36px;
}

.at-contact-intro__text {
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    color: var(--at-text-light);
}

/* --- Contact Grid --- */

.at-contact-section {
    padding-top: 80px;
    padding-bottom: 100px;
}

.at-contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: start;
}

.at-contact-form-title {
    font-family: var(--at-font-heading);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 600;
    color: var(--at-text-heading);
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--at-border);
}

.at-contact-grid__form .at-form__submit {
    width: 100%;
}

/* --- Dark Sidebar --- */

.at-contact-sidebar {
    background-color: var(--at-black);
    padding: 52px 48px;
    position: sticky;
    top: 100px;
}

.at-contact-sidebar__block {
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.at-contact-sidebar__block:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.at-contact-sidebar__title {
    font-family: var(--at-font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--at-bronze);
    letter-spacing: 0.02em;
}

.at-contact-sidebar__item {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.at-contact-sidebar__item:last-child {
    margin-bottom: 0;
}

.at-contact-sidebar__label {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
}

.at-contact-sidebar__item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;
    transition: color 0.4s var(--at-ease-out);
}

.at-contact-sidebar__item a:hover {
    color: var(--at-bronze);
}

.at-contact-sidebar__block p {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    line-height: 24px;
}

.at-contact-sidebar__block--note {
    background-color: rgba(201, 134, 70, 0.06);
    padding: 28px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 0;
    border-bottom: none;
    border-left: 2px solid var(--at-bronze);
}

.at-contact-sidebar__block--note .at-contact-sidebar__title {
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.at-contact-sidebar__block--note p {
    font-size: 14px;
    font-style: italic;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Responsive --- */

@media (max-width: 1024px) {
    .at-contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .at-contact-sidebar {
        position: static;
    }
}

/* ==========================================================================
   20. PAGE-SPECIFIC STYLES — VILLA SINGLE
   ========================================================================== */

.at-villa-narrative {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.at-villa-narrative__text {
    font-family: var(--at-font-body);
    font-size: 19px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.75;
    color: var(--at-text-light);
}

.at-villa-narrative__text p {
    margin: 0 0 1.2em;
}

.at-villa-narrative__text p:last-child {
    margin-bottom: 0;
}

/* Villa Key Data — horizontal row with dividers */
.at-villa-keydata {
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--at-border);
    border-bottom: 1px solid var(--at-border);
    margin-bottom: 60px;
}

.at-villa-keydata__item {
    flex: 1;
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid var(--at-border);
}

.at-villa-keydata__item:last-child {
    border-right: none;
}

.at-villa-keydata__value {
    display: block;
    font-family: var(--at-font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--at-text-heading);
    margin-bottom: 8px;
}

.at-villa-keydata__label {
    display: block;
    font-size: 13px;
    text-transform: none;
    letter-spacing: normal;
    color: var(--at-text-light);
    font-weight: 400;
}

/* Villa Amenities — inline tags */
.at-villa-amenities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.at-villa-amenities__item {
    font-size: 14px;
    color: var(--at-text);
    padding: 10px 24px;
    border: 1px solid var(--at-border);
    letter-spacing: 0.03em;
    transition: border-color 0.3s ease;
}

.at-villa-amenities__item:hover {
    border-color: var(--at-bronze);
}

/* Estate Amenities — shared community grid (Consciente reference) */
.at-villa-estate-amenities {
    background-color: var(--at-white);
    padding: 110px 0 120px;
    position: relative;
}

.at-villa-estate-amenities .at-section__header {
    margin-bottom: 72px;
}

.at-section__lede {
    margin-top: 22px;
    font-family: var(--at-font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--at-text-light);
    font-weight: 300;
}

.at-amenity-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 56px 32px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.at-amenity {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--at-bronze);
}

.at-amenity__icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--at-bronze);
    margin-bottom: 18px;
    transition: transform 0.5s ease, color 0.3s ease;
}

.at-amenity__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.at-amenity:hover .at-amenity__icon {
    transform: translateY(-4px);
    color: var(--at-bronze-dark, var(--at-bronze));
}

.at-amenity__label {
    font-family: var(--at-font-heading);
    font-size: 14px;
    letter-spacing: 0.04em;
    color: var(--at-text-heading);
    font-weight: 500;
    line-height: 1.4;
    max-width: 14ch;
}

@media (max-width: 900px) {
    .at-villa-estate-amenities {
        padding: 80px 0;
    }
    .at-amenity-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 44px 24px;
    }
    .at-amenity__icon {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 480px) {
    .at-amenity__label {
        font-size: 13px;
    }
}

/* Home Amenities — scrolling marquee band */
.at-home-amenities {
    background-color: var(--at-cream, #f7f3ec);
    padding: 90px 0 100px;
    overflow: hidden;
    position: relative;
}

.at-home-amenities__intro {
    text-align: center;
    margin-bottom: 64px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.at-home-amenities__title {
    font-family: var(--at-font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--at-text-heading);
    margin: 0;
}

.at-home-amenities__lede {
    margin-top: 24px;
    font-family: var(--at-font-body);
    font-size: 17px;
    line-height: 1.75;
    color: var(--at-text-light);
    font-weight: 300;
}

.at-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.at-marquee__track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    width: max-content;
    gap: 80px;
    animation: at-marquee-scroll 48s linear infinite;
    will-change: transform;
}

.at-marquee:hover .at-marquee__track {
    animation-play-state: paused;
}

.at-marquee__item {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
    color: var(--at-bronze);
}

.at-marquee__icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.at-marquee__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.at-marquee__label {
    font-family: var(--at-font-heading);
    font-size: 17px;
    letter-spacing: 0.04em;
    color: var(--at-text-heading);
    font-weight: 500;
    white-space: nowrap;
}

@keyframes at-marquee-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .at-marquee__track {
        animation-duration: 120s;
    }
}

@media (max-width: 720px) {
    .at-home-amenities {
        padding: 70px 0 80px;
    }
    .at-marquee__track {
        gap: 56px;
        animation-duration: 38s;
    }
    .at-marquee__icon {
        width: 40px;
        height: 40px;
    }
    .at-marquee__label {
        font-size: 15px;
    }
}

/* ==========================================================================
   CAROUSEL
   ========================================================================== */

.at-carousel {
    position: relative;
    overflow: hidden;
}

.at-carousel__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.at-carousel__slide {
    flex: 0 0 100%;
    min-width: 0;
}

.at-carousel__slide a {
    display: block;
}

.at-carousel__slide img {
    width: auto;
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.at-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    color: var(--at-black);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
    border-radius: 0;
}

.at-carousel__arrow:hover {
    background-color: var(--at-white);
    transform: translateY(-50%) scale(1.05);
}

.at-carousel__arrow--prev {
    left: 24px;
}

.at-carousel__arrow--next {
    right: 24px;
}

.at-carousel--dark .at-carousel__arrow {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--at-white);
}

.at-carousel--dark .at-carousel__arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.at-carousel__counter {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--at-white);
    font-family: var(--at-font-body);
    font-size: 14px;
    font-weight: 300;
    padding: 8px 18px;
    letter-spacing: 0.05em;
    z-index: 2;
}

/* Touch swipe feedback */
.at-carousel__track.is-dragging {
    transition: none;
    cursor: grabbing;
}

.at-carousel__track:not(.is-dragging) {
    cursor: grab;
}

@media (max-width: 768px) {
    .at-carousel__arrow {
        width: 40px;
        height: 40px;
    }

    .at-carousel__arrow--prev {
        left: 12px;
    }

    .at-carousel__arrow--next {
        right: 12px;
    }

    .at-carousel__counter {
        bottom: 16px;
        right: 16px;
        font-size: 12px;
        padding: 6px 14px;
    }
}

/* Villa Gallery Showcase — first image full width */
.at-villa-gallery__showcase {
    margin-bottom: 20px;
}

.at-villa-gallery__hero {
    width: 100%;
    aspect-ratio: 21/9;
    overflow: hidden;
    margin: 0;
}

.at-villa-gallery__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--at-ease);
}

.at-villa-gallery__hero:hover img {
    transform: scale(1.03);
}

/* Masonry-like grid */
.at-villa-gallery__grid--masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.at-villa-gallery__grid--masonry .at-villa-gallery__item--wide {
    grid-column: span 2;
}

/* Night gallery grid */
.at-villa-gallery__grid--night {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.at-villa-gallery__grid--night .at-villa-gallery__item--wide {
    grid-column: span 2;
}

/* Villa night section */
.at-villa-night .at-section__label {
    color: var(--at-bronze);
}

/* Gallery items */
.at-villa-gallery__item {
    overflow: hidden;
    margin: 0;
    aspect-ratio: 4/3;
}

.at-villa-gallery__item--wide {
    aspect-ratio: 21/9;
}

.at-villa-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--at-ease);
}

.at-villa-gallery__item:hover img {
    transform: scale(1.04);
}

/* Plans */
.at-villa-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.at-villa-plans__item {
    margin: 0;
}

.at-villa-plans__item img {
    width: 100%;
    height: auto;
}

.at-villa-plans__item figcaption {
    text-align: center;
    margin-top: 16px;
    font-family: var(--at-font-body);
    font-size: 14px;
    color: var(--at-text-light);
    letter-spacing: normal;
    text-transform: none;
}

/* Villa features */
.at-villa-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 60px;
    max-width: 700px;
    margin: 0 auto;
}

.at-villa-features__item {
    padding: 14px 0;
    padding-left: 28px;
    position: relative;
    font-size: 18px;
    font-weight: 300;
    color: var(--at-text);
    border-bottom: 1px solid var(--at-cream);
}

.at-villa-features__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 12px;
    height: 6px;
    border-left: 1px solid var(--at-bronze);
    border-bottom: 1px solid var(--at-bronze);
    transform: rotate(-45deg);
}

/* Villa CTA — with background image */
.at-villa-cta {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--at-black);
    padding: 0;
    text-align: center;
}

.at-villa-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65));
    z-index: 1;
}

.at-villa-cta__inner {
    position: relative;
    z-index: 2;
    padding: 120px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.at-villa-cta__title {
    font-family: var(--at-font-heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 600;
    color: var(--at-white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.at-villa-cta__text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 36px;
}

.at-villa-cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .at-villa-cta__actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .at-villa-cta__actions .at-btn {
        width: 100%;
        max-width: 320px;
        white-space: normal;
        line-height: 1.3;
    }
}

.at-villa-cta__old-title {
    font-family: var(--at-font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--at-white);
    margin-bottom: 36px;
}


/* ==========================================================================
   21. BLOG / POST STYLES
   ========================================================================== */

.at-post {
    padding: 50px 0;
    border-bottom: 1px solid var(--at-border);
}

.at-post:last-child {
    border-bottom: none;
}

.at-post h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 14px;
}

.at-post h2 a {
    color: var(--at-text-heading);
    text-decoration: none;
    transition: color 0.3s ease;
}

.at-post h2 a:hover {
    color: var(--at-bronze);
}

.at-post__content {
    color: var(--at-text-light);
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
}


/* ==========================================================================
   22. UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 40px; }
.mt-4 { margin-top: 60px; }
.mt-5 { margin-top: 80px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 40px; }
.mb-4 { margin-bottom: 60px; }
.mb-5 { margin-bottom: 80px; }

.at-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ==========================================================================
   23. RESPONSIVE — TABLET (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --at-section-pad: 70px;
        --at-container-pad: 30px;
    }

    /* Header — mobile: hamburger only */
    .at-header__inner {
        justify-content: space-between;
    }

    .at-header__brochure {
        display: none !important;
    }

    /* Grids */
    .at-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    /* Home */
    .at-home-intro__text {
        max-width: 100%;
    }

    .at-home-collection {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .at-home-setting {
        background-attachment: scroll;
    }

    /* Investment */
    .at-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact */
    .at-contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .at-contact-info {
        position: static;
        border-top: 2px solid var(--at-bronze);
    }

    /* Collection */
    .at-collection-grid {
        gap: 36px;
    }

    .at-showcase__layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .at-showcase__layout--reverse .at-showcase__image,
    .at-showcase__layout--reverse .at-showcase__content {
        order: unset;
    }

    .at-showcase__image-secondary {
        width: 35%;
        bottom: -12px;
        right: -12px;
    }

    .at-showcase__title {
        font-size: 1.8rem;
    }

    .at-showcase__number {
        font-size: 2.5rem;
    }

    /* Footer */
    .at-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    /* Villa */
    .at-villa-gallery__grid--masonry {
        grid-template-columns: repeat(2, 1fr);
    }

    .at-villa-gallery__grid--masonry .at-villa-gallery__item--wide {
        grid-column: span 2;
    }

    .at-villa-plans {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}


/* ==========================================================================
   24. RESPONSIVE — MOBILE (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --at-section-pad: 50px;
        --at-container-pad: 24px;
    }

    /* Hero */
    .at-hero {
        height: 75vh;
        min-height: 500px;
        background-attachment: scroll;
    }

    .at-hero--small {
        height: 50vh;
        min-height: 340px;
    }

    .at-hero__title {
        font-size: clamp(1.8rem, 7vw, 3rem);
        letter-spacing: normal;
        margin-bottom: 16px;
    }

    .at-hero__subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        margin-bottom: 30px;
        max-width: 500px;
    }

    .at-hero__actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .at-hero__buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 0 20px;
    }

    .at-hero__buttons .at-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .at-hero__scroll {
        bottom: 20px;
    }

    /* Buttons */
    .at-btn {
        padding: 16px 40px;
    }

    .at-btn--large {
        padding: 18px 46px;
    }

    /* Section header */
    .at-section__header {
        margin-bottom: 60px;
    }

    /* Grids */
    .at-grid--4,
    .at-grid--3,
    .at-grid--2 {
        grid-template-columns: 1fr;
    }

    /* Home */

    .at-home-collection {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Stacking cards on scroll */
    .at-home-why-blocks {
        display: flex;
        flex-direction: column;
        border-top: none;
        gap: 0;
        padding-bottom: 40px;
    }

    .at-home-why-block {
        position: sticky;
        padding: 32px 28px;
        border-right: none;
        border-bottom: none;
        background: var(--at-cream);
        border-radius: 6px;
        box-shadow:
            0 -4px 20px rgba(0, 0, 0, 0.06),
            0 2px 8px rgba(0, 0, 0, 0.04);
        border-left: 3px solid var(--at-bronze);
        transition: transform 0.3s var(--at-ease-out), box-shadow 0.3s var(--at-ease-out);
        z-index: 1;
    }

    .at-home-why-block:nth-child(1) {
        top: 90px;
        z-index: 1;
    }

    .at-home-why-block:nth-child(2) {
        top: 110px;
        z-index: 2;
        margin-top: -10px;
    }

    .at-home-why-block:nth-child(3) {
        top: 130px;
        z-index: 3;
        margin-top: -10px;
    }

    .at-home-why-block:last-child {
        border-bottom: none;
    }

    .at-home-setting {
        min-height: 50vh;
    }

    .at-home-setting__overlay {
        background: linear-gradient(
            to bottom,
            rgba(26, 26, 26, 0.55) 0%,
            rgba(26, 26, 26, 0.35) 100%
        );
    }

    .at-home-setting__content {
        padding: 70px 0;
    }

    .at-home-setting__map-frame {
        margin-top: 40px;
        padding: 16px;
    }

    .at-home-setting__map-frame::before,
    .at-home-setting__map-frame::after,
    .at-home-setting__corner-tr,
    .at-home-setting__corner-bl {
        width: 36px;
        height: 36px;
    }

    .at-home-setting__map img {
        height: 260px;
    }

    .at-home-setting__pin::before {
        width: 12px;
        height: 12px;
    }

    /* Collection */
    .at-collection-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .at-collection-grid .at-villa-card__content {
        padding: 24px 0;
    }

    .at-showcase__specs {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .at-showcase__image-secondary {
        display: none;
    }

    /* Investment */
    .at-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .at-stat-box {
        padding: 30px 16px;
    }

    .at-stat-box__value {
        font-size: clamp(2.2rem, 4vw, 3rem);
    }

    .at-investment-steps__item {
        padding-left: 56px;
        padding-bottom: 40px;
    }

    .at-investment-steps__number {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .at-investment-steps__item::before {
        left: 16px;
    }

    /* Contact */
    .at-contact-info {
        padding: 40px;
        position: static;
    }

    .at-contact-info__block--note {
        margin-left: -16px;
        margin-right: -16px;
        padding: 24px 20px;
    }

    .at-form__group {
        margin-bottom: 32px;
    }

    /* Villa */
    .at-villa-gallery__grid--masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .at-villa-gallery__grid--masonry .at-villa-gallery__item--wide {
        grid-column: span 2;
    }

    .at-villa-gallery__grid--night {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .at-villa-gallery__hero {
        aspect-ratio: 16/9;
    }

    .at-villa-plans {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .at-villa-keydata {
        flex-wrap: wrap;
    }

    .at-villa-keydata__item {
        flex: 1 1 calc(33.333% - 1px);
        padding: 24px 12px;
    }

    .at-villa-keydata__item:nth-child(3) {
        border-right: none;
    }

    .at-villa-amenities {
        gap: 8px;
    }

    .at-villa-amenities__item {
        font-size: 13px;
        padding: 8px 16px;
    }

    /* Forms */
    .at-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* CTA banner */
    .at-cta-banner {
        padding: 80px 0;
    }

    .at-cta-banner__actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    /* Footer */
    .at-footer {
        padding-top: 70px;
    }

    .at-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .at-footer__brand {
        text-align: center;
    }

    .at-footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* Villa card */
    .at-villa-card__content {
        padding: 24px 0;
    }

    .at-villa-card__title {
        font-size: 1.3rem;
    }

    .at-villa-card__specs {
        flex-wrap: wrap;
    }
}


/* ==========================================================================
   25. RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
    :root {
        --at-section-pad: 56px;
        --at-container-pad: 18px;
    }

    .at-header__inner {
        padding: 0 18px;
    }

    .at-header__logo-img {
        height: 38px;
    }

    .at-hero {
        height: 70vh;
        min-height: 400px;
    }

    .at-hero--small {
        height: 45vh;
        min-height: 280px;
    }

    .at-hero__title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
        letter-spacing: normal;
        margin-bottom: 12px;
    }

    .at-hero__subtitle {
        font-size: 14px;
        margin-bottom: 24px;
        max-width: 90%;
    }

    .at-hero__content {
        padding: 0 16px;
    }

    .at-hero__buttons {
        padding: 0 16px;
    }

    .at-hero__buttons .at-btn {
        max-width: 280px;
        padding: 16px 32px;
        font-size: 14px;
    }

    .at-btn {
        padding: 16px 36px;
        font-size: 15px;
        width: 100%;
    }

    .at-btn--small {
        width: auto;
    }

    /* Stats */
    .at-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Villa gallery */
    .at-villa-gallery__grid--masonry {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .at-villa-gallery__grid--masonry .at-villa-gallery__item--wide {
        grid-column: span 1;
    }

    .at-villa-gallery__hero {
        aspect-ratio: 16/9;
    }

    /* Contact info */
    .at-contact-info {
        padding: 30px 22px;
        position: static;
    }

    .at-contact-info__block--note {
        margin-left: -10px;
        margin-right: -10px;
        padding: 20px 16px;
    }

    /* Mobile menu */
    .at-mobile-nav > li > a {
        font-size: 1.6rem;
    }

    /* Footer */
    .at-footer__heading {
        margin-bottom: 18px;
    }
}


/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.at-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--at-ease-out), visibility 0.4s var(--at-ease-out);
}

.at-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.at-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Close button */
.at-lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 3;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--at-ease-out);
}

.at-lightbox__close:hover {
    color: var(--at-white);
    border-color: var(--at-bronze);
    transform: rotate(90deg);
}

/* Navigation arrows */
.at-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--at-ease-out);
}

.at-lightbox__nav:hover {
    color: var(--at-white);
    background: rgba(201, 134, 70, 0.15);
    border-color: var(--at-bronze);
}

.at-lightbox__nav--prev {
    left: 24px;
}

.at-lightbox__nav--prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.at-lightbox__nav--next {
    right: 24px;
}

.at-lightbox__nav--next:hover {
    transform: translateY(-50%) translateX(3px);
}

.at-lightbox__nav[hidden] {
    display: none;
}

/* Image stage */
.at-lightbox__stage {
    position: relative;
    z-index: 2;
    max-width: calc(100vw - 160px);
    max-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.at-lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s var(--at-ease-out), transform 0.4s var(--at-ease-out);
}

.at-lightbox.is-open .at-lightbox__img.is-loaded {
    opacity: 1;
    transform: scale(1);
}

/* Footer: counter + caption */
.at-lightbox__footer {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: normal;
    text-transform: none;
    font-family: var(--at-font-body);
}

.at-lightbox__counter {
    color: var(--at-bronze-light);
    font-family: var(--at-font-heading);
    font-size: 14px;
    letter-spacing: 0.05em;
}

.at-lightbox__caption {
    font-style: italic;
    text-transform: none;
    letter-spacing: 0.02em;
}

/* Loading spinner */
.at-lightbox__img.is-loading {
    opacity: 0;
}

.at-lightbox.is-loading .at-lightbox__stage::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--at-bronze);
    border-radius: 50%;
    animation: at-lb-spin 0.8s linear infinite;
}

@keyframes at-lb-spin {
    to { transform: rotate(360deg); }
}

/* Body lock when lightbox is open */
body.at-lightbox-open {
    overflow: hidden;
}

/* Mobile */
@media (max-width: 768px) {
    .at-lightbox__close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    .at-lightbox__nav {
        width: 40px;
        height: 40px;
    }

    .at-lightbox__nav--prev {
        left: 12px;
    }

    .at-lightbox__nav--next {
        right: 12px;
    }

    .at-lightbox__stage {
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 100px);
    }

    .at-lightbox__img {
        max-height: calc(100vh - 100px);
    }

    .at-lightbox__footer {
        bottom: 16px;
    }
}

@media (max-width: 480px) {
    .at-lightbox__nav {
        top: auto;
        bottom: 60px;
        transform: none;
    }

    .at-lightbox__nav--prev {
        left: 24px;
    }

    .at-lightbox__nav--prev:hover {
        transform: translateX(-3px);
    }

    .at-lightbox__nav--next {
        right: 24px;
    }

    .at-lightbox__nav--next:hover {
        transform: translateX(3px);
    }
}


/* ==========================================================================
   BACK TO TOP
   ========================================================================== */

/* Sticky language switcher — bottom-left */
.at-lang-sticky {
    position: fixed;
    bottom: 36px;
    left: 36px;
    z-index: 900;
}

.at-lang-sticky .at-lang-switch {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1024px) {
    .at-lang-sticky {
        display: none;
    }
}

.at-back-top {
    position: fixed;
    bottom: 36px;
    right: 36px;
    z-index: 900;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--at-black);
    color: var(--at-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition:
        opacity 0.4s var(--at-ease-out),
        visibility 0.4s var(--at-ease-out),
        transform 0.4s var(--at-ease-out),
        background 0.3s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.at-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.at-back-top:hover {
    background: var(--at-bronze);
    box-shadow: 0 6px 28px rgba(201, 134, 70, 0.3);
}

.at-back-top svg:first-child {
    position: relative;
    z-index: 1;
    transition: transform 0.3s var(--at-ease-out);
}

.at-back-top:hover svg:first-child {
    transform: translateY(-2px);
}

/* Progress ring */
.at-back-top__ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    transform: rotate(-90deg);
    pointer-events: none;
}

.at-back-top__ring circle {
    stroke: var(--at-bronze);
    transition: stroke-dashoffset 0.1s linear;
}

@media (max-width: 768px) {
    .at-back-top {
        bottom: 24px;
        right: 24px;
        width: 44px;
        height: 44px;
    }

    .at-back-top__ring {
        width: 44px;
        height: 44px;
    }
}

@media print {
    .at-back-top {
        display: none !important;
    }
}


/* ==========================================================================
   26. PRINT STYLES
   ========================================================================== */

@media print {
    .at-header,
    .at-mobile-menu,
    .at-cta-banner,
    .at-footer,
    .at-hero__scroll,
    .at-header__toggle {
        display: none !important;
    }

    .at-hero {
        height: auto;
        min-height: 0;
        padding: 40px 0;
        background: none !important;
    }

    .at-hero__overlay {
        display: none;
    }

    .at-hero__title {
        color: var(--at-black);
        font-size: 2rem;
    }

    .at-section {
        padding: 30px 0;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        color: #000;
    }
}
