@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700&display=swap');

:root {
    --color-primary: #fee0bc;
    --color-dark: #00162d;
    --color-secondary: #112c46;
    --color-light: #f4f4f4;
    --color-white: #ffffff;
    --color-text: #1f2937;
    --color-text-soft: #5b6470;
    --color-border: rgba(255, 255, 255, 0.12);
    --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --container: 1200px;
    --header-height: 84px;
    --transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--color-text);
    background-color: var(--color-light);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-dark);
}

p {
    margin: 0 0 16px;
}

/* =========================
   ESTRUCTURA GENERAL
========================= */

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

.section {
    padding: 72px 0;
}

.section-light {
    background-color: var(--color-light);
}

.section-alt {
    background: #eef2f5;
}

/* Evita desbordamiento horizontal por animaciones */
.section,
.content-pages-section,
.contact-block-section,
.page-hero,
.section-light,
.section-alt {
    overflow-x: hidden;
}

.section-heading {
    max-width: 740px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--color-text-soft);
    font-size: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(0.98);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.btn-full {
    width: 100%;
}

/* =========================
   HEADER / NAVEGACIÓN
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 22, 45, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 1.15rem;
    color: var(--color-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    white-space: nowrap;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 50px;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 400;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--color-primary);
}

.main-nav a.active {
    color: var(--color-white);
    font-weight: 800;
}

.site-header .btn {
    width: 100%;
    max-width: 220px;
    min-height: 46px;
}

.header-cta {
    display: inline-flex;
}

/* =========================
   MENÚ HAMBURGUESA
========================= */

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    background-color: rgba(0, 22, 45, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu.is-open {
    display: block;
}

.mobile-nav {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
    padding: 20px 0 24px;
    text-align: center;

}

.mobile-nav ul {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.mobile-nav a {
    color: var(--color-white);
    font-size: 1rem;
}

.mobile-nav .btn {
    margin: 0 auto;
    justify-content: center;
    color: var(--color-text);
}

/* =========================
   HOME
========================= */

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-dark);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
            rgba(0, 22, 45, 0.95) 0%,
            rgba(8, 33, 56, 0.92) 38%,
            rgba(17, 44, 70, 0.86) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-content {
    padding: 72px 0;
    color: var(--color-white);
}

.hero-content h1 {
    color: var(--color-white);
    font-size: clamp(3.2rem, 5vw, 4.2rem);
    max-width: 820px;
    margin-bottom: 40px;
}

.hero-content p {
    max-width: 820px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;

}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: linear-gradient(180deg, #163250 0%, #102842 100%);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    color: var(--color-white);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center 5%;
}

.service-card-body {
    padding: 24px 24px 28px;
}

.service-card h3 {
    color: var(--color-white);
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.98rem;
    min-height: 120px;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 20px auto 0;
    display: grid;
    place-items: center;
    background-color: var(--color-primary);
    color: var(--color-dark);
    font-size: 1.4rem;
    box-shadow: 0 0 0 6px rgba(254, 224, 188, 0.18);
}

.service-icon-svg {
    width: 27px;
    height: 27px;
    display: block;
}

.benefits-list {
    display: grid;
    gap: 48px;
}

.benefit-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 48px;
}

.benefit-row.reverse .benefit-image {
    order: 2;
}

.benefit-row.reverse .benefit-text {
    order: 1;
}

.benefit-image img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    object-position: center 5%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.benefit-image.arbol img {
    object-position: center;
}

.benefit-text {
    max-width: 650px;
}

