/* font import handled in HTML for performance */

:root {
    --primary-color: #14B2A6;
    /* Verde Famident */
    --primary-dark: #0e8f85;
    /* Darker shade of Verde */
    --secondary-color: #14B2A6;
    /* Verde Famident (Replaces Blue) */
    --accent-color: #ED7F10;
    /* Naranjo Famident */
    /* Gold/Orange - Warmth */
    --text-color: #333333;
    --light-text: #666666;
    --bg-light: #f9fbfd;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--light-text);
}

.subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #1a252f;
    border-color: #1a252f;
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--secondary-color);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 60%);
    padding-top: 120px;
    /* Header offset */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.image-placeholder-hero {
    width: 100%;
    height: 400px;
    background-color: #d1eaed;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translateY(0);
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: translateY(-20px);
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translateY(0);
    }
}

/* Metrics Strip */
.metrics-strip {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.metrics-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.metric-item h3 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 0;
}

.metric-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: white;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Services */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: #e0f7fa;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: #edf2f7;
    line-height: 1;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
}

.testimonials .subtitle {
    color: var(--accent-color);
}

.testimonials h2,
.testimonials p {
    color: var(--white);
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
}

.testimonial-card p {
    font-size: 1.2rem;
    font-style: italic;
}

.user-info {
    margin-top: 20px;
}

.user-info h4 {
    color: var(--accent-color);
    margin-bottom: 0;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-ditem {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-ditem i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    background-color: #1a252f;
    color: #bdc3c7;
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    text-align: center;
}

.footer-brand h2 {
    color: var(--white);
    font-size: 2.5rem;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--white);
}

.footer-social a:hover {
    background: var(--primary-color);
}

/* Responsive */
@media (max-width: 900px) {

    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .metrics-container {
        flex-direction: column;
        gap: 20px;
    }

    .metrics-strip {
        padding: 40px 0;
        margin-top: 0;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .contact-ditem {
        justify-content: center;
        text-align: left;
    }

    .nav-list {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

/* Google Reviews Styles */
.google-rating-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    background: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
}

.stars {
    color: #fbbc04;
    /* Google Star Color */
    margin: 5px 0;
    font-size: 1.2rem;
}

.review-count {
    font-size: 0.8rem;
    color: var(--light-text);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f3f4;
}

.reviewer-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin-right: 12px;
}

.reviewer-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--text-color);
}

.review-stars {
    color: #fbbc04;
    font-size: 0.8rem;
}

.google-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 0;
    right: 0;
}

/* Google Reviews Section (replaces Testimonials) */
.google-reviews {
    background-color: #f8f9fa;
    /* Light background */
    text-align: center;
}

.google-reviews .review-text,
.google-reviews h2,
.google-reviews p {
    color: var(--text-color) !important;
}

.google-reviews .subtitle {
    color: var(--primary-color) !important;
}

.review-text {
    font-size: 0.95rem;
    color: #5f6368;
    /* Grey for review text */
    line-height: 1.5;
    font-style: italic;
}

/* Accessibility & Contrast Fixes */
.subtitle {
    color: var(--primary-dark);
    /* Improved contrast */
}

/* WhatsApp Bubble */
.whatsapp-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}