:root {
      --blue: #075CFF;
      --blue-2: #00A3FF;
      --dark: #07152E;
      --text: #0B1736;
      --muted: #5F6B85;
      --bg: #F7FAFF;
      --card: rgba(255,255,255,.86);
      --border: rgba(7,92,255,.12);
      --shadow: 0 24px 70px rgba(8, 37, 92, .12);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Inter', sans-serif;
      color: var(--text);
      background: var(--bg);
      overflow-x: hidden;
    }

    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; display: block; }

    .container {
      width: min(1180px, calc(100% - 32px));
      margin: auto;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 22px;
      border-radius: 14px;
      font-weight: 700;
      transition: .3s ease;
      border: 1px solid transparent;
      cursor: pointer;
    }

    .btn-primary {
      color: white;
      background: linear-gradient(135deg, var(--blue), var(--blue-2));
      box-shadow: 0 18px 35px rgba(7,92,255,.25);
    }

    .btn-primary:hover { transform: translateY(-3px); }

    .btn-outline {
      color: var(--text);
      background: rgba(255,255,255,.75);
      border-color: rgba(7,92,255,.18);
      backdrop-filter: blur(12px);
    }

    .section {
      padding: 90px 0;
      position: relative;
    }

    .tag {
      color: var(--blue);
      background: rgba(7,92,255,.08);
      padding: 8px 14px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
      display: inline-flex;
      margin-bottom: 18px;
    }

    .section-title {
      font-size: clamp(30px, 4vw, 48px);
      line-height: 1.08;
      letter-spacing: -.04em;
      margin-bottom: 16px;
    }

    .section-text {
      color: var(--muted);
      font-size: 17px;
      line-height: 1.7;
    }

    /* Header */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 100;
      transition: .3s ease;
      background: rgba(255,255,255,.72);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(7,92,255,.08);
    }

    header.scrolled { box-shadow: 0 10px 35px rgba(8, 37, 92, .08); }

    .nav {
      height: 78px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo-img {
      height: 48px;
      width: auto;
      object-fit: contain;
      display: block;
    }

    .logo-mark {
      width: 38px;
      height: 38px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--blue), var(--blue-2));
      color: white;
      display: grid;
      place-items: center;
      font-weight: 900;
    }

    .logo small {
      display: block;
      font-size: 10px;
      color: var(--muted);
      font-weight: 600;
      letter-spacing: 0;
      margin-top: -2px;
    }

    .menu {
      display: flex;
      align-items: center;
      gap: 28px;
      font-size: 14px;
      font-weight: 700;
    }

    .menu a { color: var(--dark); opacity: .85; }
    .menu a:hover { color: var(--blue); }

    .hamburger {
      display: none;
      background: white;
      border: 1px solid var(--border);
      width: 45px;
      height: 45px;
      border-radius: 14px;
      font-size: 20px;
      color: var(--blue);
    }

    .mobile-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: min(360px, 86%);
      height: 100vh;
      background: rgba(255,255,255,.96);
      backdrop-filter: blur(20px);
      z-index: 200;
      transition: .4s ease;
      padding: 28px;
      box-shadow: -20px 0 60px rgba(0,0,0,.12);
    }

    .mobile-menu.active { right: 0; }
    .mobile-menu .close {
      float: right;
      border: none;
      background: transparent;
      font-size: 26px;
      color: var(--dark);
    }
    .mobile-links { margin-top: 70px; display: grid; gap: 22px; font-weight: 800; }

    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: 110px;
      background:
        radial-gradient(circle at 80% 20%, rgba(0,163,255,.18), transparent 34%),
        radial-gradient(circle at 10% 80%, rgba(7,92,255,.10), transparent 32%),
        linear-gradient(180deg, #FFFFFF 0%, #F3F8FF 100%);
      overflow: hidden;
      position: relative;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(7,92,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7,92,255,.055) 1px, transparent 1px);
      background-size: 54px 54px;
      mask-image: linear-gradient(to bottom, black, transparent 82%);
    }

    .hero-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1.02fr .98fr;
      gap: 50px;
      align-items: center;
    }

    .hero h1 {
      font-size: clamp(42px, 6vw, 76px);
      line-height: .98;
      letter-spacing: -.06em;
      margin-bottom: 24px;
    }

    .gradient-text {
      background: linear-gradient(135deg, var(--blue), var(--blue-2));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero p {
      font-size: 19px;
      color: var(--muted);
      line-height: 1.75;
      max-width: 610px;
      margin-bottom: 32px;
    }

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

    .hero-metrics {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      margin-top: 44px;
    }

    .mini-metric {
      display: flex;
      gap: 10px;
      align-items: center;
      color: var(--muted);
      font-size: 12px;
      font-weight: 600;
    }

    .mini-metric i {
      width: 38px;
      height: 38px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      color: var(--blue);
      background: white;
      box-shadow: 0 12px 30px rgba(7,92,255,.12);
    }

    .mini-metric strong { color: var(--dark); display: block; font-size: 14px; }

    .hero-visual {
      position: relative;
      min-height: 540px;
    }

    .device-card {
      position: absolute;
      right: 0;
      top: 50px;
      width: 92%;
      height: 440px;
      border-radius: 36px;
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid rgba(255,255,255,.9);
      background: white;
      transform: perspective(1100px) rotateY(-8deg) rotateX(4deg);
    }

    .device-card img { width: 100%; height: 100%; object-fit: cover; }

    .floating-card {
      position: absolute;
      width: 250px;
      padding: 20px;
      border-radius: 22px;
      background: rgba(255,255,255,.82);
      backdrop-filter: blur(18px);
      border: 1px solid rgba(7,92,255,.12);
      box-shadow: var(--shadow);
      animation: float 5s ease-in-out infinite;
    }

    .floating-card i {
      color: var(--blue);
      font-size: 24px;
      margin-bottom: 12px;
    }

    .floating-card h4 { margin-bottom: 8px; }
    .floating-card p { font-size: 13px; margin: 0; line-height: 1.55; }
    .card-1 { top: 0; right: 0; }
    .card-2 { right: 0; top: 175px; animation-delay: 1s; }
    .card-3 { right: 0; top: 350px; animation-delay: 2s; }

    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-16px); }
    }

    .scroll-hint {
      position: absolute;
      left: 50%;
      bottom: 28px;
      transform: translateX(-50%);
      color: var(--blue);
      font-size: 22px;
      animation: bounce 1.6s infinite;
    }

    @keyframes bounce {
      0%, 100% { transform: translate(-50%, 0); }
      50% { transform: translate(-50%, 10px); }
    }

    /* Services */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 18px;
      margin-top: 34px;
    }

    .service-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 22px;
      overflow: hidden;
      box-shadow: 0 18px 50px rgba(8,37,92,.07);
      transition: .35s ease;
    }

    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 24px 70px rgba(7,92,255,.14);
    }

    .service-img { height: 135px; overflow: hidden; }
    .service-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s ease; }
    .service-card:hover img { transform: scale(1.08); }
    .service-body { padding: 20px; }
    .service-icon {
      width: 42px;
      height: 42px;
      margin-top: -42px;
      margin-bottom: 14px;
      position: relative;
      border-radius: 14px;
      display: grid;
      place-items: center;
      color: white;
      background: linear-gradient(135deg, var(--blue), var(--blue-2));
      box-shadow: 0 12px 30px rgba(7,92,255,.24);
    }
    .service-body h3 { font-size: 17px; margin-bottom: 10px; }
    .service-body p { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
    .arrow { color: var(--blue); font-weight: 900; }

    /* Stats */
    .stats-panel {
      margin-top: 34px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      background: rgba(255,255,255,.86);
      border: 1px solid var(--border);
      border-radius: 24px;
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .stat {
      padding: 34px 26px;
      text-align: center;
      border-right: 1px solid rgba(7,92,255,.12);
    }
    .stat:last-child { border-right: none; }
    .stat i { color: var(--blue); font-size: 28px; margin-bottom: 12px; }
    .stat .number { font-size: 42px; color: var(--blue); font-weight: 900; letter-spacing: -.04em; }
    .stat span { color: var(--muted); font-weight: 600; }

    /* Solutions */
    .solutions-grid {
      display: grid;
      grid-template-columns: .9fr 1.4fr;
      gap: 40px;
      align-items: center;
    }

    .solution-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .solution-card {
      min-height: 310px;
      padding: 24px;
      border-radius: 24px;
      color: white;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      box-shadow: var(--shadow);
    }

    .solution-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 20%, rgba(4,12,30,.92));
      z-index: 1;
    }

    .solution-card img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: .5s ease;
    }
    .solution-card:hover img { transform: scale(1.08); }
    .solution-card div { position: relative; z-index: 2; }
    .solution-card p { color: rgba(255,255,255,.78); margin-top: 8px; line-height: 1.55; font-size: 14px; }

    /* Clients */
    .clients { text-align: center; padding-top: 30px; }
    .client-logo {
      height: 82px;
      display: grid;
      place-items: center;
      border-radius: 20px;
      background: white;
      border: 1px solid var(--border);
      color: #21395E;
      font-size: 24px;
      font-weight: 900;
      box-shadow: 0 14px 40px rgba(8,37,92,.06);
    }

    /* CTA */
    .cta {
      margin: 60px auto 0;
      border-radius: 34px;
      padding: 50px;
      background:
        linear-gradient(135deg, rgba(7,92,255,.96), rgba(0,163,255,.9)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1600&auto=format&fit=crop');
      background-size: cover;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
    }

    .cta h2 { font-size: clamp(28px, 4vw, 44px); max-width: 650px; line-height: 1.1; }
    .cta p { color: rgba(255,255,255,.82); margin-top: 12px; }
    .cta .btn { background: white; color: var(--blue); }

    footer {
      padding: 36px 0;
      border-top: 1px solid var(--border);
      background: white;
    }
    .footer-grid {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
      color: var(--muted);
      font-size: 14px;
    }
    .socials { display: flex; gap: 14px; color: var(--blue); font-size: 18px; }

    /* WhatsApp */
    .whatsapp-float {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 80;
      width: 58px;
      height: 58px;
      border-radius: 20px;
      background: #25D366;
      color: white;
      display: grid;
      place-items: center;
      font-size: 28px;
      box-shadow: 0 18px 40px rgba(37,211,102,.35);
      transition: .3s ease;
    }
    .whatsapp-float:hover { transform: translateY(-5px); }

    /* Responsive */
    @media (max-width: 1050px) {
      .services-grid { grid-template-columns: repeat(3, 1fr); }
      .hero-grid { grid-template-columns: 1fr; }
      .hero-visual { min-height: 460px; }
      .solutions-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 900px) {
      .menu, .nav .btn { display: none; }
      .hamburger { display: block; }
      .nav { height: 70px; }
      .logo-img { height: 42px; }

      .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 55px;
      }

      .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .hero h1 {
        font-size: clamp(36px, 11vw, 56px);
        line-height: 1.02;
        max-width: 100%;
        overflow-wrap: normal;
      }

      .hero p {
        font-size: 16px;
        line-height: 1.65;
      }

      .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
      }

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

      .hero-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 28px;
      }

      .mini-metric {
        background: rgba(255,255,255,.86);
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 12px;
        align-items: flex-start;
      }

      .hero-visual {
        min-height: auto;
        display: grid;
        gap: 14px;
        margin-top: 10px;
      }

      .device-card {
        position: relative;
        width: 100%;
        height: 260px;
        top: auto;
        right: auto;
        border-radius: 26px;
        transform: none;
        order: 2;
      }

      .floating-card {
        position: relative;
        width: 100%;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        animation: none;
        padding: 18px;
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: 14px;
        align-items: center;
      }

      .floating-card i { margin-bottom: 0; }
      .floating-card h4 { margin-bottom: 4px; }
      .floating-card p { grid-column: 2; }

      .device-card {
    order: 1;
}

