:root {
    --primary: #0A4F99;
    --primary-dark: #073A72;
    --primary-soft: rgba(10, 79, 153, 0.10);
    --secondary: #071A2D;
    --dark: #0B1220;
    --muted: #64748B;
    --text: #111827;
    --white: #FFFFFF;
    --light-bg: #F6F9FC;
    --border: rgba(15, 23, 42, 0.10);
    --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.10);
    --shadow-primary: 0 20px 60px rgba(10, 79, 153, 0.20);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --transition: all 0.28s ease;
}

/* BASE */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: var(--text);
    overflow-x: hidden;
}

body::selection {
    background: var(--primary);
    color: #fff;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

section {
    position: relative;
    scroll-margin-top: 95px;
}

.site-bg-glow {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: rgba(10, 79, 153, 0.08);
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
}

.site-bg-glow-1 {
    top: -160px;
    left: -120px;
}

.site-bg-glow-2 {
    right: -180px;
    bottom: 10%;
}

/* BOTONES */
.btn {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #0C65C8);
    border: 0;
    color: #fff;
    box-shadow: 0 14px 30px rgba(10, 79, 153, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(10, 79, 153, 0.30);
}

.btn-outline-primary {
    border: 1px solid rgba(10, 79, 153, 0.30);
    color: var(--primary);
    background: rgba(255, 255, 255, 0.72);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* NAVBAR */
.navbar-custom {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 12px 0;
    transition: var(--transition);
    z-index: 999;
}

.navbar-custom.navbar-scrolled {
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    padding: 8px 0;
}

.navbar-brand img {
    object-fit: contain;
}

.navbar-nav {
    gap: 6px;
}

.navbar .nav-link {
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 13px !important;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
}

.navbar .nav-link i {
    font-size: 15px;
    color: var(--primary);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary);
    background: var(--primary-soft);
}

.navbar-cta {
    padding: 10px 20px;
    font-size: 14px;
}

.navbar-toggler {
    border: 0;
    box-shadow: none !important;
    padding: 0;
}

.navbar-toggler-icon-custom {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

/* HERO */
.hero {
    min-height: calc(100vh - 75px);
    padding: 90px 0 80px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 12% 15%, rgba(10, 79, 153, 0.14), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 79, 153, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 79, 153, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent 80%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: rgba(10, 79, 153, 0.09);
    border: 1px solid rgba(10, 79, 153, 0.14);
    font-size: 13px;
    font-weight: 800;
    padding: 9px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.055em;
    color: var(--dark);
    margin-bottom: 22px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 620px;
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.hero-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.hero-stat-card span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 12px;
}

.hero-stat-card strong {
    display: block;
    color: var(--dark);
    font-size: 15px;
    margin-bottom: 3px;
}

.hero-stat-card small {
    color: var(--muted);
    line-height: 1.45;
}

.hero-visual {
    position: relative;
    padding: 18px;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 8% 0 0 8%;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(10, 79, 153, 0.20), rgba(7, 26, 45, 0.08));
    transform: rotate(-3deg);
}

.hero-visual img {
    position: relative;
    width: 100%;
    min-height: 440px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-primary);
    border: 1px solid rgba(255,255,255,0.6);
}

.hero-card-floating {
    position: absolute;
    z-index: 4;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 12px 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    color: var(--dark);
}

.hero-card-floating i {
    color: var(--primary);
    font-size: 20px;
}

.hero-card-floating-1 {
    top: 44px;
    left: -4px;
}

.hero-card-floating-2 {
    right: -8px;
    bottom: 118px;
}

.hero-tech-panel {
    position: absolute;
    left: 44px;
    right: 44px;
    bottom: -4px;
    z-index: 5;
    background: rgba(7, 26, 45, 0.93);
    color: #fff;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 22px 60px rgba(7, 26, 45, 0.28);
}

.hero-tech-panel div {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.hero-tech-panel span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.hero-tech-panel p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.86);
}

/* SECCIONES */
.about-section,
.services,
.web-packages,
.projects,
.why,
.clients,
.benefits,
.contact-section {
    padding: 95px 0;
}

