/* ========================================
   Motion & Animation Defaults
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    * {
        transition: background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

/* ========================================
   AYG Asociados — Design Tokens
   ======================================== */
:root {
    /* Accent palette — warm amber-orange, OKLCH */
    --clr-accent:        oklch(0.75 0.16 48);
    --clr-accent-deep:   oklch(0.59 0.17 30);
    --clr-accent-light:  oklch(0.83 0.13 62);
    --clr-accent-subtle: oklch(0.955 0.030 70);

    /* Surfaces — warm-tinted neutrals */
    --clr-surface:       oklch(0.988 0.006 80);
    --clr-surface-alt:   oklch(0.970 0.010 75);
    --clr-surface-card:  oklch(0.998 0.004 85);

    /* Text */
    --clr-text:          oklch(0.21 0.022 55);
    --clr-text-mid:      oklch(0.47 0.027 55);
    --clr-text-soft:     oklch(0.63 0.018 65);

    /* Structure */
    --clr-border:        oklch(0.885 0.014 75);
    --clr-footer:        oklch(0.19 0.024 50);

    /* Typography */
    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body:    'Schibsted Grotesk', sans-serif;

    /* Type scale */
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-md:   1.125rem;
    --text-lg:   1.375rem;
    --text-xl:   1.75rem;
    --text-2xl:  2.25rem;
    --text-3xl:  clamp(2rem, 4vw, 3rem);
    --text-hero: clamp(2.5rem, 6vw, 4.25rem);

    /* Spacing — 4pt scale */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Easing */
    --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark theme */
[data-theme="dark"] {
    --clr-surface:       oklch(0.16 0.024 50);
    --clr-surface-alt:   oklch(0.20 0.022 50);
    --clr-surface-card:  oklch(0.22 0.020 52);
    --clr-text:          oklch(0.94 0.010 78);
    --clr-text-mid:      oklch(0.72 0.016 68);
    --clr-text-soft:     oklch(0.58 0.014 65);
    --clr-border:        oklch(0.31 0.020 55);
    --clr-accent-subtle: oklch(0.24 0.038 50);
}

/* ========================================
   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);
    background-color: var(--clr-surface);
    color: var(--clr-text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-kerning: normal;
    font-feature-settings: 'kern' 1, 'liga' 1;
    font-optical-sizing: auto;
    transition: background-color var(--transition), color var(--transition);
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-text);
    font-feature-settings: 'kern' 1, 'calt' 1;
    font-optical-sizing: auto;
}

h3 {
    line-height: 1.3;
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-6) 0;
    transition: background-color var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background-color: var(--clr-surface-card);
    box-shadow: 0 1px 0 var(--clr-border);
    padding: var(--space-3) 0;
}

.navbar:not(.scrolled) .nav-link {
    color: oklch(0.95 0.008 80);
}

.navbar:not(.scrolled) .nav-link:hover,
.navbar:not(.scrolled) .nav-link.active {
    color: var(--clr-accent-light);
}

.navbar:not(.scrolled) .nav-link::after {
    background: var(--clr-accent-light);
}

.navbar:not(.scrolled) .theme-toggle,
.navbar:not(.scrolled) .nav-whatsapp {
    background: oklch(1 0 0 / 0.12);
    border-color: oklch(1 0 0 / 0.25);
    color: oklch(0.95 0.008 80);
}

.navbar:not(.scrolled) .nav-toggle span {
    background: oklch(0.95 0.008 80);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 100px;
    object-fit: contain;
    transition: height var(--transition);
}

.navbar.scrolled .logo {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--clr-text);
    letter-spacing: 0.02em;
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-accent);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--clr-accent-deep);
}

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

.theme-toggle {
    background: var(--clr-accent-subtle);
    border: 1px solid var(--clr-border);
    color: var(--clr-accent-deep);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: var(--text-sm);
}

.theme-toggle:hover {
    background: var(--clr-accent);
    color: white;
    border-color: var(--clr-accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-left: var(--space-4);
}

.nav-whatsapp {
    background: var(--clr-accent-subtle);
    border: 1px solid var(--clr-border);
    color: var(--clr-accent-deep);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: var(--text-sm);
}

.nav-whatsapp:hover {
    background: var(--clr-accent);
    color: white;
    border-color: var(--clr-accent);
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-text);
    transition: transform var(--transition), opacity var(--transition);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--clr-accent-deep);
    border-color: var(--clr-accent-deep);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px oklch(0.75 0.16 48 / 0.35);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: oklch(1 0 0 / 0.55);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline:hover {
    background: white;
    color: var(--clr-accent-deep);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px oklch(1 0 0 / 0.25);
}

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

/* ========================================
   Section commons
   ======================================== */
section {
    padding: var(--space-24) 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-16);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-accent-deep);
    background: var(--clr-accent-subtle);
    padding: var(--space-1) var(--space-4);
    border-radius: 4px;
    margin-bottom: var(--space-4);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-4);
}

