﻿/* ========================
   Global Styles & Variables
   ======================== */

:root {
    --primary-blue: #0066CC;
    --light-blue: #3399FF;
    --accent-orange: #FFA500;
    --highlight-red: #E63946;
    --text-dark: #222222;
    --text-medium: #555555;
    --text-light: #777777;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-cream: #FFFEF9;
    --border-color: #E5E7EB;
    --success-green: #25D366;
    --gold: #FFD700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--bg-white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 52px;
    color: var(--text-dark);
}

h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

h3 {
    font-size: 30px;
    color: var(--text-dark);
}

h4 {
    font-size: 22px;
    color: var(--text-dark);
}

.section-lead {
    font-size: 22px;
    color: var(--text-medium);
    margin-bottom: 50px;
    text-align: center;
    line-height: 1.6;
}

/* Highlight Styles */
.highlight-name {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.1em;
}

.highlight-text {
    background: linear-gradient(120deg, #FFD700 0%, #FFA500 100%);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    color: var(--text-dark);
}

.highlight-achievement {
    color: var(--highlight-red);
    font-weight: 700;
    font-style: italic;
}

/* ========================
   Header & Navigation
   ======================== */

.header {
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu > ul {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu > ul > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.nav-menu > ul > li > a {
    display: block;
    font-size: 19px;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s;
    padding: 10px 22px;
    white-space: nowrap;
}

.nav-menu > ul > li > a:hover,
.nav-menu a[aria-current="page"] {
    color: var(--primary-blue);
}

.has-dropdown {
    position: relative;
}

.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.has-dropdown > a[href="javascript:void(0)"] {
    cursor: pointer;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    padding: 8px 0;
    border-radius: 6px;
    margin-top: 0;
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    font-size: 18px;
    color: var(--text-dark);
    transition: background 0.2s, color 0.2s;
}

.dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ========================
   Hero Text Section
   ======================== */

.hero-text {
    position: relative;
    padding: 100px 0;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.4) 0%, rgba(51, 153, 255, 0.3) 100%);
    z-index: 2;
}

.hero-text .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--text-dark);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.hero-badge i {
    font-size: 22px;
}

/* Manufacturer Badge - NEW */
.manufacturer-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #E63946 0%, #d32f3c 100%);
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.manufacturer-badge i {
    font-size: 26px;
    color: var(--bg-white);
}

.manufacturer-badge span {
    font-size: 20px;
    font-weight: 800;
    color: var(--bg-white);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.hero-tagline {
    font-size: 24px;
    font-weight: 700;
    color: var(--bg-white);
    margin-top: 16px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    background: rgba(0, 102, 204, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-block;
}

.hero-content h1 {
    margin-bottom: 20px;
    color: var(--bg-white);
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8);
}

/* index2 uses a precomposed 1920 x 720 banner with no page overlay. */
body.page-index2 .hero-text {
    width: 100%;
    min-height: 0;
    padding: 0;
    aspect-ratio: 8 / 3;
    background: #071b30;
    overflow: hidden;
    box-shadow:
        0 0 30px rgba(51, 153, 255, 0.48),
        0 14px 32px rgba(0, 42, 84, 0.24);
}

body.page-index2 .hero-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-subtitle {
    font-size: 26px;
    color: var(--bg-white);
    margin-bottom: 40px;
    line-height: 1.5;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-subtitle .highlight-name {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 18px;
    color: var(--text-medium);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--highlight-red);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: #d32f3c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(227, 57, 70, 0.4);
}

.btn-outline-white {
    background: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-outline-white:hover {
    background: var(--bg-white);
    color: var(--primary-blue);
}

/* ========================
   Company Introduction
   ======================== */

.company-intro {
    padding: 100px 0;
    background: var(--bg-white);
}

.intro-header {
    text-align: center;
    margin-bottom: 60px;
}

body.page-index2 .intro-kicker {
    margin-bottom: 10px;
    color: var(--primary-blue);
    font-size: 22px;
    font-weight: 700;
}

body.page-index2 .intro-header h1 {
    margin: 0 auto 14px;
    color: var(--text-dark);
}

body.page-index2 .intro-positioning {
    margin-bottom: 24px;
    color: var(--primary-blue);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.45;
}

body.page-index2 .intro-subheading {
    margin: 0 auto 20px;
    font-size: 30px;
}

.intro-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.intro-text h3 {
    margin-bottom: 24px;
    color: var(--primary-blue);
}

.intro-text p {
    font-size: 19px;
    line-height: 1.9;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.intro-text strong {
    font-weight: 700;
}

/* Intro Sidebar - NEW */
.intro-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Manufacturing Stats - NEW */
.manufacturing-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.mfg-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.mfg-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.25);
}

.mfg-stat i {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.mfg-stat .stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: block;
}

.mfg-stat .stat-label {
    font-size: 18px;
    color: var(--text-medium);
    font-weight: 600;
    display: block;
    line-height: 1.3;
}

.intro-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight-box {
    padding: 28px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
    border-left: 4px solid var(--primary-blue);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.highlight-box i {
    font-size: 36px;
    color: var(--accent-orange);
    margin-bottom: 16px;
}

.highlight-box h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.highlight-box p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-medium);
}

