:root {
    /* Cyber/Futuristic Dark Theme */
    --bg-base: #030305;
    --bg-surface: #0a0a0f;
    --bg-card: rgba(15, 15, 20, 0.7);
    --gold-core: #e8a849;
    --gold-dim: rgba(232, 168, 73, 0.2);
    --gold-glow: rgba(232, 168, 73, 0.5);
    --text-primary: #f0f0f5;
    --text-muted: #8a8a9e;
    --border-subtle: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Background grid effect */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(to right, rgba(232, 168, 73, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(232, 168, 73, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.1;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 120px 0;
}

.section-darker {
    background-color: var(--bg-surface);
}

.border-y-cyber {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.text-gold {
    color: var(--gold-core);
}

.text-glow {
    color: var(--gold-core);
    text-shadow: 0 0 15px var(--gold-glow);
}

.section-label {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--gold-core);
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
    padding-left: 15px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold-core);
    box-shadow: 0 0 10px var(--gold-core);
}

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

.ml-2 {
    margin-left: 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-glow {
    background: transparent;
    color: var(--gold-core);
    border: 1px solid var(--gold-core);
    box-shadow: inset 0 0 0 0 var(--gold-core);
}

.btn-glow:hover {
    box-shadow: inset 0 0 20px var(--gold-dim), 0 0 20px var(--gold-dim);
    background: var(--gold-dim);
    color: #fff;
}

.btn-glow-solid {
    background: var(--gold-core);
    color: #000;
    box-shadow: 0 0 15px var(--gold-glow);
}

.btn-glow-solid:hover {
    background: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

.btn-outline-cyber {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-outline-cyber:hover {
    border-color: var(--gold-core);
    color: var(--gold-core);
}

/* Base Cyber Cards */
.cyber-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 40px 30px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.cyber-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-subtle);
    background: #000000;
}

.navbar.scrolled {
    background: #000000;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo img {
    height: 55px;
    /* Adjusting for the new logo */
    width: auto;
    max-width: 250px;
    /* Ensure it doesn't blow up */
    object-fit: contain;
    display: block;
    /* Fix inline spacing issues */
}

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

.nav-links a {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-no {
    color: var(--gold-core);
    font-size: 0.7rem;
    margin-right: 4px;
    opacity: 0.7;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-core);
    transition: width 0.3s;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gold-core);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/imagen%20de%20portada.webp');
    background-size: 150%;
    /* Scale up to crop out the left text */
    background-position: right -150px center;
    /* Shift to show only Lady Justice on the right */
    background-repeat: no-repeat;
    z-index: -2;
    filter: sepia(1) hue-rotate(350deg) saturate(3) contrast(1.2) brightness(0.4);
}

@media (max-width: 1024px) {
    .hero-bg {
        background-size: 200%;
        background-position: right -100px center;
    }
}

@media (max-width: 768px) {
    .hero-bg {
        background-size: 300%;
        background-position: right center;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(3, 3, 5, 0.4) 0%, var(--bg-base) 100%), linear-gradient(to right, rgba(3, 3, 5, 0.9) 0%, rgba(3, 3, 5, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.05);
    font-family: var(--font-head);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 1.05;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 550px;
    border-left: 2px solid var(--gold-core);
    padding-left: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold-core);
    border-radius: 2px;
    animation: scroll-anim 1.5s infinite;
}

@keyframes scroll-anim {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 25px 0;
    white-space: nowrap;
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(5px);
}

.marquee {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee span {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 30px;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.marquee i {
    font-size: 0.9rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

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

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

.cyber-panel {
    background: transparent;
    border: 1px solid var(--border-subtle);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.cyber-panel:hover {
    background: rgba(232, 168, 73, 0.05);
    border-color: var(--gold-dim);
}

.stat-value {
    font-family: var(--font-head);
    font-size: 4rem;
    font-weight: 800;
    color: var(--gold-core);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 0 15px var(--gold-glow);
}

.stat-plus {
    font-size: 2.5rem;
    vertical-align: super;
}

.cyber-panel p {
    font-family: var(--font-head);
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--text-muted);
}

.vision-card {
    text-align: center;
    padding: 60px 40px;
}

.icon-cyber {
    font-size: 3.5rem;
    color: var(--gold-core);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px var(--gold-glow));
}

.vision-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.vision-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.card-deco-line {
    width: 50px;
    height: 3px;
    background: var(--gold-core);
    margin: 30px auto 0;
    box-shadow: 0 0 10px var(--gold-glow);
}

/* Services */
.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 40px;
}

.card-bracket-tl,
.card-bracket-br {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid var(--gold-core);
    opacity: 0.5;
    transition: var(--transition);
}

.card-bracket-tl {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.card-bracket-br {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

.service-card:hover .card-bracket-tl,
.service-card:hover .card-bracket-br {
    opacity: 1;
    box-shadow: 0 0 10px var(--gold-glow);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--gold-core);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

.cyber-link {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-core);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cyber-link i {
    transition: var(--transition);
}

.cyber-link:hover i {
    transform: translateX(10px);
}

/* Process Timeline (Futuristic straight line style) */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold-dim), var(--gold-core), var(--gold-dim), transparent);
    transform: translateX(-50%);
}

.process-item {
    display: flex;
    justify-content: flex-start;
    padding-left: 55%;
    position: relative;
    margin-bottom: 60px;
}

.process-item.alt {
    justify-content: flex-end;
    padding-left: 0;
    padding-right: 55%;
}

.process-node {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--bg-base);
    border: 2px solid var(--gold-core);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-glow);
    z-index: 2;
}

