/* ==========================================
   RIVERA & TRINCADO ABOGADOS — SITIO 3
   Versión corporativa / sin fotos en equipo
   ========================================== */

:root {
    --gold: #968152;
    --gold-light: #d4c492;
    --gold-dark: #7a6a43;
    --black: #0a0a0a;
    --dark: #141414;
    --gray-900: #1c1c1c;
    --gray-800: #2a2a2a;
    --gray-700: #444444;
    --gray-500: #777777;
    --gray-400: #999999;
    --gray-300: #cccccc;
    --gray-200: #e8e8e3;
    --gray-100: #f5f5f0;
    --white: #ffffff;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Outfit', -apple-system, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-sans); color: var(--dark);
    line-height: 1.7; background: var(--white);
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ==========================================
   LOADER
   ========================================== */
.loader {
    position: fixed; inset: 0; background: var(--dark);
    z-index: 10000; display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-text {
    display: block; font-family: var(--font-serif);
    font-size: 1.4rem; color: var(--gold); letter-spacing: 4px;
    margin-top: 20px; opacity: 0; animation: loaderFadeIn 0.6s 0.3s forwards;
}
.loader-line {
    width: 120px; height: 1px; background: var(--gray-800);
    position: relative; overflow: hidden; margin: 0 auto;
}
.loader-line::after {
    content: ''; position: absolute; left: -100%; top: 0;
    width: 100%; height: 100%; background: var(--gold);
    animation: loaderSlide 1.2s var(--ease-out-expo) forwards;
}
@keyframes loaderSlide { to { left: 100%; } }
@keyframes loaderFadeIn { to { opacity: 1; } }

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; padding: 24px 0;
    transition: all 0.4s var(--ease-out-quart);
}
.navbar.scrolled {
    background: rgba(10,10,10,0.92); backdrop-filter: blur(20px); padding: 14px 0;
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.navbar-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 40px; height: 40px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--white); letter-spacing: 1px; }
.logo-amp { color: var(--gold-light); font-style: normal; margin: 0 2px; }
.logo-sub { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); }

.navbar-menu { display: flex; list-style: none; gap: 32px; align-items: center; }
.navbar-menu a {
    font-size: 0.78rem; font-weight: 400; letter-spacing: 1.5px;
    text-transform: uppercase; color: rgba(255,255,255,0.6);
    transition: color 0.3s; position: relative;
}
.navbar-menu a:hover { color: var(--white); }
.navbar-menu a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width 0.4s var(--ease-out-expo);
}
.navbar-menu a:hover::after { width: 100%; }
.btn-nav {
    background: transparent !important; color: var(--gold) !important;
    border: 1px solid var(--gold) !important; padding: 10px 24px !important;
    transition: all 0.3s !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover { background: var(--gold) !important; color: var(--white) !important; }

.menu-toggle {
    display: none; flex-direction: column; gap: 6px;
    background: none; border: none; cursor: pointer; padding: 5px;
}
.menu-toggle span { width: 28px; height: 1.5px; background: var(--white); transition: all 0.3s var(--ease-out-expo); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-5px); }

/* ==========================================
   HERO — Corporativo con gráficos
   ========================================== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; overflow: hidden;
    background: var(--dark);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-gradient {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 70% 40%, rgba(150,129,82,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(212,196,146,0.04) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark) 0%, var(--black) 100%);
}
.hero-lines {
    position: absolute; inset: 0; width: 100%; height: 100%;
}

/* Edificio abstracto */
.hero-building {
    position: absolute; right: 8%; bottom: 0;
    display: flex; align-items: flex-end; gap: 6px;
    opacity: 0; animation: buildingRise 1.5s 0.5s var(--ease-out-expo) forwards;
}
.building-block {
    background: linear-gradient(to top, rgba(150,129,82,0.12), rgba(150,129,82,0.03));
    border: 1px solid rgba(150,129,82,0.08);
    border-bottom: none;
}
.b1 { width: 40px; height: 180px; }
.b2 { width: 50px; height: 280px; }
.b3 { width: 60px; height: 400px; }
.b4 { width: 45px; height: 240px; }
.b5 { width: 35px; height: 150px; }

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

