@font-face { font-family: 'Parkinsans'; src: url('/fonts/Parkinsans-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
    @font-face { font-family: 'Parkinsans'; src: url('/fonts/Parkinsans-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
    @font-face { font-family: 'Parkinsans'; src: url('/fonts/Parkinsans-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
    @font-face { font-family: 'Parkinsans'; src: url('/fonts/Parkinsans-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
    @font-face { font-family: 'Parkinsans'; src: url('/fonts/Parkinsans-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --blue-1: #A8CCDD;
      --blue-2: #6AA5D2;
      --blue-3: #4F7CC1;
      --blue-dark: #1a3f7a;
      --blue-darker: #0d1f3c;
      --accent: #F3714A;
      --dark: #16243a;
      --text: #1e3045;
      --muted: #5a7080;
      --border: rgba(79,124,193,.13);
      --bg: #f8fafd;
      --font: 'Parkinsans', -apple-system, sans-serif;
    }

    html { scroll-behavior: smooth; }
    body { font-family: var(--font); background: #fff; color: var(--text); overflow-x: hidden; line-height: 1.6; }

    /* ── HERO ── */
    .hero {
      min-height: 52vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 60px 6% 70px;
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, var(--blue-darker) 0%, var(--blue-dark) 35%, var(--blue-3) 65%, var(--accent) 100%);
    }
    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(106,165,210,.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 70%, rgba(243,113,74,.14) 0%, transparent 55%);
    }
    .hero-grid {
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
      background-size: 60px 60px;
    }
    .hero-logo {
      height: clamp(40px, 7vw, 72px);
      width: auto;
      max-width: 60%;
      margin-bottom: clamp(24px, 3vw, 40px);
      position: relative;
      z-index: 2;
    }
    .hero-content { position: relative; z-index: 1; max-width: 720px; }
    .hero-label {
      display: inline-block;
      font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
      color: rgba(255,255,255,.6); margin-bottom: 14px;
    }
    .hero h1 {
      font-size: clamp(2rem, 5vw, 3.6rem);
      font-weight: 800; color: #fff;
      line-height: 1.1; letter-spacing: -.03em; margin-bottom: 18px;
    }
    .hero h1 span {
      background: linear-gradient(90deg, var(--blue-1), var(--accent));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    .hero-sub {
      font-size: clamp(.95rem, 1.8vw, 1.1rem);
      color: rgba(255,255,255,.65); line-height: 1.7;
    }

    /* ── NAV BACK ── */
    .nav-back-bar {
      background: #fff;
      border-bottom: 1px solid var(--border);
      padding: 12px 6%;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .nav-back-link {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 13px; font-weight: 600; color: var(--blue-3);
      text-decoration: none;
    }
    .nav-back-link svg { width: 14px; height: 14px; }
    .nav-breadcrumb {
      font-size: 13px; color: var(--muted);
      display: flex; align-items: center; gap: 6px; margin-left: 8px;
    }
    .nav-breadcrumb span { color: rgba(90,112,128,.4); }

    /* ── SECTIONS ── */
    .wrap { max-width: 1100px; margin: 0 auto; padding: 0 6%; }
    section { padding: clamp(56px, 8vw, 88px) 0; }
    .section-label {
      display: inline-block; font-size: 11px; font-weight: 700;
      letter-spacing: .12em; text-transform: uppercase;
      color: var(--blue-3); margin-bottom: 12px;
    }
    h2 {
      font-size: clamp(1.7rem, 3.5vw, 2.5rem);
      font-weight: 800; color: var(--text);
      letter-spacing: -.03em; line-height: 1.15; margin-bottom: 14px;
    }
    .section-sub { font-size: 15px; color: var(--muted); line-height: 1.75; max-width: 560px; }

    /* ── MISSION ── */
    #mision { background: #fff; }
    .mission-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 56px;
      align-items: center;
    }
    .mission-visual {
      background: linear-gradient(135deg, var(--blue-darker), var(--blue-dark) 55%, var(--blue-3));
      border-radius: 24px;
      padding: 48px 40px;
      color: #fff;
      position: relative;
      overflow: hidden;
    }
    .mission-visual::before {
      content: '';
      position: absolute; inset: 0;
      background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
      background-size: 40px 40px;
    }
    .mission-visual-content { position: relative; z-index: 1; }
    .mission-big {
      font-size: clamp(2.5rem, 5vw, 4rem);
      font-weight: 800; line-height: 1.1;
      letter-spacing: -.04em; margin-bottom: 16px;
    }
    .mission-big span { color: var(--accent); }
    .mission-visual p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.7; }
    .mission-text h2 { margin-bottom: 18px; }
    .mission-text p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
    .mission-text p:last-child { margin-bottom: 0; }

    /* ── VALUES ── */
    #valores { background: var(--bg); }
    .values-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 18px;
      margin-top: 48px;
    }
    .value-card {
      background: #fff;
      border-radius: 18px;
      border: 1px solid var(--border);
      padding: 28px 24px;
      transition: transform .2s, box-shadow .2s;
    }
    .value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(79,124,193,.1); }
    .value-icon { font-size: 28px; margin-bottom: 14px; display: block; }
    .value-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
    .value-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

    /* ── HISTORY ── */
    #historia { background: #fff; }
    .history-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
    .timeline { display: flex; flex-direction: column; gap: 0; }
    .timeline-item { display: flex; gap: 20px; position: relative; }
    .timeline-item:not(:last-child)::after {
      content: '';
      position: absolute;
      left: 19px; top: 40px;
      width: 2px; bottom: -8px;
      background: linear-gradient(180deg, var(--blue-3), rgba(79,124,193,.1));
    }
    .timeline-dot {
      width: 40px; height: 40px; min-width: 40px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--blue-3), var(--blue-2));
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 12px; font-weight: 800;
      flex-shrink: 0;
      box-shadow: 0 4px 14px rgba(79,124,193,.3);
    }
    .timeline-body { padding-bottom: 32px; }
    .timeline-year {
      font-size: 10px; font-weight: 700; letter-spacing: .1em;
      text-transform: uppercase; color: var(--blue-3); margin-bottom: 4px;
    }
    .timeline-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
    .timeline-desc { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
    .history-info { display: flex; flex-direction: column; gap: 20px; }
    .info-card {
      background: var(--bg);
      border-radius: 16px;
      border: 1px solid var(--border);
      padding: 22px 24px;
    }
    .info-card-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 6px; }
    .info-card-value { font-size: 14px; color: var(--text); font-weight: 500; line-height: 1.55; }

    /* ── HOW ── */
    #como { background: var(--bg); }
    .how-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 18px;
      margin-top: 48px;
    }
    .how-card {
      background: #fff;
      border-radius: 18px;
      border: 1px solid var(--border);
      padding: 28px 24px;
      position: relative;
      transition: transform .2s, box-shadow .2s;
    }
    .how-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(79,124,193,.1); }
    .how-num {
      font-size: 11px; font-weight: 800; letter-spacing: .1em;
      color: var(--blue-3); opacity: .45; margin-bottom: 14px;
    }
    .how-icon {
      width: 46px; height: 46px; border-radius: 12px;
      background: rgba(79,124,193,.08);
      display: flex; align-items: center; justify-content: center;
      font-size: 20px; margin-bottom: 16px;
    }
    .how-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
    .how-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

    /* ── TEAM ── */
    #equipo { background: #fff; }
    .team-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 20px;
      margin-top: 48px;
    }
    .team-card {
      background: var(--bg);
      border-radius: 20px;
      border: 1px solid var(--border);
      padding: 28px 24px;
      text-align: center;
      transition: transform .2s, box-shadow .2s;
    }
    .team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(79,124,193,.1); }
    .team-avatar {
      width: 72px; height: 72px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--blue-3), var(--blue-2));
      display: flex; align-items: center; justify-content: center;
      font-size: 24px; font-weight: 800; color: #fff;
      margin: 0 auto 16px;
      letter-spacing: -.02em;
      box-shadow: 0 6px 20px rgba(79,124,193,.25);
    }
    .team-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
    .team-role {
      font-size: 11px; font-weight: 700; letter-spacing: .08em;
      text-transform: uppercase; color: var(--blue-3);
      margin-bottom: 10px;
    }
    .team-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

    /* ── LEGAL ── */
    #legal { background: var(--bg); }
    .legal-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 18px;
      margin-top: 48px;
    }
    .legal-card {
      background: #fff;
      border-radius: 16px;
      border: 1px solid var(--border);
      padding: 24px;
      transition: border-color .2s;
    }
    .legal-card:hover { border-color: var(--blue-2); }
    .legal-card-icon { font-size: 24px; margin-bottom: 12px; display: block; }
    .legal-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
    .legal-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }
    .legal-card a { color: var(--blue-3); font-weight: 600; text-decoration: none; }
    .legal-card a:hover { text-decoration: underline; }
    .legal-identity {
      background: linear-gradient(135deg, var(--blue-darker), var(--blue-dark) 60%, var(--blue-3));
      border-radius: 18px;
      padding: 28px;
      color: #fff;
      margin-bottom: 32px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 20px;
    }
    .legal-item-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 5px; }
    .legal-item-value { font-size: 13.5px; font-weight: 600; color: #fff; line-height: 1.4; }

    /* ── CONTACT ── */
    #contacto {
      background: linear-gradient(135deg, var(--blue-darker), var(--blue-dark) 45%, var(--accent) 100%);
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    #contacto::before {
      content: '';
      position: absolute; inset: 0;
      background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
      background-size: 50px 50px;
    }
    .contact-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
    #contacto h2 { color: #fff; margin-bottom: 14px; }
    .contact-sub { font-size: 15px; color: rgba(255,255,255,.62); line-height: 1.7; margin-bottom: 36px; }
    .contact-row {
      display: flex; align-items: center; justify-content: center;
      gap: 32px; flex-wrap: wrap; margin-bottom: 32px;
    }
    .contact-item { display: flex; align-items: center; gap: 10px; }
    .contact-icon {
      width: 38px; height: 38px; border-radius: 10px;
      background: rgba(255,255,255,.12);
      display: flex; align-items: center; justify-content: center;
    }
    .contact-icon svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .contact-text { font-size: 13.5px; color: rgba(255,255,255,.8); text-align: left; line-height: 1.45; }
    .contact-text strong { display: block; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
    .btn-primary {
      background: linear-gradient(135deg, var(--accent), #e5612d);
      color: #fff; border: none; border-radius: 50px;
      padding: 15px 36px; font-size: 15px; font-weight: 700;
      font-family: var(--font); cursor: pointer;
      text-decoration: none; display: inline-block;
      box-shadow: 0 8px 28px rgba(243,113,74,.4);
      transition: transform .15s, box-shadow .2s;
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(243,113,74,.55); }

    /* ── ANIMATIONS ── */
    .fade-up { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
    .fade-up.visible { opacity: 1; transform: translateY(0); }

    /* ── RESPONSIVE ── */
    @media (max-width: 800px) {
      .mission-grid, .history-grid { grid-template-columns: 1fr; gap: 32px; }
      .mission-visual { padding: 36px 28px; }
      .contact-row { gap: 20px; }
    }
    @media (max-width: 520px) {
      .hero { padding: 48px 5% 56px; }
      section { padding: 48px 0; }
      .wrap { padding: 0 5%; }
    }