.benefit-text h3 {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.benefit-text p {
    color: var(--color-text-soft);
    font-size: 1rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    position: relative;
    min-height: 300px;
    background: linear-gradient(180deg,
            rgba(0, 22, 45, 0.95) 0%,
            rgba(0, 22, 45, 0.85) 50%,
            rgba(0, 22, 45, 0.70) 100%);
    color: var(--color-white);
    padding: 36px 28px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(254, 224, 188, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-dark);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.step-card h3 {
    color: var(--color-white);
    font-size: 1.7rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.step-card p {
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
}

.cta-band {
    position: relative;
    padding: 50px 0;
    background:
        linear-gradient(90deg, rgba(0, 22, 45, 0.92) 0%, rgba(17, 44, 70, 0.8) 100%),
        url('../images/home/edificios.webp') center/cover no-repeat;
    background-attachment: fixed;
    /* Parallax */
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

.cta-band-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.cta-brand {
    color: var(--color-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 12px;
}

.cta-band h2 {
    color: var(--color-white);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    margin-bottom: 18px;
    line-height: 1.2;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 35px;
}

.cta-band .logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    text-decoration: none;
    color: var(--color-white);
}

.cta-band .logo img {
    height: 55px;
    width: auto;
    margin-bottom: 5px;
}

/* =========================
   FORMULARIOS
========================= */

.contact-form {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.contact-form textarea {
    resize: vertical;
    max-height: 300px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.92);
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: #071b31;
    color: var(--color-white);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--color-primary);
}

.form-check label {
    margin: 0;
    line-height: 1.5;
}

.form-check a {
    color: var(--color-primary);
}

/* =========================
   BLOQUE DE CONTACTO
========================= */

.contact-block-section {
    padding: 72px 0;
}

.contact-block-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.divisor-azul {
    width: 100%;
    height: 1px;
    background-color: #112c460c;
    border: none;
}

.contact-block-info {
    max-width: 520px;
}

.contact-block-info h2 {
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    margin-bottom: 22px;
}

.contact-block-info p {
    color: var(--color-text-soft);
    margin-bottom: 34px;
    font-size: 1rem;
    line-height: 1.7;
}

.contact-block-items {
    display: grid;
    gap: 20px;
}

.contact-block-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-block-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background-color: var(--color-dark);
    color: var(--color-primary);
    box-shadow: var(--shadow-soft);
}

.contact-block-label {
    display: block;
    font-size: 0.84rem;
    color: var(--color-text-soft);
    margin-bottom: 2px;
}

.contact-block-item a {
    font-weight: 500;
    color: var(--color-text);
}

.contact-block-form {
    max-width: 520px;
    width: 100%;
    margin-left: auto;
}

.contact-form-mail {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

/* =========================
   PÁGINAS INTERNAS
========================= */

/* ----- Hero de páginas ----- */

.page-hero {
    padding: 88px 0;
    background: linear-gradient(90deg, rgba(0, 22, 45, 0.96) 0%, rgba(17, 44, 70, 0.82) 100%);
    color: var(--color-white);
}

.page-hero-inner {
    display: grid;
    grid-template-columns: 0.93fr 1.07fr;
    gap: 48px;
    align-items: center;
}

.page-hero-content h1 {
    color: var(--color-white);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    margin-bottom: 18px;
}

.page-hero-content p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 540px;
    margin: 0;
}

.visual-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.visual-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Fundamental: evita que esta capa bloquee clics o hover sobre la imagen */
    z-index: 1;
}

.page-hero-image::after {
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
}

/* ----- Servicios ----- */

.service-feature-list {
    display: grid;
    gap: 10px;
    margin-left: 50px;
}

.service-feature-list li {
    position: relative;
    padding-left: 22px;
    color: var(--color-text);
}

.service-feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-primary);
}

.process-section .section-heading {
    margin-bottom: 44px;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.process-steps {
    display: grid;
    gap: 24px;
}

.process-step {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 18px;
    align-items: start;
}

.process-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-dark);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 4px;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.process-step p {
    margin: 0;
    color: var(--color-text-soft);
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

/* ----- Eliminar cuando esté la sección activa ----- */

.badge-proximamente {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #e2e8f0;
    color: #475569;
    border: 1px solid #1f293749;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 10px;
    vertical-align: middle;
}

/* ----- Sobre nosotros ----- */

.about-kicker {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--color-text-soft);
    margin-bottom: 16px;
}

