:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #EFF6FF;
    --dark: #1a1a2e;
    --gray: #6b7280;
    --light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(37, 99, 235, 0.15);
    --radius: 16px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.7;
}

/* ── Navbar ── */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.6rem 0;
    box-shadow: var(--shadow);
}

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

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

.logo-img {
    height: 34px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.btn-nav {
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-nav:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

/* Mobile menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* ── Hero ── */

.hero-section {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, #fff 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.hero-badge i {
    color: #22c55e;
    font-size: 0.6rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-title .accent {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 480px;
}

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

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

.btn-outline {
    border: 1.5px solid #d1d5db;
    color: var(--dark);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    background: #fff;
    transition: all 0.2s;
}

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

.hero-visual {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-visual i {
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.2;
}

.hero-visual-img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--gray);
    flex-wrap: wrap;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-trust i {
    color: #22c55e;
}

/* ── Stats ── */

.stats-section {
    padding: 60px 0;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid #f0f0f0;
    border-radius: var(--radius);
    transition: all 0.3s;
}

.stat-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.stat-item .number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-item .label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

/* ── Sections ── */

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background: var(--light);
}

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

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ── About Cards ── */

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

.about-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    height: 100%;
}

.about-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.about-card .card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.card-icon.c1 { background: var(--primary-light); color: var(--primary); }
.card-icon.c2 { background: #ecfdf5; color: #059669; }
.card-icon.c3 { background: #FFF7ED; color: #EA580C; }
.card-icon.c4 { background: #F0F9FF; color: #0284C7; }
.card-icon.c5 { background: #FDF2F8; color: #DB2777; }
.card-icon.c6 { background: #F0FDF4; color: #16A34A; }

.about-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-card p {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ── Service Cards ── */

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

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card .s-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.service-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.service-card .service-desc {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card .service-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.service-card.has-details {
    cursor: pointer;
}

.service-card.has-details:hover {
    border-color: var(--primary);
}

.service-details-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 0.4rem;
}

.service-details-link i {
    font-size: 0.65rem;
    transition: transform 0.2s;
}

.service-card.has-details:hover .service-details-link i {
    transform: translateX(3px);
}

/* ── Filiale Cards ── */

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

.filiala-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    height: 100%;
}

.filiala-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.filiala-card .filiala-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 1.25rem 1.5rem;
    color: #fff;
}

.filiala-card .filiala-header h5 {
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filiala-card .filiala-body {
    padding: 1.5rem;
}

.filiala-info {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.filiala-info i {
    color: var(--primary);
    width: 16px;
    text-align: center;
    margin-top: 3px;
    flex-shrink: 0;
}

.filiala-info span {
    color: var(--gray);
}

.filiala-info a {
    color: var(--gray);
    text-decoration: none;
}

.filiala-info a:hover {
    color: var(--primary);
}

.filiala-schedule {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.filiala-schedule h6 {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    padding: 2px 0;
    color: var(--gray);
}

.schedule-row .day {
    font-weight: 500;
    color: var(--dark);
}

.filiala-links {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filiala-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.filiala-links .btn-maps {
    background: #e8f5e9;
    color: #2e7d32;
}

.filiala-links .btn-maps:hover {
    background: #c8e6c9;
}

.filiala-links .btn-waze {
    background: #e3f2fd;
    color: #1565c0;
}

.filiala-links .btn-waze:hover {
    background: #bbdefb;
}

.filiala-links .btn-apple-maps {
    background: #f0f0f2;
    color: #1d1d1f;
}

.filiala-links .btn-apple-maps:hover {
    background: #e2e2e6;
}

/* ── Contact CTA ── */

.contact-cta {
    background: var(--light);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.contact-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-cta > p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta .hero-buttons {
    justify-content: center;
}

.contact-info-row {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.contact-info-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ── Footer ── */

.footer-section {
    background: var(--dark);
    color: #94a3b8;
    padding: 2.5rem 0;
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-logo-img {
    height: 30px;
    width: auto;
    padding: 6px 10px;
    border: 2px solid #2592d0;
    border-radius: 8px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.2s;
}

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

/* ── Back to top ── */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
}

/* ── Service Modal ── */

.service-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

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

.service-modal {
    background: var(--white);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.3s ease;
}

.service-modal-overlay.active .service-modal {
    transform: translateY(0) scale(1);
}

.service-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: all 0.2s;
}

.service-modal-close:hover {
    background: rgba(0, 0, 0, 0.12);
    color: var(--dark);
}

.service-modal-header {
    background: var(--primary-light);
    padding: 1.5rem 2rem;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.service-modal-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    padding-right: 2.5rem;
}

.service-modal-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.service-modal-body {
    padding: 1.5rem 2rem 2rem;
}

.service-modal-body p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.service-modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.service-modal-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-modal-gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ── Zoom Overlay ── */

.service-zoom-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 210;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

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

.service-zoom-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.service-zoom-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s;
}

.service-zoom-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.service-zoom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s;
}

.service-zoom-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.service-zoom-nav.prev { left: 1rem; }
.service-zoom-nav.next { right: 1rem; }

/* ── Responsive ── */

@media (max-width: 991.98px) {
    .hero-title { font-size: 2.5rem; }
    .section-padding { padding: 60px 0; }
    .section-header h2 { font-size: 2rem; }
    .hero-visual { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .filiale-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem 2rem;
        border-bottom: 1px solid #f0f0f0;
        box-shadow: var(--shadow);
        gap: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline { width: 100%; text-align: center; justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-cta { padding: 2.5rem 1.5rem; }
    .footer-links a { margin-left: 0; margin-right: 1rem; }
    .footer-inner { flex-direction: column; text-align: center; }
}
