/* ============================================================
   Id Developers - Luxury Real Estate Website
   Brand Colors from Lancaster Deck:
     Primary Navy: #2a426b
     Dark Navy: #213e58, #1a2942
     Green: #535e46, #537639, #a9c891
     Warm Beige: #d0cabb, #e3e0d7
   Fonts: Open Sans (deck), Poppins (idvertical.com)
   ============================================================ */

/* --- CSS Variables --- */
:root {
    /* Brand Colors - Lancaster Deck */
    --navy: #2a426b;
    --navy-dark: #213e58;
    --navy-deeper: #1a2942;
    --green-brand: #535e46;
    --green-mid: #537639;
    --green-light: #a9c891;
    --beige: #d0cabb;
    --beige-light: #e3e0d7;
    --beige-warm: #dcdfd5;

    /* Extended Palette */
    --gold: #c9a96e;
    --gold-light: #d4b87a;
    --blue-soft: #95add5;

    /* Neutrals */
    --black: #0a0a0a;
    --dark-1: #111827;
    --dark-2: #1a1f2e;
    --dark-3: #222222;
    --gray-dark: #333333;
    --gray: #595656;
    --gray-medium: #888888;
    --gray-light: #bbbbbb;
    --off-white: #f7f5f2;
    --white: #ffffff;
    --cream: #faf8f5;

    /* Typography - Corporate Manual: Arial */
    --font-heading: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    --font-body: Arial, 'Helvetica Neue', Helvetica, sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1280px;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-dark);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: var(--section-padding) 0;
}

.text-center {
    text-align: center;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy-deeper);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(208, 202, 187, 0.3));
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* --- Navigation --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}

#navbar.scrolled {
    background: rgba(26, 41, 66, 0.97);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: transform 0.3s var(--ease);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 12px;
}

#navbar.scrolled .logo-img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--beige);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--white);
}

.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--beige) !important;
    color: var(--navy-deeper) !important;
    padding: 10px 24px !important;
    border-radius: 2px;
    font-weight: 600 !important;
    letter-spacing: 1px;
    transition: all 0.3s var(--ease) !important;
}

.nav-cta:hover {
    background: var(--beige-light) !important;
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--ease);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(26, 41, 66, 0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.5s var(--ease-out);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    text-align: center;
}

.mobile-menu li {
    margin: 24px 0;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--white);
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--beige);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/page01_img01_2933x1648.jpeg') center center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(26, 41, 66, 0.85) 0%, rgba(33, 62, 88, 0.8) 40%, rgba(42, 66, 107, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    padding: 0 40px;
}

.hero-subtitle {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-description {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease-out) 1.1s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s var(--ease) 1.5s forwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--beige), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    border: none;
}

.btn-primary {
    background: var(--beige);
    color: var(--navy-deeper);
}

.btn-primary:hover {
    background: var(--beige-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(208, 202, 187, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--beige);
    color: var(--beige);
    transform: translateY(-2px);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(42, 66, 107, 0.3);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* --- Section Styles --- */
.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 16px;
}

.section-label.light {
    color: var(--beige);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--navy-deeper);
    margin-bottom: 16px;
}

.section-title.light {
    color: var(--white);
}

.accent {
    color: var(--navy);
    font-style: italic;
}

.section-title.light .accent {
    color: var(--beige);
}

.section-subtitle {
    font-size: 17px;
    font-weight: 300;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-text {
    font-size: 16px;
    font-weight: 300;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-header {
    margin-bottom: 60px;
}

/* --- About Section --- */
.about {
    background: var(--cream);
}

.about-image {
    position: relative;
}

.about-img-real {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(42, 66, 107, 0.2);
}

.image-placeholder {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--beige);
    z-index: -1;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-medium);
    margin-top: 4px;
    letter-spacing: 1px;
}

/* --- Featured Project (Legacy Estates) --- */
.featured-project {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.featured-bg {
    position: absolute;
    inset: 0;
    background: url('images/page12_img05_1080x608.jpeg') center center / cover no-repeat;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 41, 66, 0.92) 0%, rgba(26, 41, 66, 0.4) 100%);
}

.featured-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 80px 0;
}

.featured-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--beige);
    color: var(--navy-deeper);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.featured-name {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 8px;
}

.featured-location {
    font-size: 16px;
    font-weight: 300;
    color: var(--beige);
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.featured-desc {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 32px;
}

.featured-details {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-medium);
    margin-bottom: 4px;
}

.detail-value {
    font-size: 15px;
    font-weight: 400;
    color: var(--white);
}

/* Key Metrics Strip */
.metrics-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--navy);
    position: relative;
    z-index: 3;
}

