:root {
    --bg-main: #FFFFFF;
    --bg-soft: #F9FAFB;
    --primary: #0D9488;
    --primary-hover: #0F766E;
    --text-main: #111827;
    --text-body: #4B5563;
    --text-light: #9CA3AF;
    --border: #E5E7EB;

    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --container: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* HEADER */
.main-header {
    background: var(--bg-main);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-main);
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.25rem;
}

/* HERO */
.hero {
    padding: 10rem 0 6rem;
    background: var(--bg-soft);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-body);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-img-container {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    background: #FFFFFF;
    border: 1px solid var(--border);
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.w-100 {
    width: 100%;
}

/* SECTION DECOR */
.section-tag {
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 3rem;
}

/* SERVICES GRID */
.services {
    padding: 8rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    background: var(--bg-main);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-icon {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-body);
}

/* DETAIL SECTIONS */
.detail-section {
    padding: 10rem 0;
}

.bg-lite {
    background-color: var(--bg-soft);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 6rem;
}

.detail-grid.reverse .detail-content {
    order: 2;
}

.detail-grid.reverse .detail-visual {
    order: 1;
}

.detail-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.detail-content h2 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.detail-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-body);
}

.detail-list {
    list-style: none;
}

.detail-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--text-main);
}

.detail-list i {
    color: var(--primary);
    font-size: 0.9rem;
}

.detail-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-box {
    width: 100%;
    aspect-ratio: 16/10;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.visual-box:hover .service-img {
    transform: scale(1.05);
}

/* ABOUT SECTION */
.about-section {
    padding: 10rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item strong {
    display: block;
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-body);
    font-weight: 600;
}

.about-img-container {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ SECTION */
.faq-section {
    padding: 8rem 0;
}

.section-title-centered {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-question i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--bg-soft);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--text-body);
}

/* CONTACT SECTION */
.contact-section {
    padding: 10rem 0;
    background: var(--bg-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 3rem;
}

.contact-methods {
    display: grid;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-method i {
    width: 50px;
    height: 50px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.contact-method strong {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.contact-method p {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--text-main);
}

.contact-form-container {
    background: #FFFFFF;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

/* FOOTER */
.footer {
    padding: 3rem 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom {
    font-size: 0.9rem;
    color: var(--text-body);
}

/* HEADER ACTIONS */
.btn-header {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-header:hover {
    background-color: var(--primary);
    color: #FFFFFF;
}

/* WHATSAPP FLOAT */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .btn-header {
        display: none;
        /* Adjust if needed for mobile header space */
    }

    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .detail-grid.reverse .detail-content,
    .detail-grid.reverse .detail-visual {
        order: unset;
    }

    .detail-list li {
        justify-content: center;
    }

    .contact-method {
        justify-content: center;
        text-align: left;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .detail-content h2 {
        font-size: 2rem;
    }
}