.card-1 {
    order: 2;
    top: auto;
    right: auto;
}

.card-2 {
    order: 3;
    top: auto;
    right: auto;
    bottom: auto;
}

.card-3 {
    order: 4;
    top: auto;
    right: auto;
    bottom: auto;
}
      .services-grid { grid-template-columns: 1fr; }
      .stats-panel { grid-template-columns: 1fr 1fr; }
      .stat { border-right: none; border-bottom: 1px solid rgba(7,92,255,.12); }
      .solution-cards { grid-template-columns: 1fr; }
      .cta { padding: 34px 24px; flex-direction: column; align-items: flex-start; }
      .section { padding: 70px 0; }
      .scroll-hint { display: none; }
      .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; border-radius: 18px; }
    }

    @media (max-width: 420px) {
      .hero h1 { font-size: 38px; }
      .logo { font-size: 21px; }
      .stats-panel { grid-template-columns: 1fr; }
      .hero-metrics { grid-template-columns: 1fr; }
    }

    .logo-img{
    height:72px;
}

/* ===============================
   AJUSTES FINALES CLIENTES / CONTACTO
   =============================== */
.clients {
    text-align: left !important;
    padding-top: 30px;
}

.clients > .container,
.clients-header,
section#clientes .clients-header {
    text-align: left !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.clients-header .tag,
