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

:root {
    --primary: #1b3a7d;
    --secondary: #2d5aa8;
    --accent: #d4af37;
    --essilor-blue: #003da5;
    --purple-accent: #663399;
    --dark: #0a1f3f;
    --light: #f8f9fa;
    --text: #2c3e50;
    --border: #e0e7ff;
    --success: #10b981;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(27, 58, 125, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
}

.logo-img {
    height: 70px;
    width: auto;
    border-radius: 5px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent);
}

.nav-links a.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

/* ===== PAGE WRAPPER ===== */
.page { display: none; animation: fadeIn 0.5s ease-in; }
.page.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, rgba(45, 90, 168, 0.8) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-30px); }
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.hero-visual-circle {
    width: 300px;
    height: 300px;
    background: radial-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== BRAND SECTION ===== */
.brand-section { background: white; padding: 3rem 0; border-bottom: 2px solid var(--border); }
.brand-logos { display: flex; justify-content: center; align-items: center; gap: 4rem; flex-wrap: wrap; }
.brand-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); }
.brand-logo img { height: 60px; width: auto; }

/* ===== OFFERS SECTION ===== */
.offers {
    padding: 4rem 0;
    background: linear-gradient(180deg, #a1c6eb 0%, white 100%);
}

.offers h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
}

.offers h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.offer-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(27, 58, 125, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(27, 58, 125, 0.15);
    border-color: var(--accent);
}

.offer-icon { font-size: 3rem; margin-bottom: 1rem; }

.offer-card .offer-img {
    width: calc(100% + 4rem);
    height: auto;
    border-radius: 10px 10px 0 0;
    margin: -2rem -2rem 1rem -2rem;
    display: block;
}

.offer-card h3 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1.3rem; }

.offer-card .target-pairs {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: 700;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.offer-card p { color: #666; font-size: 0.95rem; line-height: 1.6; }

/* ===== OFFERS TABLE ===== */
.offers-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(27, 58, 125, 0.1);
    margin-top: 3rem;
}

.offers-table table { width: 100%; border-collapse: collapse; }

.offers-table th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.05rem;
}

