/* =========================================================
   NUBEX360 — CSS NUEVO
   Estilo: moderno, premium, visual, claro + hero potente
========================================================= */

/* === VARIABLES === */
:root {
    --bg-dark: #060b16;
    --bg-dark-2: #0b1220;
    --bg-soft: #f5f9ff;
    --bg-card: rgba(255,255,255,0.08);
    --bg-card-light: rgba(255,255,255,0.72);

    --primary: #243a73;
    --primary-light: #0897ef;
    --cyan: #00c2cb;
    --violet: #7c3aed;

    --text-dark: #0f172a;
    --text-soft: #64748b;
    --text-white: #f8fbff;

    --border-glow: rgba(96,165,250,0.30);
    --border-soft: rgba(255,255,255,0.10);

    --shadow-blue: 0 20px 50px rgba(37,99,235,0.18);
    --shadow-soft: 0 10px 30px rgba(15,23,42,0.08);

    --radius: 22px;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Lato', sans-serif;
}
/* === RESET GENERAL === */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background:
        radial-gradient(circle at 15% 10%, rgba(37,99,235,0.08), transparent 20%),
        radial-gradient(circle at 85% 20%, rgba(34,211,238,0.06), transparent 20%),
        radial-gradient(circle at 50% 90%, rgba(124,58,237,0.05), transparent 25%),
        linear-gradient(180deg, #f9fbff 0%, #f3f8ff 100%);
    color: var(--text-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* === TIPOGRAFÍA === */
h1, h2, h3, .section-title, .titulo-logo, .destacado {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    line-height: 1.08;
}

h2, .section-title {
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.8rem);
}

p {
    color: var(--color-text-soft);
    font-size: 1.02rem;
}

.text-deep-blue {
    color: var(--color-primary);
}

.text-turquoise {
    color: var(--color-cyan);
}

.text-turquoise svg {
    color: var(--color-cyan);
}

.destacado,
.titulo-logo {
    color: var(--color-primary);
}

/* === UTILIDADES === */
.bg-mid-gray {
    background: linear-gradient(180deg, #f7faff 0%, #eef5ff 100%);
}

.bg-turquoise {
    background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
    color: white;
}

.bg-deep-blue {
    background: linear-gradient(180deg, #081120 0%, #0f172a 100%);
    color: white;
}

.border.rounded-4 {
    border-color: rgba(37, 99, 235, 0.08) !important;
}

.border-primary-subtle {
    border-color: rgba(37, 99, 235, 0.18) !important;
}

.grayscale {
    filter: grayscale(100%);
}

/* =========================================================
   NAVBAR
========================================================= */
.navbar {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.08);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
    color: var(--color-text);
    padding: 0.8rem 1rem;
    font-weight: 600;
    position: relative;
}

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

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    bottom: 0.45rem;
    width: 0;
    height: 2px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 2rem);
}

