/* -------------------------------------------------------------
   GALLARDO PAREJA - DESIGN SYSTEM & STYLESHEET
   Luxury corporate style: Deep blacks, champagne gold, glassmorphism
   ------------------------------------------------------------- */

/* Reset & Variables */
:root {
    --bg-primary: #070708;
    --bg-secondary: #0f0f11;
    --bg-tertiary: #17171b;
    --accent-gold: #c5a880;
    --accent-gold-rgb: 197, 168, 128;
    --accent-gold-dark: #9e825a;
    --accent-gold-light: #e4d3bd;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a8;
    --text-muted: #575761;
    --border-gold: rgba(197, 168, 128, 0.2);
    --border-gold-focus: rgba(197, 168, 128, 0.6);
    
    --font-display: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.25s ease;
    
    --glass-bg: rgba(15, 15, 17, 0.75);
    --glass-border: rgba(197, 168, 128, 0.15);
    --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

body {
    overflow-x: hidden;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

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

.text-gold {
    color: var(--accent-gold);
    background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Brand Name Inline Styling */
.brand-gallardo {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 700;
}

.brand-pareja {
    color: var(--accent-gold) !important;
    background: linear-gradient(135deg, #f5e5d3, var(--accent-gold), #8c7049);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 700;
}

/* Scroll Reveal Base */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 0;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: #000000;
    border: none;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s ease;
    z-index: -1;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197, 168, 128, 0.3);
}

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

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.btn-outline:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline:hover {
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197, 168, 128, 0.15);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.75rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* -------------------------------------------------------------
   HEADER & NAVIGATION
   ------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: transparent;
    transition: var(--transition-smooth);
}

.main-header.header-scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    box-shadow: var(--glass-shadow);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.main-header.header-scrolled .header-container {
    padding: 10px 40px;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.25em;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.logo-accent {
    color: var(--accent-gold);
    margin-right: 1px;
}

.logo-svg {
    height: 60px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.main-header.header-scrolled .logo-svg {
    height: 48px;
}

.nav-menu {
    margin-left: auto;
    margin-right: 50px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 10px 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 20px;
    justify-content: space-between;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* Open states */
.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--accent-gold);
}

/* -------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------- */
.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: slowZoom 30s infinite alternate ease-in-out;
}

@keyframes slowZoom {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.10); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(7, 7, 8, 0.4) 0%, rgba(7, 7, 8, 0.95) 90%);
}

.hero-content {
    max-width: 900px;
    text-align: center;
    margin-top: 60px;
}

.hero-motto-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin-bottom: 25px;
    display: inline-block;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--accent-gold);
    display: inline-block;
    margin-bottom: 35px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.05em;
    margin-bottom: 35px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.75;
    color: rgba(240, 240, 245, 0.95);
    letter-spacing: 0.02em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    max-width: 720px;
    margin: 0 auto 55px auto;
}

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

/* -------------------------------------------------------------
   SECTION GENERAL HEADERS
   ------------------------------------------------------------- */
.section-header {
    max-width: 800px;
    margin: 0 auto 70px auto;
}

.section-tagline {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--accent-gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

/* Brand Emblem Mark Badges & Watermarks */
.brand-emblem-badge {
    display: inline-block;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.brand-emblem-badge:hover {
    transform: scale(1.1) rotate(2deg);
}

.brand-emblem-svg {
    filter: drop-shadow(0 0 12px rgba(197, 168, 128, 0.4));
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.section-separator {
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
    margin: 0 auto 25px auto;
}

.section-separator.left {
    margin-left: 0;
    margin-right: auto;
}

.section-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* -------------------------------------------------------------
   OBRA CIVIL SECTION (Infraestructuras)
   ------------------------------------------------------------- */
.engineering-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.engineering-card {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 50px 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.engineering-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.engineering-card:hover::before {
    transform: scaleX(1);
}

.engineering-card:hover {
    transform: translateY(-10px);
    background-color: var(--bg-tertiary);
    border-color: var(--border-gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 30px;
    color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.svg-gold {
    width: 100%;
    height: 100%;
    stroke: var(--accent-gold);
}

.engineering-card:hover .card-icon {
    transform: translateY(-5px) scale(1.05);
    color: var(--accent-gold-light);
}

.engineering-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.engineering-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.card-list {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.card-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}

.card-list li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

/* -------------------------------------------------------------
   DIVISIONES TECNOLOGICAS (Interactive Switcher)
   ------------------------------------------------------------- */
.tech-tabs-container {
    max-width: 1100px;
    margin: 0 auto;
}

.tech-tabs-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 50px;
}

.tech-tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-smooth);
    text-align: left;
    position: relative;
}

.tech-tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(197, 168, 128, 0.3);
}

.tech-tab-btn.active {
    background: var(--bg-tertiary);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.tech-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
}

.tab-number {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 8px;
    opacity: 0.7;
}

.tech-tab-btn.active .tab-number {
    opacity: 1;
}

.tab-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.tech-tab-btn.active .tab-title {
    color: var(--text-primary);
}

.tech-tab-content-wrapper {
    position: relative;
    min-height: 480px;
}

.tech-tab-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1;
}

.tech-tab-content.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    z-index: 2;
}