.clients-header .section-title,
section#clientes .tag,
section#clientes .section-title {
    text-align: left !important;
}

.clients-header .tag {
    display: inline-flex !important;
    justify-content: flex-start !important;
}

.clients-header .section-title {
    display: block !important;
    width: 100% !important;
    margin-top: 18px;
}

.clientSwiper {
    width: 100%;
}

.client-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 14px 40px rgba(8,37,92,.06);
    padding: 20px;
}

.client-logo img {
    max-width: 100%;
    max-height: 55px;
    object-fit: contain;
    opacity: .9;
    transition: .3s ease;
}

.client-logo:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.contact {
    text-align: left;
}

.contact-header {
    text-align: left;
    margin-bottom: 35px;
}

.contact-header .section-title {
    margin-top: 18px;
}

.contact-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 35px;
    align-items: stretch;
}

.contact-map {
    width: 100%;
    min-height: 430px;
}

.contact-map iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 430px;
    border: 0;
    border-radius: 28px;
    box-shadow: var(--shadow);
    display: block;
}

.contact-info {
    background: white;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 38px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    color: var(--muted);
}

.contact-item i {
    color: var(--blue);
    font-size: 26px;
    width: 34px;
    margin-top: 4px;
}

.contact-item h4 {
    color: var(--text);
    font-size: 18px;
    margin-bottom: 6px;
}

