/* ===== VARIABLES ===== */
:root {
    --color-primary: #2d3436;
    --color-accent: #f39c12;
    --color-accent-dark: #e67e22;
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #128C7E;
    --color-white: #ffffff;
    --color-light: #f8f9fa;
    --color-gray: #6c757d;
    --color-dark: #1a1a2e;
    --color-text: #333333;
    --color-text-light: #666666;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-max: 1200px;
    --header-height: 72px;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SECTION ===== */
.section {
    padding: 80px 0;
}

.section--dark {
    background: var(--color-dark);
}

.section--accent {
    background: var(--color-primary);
}

.section__subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.section__subtitle--light {
    color: var(--color-accent);
}

.section__title {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 48px;
    line-height: 1.2;
}

.section__title--light {
    color: var(--color-white);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn--whatsapp {
    background: var(--color-whatsapp);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
    background: var(--color-whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

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

.btn--sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn--lg {
    padding: 16px 32px;
    font-size: 17px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

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

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    color: var(--color-primary);
    z-index: 1001;
}

.nav__logo-icon {
    font-size: 28px;
    color: var(--color-accent);
}

.nav__logo-text strong {
    color: var(--color-accent);
}

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

.nav__link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-light);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

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

.nav__link:hover::after {
    width: 100%;
}

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

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav__close {
    display: none;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3436 50%, #3d3d3d 100%);
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 1;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
    max-width: 700px;
}

.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(243, 156, 18, 0.15);
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid rgba(243, 156, 18, 0.3);
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero__description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero__stats {
    display: flex;
    gap: 48px;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--color-accent);
}

.hero__stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SERVICES ===== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--color-white);
    padding: 36px 28px;
    border-radius: var(--radius);
    border: 1px solid #eee;
    transition: var(--transition);
}

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

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(243, 156, 18, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.service-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.service-card__description {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery__item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery__item--large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    aspect-ratio: auto;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery__placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    transition: var(--transition);
}

.gallery__placeholder svg {
    width: 40px;
    height: 40px;
}

.gallery__placeholder--about {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.2);
    min-height: 400px;
}

.gallery__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery__item:hover .gallery__overlay {
    transform: translateY(0);
}

.gallery__overlay h4 {
    color: var(--color-white);
    font-size: 16px;
    margin-bottom: 4px;
}

.gallery__overlay p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.gallery__note {
    text-align: center;
    margin-top: 32px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.gallery__note code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

/* ===== ABOUT ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__text {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about__features {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-primary);
}

.about__feature-icon {
    width: 22px;
    height: 22px;
    color: var(--color-whatsapp);
    flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact__intro {
    text-align: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: -24px auto 48px;
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.contact__card {
    background: rgba(255, 255, 255, 0.08);
    padding: 36px 28px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact__card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.contact__card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
}

.contact__card-icon svg {
    width: 100%;
    height: 100%;
    color: var(--color-accent);
}

.contact__card h3 {
    font-size: 18px;
    color: var(--color-white);
    margin-bottom: 8px;
}

.contact__card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
    background: #111;
    padding: 48px 0 24px;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer__tagline {
    width: 100%;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    padding-top: 24px;
    text-align: center;
}

.footer__bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.footer .nav__logo-icon,
.footer .nav__logo-text {
    color: var(--color-white);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    color: var(--color-white);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    /* Mobile menu */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-white);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        padding: 80px 32px 32px;
        transition: var(--transition);
        z-index: 1000;
    }

    .nav__menu.show {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
    }

    .nav__link {
        display: block;
        padding: 16px 0;
        font-size: 18px;
        border-bottom: 1px solid #eee;
    }

    .nav__link::after {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 32px;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--color-primary);
    }

    .nav__actions .btn {
        display: none;
    }

    /* Hero */
    .hero__content {
        padding: 100px 24px 60px;
    }

    .hero__stats {
        gap: 24px;
    }

    .hero__stat-number {
        font-size: 24px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        text-align: center;
        justify-content: center;
    }

    /* Gallery */
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery__item--large {
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 16/9;
    }

    /* About */
    .about__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Footer */
    .footer__content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer__links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

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

    .hero__stats {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .hero__stat {
        text-align: left;
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

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