.hero-content {
    position: relative; z-index: 2;
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 140px; padding-bottom: 80px; gap: 60px;
}
.hero-left { max-width: 640px; }
.hero-right {
    display: flex; flex-direction: column; align-items: flex-end; gap: 24px;
}

.hero-label { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.hero-label-line { width: 48px; height: 1px; background: var(--gold); }
.hero-label-text {
    font-size: 0.72rem; font-weight: 500; letter-spacing: 4px;
    text-transform: uppercase; color: var(--gold);
}

.hero-title {
    font-family: var(--font-serif); font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700; line-height: 1.08; color: var(--white); margin-bottom: 32px;
}
.hero-title em { color: var(--gold-light); font-style: italic; font-weight: 400; }
.title-line { display: block; overflow: hidden; }
.title-line span {
    display: inline-block; transform: translateY(110%);
    animation: revealUp 1s var(--ease-out-expo) forwards;
}
.title-line:nth-child(2) span { animation-delay: 0.1s; }
.title-line:nth-child(3) span { animation-delay: 0.2s; }
.title-line:nth-child(4) span { animation-delay: 0.3s; }
@keyframes revealUp { to { transform: translateY(0); } }

.hero-desc {
    font-size: 1rem; line-height: 1.9; color: rgba(255,255,255,0.5);
    max-width: 520px; margin-bottom: 48px;
    opacity: 0; animation: fadeInUp 0.8s 0.6s var(--ease-out-expo) forwards;
}
.hero-buttons {
    display: flex; gap: 16px; flex-wrap: wrap;
    opacity: 0; animation: fadeInUp 0.8s 0.8s var(--ease-out-expo) forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero badges */
.hero-badge {
    opacity: 0; animation: fadeInUp 0.8s 1s var(--ease-out-expo) forwards;
}
.hero-clients-badge {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px; border: 1px solid rgba(150,129,82,0.2);
    background: rgba(150,129,82,0.05);
    opacity: 0; animation: fadeInUp 0.8s 1.2s var(--ease-out-expo) forwards;
}
.badge-icon {
    width: 36px; height: 36px; display: flex;
    align-items: center; justify-content: center;
}
.badge-title {
    display: block; font-family: var(--font-serif); font-size: 1rem;
    font-weight: 700; color: var(--gold); letter-spacing: 1px;
}
.badge-sub { display: block; font-size: 0.65rem; color: rgba(255,255,255,0.4); letter-spacing: 0.5px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 32px; font-family: var(--font-sans);
    font-size: 0.8rem; font-weight: 500; letter-spacing: 1.5px;
    text-transform: uppercase; border: none; cursor: pointer;
    transition: all 0.4s var(--ease-out-expo); position: relative; overflow: hidden;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); gap: 20px; }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-lg { padding: 20px 44px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-arrow { transition: transform 0.3s var(--ease-out-expo); font-size: 1.1rem; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Scroll indicator */
.hero-scroll-indicator { position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); z-index: 2; }
.mouse { width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,0.3); border-radius: 12px; display: flex; justify-content: center; padding-top: 8px; }
.mouse-wheel { width: 3px; height: 8px; background: var(--gold); border-radius: 2px; animation: mouseScroll 1.8s infinite; }
@keyframes mouseScroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* ==========================================
   STATS
   ========================================== */
.stats { padding: 80px 0; background: var(--black); border-top: 1px solid rgba(150,129,82,0.1); }
.stats-grid { display: flex; justify-content: center; align-items: center; gap: 60px; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-serif); font-size: 3.2rem; font-weight: 700; color: var(--gold); line-height: 1; display: inline; }
.stat-plus { font-family: var(--font-serif); font-size: 2rem; color: var(--gold); vertical-align: super; }
.stat-badge { display: block; font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--gold); letter-spacing: 2px; }
.stat-label { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 8px; letter-spacing: 0.5px; line-height: 1.5; }
.stat-divider { width: 1px; height: 60px; background: linear-gradient(to bottom, transparent, var(--gray-800), transparent); }

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.section-header-center { justify-content: center; }
.section-number { font-family: var(--font-serif); font-size: 0.85rem; color: var(--gold); font-weight: 400; }
.section-label { font-size: 0.7rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.section-title { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; color: var(--dark); margin-bottom: 40px; }
.section-title em { color: var(--gold); font-style: italic; }
.section-title-center { text-align: center; }

/* ==========================================
   ABOUT — Diseño corporativo con fotos
   ========================================== */
.about { padding: 140px 0; }
.about-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.about-header .section-header { justify-content: center; }
.about-header .section-title { text-align: center; }

/* Bloque principal: texto + composición visual */
.about-main {
    display: grid; grid-template-columns: 1fr 1.1fr;
    gap: 64px; align-items: center; margin-bottom: 80px;
}
.about-content p {
    font-size: 0.95rem; color: var(--gray-700);
    margin-bottom: 16px; line-height: 1.9;
}

/* Composición gráfica corporativa — escena de construcción */
.about-visual-corp {
    position: relative;
}
.corp-block {
    position: relative;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}
.abstract-scene {
    width: 100%;
    height: auto;
    display: block;
}
.corp-badge-group {
    display: flex; gap: 16px;
    margin-top: 20px;
}
.corp-badge {
    flex: 1; text-align: center;
    padding: 20px; background: var(--dark);
}
.corp-badge-number {
    display: block; font-family: var(--font-serif);
    font-size: 1.8rem; font-weight: 700; color: var(--gold);
    letter-spacing: 2px;
}
.corp-badge-text {
    display: block; font-size: 0.65rem;
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255,255,255,0.4); margin-top: 4px;
}

