/* Modern Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Paleta de Colores MRS Coating */
    --primary-blue: #0C2340;
    --secondary-green: #AECB3F;
    --accent-red: #E4002C;

    /* Colores de Texto */
    --text-dark: #1c2841;
    --text-mid: #4a5568;
    --text-light: #f7fafc;
    --white: #ffffff;

    /* Fondos */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #0C2340;

    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Tipografía */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;

    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-blue);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Clases de Utilidad Rápida */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition-normal);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0a1c33;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-red);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #c40026;
    transform: translateY(-2px);
}

.btn-blue {
    background-color: #3694ed;
    color: var(--white);
}

.btn-blue:hover {
    background-color: #2a7acc;
    transform: translateY(-2px);
}

.btn-green {
    background-color: var(--secondary-green);
    color: var(--white);
}

.btn-green:hover {
    background-color: #9cb538;
    transform: translateY(-2px);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* Navbar Placeholder */
.navbar {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    /* Sombra más pronunciada para destacar */
}

.navbar .container {
    display: grid;
    grid-template-columns: auto 1fr 280px;
    gap: 2rem;
    /* Logo - Centro - Acciones */
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    /* Altura ideal para la barra de 80px */
    width: auto;
    object-fit: contain;
}

.logo-text {
    margin-left: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.nav-links.main-menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links.main-menu li {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--secondary-green);
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
    font-family: var(--font-primary);
    font-size: 0.9rem;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--secondary-green);
}

/* Hero Placeholder */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(12, 35, 64, 0.8), rgba(12, 35, 64, 0.8)), url('../assets/img/cabinet-refinishing-central-florida.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    max-width: 800px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-green);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.service-card p {
    color: var(--text-mid);
    font-size: 0.95rem;
}

/* Footer Styles */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: var(--spacing-xl) 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
}

.footer-logo {
    margin-bottom: var(--spacing-sm);
    display: flex;
    /* Cambiado a flex para alinear imagen y texto */
    align-items: center;
}

.footer-logo-img {
    height: 50px;
    /* Un poco más pequeño que en el navbar */
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
    max-width: 320px;
}

.footer-title {
    color: var(--secondary-green);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

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

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--secondary-green);
    margin-top: 5px;
}

.footer-contact a {
    color: inherit;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--secondary-green);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--secondary-green);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.social-links a i {
    color: currentColor;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffeb3b;
    /* Amarillo brillante */
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    padding: 0.8rem 0;
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    font-size: 0.9rem;
    color: #333333;
    /* Texto oscuro para contraste sobre amarillo */
    margin-bottom: 0;
    line-height: 1.4;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

/* Botón Aceptar - Verde */
.cookie-banner #accept-cookies {
    background-color: #28a745;
    color: #ffffff;
    border: none;
    font-weight: 700;
}

.cookie-banner #accept-cookies:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

/* Botón Rechazar - Outline Rojo */
.cookie-banner #decline-cookies {
    background-color: transparent;
    border: 2px solid #dc3545;
    color: #dc3545;
    font-weight: 700;
}

.cookie-banner #decline-cookies:hover {
    background-color: #dc3545;
    color: #ffffff;
}

.btn-sm {
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

.footer-bottom {
    background-color: var(--secondary-green);
    padding: 1.5rem 0;
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 500;
}

.legal-links a {
    color: var(--primary-blue);
    font-weight: 600;
}

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

.copyright {
    color: var(--primary-blue);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .bottom-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
        gap: 1.5rem;
    }
}

/* About Us Styles */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    padding: 1rem 0 4rem 0;
    /* Mucho menos espacio arriba */
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--secondary-green);
    color: var(--primary-blue);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.about-subtitle {
    font-size: 1.5rem;
    color: var(--accent-red);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-mid);
    margin-bottom: 2rem;
    text-align: justify;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.feature-item i {
    color: var(--secondary-green);
    font-size: 1.2rem;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        padding: var(--spacing-lg) 0;
    }

    .about-image-wrapper {
        order: 2;
    }

    .experience-badge {
        right: 0;
        bottom: 0;
    }
}

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(12, 35, 64, 0.9), rgba(12, 35, 64, 0.9)), url('../assets/img/cabinet-refinishing-central-florida.webp');
    background-size: cover;
    background-position: center;
    padding: 3rem 0 2rem 0;
    /* Reducido para que sea más estilizado */
    color: var(--white);
    text-align: center;
}

