/* ----- 1. RESET & VARIABLES ----- */
:root {
    --primary: #0056b3;
    --primary-dark: #003d82;
    --whatsapp: #25d366;
    --whatsapp-hover: #1ebe5c;
    --navy: #1e293b;
    --light: #f8fafc;
    --text: #1e293b;
    --muted: #64748b;
    --red-bg: #fff1f2;
    --red-text: #e11d48;
    --border: #e2e8f0;
    --radius-lg: 16px;
    --radius-md: 10px;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    --font: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    font-family: var(--font);
    background: #ffffff;
    color: var(--text);
    line-height: 1.6;
    padding-bottom: 70px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--primary);
    color: #fff;
}

/* ----- 2. TYPOGRAPHY UTILITIES ----- */
.text-4xl { font-size: 2.5rem; }
.text-2xl { font-size: 1.25rem; }
.text-lg { font-size: 1.05rem; }
.text-xl-bold { font-size: 1.2rem; font-weight: 800; }
.text-xxs-uppercase { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.text-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-justify { text-align: justify; text-justify: inter-word; word-spacing: 0.5px; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted); }
.text-gold { color: #d97706; }

/* ----- 3. LAYOUT UTILITIES ----- */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { display: flex; flex-direction: column; }
.flex-col-center { display: flex; flex-direction: column; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 2px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-14 { gap: 14px; }
.gap-20 { gap: 20px; }

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

.mt-12 { margin-top: 12px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-16 { padding: 16px; }

.max-w-80ch { max-width: 80ch; }
@media (min-width: 768px) {
    .max-w-80ch {
        max-width: 100%;  /* Full width on desktop */
    }
}
.list-none { list-style: none; }

.list-styled {
    list-style: disc;
    padding-left: 1.75rem;
}
.list-styled li {
    margin-bottom: 0.75rem;
}
.list-styled li:last-child {
    margin-bottom: 0;
}

/* ----- 4. COMPONENT UTILITIES ----- */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.card-light { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius-lg); }

.img-round { border-radius: var(--radius-lg); overflow: hidden; }
.img-cover { width: 100%; height: auto; display: block; }
.img-cover img { width: 100%; height: auto; display: block; }

.shadow-md { box-shadow: var(--shadow); }

/* ----- 5. HEADER & NAV ----- */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo img {
    height: 38px;
    width: auto;
    display: block;
}

.desktop-nav {
    display: none;
    gap: 20px;
    align-items: center;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
}

.desktop-nav a:hover { color: var(--primary); }

.desktop-nav .nav-cta {
    padding: 8px 18px;
    border-radius: var(--radius-md);
    color: #fff !important;
    font-weight: 700;
}

.desktop-nav .locate-btn {
    background: var(--primary);
}

.desktop-nav .locate-btn:hover {
    background: var(--primary-dark);
}

.desktop-nav .whatsapp-btn {
    background: var(--whatsapp);
}

.desktop-nav .whatsapp-btn:hover {
    background: var(--whatsapp-hover);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 8px 0;
    z-index: 10;
    margin-top: 4px;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s;
}

.dropdown-content a:hover {
    background: var(--light);
    color: var(--primary);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

.badge-new {
    background: #e11d48;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 4px;
}

@media (min-width: 768px) {
    .desktop-nav { display: flex; }
    .menu-toggle { display: none; }
    body { padding-bottom: 0; }
}

/* ----- 6. MOBILE DRAWER ----- */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 200;
}

.drawer-overlay.active { opacity: 1; visibility: visible; }

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 201;
    transition: right 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 20px 24px;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
}

.mobile-drawer.active { right: 0; }

.drawer-header { display: flex; justify-content: flex-end; }

.close-btn {
    font-size: 2rem;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--muted);
    line-height: 1;
    padding: 8px;
}

.drawer-category {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--red-text);
    margin: 20px 0 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.drawer-links { list-style: none; }

.drawer-links li { border-bottom: 1px solid var(--border); }

.drawer-links a {
    display: block;
    padding: 14px 0;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
}

.drawer-links a:hover { color: var(--primary); }

.drawer-locate-btn,
.drawer-whatsapp {
    display: block;
    margin-top: 12px;
    text-align: center;
    padding: 14px 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.drawer-locate-btn {
    background: var(--primary);
    color: #fff;
}

.drawer-locate-btn:hover { background: var(--primary-dark); }

.drawer-whatsapp {
    background: var(--whatsapp);
    color: #fff;
}

.drawer-whatsapp:hover { background: var(--whatsapp-hover); }

/* ----- 7. BADGES ----- */
.badge-location {
    background: var(--red-bg);
    color: var(--red-text);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    margin-bottom: 12px;
}

.badge-rating {
    background: var(--light);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 20px;
    color: var(--text);
    margin-bottom: 12px;
}

/* ----- 8. HERO SECTION ----- */
.hero {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 16px 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .hero { max-width: 1000px; padding: 40px 16px; }
}

.hero h1 { margin-bottom: 12px; line-height: 1.2;}
.hero h2 { margin-bottom: 8px; line-height: 1.2;}
.hero p { margin-bottom: 20px; }
.hero .img-round { margin-bottom: 20px; }
.hero .flex-col { margin-bottom: 24px; }

/* ----- 9. BUTTONS ----- */
.btn {
    display: block;
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
    background: #fff;
    color: var(--navy);
    border: 1.5px solid var(--border);
}

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

.btn.btn-sm {
    width: auto;
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.85rem;
}

@media (max-width: 640px) {
    .btn.btn-sm {
        padding: 6px 12px;
        font-size: 0.7rem;
        width: auto;
        display: inline-block;
    }
}


/* ----- 10. REVIEWS ----- */
.review-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    margin-bottom: 14px;
    position: relative;
}

