/* ============================================
   NORMA TURINO — Real Estate Website
   Charcoal + Coral Editorial Design
   ============================================ */

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

:root {
    /* Color Palette */
    --charcoal: #1a1a2e;
    --charcoal-light: #2d2d44;
    --charcoal-mid: #3a3a52;
    --coral: #E07A5F;
    --coral-light: #e8956f;
    --coral-dark: #c4624a;
    --coral-pale: #f5e6e0;
    --cream: #faf8f5;
    --cream-dark: #f0ece6;
    --white: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a62;
    --text-muted: #7a7a92;
    --border: #e8e4de;
    --border-light: #f0ece6;

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Layout */
    --container-max: 1280px;
    --container-narrow: 900px;
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 26, 46, 0.12);
    --shadow-xl: 0 16px 60px rgba(26, 26, 46, 0.16);
}

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--cream);
    overflow-x: hidden;
}

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

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

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.15;
    color: var(--charcoal);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: var(--space-sm);
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral);
    color: var(--white);
    border: 2px solid var(--coral);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--charcoal);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--charcoal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--border);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: var(--charcoal);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.1rem 2.25rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
    height: var(--header-height);
}

.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--coral);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--coral);
    border-radius: 4px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--charcoal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

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

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

.nav-links a:hover {
    color: var(--charcoal);
}

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

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--coral) !important;
    font-weight: 600 !important;
}

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

.nav-phone:hover {
    color: var(--coral-dark) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 6px;
    transition: background var(--transition-fast);
}

.nav-toggle:hover {
    background: var(--cream-dark);
}

.hamburger {
    position: relative;
    width: 100%;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger::before { top: 0; }
.hamburger::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 50%;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 50%;
    transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(224, 122, 95, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(26, 26, 46, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding: var(--space-3xl) 0;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--charcoal);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.hero-headline em {
    font-style: italic;
    color: var(--coral);
}

.hero-subheadline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: var(--space-xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--border);
}

/* Hero Image Layout */
.hero-image-wrapper {
    position: relative;
    height: 600px;
}

.hero-image-main {
    width: 75%;
    height: 80%;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-image-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

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

.hero-floating-card {
    position: absolute;
    top: 50%;
    left: -10%;
    transform: translateY(-50%);
    background: var(--charcoal);
    color: var(--white);
    padding: var(--space-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 2;
}

.floating-stat {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--coral);
    line-height: 1;
}

.floating-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- About ---------- */
.about {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-img-stack {
    position: relative;
    height: 600px;
}

.about-img-primary {
    width: 75%;
    height: 80%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: absolute;
    top: 0;
    left: 0;
}

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

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

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

.about-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.about-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--coral);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
}

/* ---------- Services ---------- */
.services {
    padding: var(--space-4xl) 0;
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-pale);
    border-radius: 12px;
    color: var(--coral);
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--coral);
    color: var(--white);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: var(--space-md);
}

.service-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--coral);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 0.6rem;
}

/* ---------- Areas ---------- */
.areas {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-md);
}

.area-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    min-height: 260px;
}

.area-card--large {
    grid-column: span 7;
    min-height: 340px;
}

.area-card--wide {
    grid-column: span 8;
}

.area-card:nth-child(2) { grid-column: span 5; }
.area-card:nth-child(3) { grid-column: span 4; }
.area-card:nth-child(4) { grid-column: span 4; }
.area-card:nth-child(5) { grid-column: span 4; }

.area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.area-card:hover img {
    transform: scale(1.05);
}

.area-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    transition: background var(--transition-base);
}

.area-card:hover .area-card-overlay {
    background: linear-gradient(to top, rgba(26, 26, 46, 0.8) 0%, rgba(26, 26, 46, 0.2) 100%);
}

.area-name {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.area-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--charcoal);
    color: var(--white);
}

.testimonials .section-eyebrow {
    color: var(--coral);
}

.testimonials .section-heading {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--charcoal-light);
    padding: var(--space-xl);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(224, 122, 95, 0.3);
}

.testimonial-quote {
    color: var(--coral);
    margin-bottom: var(--space-md);
    opacity: 0.6;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal-mid);
    border-radius: 50%;
    color: var(--coral);
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
}

.author-detail {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: var(--space-4xl) 0;
    background: var(--coral-pale);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.cta-content {
    flex: 1;
    min-width: 280px;
}

.cta-eyebrow {
    margin-bottom: var(--space-sm);
}

.cta-heading {
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 480px;
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.contact-item:hover .contact-icon {
    background: var(--coral);
    color: var(--white);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-pale);
    border-radius: 10px;
    color: var(--coral);
    flex-shrink: 0;
    transition: all var(--transition-base);
}

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

.contact-value {
    display: block;
    font-size: 0.95rem;
    color: var(--charcoal);
    font-weight: 500;
    line-height: 1.5;
}

.contact-languages {
    display: flex;
    gap: var(--space-sm);
}

.lang-badge {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    background: var(--cream);
    border-radius: 100px;
    border: 1px solid var(--border);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--cream);
    padding: var(--space-xl);
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    color: var(--charcoal);
    transition: all var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* Success State */
.form-success {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-pale);
    border-radius: 50%;
    color: var(--coral);
}

.success-title {
    font-size: 1.5rem;
    color: var(--charcoal);
}

.success-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 360px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--charcoal);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
    margin-top: var(--space-md);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer-col-title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--coral);
    margin-bottom: var(--space-md);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col a,
.footer-col span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
    line-height: 1.5;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-top: var(--space-lg);
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    max-width: 500px;
    text-align: right;
    line-height: 1.5;
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image-wrapper {
        order: 1;
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-floating-card {
        left: 5%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-img-stack {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

    .area-card--large { grid-column: span 2; }
    .area-card:nth-child(2) { grid-column: span 1; }
    .area-card:nth-child(3) { grid-column: span 1; }
    .area-card:nth-child(4) { grid-column: span 1; }
    .area-card:nth-child(5) { grid-column: span 1; }
    .area-card--wide { grid-column: span 2; }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

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

    .footer-disclaimer {
        text-align: left;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--cream);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--space-xl);
        gap: var(--space-md);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + var(--space-xl));
        padding-bottom: var(--space-2xl);
    }

    .hero-image-wrapper {
        height: 320px;
    }

    .hero-floating-card {
        display: none;
    }

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

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

    .area-card--large,
    .area-card--wide,
    .area-card:nth-child(2),
    .area-card:nth-child(3),
    .area-card:nth-child(4),
    .area-card:nth-child(5) {
        grid-column: span 1;
        min-height: 220px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-disclaimer {
        text-align: center;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

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

    .hero-headline {
        font-size: 2.25rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .about-img-stack {
        height: 300px;
    }

    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

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