.page-banner h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--secondary-green);
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb i {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Legal Pages */
.container-narrow {
    max-width: 800px;
}

.legal-content {
    padding: 1rem 0 4rem 0;
    /* Coherencia con About Us */
}

.legal-content h2 {
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.legal-content p {
    margin-bottom: 1.2rem;
    color: var(--text-mid);
    text-align: justify;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-mid);
}

.last-updated {
    font-weight: 600;
    color: var(--accent-red) !important;
    margin-bottom: 2rem;
}

.legal-box {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

/* MultiSpec Gallery */
.multispec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.color-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.color-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.color-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

.color-info {
    padding: 1rem;
    text-align: center;
}

.color-name {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.color-code {
    font-size: 0.8rem;
    color: var(--text-mid);
}

.color-gallery-header {
    max-width: 700px;
    margin: 0 auto;
}

/* Lightbox Vertical Centering Fix */
.lightbox {
    top: 50% !important;
    transform: translateY(-50%);
    margin-top: 0 !important;
}

#lightboxOverlay {
    height: 100% !important;
}

/* MultiSpec Visualizer */
.visualizer-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.visualizer-main {
    position: relative;
    line-height: 0;
}

.visualizer-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    mix-blend-mode: multiply;
    /* Magia: aplica la textura de abajo a las áreas claras */
}

.texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: 120px 120px;
    /* Tamaño del patrón de MultiSpec */
    background-repeat: repeat;
    transition: background-image 0.3s ease;
}

.active-color-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    z-index: 3;
    box-shadow: var(--shadow-md);
    font-family: 'Outfit', sans-serif;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.active-color-badge span {
    color: var(--text-mid);
    font-size: 0.9rem;
}

.active-color-badge strong {
    color: var(--primary-blue);
}

.color-card {
    cursor: pointer;
}

/* Color Actions Styles */
.color-actions {
    margin-top: 0.5rem;
}

.view-btn {
    color: var(--text-mid);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.view-btn:hover {
    color: var(--primary-blue);
    transform: scale(1.2);
}

.color-preview-link {
    overflow: hidden;
}

/* Visualizer Page Layout */
.visualizer-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.visualizer-selector {
    height: 700px;
    overflow-y: auto;
    padding-right: 1rem;
}

.visualizer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.viz-color-item {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: var(--transition-normal);
}

.viz-color-item:hover,
.viz-color-item.active {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.viz-color-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.viz-color-name {
    font-size: 0.8rem;
    padding: 0.5rem;
    text-align: center;
    background: var(--bg-light);
    font-weight: 600;
}

.visualizer-display {
    position: sticky;
    top: 2rem;
}

.visualizer-svg {
    width: 100%;
    height: auto;
    border-radius: 15px;
    background: var(--bg-light);
}

@media (max-width: 992px) {
    .visualizer-layout {
        grid-template-columns: 1fr;
    }

    .visualizer-selector {
        height: 300px;
        order: 2;
    }

    .visualizer-display {
        position: relative;
        top: 0;
        order: 1;
    }
}

/* Portfolio Styles */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.8rem;
    border: 2px solid var(--secondary-green);
    background: transparent;
    color: var(--secondary-green);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--secondary-green);
    color: #ffffff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    min-height: 400px;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 54, 73, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.view-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-item:hover .view-icon {
    transform: scale(1);
}

.portfolio-item-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 0;
    color: var(--text-mid);
    font-style: italic;
    font-size: 1.2rem;
}

@media (max-width: 576px) {
    .filter-btn {
        width: 100%;
    }
}

/* =========================================
   Contact Page Styles
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
        align-items: flex-start;
        gap: 4rem;
    }
}

/* Contact Info Side */
.contact-info-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid #edf2f7;
}

.contact-info-wrapper .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.badge-pill {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: rgba(174, 203, 63, 0.15);
    color: var(--secondary-green);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.info-card:last-child {
    border-bottom: none;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: var(--primary-blue);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.info-card:hover .icon-box {
    background: var(--primary-blue);
    color: var(--white);
}

.info-content h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    font-weight: 700;
}

.info-link,
.info-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.info-sub {
    font-size: 0.85rem;
    color: var(--text-mid);
    margin-top: 0.2rem;
}

/* Contact Form Side */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Custom soft shadow */
    border: 1px solid #edf2f7;
}

