/* Custom CSS for comeContento - Vanilla Version */
:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-900: #064e3b;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --white: #ffffff;
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-400: #fb923c;
    --blue-50: #eff6ff;
    --blue-600: #2563eb;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--stone-50);
    color: var(--stone-900);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.max-w-7xl {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
    background-color: #78716c8c;
    color: var(--stone-50);
}

nav.scrolled {
    /*background-color: rgba(255, 255, 255, 0.8);*/
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 5rem;
    width: auto;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--emerald-600);
}

.btn-whatsapp {
    background-color: var(--emerald-600);
    color: var(--white);
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.1);
    margin: 0 auto;
}

.btn-whatsapp:hover {
    background-color: var(--emerald-700);
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--stone-900);
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

/* Mobile Menu */
#mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 40;
    padding-top: 6rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

#mobile-menu.active {
    display: flex;
}

#mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1.5rem;
}

/* Hero */
.hero {
    padding-top: 9.5rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 12rem;
        padding-bottom: 8rem;
    }
}

.hero-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: var(--emerald-100);
    color: var(--emerald-700);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 4.5rem;
    }
}

.hero h1 span {
    color: var(--emerald-600);
    font-style: italic;
}

.hero p {
    font-size: 1.125rem;
    color: var(--stone-600);
    margin-bottom: 2rem;
    max-width: 32rem;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-btns {
        flex-direction: row;
    }
}

.btn-primary {
    background-color: var(--emerald-600);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(5, 150, 105, 0.2);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--stone-900);
    border: 1px solid var(--stone-200);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stats {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-group {
    display: flex;
}

.avatar-group img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 2px solid var(--white);
    margin-left: -0.75rem;
}

.avatar-group img:first-child {
    margin-left: 0;
}

.stats-text {
    font-size: 0.875rem;
    color: var(--stone-500);
    margin-top: 2rem;
}

.stats-text span {
    font-weight: 700;
    color: var(--stone-900);
}

.hero-image {
    position: relative;
}

.hero-image img {
    margin: 0 10%;
    width: 75%;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: rotate(0deg);
}

/* Services */
.services {
    padding: 6rem 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--stone-100);
    background-color: var(--stone-50);
    transition: all 0.3s ease;
}

.service-card:hover {
    background-color: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-emerald {
    background-color: var(--emerald-50);
    color: var(--emerald-600);
}

.icon-orange {
    background-color: var(--orange-50);
    color: var(--orange-400);
}

.icon-blue {
    background-color: var(--blue-50);
    color: var(--blue-600);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--stone-600);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--emerald-600);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* legal-cookies */
.legal-cookies {
    margin: 3rem 0;
    padding: 6rem 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.legal-cookies-grid {
    gap: 2rem;
}

@media (min-width: 768px) {
    .legal-cookies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.legal-cookies-card {
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--stone-100);
    background-color: var(--stone-50);
    transition: all 0.3s ease;
}

.legal-cookies-card:hover {
    background-color: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-emerald {
    background-color: var(--emerald-50);
    color: var(--emerald-600);
}

.icon-orange {
    background-color: var(--orange-50);
    color: var(--orange-400);
}

.icon-blue {
    background-color: var(--blue-50);
    color: var(--blue-600);
}

.legal-cookies-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.legal-cookies-card p {
    color: var(--stone-600);
    margin-bottom: 1.5rem;
}

.legal-cookies-link {
    color: var(--emerald-600);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* About */
.about {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    position: relative;
}

.about-image .main-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 20rem;
}

.about-badge p.quote {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--stone-600);
}

.about-badge p.name {
    margin-top: 1rem;
    font-weight: 700;
}

.about-badge p.title {
    font-size: 0.75rem;
    color: var(--stone-500);
}

.about-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--stone-600);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background-color: var(--emerald-900);
    color: var(--white);
}

.testimonials-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-header {
        flex-direction: row;
    }
}

.testimonials-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    display: flex;
    gap: 0.25rem;
    color: var(--orange-400);
    margin-bottom: 1rem;
}

.testimonial-card p.text {
    font-style: italic;
    color: var(--emerald-50);
    margin-bottom: 1.5rem;
}

.testimonial-card p.author {
    font-weight: 700;
}

/* Contact */
.contact {
    padding: 6rem 0;
}

.contact-card {
    background-color: var(--white);
    border-radius: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: grid;
}

@media (min-width: 768px) {
    .contact-card {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    padding: 3rem;
}

@media (min-width: 768px) {
    .contact-info {
        padding: 4rem;
    }
}

.contact-info h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item p.label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--stone-500);
}

.info-item p.value {
    font-size: 1.125rem;
    font-weight: 700;
}

.social-links {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 3rem;
    height: 3rem;
    background-color: var(--stone-100);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    background-color: var(--emerald-600);
    color: var(--white);
}

.contact-form {
    background-color: var(--stone-50);
}

@media (min-width: 768px) {
    .contact-form {
        padding: 0rem;
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--stone-500);
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--emerald-600);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

.btn-submit {
    width: 100%;
    background-color: var(--emerald-600);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.1);
}

/* Footer */
footer {
    background-color: var(--stone-900);
    color: var(--stone-400);
    padding: 3rem 0;
}

.footer-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    border-bottom: 1px solid var(--stone-800);
    padding-bottom: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
    }
}

.footer-logo img {
    height: 4.5rem;
    /*filter: brightness(0) invert(1);*/
}

.footer-links {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    width: 4rem;
    height: 4rem;
    background-color: #25D366;
    color: var(--white);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}