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

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2933;
    background: #f5f7fb;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header & Navigation */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
}

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

.logo-mark {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
    background: #ffffff;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.brand-tagline {
    font-size: 0.75rem;
    color: #6b7280;
}

.main-nav a {
    margin-left: 1.25rem;
    font-size: 0.95rem;
    color: #4b5563;
    position: relative;
    padding-bottom: 0.25rem;
}

.main-nav a.active,
.main-nav a:hover {
    color: #2563eb;
}

.main-nav a.active::after,
.main-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #0891b2);
}

/* Hero */
.hero {
    padding: 3rem 0 3.5rem;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 55%),
                radial-gradient(circle at bottom right, rgba(8, 145, 178, 0.12), transparent 55%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
    gap: 2.75rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0f172a;
}

.hero-content h1 span {
    color: #2563eb;
}

.hero-content p {
    font-size: 0.98rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    text-align: center;
}

.primary-btn {
    background: linear-gradient(135deg, #2563eb, #0891b2);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.28);
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.35);
}

.secondary-btn {
    background: #0f172a;
    color: #ffffff;
}

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

.outline-btn {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    color: #111827;
}

.outline-btn:hover {
    background: #f9fafb;
}

.full-width {
    width: 100%;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.8rem;
}

.meta-label {
    display: block;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
}

.meta-value {
    font-weight: 600;
    color: #111827;
}

/* Hero Right */
.hero-image {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-card h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.hero-card ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.hero-card-footer span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
}

.hero-card-footer p {
    font-size: 0.9rem;
    color: #111827;
}

/* Sections */
.section {
    padding: 3rem 0;
}

.bg-light {
    background: #f9fafb;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    max-width: 520px;
}

.terms-content {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.terms-content .section-title {
    margin-bottom: 0.35rem;
}

.terms-content p {
    font-size: 0.95rem;
    color: #4b5563;
}

.terms-content a {
    color: #2563eb;
}

.terms-list {
    list-style: disc;
    padding-left: 1.25rem;
    font-size: 0.95rem;
    color: #4b5563;
}

.terms-list li + li {
    margin-top: 0.5rem;
}

.terms-highlight {
    margin-top: 0.5rem;
}

/* Cards */
.cards-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    color: #4b5563;
}

/* Two-column layout */
.two-column {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 2rem;
    align-items: flex-start;
}

.icon-list {
    list-style: none;
    margin-top: 1.5rem;
}

.icon-list li + li {
    margin-top: 1rem;
}

.icon-list h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.icon-list p {
    font-size: 0.9rem;
    color: #4b5563;
}

/* Highlight / Details box */
.highlight-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.07);
}

.highlight-box h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.brand-callout {
    display: grid;
    gap: 1rem;
}

.brand-callout p {
    font-size: 0.95rem;
    color: #4b5563;
}

.dealer-details {
    margin-top: 2rem;
}

.dealer-details .highlight-box {
    display: grid;
    gap: 0.6rem;
}

/* Details list */
.details-list {
    list-style: none;
    font-size: 0.9rem;
    color: #4b5563;
}

.details-list li + li {
    margin-top: 0.5rem;
}

.details-list span {
    font-weight: 600;
    color: #111827;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, #2563eb, #0891b2);
    color: #ffffff;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cta-inner h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cta-inner p {
    font-size: 0.95rem;
    max-width: 480px;
}

/* Page Hero (sub pages) */
.page-hero {
    padding: 2.4rem 0 2.2rem;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 60%);
}

.page-hero h1 {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.page-hero p {
    font-size: 0.95rem;
    color: #4b5563;
    max-width: 520px;
}

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 3fr);
    gap: 2rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #4b5563;
}

.map-wrapper {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.07);
}

.map-embed {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f0f4ff;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-note {
    font-size: 0.82rem;
    color: #6b7280;
    margin-top: 0.75rem;
}

/* Footer */
.site-footer {
    background: #020617;
    color: #e5e7eb;
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    font-size: 0.88rem;
}

.site-footer h4 {
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
}

.site-footer a {
    color: #e5e7eb;
    opacity: 0.9;
}

.site-footer a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding: 0.75rem 0;
    margin-top: 1.5rem;
    font-size: 0.78rem;
    text-align: center;
    color: #9ca3af;
}

.footer-note {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: #9ca3af;
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    right: 1.5rem;
    bottom: 1.75rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(145deg, #25d366, #128c7e);
    box-shadow: 0 14px 30px rgba(18, 140, 126, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 120;
    color: #ffffff;
    animation: pulse-float 3.6s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 18px 34px rgba(18, 140, 126, 0.45);
}

.whatsapp-float img {
    width: 28px;
    height: 28px;
}

.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.45);
    opacity: 0;
    animation: ripple 3.6s ease-in-out infinite;
}

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

@keyframes ripple {
    0% {
        transform: scale(0.6);
        opacity: 0.45;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* Motion */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .whatsapp-float,
    .whatsapp-float::after {
        animation: none;
        transform: none;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid,
    .two-column,
    .cta-inner,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-image {
        justify-content: flex-start;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .main-nav a {
        margin-left: 0.75rem;
    }

    .cta-inner {
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 1.7rem;
    }

    .section {
        padding: 2.2rem 0;
    }

    .page-hero {
        padding: 2rem 0 1.8rem;
    }

    .whatsapp-float {
        right: 1rem;
        bottom: 1.25rem;
        width: 52px;
        height: 52px;
    }
}
