/* ============================================================
   MIGUEL SABIDO CONSULTANCY - Ultra Premium One-Page Website
   Color Palette: Deep Navy + Gold + Silver/Chrome
   ============================================================ */

/* ======================== CSS VARIABLES ======================== */
:root {
    /* Primary Colors */
    --navy-darkest: #060d18;
    --navy-dark: #0a1528;
    --navy: #0d1b33;
    --navy-mid: #122241;
    --navy-light: #1a2d52;

    /* Gold Accent */
    --gold: #c9a84c;
    --gold-light: #d4b85e;
    --gold-dark: #a88a3a;
    --gold-glow: rgba(201, 168, 76, 0.3);
    --gold-subtle: rgba(201, 168, 76, 0.08);

    /* Silver/Chrome */
    --silver: #b8c4d0;
    --silver-light: #d5dce4;
    --silver-dark: #8a95a5;

    /* Text */
    --text-primary: #edf0f5;
    --text-secondary: #9aa5b8;
    --text-muted: #6b7a92;

    /* Utility */
    --border: rgba(201, 168, 76, 0.12);
    --border-hover: rgba(201, 168, 76, 0.3);
    --card-bg: rgba(13, 27, 51, 0.6);
    --card-bg-hover: rgba(18, 34, 65, 0.8);

    /* Typography */
    --font-heading: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======================== RESET & BASE ======================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--navy-darkest);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--gold);
    color: var(--navy-darkest);
}

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

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

/* ======================== UTILITY CLASSES ======================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.gold-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--gold-subtle);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

section {
    padding: var(--section-padding) 0;
    position: relative;
    text-align: center;
}

/* ======================== PRELOADER ======================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy-darkest);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    width: 160px;
    margin: 0 auto 30px;
    opacity: 0;
    animation: preloaderFadeIn 0.8s ease forwards;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--navy-mid);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    border-radius: 2px;
    animation: preloaderBar 1.5s ease forwards 0.3s;
}

@keyframes preloaderFadeIn {
    to { opacity: 1; }
}

@keyframes preloaderBar {
    to { width: 100%; }
}

/* ======================== NAVBAR ======================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-smooth);
    background: transparent;
}

#navbar.scrolled {
    padding: 12px 0;
    background: rgba(6, 13, 24, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: opacity var(--transition-fast);
}

.nav-logo:hover img {
    opacity: 0.8;
}

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

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

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

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

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

.nav-cta {
    padding: 8px 24px !important;
    border: 1px solid var(--gold);
    border-radius: 100px;
    color: var(--gold) !important;
    transition: all var(--transition-fast) !important;
}

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

.nav-cta:hover {
    background: var(--gold) !important;
    color: var(--navy-darkest) !important;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
    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 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 50%, rgba(18, 34, 65, 0.8) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(18, 34, 65, 0.8) 0%, transparent 50%),
        linear-gradient(180deg, var(--navy-darkest) 0%, var(--navy-dark) 50%, var(--navy-darkest) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    20% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.3;
    }
    50% {
        transform: translateY(-80px) scale(1);
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
}

.hero-logo-wrapper {
    margin-bottom: 30px;
}

.hero-logo {
    max-width: 320px;
    margin: 0 auto;
    opacity: 0;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
    opacity: 0;
}

.hero-divider-line {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-divider-star {
    color: var(--gold);
    font-size: 0.6rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-primary);
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 48px;
    opacity: 0;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border: 1px solid var(--gold);
    border-radius: 100px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all var(--transition-smooth);
    opacity: 0;
}

.hero-cta:hover {
    background: var(--gold);
    color: var(--navy-darkest);
    box-shadow: 0 0 30px var(--gold-glow);
    transform: translateY(-2px);
}

.hero-cta svg {
    transition: transform var(--transition-smooth);
}

.hero-cta:hover svg {
    transform: translateY(3px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 40px; }
    50% { opacity: 0.8; height: 60px; }
}

/* ======================== ABOUT ======================== */
#about {
    background: linear-gradient(180deg, var(--navy-darkest) 0%, var(--navy-dark) 100%);
}

.about-content {
    display: grid;
    gap: 60px;
    text-align: left;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-lead {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-text strong {
    color: var(--gold-light);
    font-weight: 600;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 20px;
}

.about-highlight-item {
    text-align: center;
    padding: 40px 28px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all var(--transition-smooth);
}

.about-highlight-item:hover {
    background: var(--card-bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--gold-subtle);
    border: 1px solid var(--border);
    color: var(--gold);
    margin-bottom: 20px;
}

.about-highlight-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.about-highlight-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ======================== SABIDO METHOD ======================== */
#method {
    background: var(--navy-dark);
}

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

.method-card {
    padding: 40px 32px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.method-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.method-card:hover::before {
    opacity: 1;
}

.method-card-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.method-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.method-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ======================== SERVICES ======================== */
#services {
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-darkest) 100%);
}

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