.offers-table td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--border); }
.offers-table tr:hover { background: rgba(27, 58, 125, 0.02); }
.offers-table tr:last-child td { border-bottom: none; }
.target-pairs-cell { font-weight: 700; color: var(--primary); }
.offer-text { color: #333; }

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: 4rem 0;
    background: linear-gradient(180deg, #a1c6eb 0%, white 50%);
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
}

.products h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* ===== PRODUCTS PAGE ===== */
.products-section {
    background: linear-gradient(160deg, #dce8f8 0%, #eef3fb 50%, #f5f8fe 100%);
    padding: 4rem 0;
}

.products-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.products-section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.products-section-header .gold-bar {
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .products-grid { grid-template-columns: 1fr; } }

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(27,58,125,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(27,58,125,0.14);
}

.product-image {
    width: 100%;
    height: 230px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img { transform: scale(1.04); }

.product-info {
    padding: 1.4rem 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-brand-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.badge-essilor  { color: #1b3a7d; border: 1.5px solid #1b3a7d; background: #eef2ff; }
.badge-magnus   { color: #166534; border: 1.5px solid #16a34a; background: #f0fdf4; }
.badge-bl       { color: #9d174d; border: 1.5px solid #ec4899; background: #fdf2f8; }
.badge-services { color: #92400e; border: 1.5px solid #d4af37; background: #fffbeb; }

.product-info h3 {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.product-info p {
    color: #555;
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
}

.product-tag {
    font-size: 0.75rem;
    color: #444;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 3px 10px;
    font-weight: 500;
}

/* ===== CONTACT PAGE ===== */
.contact-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.contact-hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 4rem 0;
    align-items: start;
}

.contact-info-section {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(27, 58, 125, 0.08);
}

.contact-info-section h2 { color: var(--primary); margin-bottom: 2rem; font-size: 1.8rem; }

.contact-item { margin-bottom: 2rem; display: flex; gap: 1rem; align-items: flex-start; }

.contact-item-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-item-text h3 { color: var(--primary); margin-bottom: 0.3rem; font-size: 1.1rem; }
.contact-item-text p { color: #666; margin: 0; }
.contact-item-text a { color: var(--primary); text-decoration: none; font-weight: 500; }
.contact-item-text a:hover { color: var(--accent); }

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(27, 58, 125, 0.1);
    height: 400px;
}

.map-container iframe { width: 100%; height: 100%; border: none; }

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(27, 58, 125, 0.08);
}

.contact-form h2 { color: var(--primary); margin-bottom: 2rem; font-size: 1.8rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--text); }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== INQUIRY PAGE ===== */
#inquiry { background: #f0f4fb; min-height: 100vh; }

.inquiry-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

.inquiry-hero p { opacity: 0.85; font-size: 1.05rem; margin-top: 0.5rem; }

.inquiry-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: white;
    box-shadow: 0 2px 12px rgba(27,58,125,0.08);
    padding: 0;
}

.inquiry-step {
    flex: 1;
    max-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #aab4c8;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.inquiry-step.active { color: var(--primary); border-bottom-color: var(--accent); }

.inquiry-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #aab4c8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.3s;
}

.inquiry-step.active .inquiry-step-num { background: var(--primary); color: white; }
.inquiry-step-divider { color: #dde3f0; font-size: 1.2rem; }

.inquiry-body { max-width: 1100px; margin: 0 auto; padding: 2.5rem 20px 4rem; }
.offers-selection { margin-bottom: 2rem; }

.inquiry-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 1.5rem; }

.inquiry-section-title .step-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inquiry-section-title h3 { color: var(--primary); font-size: 1.25rem; font-weight: 700; margin: 0; }

.offers-box-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 700px) { .offers-box-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .offers-box-grid { grid-template-columns: 1fr; } }

.offer-box {
    background: white;
    border: 2.5px solid #e0e7ff;
    border-radius: 12px;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(27,58,125,0.06);
}

.offer-box:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 22px rgba(212,175,55,0.18);
    transform: translateY(-4px);
}

.offer-box.selected {
    border-color: var(--accent);
    box-shadow: 0 8px 28px rgba(212,175,55,0.28);
    transform: translateY(-4px);
}

.offer-box .offer-img { width: 100%; height: auto; display: block; border-radius: 10px 10px 0 0; }
.offer-box-body { padding: 0.75rem 1rem 1rem; }
.offer-box h4 { font-size: 1rem; font-weight: 700; color: var(--primary); margin: 0 0 0.3rem; }
.offer-box p { font-size: 0.82rem; color: #667; line-height: 1.4; margin: 0; }

.checkmark {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    background: var(--accent);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-weight: 900;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(212,175,55,0.5);
    z-index: 2;
}

.offer-box.selected .checkmark { display: flex; }
.offer-icon { display: none; }
#selectedOfferInput { display: none; }

.selected-offer-display {
    background: linear-gradient(135deg, rgba(27,58,125,0.07) 0%, rgba(45,90,168,0.07) 100%);
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    margin-bottom: 0;
    display: none;
    margin-top: 0.5rem;
}

.selected-offer-display.show { display: block; }
.selected-offer-display p { color: var(--primary); font-weight: 600; margin: 0; font-size: 0.95rem; }
.inquiry-divider { border: none; border-top: 2px dashed #d4dff5; margin: 2rem 0; }

.inquiry-form-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(27,58,125,0.09);
    padding: 2.5rem;
}

.form-section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a9bbf;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.inquiry-form-card .form-group { margin-bottom: 1.4rem; }
.inquiry-form-card label { display: block; margin-bottom: 0.45rem; font-weight: 600; color: var(--text); font-size: 0.9rem; }

.inquiry-form-card input,
.inquiry-form-card select,
.inquiry-form-card textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e7ff;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.97rem;
    transition: all 0.25s;
    background: #fafbff;
    color: var(--text);
}

.inquiry-form-card input:focus,
.inquiry-form-card select:focus,
.inquiry-form-card textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(27,58,125,0.08);
}

.inquiry-form-card select { cursor: pointer; }
.inquiry-form-card textarea { resize: vertical; min-height: 110px; }
.inquiry-form-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

@media (max-width: 560px) { .inquiry-form-card .form-row { grid-template-columns: 1fr; } }

.inquiry-submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 0.5rem;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 16px rgba(27,58,125,0.2);
}

.inquiry-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,58,125,0.28); }
.inquiry-submit-btn:active { transform: none; }

