/* ==========================================================================
   UWINFLY KUDUS CENTRAL - STYLESHEET
   Design Theme: Modern Dark Aesthetic with Red Accent & High Contrast
   ========================================================================== */

:root {
    --bg-dark-1: #09090b;
    --bg-dark-2: #141417;
    --card-bg: #1e1e24;
    --card-border: #2d2d35;
    --primary-red: #dc2626;
    --primary-red-hover: #b91c1c;
    --text-white: #ffffff;
    --text-muted: #a1a1aa;
    --text-subtle: #71717a;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --navbar-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 25px rgba(220, 38, 38, 0.3);
}

/* RESET & BASE */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

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

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button, input, select { font-family: inherit; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 6rem 0; }
.bg-dark-1 { background-color: var(--bg-dark-1); }
.bg-dark-2 { background-color: var(--bg-dark-2); }
.border-t { border-top: 1px solid var(--card-border); }
.border-b { border-bottom: 1px solid var(--card-border); }
.border-y { border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.text-center { text-align: center; }
.mb-3 { margin-bottom: 1.2rem; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.highlight-red { color: var(--primary-red); }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}
.btn-primary { background-color: var(--primary-red); color: var(--text-white); }
.btn-primary:hover {
    background-color: var(--primary-red-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}
.btn-outline { background-color: transparent; border: 2px solid var(--text-white); color: var(--text-white); }
.btn-outline:hover { background-color: var(--text-white); color: var(--bg-dark-1); transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* BADGES */
.badge {
    padding: 0.35rem 0.8rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    display: inline-block;
}
.badge-red { background-color: var(--primary-red); color: var(--text-white); }
.badge-white { background-color: var(--text-white); color: var(--bg-dark-1); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    transition: var(--transition);
}
.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    text-decoration: none;
}
.logo-badge {
    background-color: var(--primary-red);
    color: var(--text-white);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
}
.logo-city { color: var(--text-white); letter-spacing: 0.05em; }

.nav-menu { display: flex; align-items: center; gap: 2.2rem; }

.nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 0.4rem 0;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary-red); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: var(--navbar-height);
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(220, 38, 38, 0.15), transparent 50%),
        url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #09090b 20%, rgba(9,9,11,0.88) 60%, rgba(9,9,11,0.6) 100%);
}
.hero-container { position: relative; z-index: 2; }
.hero-content { max-width: 780px; }

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: rgba(220,38,38,0.12);
    border: 1px solid rgba(220,38,38,0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}
.pulse-dot {
    width: 8px; height: 8px;
    background-color: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-red);
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220,38,38,0.7); }
    70%  { transform: scale(1);    box-shadow: 0 0 0 10px rgba(220,38,38,0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220,38,38,0); }
}

.hero-title { font-size: 3.8rem; font-weight: 900; margin-bottom: 1.5rem; line-height: 1.1; }
.hero-description { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 660px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-bottom: 3.5rem; }

.hero-highlights {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}
.hero-stat { display: flex; flex-direction: column; }
.stat-number { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--text-white); }
.stat-label { font-size: 0.82rem; color: var(--text-subtle); }

.scroll-indicator {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { margin-bottom: 3.5rem; }
.section-title-wrap { display: inline-block; margin-bottom: 0.8rem; }
.section-title { font-size: 2.5rem; font-weight: 900; }
.red-line { width: 96px; height: 4px; background-color: var(--primary-red); margin-top: 0.5rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; }

/* When section-header is centered */
.section-header.text-center .red-line { margin-left: auto; margin-right: auto; }
.section-header.text-center .section-subtitle { margin: 0 auto; }

/* ============================================================
   FILTER TABS
   ============================================================ */
.filter-tabs { display: flex; gap: 0.8rem; margin-top: 2rem; flex-wrap: wrap; }
.filter-btn {
    padding: 0.6rem 1.4rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--text-white);
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
}
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.product-image-container {
    position: relative;
    height: 250px;
    background: #121215;
    overflow: hidden;
}
.product-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img { transform: scale(1.05); }
.product-image-container .badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; }