.section-description {
    font-size: var(--text-md);
    color: var(--clr-text-mid);
    line-height: 1.75;
    max-width: 60ch;
    margin: 0 auto;
}

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: oklch(0.17 0.040 50 / 0.83);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-20) 0;
}

.hero-text {
    max-width: 780px;
    margin-bottom: var(--space-12);
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-hero);
    font-weight: 700;
    color: oklch(0.97 0.008 80);
    margin-bottom: var(--space-6);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title .accent {
    color: var(--clr-accent-light);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: oklch(0.87 0.010 75);
    margin-bottom: var(--space-8);
    max-width: 58ch;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-12);
}

.hero-facts {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: oklch(0.72 0.018 70);
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
}

.fact-sep {
    color: oklch(0.50 0.030 60);
    font-size: 1.1em;
    user-select: none;
}

/* ========================================
   Services
   ======================================== */
.services {
    background: var(--clr-surface-alt);
}

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

.service-card {
    background: var(--clr-surface-card);
    border-radius: 12px;
    padding: var(--space-8);
    border: 1px solid var(--clr-border);
    transition: background-color var(--transition), box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background: var(--clr-accent-subtle);
    border-color: oklch(0.86 0.040 68);
    box-shadow: 0 16px 48px oklch(0.75 0.16 48 / 0.15);
    transform: translateY(-6px);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--clr-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon {
    background: var(--clr-accent-deep);
    transform: scale(1.1) rotate(3deg);
}

.service-icon i {
    font-size: 1.4rem;
    color: white;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--clr-text);
    margin-bottom: var(--space-3);
}

.service-card > p {
    color: var(--clr-text-mid);
    font-size: var(--text-base);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--clr-text-mid);
    font-size: var(--text-sm);
}

.service-features i {
    color: var(--clr-accent);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: auto;
    padding-top: var(--space-4);
}

/* Featured first service card — editorial layout */
@media (min-width: 641px) {
    .service-card:first-child {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto 1fr auto;
        gap: var(--space-4) var(--space-12);
        align-items: start;
    }
    .service-card:first-child .service-icon { grid-area: 1 / 1; }
    .service-card:first-child h3              { grid-area: 2 / 1; }
    .service-card:first-child > p             { grid-area: 3 / 1; }
    .service-card:first-child .service-features { grid-area: 4 / 1; }
    .service-card:first-child .service-img {
        grid-area: 1 / 2 / 5 / 3;
        align-self: stretch;
        height: auto;
        min-height: 280px;
        margin-top: 0;
        padding-top: 0;
    }
}

/* ========================================
   About
   ======================================== */
.about {
    background: var(--clr-surface);
}

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

.about-content > p {
    font-size: var(--text-md);
    color: var(--clr-text-mid);
    margin-bottom: var(--space-8);
    line-height: 1.80;
    max-width: 54ch;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.about-feature {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--clr-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-icon i {
    font-size: 1.2rem;
    color: white;
}

.feature-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: oklch(0.82 0.10 58);
    flex-shrink: 0;
    width: 48px;
    padding-top: var(--space-1);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.feature-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--clr-text);
    margin-bottom: var(--space-2);
}

.feature-content p {
    font-size: var(--text-base);
    color: var(--clr-text-mid);
    line-height: 1.7;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 24px 64px oklch(0.21 0.022 55 / 0.12);
}

.about-badge {
    position: absolute;
    bottom: var(--space-8);
    right: calc(-1 * var(--space-6));
    background: var(--clr-surface-card);
    padding: var(--space-6);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 12px 40px oklch(0.21 0.022 55 / 0.14);
    border: 1px solid var(--clr-border);
    min-width: 140px;
}

.about-badge i {
    font-size: 1.75rem;
    color: var(--clr-accent);
    display: block;
    margin-bottom: var(--space-2);
}

.about-badge span {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--clr-text);
    line-height: 1.4;
    font-size: var(--text-sm);
}

/* ========================================
   Team
   ======================================== */
.team {
    background: var(--clr-surface-alt);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-6);
}

.team-card {
    background: var(--clr-surface-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--clr-border);
    transition: box-shadow var(--transition), transform var(--transition);
}

.team-card:hover {
    box-shadow: 0 16px 48px oklch(0.21 0.022 55 / 0.10);
    transform: translateY(-6px);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.team-card:hover .team-image img {
    transform: scale(1.06);
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: oklch(0.59 0.17 30 / 0.90);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: var(--space-3);
}

.team-social a {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-accent-deep);
    font-size: var(--text-base);
    transition: transform var(--transition);
}

.team-social a:hover {
    transform: translateY(-4px);
}

.team-info {
    padding: var(--space-6);
    text-align: center;
}

.team-info h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--clr-text);
    margin-bottom: var(--space-1);
}

