/* ===================================
   Les Chèvrefeuilles — Stylesheet
   =================================== */

/* --- CSS Variables --- */
:root {
    --color-green: #5B8C5A;
    --color-green-dark: #3D6B3C;
    --color-green-light: #7BAF7A;
    --color-green-pale: #E8F0E8;
    --color-green-bg: #F5F9F5;
    --color-warm: #D4A574;
    --color-warm-dark: #B8895A;
    --color-warm-light: #E8C9A8;
    --color-cream: #FDF8F3;
    --color-white: #FFFFFF;
    --color-text: #2C3E2C;
    --color-text-light: #5A6E5A;
    --color-text-muted: #8A9B8A;
    --color-border: #D8E4D8;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-green);
    text-decoration: none;
    transition: color var(--transition);
}

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

ul { list-style: none; }

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar:not(.scrolled) .nav-logo {
    color: var(--color-white);
}

.navbar:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .nav-links a.active {
    color: var(--color-white);
}

.navbar:not(.scrolled) .nav-toggle span {
    background: var(--color-white);
}

.navbar:not(.scrolled) .nav-cta {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white) !important;
}

.navbar:not(.scrolled) .nav-cta:hover {
    background: rgba(255, 255, 255, 0.3);
}

.navbar:not(.scrolled) .logo-icon path {
    stroke: var(--color-white);
}

.navbar:not(.scrolled) .logo-icon path[opacity] {
    fill: rgba(255, 255, 255, 0.3);
}

.navbar:not(.scrolled) .logo-icon circle {
    fill: rgba(255, 255, 255, 0.4);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--color-green);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-green);
    transition: width var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-green);
    color: var(--color-white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--color-green-dark);
    color: var(--color-white) !important;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   Hero
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-text);
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-image: url('img/hero.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(44, 62, 44, 0.45) 0%,
        rgba(44, 62, 44, 0.55) 40%,
        rgba(44, 62, 44, 0.70) 100%
    );
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 120px 24px 60px;
}

.hero-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-green-light);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-title em {
    color: var(--color-green-light);
    font-style: italic;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Hero badges */
.hero-badges {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 60px;
    padding: 20px 40px;
}

.hero-badge {
    text-align: center;
}

.hero-badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
}

.hero-badge-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.hero-badge-sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition);
    animation: bounce 2s infinite;
}

.hero-scroll a:hover {
    border-color: var(--color-white);
    color: var(--color-white);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--color-green-dark);
    border-color: var(--color-green-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(91, 140, 90, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--color-green);
    color: var(--color-green);
    transform: translateY(-2px);
}

/* Hero-specific button overrides */
.hero .btn-primary {
    background: var(--color-white);
    color: var(--color-green-dark);
    border-color: var(--color-white);
    font-weight: 600;
}

.hero .btn-primary:hover {
    background: var(--color-green-pale);
    border-color: var(--color-green-pale);
    color: var(--color-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

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

.hero .btn-outline:hover {
    border-color: var(--color-white);
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ===================================
   Sections (common)
   =================================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-green);
    background: var(--color-green-pale);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-text);
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===================================
   About Section
   =================================== */
.section-about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-lead {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* Structures list */
.about-structures {
    background: var(--color-green-bg);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
}

.about-structures-title {
    font-size: 1.3rem;
    margin-bottom: 28px;
    color: var(--color-text);
}

.structure-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.structure-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.structure-item:hover {
    border-color: var(--color-green-pale);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.structure-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.structure-item strong {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
}

.structure-item span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ===================================
   Residences Section
   =================================== */
.section-residences {
    background: var(--color-green-bg);
}

.residence-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.residence-card:last-child {
    margin-bottom: 0;
}

.residence-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--color-green-pale);
}

.residence-header {
    padding: 40px 40px 0;
}

.residence-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-green);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.residence-badge-alt {
    background: var(--color-warm);
}

.residence-name {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 4px;
}

.residence-type {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.residence-body {
    padding: 24px 40px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.residence-desc p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.residence-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--color-text);
}

.feature svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Price block */
.residence-price {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--color-cream) 0%, #FFF5EB 100%);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.price-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.price-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-warm-dark);
    line-height: 1;
}

.price-unit {
    font-size: 1rem;
    color: var(--color-warm-dark);
    margin-right: 12px;
}

.price-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    flex-basis: 100%;
    margin-top: 4px;
}

/* ===================================
   Services Section
   =================================== */
.section-services {
    background: var(--color-white);
}

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

.service-card {
    background: var(--color-green-bg);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-green-pale);
    background: var(--color-white);
}

