/* ===================================================
   QUILLACONCRETOS WEB
   CSS completo corregido, optimizado y ordenado
   Ruta esperada: css/styles.css
=================================================== */

:root {
    --primary: #009245;
    --primary-dark: #007a3a;
    --primary-soft: rgba(0, 146, 69, .12);
    --secondary: #f36f21;

    --dark: #102033;
    --text: #425466;
    --muted: #6b7280;
    --light: #f8f8f8;
    --white: #ffffff;
    --border: #e6e6e6;
    --danger: #d93025;

    --container-xl: 1700px;
    --container-lg: 1440px;
    --container-md: 1320px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;

    --shadow-soft: 0 18px 45px rgba(0, 0, 0, .08);
    --shadow-medium: 0 22px 45px rgba(0, 0, 0, .14);
    --shadow-green: 0 14px 30px rgba(0, 146, 69, .28);

    --transition: .25s ease;
}

/* =========================
   RESET BASE
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background: var(--white);
}

img {
    max-width: 100%;
}

a {
    -webkit-tap-highlight-color: transparent;
}

#cotizador {
    scroll-margin-top: 120px;
}

/* =========================
   HEADER
========================= */

.main-header {
    height: 88px;
    background: var(--white);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1800;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .04);
    transition: height .3s ease, box-shadow .3s ease;
}

.main-header.header-scrolled {
    height: 72px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .10);
}

.header-inner {
    width: 100%;
    max-width: var(--container-lg);
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 300px;
    display: block;
    transition: width .3s ease;
}

.main-header.header-scrolled .logo img {
    width: 260px;
}

.nav-menu {
    display: flex;
    gap: 34px;
    align-items: center;
}

.nav-menu a {
    position: relative;
    text-decoration: none;
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
    padding: 8px 0;
    transition: color .3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 999px;
    transform: translateX(-50%);
    transition: width .35s cubic-bezier(.22, 1, .36, 1);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-contacto {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 0 0 0 26px;
    font-weight: 800;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-contacto:hover {
    background: var(--primary-dark);
}

/* =========================
   HERO
========================= */

.hero {
    background: var(--white);
    padding: 20px 0 10px;
    overflow: hidden;
}

.hero-content {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 70px;
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    gap: 10px;
}

.hero-left {
    position: relative;
    z-index: 2;
}

.hero h1 {
    max-width: 780px;
    font-size: 68px;
    line-height: 1.04;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 60px;
}

.hero h1 span {
    color: var(--primary-dark);
}

.hero p {
    max-width: 700px;
    font-size: 20px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
}

.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-right img {
    width: 145%;
    max-width: none;
    display: block;
    position: relative;
    left: -120px;
    top: -70px;
}

/* =========================
   COTIZADOR
========================= */

.quote-box {
    width: calc(100% - 88px);
    max-width: var(--container-xl);
    margin: -55px auto 0;
    display: grid;
    grid-template-columns: 2fr 1.3fr 1.6fr 1.6fr 240px;
    gap: 16px;
    align-items: center;
    background: var(--primary-soft);
    backdrop-filter: blur(10px);
    padding: 22px 26px;
    border-radius: var(--radius-lg);
}

.campo {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.campo input,
.campo select,
.quote-box button {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    outline: none;
    background: var(--white);
    color: var(--dark);
}

.campo select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-left: 18px;
    padding-right: 55px;
}

.campo:has(select)::after {
    content: "";
    position: absolute;
    top: 22px;
    right: 24px;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--dark);
    border-bottom: 2px solid var(--dark);
    transform: rotate(45deg);
    pointer-events: none;
}

#cantidad {
    text-align: left;
    padding-right: 14px;
}

.campo input:focus,
.campo select:focus {
    border: 2px solid var(--primary);
}

.quote-box button {
    align-self: center;
    background: var(--primary);
    color: var(--white);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.quote-box button:hover {
    background: var(--primary-dark);
}

.campo small {
    display: none;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--danger);
    line-height: 1.2;
}

.campo.error small {
    display: block;
}

.campo.error input,
.campo.error select {
    border: 2px solid var(--danger);
}

.campo.success input,
.campo.success select {
    border: 2px solid var(--primary);
}

/* =========================
   NOSOTROS
========================= */