.product-info { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.product-name { font-size: 1.5rem; margin-bottom: 0.4rem; }
.product-price {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 1.5rem;
    text-align: center;
}
.spec-item { display: flex; flex-direction: column; }
.spec-item.border-x {
    border-left: 1px solid var(--card-border);
    border-right: 1px solid var(--card-border);
}
.spec-label { font-size: 0.7rem; font-weight: 700; color: var(--text-subtle); letter-spacing: 0.08em; }
.spec-value { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; color: var(--text-white); }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.8rem;
}
.service-card {
    background: var(--card-bg);
    border-left: 4px solid var(--primary-red);
    padding: 2.2rem 1.8rem;
    border-radius: 0 6px 6px 0;
    transition: var(--transition);
}
.service-card:hover { background: #25252c; transform: translateY(-4px); }
.service-icon-box {
    width: 48px; height: 48px;
    background-color: var(--primary-red);
    color: var(--text-white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    border-radius: 4px;
    margin-bottom: 1.2rem;
}
.service-title { font-size: 1.1rem; margin-bottom: 0.8rem; }
.service-desc { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   WHY UWINFLY SECTION
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    background: linear-gradient(160deg, var(--card-bg) 0%, #18181f 100%);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 0;
    background: linear-gradient(180deg, rgba(220,38,38,0.15), transparent);
    transition: height 0.4s ease;
}

.why-card:hover::before {
    height: 100%;
}

.why-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--primary-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover::after {
    transform: scaleX(1);
}

.why-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(220, 38, 38, 0.12);
}

.why-number {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transition: var(--transition);
}

.why-card:hover .why-number {
    color: rgba(220,38,38,0.1);
    transform: scale(1.1);
}

.why-icon-box {
    width: 68px; height: 68px;
    background: linear-gradient(135deg, var(--primary-red), #ef4444);
    color: var(--text-white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    border-radius: 18px;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.25);
    position: relative;
    z-index: 1;
}

.why-card:nth-child(2) .why-icon-box,
.why-card:nth-child(5) .why-icon-box {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.25);
}

.why-card:nth-child(3) .why-icon-box,
.why-card:nth-child(6) .why-icon-box {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

.why-card:nth-child(4) .why-icon-box {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.25);
}

.why-card:hover .why-icon-box {
    transform: scale(1.12) rotate(-6deg);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.4);
}

.why-card:nth-child(2):hover .why-icon-box,
.why-card:nth-child(5):hover .why-icon-box {
    box-shadow: 0 8px 30px rgba(22, 163, 74, 0.4);
}

.why-card:nth-child(3):hover .why-icon-box,
.why-card:nth-child(6):hover .why-icon-box {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.why-card:nth-child(4):hover .why-icon-box {
    box-shadow: 0 8px 30px rgba(217, 119, 6, 0.4);
}

.why-title {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.why-title::after {
    content: '';
    display: block;
    width: 32px;
    height: 2.5px;
    background: var(--primary-red);
    margin: 0.6rem auto 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.why-card:hover .why-title::after {
    width: 48px;
}

.why-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.why-tag {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.25rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 20px;
    border: 1px solid rgba(220,38,38,0.3);
    color: var(--primary-red);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.why-card:nth-child(2) .why-tag,
.why-card:nth-child(5) .why-tag {
    border-color: rgba(22, 163, 74, 0.3);
    color: #22c55e;
}

.why-card:nth-child(3) .why-tag,
.why-card:nth-child(6) .why-tag {
    border-color: rgba(37, 99, 235, 0.3);
    color: #3b82f6;
}

.why-card:nth-child(4) .why-tag {
    border-color: rgba(217, 119, 6, 0.3);
    color: #f59e0b;
}

.why-card:hover .why-tag {
    background: rgba(220,38,38,0.1);
}

.why-card:nth-child(2):hover .why-tag,
.why-card:nth-child(5):hover .why-tag {
    background: rgba(22, 163, 74, 0.1);
}

.why-card:nth-child(3):hover .why-tag,
.why-card:nth-child(6):hover .why-tag {
    background: rgba(37, 99, 235, 0.1);
}

.why-card:nth-child(4):hover .why-tag {
    background: rgba(217, 119, 6, 0.1);
}

/* ============================================================
   FINANCING CALCULATOR
   ============================================================ */
.financing-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    display: block;
}
.financing-title { font-size: 2.5rem; margin-bottom: 1rem; }
.financing-desc { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }

.partner-badges { display: flex; gap: 1rem; flex-wrap: wrap; }
.partner-card {
    padding: 0.9rem 1.4rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-white);
}

.financing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-white);
}
.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background: #121215;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 10px rgba(220,38,38,0.2);
}
select.form-control option { background: #1e1e24; color: #fff; }

.form-range { width: 100%; accent-color: var(--primary-red); cursor: pointer; }
.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-subtle);
    margin-top: 0.3rem;
}

