﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #243043;
    background: #ffffff;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

body.popup-open {
    overflow: hidden;
}

html {
    scroll-padding-top: 96px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-intro {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: #5f6c80;
    font-size: 1.05rem;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 250px;
    max-width: 100%;
    height: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
    display: none;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.8;
}

.hero {
    margin-top: 70px;
    padding: 4.5rem 0 3.5rem;
    color: white;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), transparent 28%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#inicio,
#servicios,
#beneficios,
#proceso,
#faq,
#contacto {
    scroll-margin-top: 96px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.92rem;
    font-weight: 600;
}

.hero-copy h1 {
    font-size: 3rem;
    line-height: 1.12;
    margin-bottom: 1rem;
}

.hero-copy p {
    font-size: 1.12rem;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.94);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn-hero:hover {
    transform: translateY(-2px);
}

.btn-hero-primary {
    background: #ffffff;
    color: #4f46e5;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.btn-hero-secondary {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
    margin-top: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.hero-points i {
    margin-right: 0.45rem;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
}

.slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 430px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.76)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 30%);
}

.slide-content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 2;
    max-width: 440px;
    padding: 1.15rem 1.2rem;
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.slide-kicker {
    display: inline-flex;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f8fafc;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.slide-content h3 {
    margin-bottom: 0.45rem;
    color: #ffffff;
    font-size: 1.55rem;
    line-height: 1.15;
}

.slide-content p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.97rem;
    line-height: 1.55;
}

.slide.fade {
    animation: fade 1s;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.18);
    user-select: none;
    z-index: 10;
    backdrop-filter: blur(10px);
    padding: 0;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
}

.next {
    right: 18px;
}

.prev {
    left: 18px;
}

.prev:hover,
.next:hover {
    background: rgba(15, 23, 42, 0.56);
}

.dots-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    z-index: 11;
    text-align: center;
    line-height: 1;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    display: inline-block;
    transition: transform 0.3s, background-color 0.3s;
    padding: 0;
    border: 0;
    appearance: none;
}

.dot.active {
    background-color: white;
    transform: scale(1.15);
}

.trust-strip {
    padding: 1.6rem 0;
    background: #f5f7ff;
    border-bottom: 1px solid #e4e9fb;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.trust-item {
    padding: 1.2rem 1.3rem;
    border-radius: 16px;
    background: white;
    box-shadow: 0 8px 24px rgba(100, 116, 139, 0.08);
}

.trust-item strong {
    display: block;
    margin-bottom: 0.4rem;
    color: #28324a;
}

.trust-item span {
    color: #5f6c80;
}

.servicios,
.proceso,
.seo-content,
.contacto {
    padding: 5rem 0;
}

.servicios {
    background: #f9fafc;
}

.servicios h2,
.proceso h2,
.seo-content h2,
.contacto h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #28324a;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.servicio-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.servicio-imagen {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.servicio-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.servicio-card:hover .servicio-imagen img {
    transform: scale(1.06);
}

.servicio-contenido {
    padding: 1.5rem;
}

.servicio-contenido h3 {
    color: #667eea;
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
}

.servicio-contenido p {
    color: #5f6c80;
    font-size: 0.97rem;
    line-height: 1.7;
}

.beneficios {
    padding: 5rem 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.1), transparent 24%),
        linear-gradient(135deg, #f08ab4 0%, #f26b7a 100%);
    color: white;
}

.beneficios-contenido {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    align-items: center;
}

.beneficios-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.beneficios-texto h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.15;
}

.beneficio-principal {
    font-size: 1.16rem;
    font-weight: 600;
    margin: 0 0 1rem;
    line-height: 1.75;
}

.beneficio-secundario {
    font-size: 1rem;
    opacity: 0.96;
    line-height: 1.8;
}

.beneficios-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.beneficio-bento {
    min-height: 150px;
    padding: 1.15rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.beneficio-label {
    display: inline-flex;
    margin-bottom: 0.75rem;
    padding: 0.34rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.beneficio-bento strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1rem;
    line-height: 1.35;
}

.beneficio-bento p {
    font-size: 0.92rem;
    line-height: 1.65;
    opacity: 0.96;
}

.beneficio-bento-image {
    padding: 0;
    overflow: hidden;
}

.beneficio-bento-image img {
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
    display: block;
}

.proceso {
    position: relative;
    background:
        radial-gradient(circle at top center, rgba(102, 126, 234, 0.08), transparent 30%),
        #ffffff;
}

.proceso-badge {
    display: flex;
    align-items: center;
    width: fit-content;
    margin: 0 auto 1rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(102, 126, 234, 0.08);
    color: #4f46e5;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.proceso-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.proceso-grid::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: 34px;
    height: 1px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.12), rgba(102, 126, 234, 0.28), rgba(102, 126, 234, 0.12));
}