.service-card-featured {
    background: var(--color-white);
    border: 1px solid var(--color-green-pale);
    box-shadow: var(--shadow-sm);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===================================
   Wellness / Bien-être Section
   =================================== */
.section-wellness {
    background: var(--color-cream);
}

.wellness-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.wellness-item {
    text-align: center;
    padding: 24px 12px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.wellness-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-warm-light);
}

.wellness-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
}

.wellness-item h4 {
    font-size: 0.85rem;
    color: var(--color-text);
    font-weight: 600;
}

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

.wellness-activity-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    border-left: 4px solid var(--color-warm);
}

.wellness-activity-card h4 {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 16px;
}

.wellness-activity-card ul {
    list-style: none;
}

.wellness-activity-card li {
    font-size: 0.9rem;
    color: var(--color-text-light);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.wellness-activity-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-warm-light);
    transform: translateY(-50%);
}

/* ===================================
   Environment Section
   =================================== */
.section-environment {
    background: var(--color-white);
}

.env-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.env-card {
    text-align: center;
    padding: 36px 20px;
    background: var(--color-green-bg);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.env-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--color-green-pale);
}

.env-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
}

.env-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

.env-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.env-highlight {
    text-align: center;
}

.env-highlight blockquote {
    background: linear-gradient(135deg, var(--color-green-pale) 0%, var(--color-cream) 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    border-left: 4px solid var(--color-green);
}

.env-highlight blockquote p {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-green-dark);
    line-height: 1.6;
}

/* ===================================
   Values Section
   =================================== */
.section-values {
    background: var(--color-green-bg);
}

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

.value-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 36px 24px;
    transition: all var(--transition);
    border: 1px solid transparent;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-green-pale);
}

.value-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-green-pale);
    margin-bottom: 12px;
    line-height: 1;
}

.value-card h3 {
    font-size: 1.15rem;
    color: var(--color-text);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===================================
   FEDER Banner
   =================================== */
.section-feder {
    padding: 40px 0;
    background: var(--color-white);
}

.feder-banner {
    background: linear-gradient(135deg, #EBF0FB 0%, #F0F4FF 100%);
    border-radius: var(--radius-md);
    padding: 28px 36px;
    border-left: 4px solid #4A6FA5;
    text-align: center;
}

.feder-banner p {
    font-size: 0.9rem;
    color: #3D5A80;
    line-height: 1.7;
}

.feder-banner strong {
    color: #2B4162;
}

/* ===================================
   Contact Section
   =================================== */
.section-contact {
    background: var(--color-green-bg);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.contact-card h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-green);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
}

.contact-card a {
    color: var(--color-text);
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--color-green);
}

.map-container {
    width: 100%;
    height: 460px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--color-green-pale);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo:hover {
    color: var(--color-green-light);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4,
.footer-residences h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-residences ul {
    list-style: none;
}

.footer-links li,
.footer-residences li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-residences a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-residences a:hover {
    color: var(--color-green-light);
}

.footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.footer-legal {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.4);
}

/* ===================================
   Animations (scroll reveal)
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Stagger children */
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.35s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

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

    .residence-body {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-white);
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        text-align: center;
        margin-top: 8px;
    }

    .section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero-content {
        padding: 100px 16px 60px;
    }

    .hero-badges {
        gap: 20px;
    }

    .hero-badge-number {
        font-size: 1.6rem;
    }

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

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

    .wellness-activities {
        grid-template-columns: 1fr;
    }

    .env-cards {
        grid-template-columns: 1fr;
    }

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

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

    .map-container {
        height: 300px;
    }

    .env-highlight blockquote {
        padding: 32px 24px;
    }

    .env-highlight blockquote p {
        font-size: 1.1rem;
    }

    .residence-header {
        padding: 28px 24px 0;
    }

    .residence-body {
        padding: 20px 24px 28px;
    }

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

    .footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-badges {
        flex-direction: column;
        gap: 12px;
        padding: 16px 28px;
        border-radius: 16px;
    }

    .hero-badge-sep {
        width: 40px;
        height: 1px;
    }

    .hero-badges {
        display: flex;
        flex-direction: row;
        gap: 20px;
        padding: 14px 24px;
    }

    .hero-badge-number {
        font-size: 1.5rem;
    }

    .wellness-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .wellness-item {
        padding: 16px 8px;
    }

    .wellness-item h4 {
        font-size: 0.78rem;
    }

    .service-card {
        padding: 28px 20px;
    }

    .residence-name {
        font-size: 1.4rem;
    }

    .price-value {
        font-size: 1.8rem;
    }
}
