/* ===== RMAC Design Website Styles ===== */

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

:root {
    /* Colors */
    --color-primary:        #1E2020;
    --color-primary-light:  #2C2E2E;
    --color-primary-dark:   #141515;
    --color-accent:         #FFD100;
    --color-accent-hover:   #E8BE00;
    --color-white:          #FFFFFF;
    --color-offwhite:       #F5F5F5;
    --color-text:           #1A1A1A;
    --color-text-light:     #6B6B6B;
    --color-border:         #E0E0E0;
    --color-steel:          #3A3D3D;

    /* Typography */
    --font-heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body:    'DM Sans', 'Segoe UI', sans-serif;

    /* Layout */
    --max-width:  1200px;
    --nav-height: 80px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-primary);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; font-size: 1rem; }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 560px;
    margin: 0 auto 3rem;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

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

.btn-outline-dark:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--color-primary);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 2px solid rgba(255, 209, 0, 0.15);
}

.navbar.scrolled {
    background: var(--color-primary-dark);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
    border-bottom-color: rgba(255, 209, 0, 0.25);
}

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

.nav-logo img {
    height: 48px;
    width: auto;
    filter: invert(1);
    mix-blend-mode: screen;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
    transition: color 0.25s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--color-white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--color-accent); }

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

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

.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 Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-primary);
    overflow: hidden;
    padding-top: var(--nav-height);
}

/* Grid background texture */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 209, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 209, 0, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

/* Geometric decorative shapes */
.hero-geo {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.hero-geo--circle {
    width: 560px;
    height: 560px;
    border: 1.5px solid rgba(255, 209, 0, 0.12);
    border-radius: 50%;
    right: -140px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-geo--circle-sm {
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 209, 0, 0.08);
    border-radius: 50%;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-geo--bar {
    width: 4px;
    height: 180px;
    background: var(--color-accent);
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-geo--hbar {
    width: 120px;
    height: 2px;
    background: var(--color-accent);
    opacity: 0.4;
    bottom: 15%;
    right: 10%;
}

.hero-geo--dots {
    display: grid;
    grid-template-columns: repeat(5, 6px);
    grid-template-rows: repeat(5, 6px);
    gap: 10px;
    bottom: 18%;
    left: 6%;
    opacity: 0.2;
}

.hero-geo--dots::before {
    content: '';
    /* dots rendered via box-shadow on a 1px element */
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    display: block;
    box-shadow:
        16px 0 0 var(--color-accent),
        32px 0 0 var(--color-accent),
        48px 0 0 var(--color-accent),
        64px 0 0 var(--color-accent),
        0 16px 0 var(--color-accent), 16px 16px 0 var(--color-accent), 32px 16px 0 var(--color-accent), 48px 16px 0 var(--color-accent), 64px 16px 0 var(--color-accent),
        0 32px 0 var(--color-accent), 16px 32px 0 var(--color-accent), 32px 32px 0 var(--color-accent), 48px 32px 0 var(--color-accent), 64px 32px 0 var(--color-accent),
        0 48px 0 var(--color-accent), 16px 48px 0 var(--color-accent), 32px 48px 0 var(--color-accent), 48px 48px 0 var(--color-accent), 64px 48px 0 var(--color-accent),
        0 64px 0 var(--color-accent), 16px 64px 0 var(--color-accent), 32px 64px 0 var(--color-accent), 48px 64px 0 var(--color-accent), 64px 64px 0 var(--color-accent);
}

.hero-geo--square {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 209, 0, 0.1);
    transform: rotate(45deg);
    right: 15%;
    top: 12%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 32, 32, 0.97) 0%,
        rgba(30, 32, 32, 0.85) 60%,
        rgba(30, 32, 32, 0.6) 100%
    );
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-content {
    flex: 0 0 auto;
    max-width: 520px;
}

.hero-video-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: heroFadeIn 1.4s ease 0.8s forwards;
}