.tech-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 50px;
    box-shadow: var(--glass-shadow);
}

.tech-text-col .tech-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
    color: var(--accent-gold);
}

.tech-text-col h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.tech-text-col p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.tech-features {
    list-style: none;
}

.tech-features li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 18px;
    position: relative;
    padding-left: 28px;
}

.tech-features li strong {
    color: var(--text-primary);
}

.tech-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 12px;
    border: 1px solid var(--accent-gold);
    transform: rotate(45deg);
}

.tech-features li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 10px;
    width: 2px;
    height: 2px;
    background-color: var(--accent-gold);
}

.tech-image-col {
    position: relative;
}

.tech-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 Aspect Ratio */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
}

.tech-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 7, 8, 0.8) 0%, transparent 100%);
}

.tech-tab-content.active .tech-image {
    transform: scale(1.08);
}

/* -------------------------------------------------------------
   PROYECTOS GALLERY (Filtering Grid)
   ------------------------------------------------------------- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--accent-gold);
    color: var(--text-primary);
}

.filter-btn.active {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000000;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-item {
    display: none;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-item.show {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.gallery-item-inner {
    position: relative;
    padding-top: 62.5%; /* 16:10 Aspect Ratio */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 7, 8, 0.95) 0%, rgba(7, 7, 8, 0.6) 50%, rgba(7, 7, 8, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.gallery-item-inner:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item-inner:hover .gallery-info {
    opacity: 1;
    transform: translateY(0);
}

.project-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    margin-bottom: 10px;
    display: inline-block;
}

.gallery-info h4 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.project-details {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 450px;
}

.project-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    transition: var(--transition-fast);
}

.project-link:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.project-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    z-index: 10;
}

.project-thumb-btn {
    width: 40px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-fast);
    padding: 0;
    background: transparent;
}

.project-thumb-btn:hover,
.project-thumb-btn.active {
    opacity: 1;
    border-color: var(--accent-gold);
    box-shadow: 0 0 8px rgba(197, 168, 128, 0.5);
    transform: scale(1.08);
}

.project-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* -------------------------------------------------------------
   TRAYECTORIA & STATS SECTION
   ------------------------------------------------------------- */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats-info-col {
    padding-right: 40px;
}

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

.stats-paragraph {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-top: 25px;
}

.stats-numbers-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-box {
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
}

.stat-box:hover {
    border-bottom-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow);
}

.stat-number-val {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-left: 2px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-top: 15px;
    line-height: 1.4;
}

/* -------------------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 65px;
    align-items: flex-start;
}

.contact-card {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(197, 168, 128, 0.08);
    padding: 50px;
    box-shadow: var(--glass-shadow);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.premium-form .form-group {
    position: relative;
    margin-bottom: 35px;
}

.premium-form input,
.premium-form textarea,
.premium-form select {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
}

/* Fix option styling inside select for dark mode */
.premium-form select option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.premium-form input:focus,
.premium-form textarea:focus,
.premium-form select:focus {
    border-bottom-color: var(--accent-gold);
}

.premium-form label {
    position: absolute;
    top: 12px;
    left: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

/* Label movement on focus and content */
.premium-form input:focus + label,
.premium-form input:not(:placeholder-shown) + label,
.premium-form textarea:focus + label,
.premium-form textarea:not(:placeholder-shown) + label {
    top: -12px;
    font-size: 0.75rem;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
}

/* Special treatment for select label */
.premium-form select:focus + .select-label,
.premium-form select:valid + .select-label {
    top: -12px;
    font-size: 0.75rem;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
}

/* Loader effect for button submit */
.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: #000000;
    border-radius: 50%;
    position: absolute;
    opacity: 0;
    animation: rotateLoader 0.8s infinite linear;
}

@keyframes rotateLoader {
    to { transform: rotate(360deg); }
}

.btn.submitting .btn-text {
    opacity: 0;
}

.btn.submitting .btn-loader {
    opacity: 1;
}

.form-status-message {
    margin-top: 20px;
    font-size: 0.85rem;
    padding: 10px;
    display: none;
}

.form-status-message.success {
    display: block;
    color: var(--accent-gold);
    border-left: 2px solid var(--accent-gold);
}

.form-status-message.error {
    display: block;
    color: #e33e3e;
    border-left: 2px solid #e33e3e;
}

/* Office details */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-block h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 15px;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.info-block p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.info-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
    border-bottom: 1px solid transparent;
}

.info-link:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

/* -------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------- */
.main-footer {
    background-color: #030304;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.2fr 1.2fr;
    gap: 30px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 25px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 280px;
}

.footer-links h4,
.footer-newsletter h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-newsletter p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 8px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    flex: 1;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: var(--accent-gold);
    cursor: pointer;
    padding: 0 5px;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    transform: translateX(3px);
}

