/* ===== VARIABLES CSS ===== */
:root {
    /* Colores principales */
    --primary-color: #1e3a5f;      /* Azul oscuro */
    --secondary-color: #2563eb;    /* Azul medio */
    --accent-color: #22c55e;       /* Verde */
    --highlight-color: #7c3aed;    /* Morado */
    
    /* Colores de fondo */
    --body-color: #ffffff;
    --container-color: #f8fafc;
    --card-color: #ffffff;
    
    /* Colores de texto */
    --title-color: #1e3a5f;
    --text-color: #64748b;
    --text-color-light: #94a3b8;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    --gradient-accent: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --gradient-highlight: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #22c55e 100%);
    
    /* Tipografía */
    --body-font: 'Red Hat Text', sans-serif;
    --biggest-font-size: 3.5rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.75rem;
    
    /* Espaciado */
    --header-height: 6rem; /* Aumentado para acomodar el logo más grande */
    --section-padding: 6rem 0;
    --container-padding: 0 1.5rem;
    
    /* Sombras */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-button: 0 4px 16px rgba(37, 99, 235, 0.3);
    
    /* Transiciones */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Border radius */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--title-color);
    font-weight: 600;
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea {
    border: none;
    outline: none;
    font-family: inherit;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: var(--h2-font-size);
    margin-bottom: 1rem;
    color: var(--title-color);
}

.section__subtitle {
    font-size: var(--normal-font-size);
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: var(--normal-font-size);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 3rem;
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-button);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn--secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn--secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.btn--accent {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.btn--accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.btn--full {
    width: 100%;
}

.btn__text {
    transition: var(--transition);
}

.btn__loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition);
}

.btn.loading .btn__text {
    opacity: 0;
}

.btn.loading .btn__loader {
    opacity: 1;
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0.5rem 0; /* Agregado padding vertical para centrar mejor el logo */
}

.nav__logo-link {
    display: block;
    text-decoration: none;
}

.nav__logo-img {
    height: 90px; /* Aumentado de 60px a 90px */
    width: auto;
    transition: var(--transition);
}

.nav__logo-img:hover {
    transform: scale(1.05);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--secondary-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.25rem;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--title-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-size: var(--biggest-font-size);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero__title-highlight {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__graphic {
    position: relative;
    width: 400px;
    height: 400px;
}

.hero__nodes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-hero);
    animation: float 6s ease-in-out infinite;
}

.node--1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.node--2 {
    top: 60%;
    left: 10%;
    animation-delay: 1s;
}

.node--3 {
    top: 80%;
    left: 60%;
    animation-delay: 2s;
}

.node--4 {
    top: 30%;
    right: 20%;
    animation-delay: 3s;
}

.node--5 {
    top: 70%;
    right: 30%;
    animation-delay: 4s;
}

.node--6 {
    top: 10%;
    left: 50%;
    animation-delay: 5s;
}

.hero__connections {
    position: absolute;
    width: 100%;
    height: 100%;
}

.connection {
    position: absolute;
    height: 2px;
    background: var(--gradient-hero);
    transform-origin: left center;
    animation: pulse 4s ease-in-out infinite;
}

.connection--1 {
    top: 30%;
    left: 30%;
    width: 100px;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.connection--2 {
    top: 70%;
    left: 20%;
    width: 120px;
    transform: rotate(-30deg);
    animation-delay: 1s;
}

.connection--3 {
    top: 85%;
    left: 70%;
    width: 80px;
    transform: rotate(60deg);
    animation-delay: 2s;
}

.connection--4 {
    top: 40%;
    right: 30%;
    width: 90px;
    transform: rotate(-45deg);
    animation-delay: 3s;
}

.connection--5 {
    top: 15%;
    left: 60%;
    width: 110px;
    transform: rotate(15deg);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color-light);
    font-size: var(--small-font-size);
}

.hero__scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--gradient-primary);
    position: relative;
    animation: scroll 2s ease-in-out infinite;
}

.hero__scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--secondary-color);
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--container-color);
}

