/*
 * Podolog OnePage Theme — Complete Styles
 * Custom CSS with responsive design, modal system, and animations
 */

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

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

body {
    font-family: 'Lexend', sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
address { font-style: normal; }

/* ── CSS Variables ─────────────────────────────────────── */
:root {
    --primary: #3b82f6;
    --primary-rgb: 59, 130, 246;
    --radius: 1rem;
}

/* ── Utility Classes ───────────────────────────────────── */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
.section-padding { padding: 5rem 0; }
.section-alt { background-color: #f1f5f9; }
.text-center { text-align: center; }
.hidden { display: none !important; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.fill-current { fill: currentColor; }

/* ── Section Header ───────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.section-tag .material-symbols-outlined { font-size: 1.125rem; }
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}
.section-subtitle {
    color: #475569;
    margin-top: 0.75rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.0625rem;
}

/* ══════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════ */
.header-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid rgba(226,232,240,0.6);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    will-change: background, box-shadow;
}
.header-main.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.header-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 6rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    flex-shrink: 0;
}
.header-logo-img {
    height: 5rem;
    display: block;
}
.header-logo-icon {
    color: var(--primary);
    font-size: 2rem;
}
.header-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.header-logo-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.header-logo-sub {
    font-size: 0.6875rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Desktop Nav */
.header-nav {
    display: none;
    align-items: center;
    gap: 0.25rem;
}
.header-nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    position: relative;
}
.header-nav-link:hover,
.header-nav-link.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.06);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.header-phone {
    display: none;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}
.header-phone:hover { color: var(--primary); background: rgba(var(--primary-rgb), 0.06); }
.header-phone .material-symbols-outlined { font-size: 1.125rem; color: var(--primary); }
.header-phone-text { display: none; }
.header-cta {
    display: inline-flex;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.8125rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.25);
}
.header-cta:hover {
    background: rgba(var(--primary-rgb), 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.35);
    color: #fff;
}
.header-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: #f1f5f9;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #334155;
}
.header-menu-btn:hover { background: #e2e8f0; }

/* Mobile Menu */
.mobile-menu {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.mobile-menu-inner {
    padding: 1.25rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.mobile-menu-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #334155;
    border-radius: 0.5rem;
    transition: all 0.2s;
}
.mobile-menu-link:hover { color: var(--primary); background: rgba(var(--primary-rgb), 0.06); }
.mobile-menu-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}
.mobile-menu-phone .material-symbols-outlined { font-size: 1.25rem; }
.mobile-menu-cta {
    display: block;
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 0.875rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-top: 0.5rem;
}

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(15,23,42,0.78) 50%, rgba(var(--primary-rgb),0.3) 100%);
    z-index: 1;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-bg-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 6rem 1.5rem 3rem;
    max-width: 52rem;
    animation: fadeInUp 0.8s ease-out forwards;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.15);
}
.hero-badge .material-symbols-outlined { font-size: 1rem; }
.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.9);
    max-width: 36rem;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 0.875rem;
    font-weight: 700;
    font-size: 1.0625rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.35);
}
.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.45);
    color: #fff;
}
.hero-btn-primary .material-symbols-outlined { font-size: 1.25rem; }
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}
.hero-btn-secondary:hover { color: #fff; }
.hero-btn-secondary .material-symbols-outlined { font-size: 1.125rem; }
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.4);
    animation: bounce 1.5s infinite;
}
.hero-scroll-indicator .material-symbols-outlined { font-size: 2rem; }

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