/* Factory Showcase */
.factory-showcase {
    margin-top: 60px;
    text-align: center;
}

.factory-showcase .factory-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-blue);
    color: var(--bg-white);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
}

.factory-showcase .factory-badge i {
    font-size: 22px;
}

.factory-showcase img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin: 0 auto 30px;
}

.factory-caption {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.factory-caption p {
    font-size: 19px;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.factory-caption p:last-child {
    margin-bottom: 0;
}

.factory-highlight {
    margin-top: 30px;
    padding: 28px 36px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-left: 5px solid var(--accent-orange);
    border-radius: 8px;
    text-align: left;
}

.factory-caption strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* ========================
   Technology Section
   ======================== */

.technology-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #daeeff 50%, #b8dcff 100%);
}

.technology-section h2 {
    text-align: center;
}

.timeline {
    max-width: 1000px;
    margin: 60px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-blue);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-year {
    flex-shrink: 0;
    width: 100px;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: right;
}

.timeline-year::after {
    content: '';
    position: absolute;
    left: 115px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--accent-orange);
    border-radius: 50%;
    border: 4px solid var(--bg-white);
    box-shadow: 0 0 0 4px var(--primary-blue);
}

.timeline-content {
    flex: 1;
    background: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 26px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.timeline-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ========================
   Flagship Detailed
   ======================== */

.flagship-detailed {
    padding: 100px 0;
    background: var(--bg-white);
}

.flagship-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-orange);
    color: var(--bg-white);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
}

.flagship-detailed h2 {
    text-align: center;
    margin-bottom: 16px;
}

