﻿/* ==========================================================================
   MARINISE® - Yanmar Marine Engines & Generators Landing Page Stylesheet
   Modern, Ultra-responsive, High-Conversion Marine Engineering Design
   ========================================================================== */

:root {
    --primary: #c8102e;          /* Yanmar Signature Red */
    --primary-hover: #a50d24;
    --primary-glow: rgba(200, 16, 46, 0.22);
    --secondary: #0a2540;        /* Marinise Deep Navy */
    --secondary-light: #13395e;
    --navy-dark: #06192d;
    --ocean-blue: #0284c7;
    --gold-accent: #c89b3c;
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-light: #e2e8f0;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 25px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 20px 40px rgba(10, 37, 64, 0.12);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Fonts */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-body);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navbar */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 82px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: nowrap !important;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: clamp(38px, 4vw, 46px);
    max-width: 180px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1.1vw, 14px) !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0;
}

.nav a {
    color: var(--text-body);
    font-size: clamp(0.78rem, 0.88vw, 0.88rem) !important;
    font-weight: 600;
    padding: 6px clamp(4px, 0.6vw, 8px) !important;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap !important;
}

.nav a:hover {
    color: var(--primary);
    background-color: rgba(200, 16, 46, 0.05);
}

/* Navigation Dropdown (Uzmanlıklar) */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 25px;
    pointer-events: auto;
}

.nav-item-dropdown .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: clamp(0.78rem, 0.88vw, 0.88rem) !important;
    font-weight: 600;
    color: var(--text-body);
    padding: 6px clamp(4px, 0.6vw, 8px) !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap !important;
}

.nav-item-dropdown .dropdown-toggle:hover,
.nav-item-dropdown:hover .dropdown-toggle,
.nav-item-dropdown.dropdown-open .dropdown-toggle {
    color: var(--primary);
    background-color: rgba(200, 16, 46, 0.05);
}

.nav-item-dropdown .nav-arrow {
    font-size: 0.72rem;
    transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .nav-arrow,
.nav-item-dropdown.dropdown-open .nav-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 300px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 36px rgba(10, 25, 47, 0.16);
    border: 1px solid var(--border-light);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1100;
    display: flex;
    flex-direction: column;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    transform: rotate(45deg);
    border-left: 1px solid var(--border-light);
    border-top: 1px solid var(--border-light);
}

@media (min-width: 993px) {
    .nav-item-dropdown:hover .dropdown-menu,
    .nav-item-dropdown:focus-within .dropdown-menu,
    .nav-item-dropdown.dropdown-open .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
        display: flex !important;
    }
}

.dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 11px 20px !important;
    color: var(--secondary) !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease;
    text-decoration: none !important;
    border-bottom: none !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 0 !important;
}

.dropdown-item i {
    color: var(--gold-accent);
    width: 18px;
    text-align: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.dropdown-item:hover {
    background: #f8fafc !important;
    color: var(--primary) !important;
    padding-left: 24px !important;
}

.dropdown-item.active {
    background: rgba(200, 16, 46, 0.04) !important;
    color: var(--primary) !important;
    border-left: 3px solid var(--primary);
}

/* Header Right Actions */
.header-actions-right {
    flex-shrink: 0 !important;
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 16px) !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
}