.team-role {
    color: var(--clr-accent);
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.team-desc {
    color: var(--clr-text-soft);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
    background: var(--clr-surface);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.testimonial-card {
    background: var(--clr-surface-card);
    border-radius: 12px;
    padding: var(--space-8);
    border: 1px solid var(--clr-border);
    transition: box-shadow var(--transition), transform var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: var(--space-3);
    right: var(--space-6);
    font-family: var(--font-display);
    font-size: 5.5rem;
    line-height: 1;
    color: oklch(0.75 0.16 48 / 0.13);
    pointer-events: none;
    user-select: none;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px oklch(0.21 0.022 55 / 0.08);
    transform: translateY(-4px);
}

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.testimonial-rating i {
    color: var(--clr-accent-light);
    font-size: 1rem;
}

.testimonial-text {
    color: var(--clr-text-mid);
    font-size: var(--text-md);
    font-style: normal;
    margin-bottom: var(--space-6);
    line-height: 1.8;
    max-width: 52ch;
}

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

.testimonial-author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-family: var(--font-display);
    font-size: var(--text-base);
    color: var(--clr-text);
    margin-bottom: var(--space-1);
}

.testimonial-author p {
    color: var(--clr-text-soft);
    font-size: var(--text-sm);
}

/* ========================================
   Contact
   ======================================== */
.contact {
    background: var(--clr-surface-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-info > p {
    font-size: var(--text-md);
    color: var(--clr-text-mid);
    margin-bottom: var(--space-8);
    line-height: 1.75;
    max-width: 48ch;
}

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

.contact-detail {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--clr-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.1rem;
}

.contact-detail h4 {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-1);
}

.contact-detail p {
    color: var(--clr-text-mid);
    font-size: var(--text-sm);
    margin: 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-links a {
    width: 42px;
    height: 42px;
    background: var(--clr-accent-subtle);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-accent-deep);
    font-size: var(--text-base);
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--clr-accent);
    color: white;
    border-color: var(--clr-accent);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--clr-surface-card);
    border-radius: 16px;
    padding: var(--space-8);
    border: 1px solid var(--clr-border);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: var(--space-2);
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1.5px solid var(--clr-border);
    border-radius: 8px;
    background: var(--clr-surface);
    color: var(--clr-text);
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 4px oklch(0.75 0.16 48 / 0.2);
    background: oklch(0.995 0.003 75);
    transform: scale(1.01);
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--clr-footer);
    color: oklch(0.88 0.010 75);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.footer-col h3,
.footer-col h4 {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--clr-accent-light);
    margin-bottom: var(--space-4);
    letter-spacing: 0.02em;
}

.footer-col p {
    color: oklch(0.68 0.014 68);
    line-height: 1.8;
    font-size: var(--text-sm);
    max-width: 36ch;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-col ul li {
    color: oklch(0.66 0.014 68);
    font-size: var(--text-sm);
}

.footer-col ul li a {
    color: oklch(0.66 0.014 68);
    font-size: var(--text-sm);
    transition: color var(--transition), padding-left var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--clr-accent-light);
    padding-left: var(--space-1);
}

.footer-col ul li i {
    color: var(--clr-accent);
    margin-right: var(--space-2);
    font-size: var(--text-sm);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: oklch(1 0 0 / 0.07);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: oklch(0.72 0.012 70);
    font-size: var(--text-base);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--clr-accent);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid oklch(1 0 0 / 0.08);
    padding-top: var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom p {
    color: oklch(0.52 0.012 68);
    font-size: var(--text-sm);
}

.footer-links {
    display: flex;
    gap: var(--space-8);
}

.footer-links a {
    color: oklch(0.52 0.012 68);
    font-size: var(--text-sm);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--clr-accent-light);
}

/* ========================================
   Scroll to top
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 48px;
    height: 48px;
    background: var(--clr-accent);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
    box-shadow: 0 4px 16px oklch(0.75 0.16 48 / 0.35);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--clr-accent-deep);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px oklch(0.75 0.16 48 / 0.40);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scaleInUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.animate-in {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }

.service-card {
    animation: scaleInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

.testimonial-card {
    animation: scaleInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.25s; }
.testimonial-card:nth-child(3) { animation-delay: 0.4s; }

.about-feature {
    animation: slideInLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.about-feature:nth-child(1) { animation-delay: 0.1s; }
.about-feature:nth-child(2) { animation-delay: 0.2s; }
.about-feature:nth-child(3) { animation-delay: 0.3s; }

.contact-form {
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .animate-in { animation: none; }
    .service-card { animation: none; }
    .testimonial-card { animation: none; }
    .about-feature { animation: none; }
    .contact-form { animation: none; }
    *, *::before, *::after { transition-duration: 0ms !important; }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 960px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--clr-surface-card);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-8);
        transition: left var(--transition);
        box-shadow: 0 8px 32px oklch(0.21 0.022 55 / 0.12);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

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

    .hero-subtitle {
        font-size: var(--text-base);
    }

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

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

    .hero-facts {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    .fact-sep {
        display: none;
    }

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

    .about-image {
        order: -1;
    }

    .about-badge {
        right: var(--space-4);
        bottom: var(--space-4);
    }

    .section-title {
        font-size: var(--text-2xl);
    }

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

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

    .footer-links {
        gap: var(--space-6);
    }
}

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

    section {
        padding: var(--space-16) 0;
    }

    .scroll-top {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}
