/* ===== VARIABLES CSS ===== */
:root {
    --header-height: 4rem;
    
    /* Colors */
    --primary-color: #EEC4F2;
    --primary-dark: #D49FDC;
    --primary-light: #F5DDF7;
    --secondary-color: #F2C4DE;
    --accent-color: #FFB6D9;
    
    --white-color: #FFFFFF;
    --text-color: #4A3456;
    --text-light: #8B7A94;
    --body-color: #FEFBFF;
    --container-color: #FFFFFF;
    --border-color: #F5E6FA;
    
    /* Typography */
    --body-font: 'Poppins', sans-serif;
    --title-font: 'Playfair Display', serif;
    
    --biggest-font-size: 3.5rem;
    --h1-font-size: 2.75rem;
    --h2-font-size: 2.25rem;
    --h3-font-size: 1.75rem;
    --normal-font-size: 1.125rem;
    --small-font-size: 1rem;
    --smaller-font-size: 0.938rem;
    
    /* Font Weight */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;
    
    /* Spacing */
    --mb-0-5: 0.5rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;
    
    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
    
    /* Transitions */
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
    
    /* Shadows */
    --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive Typography */
@media screen and (max-width: 992px) {
    :root {
        --biggest-font-size: 2.25rem;
        --h1-font-size: 2rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 0.938rem;
        --small-font-size: 0.813rem;
        --smaller-font-size: 0.75rem;
    }
}

/* ===== BASE ===== */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    color: var(--text-color);
    font-weight: var(--font-semi-bold);
    font-family: var(--title-font);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding: 5rem 0 3rem;
}

.section__header {
    text-align: center;
    margin-bottom: var(--mb-3);
}

.section__subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-0-5);
}

.section__title {
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-1);
    position: relative;
    display: inline-block;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: var(--font-medium);
    transition: all var(--transition-fast);
}

.button--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white-color);
    box-shadow: var(--shadow-medium);
}

.button--primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-large);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: transparent;
    transition: all var(--transition-fast);
}

.header.scroll-header {
    background-color: var(--white-color);
    box-shadow: var(--shadow-small);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: var(--font-semi-bold);
    color: var(--text-color);
    font-size: 2rem;
}

.nav__logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav__logo i {
    color: var(--primary-color);
    font-size: 2.25rem;
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    color: var(--text-color);
    font-weight: var(--font-medium);
    transition: color var(--transition-fast);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 8rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAF0FD 100%);
    position: relative;
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 3rem;
}

.hero__content {
    z-index: 1;
}

.hero__subtitle {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-1);
    animation: fadeInUp 0.8s ease-out;
}

.hero__title {
    font-size: var(--biggest-font-size);
    margin-bottom: var(--mb-1);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero__description {
    font-size: var(--h3-font-size);
    color: var(--text-light);
    margin-bottom: var(--mb-2);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero__content .button {
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero__image {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeIn 1s ease-out;
}

.hero__image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 50%;
    box-shadow: var(--shadow-large);
    position: relative;
    z-index: 2;
    border: 8px solid var(--white-color);
}

.hero__blob {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.3;
    animation: blobAnimation 8s infinite alternate;
}

.hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero__wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    fill: var(--white-color);
}

/* ===== ABOUT SECTION ===== */
.about__container {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.about__image {
    position: relative;
}

.about__img {
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    width: 100%;
}

.about__experience {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white-color);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-large);
}

.about__experience-number {
    font-size: var(--h1-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 0;
}

.about__experience-text {
    font-size: var(--small-font-size);
    margin: 0;
    line-height: 1.4;
}

.about__content {
    animation: fadeInUp 0.8s ease-out;
    text-align: center;
}

.about__description {
    margin-bottom: var(--mb-1-5);
    color: var(--text-light);
    text-align: center;
}

.about__info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: var(--mb-2);
}

.about__info-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--body-color);
    border-radius: 15px;
    transition: all var(--transition-fast);
}

.about__info-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-small);
}

.about__info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.about__info-item > div {
    flex: 1;
    min-width: 0;
}

.about__info-item h4 {
    font-size: var(--normal-font-size);
    margin-bottom: 0.25rem;
}

.about__info-item p {
    font-size: var(--small-font-size);
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
    word-wrap: break-word;
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--body-color);
}

.services__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service__card {
    background-color: var(--white-color);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.service__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

.service__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--mb-1-5);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: 20px;
    transition: all var(--transition-fast);
}

.service__card:hover .service__icon {
    transform: rotateY(360deg);
}

.service__icon i {
    font-size: 2.5rem;
    color: var(--white-color);
}

.service__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
}

