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

:root {
    --primary: #F04E23;
    --primary-dark: #D94420;
    --primary-light: #FF6B42;
    --dark: #1a1a1a;
    --text: #333333;
    --text-light: #666666;
    --bg: #ffffff;
    --bg-light: #f7f7f7;
    --border: #e5e5e5;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

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

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

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

/* ===== HEADER ===== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 8px 0;
}

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

.logo-img {
    height: 66px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.5px;
}

.logo-text em {
    font-style: normal;
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ===== LANGUAGE SWITCHER ===== */

.lang-switcher {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}

.lang-toggle:hover {
    border-color: var(--primary);
}

.lang-toggle.open {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(240, 78, 35, 0.15);
}

.lang-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-chevron {
    font-size: 0.65rem;
    color: var(--text-light);
    transition: transform var(--transition);
}

.lang-toggle.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 170px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1001;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--text);
    text-align: left;
    transition: background var(--transition);
}

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

.lang-option.active {
    color: var(--primary);
    font-weight: 600;
}

.lang-option img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.btn-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background var(--transition), transform var(--transition);
}

.btn-phone:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    opacity: 0.25;
}

.hero-bg-item {
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 60px 24px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    font-style: italic;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 78, 35, 0.35);
}

.btn-outline {
    background: var(--bg);
    color: var(--text);
    border-color: var(--border);
}

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

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

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ===== SECTIONS ===== */

.section {
    padding: 80px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-logo {
    height: 360px;
    width: auto;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ===== SERVICES ===== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: left;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border);
    cursor: default;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(240, 78, 35, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 1.3rem;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== ADVANTAGES ===== */

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 32px;
    text-align: center;
}

.advantage-card {
    padding: 20px;
}

.advantage-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.4rem;
}

.advantage-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.advantage-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===== TESTIMONIALS ===== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 12px;
    left: 24px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    padding-top: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== FAQ ===== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    font-family: inherit;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 0.85rem;
    color: var(--text-light);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ===== CTA ===== */

.section-cta {
    background: var(--primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1200&q=60')
        center / cover no-repeat;
    opacity: 0.15;
}

.cta-content {
    position: relative;
    text-align: center;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    font-style: italic;
    color: white;
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */

.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.footer-logo .logo-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.footer ul li i {
    color: var(--primary);
    font-size: 0.85rem;
    width: 16px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
}

/* ===== WHATSAPP FLOAT ===== */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition), box-shadow var(--transition);
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ===== ANIMATIONS ===== */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .menu-toggle {
        display: flex;
    }

    .lang-switcher #lang-label {
        display: none;
    }

    .lang-toggle {
        padding: 7px 10px;
    }

    .btn-phone span {
        display: none;
    }

    .btn-phone {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 56px 0;
    }

    .section-cta {
        padding: 56px 0;
    }
}