#heroCanvas {
    width: 100%;
    max-width: 560px;
    height: 460px;
    display: block;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-eyebrow span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--color-accent);
    flex-shrink: 0;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: 5rem;
    margin-bottom: 1.25rem;
    line-height: 1.0;
    font-weight: 800;
}

.hero-content h1 .hero-line-1 {
    display: block;
}

.hero-content h1 .hero-line-2 {
    display: block;
    color: var(--color-accent);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.75;
    font-family: var(--font-body);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

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

@keyframes heroRevealRight {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0% 0 0); }
}

@keyframes heroBarReveal {
    from { clip-path: inset(0 0 100% 0); }
    to   { clip-path: inset(0 0 0% 0); }
}

@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Apply animations — each element staggers in sequence */
.hero-geo--bar {
    clip-path: inset(0 0 100% 0);
    animation: heroBarReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.hero-geo--hbar {
    animation: heroFadeIn 1s ease 1.8s both;
}

.hero-geo--circle {
    animation: heroFadeIn 1.4s ease 0.4s both;
}

.hero-geo--circle-sm {
    animation: heroFadeIn 1.4s ease 0.7s both;
}

.hero-geo--square {
    animation: heroFadeIn 1.6s ease 0.9s both;
}

.hero-geo--dots::before {
    animation: heroFadeIn 1.6s ease 1.3s both;
}

.hero-grid {
    animation: heroFadeIn 1.5s ease 0s both;
}

.hero-eyebrow {
    animation: heroSlideLeft 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.hero-content .hero-line-1 {
    animation: heroSlideUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hero-content .hero-line-2 {
    clip-path: inset(0 100% 0 0);
    animation: heroRevealRight 0.7s cubic-bezier(0.77, 0, 0.175, 1) 0.95s forwards;
}

.hero-content > p {
    animation: heroSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.3s both;
}

.hero-buttons {
    animation: heroSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.55s both;
}

/* --- Section Styles --- */
.section { padding: 100px 0; }
.section-alt { background: var(--color-offwhite); }

.section-dark {
    background: var(--color-primary);
    color: var(--color-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--color-white); }

.section-dark .section-subtitle { color: rgba(255, 255, 255, 0.6); }

/* Section header with yellow bracket accent */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 { margin-bottom: 1.25rem; }

.section-header .accent-line {
    width: 48px;
    height: 4px;
    background: var(--color-accent);
    margin: 0 auto 1.5rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--color-white);
    padding: 36px 32px;
    border-radius: 2px;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.service-card .icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 209, 0, 0.12);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-accent);
    font-size: 1.4rem;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.65;
}

/* --- Quote Section --- */
.quote-section {
    padding: 80px 0;
    background: var(--color-primary-light);
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 209, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 209, 0, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.quote-block {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 10rem;
    line-height: 0.6;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 16px;
    user-select: none;
}

.quote-block blockquote {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.quote-block cite {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-style: normal;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
}

/* --- Services Page Detail --- */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--color-border);
}

.service-detail:last-child { border-bottom: none; }

.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.service-detail-content h3 { font-size: 2rem; margin-bottom: 1rem; }

.service-detail-content p {
    color: var(--color-text-light);
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-body);
    font-weight: 400;
}

.service-detail-content ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-detail-content ul li {
    padding: 9px 0 9px 24px;
    position: relative;
    color: var(--color-text-light);
    font-family: var(--font-body);
    border-bottom: 1px solid var(--color-border);
}

.service-detail-content ul li:last-child { border-bottom: none; }

.service-detail-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 3px;
    background: var(--color-accent);
}

.service-detail-image {
    background: var(--color-offwhite);
    border-radius: 2px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
    overflow: hidden;
    border-left: 4px solid var(--color-accent);
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Projects Grid --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.project-card {
    border-radius: 2px;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.project-card-image {
    aspect-ratio: 16/10;
    background: var(--color-offwhite);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
    border-bottom: 3px solid var(--color-accent);
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-content { padding: 28px; }

.project-card-content .tag {
    display: inline-block;
    background: rgba(255, 209, 0, 0.12);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-card-content h3 { font-size: 1.35rem; margin-bottom: 8px; }

.project-card-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-body);
    font-weight: 400;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    background: var(--color-offwhite);
    border-radius: 2px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    overflow: hidden;
    border-left: 4px solid var(--color-accent);
}

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

.about-content h2 { margin-bottom: 1.5rem; }

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-body);
    font-weight: 400;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 2rem;
}