.form-title {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 1rem;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-green);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.input-wrapper,
.select-wrapper {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    /* Left padding for icon */
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.select-wrapper select {
    appearance: none;
    cursor: pointer;
    /* icon padding handled via inline style or separate class if needed, checking existing HTML */
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.textarea-icon {
    top: 1.5rem;
    transform: none;
}

.select-arrow {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    pointer-events: none;
}

/* Form Focus States */
.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(12, 35, 64, 0.1);
}

.input-wrapper:focus-within .input-icon {
    color: var(--primary-blue);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.btn-block {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(12, 35, 64, 0.2);
}

.btn-block:hover {
    box-shadow: 0 6px 16px rgba(12, 35, 64, 0.3);
}

.ml-2 {
    margin-left: 0.5rem;
}

/* Testimonials Section */
#testimonios {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.testimonials-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-wrapper {
    overflow: hidden;
    padding: 0 60px;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    scroll-behavior: smooth;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 5px solid var(--secondary-green);
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-mid);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.testimonial-role {
    font-size: 0.9rem;
    color: #a0aec0;
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.slider-btn:hover {
    background: var(--secondary-green);
    color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

@media (max-width: 768px) {
    .testimonials-wrapper {
        padding: 0 50px;
    }

    .testimonial-card {
        min-width: 280px;
        max-width: 280px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* MultiSpec Advertisement Banner */
.multispec-ad-banner {
    padding: var(--spacing-xl) 0;
    background: #f0f2f5;
}

.ad-content {
    gap: 3rem;
    align-items: center;
}

.ad-slide {
    display: none;
    animation: fadeEffect 1s ease;
}

.ad-slide.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Restore 2-column layout */
    /* Restores the grid layout defined in .ad-content */
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.ad-text {
    padding: 2rem;
}

.ad-badge {
    display: inline-block;
    background: var(--secondary-green);
    color: var(--primary-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ad-description {
    font-size: 1.1rem;
    color: var(--text-mid);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ad-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ad-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ad-feature i {
    color: var(--secondary-green);
    font-size: 1.3rem;
    width: 30px;
}

.ad-feature span {
    color: var(--text-dark);
    font-weight: 500;
}

.ad-image-wrapper {
    position: relative;
    padding: 20px;
}

.ad-image-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(12, 35, 64, 0.25);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.ad-image-frame:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 25px 70px rgba(12, 35, 64, 0.3);
}

.ad-image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.ad-shine-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

.photo-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 5px 15px;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 5px;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.label-before {
    background-color: #d32f2f;
    /* Dark Red */
}

.label-after {
    background-color: var(--secondary-green);
}

@keyframes shine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

@media (max-width: 992px) {

    .ad-content,
    .ad-slide.active {
        /* Ensure active slide also collapses */
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ad-image-frame {
        transform: none;
    }

    .ad-title {
        font-size: 2rem;
    }
}

/* MainBridge App Banner */
.mainbridge-banner {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #1a4d6d 0%, #2d7a9f 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.mainbridge-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(26, 188, 156, 0.1);
    border-radius: 50%;
}

.mainbridge-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.mainbridge-logo-section {
    text-align: center;
}

.mainbridge-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.mainbridge-text {
    flex: 1;
}

.mainbridge-badge {
    display: inline-block;
    background: rgba(26, 188, 156, 0.2);
    border: 2px solid #1abc9c;
    color: #1abc9c;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mainbridge-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.mainbridge-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.mainbridge-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.mainbridge-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.mainbridge-feature i {
    color: #1abc9c;
    font-size: 1.2rem;
}

.mainbridge-feature span {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #1abc9c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.download-btn i {
    font-size: 2rem;
}

.download-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-btn-label {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-btn-store {
    font-size: 1.1rem;
    font-weight: 700;
}

@media (max-width: 992px) {
    .mainbridge-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .mainbridge-title {
        font-size: 2rem;
    }

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

.mainbridge-note {
    background: rgba(26, 188, 156, 0.15);
    border-left: 4px solid #1abc9c;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.mainbridge-note i {
    color: #1abc9c;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.mainbridge-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    display: block;
    /* Ensure it is visible when active */
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
    .navbar .container {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

    .nav-links.main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary-blue);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 2rem 2rem 2rem;
        gap: 0;
        z-index: 1000;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-links.main-menu.active {
        right: 0;
    }

    .nav-links.main-menu li {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.main-menu li a {
        display: block;
        padding: 1rem 0;
        width: 100%;
        font-size: 1.1rem;
    }

    .nav-actions {
        position: fixed;
        top: 20px;
        right: 70px;
        z-index: 1001;
        gap: 0.5rem;
    }

    .nav-actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .mobile-nav-overlay {
        /* display: block; Removed to fix blocking bug. It will be handled by .active class */
    }

    /* Hide Get Quote button on mobile */
    .nav-actions .btn-accent {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-actions {
        flex-direction: column;
        right: 60px;
        top: 15px;
    }

    .nav-actions .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}