/* ----- Contenido compartido Servicios y Sobre nosotros (banner y tarjetas) ----- */

.page-hero-pages {
    min-height: 60vh;
    display: flex;
    justify-content: center;
}

.content-pages-section {
    padding: 72px 0;
}

.content-pages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: stretch;
}

.content-pages-image.visual-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    display: block;
}

.content-pages-grid.reverse .content-pages-image {
    order: 2;
}

.content-pages-grid.reverse .content-pages-content {
    order: 1;
}

.content-pages-image::after {
    box-shadow: inset 0 0 28px rgba(254, 224, 188, 0.6);
}

.content-pages-content {
    max-width: 560px;
}

.content-pages-content p {
    color: var(--color-text-soft);
    margin-bottom: 22px;
    line-height: 1.75;
}

.content-pages-content>*:last-child {
    margin-bottom: 0 !important;
}

.content-pages-title-icon {
    display: flex;
    margin-bottom: 20px;
}

.content-pages-icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: auto 0;
    margin-right: 20px;
    display: grid;
    place-items: center;
    background-color: var(--color-primary);
    color: var(--color-dark);
    box-shadow: 0 0 0 6px rgba(254, 224, 188, 0.18);
}

.content-pages-icon::after {
    content: "";
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(254, 224, 188, 0.35);
    border-radius: 50%;
    pointer-events: none;
}

.content-pages-content h2 {
    font-size: 2.1rem;
    margin-bottom: 8px;
    /* ----- Eliminar cuando esté la sección activa ----- */
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.content-pages-content h3 {
    font-size: 1.25rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--color-text-soft);
    margin-bottom: 0;
}

/* =========================
   BOTÓN SUBIR & WhatsApp
========================= */

.btn-top {
    position: fixed;
    bottom: 100px;
    left: 200px;
    display: none;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-dark);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    padding: 10px;
}

.btn-top svg {
    width: 100%;
    height: 100%;
    display: block;
}

.btn-top:hover {
    background: var(--color-white);
    transform: translateY(-5px);
}

.btn-whatsapp {
    position: fixed;
    bottom: 100px;
    right: 200px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    z-index: 1000;
    padding: 14px;
}

.btn-whatsapp svg {
    width: 100%;
    height: 100%;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1) translateY(-5px);
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.86);
    padding-top: 64px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-brand p {
    max-width: 300px;
    color: rgba(255, 255, 255, 0.74);
}

.footer-column h3 {
    color: var(--color-white);
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.footer-column ul {
    display: grid;
    gap: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.78);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding: 24px 0 30px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a:hover {
    color: var(--color-primary);
}

/* =========================
   PÁGINAS LEGALES
========================= */

.legal-page {
    background-color: #f8f9fa;
}

.legal-section {
    padding: 80px 0;
}

.legal-container {
    max-width: 900px;
}

.legal-header {
    margin-bottom: 40px;
}

.legal-header h1 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-dark);
}

.legal-header p {
    font-size: 1rem;
    color: var(--color-text-soft);
    margin: 0;
}

.legal-content {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.legal-content p {
    margin-bottom: 18px;
    color: var(--color-text);
    line-height: 1.75;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-content li:last-child {
    padding-bottom: 25px;
}

/* =========================
   PÁGINA DE GRACIAS (ÉXITO)
========================= */

.success-page {
    background-color: #f8f9fa;
}

.success-section {
    padding: 80px 0;
}

.success-container {
    max-width: 900px;
    text-align: center;
}

.success-header {
    margin-bottom: 40px;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
    line-height: 1;
}

.success-header h1 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-dark);
}

.success-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-soft);
    max-width: 600px;
    margin: 0 auto;
}

.success-content {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    margin-top: 30px;
}

.success-content p {
    margin-bottom: 18px;
    color: var(--color-text);
    line-height: 1.75;
}

