@import url('https://fonts.googleapis.com/css2?family=Gilda+Display&family=Syne:wght@400..800&display=swap');

/* ===== VARIABLES CSS ===== */
:root {
    --fuente-principal: "Syne", sans-serif;
    --fuente-secundaria: "Gilda Display", serif;
    --fondo-gradiente-azul: linear-gradient(135deg, #f8f4ff 0%, #e8f4ff 100%);
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--fuente-principal);
}

body {
    display: flex;
    flex-direction: column;
    background-color: rgb(255, 255, 255);
}

body,
html {
    overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
    display: flex;
    flex-direction: column;
    gap: 90px;
    position: relative;
}


.header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 75%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(152, 251, 152, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 85% 15%, rgba(255, 182, 193, 0.4) 0%, transparent 40%),
        radial-gradient(ellipse at 25% 75%, rgba(238, 130, 238, 0.3) 0%, transparent 45%),
        radial-gradient(ellipse at 75% 85%, rgba(255, 239, 213, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(230, 230, 250, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 60%, rgba(255, 228, 225, 0.3) 0%, transparent 35%), #ffffff;
    background-repeat: no-repeat;
    background-size: cover;
}


.header > * {
    position: relative;
    z-index: 1;
}

/* Header Top */

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(12px, 2vw, 30px) clamp(12px, 5vw, 60px);
    padding-inline: clamp(12px, 5vw, 60px);
    margin: 30px 2%;
    border-radius: 20px;
    background-color: #ffffff42;
    box-shadow: 0 0 30px #0C2F4F0F;
    min-height: 56px;
    min-inline-size: 320px;
    max-width: 2500px;
    position: relative;
    z-index: 10000;
}

.header-top-logo {
    width: clamp(80px, 12vw, 166px);
    max-width: 166px;
    height: auto;
}

.header-top-nav {
    display: flex;
    gap: clamp(12px, 3vw, 60px);
    align-items: center;
}

.header-top-nav-item {
    font-family: var(--fuente-principal);
    font-weight: 450;
    text-decoration: none;
    color: #272526;
    font-size: clamp(0.85rem, 0.8vw + 0.5rem, 1.125rem);
}

.header-top-nav-item:hover {
    color: #000000;
    transition: 0.3s;
}

.header-top-cta {
    padding: clamp(6px, 1vw, 5%) clamp(10px, 2vw, 5%);
    background-color: #BBF45E;
    border-radius: 9px;
    text-decoration: none;
    color: #272526;
    font-family: var(--fuente-principal);
    font-weight: 700;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: clamp(0.78rem, 1vw + 0.15rem, 0.2rem);
    line-height: 1;
}

.header-top-cta:hover {
    background-color: #A1E33C;
    transition: 0.3s;
}

/* Hide mobile CTA by default */
.header-top-cta-mobile {
    display: none;
}


.header-top-hamburger {
    display: none;
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
}

.header-top-hamburger .hamburger-line {
    display: block;
    width: 26px;
    height: 3px;
    background: #272526;
    margin: 5px 0;
    border-radius: 3px;
}

/* Header Bottom */

.header-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
}

.header-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 39px;
    text-align: center;
}