/* Image curtain (para equipo) */
.image-curtain {
    position: absolute; inset: 0; background: var(--gold);
    z-index: 2; transform-origin: top;
    transition: transform 1s var(--ease-out-expo);
}
.about-image-container.revealed .image-curtain { transform: scaleY(0); }

/* Pilares grid */
.about-pillars-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.pillar-card {
    padding: 32px 24px; border: 1px solid var(--gray-200);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}
.pillar-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 0; height: 2px; background: var(--gold);
    transition: width 0.4s var(--ease-out-expo);
}
.pillar-card:hover { border-color: var(--gold-light); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.pillar-card:hover::before { width: 100%; }
.pillar-icon { color: var(--gold); margin-bottom: 16px; }
.pillar-card h4 { font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.pillar-card p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.6; }

/* ==========================================
   SERVICES
   ========================================== */
.services { padding: 140px 0; background: var(--gray-100); }
.services-list { margin-top: 60px; }
.service-row {
    display: flex; align-items: center; gap: 32px;
    padding: 36px 0; border-bottom: 1px solid var(--gray-300);
    cursor: default; transition: all 0.4s var(--ease-out-expo);
}
.service-row:first-child { border-top: 1px solid var(--gray-300); }
.service-row:hover { padding-left: 20px; }
.service-num { font-family: var(--font-serif); font-size: 1rem; color: var(--gray-400); min-width: 32px; transition: color 0.3s; }
.service-row:hover .service-num { color: var(--gold); }
.service-content { flex: 1; }
.service-content h3 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; transition: color 0.3s; }
.service-row:hover .service-content h3 { color: var(--gold-dark); }
.service-content p {
    font-size: 0.85rem; color: var(--gray-500); line-height: 1.7;
    max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
    transition: max-height 0.5s var(--ease-out-expo), opacity 0.3s, margin 0.3s;
}
.service-row:hover .service-content p { max-height: 100px; opacity: 1; margin-top: 8px; }
.service-arrow { font-size: 1.4rem; color: var(--gray-400); transition: all 0.3s var(--ease-out-expo); opacity: 0; }
.service-row:hover .service-arrow { opacity: 1; color: var(--gold); transform: translateX(4px); }