.process-number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-150%);
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--gold-dim);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.process-item.alt .process-number {
    transform: translateX(50%);
}

.process-content {
    width: 100%;
}

.process-content h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.process-content p {
    color: var(--text-muted);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-profile {
    position: relative;
}

.team-img-glitch {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    filter: grayscale(80%) contrast(1.2);
    transition: var(--transition);
    border: 1px solid var(--border-subtle);
    border-bottom: none;
}

.team-profile:hover .team-img-glitch {
    filter: grayscale(0%) contrast(1.1);
}

.team-img-glitch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-profile:hover .team-img-glitch img {
    transform: scale(1.03);
}

.overlay-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.2));
    background-size: 100% 4px;
    pointer-events: none;
}

.team-info {
    text-align: left;
    border-top-color: var(--gold-core);
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-info .role {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-core);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.social-cyber {
    display: flex;
    gap: 10px;
}

.social-cyber a {
    width: 35px;
    height: 35px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-cyber a:hover {
    border-color: var(--gold-core);
    color: var(--gold-core);
    box-shadow: 0 0 10px var(--gold-dim);
}

/* FAQ (Cyber Accordion) */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.cyber-accordion {
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
}

.faq-row {
    border-bottom: 1px solid var(--border-subtle);
}

.faq-row:last-child {
    border-bottom: none;
}

.faq-q {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
    transition: var(--transition);
}

.faq-row.active .faq-q {
    background: rgba(232, 168, 73, 0.05);
}

.faq-q h4 {
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border: 1px solid var(--gold-core);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-core);
    transition: var(--transition);
}

.faq-row.active .faq-toggle {
    background: var(--gold-core);
    color: #000;
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-a p {
    padding: 0 30px 25px 30px;
    color: var(--text-muted);
}

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

.contact-data h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-data p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-nodes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c-node {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.c-node:hover {
    background: rgba(232, 168, 73, 0.05);
    border-color: var(--gold-dim);
}

.c-node i {
    font-size: 1.5rem;
    color: var(--gold-core);
    width: 30px;
    text-align: center;
}

.c-node span {
    display: block;
    font-family: var(--font-head);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.c-node strong {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Form */
.cyber-form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    position: relative;
}

.form-header {
    background: rgba(179, 110, 110, 0.03);
    padding: 15px 30px;
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-core);
}

.form-inner {
    padding: 40px;
}

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

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

.form-group label {
    display: block;
    font-family: var(--font-head);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold-core);
    box-shadow: 0 0 10px var(--gold-dim);
    background: rgba(0, 0, 0, 0.8);
}

.select-wrapper {
    position: relative;
}

select {
    appearance: none;
    cursor: pointer;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-core);
    pointer-events: none;
}

option {
    background: var(--bg-surface);
}

.w-100 {
    width: 100%;
}

.form-disclaimer {
    color: var(--text-primary);
    font-size: 0.85rem;
    margin-top: 20px;
    text-align: justify;
    line-height: 1.6;
    opacity: 0.9;
}

/* Footer Element */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 30px;
    background: #000000;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.f-brand img {
    height: 50px;
    /* Adjusting for new logo */
    margin-bottom: 20px;
}

.f-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    max-width: 350px;
}

.f-socials {
    display: flex;
    gap: 15px;
}

.f-socials a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.f-socials a:hover {
    color: var(--gold-core);
    border-color: var(--gold-core);
    box-shadow: inset 0 0 10px var(--gold-dim);
}

.f-links h4 {
    color: var(--gold-core);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.f-links ul {
    list-style: none;
}

.f-links li {
    margin-bottom: 15px;
}

.f-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.f-links a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.f-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 30px;
    text-align: center;
}

.f-bottom p {
    font-family: var(--font-head);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* WhatsApp Float */
.whatsapp-cyber {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid #25d366;
    color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-cyber:hover {
    background: #25d366;
    color: #000;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.8);
    transform: scale(1.1);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .process-line {
        left: 30px;
    }

    .process-item,
    .process-item.alt {
        justify-content: flex-start;
        padding: 0;
        padding-left: 80px;
    }

    .process-node {
        left: 30px;
    }

    .process-number,
    .process-item.alt .process-number {
        transform: none;
        left: -10px;
        top: -30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000000;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-subtle);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .f-socials {
        justify-content: center;
    }
}