:root {
      --navy: #12324a;
      --ink: #1a3348;
      --steel: #2a7a8c;
      --steel-bright: #3d9aab;
      --mint: #2f8f74;
      --sand: #f3f6f8;
      --bg: #f7f9fb;
      --surface: #ffffff;
      --text: #1a3348;
      --muted: #5a7080;
      --line: rgba(18, 50, 74, 0.10);
      --shadow: 0 16px 40px rgba(18, 50, 74, 0.08);
      --radius: 22px;
      --max: 1120px;
      --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: "DM Sans", system-ui, sans-serif;
      color: var(--text);
      background:
        radial-gradient(900px 480px at 8% -10%, rgba(61, 154, 171, 0.14), transparent 55%),
        radial-gradient(700px 420px at 100% 8%, rgba(47, 143, 116, 0.08), transparent 50%),
        linear-gradient(180deg, #eef4f7 0%, var(--bg) 28%, var(--bg) 100%);
      line-height: 1.5;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; height: auto; }

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

    .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.is-in { opacity: 1; transform: none; }

    /* —— Nav —— */
    .nav {
      position: fixed;
      inset: 0 0 auto;
      z-index: 50;
      height: 72px;
      background: rgba(247, 249, 251, 0.96);
      border-bottom: 1px solid var(--line);
    }
    .nav-inner {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: Outfit, sans-serif;
      font-weight: 800;
      font-size: 1.15rem;
      letter-spacing: -0.03em;
      color: var(--navy);
    }
    .brand-mark {
      width: 36px;
      height: 36px;
      border-radius: 11px;
      background: linear-gradient(145deg, var(--steel-bright), var(--steel));
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 0.72rem;
      font-weight: 800;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
    }
    .nav-links {
      display: none;
      gap: 26px;
      list-style: none;
      font-weight: 600;
      font-size: 0.92rem;
      color: rgba(26, 51, 72, 0.72);
    }
    .nav-links a:hover { color: var(--navy); }
    .nav-links a[aria-current="page"] { color: var(--navy); }
    .nav-cta { display: flex; gap: 10px; align-items: center; }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 11px 18px;
      border-radius: 999px;
      font-weight: 700;
      font-size: 0.92rem;
      border: 1px solid transparent;
      transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
      white-space: nowrap;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn-ghost {
      background: transparent;
      border-color: var(--line);
      color: var(--navy);
    }
    .btn-ghost:hover { background: rgba(18, 50, 74, 0.04); }
    .btn-primary {
      background: linear-gradient(160deg, #3d9aab, var(--steel));
      color: #fff;
      box-shadow: 0 12px 28px rgba(42, 122, 140, 0.25);
    }
    .btn-primary:hover { filter: brightness(0.96); }
    .btn-meet {
      background: linear-gradient(160deg, #2f7dd1, #1f5fa8);
      color: #fff;
      box-shadow: 0 10px 24px rgba(47, 125, 209, 0.22);
    }
    .btn-meet:hover { filter: brightness(0.96); }
    .btn-downloads {
      background: var(--navy);
      color: #fff;
      box-shadow: 0 10px 24px rgba(18, 50, 74, 0.18);
    }
    .btn-downloads:hover { filter: brightness(1.06); }
    .btn-downloads.is-current {
      pointer-events: none;
      box-shadow: none;
      background: rgba(18, 50, 74, 0.88);
    }
    @media (max-width: 1100px) {
      .nav-cta .btn-talk,
      .nav-cta .btn-ghost[href="/panel-cliente"] { display: none; }
    }
    .btn-dark {
      background: var(--navy);
      color: #fff;
      box-shadow: 0 12px 28px rgba(18, 50, 74, 0.18);
    }
    .btn-outline-light {
      background: rgba(255,255,255,0.14);
      color: #fff;
      border-color: rgba(255,255,255,0.28);
    }

    @media (min-width: 900px) {
      .nav-links { display: flex; }
    }
    @media (max-width: 720px) {
      .nav-cta .btn-talk { display: none; }
    }

    /* —— Hero (light) —— */
    .hero {
      position: relative;
      min-height: 100vh;
      min-height: 100dvh;
      padding: 110px 0 64px;
      overflow: hidden;
      display: flex;
      align-items: flex-end;
    }
    .hero-media {
      position: absolute;
      inset: 0;
      z-index: 0;
    }
    .hero-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 62% center;
    }
    .hero-shade {
      position: absolute;
      inset: 0;
      z-index: 1;
      background:
        linear-gradient(105deg, rgba(247, 249, 251, 0.94) 0%, rgba(247, 249, 251, 0.78) 28%, rgba(247, 249, 251, 0.28) 52%, rgba(247, 249, 251, 0.05) 100%),
        linear-gradient(to top, rgba(247, 249, 251, 0.75) 0%, transparent 34%);
    }
    .hero-inner {
      position: relative;
      z-index: 3;
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
      animation: up 0.85s ease-out both;
    }
    .hero-copy { max-width: 640px; }
    @keyframes up {
      from { opacity: 0; transform: translateY(18px); }
      to { opacity: 1; transform: none; }
    }

    .hero .hero-brand {
      font-family: Outfit, sans-serif;
      font-weight: 800;
      font-size: clamp(3.2rem, 8.5vw, 5.2rem);
      line-height: 0.92;
      letter-spacing: -0.045em;
      color: var(--navy);
      margin-bottom: 16px;
    }
    .hero h2 {
      font-family: Outfit, sans-serif;
      font-weight: 600;
      font-size: clamp(1.2rem, 2.3vw, 1.55rem);
      letter-spacing: -0.02em;
      color: var(--ink);
      margin-bottom: 14px;
      max-width: 24ch;
    }
    .hero-copy > p:not(.hero-brand) {
      color: var(--muted);
      font-size: 1.08rem;
      line-height: 1.65;
      max-width: 36em;
      margin-bottom: 26px;
    }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
    .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255,255,255,0.88);
      border: 1px solid var(--line);
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--navy);
    }
    .pill i {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--steel-bright);
      box-shadow: 0 0 0 3px rgba(61, 154, 171, 0.18);
    }

    /* —— Sections —— */
    section { padding: 88px 0; position: relative; }
    .section-head { max-width: 640px; margin-bottom: 36px; }
    .eyebrow {
      font-size: 0.74rem;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--steel);
      margin-bottom: 12px;
    }
    .section-head h2,
    .split-copy h2 {
      font-family: Outfit, sans-serif;
      font-weight: 800;
      font-size: clamp(1.85rem, 3.4vw, 2.55rem);
      letter-spacing: -0.03em;
      line-height: 1.08;
      color: var(--navy);
      margin-bottom: 12px;
    }
    .section-head p,
    .split-copy > p {
      color: var(--muted);
      font-size: 1.05rem;
      line-height: 1.65;
    }

    /* —— Lines of business —— */
    #soluciones {
      background:
        linear-gradient(180deg, transparent, rgba(255,255,255,0.7) 20%, rgba(255,255,255,0.7) 80%, transparent),
        var(--grain);
      background-size: auto, 220px 220px;
      background-blend-mode: normal, soft-light;
    }
    .lines {
      display: grid;
      gap: 18px;
    }
    @media (min-width: 900px) {
      .lines { grid-template-columns: repeat(3, 1fr); }
    }
    .line {
      position: relative;
      border-radius: var(--radius);
      overflow: hidden;
      min-height: 420px;
      background: var(--surface);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .line:hover {
      transform: translateY(-4px);
      box-shadow: 0 22px 50px rgba(18, 50, 74, 0.12);
    }
    .line-photo {
      position: relative;
      height: 190px;
      overflow: hidden;
    }
    .line-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.55s ease;
    }
    .line:hover .line-photo img { transform: scale(1.05); }
    .line-body {
      padding: 22px 22px 24px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
    }
    .line-tag {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--steel);
    }
    .line h3 {
      font-family: Outfit, sans-serif;
      font-size: 1.28rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--navy);
    }
    .line p {
      color: var(--muted);
      font-size: 0.95rem;
      line-height: 1.55;
      flex: 1;
    }
    .line ul {
      list-style: none;
      display: grid;
      gap: 8px;
      margin: 4px 0 12px;
    }
    .line li {
      position: relative;
      padding-left: 16px;
      color: rgba(26, 51, 72, 0.78);
      font-size: 0.9rem;
      font-weight: 500;
    }
    .line li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.55em;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--steel-bright);
    }
    .line .more {
      font-weight: 700;
      font-size: 0.9rem;
      color: var(--steel);
    }
    .line .more:hover { color: var(--navy); }

    /* —— Connectivity detail —— */
    .split {
      display: grid;
      gap: 36px;
      align-items: center;
    }
    @media (min-width: 900px) {
      .split {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 52px;
      }
      .split.reverse { grid-template-columns: 0.95fr 1.05fr; }
      .split.reverse .split-photo { order: 2; }
    }
    .split-photo {
      position: relative;
      border-radius: 28px;
      overflow: hidden;
      min-height: 340px;
      box-shadow: var(--shadow);
      border: 1px solid var(--line);
    }
    .split-photo img {
      width: 100%;
      height: 100%;
      min-height: 340px;
      object-fit: cover;
    }
    .split-photo::after {
      content: "";
      position: absolute;
      inset: 0;
      background: var(--grain);
      background-size: 160px 160px;
      opacity: 0.18;
      mix-blend-mode: multiply;
      pointer-events: none;
    }
    .tech-grid {
      display: grid;
      gap: 12px;
      margin-top: 24px;
    }
    @media (min-width: 560px) {
      .tech-grid { grid-template-columns: 1fr 1fr; }
    }
    .tech {
      padding: 16px 16px 15px;
      border-radius: 16px;
      background: rgba(255,255,255,0.88);
      border: 1px solid var(--line);
      box-shadow: 0 8px 22px rgba(18, 50, 74, 0.04);
    }
    .tech strong {
      display: block;
      font-family: Outfit, sans-serif;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 4px;
    }
    .tech span {
      color: var(--muted);
      font-size: 0.92rem;
      line-height: 1.45;
    }

    .band-soft {
      background:
        radial-gradient(700px 280px at 100% 0%, rgba(61, 154, 171, 0.10), transparent 55%),
        linear-gradient(180deg, #ffffff, #f4f8fa);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .downloads-promo {
      padding: 28px 0 8px;
    }
    .downloads-promo-card {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 18px 28px;
      padding: 28px 30px;
      border-radius: 24px;
      border: 1px solid var(--line);
      background:
        linear-gradient(135deg, rgba(18, 50, 74, 0.06), rgba(42, 122, 140, 0.10)),
        #fff;
      box-shadow: 0 12px 32px rgba(18, 50, 74, 0.05);
    }
    .downloads-promo-copy {
      max-width: 560px;
    }
    .downloads-promo-copy h2 {
      font-family: Outfit, sans-serif;
      font-size: clamp(1.35rem, 2.5vw, 1.75rem);
      letter-spacing: -0.03em;
      color: var(--navy);
      margin: 0 0 8px;
    }
    .downloads-promo-copy p:last-child {
      margin: 0;
      color: var(--muted);
      line-height: 1.45;
    }

    /* —— Contact —— */
    .contact-band {
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(18, 50, 74, 0.92), rgba(42, 122, 140, 0.88)),
        url("/assets/hyr-network-city.jpg") center/cover;
      color: #fff;
      border-radius: 28px;
      padding: 48px 36px;
      display: grid;
      gap: 28px;
      box-shadow: 0 24px 60px rgba(18, 50, 74, 0.18);
    }
    .contact-band::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: var(--grain);
      background-size: 180px 180px;
      opacity: 0.15;
      mix-blend-mode: soft-light;
      pointer-events: none;
    }
    .contact-band > * { position: relative; z-index: 1; }
    @media (min-width: 860px) {
      .contact-band {
        grid-template-columns: 0.95fr 1.05fr;
        align-items: start;
      }
    }
    .contact-band h2 {
      font-family: Outfit, sans-serif;
      font-size: clamp(1.65rem, 3vw, 2.15rem);
      letter-spacing: -0.03em;
      margin-bottom: 10px;
    }
    .contact-band > div > p {
      color: rgba(255,255,255,0.78);
      max-width: 34em;
      line-height: 1.6;
      margin-bottom: 16px;
    }
    .contact-note {
      font-size: 0.88rem;
      color: rgba(255,255,255,0.62);
      line-height: 1.5;
    }
    .contact-form {
      display: grid;
      gap: 12px;
    }
    .contact-form label {
      display: grid;
      gap: 6px;
      font-size: 0.82rem;
      font-weight: 600;
      color: rgba(255,255,255,0.82);
    }
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
      width: 100%;
      border: 1px solid rgba(255,255,255,0.22);
      background: rgba(255,255,255,0.12);
      color: #fff;
      border-radius: 12px;
      padding: 12px 14px;
      font: inherit;
      outline: none;
    }
    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
      color: rgba(255,255,255,0.45);
    }
    .contact-form select option { color: var(--navy); }
    .contact-form textarea { min-height: 96px; resize: vertical; }
    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
      border-color: rgba(255,255,255,0.5);
      background: rgba(255,255,255,0.16);
    }
    .contact-form .row {
      display: grid;
      gap: 12px;
    }
    @media (min-width: 560px) {
      .contact-form .row { grid-template-columns: 1fr 1fr; }
    }
    .contact-form .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 4px;
    }
    .btn-solid-light {
      background: #fff;
      color: var(--navy);
      box-shadow: 0 12px 28px rgba(0,0,0,0.14);
      border: none;
      cursor: pointer;
    }
    .btn-outline-light {
      background: rgba(255,255,255,0.14);
      color: #fff;
      border-color: rgba(255,255,255,0.28);
    }

    footer {
      padding: 40px 0 48px;
      color: var(--muted);
      font-size: 0.88rem;
    }
    .footer-inner {
      display: flex;
      flex-wrap: wrap;
      gap: 16px 28px;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid var(--line);
      padding-top: 28px;
    }
    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 16px 20px;
    }
    .footer-links a {
      font-weight: 600;
      color: rgba(26, 51, 72, 0.65);
    }
    .footer-links a:hover { color: var(--navy); }
    .staff {
      font-size: 0.8rem;
      color: rgba(26, 51, 72, 0.4);
    }
    .staff a {
      color: rgba(26, 51, 72, 0.45);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    @media (prefers-reduced-motion: reduce) {
      .reveal { opacity: 1; transform: none; transition: none; }
    }

.link-light { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-brand { color: var(--navy); font-family: Outfit, sans-serif; }