.project-subtitle {
    text-align: center;
    font-size: 22px;
    color: var(--text-medium);
    margin-bottom: 60px;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.detail-block {
    background: var(--bg-light);
    padding: 36px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.detail-block h3 {
    font-size: 26px;
    margin-bottom: 24px;
    color: var(--primary-blue);
}

.detail-list {
    list-style: none;
    padding: 0;
}

.detail-list li {
    padding: 12px 0;
    font-size: 18px;
    line-height: 1.7;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.detail-list li:last-child {
    border-bottom: none;
}

.detail-list strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.project-quote {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
    border-left: 6px solid var(--primary-blue);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.project-quote i {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.project-quote p {
    font-size: 22px;
    line-height: 1.7;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.quote-source {
    display: block;
    font-size: 18px;
    color: var(--text-medium);
    font-weight: 600;
    text-align: right;
}

/* ========================
   Global Presence
   ======================== */

.global-presence {
    padding: 100px 0;
    background: linear-gradient(135deg, #eaf0f8 0%, #d0e0f0 50%, #b4ccec 100%);
}

.global-presence h2 {
    text-align: center;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.region-card {
    background: var(--bg-white);
    padding: 36px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.region-card h3 {
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 12px;
}

.region-card h3 i {
    color: var(--accent-orange);
}

.region-content h4 {
    font-size: 20px;
    margin: 24px 0 12px;
    color: var(--text-dark);
}

.region-content ul {
    list-style: none;
    padding: 0;
}

.region-content ul li {
    padding: 10px 0 10px 28px;
    font-size: 18px;
    color: var(--text-dark);
    position: relative;
}

.region-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 18px;
}

/* ========================
   Why Choose Us
   ======================== */

.why-choose {
    padding: 100px 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
}

.why-choose h2 {
    text-align: center;
    margin-bottom: 60px;
}

.reasons-list {
    max-width: 1100px;
    margin: 0 auto;
}

.reason-item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    background: var(--bg-white);
    padding: 36px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
}

.reason-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    color: var(--bg-white);
    font-size: 36px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.reason-content h3 {
    font-size: 26px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.reason-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ========================
   Frequently Asked Questions
   ======================== */

.faq-section {
    padding: 100px 0;
    background: #F4F7FA;
    border-top: 1px solid #DCE5EE;
    border-bottom: 1px solid #DCE5EE;
}

.faq-section h2 {
    max-width: 980px;
    margin: 0 auto 18px;
    text-align: center;
    color: #1F2937;
}

.faq-section .section-lead {
    max-width: 780px;
    margin: 0 auto 52px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.faq-item {
    --faq-accent: var(--primary-blue);
    background: var(--bg-white);
    border: 1px solid #DCE5EE;
    border-top: 4px solid var(--faq-accent);
    border-radius: 8px;
    padding: 28px 30px 30px;
    box-shadow: 0 6px 18px rgba(31, 41, 55, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:nth-child(2) {
    --faq-accent: #E38B00;
}

.faq-item:nth-child(3) {
    --faq-accent: #16866A;
}

.faq-item:nth-child(4) {
    --faq-accent: #C94A57;
}

.faq-item:nth-child(5) {
    --faq-accent: #147D92;
}

.faq-item:nth-child(6) {
    --faq-accent: #A66A16;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(31, 41, 55, 0.12);
}

.faq-item h3 {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 16px;
    font-size: 23px;
    line-height: 1.4;
    color: #1F2937;
}

.faq-item h3 i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #EAF4FF;
    color: var(--faq-accent);
    font-size: 21px;
}

.faq-item:nth-child(2) h3 i,
.faq-item:nth-child(6) h3 i {
    background: #FFF4DE;
}

.faq-item:nth-child(3) h3 i {
    background: #E7F6F0;
}

.faq-item:nth-child(4) h3 i {
    background: #FCECEF;
}

.faq-item:nth-child(5) h3 i {
    background: #E5F5F8;
}

.faq-item p {
    margin: 0 0 0 56px;
    color: #4B5563;
    font-size: 18px;
    line-height: 1.75;
}

.faq-item strong {
    color: #26384A;
    font-weight: 700;
}

.faq-cta {
    max-width: 1180px;
    margin: 32px auto 0;
    padding: 22px 28px;
    background: #26384A;
    border-left: 5px solid var(--accent-orange);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(31, 41, 55, 0.14);
}

.faq-cta p {
    margin: 0;
    color: #F8FAFC;
    font-size: 18px;
    line-height: 1.7;
}

.faq-cta strong {
    color: var(--bg-white);
}

.faq-cta a {
    color: #FFD166;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.faq-cta a:hover {
    color: var(--bg-white);
}

/* ========================
   CTA Section
   ======================== */

.cta-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.cta-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 20px;
}

.cta-content > p {
    font-size: 22px;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-note {
    max-width: 900px;
    margin: 0 auto;
    padding: 28px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-blue);
    border-radius: 8px;
    text-align: left;
}

.cta-note p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
}

.cta-note i {
    color: var(--primary-blue);
    margin-right: 8px;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    border: 0;
    background: var(--primary-blue);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.back-to-top:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ========================
   Footer
   ======================== */

.footer {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    color: var(--text-dark);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-weight: 700;
}

.footer-col p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 180px;
    filter: none;
    margin-bottom: 20px;
}

/* Footer Manufacturer Badge - NEW */
.footer-manufacturer-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    border-radius: 8px;
    margin-top: 16px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.footer-manufacturer-badge i {
    font-size: 18px;
    color: var(--bg-white);
}

.footer-manufacturer-badge span {
    font-size: 18px;
    font-weight: 700;
    color: var(--bg-white);
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-dark);
    font-size: 18px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-dark);
    font-size: 18px;
}

.contact-info i {
    color: var(--primary-blue);
    margin-top: 4px;
}

.contact-info .contact-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-size: 18px;
    overflow-wrap: anywhere;
}

.contact-info .contact-link i {
    margin-top: 0;
}

.contact-info .contact-link:hover {
    color: var(--primary-blue);
}

.contact-info .contact-link:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.contact-info .contact-link--whatsapp i {
    color: #128C7E;
}

.contact-info .contact-link--youtube i {
    color: #FF0033;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 102, 204, 0.2);
}

.footer-bottom p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 8px;
}

/* ========================
   Responsive Design
   ======================== */

@media (max-width: 1024px) {
    h1 {
        font-size: 44px;
    }
    
    h2 {
        font-size: 36px;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .timeline::before {
        left: 80px;
    }
    
    .timeline-year {
        width: 70px;
    }
    
    .timeline-year::after {
        left: 75px;
    }
}

@media (min-width: 961px) and (max-width: 1100px) and (orientation: landscape) {
    .header .container {
        padding: 0 24px;
    }

    .nav-menu > ul {
        gap: 4px;
    }

    .nav-menu > ul > li > a {
        padding: 10px 12px;
    }
}

@media (max-width: 960px), (max-width: 1024px) and (orientation: portrait) {
    .container {
        padding: 0 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 94px;
        left: -100%;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 94px);
        max-height: calc(100dvh - 94px);
        background: var(--bg-white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu > ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
    }
    
    .nav-menu > ul > li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu > ul > li > a {
        display: block;
        padding: 18px 24px;
        font-size: 18px;
    }
    
    .dropdown {
        position: static;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0;
        padding: 0;
        border-radius: 0;
        min-width: auto;
    }
    
    .dropdown a {
        padding: 14px 24px 14px 44px;
        font-size: 18px;
    }
    
    .has-dropdown:hover .dropdown {
        display: none;
    }
    
    .has-dropdown.active .dropdown {
        display: block;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .regions-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .hero-text {
        padding: 60px 0;
        min-height: 550px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-box {
        min-width: 140px;
        padding: 20px 24px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .company-intro,
    .technology-section,
    .flagship-detailed,
    .global-presence,
    .why-choose,
    .cta-section {
        padding: 70px 0;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-sidebar {
        gap: 24px;
    }
    
    .manufacturing-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .mfg-stat {
        padding: 20px 12px;
    }
    
    .mfg-stat i {
        font-size: 28px;
    }
    
    .mfg-stat .stat-value {
        font-size: 22px;
    }
    
    .mfg-stat .stat-label {
        font-size: 18px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline-year {
        width: 100%;
        text-align: left;
        padding-left: 50px;
    }
    
    .timeline-year::after {
        left: 15px;
    }
    
    .reason-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .reason-number {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 18px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    .section-lead {
        font-size: 18px;
    }
    
    .hero-text {
        min-height: 500px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-tagline {
        font-size: 18px;
        padding: 10px 18px;
    }
    
    .manufacturer-badge {
        padding: 12px 20px;
    }
    
    .manufacturer-badge span {
        font-size: 18px;
        letter-spacing: 0.5px;
    }
    
    .manufacturer-badge i {
        font-size: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .manufacturing-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .mfg-stat {
        padding: 18px 12px;
    }
    
    .mfg-stat i {
        font-size: 26px;
    }
    
    .mfg-stat .stat-value {
        font-size: 20px;
    }
    
    .factory-caption {
        padding: 0;
    }
    
    .factory-caption p {
        font-size: 18px;
    }
    
    .factory-highlight {
        margin-top: 20px;
        padding: 20px 24px;
        text-align: left;
    }
    
    .factory-showcase .factory-badge {
        margin-bottom: 20px;
        padding: 10px 20px;
        font-size: 18px;
    }
    
    .intro-text p {
        font-size: 18px;
    }
    
    .project-quote p {
        font-size: 19px;
    }
    
    .reason-content p {
        font-size: 18px;
    }
}

@media (max-width: 960px) {
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.page-index2 .intro-positioning {
        font-size: 22px;
    }

    body.page-index2 .intro-subheading {
        font-size: 26px;
    }
}

@media (max-width: 640px) {
    body.page-index2 .hero-text {
        box-shadow:
            0 0 18px rgba(51, 153, 255, 0.42),
            0 8px 20px rgba(0, 42, 84, 0.2);
    }

    body.page-index2 .intro-kicker {
        font-size: 18px;
    }

    body.page-index2 .intro-header h1 {
        font-size: 30px;
    }

    body.page-index2 .intro-positioning {
        font-size: 20px;
    }

    body.page-index2 .intro-subheading {
        font-size: 23px;
    }

    .faq-section {
        padding: 64px 0;
    }

    .faq-section .section-lead {
        margin-bottom: 32px;
    }

    .faq-grid {
        gap: 16px;
    }

    .faq-item {
        padding: 22px 20px 24px;
    }

    .faq-item h3 {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
        font-size: 20px;
    }

    .faq-item h3 i {
        width: 38px;
        height: 38px;
        font-size: 19px;
    }

    .faq-item p {
        margin-left: 0;
        font-size: 17px;
    }

    .faq-cta {
        margin-top: 24px;
        padding: 20px;
    }

    .faq-cta p {
        font-size: 17px;
    }

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

    .back-to-top {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom));
        width: 48px;
        height: 48px;
        font-size: 19px;
    }

    .footer-bottom {
        padding-left: 56px;
        padding-right: 56px;
    }
}