/* ══════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.service-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(var(--primary-rgb), 0.2);
}
.service-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.service-card-img {
    position: relative;
    height: 14rem;
    overflow: hidden;
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
}
.service-card-icon {
    color: #fff;
    font-size: 1.75rem;
    background: rgba(var(--primary-rgb), 0.8);
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-card-body { padding: 1.5rem; }
.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}
.service-card-excerpt {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.service-card-more {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    transition: gap 0.2s;
}
.service-card:hover .service-card-more { gap: 0.625rem; }
.service-card-more .material-symbols-outlined { font-size: 1.125rem; }

/* ══════════════════════════════════════════════════════════
   MODAL SYSTEM
   ══════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15,23,42,0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    /* scroll wrapper for tall modals */
    overflow-y: auto;
    overscroll-behavior: contain;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-container {
    background: #fff;
    border-radius: 1rem;
    width: 100%;
    max-width: 46rem;
    max-height: 88vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: rgba(0,0,0,0.45);
    border-radius: 9999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.15s;
}
.modal-close:hover {
    background: rgba(0,0,0,0.7);
}
.modal-img {
    height: 14rem;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
}
.modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-body {
    padding: 1.5rem;
}
.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
}
.modal-content {
    color: #475569;
    line-height: 1.8;
    font-size: 0.9375rem;
}
.modal-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 1.5rem 0 0.75rem;
}
.modal-content h3:first-child { margin-top: 0; }
.modal-content p { margin-bottom: 0.75rem; }
.modal-content ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}
.modal-content ul li {
    margin-bottom: 0.375rem;
    position: relative;
}
.modal-content ul li::marker { color: var(--primary); }
.modal-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-top: 1.5rem;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}
.modal-cta:hover {
    background: rgba(var(--primary-rgb), 0.9);
    transform: translateY(-1px);
    color: #fff;
}
.modal-cta .material-symbols-outlined { font-size: 1.125rem; }

