/* ============================================================
   AnotherParga — styles.css
   ============================================================ */


/* ============================================================
   DM SANS — self-hosted
   ============================================================ */
@font-face {
    font-family: 'DM Sans';
    src: url('/fonts/DMSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'DM Sans';
    src: url('/fonts/DMSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'DM Sans';
    src: url('/fonts/DMSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'DM Sans';
    src: url('/fonts/DMSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'DM Sans';
    src: url('/fonts/DMSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: block;
}

/* ============================================================
   ZUUME — self-hosted
   ============================================================ */
@font-face {
    font-family: 'zuume';
    src: url('/fonts/Zuume-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'zuume';
    src: url('/fonts/Zuume-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'zuume';
    src: url('/fonts/Zuume-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'zuume';
    src: url('/fonts/Zuume-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: block;
}

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
    --color-bg:          #0A0A0A;
    --color-bg-2:        #0F0F0F;
    --color-bg-3:        #141414;
    --color-text:        #FFFFFF;
    --color-text-muted:  #888888;
    --color-text-faint:  #3A3A3A;
    --color-accent:      #E8FF47;
    --color-accent-dim:  rgba(232, 255, 71, 0.10);
    --color-border:      #1A1A1A;
    --color-border-2:    #252525;

    --font-display: 'zuume', 'Arial Narrow', sans-serif;
    --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --section-pad:    120px;
    --container-max:  1280px;
    --container-pad:  40px;

    --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease-base: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ============================================================
   3. LAYOUT HELPERS
   ============================================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.section {
    padding: var(--section-pad) 0;
}

.section--dark {
    background-color: var(--color-bg-2);
}

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
.heading-xl {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--color-text);
}

.heading-xl em {
    font-style: normal;
    color: var(--color-accent);
}

.body-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    max-width: 520px;
}

.body-text + .body-text {
    margin-top: 1rem;
}

.label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s var(--ease-base),
                color 0.3s var(--ease-base),
                border-color 0.3s var(--ease-base),
                transform 0.2s ease;
    white-space: nowrap;
}

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

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

.btn--primary:hover {
    background: transparent;
    color: var(--color-accent);
}

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

.btn--ghost:hover {
    border-color: rgba(255,255,255,0.5);
}

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

.btn--outline:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

.btn--large {
    padding: 18px 48px;
    font-size: 0.85rem;
}

/* ============================================================
   6. TAGS
   ============================================================ */
.tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-accent-dim);
    border: 1px solid rgba(232, 255, 71, 0.25);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
}

/* ============================================================
   7. SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s var(--ease-out),
                transform 0.75s var(--ease-out);
}

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

/* ============================================================
   8. HEADER / NAV
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 28px 0;
    transition: padding 0.4s var(--ease-base),
                background 0.4s var(--ease-base),
                border-color 0.4s var(--ease-base);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 18px 0;
    border-bottom-color: var(--color-border);
}

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

.nav__logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-text);
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.nav__logo:hover { color: var(--color-accent); }

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav__link {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.25s ease;
}

.nav__link:hover,
.nav__link--active { color: var(--color-text); }
.nav__link:hover::after,
.nav__link--active::after { width: 100%; }

.nav__link--cta {
    padding: 9px 22px;
    background: var(--color-accent);
    color: var(--color-bg) !important;
    border-radius: 2px;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.2s ease;
}

.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: rgba(232,255,71,0.85); transform: translateY(-1px); }

/* Burger */
.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
    z-index: 201;
}

.nav__burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
    transform-origin: center;
}

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

/* Slideshow */
.hero__slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero__slide--active {
    opacity: 1;
}

.hero__slide picture,
.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Subtle noise grain */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: overlay;
}


.hero__content {
    position: relative;
    z-index: 3;
    padding: 130px var(--container-pad) 80px;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Word carousel wrapper */
.hero__word-wrapper {
    height: clamp(90px, 19vw, 240px);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.hero__words {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__word {
    position: absolute;
    inset: 0;
    font-family: var(--font-display);
    font-size: clamp(80px, 16vw, 220px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--color-text);
    white-space: nowrap;
    user-select: none;

    /* Default: hidden below */
    opacity: 0;
    transform: translateY(110%);
    transition: opacity 0.65s var(--ease-out),
                transform 0.65s var(--ease-out),
                color 0.25s ease;
}

.hero__word--active {
    opacity: 1;
    transform: translateY(0);
}

/* ANOTHER = blanco, PARGA = acent. En hover se intercambian */
.hero__word--another { color: var(--color-text); }
.hero__word--parga   { color: var(--color-accent); }

.hero__word-wrapper:hover .hero__word--another { color: var(--color-accent); }
.hero__word-wrapper:hover .hero__word--parga   { color: var(--color-text); }

.hero__word--exit {
    opacity: 0;
    transform: translateY(-110%);
    transition: opacity 0.5s var(--ease-base),
                transform 0.5s var(--ease-base);
}

.hero__info {
    margin-bottom: 2.5rem;
}

.hero__tagline {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.hero__sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero photo */
.hero__image-side {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 44%;
    z-index: 1;
}

.hero__img-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(15%) contrast(1.05) brightness(0.92);
    transform: scale(1.02);
    transition: transform 8s ease;
}

.hero:hover .hero__img {
    transform: scale(1.0);
}

/* Fade left edge into bg */
.hero__img-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(to right, var(--color-bg) 0%, transparent 100%);
    z-index: 1;
}

/* Fade bottom edge */
.hero__img-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
    z-index: 1;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 44px;
    left: var(--container-pad);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text-faint);
}

.hero__scroll-line {
    width: 48px;
    height: 1px;
    background: var(--color-border-2);
    overflow: hidden;
    position: relative;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    animation: scanLine 2.2s ease-in-out infinite;
}

@keyframes scanLine {
    0%   { left: -100%; }
    100% { left: 100%; }
}

/* ============================================================
   10. STATS
   ============================================================ */
.stats {
    background: var(--color-bg-3);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 52px 0;
}

.stats__grid {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    padding: 8px 24px;
}

.stats__number {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    color: var(--color-accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stats__label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.stats__divider {
    width: 1px;
    height: 56px;
    background: var(--color-border-2);
    flex-shrink: 0;
}

/* ============================================================
   11. ABOUT
   ============================================================ */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
}

.about__visual {
    position: relative;
}

.about__img-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 1px;
}

.about__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(20%) contrast(1.05);
    transition: transform 0.8s var(--ease-out);
}