.proceso-card {
    position: relative;
    padding: 2rem 1.5rem 1.55rem;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid #e7eaf7;
    box-shadow: 0 14px 34px rgba(100, 116, 139, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proceso-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(100, 116, 139, 0.14);
}

.proceso-numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    margin-bottom: 1.1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 14px 28px rgba(102, 126, 234, 0.24);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.proceso-card h3 {
    margin-bottom: 0.7rem;
    color: #243043;
    font-size: 1.12rem;
    line-height: 1.3;
}

.proceso-card p {
    color: #5f6c80;
    line-height: 1.7;
}

.seo-content {
    background:
        radial-gradient(circle at top right, rgba(240, 138, 180, 0.1), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.seo-header {
    max-width: 860px;
    margin: 0 auto 2.4rem;
    text-align: center;
}

.seo-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(102, 126, 234, 0.08);
    color: #4f46e5;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seo-header p {
    max-width: 780px;
    margin: 0 auto;
    color: #5f6c80;
    font-size: 1.05rem;
    line-height: 1.8;
}

.seo-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.25rem;
}

.seo-panel {
    padding: 1.45rem;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e6ebf7;
    box-shadow: 0 14px 34px rgba(100, 116, 139, 0.1);
}

.seo-panel-featured {
    grid-row: span 2;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 26%),
        linear-gradient(135deg, #243043 0%, #36476b 100%);
    color: #ffffff;
}

.seo-panel h3 {
    margin-bottom: 0.7rem;
    color: #243043;
    font-size: 1.25rem;
    line-height: 1.28;
}

.seo-panel-featured h3 {
    color: #ffffff;
    font-size: 1.55rem;
}

.seo-panel p {
    color: #5f6c80;
    line-height: 1.75;
}

.seo-panel-featured p,
.seo-panel-featured li {
    color: rgba(255, 255, 255, 0.9);
}

.seo-panel ul {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.1rem;
    padding-left: 1.15rem;
}

.faq-block {
    margin-top: 3rem;
}

.faq-title {
    max-width: 780px;
    margin: 0 auto 1.6rem;
    text-align: center;
}

.faq-list {
    display: grid;
    gap: 0.85rem;
    max-width: 920px;
    margin: 0 auto;
}

.faq-list details {
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e6ebf7;
    box-shadow: 0 10px 26px rgba(100, 116, 139, 0.08);
    overflow: hidden;
}

.faq-list summary {
    cursor: pointer;
    padding: 1.15rem 1.3rem;
    color: #243043;
    font-weight: 800;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    float: right;
    color: #667eea;
    font-size: 1.35rem;
    line-height: 1;
}

.faq-list details[open] summary::after {
    content: "-";
}

.faq-list p {
    padding: 0 1.3rem 1.2rem;
    color: #5f6c80;
    line-height: 1.75;
}

.contacto {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(102, 126, 234, 0.08), transparent 26%),
        linear-gradient(180deg, #f8faff 0%, #eef2ff 100%);
}

.contacto-contenedor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.contacto-intro-card {
    padding: 1.5rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f7f8ff 100%);
    border: 1px solid #e5eaf8;
    box-shadow: 0 18px 40px rgba(100, 116, 139, 0.1);
}

.contacto-kicker,
.contacto-form-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.78rem;
    border-radius: 999px;
    background: rgba(102, 126, 234, 0.1);
    color: #4f46e5;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contacto-intro-card h3,
.contacto-form-header h3 {
    margin: 0.9rem 0 0.65rem;
    color: #1f2a44;
    font-size: 1.7rem;
    line-height: 1.15;
}

.contacto-intro-card p,
.contacto-form-header p {
    color: #5f6c80;
    line-height: 1.75;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 1.2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e8edf8;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.info-item i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.2rem;
    color: #667eea;
    background: rgba(102, 126, 234, 0.12);
    margin-top: 0.1rem;
}

.info-item h4 {
    color: #28324a;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: #5f6c80;
    font-size: 1.05rem;
}