.nosotros {
    padding: 20px 0 82px;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.nosotros::before,
.nosotros::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    background-image: radial-gradient(#d8d8d8 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: .55;
    z-index: 0;
    pointer-events: none;
}

.nosotros::before {
    top: 28px;
    left: 24px;
}

.nosotros::after {
    right: 34px;
    bottom: 92px;
}

.nosotros-heading {
    width: min(var(--container-md), calc(100% - 64px));
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.nosotros-heading h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
    font-size: clamp(38px, 4vw, 60px);
    line-height: 1.08;
    letter-spacing: -2px;
    font-weight: 800;
    color: var(--dark);
}

.linea-1 {
    color: var(--dark);
}

.linea-2 {
    color: var(--primary);
    margin-top: 2px;
}

.word-underline {
    display: inline;
    text-decoration-line: underline;
    text-decoration-thickness: 0.05em;
    text-underline-offset: 0.12em;
    text-decoration-skip-ink: auto;
    text-decoration-color: transparent;
    transition: text-decoration-color 2.2s cubic-bezier(.22, 1, .36, 1);
}

.nosotros-heading.animate .word-underline {
    text-decoration-color: var(--primary);
}

.nosotros-heading.animate .word-underline:nth-child(1) {
    transition-delay: .35s;
}

.nosotros-heading.animate .word-underline:nth-child(2) {
    transition-delay: .90s;
}

.nosotros-heading.animate .word-underline:nth-child(3) {
    transition-delay: 1.45s;
}

.nosotros-heading.animate .word-underline:nth-child(4) {
    transition-delay: 2s;
}

.nosotros-container,
.nosotros-stats {
    width: min(var(--container-md), calc(100% - 64px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.nosotros-container {
    display: grid;
    grid-template-columns: .85fr 1.4fr;
    gap: 72px;
    align-items: center;
}

.nosotros-texto {
    max-width: 650px;
}

.decor-line {
    display: block;
    width: 48px;
    height: 5px;
    background: var(--primary);
    border-radius: 50px;
    margin-bottom: 28px;
}

.nosotros-texto p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 34px;
}

.nosotros-texto strong {
    color: var(--primary);
}

.nosotros-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 56px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 28px;
    border-radius: 18px;
    box-shadow: var(--shadow-green);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.nosotros-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(0, 146, 69, .35);
}

.nosotros-btn span {
    font-size: 24px;
    line-height: 1;
}

.nosotros-imagen {
    position: relative;
}

.nosotros-imagen img {
    width: 100%;
    display: block;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-medium);
    object-fit: cover;
}

.nosotros-badge {
    position: absolute;
    left: 50%;
    bottom: -28px;
    width: min(560px, 78%);
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    padding: 16px 28px;
    border-radius: var(--radius-md);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
    opacity: 0;
    transform: translateX(-50%) translateY(28px) scale(.96);
    transition: opacity .9s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
    transition-delay: .25s;
}

.nosotros-badge.animate {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.nosotros-badge strong {
    display: block;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 6px;
    text-align: center;
}

.nosotros-badge span {
    display: block;
    font-size: 14.5px;
    line-height: 1.5;
    opacity: .96;
    text-align: center;
    max-width: 90%;
}

.nosotros-stats {
    margin-top: 78px;
    background: var(--white);
    border-radius: 18px;
    padding: 28px 36px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr 1.45fr 1.15fr;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

.stat-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    min-height: 88px;
    padding: 0 28px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    margin-top: 6px;
}

.stat-info strong {
    display: block;
    color: #FFCA00;
    font-size: clamp(36px, 3vw, 46px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -1px;
    margin-bottom: 8px;
    white-space: nowrap;
}

.stat-number {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin-bottom: 8px;
}

.stat-number strong {
    margin-bottom: 0;
}

.unit,
.stat-number .unit {
    color: #FFCA00;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
    max-width: none;
    white-space: nowrap;
}

.stat-info span {
    display: block;
    color: #202020;
    font-size: 15px;
    line-height: 1.3;
    max-width: none;
    white-space: nowrap;
}

.stat-equipo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.stat-equipo span {
    font-size: 15px;
    color: #666;
    margin-bottom: 3px;
}

.stat-equipo p {
    margin: 0;
    color: #202020;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    max-width: 180px;
}


/* =========================
   SERVICIOS
========================= */

.servicios {
    padding: 56px 0 50px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.servicios::before,
.servicios::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border: 2px solid rgba(0, 146, 69, .12);
    border-radius: 50%;
    opacity: .9;
    filter: blur(1px);
    pointer-events: none;
}

.servicios::before {
    top: 40px;
    left: -150px;
    border-right: none;
    border-bottom: none;
}

.servicios::after {
    bottom: 70px;
    right: -150px;
    border-left: none;
    border-top: none;
}

.servicios::before,
.servicios::after {

    opacity: .8;
    filter: blur(1px);
}

.servicios-heading {
    width: min(var(--container-md), calc(100% - 64px));
    margin: 0 auto 55px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.servicios-heading .decor-line {
    margin: 0 auto 18px;
}

.servicios-heading h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.05;
    letter-spacing: -1.6px;
    font-weight: 800;
    color: var(--dark);
}

.servicios-heading p {
    max-width: 760px;
    margin: 24px auto 0;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 400;
    color: var(--text);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: .8s ease;
    transition-delay: .35s;
}

.servicios-heading h2 .linea-1 {
    color: var(--dark);
}

.servicios-heading h2 .linea-2 {
    color: var(--primary);
    margin-top: 0;
    position: relative;
    display: inline-block;
}

.servicios-heading h2 .linea-2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 4px;
    background: var(--primary);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 3.2s cubic-bezier(.22, 1, .36, 1);
}

.servicios-heading.animate .linea-2::after {
    transform: scaleX(1);
}

.servicios-heading.animate .linea-2 {
    text-decoration-color: var(--primary);
}

.servicios-heading.animate p {
    opacity: 1;
    transform: translateY(0);
}

.servicios-grid {
    width: min(var(--container-md), calc(100% - 64px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
    z-index: 1;
}

.servicio-card {
    position: relative;
    background: var(--white);
    border-radius: 22px;
    overflow: visible;
    cursor: pointer;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .10);
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 1.15s ease,
        transform 1.15s cubic-bezier(.22, 1, .36, 1),
        box-shadow .35s ease;
}

.servicio-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.servicio-card:nth-child(1) {
    transition-delay: .15s;
}

.servicio-card:nth-child(2) {
    transition-delay: .30s;
}

.servicio-card:nth-child(3) {
    transition-delay: .45s;
}

.servicio-card:nth-child(4) {
    transition-delay: .60s;
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .16);
}

.servicio-card:hover .servicio-content h3 {
    color: #009245;
}

.servicio-card:hover .servicio-icon {
    transform: scale(1.12);
    box-shadow: 0 14px 30px rgba(0, 146, 69, .35);
}

.servicio-img {
    height: 190px;
    overflow: hidden;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
}

.servicio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}

.servicio-card:hover .servicio-img img {
    transform: scale(1.06);
}

.servicio-icon {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 148px;
    left: 28px;
    border: 4px solid var(--white);
    box-shadow:
        0 10px 25px rgba(0, 146, 69, .25),
        0 0 0 6px rgba(255, 255, 255, .45);
    z-index: 5;
    transition:
        transform .35s cubic-bezier(.22, 1, .36, 1),
        box-shadow .35s ease;
}

.servicio-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.servicio-content {
    padding: 28px 28px 34px;
}

.servicio-content h3 {
    font-size: 22px;
    line-height: 1.05;
    font-weight: 800;
    color: #FDB913;
    margin-bottom: 14px;
    text-align: center;
    transition: color .35s ease;
}

.servicio-content p {
    font-size: 14.5px;
    line-height: 1.55;
    color: #333;
    text-align: center;
    margin: 0 auto;
    max-width: 90%;
}

/* =========================
   PROCESO
========================= */

.proceso {
    padding: 40px 0 50px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.proceso-heading {
    width: min(var(--container-md), calc(100% - 64px));
    margin: 0 auto 42px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.proceso-heading .decor-line {
    margin: 0 auto 18px;
}

.proceso-heading h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.05;
    letter-spacing: -1.6px;
    font-weight: 800;
}

.proceso-heading .linea-1 {
    color: var(--dark);
}

.proceso-heading .linea-2 {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.proceso-heading .linea-2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 4px;
    background: var(--primary);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 3.2s cubic-bezier(.22, 1, .36, 1);
}

.proceso-heading.animate .linea-2::after {
    transform: scaleX(1);
}

.proceso-heading p {
    max-width: 760px;
    margin: 24px auto 0;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 400;
    color: var(--text);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: .8s ease;
    transition-delay: .35s;
}

.proceso-heading.animate p {
    opacity: 1;
    transform: translateY(0);
}

.proceso-wrapper {
    width: min(var(--container-md), calc(100% - 64px));
    margin: 0 auto;
    padding: 56px 30px 46px;
    border: 1px solid rgba(16, 32, 51, .08);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .05);
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, .92);
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.22, 1, .36, 1);
}