.about__img-wrap:hover .about__img {
    transform: scale(1.04);
}

.about__img-accent {
    position: absolute;
    top: -18px;
    left: -18px;
    right: 18px;
    bottom: 18px;
    border: 1px solid var(--color-accent);
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

.about__badge {
    position: absolute;
    bottom: -24px;
    right: -20px;
    width: 96px;
    height: 96px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-bg);
    line-height: 1;
}

.about__badge span:first-child {
    font-family: var(--font-display);
    font-size: 1.7rem;
}

.about__badge span:last-child {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 2px;
}

.about__content {
    padding: 20px 0;
}

.about__content .heading-xl {
    margin-bottom: 1.5rem;
}

.about__content .body-text {
    margin-bottom: 0.8rem;
}

.about__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2rem 0;
}

/* ============================================================
   12. SERVICES
   ============================================================ */
.section-header {
    margin-bottom: 3.5rem;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
}

.service-card {
    position: relative;
    background: var(--color-bg-2);
    padding: 52px 48px;
    cursor: default;
    transition: background 0.35s var(--ease-base);
    overflow: hidden;
}

/* Gold underline reveal on hover */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.55s var(--ease-out);
}

.service-card:hover {
    background: #111111;
}

.service-card:hover::after {
    width: 100%;
}

.service-card__number {
    position: absolute;
    top: 44px;
    right: 44px;
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: var(--color-border-2);
    line-height: 1;
    letter-spacing: -0.02em;
    transition: color 0.35s ease;
    pointer-events: none;
}

.service-card:hover .service-card__number {
    color: var(--color-accent-dim);
}

.service-card__icon {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    transition: transform 0.35s var(--ease-out);
}

.service-card:hover .service-card__icon {
    transform: scale(1.1) translateY(-2px);
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-card__text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    max-width: 340px;
}

.service-card__arrow {
    display: inline-block;
    margin-top: 1.8rem;
    font-size: 1.3rem;
    color: var(--color-accent);
    transition: transform 0.3s var(--ease-out);
}

.service-card:hover .service-card__arrow {
    transform: translateX(10px);
}

/* ============================================================
   13. PROJECTS
   ============================================================ */
.projects {
    background: var(--color-bg);
}

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

.project-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-2);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.project-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.project-card__img-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-bg-3);
}

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

.project-card:hover .project-card__img {
    transform: scale(1.04);
}

.project-card__body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.project-card__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-text);
    line-height: 1.1;
}

.project-card__text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    flex: 1;
}

.project-card__link {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    transition: letter-spacing 0.25s ease;
}

.project-card:hover .project-card__link {
    letter-spacing: 0.15em;
}

@media (max-width: 768px) {
    .projects__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .project-card__img-wrap {
        aspect-ratio: 1 / 1;
    }
}