/* ==========================================
   TEAM — Corporativo, sin fotos
   ========================================== */
.team { padding: 140px 0; background: var(--white); }
.team-cards {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 40px; margin-top: 60px;
}

/* Foto en tarjeta equipo */
.card-photo {
    position: relative; overflow: hidden;
    height: 280px;
}
.card-photo img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: top center;
    transition: transform 0.8s var(--ease-out-expo);
}
.card-photo-overlay {
    position: absolute; bottom: 0; right: 0;
    font-family: var(--font-serif); font-size: 6rem;
    font-weight: 700; color: rgba(255,255,255,0.1);
    letter-spacing: 6px; line-height: 1;
    padding: 12px 20px;
    transition: color 0.4s var(--ease-out-expo);
}
.team-card-corp:hover .card-photo-overlay {
    color: rgba(150,129,82,0.25);
}
.team-card-corp:hover .card-photo img { transform: scale(1.05); }

.team-card-corp {
    padding: 0;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}
.team-card-corp::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 3px; height: 0; background: var(--gold);
    transition: height 0.6s var(--ease-out-expo);
}
.team-card-corp:hover { border-color: var(--gold-light); box-shadow: 0 16px 48px rgba(0,0,0,0.06); }
.team-card-corp:hover::before { height: 100%; }

.card-top {
    display: flex; align-items: center; gap: 20px;
    margin-bottom: 24px; padding: 32px 40px 24px;
    border-bottom: 1px solid var(--gray-200);
}
.team-role-tag {
    display: inline-block; font-size: 0.65rem; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 4px;
}
.team-name {
    font-family: var(--font-serif); font-size: 1.5rem;
    font-weight: 700; color: var(--dark);
}

.card-credentials {
    display: flex; flex-direction: column; gap: 10px;
    margin-bottom: 24px; padding: 0 40px;
}
.credential {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.82rem; color: var(--gray-700);
}
.credential-dot {
    width: 5px; height: 5px; background: var(--gold-light);
    border-radius: 50%; flex-shrink: 0;
}

.card-highlights {
    display: flex; flex-direction: column; gap: 8px;
    margin-bottom: 24px; padding: 20px 40px;
    margin-left: 40px; margin-right: 40px;
    background: var(--gray-100);
}
.highlight {
    font-size: 0.8rem; color: var(--gray-500);
}
.highlight span {
    display: inline-block;
    font-weight: 600; color: var(--gold-dark);
    min-width: 70px; margin-right: 8px;
    font-size: 0.75rem; letter-spacing: 0.5px;
}

.card-bio {
    font-size: 0.85rem; color: var(--gray-500); line-height: 1.8;
    padding: 0 40px 40px;
}
.card-bio strong { color: var(--gray-700); }

.card-disclaimer {
    font-size: 0.82rem; font-weight: 500;
    color: var(--gold-dark);
    padding: 14px 40px 40px;
    margin-top: -8px;
    border-top: 1px solid var(--gold-light);
    margin-left: 40px; margin-right: 40px;
    font-style: italic;
    letter-spacing: 0.3px;
}

/* ==========================================
   CTA
   ========================================== */
.cta {
    position: relative; padding: 120px 0;
    background: var(--dark); overflow: hidden;
}
.cta-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(150,129,82,0.08) 0%, transparent 70%);
}
.cta-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-content { position: relative; text-align: center; }
.cta h2 {
    font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700; color: var(--white); margin-bottom: 16px; line-height: 1.3;
}
.cta p { font-size: 1rem; color: rgba(255,255,255,0.4); margin-bottom: 40px; }

/* ==========================================
   CONTACT
   ========================================== */