/* T&C checkbox */
.tc-label { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; font-weight: 500; color: var(--text); line-height: 1.5; }
.tc-label input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.tc-link { color: var(--primary); font-weight: 600; text-decoration: underline; }
.tc-link:hover { color: var(--accent); }
.tc-error { display: none; color: #e53935; font-size: 0.85rem; margin-top: 0.4rem; padding-left: 1.6rem; }
.tc-error.show { display: block; }

/* ===== T&C MODAL ===== */
.tc-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 63, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.tc-modal-overlay.show { display: flex; }

.tc-modal-box {
    background: white;
    border-radius: 14px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(10,31,63,0.3);
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tc-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.4rem 1.6rem 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px 14px 0 0;
    color: white;
}

.tc-modal-header h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.2rem; }
.tc-modal-header p  { font-size: 0.82rem; opacity: 0.85; }

.tc-modal-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 1.4rem;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 1rem;
    transition: background 0.2s;
}
.tc-modal-close:hover { background: rgba(255,255,255,0.3); }

.tc-modal-body {
    padding: 1.5rem 1.6rem;
    overflow-y: auto;
    flex: 1;
}

.tc-modal-body ol {
    padding-left: 1.3rem;
    color: var(--text);
    line-height: 2;
    font-size: 0.92rem;
}

.tc-modal-body li { margin-bottom: 0.25rem; }

.tc-modal-footer {
    padding: 1rem 1.6rem 1.4rem;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    border-top: 1px solid var(--border);
}

/* ===== PRESCRIPTION TABLE ===== */
.rx-table-wrap { overflow-x: auto; margin-bottom: 1.25rem; }
.rx-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #f8faff; border: 1px solid rgba(27,58,125,0.12); border-radius: 10px; overflow: hidden; }
.rx-table thead tr { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); }
.rx-table th { color: white; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-align: center; padding: 10px 8px; }
.rx-table tbody tr:last-child td { border-bottom: none; }
.rx-table td { padding: 10px 8px; border-bottom: 1px solid rgba(27,58,125,0.08); text-align: center; vertical-align: middle; }
.rx-eye-label { font-weight: 700; color: var(--primary); font-size: 1rem; width: 36px; }
.rx-input, .rx-select { width: 100%; min-width: 70px; border: 1px solid rgba(27,58,125,0.18); border-radius: 6px; padding: 6px 8px; font-size: 0.85rem; color: #333; background: white; text-align: center; outline: none; transition: border-color 0.2s; }
.rx-select { cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231b3a7d'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 6px center; padding-right: 22px; }
.rx-input:focus, .rx-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,58,125,0.1); }
.rx-axis { min-width: 60px; }

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section h3 { margin-bottom: 1rem; color: var(--accent); }
.footer-section p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; line-height: 1.8; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 0.5rem; }
.footer-section a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.3s ease; }
.footer-section a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(212, 175, 55, 0.2); padding-top: 2rem; color: rgba(255, 255, 255, 0.6); }