.services__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service__card {
    background: var(--card-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service__card:hover::before {
    transform: scaleX(1);
}

.service__card--featured {
    border: 2px solid var(--accent-color);
    position: relative;
}

.service__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: var(--smaller-font-size);
    font-weight: 500;
}

.service__icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.service__icon--featured {
    background: var(--gradient-accent);
}

.service__title {
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
    color: var(--title-color);
}

.service__description {
    color: var(--text-color);
    line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__description {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about__feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about__feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.about__feature-content h3 {
    font-size: var(--h3-font-size);
    margin-bottom: 0.5rem;
    color: var(--title-color);
}

.about__feature-content p {
    color: var(--text-color);
    line-height: 1.6;
}

.about__graphic {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.about__hexagon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--gradient-highlight);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

.about__hexagon-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.2;
    animation: rotate 15s linear infinite reverse;
}

.about__dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.about__dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    animation: float 4s ease-in-out infinite;
}

.about__dot--1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.about__dot--2 {
    top: 70%;
    left: 10%;
    animation-delay: 1s;
}

.about__dot--3 {
    top: 80%;
    right: 20%;
    animation-delay: 2s;
}

.about__dot--4 {
    top: 30%;
    right: 30%;
    animation-delay: 3s;
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== RESPOND.IO SECTION ===== */
.respondio {
    background: var(--gradient-primary);
    color: white;
}

.respondio__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.respondio .section__title {
    color: white;
    margin-bottom: 1.5rem;
}

.respondio__highlight {
    color: var(--accent-color);
}

.respondio__description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.respondio__benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.respondio__benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.respondio__benefit-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.respondio__mockup {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-card);
}

.respondio__screen {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.respondio__header {
    background: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.respondio__avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
}

.respondio__name {
    font-weight: 600;
    color: var(--title-color);
}

.respondio__status {
    font-size: var(--small-font-size);
    color: var(--accent-color);
}

.respondio__messages {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.respondio__message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: var(--small-font-size);
}

.respondio__message--incoming {
    background: white;
    color: var(--text-color);
    align-self: flex-start;
    box-shadow: var(--shadow);
}

.respondio__message--outgoing {
    background: var(--gradient-primary);
    color: white;
    align-self: flex-end;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: var(--container-color);
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact__description {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact__info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact__info-item h3 {
    font-size: var(--h3-font-size);
    margin-bottom: 0.25rem;
    color: var(--title-color);
}

.contact__info-item p {
    color: var(--text-color);
}

.contact__form-container {
    background: var(--card-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form__label {
    font-weight: 500;
    color: var(--title-color);
}

.form__input,
.form__textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: var(--normal-font-size);
    transition: var(--transition);
    background: white;
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact__success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.contact__success.show {
    display: block;
}

.success__icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.contact__success h3 {
    font-size: var(--h3-font-size);
    margin-bottom: 0.5rem;
    color: var(--title-color);
}

.contact__success p {
    color: var(--text-color);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--title-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer__container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__logo-img {
    height: 90px; /* Aumentado de 70px a 90px */
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1); /* Para hacerlo blanco en fondo oscuro */
    opacity: 0.9;
    transition: var(--transition);
}

.footer__logo-img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Logo como texto (fallback) */
.footer__logo-text {
    display: none; /* Oculto por defecto, se muestra si la imagen falla */
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer__logo-text-main {
    color: white;
}

.footer__logo-text-highlight {
    color: var(--accent-color);
}

/* Si la imagen no carga, mostrar el texto */
.footer__logo-img:not([src]), 
.footer__logo-img[src=""],
.footer__logo-img[src*="error"] {
    display: none;
}

.footer__logo-img:not([src]) + .footer__logo-text,
.footer__logo-img[src=""] + .footer__logo-text,
.footer__logo-img[src*="error"] + .footer__logo-text {
    display: block;
}

.footer__description {
    opacity: 0.8;
    line-height: 1.6;
}

.footer__title {
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
    color: white;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__link {
    opacity: 0.8;
    transition: var(--transition);
}

.footer__link:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer__social-links {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer__social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer__copyright {
    opacity: 0.6;
    font-size: var(--small-font-size);
}

/* ===== SCROLL TOP BUTTON ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
    :root {
        --biggest-font-size: 3rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.75rem;
    }
    
    .hero__container,
    .about__container,
    .respondio__container,
    .contact__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero__graphic,
    .about__graphic {
        width: 300px;
        height: 300px;
    }
    
    .services__container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    :root {
        --biggest-font-size: 2.5rem;
        --h1-font-size: 2rem;
        --h2-font-size: 1.5rem;
        --section-padding: 4rem 0;
        --header-height: 5rem; /* Ajustado para tablets */
    }
    
    .nav__logo-img {
        height: 70px; /* Aumentado de 50px a 70px */
    }
    
    .footer__logo-img {
        height: 75px; /* Aumentado de 55px a 75px */
    }
    
    .nav__menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav__menu.show-menu {
        left: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero__graphic,
    .about__graphic {
        width: 250px;
        height: 250px;
    }
    
    .services__container {
        grid-template-columns: 1fr;
    }
    
    .footer__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer__social-links {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --biggest-font-size: 2rem;
        --h1-font-size: 1.75rem;
        --h2-font-size: 1.25rem;
        --section-padding: 3rem 0;
        --header-height: 4.5rem; /* Ajustado para móviles */
    }
    
    .nav__logo-img {
        height: 60px; /* Aumentado de 40px a 60px */
    }
    
    .footer__logo-img {
        height: 65px; /* Aumentado de 45px a 65px */
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__description {
        font-size: 1rem;
    }
    
    .hero__graphic,
    .about__graphic {
        width: 200px;
        height: 200px;
    }
    
    .service__card {
        padding: 2rem 1.5rem;
    }
    
    .contact__form-container {
        padding: 2rem 1.5rem;
    }
    
    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* ===== ANIMATIONS ===== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
} 