.service-card {
    padding: 40px 32px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all var(--transition-smooth);
    position: relative;
}

.service-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--gold-subtle);
    border: 1px solid var(--border);
    color: var(--gold);
    margin-bottom: 24px;
    transition: all var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: rgba(201, 168, 76, 0.15);
    border-color: var(--border-hover);
    box-shadow: 0 0 20px var(--gold-glow);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

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

/* ======================== IMPACT ======================== */
#impact {
    position: relative;
    overflow: hidden;
}

.impact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.impact-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.05) 0%, transparent 70%),
        linear-gradient(180deg, var(--navy-darkest) 0%, var(--navy) 50%, var(--navy-darkest) 100%);
}

#impact .container {
    position: relative;
    z-index: 1;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.impact-item {
    text-align: center;
    padding: 40px 20px;
}

.impact-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 300;
    color: var(--gold-light);
    line-height: 1;
    display: inline;
}

.impact-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--gold);
    display: inline;
    vertical-align: top;
    margin-top: 8px;
}

.impact-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 12px;
    letter-spacing: 0.02em;
}

.impact-quote {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-left: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    position: relative;
}

.impact-quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
    font-weight: 400;
}

/* ======================== DIFFERENTIATOR ======================== */
#differentiator {
    background: linear-gradient(180deg, var(--navy-darkest) 0%, var(--navy-dark) 100%);
}

.diff-table-wrapper {
    display: flex;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.diff-column {
    flex: 1;
    padding: 0;
}

.diff-column-header {
    padding: 24px 32px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
}

.diff-column-old .diff-column-header {
    background: rgba(100, 100, 120, 0.1);
    color: var(--text-muted);
}

.diff-column-new .diff-column-header {
    background: var(--gold-subtle);
    color: var(--gold-light);
}

.diff-item {
    padding: 16px 32px;
    font-size: 0.95rem;
    border-top: 1px solid var(--border);
    text-align: left;
}

.diff-column-old .diff-item {
    color: var(--text-muted);
    background: rgba(10, 15, 30, 0.4);
}

.diff-column-new .diff-item {
    color: var(--text-primary);
    background: rgba(201, 168, 76, 0.03);
}

.diff-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    background: var(--navy-dark);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    flex-shrink: 0;
}

.diff-divider span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    writing-mode: vertical-lr;
}

/* ======================== TEAM ======================== */
#team {
    background: var(--navy-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: left;
}

.team-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.team-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.team-photo-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5/6;
    background: radial-gradient(ellipse at 50% 40%, var(--navy-light) 0%, var(--navy-dark) 60%, var(--navy-darkest) 100%);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.team-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--navy-darkest), transparent);
    pointer-events: none;
}

.team-info {
    padding: 28px 28px 32px;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.team-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.team-bio p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ======================== CONTACT ======================== */
#contact {
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-darkest) 100%);
}

.contact-wrapper {
    max-width: 680px;
    margin: 0 auto;
}

.contact-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(13, 27, 51, 0.8);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
    background: rgba(18, 34, 65, 0.8);
}

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

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    border-radius: 100px;
    color: var(--navy-darkest);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-smooth);
    letter-spacing: 0.02em;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--gold-glow);
}

.form-submit:active {
    transform: translateY(0);
}

.form-submit.sent {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    pointer-events: none;
}

/* ======================== FOOTER ======================== */
#footer {
    padding: 60px 0 40px;
    background: var(--navy-darkest);
    border-top: 1px solid var(--border);
}

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

.footer-logo img {
    height: 60px;
    margin: 0 auto 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: var(--border);
    margin: 24px auto;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ======================== SCROLL ANIMATIONS ======================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================== MOBILE MENU ======================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 13, 24, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
}

.mobile-menu-links li {
    margin-bottom: 24px;
}

.mobile-menu-links a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.mobile-menu-links a:hover {
    color: var(--gold);
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 90px;
    }

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

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

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-logo {
        max-width: 240px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .diff-table-wrapper {
        flex-direction: column;
    }

    .diff-divider {
        width: 100%;
        height: 40px;
        writing-mode: horizontal-tb;
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .diff-divider span {
        writing-mode: horizontal-tb;
    }

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

    .impact-quote {
        padding: 24px;
    }

    .impact-quote blockquote {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 56px;
    }

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

    .impact-item {
        padding: 20px 10px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}