.value-item {
    padding: 16px;
    border-left: 3px solid var(--color-accent);
    background: var(--color-offwhite);
}

.value-item h4 { margin-bottom: 4px; font-size: 1rem; }

.value-item p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* --- CTA Banner --- */
.cta-banner {
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 209, 0, 0.1);
    border-radius: 50%;
}

.cta-banner h2 { color: var(--color-white); margin-bottom: 1rem; }

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 480px;
    margin: 0 auto 2rem;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-body);
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 { margin-bottom: 1rem; }

.contact-info > p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-info-item .icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 209, 0, 0.1);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent);
    font-size: 1rem;
    border-left: 3px solid var(--color-accent);
}

.contact-info-item h4 { margin-bottom: 2px; font-size: 0.95rem; }

.contact-info-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-body);
    font-weight: 400;
}

.contact-info-item a { color: var(--color-primary); font-weight: 500; }
.contact-info-item a:hover { color: var(--color-accent); }

.contact-form {
    background: var(--color-offwhite);
    padding: 40px;
    border-radius: 2px;
    border-top: 4px solid var(--color-accent);
}

.contact-form h3 { margin-bottom: 1.5rem; }

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 209, 0, 0.15);
}

.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .btn { width: 100%; }

/* --- Footer --- */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 64px 0 0;
    border-top: 3px solid var(--color-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.footer-brand img {
    height: 44px;
    filter: invert(1);
    mix-blend-mode: screen;
}

.footer h4 {
    color: var(--color-accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}

.footer ul li { margin-bottom: 10px; }

.footer ul li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: color 0.25s ease;
}

.footer ul li a:hover { color: var(--color-accent); }

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-body);
}

.footer-contact-item .label {
    color: rgba(255, 255, 255, 0.3);
    min-width: 50px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-top: 2px;
}

.footer-contact-item a { color: rgba(255,255,255,0.55); }
.footer-contact-item a:hover { color: var(--color-accent); }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-body);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.25s ease;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.social-links a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary-dark);
}

/* --- Page Header (inner pages) --- */
.page-header {
    background: var(--color-primary);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 209, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 209, 0, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

.page-header .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header h1 { color: var(--color-white); font-size: 3.5rem; margin-bottom: 0.75rem; }
.page-header p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
    max-width: 480px;
    margin: 0 auto;
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.page-header .accent-line {
    width: 48px;
    height: 4px;
    background: var(--color-accent);
    margin: 0 auto 1.5rem;
}

/* --- Revealed animation --- */
.revealed { opacity: 1 !important; transform: translateY(0) !important; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    .hero-content h1 { font-size: 3.75rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-eyebrow { justify-content: center; }
    .hero-content { max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .hero-video-wrap { display: none; }
    .hero-geo--circle, .hero-geo--circle-sm, .hero-geo--square { display: none; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .service-detail { grid-template-columns: 1fr; gap: 32px; }
    .service-detail.reverse { direction: ltr; }
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-primary-dark);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-top: 2px solid var(--color-accent);
    }

    .nav-links.active { display: flex; }
    .nav-links a { padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav-toggle { display: flex; }

    .section { padding: 64px 0; }

    .hero-content h1 { font-size: 3rem; }
    .hero-geo--bar { display: none; }
    .hero-geo--dots { display: none; }

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

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

    .page-header { padding: 130px 0 60px; }
    .page-header h1 { font-size: 2.5rem; }

    .quote-mark { font-size: 6rem; }
    .quote-block blockquote { font-size: 1.1rem; }
}