.service__description {
    color: var(--text-light);
    font-size: var(--small-font-size);
    line-height: 1.8;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial__card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-small);
    transition: all var(--transition-fast);
}

.testimonial__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--mb-1-5);
}

.testimonial__img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial__name {
    font-size: var(--normal-font-size);
    margin-bottom: 0.25rem;
}

.testimonial__stars {
    color: var(--accent-color);
    font-size: var(--small-font-size);
}

.testimonial__description {
    color: var(--text-light);
    font-size: var(--small-font-size);
    line-height: 1.8;
    font-style: italic;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: var(--body-color);
}

.contact__container {
    max-width: 800px;
    margin: 0 auto;
}

.contact__info {
    text-align: center;
}

.contact__info-title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-1);
}

.contact__info-description {
    color: var(--text-light);
    margin-bottom: var(--mb-2);
}

.contact__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: var(--mb-2-5);
    margin-top: var(--mb-2);
}

.contact__card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--white-color);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-small);
    transition: all var(--transition-fast);
}

.contact__card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.contact__card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact__card > div {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.contact__card h4 {
    font-size: var(--normal-font-size);
    margin-bottom: 0.25rem;
}

.contact__card p {
    font-size: var(--small-font-size);
    color: var(--text-light);
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.contact__social-title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
}

.contact__social-links {
    display: flex;
    gap: 1rem;
}

.contact__social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.contact__social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-medium);
}

/* Contact Form */
.contact__form {
    background-color: var(--white-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

.contact__form-div {
    margin-bottom: var(--mb-1-5);
}

.contact__form-tag {
    display: block;
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact__form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: var(--normal-font-size);
    font-family: var(--body-font);
    transition: all var(--transition-fast);
}

.contact__form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(106, 176, 76, 0.1);
}

.contact__form-area {
    grid-column: 1 / -1;
}

.contact__form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact__form .button {
    width: 100%;
    justify-content: center;
    margin-top: var(--mb-1);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color);
    padding: 4rem 0 2rem;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: var(--mb-2-5);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--text-color);
    margin-bottom: var(--mb-1);
}

.footer__logo i {
    color: var(--white-color);
    font-size: 1.5rem;
}

.footer__description {
    color: rgba(74, 52, 86, 0.8);
    font-size: var(--small-font-size);
}

.footer__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1-5);
}

.footer__links {
    display: grid;
    gap: 0.75rem;
}

.footer__link {
    color: rgba(74, 52, 86, 0.8);
    font-size: var(--small-font-size);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__link:hover {
    color: var(--white-color);
    transform: translateX(5px);
}

.footer__links i {
    color: var(--white-color);
    font-size: 1rem;
}

.footer__copy {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer__copy p {
    color: rgba(74, 52, 86, 0.9);
    font-size: var(--small-font-size);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-large);
    z-index: var(--z-tooltip);
    transition: all var(--transition-fast);
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}

/* ===== SCROLL UP BUTTON ===== */
.scrollup {
    position: fixed;
    bottom: 2rem;
    right: 6rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-medium);
    z-index: var(--z-tooltip);
    transition: all var(--transition-fast);
    opacity: 0;
    visibility: hidden;
}

.scrollup.show-scroll {
    opacity: 1;
    visibility: visible;
}

.scrollup:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes blobAnimation {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== MEDIA QUERIES ===== */

/* Tablets */
@media screen and (max-width: 992px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .section {
        padding: 4rem 0 2rem;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__image {
        order: -1;
    }
    
    .hero__image-wrapper {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
    
    .hero__img {
        width: 280px;
        height: 280px;
    }
    
    .about__info {
        grid-template-columns: 1fr;
    }
    
    .services__container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials__container {
        grid-template-columns: 1fr;
    }
    
    .contact__cards {
        grid-template-columns: 1fr;
    }
    
    .contact__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .nav__logo-img {
        height: 35px;
    }
    
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: var(--white-color);
        padding: 4rem 2rem;
        transition: right var(--transition-fast);
        box-shadow: var(--shadow-large);
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav__link {
        font-size: var(--h3-font-size);
    }
    
    .nav__close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .nav__toggle {
        display: block;
    }
    
    .hero {
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 5rem;
    }
    
    .services__container {
        grid-template-columns: 1fr;
    }
    
    .contact__cards {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 1.75rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .scrollup {
        right: 5rem;
        bottom: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .hero__image-wrapper {
        width: 250px;
        height: 250px;
    }
    
    .hero__img {
        width: 230px;
        height: 230px;
    }
    
    .service__card {
        padding: 2rem 1.5rem;
    }
    
    .contact__form {
        padding: 1.5rem;
    }
    
    .scrollup {
        display: none;
    }
}

/* Horizontal Scroll Fix */
@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
}