.success-content p:last-child {
    margin-bottom: 0;
}

.success-action {
    margin-top: 40px;
}

/* ========================================== */
/* ----- Animaciones activadas por Scroll --- */
/* ========================================== */

.slide-right {
    opacity: 0;
    transform: translateX(40px);
}

.slide-left {
    opacity: 0;
    transform: translateX(-40px);
}

.scroll-animate.animate-scroll {
    animation: fadeSlideIn 1.2s ease-out forwards;
}

@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translate(0);
    }
}

/* =========================
    RESPONSIVE
========================= */

@media (max-width: 1550px) {

    .btn-whatsapp {
        right: 60px;
    }

    .btn-top {
        left: 60px;
    }
}

@media (max-width: 1366px) {

    .btn-whatsapp {
        bottom: 50px;
        right: 50px;
        width: 50px;
        height: 50px;
    }

    .btn-top {
        bottom: 50px;
        left: 50px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 1100px) {

    .main-nav ul {
        gap: 28px;
    }

    .site-header .btn {
        padding: 0 18px;
        min-height: 46px;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero-content p {
        max-width: 700px;
    }

    .page-hero-pages {
        min-height: 45vh;
    }

    .services-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .benefit-row.reverse .benefit-image,
    .benefit-row.reverse .benefit-text {
        order: initial;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand,
    .footer-column,
    .footer-bottom {
        text-align: center;
    }

    .footer-brand p {
        width: 100%;
        margin: 0 auto;
    }

    .btn-whatsapp {
        bottom: 35px;
        right: 35px;

    }

    .btn-top {
        bottom: 35px;
        left: 35px;

    }
}

@media (max-width: 860px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 18px 20px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        max-width: 600px;
        padding: 32px 0;

    }

    .hero-content h1 {
        font-size: clamp(1.95rem, 8vw, 2.6rem);
        max-width: 100%;
        margin-bottom: 22px;
    }

    .hero-content p {
        max-width: 100%;
        margin-bottom: 24px;
    }

    .hero-actions {
        gap: 12px;
    }

    .page-hero-inner,
    .content-pages-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .content-pages-grid.reverse .content-pages-image,
    .content-pages-grid.reverse .content-pages-content {
        order: initial;
    }

    .contact-block-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-block-form {
        margin-left: 0;
        max-width: 100%;
    }

    /* Desactivamos parallax en móvil por compatibilidad */
    .cta-band {
        background-attachment: scroll;
    }
}

@media (max-width: 680px) {

    .header-inner {
        min-height: 76px;
        justify-content: space-between;
        gap: 16px;
    }

    .main-nav,
    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .page-hero {
        padding: 50px 0;
    }

    .page-hero-pages {
        min-height: 35vh;
    }

    .benefit-row,
    .benefit-row.reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .btn-whatsapp {
        bottom: 30px;
        right: 30px;
        width: 44px;
        height: 44px;
    }

    .btn-top {
        display: none !important;
    }

    .benefit-row {
        justify-items: center;
        /* Centra la imagen horizontalmente */
    }

    .benefit-row .benefit-text {
        width: 100%;
        margin: 0 auto;
        text-align: center;
        /* Centra el texto */
    }

    .benefit-image {
        width: 100%;
        max-width: 600px;
        /* Evita que la foto se haga gigante en pantallas medianas */
    }

}

@media (max-width: 640px) {

    .container {
        width: min(100% - 32px, var(--container));
    }

    .section {
        padding: 50px 0;
    }

    .btn {
        width: 100%;
    }

    .service-card img {
        height: 200px;
    }

    .benefit-image img {
        height: 240px;
    }

    .contact-form {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: auto;
    }

    .header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 20px 20px;
    }

    .logo {
        gap: 10px;
        font-size: 1.05rem;
    }

    .logo img {
        width: 34px;
        height: 34px;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
    }

    .container {
        width: min(100% - 24px, var(--container));
    }

    .section-heading {
        margin: 0 auto 36px;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .section-heading p {
        font-size: 0.95rem;
    }

    .site-header {
        position: sticky;
        top: 0;
    }

    .hero {
        min-height: auto;
        padding: 36px 0 48px;
        background-position: center;
    }

    .hero-inner {
        display: block;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
        padding: 24px 0 0;
        text-align: center;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: clamp(1.95rem, 8vw, 2.6rem);
        line-height: 1.05;
        margin: 0 0 16px;
    }

    .hero-content p {
        max-width: 100%;
        font-size: 1rem;
        margin: 0 auto 24px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .services-grid,
    .steps-grid,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .service-card img {
        height: 190px;
    }

    .service-card-body {
        padding: 20px 18px 24px;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .service-card p {
        min-height: auto;
        font-size: 0.96rem;
    }

    .service-icon {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
        margin: 18px auto 0;
    }

    .service-icon::after {
        inset: -8px;
    }

    .benefits-list {
        gap: 34px;
    }

    .benefit-row,
    .benefit-row.reverse {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .benefit-row.reverse .benefit-image,
    .benefit-row.reverse .benefit-text {
        order: initial;
    }

    .benefit-image img {
        height: 220px;
    }

    .benefit-text {
        max-width: 100%;
        text-align: left;
    }

    .benefit-text h3 {
        font-size: 1.45rem;
        margin-bottom: 10px;
    }

    .benefit-text p {
        font-size: 0.97rem;
    }

    .step-card {
        min-height: auto;
        padding: 28px 18px 24px;
    }

    .step-number {
        width: 46px;
        height: 46px;
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .step-card h3 {
        font-size: 1.45rem;
        margin-bottom: 14px;
    }

    .step-card p {
        font-size: 0.96rem;
        line-height: 1.55;
    }

    .cta-band {
        padding: 68px 0;
    }

    .cta-band h2 {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
        line-height: 1.1;
    }

    .cta-band p {
        font-size: 0.96rem;
    }

    .cta-band .btn {
        width: 100%;
        max-width: 260px;
    }

    .contact-form {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-group input,
    .form-group textarea {
        padding: 13px 14px;
        font-size: 0.95rem;
    }

    .form-check {
        align-items: flex-start;
    }

    .site-footer {
        text-align: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer-brand,
    .footer-column {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        max-width: 280px;
        margin: 0 auto;
    }

    .footer-column ul {
        justify-items: center;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .page-hero {
        padding: 56px 0;
    }

    .content-pages-image img,
    .process-image img {
        height: 220px;
    }

    .content-pages-section {
        padding: 50px 0;
    }

    .content-pages-content h2 {
        font-size: 1.7rem;
    }

    .content-pages-content h3 {
        font-size: 1.08rem;
    }

    .content-pages-icon {
        width: 48px;
        height: 48px;
    }

    .process-step {
        grid-template-columns: 32px 1fr;
        gap: 14px;
    }

    .process-number {
        width: 30px;
        height: 30px;
        font-size: 0.88rem;
    }

    .about-kicker {
        font-size: 0.76rem;
    }

    .contact-block-section {
        padding: 50px 0;
    }

    .contact-block-info h2 {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .contact-block-info p {
        margin-bottom: 24px;
        font-size: 0.96rem;
    }

    .contact-block-item {
        align-items: flex-start;
    }

    .contact-block-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }
}

@media (max-width: 450px) {
    .content-pages-content h2 {
        display: block;
    }

    .badge-proximamente {
        margin-left: 0;
    }
}

@media (max-width: 400px) {
    .hero-content h1 {
        font-size: clamp(1.9rem, 9vw, 2.5rem);
    }

    .section-heading h2 {
        font-size: 1.85rem;
    }

    .content-pages-section {
        padding: 40px 0;
    }

    .content-pages-content h2 {
        font-size: 1.55rem;
    }

    .step-card h3,
    .benefit-text h3 {
        font-size: 1.3rem;
    }
}