.proceso-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    position: relative;
    z-index: 2;
}

.proceso-linea {
    position: absolute;
    top: 82px;
    left: 8%;
    right: 8%;
    height: 3px;
    z-index: 1;
    overflow: hidden;
}

.proceso-linea::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg,
            rgba(16, 32, 51, .18) 0,
            rgba(16, 32, 51, .18) 8px,
            transparent 8px,
            transparent 16px);
}

.proceso-linea::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        repeating-linear-gradient(90deg,
            #FDB913 0,
            #FDB913 8px,
            transparent 8px,
            transparent 16px);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 2.8s cubic-bezier(.22, 1, .36, 1),
        background .35s ease;
}

.proceso-item {
    text-align: center;
    position: relative;
    padding-top: 0;
    cursor: pointer;
    transition:
        opacity .9s ease,
        transform .35s cubic-bezier(.22, 1, .36, 1);
}

.proceso-numero {
    width: 50px;
    height: 50px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    box-shadow:
        0 12px 24px rgba(0, 146, 69, .28),
        0 0 0 12px #fff;
    position: relative;
    z-index: 3;
}

.proceso-icono {
    width: 80px;
    height: 80px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #FDB913;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(253, 185, 19, .28);
    position: relative;
    overflow: visible;
}

.proceso-icono img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    opacity: 0;
    transform: scale(.65);
    transition: none;
    position: relative;
    z-index: 2;
}

.proceso-icono::before,
.proceso-icono::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 3px solid rgba(253, 185, 19, .85);
    box-shadow: 0 0 28px rgba(253, 185, 19, .45);
    opacity: 0;
    transform: scale(.65);
    pointer-events: none;
}

.proceso-item.icon-active .proceso-icono {
    animation: iconCirclePulse .9s cubic-bezier(.22, 1, .36, 1) both;
    box-shadow:
        0 16px 34px rgba(253, 185, 19, .36),
        0 0 0 10px rgba(253, 185, 19, .12);
}

.proceso-item.icon-active .proceso-icono::before {
    animation: iconRing 1.15s cubic-bezier(.22, 1, .36, 1) both;
}

.proceso-item.icon-active .proceso-icono::after {
    animation: iconRing 1.15s cubic-bezier(.22, 1, .36, 1) .12s both;
}