/* ===== SUCCESS MESSAGE ===== */
.success-message {
    display: none;
    background: var(--success);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.success-message.show { display: block; }

/* ===== ABOUT US PAGE ===== */
.about-intro { padding: 4rem 0; background: white; }
.about-intro-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-intro-text h2 { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; font-weight: 800; }
.about-intro-text h2 span { color: var(--accent); }
.about-intro-text p { color: #555; line-height: 1.9; margin-bottom: 1rem; font-size: 1rem; }

.about-tagline {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    border-left: 5px solid var(--accent);
}

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

.about-stat-box {
    background: linear-gradient(135deg, var(--light) 0%, white 100%);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.about-stat-box:hover { border-color: var(--accent); box-shadow: 0 8px 25px rgba(27,58,125,0.12); transform: translateY(-4px); }
.about-stat-num { font-size: 2.4rem; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 0.4rem; }
.about-stat-num span { color: var(--accent); }
.about-stat-label { font-size: 0.85rem; color: #666; font-weight: 500; }

.about-middle { padding: 4rem 0; background: linear-gradient(180deg, #eef3fb 0%, white 100%); }
.about-middle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }

.about-block h3 {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.about-block h3::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 2px;
}

.location-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }

.location-list li {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: white;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-weight: 500;
    color: var(--text);
    box-shadow: 0 2px 8px rgba(27,58,125,0.05);
}

.location-list li .loc-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--accent, #c89a2e);
    text-transform: uppercase;
}

.loc-badge.associate { color: var(--accent, #c89a2e); }

.location-list li .loc-body { display: flex; align-items: center; gap: 0.6rem; flex-wrap: nowrap; white-space: nowrap; }

.location-list li .loc-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.brand-partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

.brand-partner-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(27,58,125,0.05);
}

.brand-partner-card:hover { border-color: var(--accent); box-shadow: 0 6px 20px rgba(27,58,125,0.1); transform: translateY(-3px); }
.brand-partner-card .bp-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; color: var(--accent, #c89a2e); text-transform: uppercase; }
.brand-partner-card .bp-body { display: flex; align-items: center; gap: 0.6rem; flex-wrap: nowrap; white-space: nowrap; }

.brand-partner-card .bp-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.brand-partner-card .bp-name { font-size: 0.95rem; font-weight: 700; color: var(--primary); }

.about-why { padding: 4rem 0; background: white; }
.about-why h2 { text-align: center; font-size: 2.2rem; color: var(--primary); font-weight: 800; margin-bottom: 0.6rem; }
.about-why .sub { text-align: center; color: #777; margin-bottom: 3rem; font-size: 1rem; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.why-card {
    background: linear-gradient(135deg, var(--light) 0%, white 100%);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.why-card:hover { border-color: var(--accent); box-shadow: 0 10px 30px rgba(27,58,125,0.1); transform: translateY(-6px); }

.why-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
}

.why-card h4 { color: var(--primary); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.why-card p { color: #666; font-size: 0.9rem; line-height: 1.7; }

.about-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.about-cta h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.8rem; }
.about-cta p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 2rem; }
.about-cta .cta-buttons { justify-content: center; }

/* ===== TOP BANNER SLIDER ===== */
.top-banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    line-height: 0;
}

.top-banner-slider .slides-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

.top-banner-slider .slide { min-width: 100%; position: relative; }
.top-banner-slider .slide img { width: 100%; height: auto; display: block; }

.top-banner-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    border: none;
    color: #fff;
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
    line-height: 1;
}

.top-banner-slider .slider-btn:hover { background: rgba(0,0,0,0.72); }
.top-banner-slider .slider-btn.prev { left: 14px; }
.top-banner-slider .slider-btn.next { right: 14px; }

.top-banner-slider .slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.top-banner-slider .slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.7);
    transition: background 0.25s, transform 0.2s;
}

.top-banner-slider .slider-dots .dot.active {
    background: #fff;
    transform: scale(1.25);
}

/* ===== PROMO SECTION ===== */
.promo-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #6358b8, #7466d1);
    padding: 120px 20px;
    text-align: center;
}

.promo-bg-rays {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1px),
        repeating-conic-gradient(
            from 0deg,
            rgba(255,255,255,0.12) 0deg,
            rgba(255,255,255,0.02) 15deg,
            transparent 25deg
        );
    animation: rotateRays 20s linear infinite;
    opacity: 0.6;
}