/* =========================================================
   HERO
========================================================= */
.hero {
    position: relative;
    overflow: hidden;
    padding: 140px 0 110px;
    color: var(--text-white);
    background:
        radial-gradient(circle at 15% 20%, rgba(96,165,250,0.25), transparent 22%),
        radial-gradient(circle at 85% 30%, rgba(34,211,238,0.18), transparent 25%),
        radial-gradient(circle at 70% 80%, rgba(124,58,237,0.18), transparent 24%),
        linear-gradient(135deg, #050816 0%, #0b1220 45%, #123c7a 75%, #0ea5e9 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.02));
    opacity: 0.6;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    width: 900px;
    height: 900px;
    right: -250px;
    top: -200px;
    background: radial-gradient(circle, rgba(34,211,238,0.16), transparent 60%);
    filter: blur(60px);
    pointer-events: none;
}

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

h1, h2, h3, .section-title {
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.02;
    color: white;
}

.hero .lead {
    color: rgba(255,255,255,0.78);
    font-size: 1.12rem;
    max-width: 860px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    color: var(--text-dark);
}

.hero p {
    color: rgba(255,255,255,0.82);
    font-size: 1.15rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn-primary {
    background: linear-gradient(135deg, #111827, #020617);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    font-weight: 700;
    padding: 0.95rem 1.7rem;
    border-radius: 16px;
    box-shadow: 0 18px 35px rgba(2, 6, 23, 0.22);
}

.hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 45px rgba(2, 6, 23, 0.28);
}

.hero .btn-outline-light {
    background: rgba(255,255,255,0.92);
    border: none;top: none;
    color: var(--color-text);
    font-weight: 700;
    padding: 0.95rem 1.7rem;
    border-radius: 16px;
    box-shadow: 0 18px 35px rgba(255,255,255,0.16);
}

.hero .btn-outline-light:hover {
    background: white;
    color: var(--color-primary);
    transform: translateY(-3px);
}

.hero .overlay-white {
    display: none;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.90);
    backdrop-filter: blur(14px);
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.hero-stats {
    margin-top: 3rem;
}

.hero-stat-card {
    position: relative;
    border-radius: 20px;
    padding: 1.4rem 1rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.14);
    overflow: hidden;
}

.hero-stat-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -30px;
    top: -30px;
    background: radial-gradient(circle, rgba(96,165,250,0.18), transparent 65%);
    filter: blur(15px);
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 2;
}

.hero-stat-label {
    color: rgba(255,255,255,0.76);
    font-size: 0.94rem;
    position: relative;
    z-index: 2;
}
.section-heading {
    max-width: 900px;
    margin: 0 auto;
}

.icon-circle {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(37,99,235,0.14), rgba(34,211,238,0.16));
    border: 1px solid rgba(37,99,235,0.12);
    color: var(--primary);
    box-shadow: 0 12px 26px rgba(37,99,235,0.10);
}

.icon-circle svg,
.icon-circle i {
    width: 28px;
    height: 28px;
}

.faq-modern .accordion-item {
    border: 1px solid rgba(37,99,235,0.08);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 8px 22px rgba(15,23,42,0.04);
}

.faq-modern .accordion-button {
    font-weight: 700;
    color: var(--color-text);
    background: white;
    box-shadow: none;
}

.faq-modern .accordion-button:not(.collapsed) {
    background: #f7fbff;
    color: var(--color-primary);
}

.faq-modern .accordion-body {
    color: var(--color-text-soft);
    background: white;
}

/* =========================================================
   BOTONES GENERALES
========================================================= */
.btn,
.btn-light,
.btn-primary,
.btn-informacion {
    border-radius: 16px;
    font-weight: 700;
    padding: 0.9rem 1.45rem;
    transition: var(--transition);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border: none;
    color: white;
    border-radius: 16px;
    padding: 0.95rem 1.6rem;
    font-weight: 700;
    box-shadow: 0 16px 40px rgba(37,99,235,0.25);
    transition: all .35s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 55px rgba(37,99,235,0.30);
}

.btn-light {
    background: rgba(255,255,255,0.96);
    color: var(--text-dark);
    border: 1px solid rgba(255,255,255,0.50);
    border-radius: 16px;
    padding: 0.95rem 1.6rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
    transition: all .35s ease;
}

.btn-light:hover,
.btn-informacion:hover {
    transform: translateY(-3px);
    color: var(--primary);
}

/* =========================================================
   SECCIONES
========================================================= */
section {
    position: relative;
}

.section-title {
    text-align: center;
}

.section-subtitle,
.section-description {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: var(--color-text-soft);
}
.soluciones-section {
    position: relative;
    padding: 90px 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(37,99,235,0.05), transparent 20%),
        radial-gradient(circle at 80% 30%, rgba(6,182,212,0.06), transparent 20%),
        linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
}
/* =========================================================
   CARDS SOLUCIONES
========================================================= */
.soluciones-section {
    padding: 110px 0 90px;
}

.soluciones-header-alt {
    margin-bottom: 3.5rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0897ef;
}