.tenor-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.tenor-btn {
    padding: 0.75rem;
    text-align: center;
    background: #121215;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: block;
    color: var(--text-muted);
}
.tenor-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--text-white);
}

.calc-result-box {
    background: #121215;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 1.2rem;
    margin-bottom: 1.8rem;
}
.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.4rem 0;
}
.result-row.highlight {
    border-top: 1px dashed var(--card-border);
    margin-top: 0.5rem;
    padding-top: 0.8rem;
    color: var(--text-white);
}
.monthly-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-red);
}

/* ============================================================
   LOCATION SECTION
   ============================================================ */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.location-title { font-size: 2.4rem; margin-bottom: 2rem; }
.info-list { display: flex; flex-direction: column; gap: 1.8rem; margin-bottom: 2.5rem; }
.info-item { display: flex; gap: 1.2rem; }
.info-icon {
    width: 42px; height: 42px;
    background: var(--primary-red);
    color: var(--text-white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    border-radius: 4px;
    flex-shrink: 0;
}
.info-text h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.info-text p { color: var(--text-muted); font-size: 0.95rem; }
.phone-link { color: var(--primary-red); font-weight: 700; }
.phone-link:hover { text-decoration: underline; }

.partners-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.partners-label { font-size: 0.8rem; font-weight: 800; color: var(--text-subtle); letter-spacing: 0.05em; }
.partner-tags { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.partner-tag {
    padding: 0.4rem 0.9rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 3px;
}

.location-map-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
}
.map-header {
    padding: 1rem 1.5rem;
    background: #121215;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid var(--card-border);
}
.map-footer { padding: 1.2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-section {
    background-color: var(--bg-dark-1);
    border-top: 1px solid var(--card-border);
    padding: 4.5rem 0 2.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}
.footer-desc { color: var(--text-muted); font-size: 0.9rem; max-width: 320px; }
.footer-title { font-size: 0.85rem; letter-spacing: 0.08em; color: var(--text-white); margin-bottom: 1.5rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a { color: var(--text-muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--primary-red); }

.social-links { display: flex; gap: 0.8rem; }
.social-links a {
    width: 38px; height: 38px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-white);
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary-red); border-color: var(--primary-red); transform: translateY(-2px); }
.copyright-text { font-size: 0.8rem; color: var(--text-subtle); margin-top: 1.2rem; }

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.floating-wa {
    position: fixed;
    bottom: 2rem; right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}
.floating-wa-badge {
    background: rgba(18,18,21,0.95);
    border: 1px solid var(--card-border);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(5px);
}
.online-indicator {
    width: 8px; height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}
.floating-wa-icon {
    width: 58px; height: 58px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
    transition: var(--transition);
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
    70%  { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.floating-wa:hover .floating-wa-icon { transform: scale(1.1); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.modal-backdrop.active { opacity: 1; visibility: visible; }
.modal-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    width: 100%;
    max-width: 520px;
    padding: 2.5rem;
    border-radius: 8px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}
.modal-backdrop.active .modal-card { transform: translateY(0); }
.modal-close {
    position: absolute;
    top: 1.2rem; right: 1.2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover { color: var(--text-white); }
.modal-header { text-align: center; margin-bottom: 2rem; }
.modal-icon { font-size: 2.5rem; color: var(--primary-red); margin-bottom: 0.8rem; display: block; }
.modal-header h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.modal-header p { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .financing-wrapper, .location-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--navbar-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--navbar-height));
        background: var(--bg-dark-1);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
        z-index: 999;
    }
    .nav-menu.active { left: 0; }
    .mobile-toggle { display: block; }
    .hero-title { font-size: 2.4rem; }
    .hero-highlights { flex-direction: column; gap: 1.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .floating-wa-badge { display: none; }
    .product-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
    .btn-lg { width: 100%; justify-content: center; }
}