.header-bottom-content-text {
    align-items: top;
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.header-bottom-content-text-title {
    font-family: var(--fuente-principal);
    font-weight: 450;
    font-size: clamp(1rem, 1.2vw + 0.8rem, 1.75rem);
    color: #B591BB;
    line-height: 1.5;
    letter-spacing: 2px;
}

.header-bottom-content-text-subtitle {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.header-bottom-content-text-subtitle-impact {
    font-family: var(--fuente-principal);
    font-weight: 700;
    font-size: clamp(2.25rem, 6vw, 5rem);
    color: #272526;
    line-height: 1.2;
    height: auto;
    max-width: 1112px;
    width: 100%;
}

.header-bottom-content-text-subtitle-impact-highlight {
    color: #D85BE1;
    font-family: inherit;
    display: block;
}

.header-bottom-content-text-subtitle-text {
    font-family: var(--fuente-principal);
    font-weight: 350;
    font-size: clamp(0.95rem, 1.2vw + 0.2rem, 1.125rem);
    line-height: 1.8;
    letter-spacing: 3%;
    max-width: 579px;
    width: 60%;
}

.header-bottom-content-cta {
    padding: clamp(12px, 1.6vw, 20px) clamp(20px, 3vw, 40px);
    font-size: clamp(0.95rem, 1.6vw + 0.1rem, 1.15rem);
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 90px;
    background: linear-gradient(90deg, #CD85D3 0%, #9B81E8 53%, #7FB6DE 100%);
    text-decoration: none;
    color: #ffffff;
}

.header-bottom-content-cta-arrow,
.header-top-cta-arrow {
    max-width: 24px;
    width: 24px;
    height: 24px;
    display: inline-block;
    color: inherit;
    flex-shrink: 0;
    display: block;
}

.header-bottom-whyus {
    display: flex;
    gap: 30px;
    padding-bottom: 100px;
    justify-content: center;
    max-width: 1112px;
    width: 85%;
    gap: 20px;
}

.header-bottom-whyus-item {
    padding: 37px 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 410px;
    width: 30%;
    text-align: left;
    background: linear-gradient(90deg, #CD85D3 0%, #CB67D3 100%);
    position: relative;
    overflow: hidden;
}


.header-bottom-whyus-item:nth-child(1) {
    background: linear-gradient(90deg, #CD85D3 0%, #9B81E8 100%);
}

.header-bottom-whyus-item:nth-child(2) {
    background: linear-gradient(90deg, #8C81E8 0%, #796CE7 100%);
}

.header-bottom-whyus-item:nth-child(3) {
    background: linear-gradient(90deg, #74C8B7 0%, #4DC8AF 100%);
}

.header-bottom-whyus-item-icon {
    max-width: 70px;
    width: auto;
    height: auto;
}

.header-bottom-whyus-item-title {
    font-family: var(--fuente-primaria);
    font-weight: 400;
    font-size: clamp(1rem, 2.2vw + 0.2rem, 2rem);
    color: #ffffff;
    line-height: 1.5;
}

.header-bottom-whyus-item-subtitle {
    font-family: var(--fuente-principal);
    font-weight: 350;
    font-size: clamp(0.9rem, 1.1vw + 0.2rem, 1.125rem);
    line-height: 1.6;
    letter-spacing: 3%;
    color: #ffffff;
}


.header-bottom-whyus-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    max-width: 410px;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-image: url("assets/Pattern.svg");
    background-repeat: no-repeat;
    z-index: 0;
}

.header-bottom-whyus-item > * {
    position: relative;
    z-index: 1;
}

/* ===== MAIN SECTIONS ===== */
/* About Section */


.main-about {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 100px auto;
    padding: 0 clamp(20px, 5vw, 60px);
    gap: clamp(40px, 6vw, 80px);
    max-width: 1400px;
    background: var(--fondo-gradiente-azul);
}

.main-about-content {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vh, 30px);
    flex: 1;
    max-width: 600px;
    padding: 5%;
}

.main-about-content-title {
    font-family: var(--fuente-principal);
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw + 0.5rem, 3rem);
    color: #272526;
    line-height: 1.2;
}

.main-about-content-subtitle {
    font-family: var(--fuente-principal);
    font-weight: 500;
    font-size: clamp(1.05rem, 1.3vw + 0.3rem, 1.35rem);
    color: #272526;
    line-height: 1.5;
}

.main-about-content-paragraph {
    font-family: var(--fuente-principal);
    font-weight: 350;
    font-size: clamp(0.95rem, 1vw + 0.2rem, 1.125rem);
    color: #706B6D;
    line-height: 1.7;
}

.main-about-content-cta {
    padding: clamp(14px, 1.5vw, 18px) clamp(32px, 3.5vw, 48px);
    font-size: clamp(0.95rem, 1.1vw + 0.2rem, 1.125rem);
    font-family: var(--fuente-principal);
    font-weight: 600;
    border-radius: 90px;
    background: linear-gradient(90deg, #CD85D3 0%, #9B81E8 53%, #7FB6DE 100%);
    text-decoration: none;
    color: #ffffff;
    display: inline-block;
    align-self: flex-start;
    margin-top: clamp(10px, 2vh, 20px);
}

.main-about-content-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(205, 133, 211, 0.3);
    transition: all 0.3s ease;
}

.main-about-image {
    width: clamp(280px, 35vw, 480px);
    height: auto;
    flex-shrink: 0;
    border-radius: 20px;
}

/* Services Section */

.main-services {
    display: flex;
    flex-direction: column;
    gap: clamp(100px, 15vh, 160px);
    margin: 140px auto;
    padding: 0 clamp(20px, 5vw, 60px);
    max-width: 1400px;
}

.main-services-title {
    font-family: var(--fuente-principal);
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #272526;
    text-align: left;
    margin-bottom: clamp(20px, 4vh, 40px);
}

.main-services-item {
    display: flex;
    align-items: center;
    gap: clamp(50px, 7vw, 100px);
    position: relative;
}

.main-services-item-reverse {
    flex-direction: row-reverse;
}

.main-services-item-image {
    width: clamp(300px, 38vw, 500px);
    height: auto;
    border-radius: 30px;
    flex-shrink: 0;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
}

.main-services-item-content {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 2.5vh, 20px);
    flex: 1;
    max-width: 650px;
    position: relative;
    z-index: 1;
    text-align: left; /* Alineación a la izquierda por defecto */
}

.main-services-item-reverse .main-services-item-content {
    text-align: left;
}

.main-services-item-number {
    font-family: var(--fuente-secundaria);
    font-weight: 400;
    font-size: clamp(10rem, 18vw, 16rem);
    color: #ffffff;
    position: absolute;
    top: -60px;
    right: -40px;
    z-index: -1;
    user-select: none;
    opacity: 0.5;
    stroke: #E8E8E8;
    line-height: auto;
    letter-spacing: 0px;
    text-align: left;
    -webkit-text-stroke: 5px #E8E8E8;
    paint-order: stroke fill;
}

.main-services-item-reverse .main-services-item-number {
    right: auto;
    left: -40px;
}

.main-services-item-title {
    font-family: var(--fuente-principal);
    font-weight: 400;
    font-size: clamp(2rem, 3.5vw + 0.5rem, 3.5rem);
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.main-services-item-subtitle {
    font-family: var(--fuente-principal);
    font-weight: 500;
    font-size: clamp(1.05rem, 1.2vw + 0.3rem, 1.25rem);
    color: #3a3a3a;
    line-height: 1.5;
}

.main-services-item-description {
    font-family: var(--fuente-principal);
    font-weight: 350;
    font-size: clamp(0.95rem, 1vw + 0.15rem, 1.1rem);
    color: #7a7a7a;
    line-height: 1.8;
}

/* Form Section */

.main-form {
    background: linear-gradient(135deg, #f8f4ff 0%, #e8f4ff 100%);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-form-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    font-family: var(--fuente-principal);
}

/* Form Container */
.main-form-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Form Rows */
.main-form-row {
    display: flex;
    gap: 24px;
    width: 100%;
}

/* Form Fields */
.main-form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Form Labels */
.main-form-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Form Inputs */
.main-form-input,
.main-form-textarea {
    width: 100%;
    padding: 18px 24px;
    font-size: 1rem;
    color: #666;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.main-form-input::placeholder,
.main-form-textarea::placeholder {
    color: #999;
}

.main-form-input:focus,
.main-form-textarea:focus {
    outline: none;
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
}

/* Form Textarea */
.main-form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Submit Button */
.main-form-submit {
    align-self: center;
    margin-top: 20px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(167, 139, 250, 0.3);
}

.main-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 139, 250, 0.4);
}

.main-form-submit:active {
    transform: translateY(0);
}

.main-form-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.main-form-submit:hover svg {
    transform: translateX(4px);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--fondo-gradiente-azul);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px clamp(20px, 5vw, 60px);
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-copy {
    font-size: 0.9rem;
    color: #3a3a3a;
    text-align: center;
}


/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {

    .header-bottom-content-text-subtitle-impact {
        max-width: 900px;
    }

    .header-bottom-whyus {
        width: 85%;
        gap: 20px;
    }

    .header-bottom-whyus-item {
        padding: 28px 22px;
        max-width: 360px;
        width: 32%;
    }

    .main-about {
        margin: 80px auto;
        gap: clamp(30px, 5vw, 60px);
    }

    .main-about-image {
        width: clamp(240px, 32vw, 420px);
    }

    .main-services {
        margin: 100px auto;
        gap: clamp(70px, 9vh, 100px);
    }

    .main-services-item {
        gap: clamp(40px, 5vw, 70px);
    }

    .main-services-item-image {
        width: clamp(260px, 35vw, 420px);
    }

    .main-services-item-number {
        font-size: clamp(8rem, 14vw, 12rem);
        top: -50px;
    }
}

/* Medium-Small Screens - Navigation Adjustments */
@media (max-width: 850px) and (min-width: 801px) {
    .header-top-nav {
        gap: clamp(8px, 2vw, 16px);
    }

    .header-top-controls {
        gap: 16px;
    }

    .header-top-cta {
        padding: clamp(6px, 1vw, 9px) clamp(8px, 1.5vw, 16px);
        font-size: clamp(0.75rem, 1vw + 0.1rem, 0.9rem);
    }
}

@media (max-width: 800px) {

    body {
        padding: 0;
    }

    .header-top {
        margin: 12px 12px;
        width: auto;
        max-width: calc(100% - 24px);
        padding-inline: clamp(12px, 5vw, 40px);
        box-sizing: border-box;
    }

    .header-top-nav {
        gap: clamp(16px, 3vw, 24px);
    }

    .header-top-cta {

        border-radius: 8px;
        font-size: clamp(0.8rem, 1.1vw + 0.1rem, 0.95rem);
    }


    .header-top-cta,
    .header-top-nav-item {
        white-space: nowrap;
    }


    .header-top-controls {
        display: flex;
        gap: 12px;
        align-items: center;
        flex: 0 0 auto;
    }


    .header-top-nav {
        gap: clamp(6px, 1.5vw, 10px);
        flex-wrap: nowrap;
    }

    .header-bottom {
        gap: 60px;
    }

    .header-bottom-content-text-subtitle-impact {
        line-height: 1.15;
        text-align: center;
        width: 100%;
        max-width: 700px;
    }

    .header-bottom-content-text-subtitle-impact-highlight {
        display: block;
        width: 100%;
    }

    .header-bottom-content-text-subtitle-text {
        width: 50%;
        max-width: 640px;
    }

    .header-bottom-content-cta {
        padding: 16px 28px;
        border-radius: 60px;
    }


    .header-bottom-whyus-item {
        padding: 18px 14px;
        max-width: 360px;
        width: 32%;
    }

    .header-bottom-whyus-item-icon {
        max-width: 56px;
        width: 56px;
        height: auto;
    }


    .header-bottom-whyus-item-title {
        font-size: clamp(1.05rem, 2.2vw, 1.9rem);
    }

    .main-about {
        flex-direction: column;
        margin: 60px auto;
        text-align: center;
        gap: 40px;
        padding: 50px clamp(20px, 5vw, 60px);
        min-height: auto;
    }

    .main-about-image {
        width: clamp(260px, 60vw, 450px);
        order: -1;
        margin-top: 0;
    }

    .main-about-content {
        max-width: 100%;
        align-items: center;
        margin-top: 0;
    }

    .main-about-content-cta {
        align-self: center;
    }
}

@media (max-width: 700px) {

    .header-top {
        margin: 12px;
        gap: 14px;
        flex-wrap: nowrap;
    }

    .header-top-brand {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        flex: 0 1 auto;
    }


    .header-top-logo {
        width: clamp(88px, 18vw, 140px);
        max-width: 140px;
    }

    .header-top-controls {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 0 0 auto;
    }


    .header-top-hamburger {
        display: inline-block;
    }


    .header-top-hamburger {
        padding: 12px;
    }

    .header-top-hamburger .hamburger-line {
        width: 30px;
        height: 3px;
        margin: 6px 0;
    }


    .header-top-nav {
        display: none;
        flex-direction: column;
        gap: 10px;
    }

    .header-top-cta {
        padding: 10px 18px;
        border-radius: 8px;
        display: inline-flex;
        white-space: nowrap;
    }

    .header-bottom {
        gap: 60px;
    }

    .header-bottom-content-text-subtitle-impact {
        line-height: 1.15;
        text-align: center;
        width: 100%;
        max-width: 700px;
    }

    .header-bottom-content-text-subtitle-text {
        width: 50%;
        max-width: 640px;
    }

    .header-bottom-content-cta {
        padding: 16px 28px;
        border-radius: 60px;
    }

    .header-bottom-whyus {
        flex-direction: column;
        width: 100%;
        padding-bottom: 40px;
        gap: 18px;
        align-items: center;
    }

    .header-bottom-whyus-item {
        width: 70%;
        max-width: none;
        padding: 18px;
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .header-bottom-whyus-item-icon {
        width: 54px;
        height: 54px;
        flex: 0 0 54px;
    }

    .header-top-nav {
        transition: transform 240ms cubic-bezier(.2, .9, .2, 1), opacity 200ms ease-in-out;
        opacity: 0;
        transform: translateY(-6px) scale(.98);
        pointer-events: none;
    }

    .header-top-nav.open {
        display: flex;
        position: absolute;
        top: calc(100% + 8px);
        right: 12px;
        width: min(84vw, 320px);
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
        padding: 12px;
        z-index: 10001;
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .header-top-nav-item {
        padding: 10px 12px;
        text-align: right;
    }

    .main-about {
        flex-direction: column;
        margin: 50px auto;
        gap: 35px;
        padding: 20px 20px;
    }

    .main-about-content {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .main-about-content-title {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
    }

    .main-about-content-cta {
        align-self: center;
    }

    .main-about-image {
        width: clamp(240px, 65vw, 400px);
        order: -1;
    }

    /* Services Section - Mobile Layout */
    .main-services {
        margin: 60px auto;
        gap: 50px;
        padding: 0 20px;
    }

    .main-services-item {
        flex-direction: column !important;
        text-align: center;
        gap: 30px;
        position: relative;
        align-items: center;
    }

    .main-services-item-reverse {
        flex-direction: column !important;
        text-align: center;
        gap: 30px;
        position: relative;
        align-items: center;
    }

    .main-services-item-image {
        width: clamp(280px, 75vw, 450px);
        border-radius: 25px;
        order: 1;
    }

    .main-services-item-content {
        order: 2;
        text-align: center;
        max-width: 100%;
        gap: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main-services-item-number {
        font-size: clamp(4rem, 12vw, 6rem);
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        opacity: 0.3;
    }

    /* Number positioning for reverse items */
    .main-services-item-reverse .main-services-item-number {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    .main-services-item-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .main-services-item-subtitle {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
    }

    .main-services-item-description {
        font-size: clamp(0.9rem, 2.8vw, 1.05rem);
        line-height: 1.7;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header {
        gap: 40px;
    }

    .header-top-logo {

        width: clamp(96px, 22vw, 140px);
        max-width: 140px;
    }

    .header-top-nav {
        gap: 10px;
    }

    .header-bottom-content-text-subtitle-impact {
        text-align: center;
        padding: 0 6px;
    }

    .header-bottom-content-text-subtitle-text {
        width: 50%;
        letter-spacing: normal;
        padding: 0 8px;
    }

    .header-bottom-whyus-item {
        padding: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header-bottom-whyus-item-icon {
        width: 48px;
        height: auto;
    }


    .header::before {
        height: 60%;
        background-size: cover;
    }

    .main-about {
        margin: 40px auto;
        gap: 30px;
    }

    .main-about-content {
        gap: 18px;
    }

    .main-about-image {
        width: clamp(240px, 70vw, 380px);
    }

    /* Services Section - Very Small Screens */
    .main-services {
        margin: 40px auto;
        gap: 35px;
        padding: 0 15px;
    }

    .main-services-item {
        flex-direction: column !important;
        gap: 25px;
        text-align: center;
        align-items: center;
    }

    .main-services-item-reverse {
        align-items: center !important;
    }

    .main-services-item-image {
        width: clamp(260px, 80vw, 350px);
        border-radius: 20px;
        order: 1;
    }

    .main-services-item-content {
        gap: 14px;
        order: 2;
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main-services-item-number {
        font-size: clamp(3rem, 10vw, 5rem);
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        opacity: 0.25;
    }

    .main-services-item-reverse .main-services-item-number {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    .main-services-item-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
        line-height: 1.3;
    }

    .main-services-item-subtitle {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        line-height: 1.4;
    }

    .main-services-item-description {
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
        line-height: 1.6;
        max-width: 100%;
    }

    /* Form Section - Small Screens */
    .main-form {
        padding: 50px 15px;
    }

    .main-form-title {
        font-size: clamp(1.75rem, 5vw, 2.2rem);
        margin-bottom: 40px;
    }

    .main-form-row {
        flex-direction: column;
        gap: 16px;
    }

    .main-form-container {
        gap: 18px;
    }
}

/* Very Small Screens - CTA in Menu */
@media (max-width: 400px) {

    /* Hide CTA in header controls */
    .header-top-cta {
        display: none !important;
    }

    /* Show CTA inside nav menu */
    .header-top-cta-mobile {
        display: none;
        padding: clamp(6px, 1vw, 10px) clamp(10px, 2vw, 20px);
        background-color: #BBF45E;
        border-radius: 9px;
        text-decoration: none;
        color: #272526;
        font-family: var(--fuente-principal);
        font-weight: 700;
        gap: 10px;
        align-items: center;
        font-size: clamp(0.78rem, 1vw + 0.15rem, 0.98rem);
        line-height: 1;
        margin-top: 8px;
        padding: 10px 12px;
        text-align: center;
    }

    .header-top-cta-mobile:hover {
        background-color: #A1E33C;
        transition: 0.3s;
    }

    /* Show CTA when menu is open */
    .header-top-nav.open .header-top-cta-mobile {
        display: flex;
    }
}