.soluciones-title-alt {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin: 0;
    color: #0f172a;
    max-width: 700px;
}

.soluciones-intro-alt {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #243a73;
    max-width: 460px;
}


.card-header-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:14px;
}

.solucion-tag{
    padding:5px 12px;
    font-size:0.75rem;
    font-weight:600;
    border-radius:999px;

    background:rgba(37,99,235,0.08);
    color:#0897ef;
}
.section-badge{
    display:inline-block;
    margin-bottom:12px;
    padding:6px 14px;
    border-radius:999px;
    font-size:0.8rem;
    font-weight:700;
    letter-spacing:0.08em;
    background:rgba(37,99,235,0.08);
    color:#243a73;
}
.soluciones-header h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.soluciones-header h2::after{
    content:"";
    display:block;
    width:90px;
    height:4px;
    margin:20px auto 0;
    border-radius:10px;
    background:linear-gradient(90deg,#243a73,#0897ef);
}

.soluciones-header p {
    font-size: 1.08rem;
    color: #64748b;
    margin: 0;
}

.solucion-card {
    position: relative;
    height: 100%;
    padding: 2rem 1.6rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.80);
    border: 1px solid rgba(37,99,235,0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 14px 35px rgba(15,23,42,0.06);
    transition: all 0.35s ease;
    overflow: hidden;
}

.solucion-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(37,99,235,0.16), rgba(6,182,212,0.10));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.solucion-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    top: -30px;
    right: -25px;
    background: radial-gradient(circle, rgba(37,99,235,0.08), transparent 65%);
    filter: blur(8px);
}

.solucion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 50px rgba(37,99,235,0.12);
    border-color: rgba(37,99,235,0.18);
}

.solucion-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.14), rgba(6,182,212,0.16));
    color: #2563eb;
    box-shadow: 0 12px 24px rgba(37,99,235,0.08);
}

.solucion-icon svg,
.solucion-icon i {
    width: 30px;
    height: 30px;
}

.solucion-card h3,
.solucion-card h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.solucion-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0;
}


.soluciones-cta {
    text-align: center;
    margin-top: 3rem;
}

.soluciones-cta .btn {
    padding: 0.95rem 1.6rem;
    border-radius: 16px;
    font-weight: 700;
    box-shadow: 0 16px 35px rgba(37,99,235,0.14);
}
/* =========================================================
   CARDS
========================================================= */
.card {
    border-radius: var(--radius);
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(255,255,255,0.45);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
    transition: all .35s ease;
    overflow: hidden;
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(37,99,235,0.22), rgba(34,211,238,0.12), rgba(124,58,237,0.14));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 55px rgba(37,99,235,0.14);
}

.card:hover .text-turquoise {
    color: var(--color-primary);
}

.card .card-body {
    padding: 1.6rem;
}

.card h3,
.card h4,
.card h5 {
    color: var(--color-text);
    margin-bottom: 0.6rem;
}

.card p {
    color: var(--color-text-soft);
}

.card img {
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.04);
}

/* Cards de servicios más visuales */
.card i[data-lucide],
.card svg {
    transition: transform 0.35s ease, color 0.35s ease;
}

.card:hover i[data-lucide],
.card:hover svg {
    transform: scale(1.08);
    color: var(--color-cyan);
}