.section-soft {
    background:
        radial-gradient(circle at 90% 10%, rgba(10, 79, 153, 0.07), transparent 30%),
        var(--light-bg);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
}

.section-title {
    color: var(--dark);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.section-heading p,
.section-text {
    color: var(--muted);
    line-height: 1.75;
    font-size: 16px;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.image-frame img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
}

.feature-list {
    display: grid;
    gap: 18px;
}

.feature-item {
    display: flex;
    gap: 15px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.feature-item span {
    min-width: 46px;
    height: 46px;
    border-radius: 15px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.feature-item strong {
    color: var(--dark);
}

.feature-item p {
    margin: 4px 0 0;
    color: var(--muted);
}

/* CARDS SERVICIOS */
.service-card {
    position: relative;
    height: 100%;
    padding: 28px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 79, 153, 0.08), transparent 45%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 79, 153, 0.20);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    position: relative;
    width: 58px;
    height: 58px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
}

.service-card h5 {
    position: relative;
    color: var(--dark);
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 12px;
}

.service-card p {
    position: relative;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* PLANES */
.web-packages {
    background: #fff;
}

.package-card {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.package-card::after {
    content: "";
    position: absolute;
    inset: auto -40px -70px auto;
    width: 170px;
    height: 170px;
    background: rgba(10, 79, 153, 0.08);
    border-radius: 999px;
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 79, 153, 0.24);
}

.package-card.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
    transform: translateY(-8px);
}

.package-card.popular {
    border: 2px solid rgba(10, 79, 153, 0.55);
}

.badge-popular {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    background: linear-gradient(135deg, var(--primary), #0C65C8);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 12px;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(10, 79, 153, 0.22);
}

.package-top {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-right: 40px;
}

.package-icon {
    min-width: 52px;
    height: 52px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.package-card h5 {
    color: var(--dark);
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 6px;
}

.package-card p {
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 0;
}

.price {
    position: relative;
    color: var(--primary);
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin: 22px 0 18px;
}

.base-price::before {
    content: "Desde";
    display: block;
    font-size: 12px;
    letter-spacing: 0;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 2px;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #475569;
    font-size: 14px;
    line-height: 1.45;
}

.features li i {
    color: #16A34A;
    font-size: 16px;
    margin-top: 2px;
}

.calculator-mini {
    position: relative;
    z-index: 2;
    margin-top: 24px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 20px;
    opacity: 0.74;
    transition: var(--transition);
}

.package-card.active .calculator-mini,
.package-card:hover .calculator-mini {
    opacity: 1;
}

.calculator-mini label {
    display: block;
    color: var(--dark);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}

.range {
    width: 100%;
    accent-color: var(--primary);
}

.range-value {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    margin: 8px 0;
}

.total {
    color: var(--primary);
    font-size: 30px;
    font-weight: 900;
    text-align: center;
    margin: 10px 0 14px;
}

.btn-whatsapp,
.btn-whatsapp-plan {
    background: #25D366;
    color: #fff;
    border: 0;
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.22);
}

.btn-whatsapp:hover,
.btn-whatsapp-plan:hover {
    background: #1FAE55;
    color: #fff;
    transform: translateY(-2px);
}

.microcopy {
    display: block;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    margin-top: 9px;
}

/* PROYECTOS */
.project-card {
    height: 100%;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.project-card img {
    width: 100%;
    height: 245px;
    object-fit: cover;
}

.project-body {
    padding: 24px;
}

.project-body span {
    width: 45px;
    height: 45px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.project-body h5 {
    color: var(--dark);
    font-weight: 900;
    margin-bottom: 10px;
}

.project-body p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* PROCESO */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.process-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.process-card span {
    position: absolute;
    right: 22px;
    top: 18px;
    font-size: 38px;
    font-weight: 900;
    color: rgba(10, 79, 153, 0.08);
}

.process-card i {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin-bottom: 20px;
}

.process-card h5 {
    color: var(--dark);
    font-weight: 900;
    margin-bottom: 10px;
}

.process-card p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* CLIENTES */
.clients {
    background: #fff;
}

.client-logo {
    height: 108px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.client-logo:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 79, 153, 0.20);
}

.client-logo img {
    max-height: 56px;
    max-width: 100%;
    object-fit: contain;
    filter: saturate(0.95);
    transition: var(--transition);
}

.client-logo:hover img {
    transform: scale(1.04);
    filter: saturate(1.1);
}

.logo-small {
    max-height: 48px;
}

/* BENEFICIOS */
.benefit-card {
    display: flex;
    gap: 18px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 26px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.benefit-card span {
    min-width: 54px;
    height: 54px;
    border-radius: 18px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.benefit-card h5 {
    color: var(--dark);
    font-weight: 900;
    margin-bottom: 8px;
}

.benefit-card p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* CTA */
.cta-section {
    padding: 90px 0;
    background: #fff;
}

.cta-box {
    text-align: center;
    border-radius: 34px;
    padding: 64px 30px;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,0.24), transparent 24%),
        linear-gradient(135deg, var(--primary), #061B33);
    color: #fff;
    box-shadow: var(--shadow-primary);
    overflow: hidden;
}

.cta-box .section-kicker {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.22);
    color: #fff;
}

.cta-box h2 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    letter-spacing: -0.04em;
    max-width: 780px;
    margin: 0 auto 16px;
}

.cta-box p {
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
    max-width: 680px;
    margin: 0 auto 28px;
}

.cta-box .btn-light {
    color: var(--primary);
}

/* CONTACTO */
.contact-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(10, 79, 153, 0.08), transparent 30%),
        var(--light-bg);
}