.svg-arrow {
    width: 20px;
    height: 20px;
}

.newsletter-status {
    font-size: 0.75rem;
    margin-top: 10px;
    display: none;
}

.newsletter-status.success {
    display: block;
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.04em;
}

.footer-legal-links {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 0 4px;
}

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

/* -------------------------------------------------------------
   RESPONSIVE DESIGN (Adaptive breakpoints)
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .engineering-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tech-tab-content-wrapper {
        min-height: auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-info-col {
        padding-right: 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .header-container {
        padding: 20px 24px;
    }
    
    .main-header.header-scrolled .header-container {
        padding: 10px 24px;
    }
    
    .nav-menu,
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .engineering-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-tabs-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .tech-tab-btn {
        padding: 15px;
    }
    
    .tech-content-grid {
        padding: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-info {
        padding: 24px;
    }
    
    .stats-numbers-col {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* -------------------------------------------------------------
   NEW COMPONENT STYLES FOR EXPANDED PAGES
   ------------------------------------------------------------- */

/* Metrics Ticker Banner */
.metrics-ticker-banner {
    background: linear-gradient(90deg, #0f0f11, #17171b, #0f0f11);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    padding: 30px 0;
    margin-top: -30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.metrics-ticker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.metric-item {
    padding: 10px;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 5px;
}

.metric-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

/* Process & Methodology Timeline */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.process-card {
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 40px 30px;
    position: relative;
    transition: var(--transition-smooth);
}

.process-card:hover {
    border-color: var(--border-gold-focus);
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow);
}

.process-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-gold);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 25px;
}

.process-card h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.process-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.cert-card {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(197, 168, 128, 0.12);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-fast);
}

.cert-card:hover {
    border-color: var(--accent-gold);
    background-color: var(--bg-tertiary);
}

.cert-badge-code {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 8px;
}

.cert-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

/* Team Executive Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.team-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-6px);
}

.team-avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(197, 168, 128, 0.08);
    color: var(--accent-gold);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.team-role {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 15px;
    display: block;
}

.team-bio {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Specs Table Component */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    font-size: 0.9rem;
}

.spec-table th,
.spec-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-table th {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    background-color: rgba(255, 255, 255, 0.02);
}

.spec-table td {
    color: var(--text-secondary);
}

.spec-table tr:hover td {
    color: var(--text-primary);
    background-color: rgba(197, 168, 128, 0.03);
}

/* FAQ Accordion */
.faq-container {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.faq-item {
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-question {
    padding: 22px 30px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px 30px;
    max-height: 250px;
}

/* Responsive adjust for new components */
@media (max-width: 1024px) {
    .metrics-ticker-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .metrics-ticker-grid {
        grid-template-columns: 1fr;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------
   HERO MOTTO BANNER & SECTION IMAGE SHOWCASES
   ------------------------------------------------------------- */
.hero-motto-tag {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(197, 168, 128, 0.12);
    border: 1px solid var(--border-gold-focus);
    backdrop-filter: blur(10px);
    color: var(--accent-gold-light);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.top-motto-bar {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 90%;
    max-width: 1000px;
    text-align: center;
    background: rgba(15, 15, 17, 0.65);
    border: 1px solid rgba(197, 168, 128, 0.25);
    backdrop-filter: blur(12px);
    padding: 10px 20px;
    border-radius: 4px;
}

.top-motto-text {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--accent-gold);
    text-transform: uppercase;
}

/* Section Feature Image Banner */
.section-feature-image-wrapper {
    position: relative;
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    margin: 40px 0;
    border: 1px solid var(--border-gold);
    box-shadow: var(--glass-shadow);
}

.section-feature-image {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 8s ease;
}

.section-feature-image-wrapper:hover .section-feature-image {
    transform: scale(1.05);
}

.section-feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 7, 8, 0.9) 0%, rgba(7, 7, 8, 0.3) 50%, rgba(7, 7, 8, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.feature-caption-box {
    background: rgba(15, 15, 17, 0.85);
    border-left: 3px solid var(--accent-gold);
    padding: 20px 30px;
    backdrop-filter: blur(10px);
    max-width: 600px;
}

.feature-caption-box h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.feature-caption-box p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Visual Split Container */
.vision-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.vision-split-img-wrapper {
    position: relative;
    height: 100%;
    min-height: 420px;
    border: 1px solid var(--border-gold);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.vision-split-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}

.vision-split-img-wrapper:hover .vision-split-img {
    transform: scale(1.06);
}

@media (max-width: 900px) {
    .vision-split-container {
        grid-template-columns: 1fr;
    }
    .top-motto-bar {
        top: 80px;
        width: 95%;
    }
    .top-motto-text {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
    }
}

/* -------------------------------------------------------------
   SCROLL TO TOP FLOATING BUTTON
   ------------------------------------------------------------- */
.scroll-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(12, 12, 14, 0.85);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--accent-gold);
    color: #050506;
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.6);
    transform: translateY(-3px);
}

.svg-chevron {
    width: 22px;
    height: 22px;
}