/* =========================================================
   CTA FINAL
========================================================= */
.cta-final {
    position: relative;
    overflow: hidden;
    /*border-radius: 32px;*/
    background:
        radial-gradient(circle at 20% 30%, rgba(96,165,250,0.24), transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(34,211,238,0.18), transparent 22%),
        linear-gradient(135deg, #050816 0%, #0f172a 45%, #123c7a 100%);
    color: white;
    box-shadow: 0 30px 70px rgba(15,23,42,0.18);
}

.cta-final h2,
.cta-final p {
    color: white;
}

.cta-final .btn-light {
    background-color: white;
    color: var(--color-primary);
    font-weight: 700;
    border: none;
}

.cta-final .btn-light:hover {
    color: var(--color-dark);
    transform: translateY(-2px);
}

.cta-final h2,
.cta-final h3,
.cta-final p {
    color: white;
}

/* =========================================================
   FORMULARIOS
========================================================= */
form .form-label {
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.45rem;
}

form .form-control,
form .form-select,
form textarea {
    border-radius: 14px;
    border: 1px solid rgba(37, 99, 235, 0.10);
    background: rgba(255,255,255,0.92);
    padding: 0.9rem 1rem;
    color: var(--color-text);
    box-shadow: inset 0 1px 2px rgba(15,23,42,0.02);
    transition: var(--transition);
}

form .form-control::placeholder,
form textarea::placeholder {
    color: #94a3b8;
}

form .form-control:focus,
form .form-select:focus,
form textarea:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 0.25rem rgba(6, 182, 212, 0.12);
    background: white;
    outline: none;
}

/* =========================================================
   ALERTAS
========================================================= */
.alert-success {
    background-color: #e7fafc;
    border: 1px solid rgba(6, 182, 212, 0.24);
    color: #0f766e;
    border-radius: 16px;
}

.alert-danger {
    background-color: #fff1f2;
    border: 1px solid rgba(244, 63, 94, 0.18);
    color: #be123c;
    border-radius: 16px;
}
.portfolio-section {
    position: relative;
    padding: 100px 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(37,99,235,0.05), transparent 25%),
        radial-gradient(circle at 80% 25%, rgba(6,182,212,0.05), transparent 25%),
        linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    overflow: hidden;
}
/* =========================================================
   PORTAFOLIO
========================================================= */
.portfolio-section {
    position: relative;
    padding: 100px 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(37,99,235,0.05), transparent 25%),
        radial-gradient(circle at 80% 25%, rgba(6,182,212,0.05), transparent 25%),
        linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    overflow: hidden;
}

.portfolio-swiper {
    padding: 10px 10px 60px;
}

.portfolio-swiper .swiper-slide {
    height: auto;
}

.portfolio-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(37,99,235,0.10);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15,23,42,0.08);
    transition: all 0.35s ease;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 55px rgba(37,99,235,0.14);
}

.portfolio-image {
    padding: 20px 20px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.portfolio-image img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    display: block;
}

.portfolio-body {
    padding: 22px 22px 28px;
    text-align: center;
}

.portfolio-body h3 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
}

.portfolio-tags span {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(15,23,42,0.08);
    color: #475569;
}

.portfolio-body .btn {
    border-radius: 16px;
    padding: 0.85rem 1.4rem;
    font-weight: 700;
}

.portfolio-swiper .swiper-pagination {
    bottom: 0;
}

.portfolio-swiper .swiper-pagination-bullet {
    background: #94a3b8;
    opacity: 1;
}

.portfolio-swiper .swiper-pagination-bullet-active {
    background: #2563eb;
}


/* =========================================================
   CONTACTO
========================================================= */
.contact-details {
    font-family: var(--font-heading);
    color: white;
}

.contact-details a {
    color: white;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--color-cyan-soft);
}