.metric-item {
    padding: 40px 32px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-item:last-child {
    border-right: none;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 500;
    color: var(--beige);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Mexico Projects Grid --- */
.mexico-section {
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-card {
    background: var(--cream);
    overflow: hidden;
    transition: all 0.5s var(--ease);
    display: block;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(42, 66, 107, 0.15);
}

.card-image {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.condesa-bg { background: url('images/condesa_hero.webp') center center / cover no-repeat; }
.jacinta-bg { background: url('images/santajacinta_hero.jpg') center center / cover no-repeat; }
.satelite-bg { background: url('images/satelite_hero.jpg') center center / cover no-repeat; }
.bellavista-bg { background: url('images/bellavista_hero.jpg') center center / cover no-repeat; }

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 41, 66, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.project-card:hover .card-overlay {
    opacity: 1;
}

.card-cta {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 28px;
    border: 1px solid var(--beige);
}

.card-content {
    padding: 28px 28px 32px;
}

.card-developer {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--navy);
    display: block;
    margin-bottom: 8px;
}

.card-name {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 500;
    color: var(--navy-deeper);
    margin-bottom: 4px;
}

.card-location {
    font-size: 14px;
    font-weight: 400;
    color: var(--green-brand);
    margin-bottom: 12px;
}

.card-desc {
    font-size: 14px;
    font-weight: 300;
    color: var(--gray);
    line-height: 1.7;
}

.card-image-link {
    display: block;
    text-decoration: none;
}

.card-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.card-link-btn {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

.card-link-btn:hover {
    color: var(--gold);
}

.card-link-ig {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    transition: all 0.3s var(--ease);
}

.card-link-ig:hover {
    background: var(--gold);
    transform: scale(1.1);
}

.card-link-ig svg {
    width: 16px;
    height: 16px;
}

/* --- Philosophy Section --- */
.philosophy {
    background: var(--navy-deeper);
    position: relative;
}

.philosophy-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 70%, rgba(83, 94, 70, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(208, 202, 187, 0.04) 0%, transparent 50%);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.phil-card {
    text-align: center;
    padding: 40px 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s var(--ease);
}

.phil-card:hover {
    border-color: rgba(208, 202, 187, 0.3);
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-4px);
}

.phil-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    color: var(--beige);
}

.phil-icon svg {
    width: 100%;
    height: 100%;
}

.phil-card h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 16px;
}

.phil-card p {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* --- Team Section --- */
.team-section {
    background: var(--off-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    background: var(--white);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s var(--ease);
    border: 1px solid transparent;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(42, 66, 107, 0.1);
    border-color: rgba(42, 66, 107, 0.1);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-dark));
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--beige);
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.team-card:hover .team-avatar img {
    filter: grayscale(0%);
}

.team-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--navy-deeper);
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 16px;
}

.team-bio {
    font-size: 14px;
    font-weight: 300;
    color: var(--gray);
    line-height: 1.7;
}

/* --- Quote Section --- */
.quote-section {
    background: var(--cream);
    padding: 100px 0;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 100px;
    color: var(--navy);
    line-height: 0.5;
    margin-bottom: 20px;
    opacity: 0.3;
}

blockquote {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 400;
    font-style: italic;
    color: var(--navy-deeper);
    line-height: 1.5;
    margin-bottom: 24px;
}

cite {
    font-family: var(--font-body);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--navy);
}

/* --- Contact Section --- */
.contact {
    background: var(--white);
}

.contact-grid {
    gap: 60px;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--navy);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-item strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-deeper);
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 14px;
    color: var(--gray);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--off-white);
    padding: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--navy-deeper);
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    outline: none;
    transition: border-color 0.3s var(--ease);
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-medium);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--navy);
}

.form-group select {
    color: var(--gray-medium);
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- Footer --- */
.footer {
    background: var(--navy-deeper);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
}

.footer-logo .logo-text {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
}

.footer-tagline {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s var(--ease);
}

.footer-social a:hover {
    border-color: var(--beige);
    color: var(--beige);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links-group h5 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links-group li {
    margin-bottom: 12px;
}

.footer-links-group a {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s;
}

.footer-links-group a:hover {
    color: var(--beige);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom strong {
    color: rgba(255, 255, 255, 0.5);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: all 0.3s var(--ease);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .container {
        padding: 0 32px;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .container {
        padding: 0 24px;
    }

    .logo-img {
        height: 36px;
    }

    .logo-text {
        font-size: 11px;
        letter-spacing: 2px;
        margin-top: 8px;
    }

    .footer-logo-img {
        height: 36px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .metrics-strip {
        grid-template-columns: 1fr 1fr;
    }

    .about-stats {
        gap: 24px;
    }

    .stat-number, .stat-plus {
        font-size: 32px;
    }

    .featured-details {
        flex-direction: column;
        gap: 16px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .image-placeholder,
    .about-img-real {
        height: 350px;
    }

    .about-image-accent {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 14px 32px;
    }

    .about-stats {
        flex-wrap: wrap;
    }

    .metrics-strip {
        grid-template-columns: 1fr;
    }

    .metric-item {
        padding: 24px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}