/* ══════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════ */
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}
.about-img-wrap {
    position: relative;
    width: 100%;
    max-width: 28rem;
}
.about-img-decor-top {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 5rem;
    height: 5rem;
    background: rgba(var(--primary-rgb), 0.15);
    border-radius: 9999px;
    z-index: 0;
}
.about-img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}
.about-img-decor-bottom {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 7rem;
    height: 7rem;
    border: 6px solid rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius);
    z-index: 0;
}
.about-content { width: 100%; }
.about-name {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}
.about-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.about-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
}
.about-badge-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-badge-icon .material-symbols-outlined { font-size: 1.25rem; }
.about-badge-text { font-weight: 600; font-size: 0.875rem; color: #334155; }
.about-btn {
    display: inline-block;
    background: #e2e8f0;
    color: #0f172a;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: all 0.2s;
}
.about-btn:hover { background: #cbd5e1; }

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.testimonial-stars {
    display: flex;
    gap: 0.125rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}
.testimonial-stars .material-symbols-outlined { font-size: 1.25rem; }
.testimonial-text {
    color: #475569;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.9375rem; color: #0f172a; }
.testimonial-source { font-size: 0.75rem; color: #94a3b8; }

/* ══════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
}
.contact-info { padding: 2.5rem 2rem; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}
.contact-item:last-of-type { margin-bottom: 0; }
.contact-item-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item-icon .material-symbols-outlined { font-size: 1.25rem; }
.contact-item-title { font-weight: 700; font-size: 1rem; color: #0f172a; margin-bottom: 0.25rem; }
.contact-item-text { color: #475569; font-size: 0.9375rem; }
.contact-item-text a { color: #475569; transition: color 0.2s; }
.contact-item-text a:hover { color: var(--primary); }
.contact-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}
.contact-social-link {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: all 0.2s;
}
.contact-social-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.contact-social-whatsapp:hover { background: #25D366; }
.contact-map {
    height: 20rem;
    background: #e2e8f0;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ══════════════════════════════════════════════════════════
   HERO VIDEO
   ══════════════════════════════════════════════════════ */
.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.hero-video-desktop { display: block; }
.hero-video-mobile { display: none; }
.hero-video-fallback { display: none; }

/* YouTube iframe as background */
iframe.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh; /* 16:9 ratio */
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: 0;
}

/* ── Hero Slider ──────────────────────────────────────── */
.hero-slider {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}
.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.hero-slide .hero-bg { position: absolute; inset: 0; }
.hero-slide .hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.hero-slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
}
.hero-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    padding: 0;
}
.hero-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.site-footer {
    background: #0f172a;
    color: #e2e8f0;
}
.footer-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 1.5rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { max-width: 20rem; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.footer-logo-img { height: 4rem; }
.footer-logo-icon { color: var(--primary); font-size: 1.75rem; }
.footer-logo-text { font-size: 1.125rem; font-weight: 700; color: #fff; }
.footer-desc { font-size: 0.8125rem; color: #cbd5e1; line-height: 1.6; }
.footer-heading {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
    font-size: 0.875rem;
    color: #cbd5e1;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}
.footer-contact-item .material-symbols-outlined {
    font-size: 1rem;
    color: var(--primary);
    margin-top: 0.125rem;
    flex-shrink: 0;
}
.footer-contact-item a { color: #94a3b8; transition: color 0.2s; }
.footer-contact-item a:hover { color: #fff; }
.footer-social {
    display: flex;
    gap: 0.75rem;
}
.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.2s;
}
.footer-social-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.footer-social-wa:hover { background: #25D366; }
.footer-legal {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-legal-links a {
    font-size: 0.8125rem;
    color: #94a3b8;
    transition: color 0.2s;
}
.footer-legal-links a:hover { color: #94a3b8; }
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1.5rem;
    text-align: center;
}
.footer-copyright { font-size: 0.75rem; color: #64748b; }
.footer-credit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #475569;
}
.footer-credit-label { color: #64748b; }
.footer-credit-link {
    display: flex;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.footer-credit-link:hover { opacity: 1; }
.footer-credit-img { height: 1.25rem; }

/* ── Material Symbols Override ─────────────────────────── */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Scroll Reveal Animations ─────────────────────────── */

/* Element-level reveal: fade up */
.reveal {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.reveal.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

/* Stagger children: each child delays 80ms more */
.reveal-stagger .reveal:nth-child(1)  { transition-delay: 0s; }
.reveal-stagger .reveal:nth-child(2)  { transition-delay: 0.08s; }
.reveal-stagger .reveal:nth-child(3)  { transition-delay: 0.16s; }
.reveal-stagger .reveal:nth-child(4)  { transition-delay: 0.24s; }
.reveal-stagger .reveal:nth-child(5)  { transition-delay: 0.32s; }
.reveal-stagger .reveal:nth-child(6)  { transition-delay: 0.40s; }
.reveal-stagger .reveal:nth-child(7)  { transition-delay: 0.48s; }
.reveal-stagger .reveal:nth-child(8)  { transition-delay: 0.56s; }

/* Fade from left */
.reveal-left {
    opacity: 0;
    transform: translate3d(-40px, 0, 0);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.reveal-left.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

/* Fade from right */
.reveal-right {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.reveal-right.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

/* Section-level fade (legacy compat) */
.fade-in-section {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .fade-in-section {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile First
   ══════════════════════════════════════════════════════ */

/* Mobile video: show vertical, hide horizontal */
@media (max-width: 639px) {
    .hero-video-desktop { display: none; }
    .hero-video-mobile { display: block; }
}

/* Small (640px+) */
@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
    .hero-title { font-size: 3rem; }
    .hero-actions { flex-direction: row; justify-content: center; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .header-cta { padding: 0.625rem 1.5rem; font-size: 0.875rem; }
    .header-phone { display: flex; }
    .hero-video-desktop { display: block; }
    .hero-video-mobile { display: none; }
}

/* Medium (768px+) */
@media (min-width: 768px) {
    .container { padding: 0 2rem; }
    .section-padding { padding: 6rem 0; }
    .section-title { font-size: 2.5rem; }
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.125rem; }
    .header-nav { display: flex; }
    .header-menu-btn { display: none; }
    .header-phone-text { display: inline; }
    .contact-map { height: 24rem; }
    .modal-overlay { padding: 2.5rem; }
    .modal-img { height: 18rem; }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 1.5fr 1fr 1.5fr 1fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* Large (1024px+) */
@media (min-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .about-grid {
        flex-direction: row;
        gap: 4rem;
    }
    .about-img-wrap { width: 50%; flex-shrink: 0; }
    .about-content { width: 50%; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .contact-info { padding: 3rem; }
    .contact-map { height: auto; min-height: 24rem; }
}

/* XL (1280px+) */
@media (min-width: 1280px) {
    .hero-title { font-size: 4.5rem; }
    .hero-content { padding: 8rem 2rem 4rem; }
}

/* ── Video Toggle Button ──────────────────────────────── */
.hero-video-toggle {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 3;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 9999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: all 0.2s;
}
.hero-video-toggle:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* ── Reduced Motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .hero-content { animation: none; opacity: 1; }
    .fade-in-section { opacity: 1; transform: none; }
    .hero-scroll-indicator { animation: none; }
}

/* ── Print Styles ──────────────────────────────────────── */
@media print {
    .header-main,
    .mobile-menu,
    .modal-overlay,
    .whatsapp-float,
    .hero-scroll-indicator { display: none !important; }
    body { background: white; }
    section { page-break-inside: avoid; }
}