.contact-item p {
    font-size: 17px;
    line-height: 1.5;
}

.contact-btn {
    width: fit-content;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 330px;
    }

    .contact-info {
        padding: 28px;
    }
}
/* ===== Correcciones finales: clientes + contacto ===== */

section#clientes.clients {
    text-align: left !important;
}

section#clientes .clients-header {
    text-align: left !important;
    margin-bottom: 40px;
}

section#clientes .clients-header .tag {
    display: inline-flex !important;
    margin-left: 0 !important;
}

section#clientes .clients-header .section-title {
    text-align: left !important;
    margin-left: 0 !important;
    max-width: 850px;
}

.contact-header {
    text-align: left;
    margin-bottom: 35px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: stretch;
}

.contact-map iframe {
    width: 100%;
    height: 460px;
    border: 0;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.contact-info {
    background: white;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 40px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-item i {
    color: var(--blue);
    font-size: 26px;
    width: 32px;
    margin-top: 4px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--dark);
}

.contact-item p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.5;
}

@media(max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-map iframe {
        height: 340px;
    }

    .contact-info {
        padding: 28px;
    }
}
/* ABOUT */
/* ABOUT - versión más limpia */
.about{
    padding: 60px 0;
}

.about-grid{
    display:grid;
    grid-template-columns: .95fr 1.05fr;
    gap:0;
    align-items:stretch;
    background:white;
    border:1px solid var(--border);
    border-radius:34px;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.about-image{
    min-height:460px;
}

.about-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:0;
    box-shadow:none;
}

.about-content{
    padding:48px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

.about-content .tag{
    align-self:flex-start;
    margin-bottom:18px;
}

.about-content .section-title{
    font-size:clamp(32px, 4vw, 52px);
    margin-bottom:20px;
}

.about-content .section-text{
    max-width:620px;
    margin-bottom:28px;
}

.about-cards{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
}

.about-card{
    display:flex;
    align-items:center;
    gap:16px;
    background:#F7FAFF;
    border:1px solid var(--border);
    border-radius:18px;
    padding:16px 18px;
    box-shadow:none;
}

.about-card i{
    width:42px;
    height:42px;
    border-radius:14px;
    background:white;
    color:var(--blue);
    display:grid;
    place-items:center;
    font-size:20px;
    flex-shrink:0;
}

.about-card h4{
    font-size:17px;
    margin-bottom:3px;
}

.about-card p{
    font-size:14px;
    color:var(--muted);
    line-height:1.4;
}

@media(max-width:900px){
    .about-grid{
        grid-template-columns:1fr;
    }

    .about-image{
        min-height:300px;
    }

    .about-content{
        padding:30px;
    }
}

.about-top{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    margin-bottom:18px;
}

.about-top .section-title{
    margin-top:12px;
    margin-bottom:0;
    text-align:left;
}

.about-content{
    justify-content:flex-start;
}

.about-header-left{
    max-width:760px;
    text-align:left;
    margin-bottom:34px;
}

.about-header-left .tag{
    margin-left:0;
}

.about-header-left .section-title{
    text-align:left;
    margin-top:10px;
}

.about-grid-new{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:stretch;
}

.about-grid-new .about-image img{
    width:100%;
    height:480px;
    object-fit:cover;
    border-radius:30px;
    box-shadow:var(--shadow);
}

.about-content-new{
    background:white;
    border:1px solid var(--border);
    border-radius:30px;
    padding:36px;
    box-shadow:var(--shadow);
}

.about-content-new .section-text{
    margin-bottom:26px;
}

@media(max-width:900px){
    .about-grid-new{
        grid-template-columns:1fr;
    }

    .about-grid-new .about-image img{
        height:320px;
    }
}

/* MENU ACTIVO */
.menu a.active,
.mobile-links a.active{
    color: var(--blue);
    position: relative;
}

.menu a.active::after,
.mobile-links a.active::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-10px;
    width:100%;
    height:3px;
    background:var(--blue);
    border-radius:10px;
}