.header-cta {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.language-selector {
    display: flex;
    align-items: center;
    background-color: #f1f5f9;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 2px 4px;
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 4px 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
}

.lang-btn.active {
    background-color: #ffffff;
    color: var(--secondary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lang-divider {
    color: #cbd5e1;
    font-size: 0.8rem;
    margin: 0 2px;
}

.btn-call {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: var(--secondary);
    color: #ffffff !important;
    padding: 8px clamp(10px, 1vw, 16px) !important;
    border-radius: var(--radius-sm);
    font-size: clamp(0.8rem, 0.88vw, 0.88rem) !important;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.btn-call:hover {
    background: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--secondary);
    cursor: pointer;
    padding: 6px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 90px;
    background-color: #0b1f36;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    filter: saturate(1.2);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    color: #ffffff;
}

.badge-yanmar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 16, 46, 0.16);
    color: #ff6b7d;
    border: 1px solid rgba(200, 16, 46, 0.35);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 0.84rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 24px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
}

.hero-feature-item i {
    color: #ff4757;
    font-size: 1.05rem;
}

.hero-stats {
    display: flex;
    gap: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.stat-lbl {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 4px;
}

/* Hero Lead Form */
.hero-form-wrapper {
    position: relative;
}

.card-glass {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.hero-form h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 6px;
}

.hero-form p {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-dark);
    background-color: #ffffff;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-primary.w-full {
    width: 100%;
}

/* Sections General */
.section {
    padding: 85px 0;
}

.section-dark {
    background: linear-gradient(180deg, #edf4fb 0%, #f6fafd 100%);
    border-top: 1px solid #dbeafe;
    border-bottom: 1px solid #dbeafe;
}

/* Dark Marine Section Styling */
.section-dark-marine {
    background: linear-gradient(135deg, #091e34 0%, #0d2847 100%) !important;
    color: #ffffff !important;
}

.section-dark-marine .sub-title {
    color: #f87171 !important;
}

.section-dark-marine .section-header h2 {
    color: #ffffff !important;
}

.section-dark-marine .section-desc {
    color: #cbd5e1 !important;
}

.section-dark-marine .card-feature-box {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
}

.section-dark-marine .card-feature-box:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: #ef4444 !important;
    transform: translateY(-3px);
}

.section-dark-marine .card-feature-box p {
    color: #ffffff !important;
}

.section-dark-marine .feat-box-icon {
    background: rgba(239, 68, 68, 0.18) !important;
    color: #f87171 !important;
}

.section-header {
    margin-bottom: 48px;
}

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

.sub-title {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.25;
}

.section-desc {
    max-width: 680px;
    margin: 12px auto 0;
    font-size: 0.96rem;
    color: var(--text-muted);
}

/* Vessels Grid */
.grid {
    display: grid;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gap-sm {
    gap: 20px;
}

.gap-md {
    gap: 28px;
}

.mt-md {
    margin-top: 36px;
}

.card-vessel {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card-vessel:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.card-vessel-icon {
    width: 52px;
    height: 52px;
    background: rgba(200, 16, 46, 0.08);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.card-vessel h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 10px;
}

.card-vessel p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Feature Boxes (Why Us) */
.card-feature-box {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.card-feature-box:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.feat-box-icon {
    width: 44px;
    height: 44px;
    background: #f1f5f9;
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.card-feature-box p {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.4;
    margin-top: 2px;
}

/* Service Cards */
.solution-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.sol-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(10, 37, 64, 0.05);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 22px;
}

.solution-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
}

/* Interactive Engine Models Switcher */
.model-selection-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.model-tab {
    padding: 12px 22px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition);
}

.model-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.model-tab.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.model-details-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.model-details-grid,
.model-details-single {
    width: 100%;
}

.model-details-single .model-info-block h3,
.model-info-block h3 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
}

.model-details-single .model-info-block .model-desc,
.model-info-block p {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

.model-details-single .spec-list-badge,
.spec-list-badge {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-bottom: 0;
}

.model-details-single .spec-pill,
.spec-pill {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-size: 0.86rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.spec-pill strong {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.92rem;
}

.fault-block {
    background: #fff5f5;
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.fault-block h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fault-block p {
    font-size: 0.86rem;
    color: #7f1d1d;
    margin-bottom: 0;
}

.service-solution-block {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
}

.service-solution-block h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #16a34a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-solution-block p {
    font-size: 0.86rem;
    color: #14532d;
    margin-bottom: 0;
}

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

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--secondary);
    user-select: none;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.25s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Action Banner */
.action-banner {
    background: linear-gradient(135deg, #0a2540 0%, #06192d 100%);
    color: #ffffff;
    text-align: center;
    padding: 70px 0;
}

.action-banner .sub-title {
    color: #ff6b7d;
}

.action-banner h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.action-banner p {
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.84);
}

.cta-buttons-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: #20ba5a;
    transform: translateY(-1px);
}

/* Footer & Legal */
.footer {
    background: #06192d;
    color: #94a3b8;
    padding: 60px 0 30px;
    font-size: 0.88rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-brand p {
    line-height: 1.6;
    font-size: 0.85rem;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 22px;
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    line-height: 1.6;
    color: #64748b;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
}

.footer-locations {
    font-weight: 700;
    color: var(--gold-accent);
    font-size: 0.9rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 10000;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

/* Floating Mobile CTA */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    display: none;
    grid-template-columns: 1fr 1fr;
    z-index: 9999;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
}

.mobile-cta-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.cta-call {
    background: var(--secondary);
    color: #ffffff;
}

.cta-whatsapp {
    background: #25d366;
    color: #ffffff;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .header {
        height: 74px;
    }
    
    .nav {
        display: none;
    }
    
    .nav.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 2px solid var(--primary);
        padding: 32px 24px;
        gap: 16px;
        box-shadow: 0 15px 30px rgba(0, 37, 64, 0.1);
        z-index: 999;
    }
    
    .nav.active a {
        font-size: 1.15rem;
        color: var(--secondary);
        padding: 10px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f1f5f9;
        font-weight: 600;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .header-actions-right {
        gap: 12px;
    }
    
    .header-cta {
        display: none;
    }
    
    .nav-item-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-item-dropdown .dropdown-toggle {
        font-size: 1.15rem;
        padding: 10px 0;
        width: 100%;
        justify-content: center;
        border-bottom: 1px solid #f1f5f9;
        color: var(--secondary);
    }
    
    .nav-item-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8fafc;
        margin-top: 6px;
        padding: 6px 0;
        display: none;
        border-radius: 8px;
        width: 100%;
    }
    
    .nav-item-dropdown .dropdown-menu::before {
        display: none;
    }
    
    .nav-item-dropdown.dropdown-open .dropdown-menu {
        display: flex;
    }
    
    .nav-item-dropdown .dropdown-item {
        justify-content: flex-start;
        padding: 10px 16px !important;
        font-size: 0.95rem !important;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .model-details-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mobile-cta-bar {
        display: grid;
    }

    body {
        padding-bottom: 64px;
    }
}

@media (max-width: 600px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

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

    .card-glass {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   PERSISTENT FLOATING WHATSAPP BUTTON (DESKTOP & MOBILE)
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #ffffff !important;
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
    animation: wa-pulse 2.2s infinite ease-out;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 84px; /* Keeps clear of mobile bottom CTA bar */
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 28px;
    }
}



/* MOBILE OVERFLOW SHIELD */
html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative;
}
*, *::before, *::after {
    max-width: 100%;
    box-sizing: border-box;
}
img, svg, video, canvas, iframe {
    max-width: 100% !important;
    height: auto;
}
.cookie-banner {
    max-width: calc(100vw - 24px) !important;
    box-sizing: border-box !important;
}
@media (max-width: 768px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden;
    }
}