.contacto-imagen {
    margin-top: 0.2rem;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e5eaf8;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.contacto-imagen img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 2rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e4e9f7;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(10px);
}

.contacto-form-header {
    padding-bottom: 0.35rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #243043;
    font-weight: 700;
    font-size: 0.94rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.95rem 1rem;
    border: 1px solid #dbe3f1;
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    background: #f8faff;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12);
}

.phone-field {
    display: grid;
    grid-template-columns: minmax(150px, 185px) 1fr;
    gap: 0.8rem;
}

.phone-field select,
.phone-field input {
    width: 100%;
}

.honeypot {
    display: none;
}

.btn-solicitar {
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 28px rgba(102, 126, 234, 0.24);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-solicitar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-solicitar:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

.form-status {
    min-height: 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-status.success {
    color: #15803d;
}

.form-status.error {
    color: #b91c1c;
}

.footer {
    position: relative;
    overflow: hidden;
    padding: 1.7rem 0 0.8rem;
    color: #f8fafc;
    background:
        radial-gradient(circle at top left, rgba(102, 126, 234, 0.3), transparent 32%),
        radial-gradient(circle at bottom right, rgba(118, 75, 162, 0.25), transparent 28%),
        #0f172a;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 35%);
    pointer-events: none;
}

.footer-content,
.footer-bottom {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.8rem;
}

.footer-brand {
    max-width: 420px;
}

.footer-kicker {
    display: inline-block;
    margin-bottom: 0.4rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #cbd5e1;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-brand h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.15;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.9rem;
    padding-top: 0;
}

.footer-links a,
.footer-bottom a {
    color: #f8fafc;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover,
.footer-bottom a:hover {
    opacity: 0.82;
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    word-break: break-word;
    font-size: 0.92rem;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    font-size: 1.9rem;
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(18, 140, 126, 0.35);
    z-index: 1200;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 36px rgba(18, 140, 126, 0.45);
}

.welcome-popup {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1400;
}

.welcome-popup[hidden] {
    display: none;
}

.welcome-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
}

.welcome-popup-card {
    position: relative;
    width: min(92vw, 460px);
    max-height: calc(100vh - 48px);
    margin: 0;
    padding: 2rem;
    overflow-y: auto;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(145deg, #1f2a44 0%, #2a3b66 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.34);
    z-index: 1;
}

.welcome-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.welcome-popup-close:focus-visible,
.welcome-popup-primary:focus-visible,
.welcome-popup-secondary:focus-visible,
.prev:focus-visible,
.next:focus-visible,
.dot:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
}

.welcome-popup-badge {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.welcome-popup-card h3 {
    margin-bottom: 0.85rem;
    font-size: 2rem;
    line-height: 1.1;
}

.welcome-popup-card p {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
}

.welcome-popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.welcome-popup-primary,
.welcome-popup-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.95rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.welcome-popup-primary {
    background: #ffffff;
    color: #243043;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}

.welcome-popup-secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

.welcome-popup-primary:hover,
.welcome-popup-secondary:hover {
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .hero-grid,
    .beneficios-contenido,
    .contacto-contenedor,
    .trust-grid,
    .seo-grid {
        grid-template-columns: 1fr;
    }

    .seo-panel-featured {
        grid-row: auto;
    }

    .proceso-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .servicios-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-copy h1 {
        font-size: 2.4rem;
    }

    .hero-copy,
    .beneficios-texto,
    .contacto-info {
        text-align: center;
    }

    .hero-copy p {
        max-width: 100%;
    }

    .hero-actions,
    .hero-points {
        justify-content: center;
    }

    .slider-container {
        height: 340px;
    }

    .beneficios-panel {
        grid-template-columns: 1fr 1fr;
    }

    .contacto-imagen {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        padding: 0.9rem 0;
    }

    .nav-container {
        position: relative;
        gap: 0.9rem;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo {
        max-width: calc(100% - 64px);
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        padding: 0.85rem;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 20px;
        background: rgba(36, 48, 67, 0.96);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.24);
        backdrop-filter: blur(12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 0.9rem 1rem;
        border-radius: 14px;
        text-align: center;
        background: rgba(255, 255, 255, 0.04);
        transition: background 0.25s ease, transform 0.25s ease;
    }

    .nav-link:hover {
        opacity: 1;
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-1px);
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        display: block;
        background: rgba(15, 23, 42, 0.42);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        z-index: 990;
    }

    .nav-overlay.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .hero {
        margin-top: 92px;
        padding: 3rem 0 2.7rem;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }

    .hero-copy p,
    .section-intro {
        font-size: 1rem;
    }

    .servicios h2,
    .proceso h2,
    .seo-content h2,
    .contacto h2 {
        font-size: 2rem;
    }

    .beneficio-principal {
        font-size: 1.4rem;
    }

    .beneficios-texto h2 {
        font-size: 1.9rem;
    }

    .beneficios-panel {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .hero-points {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero {
        width: 100%;
        min-width: 0;
    }

    .hero-points span {
        justify-content: center;
    }

    .slider-container {
        height: 260px;
        border-radius: 20px;
    }

    .prev,
    .next {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .slide-content {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 0.9rem 0.95rem;
        border-radius: 18px;
    }

    .slide-content h3 {
        font-size: 1.15rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .servicios,
    .beneficios,
    .proceso,
    .seo-content,
    .contacto {
        padding: 4rem 0;
    }

    .servicios-grid,
    .proceso-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .proceso-grid::before {
        display: none;
    }

    .servicio-contenido,
    .contacto-form,
    .proceso-card {
        padding: 1.25rem;
    }

    .contacto-intro-card {
        padding: 1.25rem;
        border-radius: 20px;
    }

    .contacto-intro-card h3,
    .contacto-form-header h3 {
        font-size: 1.4rem;
    }

    .contacto-imagen img {
        height: 220px;
    }

    .footer {
        padding-top: 1.5rem;
    }

    .footer-content,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-brand h3 {
        font-size: 1rem;
    }

    .footer-links {
        justify-content: flex-start;
        gap: 0.7rem;
    }

    .welcome-popup-card {
        padding: 1.6rem;
        border-radius: 24px;
    }

    .welcome-popup-card h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .nav-container {
        gap: 0.7rem;
    }

    .logo {
        width: 190px;
    }

    .nav-menu {
        left: 12px;
        right: 12px;
        padding: 0.75rem;
        border-radius: 18px;
    }

    .hero {
        margin-top: 88px;
    }

    .hero-copy h1 {
        font-size: 1.7rem;
    }

    .hero-badge {
        font-size: 0.82rem;
        padding: 0.45rem 0.75rem;
    }

    .hero-copy p,
    .beneficio-secundario,
    .servicio-contenido p,
    .proceso-card p,
    .info-item p {
        font-size: 0.95rem;
    }

    .servicios h2,
    .proceso h2,
    .contacto h2,
    .seo-content h2,
    .beneficios-texto h2 {
        font-size: 1.75rem;
    }

    .seo-panel,
    .faq-list summary {
        padding: 1rem;
    }

    .faq-list p {
        padding: 0 1rem 1rem;
    }

    .slider-container {
        height: 210px;
    }

    .dots-container {
        bottom: 12px;
    }

    .dot {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    .slide-content {
        left: 12px;
        right: 12px;
        bottom: 28px;
        padding: 0.75rem 0.8rem;
    }

    .slide-kicker {
        margin-bottom: 0.5rem;
        font-size: 0.68rem;
    }

    .slide-content h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .slide-content p {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .prev,
    .next {
        width: 36px;
        height: 36px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .contacto-form {
        padding: 1rem;
        border-radius: 16px;
    }

    .contacto-intro-card h3,
    .contacto-form-header h3 {
        font-size: 1.2rem;
    }

    .contacto-kicker,
    .contacto-form-badge {
        font-size: 0.7rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea,
    .btn-solicitar {
        font-size: 16px;
    }

    .phone-field {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .info-item {
        padding: 1rem;
    }

    .contacto-imagen img {
        height: 180px;
    }

    .footer-brand h3 {
        font-size: 0.95rem;
    }

    .footer-bottom {
        gap: 0.75rem;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
        font-size: 1.7rem;
    }

    .welcome-popup-card {
        width: min(94vw, 420px);
        max-height: calc(100vh - 24px);
        padding: 1.25rem;
        border-radius: 20px;
    }

    .welcome-popup-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .welcome-popup-card h3 {
        font-size: 1.35rem;
        padding-right: 2rem;
    }

    .welcome-popup-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .welcome-popup-actions {
        flex-direction: column;
    }

    .welcome-popup-primary,
    .welcome-popup-secondary {
        width: 100%;
    }
}
