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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text: #111827;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --bg: #ffffff;
    --bg-muted: #f9fafb;
    --bg-soft: #f3f4f6;
    --border: #e5e7eb;
    --green: #10b981;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

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

.hidden { display: none !important; }

/* ===== ANIMATIONS ===== */
@keyframes slideInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.animate-in { animation: slideInUp 0.6s ease-out both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.btn i, .btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37,99,235,0.3);
}
.btn-outline {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #f3f4f6; }
.btn-whatsapp { background: #16a34a; color: #fff; }
.btn-whatsapp:hover { background: #15803d; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.95);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 48px; width: auto; display: block; }
.footer-logo-img { height: 40px; width: auto; display: block; filter: brightness(0) invert(1); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-title { font-weight: 700; font-size: 18px; color: var(--text); }
.logo-sub { font-size: 12px; color: var(--text-muted); }

.nav-desktop { display: flex; gap: 32px; }
.nav-desktop a {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}
.nav-desktop a:hover { color: var(--primary); }

.header-right { display: flex; align-items: center; gap: 16px; }
.header-phone { text-align: right; display: flex; flex-direction: column; }
.phone-link { font-size: 17px; font-weight: 600; color: var(--text); }
.phone-link:hover { color: var(--primary); }
.phone-hours { font-size: 12px; color: var(--text-light); }

.menu-btn { display: none; padding: 8px; color: var(--text-muted); }
.menu-btn i { width: 24px; height: 24px; }

.mobile-menu {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
    background: #fff;
    padding: 12px 20px;
}
.mobile-menu a {
    padding: 12px 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-phone { color: var(--text) !important; font-weight: 600; }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(to bottom, var(--bg-muted), #fff);
    padding: 80px 0 100px;
}
.hero-content { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-title {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 40px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-muted { background: var(--bg-muted); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.section-title.left { text-align: left; }
.section-subtitle {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 16px;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: #fff;
}
.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(37,99,235,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}
.service-icon i { width: 28px; height: 28px; }
.service-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.service-card > p { color: var(--text-muted); margin-bottom: 16px; font-size: 15px; }
.service-card ul { display: flex; flex-direction: column; gap: 8px; }
.service-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}
.service-card li i { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    color: var(--text-muted);
}
.about-text strong { color: var(--text); }
.about-badges { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.badge { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text); }
.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.badge-icon i { width: 20px; height: 20px; }
.badge-icon.green { background: #d1fae5; color: #059669; }
.badge-icon.blue { background: #dbeafe; color: #2563eb; }
.badge-icon.purple { background: #ede9fe; color: #7c3aed; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.stat-num {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.stat-label { font-size: 14px; color: var(--text-light); }

/* ===== MAP & CONTACT ===== */
.map-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 450px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(37,99,235,0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon i { width: 22px; height: 22px; }
.contact-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.contact-card p { color: var(--text-muted); font-size: 15px; }
.contact-card .muted { font-size: 13px; color: var(--text-light); display: block; margin-top: 4px; }
.contact-phone { color: var(--primary); font-size: 17px; font-weight: 500; }
.contact-phone:hover { text-decoration: underline; }

/* ===== FORM ===== */
.form-wrap { max-width: 640px; }
.contact-form {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 16px; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 15px;
    color: var(--text);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-privacy {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}
.form-privacy a { color: var(--primary); text-decoration: underline; }

/* ===== CTA ===== */
.cta { background: var(--primary); padding: 80px 0; }
.cta-inner { max-width: 720px; text-align: center; color: #fff; margin: 0 auto; }
.cta h2 {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
}
.cta p { color: rgba(255,255,255,0.85); font-size: 18px; margin-bottom: 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ===== FOOTER ===== */
.footer { background: #111827; color: #9ca3af; padding: 40px 0; }
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 500;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 14px; }

/* ===== COOKIE NOTICE ===== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    padding: 20px;
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.cookie-notice.show { transform: translateY(0); }
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 260px; font-size: 14px; color: var(--text-muted); }
.cookie-text p { display: inline; }
.cookie-link { color: var(--primary); text-decoration: underline; margin-left: 4px; }
.cookie-btn {
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}
.cookie-btn:hover { background: var(--primary-dark); }

/* ===== POLICY PAGES ===== */
.policy-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
    transition: transform 0.2s, color 0.2s;
}
.back-link:hover { color: var(--primary-dark); transform: translateX(-4px); }
.back-link i { width: 18px; height: 18px; }
.policy-header { text-align: center; margin-bottom: 40px; }
.policy-header h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}
.policy-date { color: var(--text-muted); font-size: 14px; }
.policy-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 12px;
    color: var(--text);
}
.policy-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}
.policy-content ul {
    list-style: disc;
    margin: 12px 0 16px 24px;
    color: var(--text-muted);
    line-height: 1.7;
}
.policy-content ul li { margin-bottom: 6px; }
.policy-content strong { color: var(--text); font-weight: 600; }
.policy-content a { color: var(--primary); }
.policy-content a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .map-grid { grid-template-columns: 1fr; }
    .map-frame { height: 350px; }
    .section-title.left { text-align: center; }
}

@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .header-phone { display: none; }
    .menu-btn { display: inline-flex; }
    .section { padding: 60px 0; }
    .hero { padding: 60px 0 70px; }
    .cta { padding: 60px 0; }
    .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions .btn,
    .cta-actions .btn { width: 100%; }
    .hero-actions, .cta-actions { flex-direction: column; }
    .contact-form { padding: 24px 20px; }
    .service-card { padding: 24px; }
    .logo-sub { display: none; }
}
