:root {
    /* Colors */
    --primary: #f2ca50;
    --primary-container: #d4af37;
    --on-primary: #3c2f00;
    --surface: #131313;
    --on-surface: #e5e2e1;
    --surface-variant: #353535;
    --secondary: #c8c6c5;
    --secondary-container: #474746;
    --outline: #99907c;
    --background: #131313;
    --gold: #f2ca50;
    --gold-dark: #ccab42;
    --neutral-900: #171717;
    --neutral-950: #0a0a0a;

    /* Fonts */
    --font-headline: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-label: 'Manrope', sans-serif;

    /* Spacing tokens */
    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;
    --space-5xl: 6rem;
    --space-6xl: 8rem;
    --space-7xl: 12rem;

    --section-py:      var(--space-5xl);
    --section-py-lg:   var(--space-6xl);
    --section-py-xl:   var(--space-7xl);

    --container-px:    var(--space-xl);

    --h-mb:            var(--space-lg);

    --gap-sm:          var(--space-lg);
    --gap-md:          var(--space-xl);
    --gap-lg:          var(--space-2xl);
    --gap-xl:          var(--space-3xl);
    --gap-2xl:         var(--space-4xl);

    --btn-py:          var(--space-md);
    --btn-px:          var(--space-xl);
    --btn-py-sm:       var(--space-sm);
    --btn-px-sm:       var(--space-lg);

    --card-py:         var(--space-xl);
    --card-px:         var(--space-xl);
    --card-py-lg:      2.5rem;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--surface);
    color: var(--on-surface);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
}

::selection {
    background-color: var(--primary);
    color: var(--on-primary);
}

/* Utility Classes Replacement */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.md-flex-row {
    flex-direction: row;
}

@media (min-width: 768px) {
    .md-flex-row {
        flex-direction: row;
    }
}

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

.justify-between {
    justify-content: space-between;
}

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

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

.uppercase {
    text-transform: uppercase;
}

.font-bold {
    font-weight: 700;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 16%;
}

#peqLogo {
    margin-right: 30px;
}

.nav-links {
    display: none;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: #a3a3a3;
    text-decoration: none;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-label);
    font-weight: 700;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

.btn-quote {
    background-color: var(--primary);
    color: var(--on-primary);
    font-weight: 700;
    padding: var(--btn-py-sm) var(--btn-px-sm);
    border-radius: 2px;
    border: none;
    cursor: pointer;
    font-family: var(--font-headline);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: -0.02em;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-quote:hover {
    background-color: var(--primary-container);
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
    justify-content: center;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(19, 19, 19, 0.8), transparent, transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 80%;
}

.badge-trusted {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: var(--on-primary);
    padding: 0.25rem 0.75rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 15px 0;
    /* final_spacing_test */
}

.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    /* gap-16 */
    width: 100%;
    margin-top: 10px;
    max-height: 20em;
    /* final_spacing_test */
}

@media (min-width: 768px) {
    .hero-title-wrapper {
        flex-direction: row;
    }
}

.hero-h1 {
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.02;
    /* final_spacing_test */
    letter-spacing: -0.05em;
    font-size: 3rem;
    /* text-5xl */
}

@media (min-width: 768px) {
    .hero-h1 {
        font-size: 4.5rem;
        /* text-7xl */
        width: 50%;
    }
}

.hero-h1 .text-primary {
    color: var(--primary);
}

.hero-logo-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-logo-container {
        width: 50%;
    }
}

.hero-logo {
    height: 24rem;
    width: auto;
    object-fit: contain;
}

@media (max-width: 767px) {
    .hero-logo {
        height: 12rem;
        max-width: 100%;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--secondary);
    max-width: 28rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.625;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--on-primary);
    padding: var(--btn-py) var(--btn-px);
    border: none;
    border-radius: 2px;
    font-family: var(--font-headline);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    transition: filter 0.3s;
}

.btn-primary:hover {
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--on-surface);
    padding: var(--btn-py) var(--btn-px);
    border-radius: 2px;
    font-family: var(--font-headline);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Stats Bar */
#stats {
    /* mt-4 */
    margin-bottom: 2rem;
    /* mb-8 */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
}