.proceso-item.icon-active .proceso-icono img {
    animation: iconReveal .9s cubic-bezier(.22, 1, .36, 1) both;
}

.proceso-item.complete .proceso-icono img {
    opacity: 1;
    transform: scale(1);
}

.proceso-item.icon-visible .proceso-icono img {
    opacity: 1;
    transform: scale(1);
}

@keyframes iconCirclePulse {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes iconRing {
    0% {
        opacity: 1;
        transform: scale(.65);
    }

    55% {
        opacity: .75;
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

@keyframes iconReveal {
    0% {
        opacity: 0;
        transform: scale(.55);
    }

    45% {
        opacity: 1;
        transform: scale(1.22);
    }

    70% {
        transform: scale(.94);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.proceso-item h3 {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
    color: #FDB913;
    margin-bottom: 12px;
}

.proceso-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    max-width: 175px;
    margin: 0 auto;
}

.proceso-item {
    opacity: 0;
    transform: translateY(28px);
}

.proceso-heading.animate,
.proceso-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.proceso-wrapper.animate .proceso-linea::after {
    transform: scaleX(1);
    background: #FDB913;
}

.proceso-wrapper.complete .proceso-linea::after {
    background: var(--primary);
}

.proceso-wrapper.complete .proceso-icono {
    filter: saturate(.92);
    background: #eef1ee;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, .06),
        0 0 0 1px rgba(0, 0, 0, .05),
        inset 0 1px 2px rgba(255, 255, 255, .9);
    transition:
        background .45s ease,
        box-shadow .45s ease,
        transform .45s ease;
}

.proceso-wrapper.animate {
    opacity: 1;
    transform: translateY(0);
}

.proceso-item:nth-child(1),
.proceso-item:nth-child(2),
.proceso-item:nth-child(3),
.proceso-item:nth-child(4),
.proceso-item:nth-child(5),
.proceso-item:nth-child(6) {
    transition-delay: 0s;
}

.proceso-numero {
    transform: scale(.85);
    transition:
        transform .55s cubic-bezier(.22, 1, .36, 1),
        box-shadow .55s ease;
}

.proceso-item.animate .proceso-numero {
    transform: scale(1);
    box-shadow:
        0 14px 28px rgba(0, 146, 69, .34),
        0 0 0 10px rgba(0, 146, 69, .12);
}

.proceso-numero {
    transition:
        background .45s ease,
        transform .55s cubic-bezier(.22, 1, .36, 1),
        box-shadow .55s ease;
}

.proceso-item.progress .proceso-numero {
    background: #FDB913;
    color: var(--white);

    box-shadow:
        0 14px 28px rgba(253, 185, 19, .35),
        0 0 0 10px rgba(253, 185, 19, .18);
}

.proceso-item.complete .proceso-numero {
    background: var(--primary);
    color: var(--white);

    box-shadow:
        0 14px 28px rgba(0, 146, 69, .34),
        0 0 0 10px rgba(0, 146, 69, .12);
}

.proceso-icono {
    transition:
        background .45s ease,
        box-shadow .55s ease,
        transform .45s cubic-bezier(.22, 1, .36, 1),
        filter .45s ease;
}

@keyframes procesoPop {
    0% {
        transform: scale(.88);
        opacity: .7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.proceso-item:hover {
    transform: translateY(-8px);
}

.proceso-item:hover .proceso-numero {
    transform: scale(1.12);
}

.proceso-item:hover .proceso-icono {
    transform: scale(1.08);
}

.proceso-item h3 {
    transition: color .3s ease;
}

.proceso-item:hover h3 {
    color: var(--primary);
}

/* =========================
   MENÚ MÓVIL
========================= */

.menu-toggle {
    display: none;
    width: 64px;
    height: 64px;
    border: none;
    outline: none;
    cursor: pointer;
    background: var(--primary);
    border-radius: 0 0 0 26px;
    z-index: 1700;
    position: fixed;
    top: 13px;
    right: 18px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    transition: background .25s, transform .25s;
}

.menu-toggle span {
    width: 28px;
    height: 4px;
    background: var(--white);
    border-radius: 999px;
    display: block;
    transition: .3s ease;
}

.menu-toggle:hover {
    background: var(--primary-dark);
}

.menu-toggle:active {
    transform: scale(.95);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease;
    z-index: 1500;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--white);
    padding: 86px 28px 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transform: translateX(100%);
    opacity: 0;
    transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
    box-shadow: -20px 0 45px rgba(0, 0, 0, .18);
    z-index: 1600;
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.mobile-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
    font-size: 18px;
    font-weight: 700;
    transition: var(--transition);
}

.mobile-links a:hover,
.mobile-links a.active {
    color: var(--primary);
    transform: translateX(6px);
}

.mobile-icon-circle{
    width:32px;
    height:32px;
    border-radius:50%;
    background:#FDB913;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    transition:var(--transition);
}

.mobile-icon-circle svg{
    width:17px;
    height:17px;
}

.mobile-links a:hover .mobile-icon-circle,
.mobile-links a.active .mobile-icon-circle{
    transform:scale(1.08);
}

.mobile-divider {
    width: 88%;
    margin: 5px auto;
    height: 1px;
    background: #d9dee5;
}

.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #0060b8;
    font-size: 20px;
    font-weight: 800;
    transition: var(--transition);
}

.mobile-contact a:hover {
    color: var(--primary);
    transform: translateX(6px);
}

.mobile-contact img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
}

.mobile-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin: 2px 0 2px;
}

.mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-social img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.mobile-social a:hover {
    transform: translateY(-3px) scale(1.08);
}

.mobile-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 88%;
    height: 56px;
    margin: 16px auto 0;
    background: var(--primary);
    color: var(--white) !important;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.mobile-cta:hover {
    background: var(--primary-dark);
}

.mobile-note {
    width: 88%;
    margin-top: 6px;
    margin-left: auto;
    margin-right: auto;
    background: #f6faf8;
    border: 1px solid rgba(0, 146, 69, .18);
    border-radius: 16px;
    padding: 18px;
}

.mobile-note-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.mobile-note-title img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-top: 2px;
    flex-shrink: 0;
}

.mobile-note-title strong {
    display: block;
    color: var(--dark);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.mobile-note span {
    display: block;
    margin-left: 36px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

/* =========================
   RESPONSIVE DESKTOP MEDIO
========================= */

@media(max-width:1200px) {

    .header-inner {
        padding: 0 36px;
    }

    .logo img {
        width: 255px;
    }

    .nav-menu {
        gap: 24px;
    }

    .btn-contacto {
        padding: 16px 28px;
    }

    .hero-content {
        padding: 0 42px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-right img {
        width: 138%;
        left: -85px;
    }

    .quote-box {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1120px;
        margin: -30px auto 0;
    }

    .quote-box button {
        grid-column: span 3;
    }

    .nosotros-container {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .nosotros-texto {
        max-width: 760px;
        text-align: center;
        margin: 0 auto;
    }

    .decor-line {
        margin-left: auto;
        margin-right: auto;
    }

    .nosotros-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        padding: 32px 36px;
    }

    .stat-item {
        border-right: none;
        padding: 22px 26px;
        justify-content: flex-start;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--border);
    }
}

/*==================================
FLECHAS PROCESO
==================================*/

.proceso-arrows {
    display: none;
}


/* =========================
   RESPONSIVE TABLET / MOBILE
========================= */

@media(max-width:900px) {

    .proceso-arrows {
        display: flex;
    }

    .main-header {
        height: 90px;
    }

    .main-header.header-scrolled {
        height: 76px;
    }

    .header-inner {
        padding: 0 20px;
    }

    .logo img {
        width: 225px;
    }

    .main-header.header-scrolled .logo img {
        width: 205px;
    }

    .nav-menu,
    .btn-contacto {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 0;
        overflow: hidden;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 0;
        text-align: center;
    }

    .hero-right {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: visible;
    }

    .hero-right img {
        width: 138%;
        max-width: 560px;
        display: block;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        margin: 0 auto 28px;
    }

    .hero-left {
        order: 2;
        width: 100%;
        padding: 0 18px;
        text-align: center;
    }

    .hero h1 {
        max-width: 100%;
        font-size: 39px;
        line-height: 1.05;
        margin: 0 0 18px;
    }

    .hero p {
        max-width: 100%;
        font-size: 17px;
        line-height: 1.55;
        margin: 0 auto 24px;
    }

    .quote-box {
        width: calc(100% - 28px);
        margin: 0 auto;
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 10px;
    }

    .quote-box button {
        grid-column: auto;
    }

    .campo input,
    .campo select,
    .quote-box button {
        height: 56px;
        font-size: 15px;
    }

    .campo small {
        font-size: 12px;
    }

    .nosotros {
        padding: 24px 0 56px;
    }

    .nosotros::before {
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
    }

    .nosotros::after {
        display: none;
    }

    .nosotros-container,
    .nosotros-stats {
        width: calc(100% - 40px);
    }

    .nosotros-container {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .nosotros-heading {
        width: calc(100% - 56px);
        max-width: 380px;
        margin: 0 auto 36px;
        text-align: center;
    }

    .nosotros-heading h2 {
        font-size: 34px;
        line-height: 1.15;
        letter-spacing: -0.8px;
        text-align: center;
    }

    .nosotros-texto {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        text-align: center;
    }

    .nosotros-texto p {
        font-size: 17px;
        line-height: 1.95;
        text-align: center;
        max-width: none;
    }

    .decor-line {
        margin: 0 auto 20px;
    }

    .nosotros-imagen {
        width: 100%;
    }

    .nosotros-imagen img {
        border-radius: 18px;
    }

    .nosotros-badge {
        position: relative;
        left: auto;
        bottom: auto;
        width: 82%;
        max-width: 420px;
        margin: -18px auto 0;
        padding: 18px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 20px;
        text-align: center;
        opacity: 0;
        transform: translateY(24px) scale(.96);
        transition: opacity .9s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
        transition-delay: .25s;
        box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
    }

    .nosotros-badge.animate {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .nosotros-badge strong {
        font-size: 19px;
        margin-bottom: 5px;
        line-height: 1.2;
    }

    .nosotros-badge span {
        font-size: 13.5px;
        line-height: 1.45;
    }

    .nosotros-stats {
        margin-top: 38px;
        grid-template-columns: 1fr;
        padding: 18px 26px;
        gap: 0;
    }

    .stat-item {
        min-height: auto;
        padding: 26px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-right: none !important;
        border-bottom: 1px solid var(--border);
        gap: 12px;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .stat-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .stat-number {
        justify-content: center;
    }

    .stat-equipo {
        text-align: center;
    }

    .stat-equipo p {
        text-align: center;
        margin: 0;
    }

    .stat-item img {
        width: 54px;
        height: 54px;
    }

    .stat-info strong {
        font-size: 36px;
    }

    .stat-info span {
        font-size: 15px;
        max-width: none;
    }

    .servicios {
        padding: 48px 0 28px;
    }

    .servicios-heading {
        width: calc(100% - 40px);
        margin: 0 auto 34px;
    }

    .servicios-heading h2 {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 34px;
        line-height: 1.1;
    }

    .servicios-grid {
        width: calc(100% - 40px);
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .servicio-card {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

    .servicio-img {
        height: 210px;
    }

    .servicio-icon {
        top: 170px;
        left: 28px;
    }

    .servicio-content {
        padding: 25px 25px 25px;
    }

    .servicio-card:active .servicio-img img {
        transform: scale(1.06);
    }

    .servicio-card:active .servicio-icon {
        transform: scale(1.12);
        box-shadow: 0 14px 30px rgba(0, 146, 69, .35);
    }

    .servicio-card:active .servicio-content h3 {
        color: #009245;
    }

    .proceso {
        padding: 36px 0 70px;
    }

    .proceso-heading {
        width: calc(100% - 40px);
        margin: 0 auto 34px;
    }

    .proceso-heading h2 {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 34px;
        line-height: 1.1;
    }

    .proceso-wrapper {
        width: calc(100% - 40px);
        padding: 42px 0 38px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 20px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .proceso-wrapper::-webkit-scrollbar {
        display: none;
    }

    .proceso-grid {
        display: grid;
        grid-template-columns: repeat(6, calc(100vw - 92px));
        gap: 24px;
        min-width: max-content;
        padding-left: 20px;
        padding-right: 20px;
    }

    .proceso-item {
        scroll-snap-align: center;
    }

    .proceso-linea {
        display: block;
        top: 64px;
        left: calc(50vw - 46px);
        width: calc((100vw - 92px) * 5 + 24px * 5);
        height: 3px;
        right: auto;
        z-index: 1;
        background: var(--primary);
    }

    .proceso-linea::before {
        display: none;
    }

    .proceso-linea::after {
        display: none;
    }

    .proceso-numero {
        width: 46px;
        height: 46px;
        font-size: 20px;
        margin-bottom: 18px;
        position: relative;
        z-index: 5;
        background: var(--primary);
        color: #fff;
        box-shadow:
            0 14px 28px rgba(0, 146, 69, .34),
            0 0 0 10px rgba(0, 146, 69, .12);
    }

    .proceso-item.mobile-active .proceso-numero {
        animation: procesoDestello .75s ease;
    }

    .proceso-item.mobile-active .proceso-icono {
        animation: procesoIconBounce .65s ease;
    }

    .proceso-item.mobile-active {
        animation: procesoCardLift .65s ease;
    }

    @keyframes procesoDestello {
        0% {
            transform: scale(1);
            box-shadow:
                0 14px 28px rgba(0, 146, 69, .34),
                0 0 0 10px rgba(0, 146, 69, .12);
        }

        45% {
            transform: scale(1.10);
            box-shadow:
                0 16px 34px rgba(0, 146, 69, .42),
                0 0 0 18px rgba(0, 146, 69, .16),
                0 0 22px rgba(0, 146, 69, .35);
        }

        100% {
            transform: scale(1);
            box-shadow:
                0 14px 28px rgba(0, 146, 69, .34),
                0 0 0 10px rgba(0, 146, 69, .12);
        }
    }

    @keyframes procesoIconBounce {
        0% {
            transform: scale(1);
        }

        45% {
            transform: scale(1.12);
        }

        100% {
            transform: scale(1);
        }
    }

    @keyframes procesoCardLift {
        0% {
            transform: translateY(0);
        }

        45% {
            transform: translateY(-6px);
        }

        100% {
            transform: translateY(0);
        }
    }

    .proceso-icono {
        width: 76px;
        height: 76px;
        margin-bottom: 18px;
        background: #eef1ee;
        box-shadow:
            0 8px 18px rgba(0, 0, 0, .06),
            0 0 0 1px rgba(0, 0, 0, .05),
            inset 0 1px 2px rgba(255, 255, 255, .9);
    }

    .proceso-icono img {
        width: 42px;
        height: 42px;
    }

    .proceso-item h3 {
        font-size: 17px;
    }

    .proceso-item p {
        font-size: 13.5px;
        max-width: 180px;
    }

    /* Proceso mobile sin animación desktop */

    .proceso-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .proceso-icono img {
        opacity: 1 !important;
        transform: scale(1) !important;
        animation: none !important;
    }

    .proceso-item.icon-active .proceso-icono,
    .proceso-item.icon-active .proceso-icono::before,
    .proceso-item.icon-active .proceso-icono::after,
    .proceso-item.icon-active .proceso-icono img {
        animation: none !important;
    }

}

/*==================================
FLECHAS RESPONSIVE
==================================*/

.proceso-arrows {
    display: none;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 122px;
    left: 20px;
    right: 20px;
    z-index: 20;
    pointer-events: none;
}

.proceso-arrow {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary);
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, .12);
    transition: .25s;
    pointer-events: auto;
}

.proceso-arrow:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.08);
}

.proceso-arrow:active {
    transform: scale(.92);
}

.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

@media(max-width:900px) {
    .proceso-arrows {
        display: flex !important;
    }
}

/* =========================
   RESPONSIVE MOBILE PEQUEÑO
========================= */

@media(max-width:430px) {

    .mobile-menu {
        width: 285px;
        padding-left: 26px;
        padding-right: 26px;
    }

    .logo img {
        width: 210px;
    }

    .main-header.header-scrolled .logo img {
        width: 190px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .nosotros {
        padding: 24px 0 56px;
    }

    .nosotros-container,
    .nosotros-stats {
        width: calc(100% - 32px);
    }

    .nosotros-heading {
        width: calc(100% - 48px);
        max-width: 340px;
        margin: 0 auto 34px;
    }

    .nosotros-heading h2 {
        font-size: 31px;
        line-height: 1.15;
    }

    .nosotros-texto {
        max-width: 320px;
    }

    .nosotros-texto p {
        font-size: 16px;
        line-height: 1.9;
    }

    .nosotros-btn {
        width: 100%;
    }

    .nosotros-badge {
        width: 82%;
        max-width: 420px;
        margin: -18px auto 0;
        padding: 18px 16px;
        border-radius: 20px;
    }

    .nosotros-badge strong {
        font-size: 18px;
    }

    .nosotros-badge span {
        font-size: 13px;
    }

    .stat-item img {
        width: 48px;
        height: 48px;
    }

    .stat-info strong {
        font-size: 32px;
        letter-spacing: -.4px;
    }

    .stat-number .unit,
    .unit {
        font-size: 20px;
        margin-bottom: 3px;
    }

    .stat-info span {
        font-size: 14px;
    }
}

@media(max-width:360px) {

    .logo img {
        width: 190px;
    }

    .main-header.header-scrolled .logo img {
        width: 176px;
    }

    .menu-toggle {
        width: 58px;
        height: 58px;
        right: 14px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .nosotros-heading h2 {
        font-size: 29px;
    }

    .nosotros-badge {
        padding: 16px 18px;
    }
}

/* =========================
   FOOTER CONTACTO
========================= */

.footer-contacto {
    background: #101820;
    color: #ffffff;
    padding: 45px 0 34px;
    border-top: 5px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.footer-main {
    width: min(var(--container-md), calc(100% - 64px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.45fr .9fr .9fr 1.25fr;
    gap: 28px;
    align-items: start;
}

.footer-column {
    padding-top: 58px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    width: 340px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 38px;
}

.footer-brand p {
    max-width: 380px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .78);
    margin: 0 auto 38px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 22px;
    width: 100%;
}

.footer-social a {
    width: 64px;
    height: 64px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-social img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.footer-column h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 22px;
    position: relative;
}

.footer-column h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: var(--primary);
    border-radius: 999px;
    margin-top: 8px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s ease;
}

.footer-column.animate h3::after {
    transform: scaleX(1);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    font-size: 16px;
    color: rgba(255, 255, 255, .82);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-info-item {
    margin-bottom: 28px;
}

.footer-info-item strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.footer-info-item span {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .68);
}

.footer-cta {
    margin-top: 0;
    background: #eefaf3;
    color: var(--dark);
    border-radius: 24px;
    padding: 34px 30px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

.footer-whatsapp-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(0, 146, 69, .32);
}

.footer-whatsapp-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-cta h3 {
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 22px;
}

.footer-cta h3 span {
    color: var(--primary);
}

.footer-cta p {
    font-size: 16px;
    line-height: 1.7;
    color: #263342;
    margin-bottom: 28px;
}

.footer-cta-btn {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: var(--shadow-green);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: whatsappGlow 2s ease-in-out infinite;
}

.footer-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-note {
    margin-top: 24px;
    background: rgba(0, 146, 69, .08);
    border: 1px solid rgba(0, 146, 69, .15);
    border-radius: 16px;
    padding: 18px;
}

.footer-note strong {
    display: block;
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 6px;
}

.footer-note span {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}

.footer-benefits {
    width: min(var(--container-md), calc(100% - 64px));
    margin: 56px auto 0;
    padding: 34px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-benefit {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 0 28px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.footer-benefit img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-benefit div {
    display: flex;
    flex-direction: column;
}

.footer-benefit:last-child {
    border-right: none;
}

.footer-benefit strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-benefit span {
    display: block;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .68);
}

.footer-copy {
    width: min(var(--container-md), calc(100% - 64px));
    margin: 28px auto 0;
    text-align: center;
    color: rgba(255, 255, 255, .62);
    font-size: 15px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    transition: color .35s ease, transform .35s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(8px);
}

.footer-links a:visited {
    color: rgba(255, 255, 255, .82);
}

.footer-links a:visited:hover {
    color: var(--primary);
}

/* =========================
   FOOTER RESPONSIVE
========================= */

@media(max-width:1200px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-cta {
        grid-column: span 2;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media(max-width:700px) {
    .footer-contacto {
        padding: 56px 0 30px;
    }

    .footer-main,
    .footer-benefits,
    .footer-copy {
        width: calc(100% - 40px);
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 38px;
        text-align: center;
    }

    .footer-logo {
        width: 220px;
        margin: 0 auto 24px;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column h3::after {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-column li {
        padding: 14px 0;
    }

    .footer-cta {
        grid-column: auto;
        padding: 30px 22px;
    }

    .footer-cta h3 {
        font-size: 26px;
    }

    .footer-benefits {
        margin-top: 44px;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-benefit {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        padding: 24px 0;
        text-align: center;
    }

    .footer-benefit:last-child {
        border-bottom: none;
    }

    .footer-column {
        padding-top: 0;
    }

    .footer-brand {
        margin-bottom: 12px;
    }

    .footer-social {
        margin-bottom: 0;
    }

    .footer-main {
        gap: 18px;
    }

    .footer-links a {
        transition: color .35s ease, transform .35s ease;
    }

    .footer-links a:active {
        color: var(--primary);
        transform: translateX(8px);
    }

    .footer-info-item strong {
        transition: color .35s ease, transform .35s ease;
    }

    .footer-info-item:active strong {
        color: var(--primary);
        transform: translateX(6px);
    }

    .footer-social a:active {
        background: var(--primary);
        transform: translateY(-4px) scale(1.04);
    }
}

/*=================================
  GLOW BOTÓN WHATSAPP
=================================*/

@keyframes whatsappGlow {

    0% {
        box-shadow:
            0 10px 28px rgba(0, 146, 69, .20);
    }

    20% {
        box-shadow:
            0 10px 28px rgba(0, 146, 69, .22);
    }

    40% {
        box-shadow:
            0 0 0 8px rgba(0, 146, 69, .15),
            0 0 20px rgba(0, 146, 69, .25),
            0 10px 30px rgba(0, 146, 69, .35);
    }

    60% {
        box-shadow:
            0 0 0 14px rgba(0, 146, 69, .10),
            0 0 35px rgba(0, 146, 69, .40),
            0 12px 35px rgba(0, 146, 69, .45);
    }

    80% {
        box-shadow:
            0 0 0 6px rgba(0, 146, 69, .05),
            0 0 18px rgba(0, 146, 69, .18),
            0 10px 28px rgba(0, 146, 69, .25);
    }

    100% {
        box-shadow:
            0 10px 28px rgba(0, 146, 69, .20);
    }

}
/* ===============================
   HEADER FLOTANTE DE QUILLACONCRETOS
   Reemplaza visualmente al header de IFC al hacer scroll.
   =============================== */

.quilla-floating-header{
    position:fixed;
    top:-200px;
    left:0;
    right:0;
    z-index:1650;
    background:#ffffff;
    box-shadow:0 4px 16px rgba(0,0,0,0.08);
    transition:top .35s ease;
}

.quilla-floating-header.visible{
    top:0;
}

.quilla-floating-inner{
    max-width:1320px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:12px 24px;
}

.quilla-floating-logo img{
    height:54px;
    width:auto;
    display:block;
}

.quilla-floating-nav{
    display:flex;
    align-items:center;
    gap:22px;
}

.quilla-floating-nav a{
    font-family:'Poppins', sans-serif;
    font-size:13.5px;
    font-weight:600;
    color:#2b2b28;
    text-decoration:none;
    position:relative;
    padding-bottom:3px;
    transition:color .2s ease;
    white-space:nowrap;
}

.quilla-floating-nav a:hover{
    color:#009245;
}

.quilla-floating-nav a.activo{
    color:#009245;
}

.quilla-floating-nav a.activo::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-3px;
    height:2px;
    background:#009245;
}

.quilla-floating-volver{
    font-size:11.5px !important;
    font-weight:500 !important;
    color:#8f8f8a !important;
    border-left:1px solid #ececec;
    padding-left:18px !important;
}

.quilla-floating-volver:hover{
    color:#4F7942 !important;
}

.quilla-floating-cta{
    background:#009245;
    color:#ffffff;
    font-family:'Poppins', sans-serif;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
    padding:10px 22px;
    border-radius:999px;
    white-space:nowrap;
    transition:background .2s ease;
}

.quilla-floating-cta:hover{
    background:#00753a;
}

.quilla-floating-header .menu-toggle{
    top:17px;
    right:16px;
    width:44px;
    height:44px;
    border-radius:0 0 0 18px;
    gap:6px;
}

.quilla-floating-header .menu-toggle span{
    width:20px;
    height:3px;
}

.quilla-floating-header .menu-toggle.active span:nth-child(1){
    transform:translateY(9px) rotate(45deg);
}

.quilla-floating-header .menu-toggle.active span:nth-child(3){
    transform:translateY(-9px) rotate(-45deg);
}

@media (max-width:900px){

    .quilla-floating-nav{
        display:none;
    }

    .quilla-floating-cta{
        display:none;
    }

    /* El botón de Quillaconcretos solo debe verse cuando su propio
       header esté visible (después de hacer scroll) -- si no, se
       superpone permanentemente al botón del header de IFC. */
    .quilla-floating-header .menu-toggle{
        display:none;
    }

    .quilla-floating-header.visible .menu-toggle{
        display:flex;
    }
}