:root {
    --primary: #54cd6c;
    /* WhatsApp Green / Genomelab Accent */
    --primary-light: #86efac;
    --primary-dark: #16a34a;
    --secondary: #064e3b;
    /* Dark Green */
    --accent: #10b981;
    --background: #ffffff;
    --surface: #f0fdf4;
    /* Very light green surface */
    --text-main: #064e3b;
    --text-muted: #475569;
    --text-light: #ffffff;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.25rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    gap: 0.6rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(84, 205, 108, 0.39);
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
    transition: var(--transition);
}

#navbar .logo-circle {
    width: 85px;
    height: 85px;
}

.logo-container:hover .logo-circle {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.logo-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-container h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-dark);
}

/* Footer specific logo adjustment */
footer .logo-circle {
    background-color: var(--white);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    padding: 8px;
    align-items: flex-start;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(84, 205, 108, 0.23);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

nav.scrolled {
    background: var(--glass);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-container h1,
.logo-container .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}


/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 0.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 120px;
    background: radial-gradient(circle at top right, #f0fdf4 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    opacity: 0.75;
    -webkit-mask-image: linear-gradient(to right, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.08) 35%, 
        rgba(0, 0, 0, 0.15) 55%, 
        rgba(0, 0, 0, 0.95) 100%);
    mask-image: linear-gradient(to right, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.08) 35%, 
        rgba(0, 0, 0, 0.15) 55%, 
        rgba(0, 0, 0, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero .hero-supporting-copy {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: -2rem 0 1.25rem;
    max-width: 620px;
}

.promo-price {
    display: inline-flex;
    flex-direction: column;
    gap: 0.2rem;
    margin: 0 0 1.75rem;
    padding: 0.85rem 1.1rem;
    background: var(--secondary);
    color: var(--white);
    border-radius: 8px;
}

.promo-price span {
    font-size: 0.85rem;
    font-weight: 600;
}

.promo-price strong {
    font-size: 1.8rem;
    line-height: 1;
}

.promo-conditions {
    max-width: 620px;
    margin: -0.75rem 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem !important;
    line-height: 1.5;
}

.card-conditions {
    margin: -0.35rem 0 1rem;
}

.card-price {
    margin: 1rem 0;
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.service-note {
    margin: 1rem 0;
    color: var(--primary-dark);
    font-weight: 600;
}

.other-adn-services {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr auto;
    gap: 2rem;
    align-items: center;
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid #d1fae5;
    border-radius: 8px;
}

.other-adn-services h3 {
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.other-adn-services ul {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.other-adn-services li {
    color: var(--text-main);
}

.other-adn-services li i {
    color: var(--primary-dark);
    margin-right: 0.45rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--surface);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.service-icon-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card-wide {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 2.5rem;
    padding: 1.5rem !important;
    grid-column: 1 / -1;
}

.service-image-square {
    width: 380px !important;
    height: 380px !important;
    flex-shrink: 0;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 0 !important;
    box-shadow: var(--shadow-md);
}

.service-card:hover .service-icon-img,
.service-card:hover .service-image-square {
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .service-card-wide {
        flex-direction: column !important;
    }

    .service-image-square {
        width: 100% !important;
        height: 250px !important;
    }
}

.service-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-details h3 {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 1.25rem;
}

.service-details p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 32px;
    transition: var(--transition);
    border: 1px solid var(--surface);
}

.step-item:hover {
    background: var(--surface);
    border-color: var(--primary-light);
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.75rem;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 16px rgba(84, 205, 108, 0.3);
}

/* FAQ Section */
.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 4rem auto 0;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--surface);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateX(5px);
}

.faq-item h4 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.15rem;
}

.faq-item p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

/* Empathy Section Refinement */
#empatia {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

#empatia p strong {
    color: var(--primary-dark);
}

/* Floating Contact */
.btn-whatsapp {
    background-color: #54cd6c;
}

.btn-phone {
    background-color: #1f71b8;
}

/* About Us Section */
.about-section {
    padding: 5rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    color: var(--primary-dark);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.mission-box {
    background: var(--surface);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary);
    margin-top: 2rem;
}

.mission-box blockquote {
    margin: 0;
    font-style: italic;
    color: var(--primary-dark);
    font-weight: 500;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        order: -1;
    }
}

.floating-contact {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.contact-link {
    text-decoration: none;
    display: flex;
    justify-content: flex-end;
}

.contact-link div {
    height: 60px;
    width: 260px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    border-radius: 9999px;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.contact-link:hover div {
    transform: scale(1.05) translateX(-5px);
}

.contact-link span {
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .contact-link span {
        display: none;
    }

    .contact-link div {
        width: 60px;
        justify-content: center;
        padding: 0;
    }

    .floating-contact {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

.contact-link img,
.contact-link i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

/* Footer Rendering */
footer {
    background: var(--secondary);
    color: #f8fafc;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column h4 {
    color: var(--primary-light);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-map {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-info p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.footer-contact-info i {
    color: var(--primary-light);
    width: 20px;
    margin-right: 10px;
}


.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2rem;
    display: block;
    text-decoration: none;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-light);
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2.5rem;
    text-align: center;
    font-size: 0.95rem;
    color: #ffffff;
}

.footer-bottom p {
    color: #ffffff !important;
    margin-bottom: 0;
}

/* Reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-content {
        position: relative;
    }

    .nav-links {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 2.5rem 1.5rem;
        box-shadow: var(--shadow-lg);
        border-bottom: 3px solid var(--primary);
        gap: 1.5rem;
        text-align: center;
        z-index: 1001;
    }

    .nav-links.active {
        display: flex !important;
    }

    .menu-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 1.8rem;
        color: var(--primary-dark);
        cursor: pointer;
        order: 2;
        /* Ensure it's reachable */
    }

    .nav-content .btn-primary {
        display: none !important;
    }

    .logo-container {
        order: 1;
    }

    .logo-container h1 {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero p {
        margin: 0 auto 3rem;
    }

    .hero .hero-supporting-copy {
        margin: -2rem auto 1.25rem;
    }

    .hero .promo-conditions {
        margin: -0.75rem auto 1.5rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .other-adn-services {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-bg {
        opacity: 0.2;
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-column .logo-container {
        justify-content: center;
        margin: 0 auto 2rem !important;
    }

    footer .logo-circle {
        width: 80px;
        height: 80px;
        margin: 0 auto 1.5rem !important;
    }

    .footer-map {
        height: 150px;
    }

    .footer-contact-info p {
        margin: 0 auto 1rem;
        display: block;
    }

    .footer-contact-info i {
        margin-bottom: 0.5rem;
        display: block;
        width: 100%;
        text-align: center;
    }
}