@media (min-width: 768px) {
    #stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-val {
    display: block;
    color: var(--primary);
    font-family: var(--font-headline);
    font-size: 2.25rem;
    font-weight: 700;
}

.stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
    font-family: var(--font-label);
    font-weight: 700;
}

/* Ticker Bar */
#equipment-ticker {
    background-color: var(--gold);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.marquee-content {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    text-transform: uppercase;
    font-family: var(--font-headline);
    font-weight: 700;
    color: black;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

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

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

/* Why Choose Us Section */
#why-choose-us {
    padding: var(--section-py) 0;
    background-color: white;
    color: #171717;
}

.section-label-gold {
    color: var(--gold);
    font-family: var(--font-label);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.section-h2 {
    font-size: 3rem;
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: var(--h-mb);
    letter-spacing: -0.025em;
    line-height: 1.2em;
}

.section-p {
    color: #737373;
    max-width: 42rem;
    margin: 0 auto 5rem auto;
}

.card-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 6rem;
    padding: 0 5%;
}

@media (min-width: 768px) {
    .card-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card-white {
    background-color: #f9f9f9;
    padding: 2rem;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-circle-gold {
    width: 4rem;
    height: 4rem;
    background-color: var(--gold);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.card-title {
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.card-text-small {
    font-size: 0.75rem;
    color: #a3a3a3;
    line-height: 1.6;
}

/* Features Grid */
.features-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem 4rem;
    text-align: left;
    padding: 0 5%;
}

@media (min-width: 768px) {
    .features-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.icon-circle-dark {
    width: 3rem;
    height: 3rem;
    background-color: #171717;
    border-radius: 9999px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.feature-title {
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

/* Global Stats Bar */
#global-stats {
    background-color: #1e2329;
    padding: 4rem 0;
}

.global-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    text-align: center;
}

@media (min-width: 768px) {
    .global-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.global-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-teal {
    color: #2dd4bf;
    margin-bottom: 1rem;
    font-size: 2.25rem;
}

.stat-h3 {
    font-size: 1.875rem;
    font-family: var(--font-headline);
    font-weight: 700;
}

.stat-meta {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: #a3a3a3;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

/* Engineering Section */
#engineering-process {
    position: relative;
    padding: var(--section-py-lg) 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 90vh;
}

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

.engineering-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.engineering-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
    align-items: center;
    width: 80%;
}

@media (min-width: 1024px) {
    .engineering-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.btn-develop {
    background-color: var(--gold);
    color: black;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 2px;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    width: fit-content;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-card {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    padding: 1.5rem;
    border-left: 4px solid var(--gold);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(242, 202, 80, 0.1);
}

.step-card.inactive {
    border-left-color: rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s;
}

.step-card.inactive:hover {
    border-left-color: var(--gold);
}

.step-h4 {
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-p {
    font-size: 0.875rem;
    color: #d4d4d4;
    line-height: 1.6;
}

/* Mid Banner */
#info-center {
    background-color: var(--gold);
    padding: 3rem 0;
    text-align: center;
    color: black;
}

#info-center h2 {
    font-size: 2.25rem;
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

#info-center p {
    color: rgba(0, 0, 0, 0.7);
}

/* CTA Section */
#get-started-cta {
    position: relative;
    padding: var(--section-py-lg) 0;
    text-align: center;
}

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

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
    margin: 0 auto;
}

.cta-label {
    color: var(--gold);
    font-family: var(--font-label);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 10px;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.cta-h2 {
    font-size: 3rem;
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-p {
    color: #d4d4d4;
    margin-bottom: 2.5rem;
}

.btn-cta {
    background-color: var(--gold);
    color: black;
    font-family: var(--font-headline);
    font-weight: 700;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto;
    cursor: pointer;
}

/* Mobile Menu */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 0.75rem;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: transform 0.3s;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-flags-mobile {
    display: none;
}

.nav-flags-desktop {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-flags-desktop .btn-flag {
    margin-left: 0;
}

.btn-flag {
    font-size: 1.25rem;
    text-decoration: none;
    margin-left: 40px;
    margin-right: 0.75rem;
    cursor: pointer;
    transition: transform 0.2s;
    line-height: 1;
}

.btn-flag + .btn-flag {
   /* margin-left: 0.75rem; */
}

.btn-flag:hover {
    transform: scale(1.2);
}

.flag-icon {
    width: 24px;
    height: 18px;
    vertical-align: middle;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 20rem;
    height: 100%;
    background-color: #0a0a0a;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s;
}

.mobile-menu.open .mobile-menu-inner {
    transform: translateX(0);
}

.menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    margin-bottom: 2rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    color: #a3a3a3;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-label);
    font-weight: 700;
    transition: color 0.3s;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

.mobile-nav-links a:hover {
    color: white;
}

.mobile-cta {
    text-align: center;
    margin-top: 1rem;
}

.btn-quote.mobile-cta {
    color: black;
}

/* Social Responsibility */
#social-responsibility {
    padding: 6rem;
    background-color: #0a1118;
}

.responsibility-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    color: #a3a3a3;
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .responsibility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Testimonials / Case Studies */
#testimonials {
    background-color: #ffffff;
    padding: var(--section-py-lg) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    text-align: center;
}

#testimonials .section-h2--light {
    color: #171717;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 5%;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: #fafafa;
    border: 1px solid #eaeaea;
    padding: var(--card-py-lg) var(--card-px);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.testimonial-quote {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.testimonial-quote-icon {
    font-size: 2rem;
    color: var(--gold);
}

.testimonial-text {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #525252;
    margin-bottom: var(--space-xl);
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testimonial-author-name {
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #171717;
}

.testimonial-author-role {
    font-size: 0.65rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Future Plans */
#future-plans {
    position: relative;
    padding: var(--section-py-xl) 0;
    text-align: center;
    overflow: hidden;
    background-image: url('imagens/edificio_imponente.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.future-content {
    position: relative;
    z-index: 10;
}

.future-h2 {
    font-size: 4.5rem;
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.future-italic {
    font-size: 1.25rem;
    color: #e5e5e5;
    margin-bottom: 2rem;
    font-style: italic;
}

.future-social-icons {
    margin-bottom: 2.5rem;
    margin-top: 0;
}

/* Diagnostic Popup */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.popup-overlay.open {
    display: flex;
}

.popup-content {
    background: #111;
    max-width: 36rem;
    width: 100%;
    padding: 2.5rem 2rem;
    border-radius: 4px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #a3a3a3;
    cursor: pointer;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.popup-close:hover {
    color: white;
}

.popup-h2 {
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.popup-subtitle {
    font-size: 0.85rem;
    color: #a3a3a3;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.diagnostic-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.diagnostic-field {
    text-align: left;
    margin-bottom: 10px;
}

.diagnostic-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #e5e5e5;
    margin-bottom: 0.4rem;
    font-family: var(--font-label);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.diagnostic-row {
    display: flex;
    gap: 0.75rem;
}

.diagnostic-input {
    width: 100%;
    background-color: #171717;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    color: white;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.3s;
}

.diagnostic-input--half {
    width: 50%;
}

.diagnostic-input:focus {
    border-color: var(--gold);
}

.diagnostic-input::placeholder {
    color: #6b6b6b;
}

.diagnostic-input select,
.diagnostic-input option {
    color: white;
    background: #171717;
}

select.diagnostic-input {
    cursor: pointer;
    appearance: auto;
}

.diagnostic-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

@media (max-width: 767px) {
    .popup-content {
        padding: 2rem 1.25rem;
    }

    .popup-h2 {
        font-size: 1.35rem;
    }

    .diagnostic-row {
        flex-direction: column;
    }

    .diagnostic-input--half {
        width: 100%;
    }
}

/* Copyright Bar */
#copyright-notice {
    background-color: var(--gold);
    padding: 1rem 0;
    text-align: center;
    color: black;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Contact Form */
#contact-form {
    position: relative;
    z-index: 2;
    background-color: #0a0a0a;
    padding: var(--section-py) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form-inner {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
}

.contact-h2 {
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 3rem;
    color: white;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.contact-subtitle {
    color: #a3a3a3;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-input-group {
    width: 100%;
}

.contact-input {
    width: 100%;
    background-color: #171717;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 1rem 1.25rem;
    color: white;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-input::placeholder {
    color: #8a8a8a;
    font-family: var(--font-body);
}

.contact-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(242, 202, 80, 0.15);
}

.form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(242, 202, 80, 0.08);
    border: 1px solid var(--gold);
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.form-success p {
    color: #e5e5e5;
    font-size: 0.85rem;
    margin: 0;
    text-align: left;
}

.contact-submit {
    width: 100%;
    margin-top: 0.5rem;
    justify-content: center;
    padding: 1.1rem 2rem;
    font-size: 1rem;
    letter-spacing: 0.15em;
}

/* Footer Section */
#main-footer {
    background-color: #111111;
    color: white;
    padding-top: 6rem;
    padding-bottom: 2rem;
}

.footer-newsletter {
    display: none;
}

#newsletter {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
    padding-top: 6rem;
    padding-bottom: 2rem;
}

.footer-h3 {
    font-size: 2.25rem;
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-p-faded {
    color: #737373;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.social-icons-footer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.icon-faded-hover {
    color: #a3a3a3;
    cursor: pointer;
    transition: color 0.3s;
}

.icon-faded-hover:hover {
    color: var(--gold);
}

.divider-small {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    width: 6rem;
    margin: 0 auto 4rem auto;
}

.newsletter-wrap {
    max-width: 42rem;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    background-color: #171717;
}

.newsletter-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid var(--gold);
    border-radius: 2px;
    padding: 0.85rem 1.5rem;
    background-color: rgba(242, 202, 80, 0.08);
    font-size: 0.85rem;
    color: #e5e5e5;
}

.newsletter-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.875rem;
    padding: 1rem 1.5rem;
    outline: none;
}

.btn-send {
    background-color: var(--gold);
    color: black;
    font-weight: 700;
    padding: 0 2rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

/* Footer Grid */
.footer-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 5rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .footer-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col-h4 {
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-gold-line {
    width: 2rem;
    height: 2px;
    background-color: var(--gold);
}

.footer-text-tiny {
    font-size: 0.75rem;
    color: #737373;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.open-hours-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.open-hours-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.open-hours-val {
    font-size: 10px;
    color: #737373;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a3a3a3;
}

.footer-links-list a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links-list a:hover {
    color: var(--gold);
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 10px;
    color: #a3a3a3;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.world-map-img {
    width: 100%;
    height: auto;
    /* opacity: 0.3;
    filter: grayscale(100%) invert(100%); */
}

/* Bottom Footer Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: #737373;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.2em;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom-bar {
        flex-direction: row;
    }
}

.bottom-socials {
    display: flex;
    gap: 1.5rem;
}

/* Modifier classes for cleaned-up HTML */

.logo-nav {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.section-h2--italic {
    font-size: 2.25rem;
    font-style: italic;
    max-width: 55rem;
    margin: 0 auto var(--space-2xl) auto;
    line-height: 1.4;
}

.section-h2--light {
    color: white;
}

.section-h2--center {
    text-align: center;
    letter-spacing: 0.05em;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.section-p--lg {
    max-width: 52rem;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--space-4xl);
}

.feature-item--card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--card-py-lg) var(--card-px);
    background: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item--card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.icon-circle-dark--lg {
    margin-bottom: var(--space-lg);
    width: 4.5rem;
    height: 4.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: #171717;
}

.card-text-small {
    font-size: 0.875rem;
    color: #525252;
    line-height: 1.6;
}

.engineering-description {
    color: #d4d4d4;
    margin-bottom: 2.5rem;
    max-width: 28rem;
    font-size: var(--space-md);
    line-height: 1.6;
}

.step-h4 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.step-p {
    color: #e5e5e5;
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-icons-footer {
    font-size: 24px;
    margin-top: var(--space-lg);
    display: flex;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    line-height: 1.4;
}

.contact-item + .contact-item {
    margin-top: 0.75rem;
}

.icon-gold {
    color: var(--gold);
    flex-shrink: 0;
}

.logo-footer {
    max-height: 7rem;
    width: auto;
    object-fit: contain;
}

.section-label-gold--centered {
    color: var(--gold);
}

.cta-h2--gold {
    color: var(--gold);
}

.btn-outline--gold {
    color: black;
    background: var(--gold);
    border: none;
    display: inline-block;
    padding: var(--space-md) 2.5rem;
    border-radius: 4px;
    font-size: var(--space-md);
}

.btn-outline--gold:hover {
    background: var(--gold-dark);
}

.btn-cta {
    padding: 1.1rem 2.5rem;
    font-size: 0.8rem;
    border-radius: 4px;
}

.contact-submit {
    margin-top: var(--space-sm);
}

/* Existing Animations */
@keyframes fadeScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-scale {
    animation: fadeScaleIn 1.2s ease-out forwards;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in-left {
    animation: slideInLeft 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Responsive: Mobile (< 768px) */
@media (max-width: 767px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    #navbar {
        padding: 0 1.25rem;
        justify-content: center;
    }

    #navbar .btn-quote {
        display: none;
    }

    .logo-nav {
        height: 6rem;
    }

    #peqLogo {
        margin-right: 0;
    }

    .nav-right {
        position: absolute;
        right: 1.25rem;
    }

    .nav-flags-desktop {
        display: none;
    }

    .nav-flags-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        left: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-flags-mobile .btn-flag {
        margin-left: 0;
        margin-right: 0;
    }

    .btn-flag {
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }

    .mobile-menu .btn-flag {
        font-size: 14px;
        margin-right: 0;
    }

    .flag-icon {
        width: 20px;
        height: 15px;
    }

    .mobile-menu .flag-icon {
        width: 18px;
        height: 14px;
    }

    #hero {
        padding-top: 7rem;
    }

    .hero-content {
        padding-top: 15px;
    }

    .badge-trusted {
        display: none;
    }

    .hero-h1 {
        font-size: 2.25rem;
        text-align: center;
    }

    .future-h2 {
        font-size: 2.5rem;
    }

    .cta-h2 {
        font-size: 2rem;
    }

    .contact-h2 {
        font-size: 2rem;
    }

    .section-h2 {
        font-size: 2rem;
    }

    .section-h2--italic {
        font-size: 1.5rem;
    }

    .stat-val {
        font-size: 1.75rem;
    }

    #stats {
        gap: 1.5rem;
        padding-top: 1.5rem;
    }

    #social-responsibility {
        padding: 3rem 0;
    }

    .marquee-content {
        gap: 1.5rem;
        font-size: 0.75rem;
    }

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

    .hero-btns .btn-primary,
    .hero-btns .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .hero-description {
        font-size: 0.95rem;
        text-align: center;
    }

    .btn-primary,
    .btn-outline {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
    }

    #why-choose-us {
        padding: var(--section-py) 5%;
    }

    #social-responsibility {
        padding: 3rem 5%;
    }

    #get-started-cta .cta-p,
    .contact-subtitle {
        padding-left: 5%;
        padding-right: 5%;
    }

    .features-grid-3 {
        padding: 0;
        gap: 1.5rem;
    }

    .engineering-content {
        gap: 2.5rem;
    }

    #engineering-process {
        height: auto;
        min-height: 90vh;
        padding: 4rem 0;
    }

    .responsibility-grid {
        gap: 2rem;
    }

    #future-plans {
        padding: 6rem 0;
        background-attachment: scroll;
    }

    .future-italic {
        font-size: 1rem;
    }

    #get-started-cta {
        padding: 4rem 0;
    }

    .cta-p {
        font-size: 0.95rem;
    }

    #contact-form {
        padding: 4rem 0;
    }

    .contact-h2 {
        font-size: 2rem;
    }

    .contact-subtitle {
        font-size: 0.85rem;
    }

    #main-footer {
        padding-top: 4rem;
    }

    .footer-h3 {
        font-size: 1.5rem;
    }

    .footer-newsletter {
        margin-bottom: 3rem;
    }

    .footer-grid-4 {
        padding-top: 3rem;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .social-icons-footer {
        margin-bottom: 2rem;
    }

    .divider-small {
        margin-bottom: 2rem;
    }

    .hero-title-wrapper {
        gap: 0.5rem;
    }

    .hero-logo-container {
        width: 100%;
        margin: -20px 0;
    }

    .section-p--lg {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    .section-h2--center {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .step-h4 {
        font-size: 1rem;
    }

    .step-p {
        font-size: 0.8rem;
    }

    .feature-title {
        font-size: 1.05rem;
    }

    .card-text-small {
        font-size: 0.8rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn-send {
        margin-top: 10px;
        padding: 0.85rem 1.5rem;
        justify-content: center;
        width: 100%;
    }
}