.contact-info-list {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.contact-info-item span {
    min-width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.contact-info-item strong {
    color: var(--dark);
}

.contact-info-item p {
    color: var(--muted);
    margin: 3px 0 0;
    line-height: 1.55;
}

.contact-form {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 30px;
    padding: 34px;
    box-shadow: var(--shadow-md);
}

.form-header {
    margin-bottom: 24px;
}

.form-header h5 {
    color: var(--dark);
    font-weight: 900;
    font-size: 24px;
    margin-bottom: 6px;
}

.form-header p {
    color: var(--muted);
    margin: 0;
}

.form-label {
    color: var(--dark);
    font-weight: 800;
    font-size: 13px;
}

.form-control {
    border-radius: 16px;
    padding: 13px 15px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: var(--dark);
    box-shadow: none;
    transition: var(--transition);
}

.form-control::placeholder {
    color: #9CA3AF;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.18rem rgba(10, 79, 153, 0.13);
}

.contact-alert {
    border-radius: 16px;
    padding: 13px 15px;
    font-size: 14px;
    font-weight: 700;
}

.contact-alert.success {
    background: rgba(22, 163, 74, 0.10);
    color: #15803D;
    border: 1px solid rgba(22, 163, 74, 0.18);
}

.contact-alert.error {
    background: rgba(220, 38, 38, 0.10);
    color: #B91C1C;
    border: 1px solid rgba(220, 38, 38, 0.18);
}

/* FOOTER */
.footer {
    background:
        radial-gradient(circle at 20% 0%, rgba(10, 79, 153, 0.18), transparent 28%),
        linear-gradient(135deg, #06172A 0%, #0B1220 100%);
    color: rgba(255,255,255,0.78);
    padding: 70px 0 24px;
}

.footer-main {
    padding-bottom: 36px;
}

.footer-brand-card,
.footer-column {
    height: 100%;
}

.footer-logo img {
    object-fit: contain;
    filter: brightness(1.15);
}

.footer-brand-card p {
    max-width: 340px;
    line-height: 1.75;
    color: rgba(255,255,255,0.76);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-column-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-column-title span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-column-title h6 {
    color: #fff;
    font-weight: 900;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.footer-links a,
.footer-links span {
    color: rgba(255,255,255,0.74);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer-links i {
    color: #72B7FF;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-mini-cta {
    margin-top: 24px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    padding: 18px;
}

.footer-mini-cta strong {
    color: #fff;
}

.footer-mini-cta p {
    color: rgba(255,255,255,0.70);
    margin: 5px 0 14px;
    line-height: 1.55;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.10);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.62);
}

/* FLOAT BUTTONS */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #fff;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.04);
    background: #1FAE55;
}

#scrollTopBtn {
    position: fixed;
    bottom: 92px;
    right: 26px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 14px 30px rgba(10, 79, 153, 0.28);
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}

#scrollTopBtn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 1199px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stat-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255,255,255,0.96);
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 22px;
        padding: 18px;
        margin-top: 14px;
        box-shadow: var(--shadow-md);
    }

    .navbar-nav {
        gap: 8px;
        margin-bottom: 16px;
    }

    .navbar .nav-link {
        justify-content: center;
        width: 100%;
    }

    .navbar-cta {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 70px 0;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stat-card span {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        margin-top: 20px;
    }

    .hero-card-floating-1 {
        left: 8px;
    }

    .hero-card-floating-2 {
        right: 8px;
    }

    .feature-item,
    .benefit-card,
    .contact-info-item {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .about-section,
    .services,
    .web-packages,
    .projects,
    .why,
    .clients,
    .benefits,
    .contact-section {
        padding: 70px 0;
    }

    .hero {
        min-height: auto;
        padding: 58px 0 70px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-stat-card:last-child {
        grid-column: auto;
    }

    .hero-visual img {
        min-height: 320px;
    }

    .hero-card-floating {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        justify-content: center;
        margin-bottom: 10px;
    }

    .hero-tech-panel {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: -20px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
        border-radius: 24px;
    }

    .cta-box {
        padding: 42px 22px;
        border-radius: 28px;
    }

    .benefit-card {
        flex-direction: column;
    }

    .footer {
        text-align: center;
    }

    .footer-brand-card p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column-title {
        justify-content: center;
    }

    .footer-links a,
    .footer-links span {
        justify-content: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .navbar-brand img {
        height: 42px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .section-title {
        font-size: 30px;
    }

    .package-card,
    .service-card,
    .project-card,
    .process-card {
        border-radius: 22px;
    }

    .package-top {
        padding-right: 0;
    }

    .badge-popular {
        position: static;
        display: inline-flex;
        width: max-content;
        margin-bottom: 14px;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 16px;
        bottom: 18px;
    }

    #scrollTopBtn {
        right: 18px;
        bottom: 86px;
    }
}

/* ===============================
   PAGINA DIAGNOSTICO GRATUITO
================================ */

.diagnostic-hero {
    padding: 95px 0;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 15% 15%, rgba(10, 79, 153, 0.14), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    overflow: hidden;
}

.diagnostic-hero h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.055em;
    color: var(--dark);
    margin-bottom: 22px;
}

.diagnostic-hero p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 18px;
    max-width: 620px;
}

.diagnostic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.diagnostic-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.diagnostic-mini-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.diagnostic-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.diagnostic-mini-card i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 12px;
}

.diagnostic-mini-card strong {
    display: block;
    color: var(--dark);
    font-weight: 900;
    margin-bottom: 4px;
}

.diagnostic-mini-card small {
    color: var(--muted);
    line-height: 1.45;
}

.diagnostic-visual-card {
    position: relative;
    background:
        radial-gradient(circle at 80% 10%, rgba(10, 79, 153, 0.18), transparent 32%),
        #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 34px;
    padding: 30px;
    box-shadow: var(--shadow-primary);
    overflow: hidden;
}

.diagnostic-panel-header {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
}

.diagnostic-panel-header span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(10, 79, 153, 0.22);
}