/* =========================================================
   FOOTER
========================================================= */
footer {
    background:
        radial-gradient(circle at 20% 20%, rgba(37,99,235,0.18), transparent 22%),
        linear-gradient(180deg, #081120 0%, #0b1220 100%);
    color: rgba(255,255,255,0.78);
    font-size: 0.95rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

footer h5,
footer h6 {
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
}

footer a {
    color: rgba(255,255,255,0.86);
}

footer a:hover {
    color: var(--color-cyan-soft);
    text-decoration: none;
}

footer a:hover i,
footer a:hover svg {
    color: var(--color-cyan);
}

/* =========================================================
   RECAPTCHA
========================================================= */
.g-recaptcha {
    display: inline-block;
}

/* =========================================================
   ANIMACIONES
========================================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.85s ease, transform 0.85s cubic-bezier(.22,1,.36,1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.85s ease;
}

.fade-in.visible {
    opacity: 1;
}

.staggered .fade-in-up {
    transition-delay: calc(var(--i) * 120ms);
}

/* =========================================================
   BOTONES FLOTANTES
========================================================= */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

.btn-floating {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(37,99,235,0.25);
    border: 1px solid rgba(255,255,255,0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-floating:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 20px 35px rgba(37,99,235,0.32);
}

.btn-floating i,
.btn-floating svg {
    width: 28px;
    height: 28px;
}

.btn-floating.whatsapp {
    background: linear-gradient(135deg, #25D366, #1da851);
}

.btn-floating.whatsapp:hover {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* =========================================================
   BLOQUES DESTACADOS / ICONOS
========================================================= */
.icon-box,
.feature-box {
    padding: 1.8rem;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(37, 99, 235, 0.10);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.icon-box:hover,
.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.icon-box svg,
.feature-box svg,
.icon-box i,
.feature-box i {
    color: var(--color-primary);
}

/* =========================================================
   IMÁGENES / PORTFOLIO
========================================================= */
.portfolio-card,
.project-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.portfolio-card img,
.project-card img {
    transition: transform 0.5s ease;
}

.portfolio-card:hover img,
.project-card:hover img {
    transform: scale(1.06);
}
/* =========================================================
   PROCESO / TIMELINE
========================================================= */
.proceso-section {
    position: relative;
    padding: 100px 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(37,99,235,0.05), transparent 22%),
        radial-gradient(circle at 85% 25%, rgba(6,182,212,0.05), transparent 22%),
        linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
    overflow: hidden;
}

.proceso-header {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.proceso-header .section-title {
    margin-bottom: 1rem;
}

.proceso-header .section-description {
    color: #64748b;
    font-size: 1.05rem;
    margin: 0 auto;
}

.proceso-timeline {
    position: relative;
}

.proceso-line {
    position: absolute;
    top: 36px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, rgba(37,99,235,0.18), rgba(6,182,212,0.22));
    z-index: 0;
}

.proceso-step {
    position: relative;
    text-align: center;
    padding: 0 1rem;
    z-index: 2;
}

.proceso-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 1rem;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37,99,235,0.14), rgba(6,182,212,0.16));
    border: 1px solid rgba(37,99,235,0.12);
    box-shadow: 0 12px 28px rgba(37,99,235,0.10);
    backdrop-filter: blur(8px);
    transition: all 0.35s ease;
}

.proceso-icon svg,
.proceso-icon i {
    width: 30px;
    height: 30px;
    color: #2563eb;
}

.proceso-number {
    display: inline-block;
    margin-bottom: 0.8rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #2563eb;
    background: rgba(37,99,235,0.08);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
}

.proceso-step h5 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.proceso-step p {
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 280px;
    margin: 0 auto;
}

.proceso-step:hover .proceso-icon {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 18px 34px rgba(37,99,235,0.14);
}
@media (max-width: 991px) {
    .soluciones-title-alt {
        line-height: 1.05;
    }

    .soluciones-intro-alt {
        max-width: 100%;
    }
    .soluciones-title-alt {
        line-height: 1.05;
    }

    .soluciones-intro-alt {
        max-width: 100%;
    }
    
    .proceso-timeline {
        position: relative;
        padding-left: 40px;
    }

    /* línea vertical */
    .proceso-timeline {
        position: relative;
        padding-left: 0;
    }

    .proceso-line {
        position: absolute;
        left: 36px;
        top: 20px;
        bottom: 20px;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(37,99,235,0.25), rgba(6,182,212,0.25));
    }

    .proceso-step {
        position: relative;
        text-align: left;
        padding-left: 95px;
        margin-bottom: 55px;
        min-height: 90px;
    }

    .proceso-icon {
        position: absolute;
        left: 8px;
        top: 0;
        width: 56px;
        height: 56px;
        margin: 0;
        border-radius: 18px;
    }

    .proceso-icon svg,
    .proceso-icon i {
        width: 24px;
        height: 24px;
    }

    .proceso-number {
        display: inline-block;
        margin: 0 0 10px 0;
        font-size: 0.78rem;
        padding: 0.3rem 0.6rem;
    }

    .proceso-step h5 {
        margin-top: 0;
        margin-bottom: 0.65rem;
        font-size: 1.5rem;
    }

    .proceso-step p {
        max-width: 100%;
        margin: 0;
        font-size: 0.98rem;
        line-height: 1.7;
    }

       .hero {
        padding: 110px 0 90px;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid rgba(37, 99, 235, 0.08);
        padding: 1rem;
        border-radius: 0 0 18px 18px;
        margin-top: 0.5rem;
        box-shadow: var(--shadow-sm);
    }
}
/* ===== Portfolio más compacto en escritorio ===== */
@media (min-width: 992px) {
    .portfolio-swiper {
        padding: 10px 0 70px;
    }

    .portfolio-swiper .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: stretch;
    }

    .portfolio-card {
        width: 100%;
        max-width: 430px;
        margin: 0 auto;
        border-radius: 28px;
    }

    .portfolio-image {
        padding: 18px 18px 0;
    }

    .portfolio-image img {
        width: 100%;
        height: 260px;
        object-fit: contain;
        display: block;
    }

    .portfolio-body {
        padding: 24px 22px 28px;
        text-align: center;
    }

    .portfolio-body h3 {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .portfolio-tags {
        gap: 8px;
        margin-bottom: 22px;
    }

    .portfolio-tags span {
        font-size: 0.78rem;
        padding: 6px 12px;
    }

    .portfolio-body .btn {
        min-width: 150px;
        padding: 0.85rem 1.3rem;
    }
}
@media (max-width: 768px) {
    .hero {
        padding: 90px 0 75px;
        text-align: center;
    }

    h1 {
        font-size: 2.35rem;
    }

    h2,
    .section-title {
        font-size: 1.85rem;
    }

    .section-title {
        margin-bottom: 0.8rem;
    }

    .card {
        border-radius: 20px;
    }

    .btn,
    .btn-primary,
    .btn-light,
    .btn-informacion {
        width: auto;
        padding: 0.85rem 1.2rem;
    }

    .floating-buttons {
        bottom: 16px;
        right: 16px;
    }

    .btn-floating {
        width: 54px;
        height: 54px;
    }

    .card i[data-lucide],
    .card svg {
        width: 32px;
        height: 32px;
    }
    .portfolio-section {
        padding: 70px 0;
    }

    .portfolio-swiper {
        padding: 0 0 44px;
        overflow: hidden;
    }

    .portfolio-swiper .swiper-slide {
        width: 100% !important;
    }

    .portfolio-card {
        border-radius: 22px;
        overflow: hidden;
    }

    .portfolio-image {
        padding: 14px 14px 0;
    }

    .portfolio-image img {
        width: 100%;
        height: 190px;
        object-fit: contain;
        display: block;
    }

    .portfolio-body {
        padding: 18px 16px 22px;
        text-align: center;
    }

    .portfolio-body h3 {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 12px;
    }

    .portfolio-tags {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin-bottom: 18px;
    }

    .portfolio-tags span {
        font-size: 0.72rem;
        line-height: 1;
        padding: 6px 10px;
        border-radius: 999px;
        white-space: nowrap;
    }

    .portfolio-body .btn {
        width: auto;
        min-width: 150px;
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }

    .portfolio-swiper .swiper-pagination {
        bottom: 6px !important;
    }

    .portfolio-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

}

@media (max-width: 576px) {
    .hero {
        padding: 84px 0 68px;
    }

    h1 {
        font-size: 2rem;
    }

    h2,
    .section-title {
        font-size: 1.65rem;
    }

    p {
        font-size: 0.98rem;
    }
}