/* ============================================================
   14. PHILOSOPHY
   ============================================================ */
.philosophy {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.philosophy__bg-text {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: clamp(90px, 16vw, 200px);
    color: rgba(255, 255, 255, 0.025);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.1em;
    user-select: none;
}

.philosophy__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.philosophy__quote {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    font-style: normal;
    max-width: 820px;
    color: var(--color-text);
}

.philosophy__quote strong {
    color: var(--color-accent);
    font-weight: inherit;
}

.philosophy__body {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 560px;
    line-height: 1.85;
}

/* ============================================================
   14. CONTACT
   ============================================================ */
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.contact__left .heading-xl {
    margin-bottom: 1.2rem;
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 2rem;
}

.contact__link {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border: 1px solid var(--color-border-2);
    border-radius: 2px;
    transition: border-color 0.3s ease,
                background  0.3s ease,
                transform   0.2s ease;
}

.contact__link:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-dim);
    transform: translateX(4px);
}

.contact__link-icon {
    width: 46px;
    height: 46px;
    background: var(--color-bg-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    flex-shrink: 0;
    border: 1px solid var(--color-border-2);
}

.contact__link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact__link-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.contact__link-value {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 400;
}

.contact__link-arrow {
    color: var(--color-accent);
    font-size: 1.1rem;
    transition: transform 0.25s ease;
}

.contact__link:hover .contact__link-arrow {
    transform: translateX(4px);
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.footer {
    background: #050505;
    border-top: 1px solid var(--color-border);
    padding: 64px 0 32px;
}

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

.footer__logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.footer__brand p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.footer__nav,
.footer__social {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 4px;
}

.footer__nav a,
.footer__social a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

.footer__nav a:hover,
.footer__social a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    padding-top: 28px;
    border-top: 1px solid var(--color-border);
}

.footer__bottom span {
    font-size: 0.76rem;
    color: var(--color-text-faint);
}

/* ============================================================
   16. RESPONSIVE — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
    :root {
        --section-pad:    80px;
        --container-pad:  24px;
    }

    .about__grid {
        gap: 48px;
    }

    .contact__inner {
        gap: 48px;
    }

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

    .footer__brand {
        grid-column: 1 / -1;
    }
}

/* ============================================================
   17. RESPONSIVE — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --section-pad:    64px;
        --container-pad:  20px;
    }

    /* Nav */
    .nav__burger { display: flex; }

    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: min(85%, 320px);
        background: var(--color-bg-3);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.2rem;
        transition: right 0.45s var(--ease-out);
        border-left: 1px solid var(--color-border);
        z-index: 200;
    }

    .nav__links.open {
        right: 0;
    }

    .nav__link {
        font-size: 0.95rem;
    }

    .nav__link--cta {
        padding: 11px 28px;
    }

    /* Hero mobile */
    .hero {
        min-height: 100svh;
    }

    .hero__content {
        padding: 100px var(--container-pad) 60px;
    }

    .hero__word-wrapper {
        height: clamp(100px, 22vw, 160px);
    }

    .hero__word {
        font-size: clamp(90px, 21vw, 160px);
    }

    .hero__info {
        margin-bottom: 1.8rem;
    }

    .hero__actions {
        gap: 10px;
    }

    .hero__actions .btn {
        padding: 12px 24px;
        font-size: 0.72rem;
    }

    .hero__scroll {
        display: none;
    }

    /* Stats */
    .stats__grid {
        flex-wrap: wrap;
        gap: 1px;
        background: var(--color-border);
    }

    .stats__item {
        flex: 0 0 calc(50% - 0.5px);
        background: var(--color-bg-3);
        padding: 28px 16px;
    }

    .stats__divider { display: none; }

    /* About */
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__img-wrap {
        aspect-ratio: 4 / 3;
    }

    .about__badge {
        width: 80px;
        height: 80px;
        right: -8px;
        bottom: -16px;
    }

    .about__badge span:first-child {
        font-size: 1.3rem;
    }

    /* Services */
    .services__grid {
        grid-template-columns: 1fr;
    }

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

    .service-card__number {
        font-size: 3rem;
        top: 28px;
        right: 28px;
    }

    /* Philosophy */
    .philosophy__bg-text {
        font-size: clamp(60px, 18vw, 120px);
        bottom: -30px;
    }

    /* Contact */
    .contact__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__brand {
        grid-column: auto;
    }
}

/* ============================================================
   18. SMALL MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero__actions .btn {
        flex: 0 0 auto;
        text-align: center;
        justify-content: center;
    }

    .btn--large {
        padding: 16px 32px;
    }
}