.diagnostic-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, var(--primary), #061B33);
    color: #fff;
    border-radius: 28px;
    padding: 28px;
    margin-bottom: 24px;
}

.diagnostic-score small {
    display: block;
    color: rgba(255,255,255,0.72);
    font-weight: 700;
    margin-bottom: 4px;
}

.diagnostic-score strong {
    display: block;
    font-size: 40px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.score-circle {
    width: 78px;
    height: 78px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

.diagnostic-check-list {
    display: grid;
    gap: 14px;
}

.diagnostic-check-list div {
    background: rgba(10, 79, 153, 0.05);
    border: 1px solid rgba(10, 79, 153, 0.10);
    border-radius: 18px;
    padding: 15px;
    color: var(--dark);
    font-weight: 700;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.diagnostic-check-list i {
    color: #16A34A;
    font-size: 18px;
    margin-top: 2px;
}

.diagnostic-note {
    margin-top: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #F8FAFC;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 16px;
}

.diagnostic-note i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 2px;
}

.diagnostic-note p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.diagnostic-benefits,
.diagnostic-form-section {
    padding: 95px 0;
}

.diagnostic-side-list {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.diagnostic-side-list div {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.diagnostic-side-list i {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.diagnostic-side-list span {
    color: var(--muted);
    line-height: 1.55;
}

.diagnostic-form select.form-control {
    appearance: auto;
}

@media (max-width: 991px) {
    .diagnostic-hero {
        text-align: center;
        padding: 70px 0;
    }

    .diagnostic-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .diagnostic-actions {
        justify-content: center;
    }

    .diagnostic-mini-card i {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .diagnostic-hero,
    .diagnostic-benefits,
    .diagnostic-form-section {
        padding: 70px 0;
    }

    .diagnostic-mini-grid {
        grid-template-columns: 1fr;
    }

    .diagnostic-actions .btn {
        width: 100%;
    }

    .diagnostic-score {
        flex-direction: column;
        text-align: center;
    }

    .diagnostic-visual-card {
        padding: 24px;
        border-radius: 28px;
    }
}


/* ===============================
   PAGINA AUDITORIA WEB
================================ */

.web-audit-hero {
    padding: 95px 0;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 15% 15%, rgba(10, 79, 153, 0.14), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    overflow: hidden;
}

.web-audit-hero h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.055em;
    color: var(--dark);
    margin-bottom: 22px;
}

.web-audit-hero p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 18px;
    max-width: 620px;
}

.audit-preview-card {
    background:
        radial-gradient(circle at 80% 10%, rgba(10, 79, 153, 0.18), transparent 32%),
        #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 34px;
    padding: 30px;
    box-shadow: var(--shadow-primary);
}

.audit-preview-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, var(--primary), #061B33);
    color: #fff;
    border-radius: 28px;
    padding: 28px;
    margin-bottom: 24px;
}

.audit-preview-score small {
    color: rgba(255,255,255,0.72);
    font-weight: 700;
}

.audit-preview-score strong {
    display: block;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.audit-preview-score p {
    color: rgba(255,255,255,0.78);
    margin: 6px 0 0;
    font-size: 14px;
}

.audit-radar {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

.audit-preview-list {
    display: grid;
    gap: 14px;
}

.audit-preview-list div {
    background: rgba(10, 79, 153, 0.05);
    border: 1px solid rgba(10, 79, 153, 0.10);
    border-radius: 18px;
    padding: 15px;
    color: var(--dark);
    font-weight: 700;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.audit-preview-list i {
    color: #16A34A;
    font-size: 18px;
    margin-top: 2px;
}

.web-audit-form-section {
    padding: 95px 0;
}

.audit-info-box {
    background: rgba(255,255,255,0.90);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.audit-info-box h5 {
    color: var(--dark);
    font-weight: 900;
    margin-bottom: 18px;
}

.audit-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.audit-info-box li {
    color: var(--muted);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.5;
}

.audit-info-box li i {
    color: #16A34A;
    font-size: 18px;
    margin-top: 2px;
}

.web-audit-result {
    margin-top: 24px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.audit-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.audit-score-circle {
    width: 112px;
    height: 112px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #061B33);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
}

.audit-score-circle strong {
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.audit-score-circle small {
    font-size: 12px;
    color: rgba(255,255,255,0.76);
}

.audit-result-meta h4 {
    color: var(--dark);
    font-weight: 900;
    margin-bottom: 8px;
}

.audit-result-meta p {
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

.audit-check-grid {
    display: grid;
    gap: 12px;
}

.audit-check-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-radius: 18px;
    padding: 15px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #F8FAFC;
}

.audit-check-item.passed {
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.16);
}

.audit-check-item.failed {
    background: rgba(220, 38, 38, 0.07);
    border-color: rgba(220, 38, 38, 0.14);
}

.audit-check-item .audit-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audit-check-item.passed .audit-icon {
    background: rgba(22, 163, 74, 0.14);
    color: #15803D;
}

.audit-check-item.failed .audit-icon {
    background: rgba(220, 38, 38, 0.12);
    color: #B91C1C;
}

.audit-check-item strong {
    display: block;
    color: var(--dark);
    margin-bottom: 3px;
}

.audit-check-item p {
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
}

.audit-result-cta {
    margin-top: 24px;
    background: linear-gradient(135deg, rgba(10, 79, 153, 0.10), rgba(10, 79, 153, 0.04));
    border: 1px solid rgba(10, 79, 153, 0.12);
    border-radius: 22px;
    padding: 20px;
}

.audit-result-cta h5 {
    color: var(--dark);
    font-weight: 900;
    margin-bottom: 8px;
}

.audit-result-cta p {
    color: var(--muted);
    margin-bottom: 16px;
}

@media (max-width: 991px) {
    .web-audit-hero {
        text-align: center;
        padding: 70px 0;
    }

    .web-audit-hero p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .web-audit-hero,
    .web-audit-form-section {
        padding: 70px 0;
    }

    .audit-preview-score,
    .audit-result-header {
        flex-direction: column;
        text-align: center;
    }

    .audit-preview-card,
    .audit-info-box,
    .web-audit-result {
        border-radius: 24px;
        padding: 22px;
    }
}




/* =========================================================
   WHATSAPP INTELIGENTE
========================================================= */

.whatsapp-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1050;
}

.whatsapp-float {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 0;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 18px 35px rgba(37, 211, 102, 0.35);
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 22px 45px rgba(37, 211, 102, 0.45);
}

.whatsapp-float:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.25);
}

.whatsapp-pulse {
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.35);
    animation: whatsappPulse 1.8s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0.85);
        opacity: 0.9;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.whatsapp-menu {
    position: absolute;
    right: 0;
    bottom: 82px;
    width: 365px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border: 1px solid rgba(10, 79, 153, 0.12);
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.96);
    pointer-events: none;
    transition: all 0.25s ease;
}

.whatsapp-widget.is-open .whatsapp-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.whatsapp-menu-header {
    background: linear-gradient(135deg, #0A4F99 0%, #083d76 100%);
    color: #fff;
    padding: 18px 18px 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.whatsapp-menu-label {
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.78;
    margin-bottom: 4px;
}

.whatsapp-menu-header h6 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
}

.whatsapp-menu-close {
    border: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.whatsapp-menu-close:hover {
    background: rgba(255, 255, 255, 0.24);
}

.whatsapp-menu-body {
    padding: 10px;
    max-height: 440px;
    overflow-y: auto;
}

.whatsapp-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    color: #111827;
    text-decoration: none;
    transition: all 0.2s ease;
}

.whatsapp-option:hover {
    background: rgba(10, 79, 153, 0.06);
    color: #0A4F99;
    transform: translateX(2px);
}

.whatsapp-option-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 14px;
    background: rgba(37, 211, 102, 0.12);
    color: #25D366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.whatsapp-option strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 2px;
}

.whatsapp-option small {
    display: block;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.35;
}

.whatsapp-option:hover small {
    color: #4b5563;
}

/* Ajuste para que no choque con el botón volver arriba */
#scrollTopBtn {
    right: 100px;
}

/* Mobile */
@media (max-width: 576px) {
    .whatsapp-widget {
        right: 16px;
        bottom: 18px;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        font-size: 28px;
    }

    .whatsapp-menu {
        right: -2px;
        bottom: 78px;
        width: calc(100vw - 28px);
        border-radius: 22px;
    }

    .whatsapp-menu-body {
        max-height: 390px;
    }

    #scrollTopBtn {
        right: 88px;
    }
}