@keyframes rotateRays {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.promo-container { position: relative; z-index: 2; max-width: 1200px; margin: auto; }

.promo-logo {
    font-size: 72px;
    color: white;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 2px;
    animation: flicker 3s infinite;
}

@keyframes flicker {
    0%,18%,22%,25%,53%,57%,100% { opacity: 1; text-shadow: 0 0 10px rgba(255,255,255,0.9), 0 0 20px rgba(255,255,255,0.7), 0 0 40px rgba(255,255,255,0.5); }
    20%,24%,55% { opacity: 0.7; text-shadow: none; }
}

.gift-box { position: relative; width: 320px; height: 260px; margin: 40px auto; animation: floatGift 4s ease-in-out infinite; }

@keyframes floatGift {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.gift-base { width: 100%; height: 180px; background: linear-gradient(135deg,#ff7a18,#ff4d00); border-radius: 18px; position: absolute; bottom: 0; box-shadow: 0 25px 60px rgba(0,0,0,0.35); }
.gift-lid { width: 340px; height: 70px; background: linear-gradient(135deg,#ff8f3d,#ff5c00); position: absolute; top: 0; left: -10px; border-radius: 14px; animation: lidBounce 3s infinite ease-in-out; z-index: 2; }

@keyframes lidBounce {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-12px) rotate(-2deg); }
    100% { transform: translateY(0px); }
}

.gift-ribbon { position: absolute; width: 70px; height: 100%; background: linear-gradient(180deg,#ff1493,#a855f7); left: 50%; transform: translateX(-50%); z-index: 1; border-radius: 20px; }

.promo-title { margin-top: 50px; color: white; }
.promo-title .title-top { display: block; font-size: 42px; font-weight: 700; letter-spacing: 4px; margin-bottom: 15px; color: #f5d0fe; }
.promo-title h2 { font-size: 140px; line-height: 1; font-weight: 900; text-shadow: 0 10px 30px rgba(0,0,0,0.4); animation: pulseGlow 2s infinite; }

@keyframes pulseGlow {
    0%   { transform: scale(1);    text-shadow: 0 0 20px rgba(255,255,255,0.3); }
    50%  { transform: scale(1.03); text-shadow: 0 0 40px rgba(255,255,255,0.8); }
    100% { transform: scale(1);    text-shadow: 0 0 20px rgba(255,255,255,0.3); }
}

.promo-title .title-bottom { display: block; font-size: 52px; font-weight: 700; margin-top: -10px; }
.promo-title p { margin-top: 15px; font-size: 18px; letter-spacing: 3px; }

.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 30px; margin-top: 90px; }

.promo-card {
    position: relative;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 35px;
    padding: 35px 25px;
    color: white;
    transition: 0.4s ease;
    overflow: hidden;
    cursor: pointer;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: -100%; left: -100%;
    width: 200%; height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: rotate(25deg);
    transition: 0.8s;
}

.promo-card:hover::before { top: 100%; left: 100%; }
.promo-card:hover { transform: translateY(-15px) scale(1.03); background: rgba(255,255,255,0.18); box-shadow: 0 30px 60px rgba(0,0,0,0.25); }

.promo-icon { font-size: 70px; margin-bottom: 20px; animation: iconFloat 3s infinite ease-in-out; }

@keyframes iconFloat {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.promo-card h3 { font-size: 32px; margin-bottom: 10px; font-weight: 800; }
.promo-card p { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.92); }
.featured-card { background: linear-gradient(135deg,#ff1493,#7c3aed); animation: featuredGlow 2s infinite; }

@keyframes featuredGlow {
    0%   { box-shadow: 0 0 0 rgba(255,20,147,0.5); }
    50%  { box-shadow: 0 0 40px rgba(255,20,147,0.7); }
    100% { box-shadow: 0 0 0 rgba(255,20,147,0.5); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-content, .contact-content { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2.5rem; }
    .nav-links { flex-direction: column; gap: 0.5rem; }
    .inquiry-form-card { padding: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
    .btn { width: 100%; }
    .map-container { height: 300px; }
    .contact-form, .contact-info-section { padding: 1.5rem; }
    .brand-logos { gap: 2rem; }
    .offers-table { font-size: 0.9rem; }
    .offers-table td { padding: 0.8rem; }
    .about-intro-inner, .about-middle-grid, .why-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .top-banner-slider .slider-btn { width: 34px; height: 34px; font-size: 1.1rem; }
    .promo-logo { font-size: 48px; }
    .promo-title h2 { font-size: 90px; }
    .promo-title .title-bottom { font-size: 38px; }
    .gift-box { transform: scale(0.8); }
}