.contact { padding: 140px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-top: 20px; }
.contact-item {
    display: flex; gap: 16px; align-items: center;
    padding: 16px; border: 1px solid transparent;
    transition: all 0.3s var(--ease-out-expo);
}
.contact-item:hover { border-color: var(--gray-200); background: var(--gray-100); }
.contact-icon {
    width: 44px; height: 44px; display: flex;
    align-items: center; justify-content: center;
    background: var(--gray-100); color: var(--gold); flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; color: var(--dark); margin-bottom: 2px; }
.contact-item p { font-size: 0.9rem; color: var(--gray-500); }

.contact-form { display: flex; flex-direction: column; gap: 32px; }
.form-group { position: relative; }
.form-group input, .form-group textarea {
    width: 100%; padding: 16px 0; font-family: var(--font-sans);
    font-size: 0.9rem; color: var(--dark); background: transparent;
    border: none; border-bottom: 1px solid var(--gray-300); outline: none;
    transition: border-color 0.3s;
}
.form-group select {
    width: 100%; padding: 16px 0; font-family: var(--font-sans);
    font-size: 0.9rem; color: var(--gray-500); background: transparent;
    border: none; border-bottom: 1px solid var(--gray-300); outline: none; cursor: pointer;
}
.form-group label {
    position: absolute; left: 0; top: 16px;
    font-size: 0.85rem; color: var(--gray-400); pointer-events: none;
    transition: all 0.3s var(--ease-out-expo);
}
.form-group input:focus ~ label, .form-group input:valid ~ label,
.form-group textarea:focus ~ label, .form-group textarea:valid ~ label {
    top: -8px; font-size: 0.7rem; color: var(--gold); letter-spacing: 1px;
}
.form-line {
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--gold);
    transition: width 0.4s var(--ease-out-expo);
}
.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line,
.form-group select:focus ~ .form-line { width: 100%; }
.form-group textarea { resize: vertical; min-height: 80px; }

/* ==========================================
   FOOTER
   ========================================== */
.footer { background: var(--black); padding: 60px 0 30px; }
.footer-top {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-logo-icon { width: 40px; height: 40px; margin-bottom: 12px; }
.footer .logo-name { font-size: 1rem; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
    font-size: 0.75rem; color: rgba(255,255,255,0.35);
    letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
    padding-top: 30px; display: flex;
    justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.72rem; color: rgba(255,255,255,0.2); }
.footer-tagline { letter-spacing: 1px; }

/* ==========================================
   ANIMATIONS
   ========================================== */
[data-animate="slide-up"] {
    opacity: 0; transform: translateY(50px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
[data-animate="slide-up"].animated { opacity: 1; transform: translateY(0); }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .about-main { grid-template-columns: 1fr; gap: 48px; }
    .about-pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .team-cards { grid-template-columns: 1fr; }
    .hero-content { flex-direction: column; }
    .hero-right { align-items: flex-start; flex-direction: row; gap: 24px; }
    .hero-building { display: none; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .navbar-menu {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: var(--dark); flex-direction: column; justify-content: center;
        align-items: center; gap: 28px; padding: 40px;
        transition: right 0.5s var(--ease-out-expo);
    }
    .navbar-menu.active { right: 0; }
    .navbar-menu a { font-size: 1.2rem; color: var(--white); }

    .stats-grid { flex-direction: column; gap: 32px; }
    .stat-divider { width: 40px; height: 1px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-scroll-indicator { display: none; }
    .hero-right { display: none; }
    .about-pillars-grid { grid-template-columns: 1fr; }
    .card-top, .card-credentials, .card-bio { padding-left: 24px; padding-right: 24px; }
    .card-highlights { margin-left: 24px; margin-right: 24px; }
    .corp-badge-group { flex-direction: column; }

    .service-content p { max-height: none; opacity: 1; margin-top: 8px; }
    .service-arrow { display: none; }
    .service-row:hover { padding-left: 0; }

    .footer-top { flex-direction: column; gap: 24px; text-align: center; }
    .footer-brand { align-items: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .team-card-corp { padding: 32px 24px; }
}