.review-card .flex-center {
    margin-bottom: 12px;
    padding-right: 30px;
}

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #dbeafe;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-name { font-weight: 700; font-size: 0.95rem; }
.review-role { font-size: 0.75rem; color: var(--muted);}
.review-stars { font-size: 0.8rem; margin-top: 2px; }
.review-text { font-size: 1rem; line-height: 1.6; }

.dots-link {
    position: absolute;
    top: 14px;
    right: 16px;
    text-decoration: none;
    color: var(--muted);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

/* ----- 11. SECTION TITLES ----- */
.section-title {
    font-size: 1.75rem;  /* was 2rem */
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
    text-align: center;
}

/* ----- 12. HIGHLIGHT ----- */
.highlight {
    background: #fef9c3;
    padding: 0 4px;
    border-radius: 4px;
}

.highlight a {
    color: var(--primary);
    text-decoration: none;
}

/* ----- 13. CARDS ----- */
.card-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 14px;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.card-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px -8px rgba(0, 86, 179, 0.15);
    transform: translateY(-4px);
}

.card-icon {
    font-size: 2rem;
    display: block;
    line-height: 1.2;
}

.card-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.4;
    margin-top: 4px;
}

/* card item color accents */
.card-item:nth-child(1) .card-title { color: #2563eb; }
.card-item:nth-child(2) .card-title { color: #16a34a; }
.card-item:nth-child(3) .card-title { color: #9333ea; }
.card-item:nth-child(4) .card-title { color: #ea580c; }
.card-item:nth-child(5) .card-title { color: #4f46e5; }
.card-item:nth-child(6) .card-title { color: #0891b2; }
.card-item:nth-child(7) .card-title { color: #65a30d; }
.card-item:nth-child(8) .card-title { color: #dc2626; }

@media (max-width: 640px) {
    .card-item { 
        padding: 18px 16px; 
        width: 100%;
    }
    .card-icon { font-size: 1.8rem; }
    .card-title { font-size: 1.05rem; }
    .card-desc { font-size: 0.9rem; }
    .grid-3 { 
        grid-template-columns: 1fr; 
        gap: 14px; 
    }
}

/* ----- 14. FAQ ----- */
.faq-container { margin-top: 4px; }

.faq-item {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    margin-bottom: 10px;
    transition: background 0.2s;
    text-align: left;
}

.faq-item[open] {
    background: #fff;
    border-color: var(--primary);
}

.faq-question {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
    content: "▸";
    font-size: 1.1rem;
    color: var(--primary);
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-question::after { transform: rotate(90deg); }

.faq-answer {
    font-size: 1rem;
    color: var(--text);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    line-height: 1.7;
}

/* ----- 15. STICKY CONTACT BAR ----- */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
    padding: 8px 16px;
    z-index: 90;
}

@media (min-width: 768px) { .sticky-bar { display: none !important; } }

.contact-btn {
    flex: 1;
    text-align: center;
    padding: 14px 11px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.contact-call { background: var(--navy); color: #fff; }
.contact-wa { background: var(--whatsapp); color: #fff; }

/* ----- 16. FOOTER ----- */
.site-footer {
    background: var(--light);
    border-top: 1px solid var(--border);
    padding: 32px 16px 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .footer-container { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

.footer-address, .footer-hours {
    font-size: 0.9rem;
    color: var(--muted);
    font-style: normal;
    line-height: 1.8;
}

.footer-address a { color: var(--primary); text-decoration: none; font-weight: 600; }

.social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.social-links a:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

.social-links img { width: 22px; height: 22px; }

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 24px;
    padding-top: 16px;
    text-align: center;
}

.footer-copy { font-size: 0.85rem; color: var(--muted); }

/* ----- 17. ACCESSIBILITY ----- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ----- 18. RESPONSIVE FIXES ----- */
@media (max-width: 640px) {
    .text-4xl { font-size: 1.85rem; }
    .text-2xl { font-size: 1.05rem; }
    .section-title { font-size: 1.5rem; }
    .btn, .contact-btn { padding-top: 16px; padding-bottom: 16px; font-size: 1rem; }

    /* Badges */
    .badge-location, 
    .badge-rating {
        font-size: 0.7rem;
        padding: 2px 8px;
        white-space: nowrap;
    }
    .flex-center.gap-8.flex-wrap {
        gap: 4px;
    }

    /* Compact Stats Bar (keeps the 3 stat columns side-by-side on mobile) */
    .grid-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        padding: 12px 4px;
    }
    .grid-stats .text-xl-bold { font-size: 0.9rem; }
    .grid-stats .text-xxs-uppercase { font-size: 0.5rem; letter-spacing: 0.3px; }
}
