:root {
      --blue-950: #082c66;
      --blue-900: #06458f;
      --blue-800: #0759bd;
      --blue-700: #0868d8;
      --blue-500: #159be8;
      --cyan: #29b9e8;
      --yellow: #f7b733;
      --green: #009c4a;
      --red: #ec3d36;
      --ink: #1f2a37;
      --muted: #64748b;
      --light: #f4f8ff;
      --white: #ffffff;
      --shadow: 0 18px 45px rgba(6, 69, 143, .16);
      --radius: 28px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(28px); }
      to { opacity: 1; transform: translateY(0); }
    }

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

    @keyframes sectionWash {
      from { opacity: 0; transform: scaleX(.6); }
      to { opacity: 1; transform: scaleX(1); }
    }

    @keyframes pulsePlay {
      0%, 100% { transform: scale(1); box-shadow: 0 18px 45px rgba(0,0,0,.22); }
      50% { transform: scale(1.08); box-shadow: 0 24px 60px rgba(247,183,51,.35); }
    }

    .section-animated {
      position: relative;
    }

    .section-animated::before {
      content: "";
      position: absolute;
      top: 28px;
      left: max(20px, calc((100% - 1160px) / 2));
      width: 92px;
      height: 6px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--yellow), var(--cyan));
      opacity: 0;
      transform-origin: left;
    }

    .section-animated.is-visible::before {
      animation: sectionWash .7s ease forwards;
    }

    .reveal {
      opacity: 0;
      transform: translateY(86px) scale(.93);
      filter: blur(12px);
      transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.16,1,.3,1), filter 1.1s ease;
      will-change: opacity, transform, filter;
    }

    .reveal.from-left {
      transform: translateX(-96px) scale(.94);
    }

    .reveal.from-right {
      transform: translateX(96px) scale(.94);
    }

    .reveal.zoom-in {
      transform: scale(.78);
    }

    .reveal.is-visible {
      opacity: 1;
      transform: translate(0, 0) scale(1);
      filter: blur(0);
    }

    .delay-1 { transition-delay: .18s; }
    .delay-2 { transition-delay: .36s; }
    .delay-3 { transition-delay: .54s; }
    .delay-4 { transition-delay: .72s; }

    .card,
    .testimonial-card,
    .step,
    .form-card,
    .map-card {
      transition: transform .28s ease, box-shadow .28s ease;
    }

    .card:hover,
    .testimonial-card:hover,
    .step:hover,
    .form-card:hover,
    .map-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 24px 55px rgba(6,69,143,.18);
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
      }
      .reveal { opacity: 1; transform: none; }
    }
    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background: var(--light);
      line-height: 1.45;
    }

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

    .container {
      width: min(1160px, calc(100% - 40px));
      margin: 0 auto;
    }

    .topbar {
      position: relative;
      z-index: 20;
      backdrop-filter: blur(14px);
      background: rgba(255,255,255,.92);
      border-bottom: 1px solid rgba(8,104,216,.1);
    }

    .nav {
      min-height: 96px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand img {
      width: 200px;
      height: auto;
      padding: 8px 0;
    }

    .header-logo-right img {
      width: 280px;
      height: auto;
      padding: 8px 0;
    }

    

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border: 0;
      border-radius: 999px;
      padding: 15px 22px;
      font-weight: 900;
      cursor: pointer;
      transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
      white-space: nowrap;
    }

    .btn:hover { transform: translateY(-2px); }
    .btn-primary {
      background: var(--yellow);
      color: #172033;
      box-shadow: 0 12px 28px rgba(247,183,51,.35);
    }
    .btn-secondary {
      background: var(--white);
      color: var(--blue-800);
      box-shadow: var(--shadow);
    }
    .btn-blue {
      background: var(--blue-800);
      color: var(--white);
      box-shadow: 0 12px 28px rgba(8,104,216,.28);
    }

    .hero {
      position: relative;
      overflow: hidden;
      padding: 120px 0;
      background: linear-gradient(135deg, #29b9e8 0%, #0868d8 100%);
      color: var(--white);
    }

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

    .hero-content h1 {
      color: var(--white);
      margin-bottom: 28px;
      letter-spacing:2px;
    }

    .hero-content h1 strong {
      color: var(--yellow);
    }

    .hero-media {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .hero-media-title {
      font-size: 1.25rem;
      font-weight: 700;
      text-align: center;
      margin: 0;
      line-height: 1.3;
    }

    .video-wrapper {
      position: relative;
      border-radius: var(--radius);
      overflow: hidden;
    }

    .video-thumbnail {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .play-button {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      max-width: 85px;
    }

    .btn-hero {
      align-self: center;
      font-size: 1.15rem;
      padding: 18px 36px;
    }

    .btn-hero img {
      max-width: 300px;
    }

    .hero-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1.3fr 1fr;
      gap: 54px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 13px;
      border-radius: 999px;
      background: rgba(255,255,255,.16);
      font-weight: 900;
      margin-bottom: 18px;
    }

    h1, h2, h3 { line-height: 1.05; margin: 0; }
    h1 {
      font-size: clamp(2.4rem, 6vw, 4rem);
      letter-spacing: -0.055em;
      max-width: 820px;
    }

    .hero h1 strong { color: var(--yellow); }

    .lead {
      font-size: clamp(1.05rem, 2vw, 1.15rem);
      max-width: 620px;
      margin: 24px 0 28px;
      color: rgba(255,255,255,.92);
      border-top: 1px solid rgba(255,255,255,.8);
      padding-top: 20px;
    }

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

    .trust-row {
      display: none;
    }

    .trust-pill {
      border: 1px solid rgba(255,255,255,.24);
      background: rgba(255,255,255,.15);
      border-radius: 18px;
      padding: 14px;
      font-weight: 800;
    }

    section { padding: 76px 0; }

    .section-head {
      max-width: 780px;
      margin-bottom: 34px;
    }
    .section-kicker {
      color: var(--blue-800);
      font-weight: 900;
      text-transform: uppercase;
      font-size: .82rem;
      letter-spacing: .12em;
      margin-bottom: 10px;
    }
    h2 {
      font-size: clamp(2rem, 4vw, 3.5rem);
      letter-spacing: -0.045em;
      color: var(--blue-900);
    }
    .section-head p {
      color: var(--muted);
      font-size: 1.12rem;
      margin: 16px 0 0;
    }

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

    .card {
      position: relative;
      overflow: hidden;
      background: var(--white);
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: var(--shadow);
      border: 1px solid rgba(8,104,216,.08);
    }
    .card::after {
      content: "";
      position: absolute;
      right: -36px;
      bottom: -40px;
      width: 150px;
      height: 150px;
      border-radius: 50%;
      background: rgba(41,185,232,.08);
    }
    .card-icon {
      width: 62px;
      height: 62px;
      border-radius: 19px;
      display: grid;
      place-items: center;
      background: #0b56b3;
      margin-bottom: 18px;
      padding: 13px;
    }
    .card-icon.green { background: var(--green); }
    .card-icon.yellow { background: var(--yellow); }
    .card-icon img { width: 100%; height: 100%; object-fit: contain; }
    .card h3 {
      color: var(--blue-900);
      font-size: 1.35rem;
      margin-bottom: 12px;
      position: relative;
      z-index: 1;
    }
    .card p, .card li { color: var(--muted); position: relative; z-index: 1; }
    .card ul { padding-left: 18px; margin: 12px 0 0; }

    .process {
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(rgba(255,255,255,.95), rgba(255,255,255,.95)),
        url('images/fondo.png') center/cover no-repeat;
    }
    .process::before {
      content: "";
      position: absolute;
      left: -180px;
      top: 80px;
      width: 480px;
      height: 480px;
      background: url('vector fondo 1.png') center/contain no-repeat;
      opacity: .18;
    }

    .process-grid {
      position: relative;
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 38px;
      align-items: center;
    }

    .machine-card {
      border-radius: 36px;
      background: linear-gradient(145deg, #eef7ff, #ffffff);
      padding: 28px;
      box-shadow: var(--shadow);
    }

    .steps {
      display: grid;
      gap: 16px;
    }
    .step {
      display: grid;
      grid-template-columns: 54px 1fr;
      gap: 16px;
      padding: 22px;
      border-radius: 24px;
      background: var(--light);
      border: 1px solid rgba(8,104,216,.1);
    }
    .step-number {
      width: 54px;
      height: 54px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: var(--blue-800);
      color: var(--white);
      font-weight: 900;
      font-size: 1.2rem;
    }
    .step h3 { font-size: 1.25rem; color: var(--blue-900); margin-bottom: 8px; }
    .step p { margin: 0; color: var(--muted); }

    .video-wrap {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 34px;
      align-items: center;
    }

    .video-player {
      min-height: 390px;
      border-radius: 34px;
      overflow: hidden;
      position: relative;
      background:
        linear-gradient(rgba(6,69,143,.18), rgba(6,69,143,.62)),
        url('images/medico.png') center top/cover no-repeat;
      box-shadow: var(--shadow);
    }
    
    
    .video-label {
      position: absolute;
      left: 24px;
      bottom: 24px;
      color: var(--white);
      font-weight: 900;
      font-size: 1.3rem;
    }

    .video-intro {
      color: rgba(255,255,255,.92);
      font-weight: 800;
      margin: 0 0 14px;
      font-size: 1.05rem;
    }

    .hero-video-panel {
      animation: softFloat 6s ease-in-out infinite;
    }

    .testimonials {
      position: relative;
      overflow: hidden;
      background: var(--white);
    }

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

    .testimonial-card {
      background: linear-gradient(180deg, #ffffff, #f4f8ff);
      border: 1px solid rgba(8,104,216,.09);
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: var(--shadow);
    }

    .testimonial-card p {
      color: var(--muted);
      font-size: 1.05rem;
      margin: 0 0 18px;
    }

    .testimonial-card strong {
      color: var(--blue-900);
      display: block;
      font-size: .98rem;
    }

    .testimonial-card span {
      color: var(--muted);
      font-size: .92rem;
    }

    .form-section {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at top left, rgba(247,183,51,.18), transparent 35%),
        linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.96)),
        url('images/fondo.png') center/cover no-repeat;
    }
    .form-section::after {
      content: "";
      position: absolute;
      right: -160px;
      top: -120px;
      width: 520px;
      height: 520px;
      background: url('vector fondo 2.png') center/contain no-repeat;
      opacity: .16;
      pointer-events: none;
    }

    .form-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 34px;
      align-items: start;
    }

    .form-card {
      background: var(--white);
      border-radius: 34px;
      padding: 30px;
      box-shadow: var(--shadow);
    }

    .field-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0,1fr));
      gap: 16px;
    }
    .field { display: grid; gap: 7px; }
    .field.full { grid-column: 1 / -1; }
    label { font-weight: 900; color: var(--blue-900); font-size: .95rem; }
    input, select, textarea {
      width: 100%;
      border: 1px solid #d6e4f5;
      border-radius: 16px;
      padding: 15px 16px;
      font: inherit;
      outline: none;
      background: #fbfdff;
    }
    input:focus, select:focus, textarea:focus {
      border-color: var(--blue-700);
      box-shadow: 0 0 0 4px rgba(8,104,216,.12);
    }
    textarea { min-height: 112px; resize: vertical; }

    .privacy-notes {
      display: grid;
      gap: 10px;
      margin: 18px 0 22px;
      color: var(--muted);
      font-weight: 800;
    }

    .location-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
      align-items: center;
    }
    .map-card {
      overflow: hidden;
      border-radius: 34px;
      box-shadow: var(--shadow);
      border: 8px solid var(--white);
      min-height: 390px;
      background: var(--white);
    }

    .map-card img {
      width: 100%;
      height: 390px;
      display: block;
      object-fit: cover;
    }
    .location-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 22px;
    }

    footer {
      background: linear-gradient(135deg, #29b9e8 0%, #0868d8 100%);
      padding: 40px 0;
      color: var(--white);
    }
    footer .wrapper{
        width: 85%;
        margin: 0 auto;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 60px;
      align-items: center;
    }

    .footer-logos {
      display: flex;
      align-items: center;
      gap: 30px;
	  flex-wrap: wrap;
    }

    .footer-logo-project {
      width: 180px;
      height: auto;
    }

    .footer-logo-udec {
      width: 280px;
      height: auto;
    }

    .footer-contacts {
      display: flex;
      flex-direction: column;
      gap: 16px;
      align-items: start;
    }

    .contact-pill {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 12px 24px;
      border: 2px solid rgba(255, 255, 255, 0.8);
      border-radius: 999px;
      color: var(--white);
      text-decoration: none;
      transition: all 0.3s ease;
      font-weight: 500;
      font-size: 0.95rem;
      white-space: nowrap;
    }

    .contact-pill:hover {
      background: rgba(255, 255, 255, 0.15);
      border-color: var(--white);
      transform: translateY(-2px);
    }

    .contact-icon {
      width: 22px;
      height: 22px;
      flex-shrink: 0;
    }

    .mobile-cta {
      display: none;
      position: fixed;
      left: 16px;
      right: 16px;
      bottom: 16px;
      z-index: 30;
    }
    .mobile-cta .btn { width: 100%; }

    .pill1 {
        margin-bottom: 12px;
    }
 @media (max-width: 1466px) {
    .footer-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
}
    @media (max-width: 920px) {
      .hero {
        padding: 50px 0;
      }

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

      .hero-media-title {
        text-align: center;
        font-size: 1.1rem;
      }

      .btn-hero {
        align-self: stretch;
        text-align: center;
      }

      .play-button {
        width: 70px;
        height: 70px;
      }

      .play-button::before {
        border-left-width: 20px;
        border-top-width: 12px;
        border-bottom-width: 12px;
      }

      .hero-grid,
      .process-grid,
      .video-wrap,
      .form-grid,
      .location-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .footer-grid {
        gap: 30px;
      }

      .footer-logos {
        flex-direction: column;
        align-items: center;
        gap: 20px;
      }

      .footer-logo-project {
        width: 180px;
      }

      .footer-logo-udec {
        width: 240px;
      }

      .footer-contacts {
        align-items: stretch;
        gap: 12px;
      }

      .contact-pill {
        justify-content: center;
        font-size: 0.85rem;
        padding: 10px 20px;
        width: 100%;
      }
      .pill1 {
        margin-bottom: 12px;
    }

      .contact-icon {
        width: 20px;
        height: 20px;
      }

      .cards,
      .testimonial-grid { grid-template-columns: 1fr; }
      .trust-row { grid-template-columns: 1fr; }
      .field-grid { grid-template-columns: 1fr; }
      
      .nav {
        align-items: center;
        flex-direction: row;
        padding: 16px 0;
      }
      
      .brand img { width: 140px; }
      .header-logo-right img { width: 190px; }

      .mobile-cta { display: block; }
      body { padding-bottom: 86px; }
    }

    /* Modal Styles */
    .modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .modal.active {
      opacity: 1;
      visibility: visible;
    }

    .modal-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.95);
    }

    .modal-content {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      transform: scale(0.95);
      transition: transform 0.3s ease;
      z-index: 10000;
    }

    .modal.active .modal-content {
      transform: scale(1);
    }

    .modal-close {
      position: absolute;
      top: 30px;
      right: 30px;
      width: 44px;
      height: 44px;
      border: none;
      background: rgba(255, 255, 255, 0.1);
      color: var(--white);
      font-size: 32px;
      line-height: 1;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s ease, transform 0.2s ease;
      z-index: 10001;
    }

    .modal-close:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: rotate(90deg);
    }

    .modal-video-container {
      width: min(1600px, calc(100vw - 32px));
      max-height: calc(100vh - 32px);
      aspect-ratio: 16 / 9;
      position: relative;
    }

    .modal-video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border-radius: 12px;
    }

    @media (max-width: 920px) {
      .modal-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 28px;
      }

      .modal-video-container {
        width: 92vw;
      }
    }

    .success-card {
      width: min(380px, calc(100vw - 32px));
      background: var(--white);
      border-radius: 16px;
      padding: 40px 32px;
      text-align: center;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    .success-logo {
      max-width: 120px;
      margin: 0 auto 20px;
      display: block;
    }

    .success-icon {
      width: 64px;
      height: 64px;
      margin: 0 auto 20px;
      border-radius: 50%;
      background: rgba(34, 197, 94, 0.12);
      color: #22c55e;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .success-icon svg {
      width: 32px;
      height: 32px;
    }

    .success-card h3 {
      margin: 0 0 8px;
      font-size: 22px;
    }

    .success-card p {
      margin: 0 0 24px;
      color: var(--muted);
    }

    .success-ok {
      display: inline-flex;
      min-width: 120px;
      justify-content: center;
    }