  :root {
    --navy: #0a1628;
    --blue: #1a3a6e;
    --mid: #2255a4;
    --accent: #00b4d8;
    --gold: #f4a261;
    --white: #f8faff;
    --gray: #e8edf5;
    --text: #1a2235;
    --muted: #6b7a99;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400; /* Regular */
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
  }


/* h1–h6 en bold */
h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700; /* Bold */
}



  /* ---- NAV ---- */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 3rem;
    background: rgba(10,22,40,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-logo {
    display: flex; align-items: center; gap: 0.75rem;
  }
  .nav-logo .cross {
    width: 32px; height: 32px;
    background: var(--accent);
    clip-path: polygon(38% 0%,62% 0%,62% 38%,100% 38%,100% 62%,62% 62%,62% 100%,38% 100%,38% 62%,0% 62%,0% 38%,38% 38%);
  }
  .nav-logo span { color: #fff; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.05em; }
  .nav-links { display: flex; gap: 2rem; }
  .nav-links a {
    color: rgba(255,255,255,0.7); text-decoration: none;
    font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em;
    transition: color .2s;
  }
  .nav-links a:hover { color: var(--accent); }
  .nav-cta {
    background: var(--accent); color: var(--navy);
    padding: 0.5rem 1.4rem; border-radius: 2rem;
    font-size: 0.85rem; font-weight: 600; text-decoration: none;
    transition: opacity .2s;
  }
  .nav-cta:hover { opacity: 0.85; }
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
  .hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; }

  /* ---- HERO ---- */
  .hero {
    min-height: 100vh;
    background: var(--navy);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 8rem 3rem 4rem;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,180,216,0.12) 0%, transparent 70%),
                radial-gradient(ellipse 40% 40% at 20% 80%, rgba(26,58,110,0.6) 0%, transparent 60%);
  }
  .hero-grid-lines {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .hero-content { position: relative; z-index: 2; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(0,180,216,0.15); border: 1px solid rgba(0,180,216,0.3);
    color: var(--accent); padding: 0.4rem 1rem; border-radius: 2rem;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease both;
  }
  .hero-badge .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    color: #fff; line-height: 1.08; font-weight: 900;
    animation: fadeUp 0.8s 0.1s ease both;
  }
  .hero h1 em { color: var(--accent); font-style: normal; }
  .hero-sub {
    margin-top: 1.5rem; color: rgba(255,255,255,0.6);
    font-size: 1.1rem; max-width: 480px; line-height: 1.7;
    animation: fadeUp 0.8s 0.2s ease both;
  }
  .hero-actions {
    margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap;
    animation: fadeUp 0.8s 0.3s ease both;
  }
  .btn-primary {
    background: var(--accent); color: var(--navy);
    padding: 0.9rem 2rem; border-radius: 0.5rem;
    font-weight: 600; text-decoration: none; font-size: 0.95rem;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 24px rgba(0,180,216,0.35);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,180,216,0.5); }
  .btn-secondary {
    border: 1.5px solid rgba(255,255,255,0.25); color: #fff;
    padding: 0.9rem 2rem; border-radius: 0.5rem;
    font-weight: 500; text-decoration: none; font-size: 0.95rem;
    transition: border-color .2s, background .2s;
  }
  .btn-secondary:hover { border-color: var(--accent); background: rgba(0,180,216,0.08); }
  .hero-stats {
    display: flex; gap: 2.5rem; margin-top: 3rem;
    animation: fadeUp 0.8s 0.4s ease both;
  }
  .hero-stats .stat-val {
    font-family: 'Playfair Display', serif;
    font-size: 2rem; color: #fff; font-weight: 700;
  }
  .hero-stats .stat-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

  /* Hero right */
  .hero-visual {
    position: relative; z-index: 2;
    display: flex; justify-content: center; align-items: center;
  }
  .hero-ring {
    width: 420px; height: 420px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,180,216,0.2);
    position: relative;
    animation: spin 30s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .hero-ring::before {
    content: '';
    position: absolute; top: -4px; left: 50%;
    width: 8px; height: 8px; background: var(--accent);
    border-radius: 50%; transform: translateX(-50%);
  }
  .hero-inner {
    position: absolute; inset: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.06);
    background: radial-gradient(circle, rgba(26,58,110,0.5) 0%, transparent 70%);
    display: flex; align-items: center; justify-content: center;
    animation: spin 30s linear infinite reverse;
  }
  .hero-center {
    text-align: center; animation: none;
  }
  .big-cross {
    width: 80px; height: 80px; background: var(--accent); margin: 0 auto 1rem;
    clip-path: polygon(38% 0%,62% 0%,62% 38%,100% 38%,100% 62%,62% 62%,62% 100%,38% 100%,38% 62%,0% 62%,0% 38%,38% 38%);
  }
  .year-badge {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem; color: #fff; font-weight: 700;
    line-height: 1;
  }
  .year-sub { font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }

  /* ---- SECTIONS COMMON ---- */
  section { padding: 6rem 3rem; }
  .section-label {
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
    display: flex; align-items: center; gap: 0.5rem;
  }
  .section-label::before { content: ''; width: 24px; height: 2px; background: var(--accent); }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900;
    line-height: 1.15;
  }
  .section-title span { color: var(--mid); }

  /* ---- MISSIÓ ---- */
  #missio { background: #fff; }
  .missio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
  .missio-text { padding-top: 1rem; }
  .missio-text p { margin-top: 1.5rem; color: var(--muted); line-height: 1.8; font-size: 1.05rem; }
  .values-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
  .val-item {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--accent);
    background: var(--gray); border-radius: 0 0.5rem 0.5rem 0;
    transition: border-color .2s, background .2s;
  }
  .val-item:hover { border-color: var(--gold); background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
  .val-icon { font-size: 1.5rem; flex-shrink: 0; }
  .val-title { font-weight: 600; margin-bottom: 0.25rem; }
  .val-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
  .missio-visual {
    background: var(--navy);
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative; overflow: hidden;
    min-height: 450px; display: flex; flex-direction: column; justify-content: flex-end;
  }
  .missio-visual::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(0,180,216,0.2) 0%, transparent 60%);
  }
  .missio-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; color: #fff; font-style: italic; line-height: 1.5;
    position: relative; z-index: 2;
  }
  .missio-quote::before { content: '"'; font-size: 5rem; color: var(--accent); opacity: 0.3; display: block; line-height: 0.6; margin-bottom: 1rem; }
  .missio-attr { font-size: 0.85rem; color: var(--accent); margin-top: 1rem; position: relative; z-index: 2; }

  /* ---- EIXOS ---- */
  #eixos { background: var(--navy); }
  #eixos .section-title { color: #fff; }
  .eixos-intro { color: rgba(255,255,255,0.55); max-width: 600px; margin-top: 0.75rem; line-height: 1.7; }
  .eixos-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; margin-top: 3.5rem; max-width: 1200px; margin-inline: auto; margin-top: 3rem;
  }
  .eix-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem; padding: 2rem 1.75rem;
    transition: background .3s, transform .3s, border-color .3s;
    cursor: default;
    position: relative; overflow: hidden;
  }
  .eix-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--accent); transform: scaleX(0); transform-origin: left;
    transition: transform .3s;
  }
  .eix-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); border-color: rgba(0,180,216,0.3); }
  .eix-card:hover::after { transform: scaleX(1); }
  .eix-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem; font-weight: 900; color: rgba(255,255,255,0.07);
    line-height: 1; margin-bottom: 1rem;
  }
  .eix-icon { font-size: 2rem; margin-bottom: 1rem; }
  .eix-title { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
  .eix-desc { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
  .eix-tag {
    display: inline-block; margin-top: 1.25rem;
    background: rgba(0,180,216,0.15); color: var(--accent);
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
    padding: 0.3rem 0.75rem; border-radius: 2rem;
  }

  /* ---- OBJECTIUS ---- */
  #objectius { background: var(--white); }
  .obj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1200px; margin: 3rem auto 0; }
  .obj-card {
    padding: 2rem; border-radius: 1rem;
    border: 1.5px solid var(--gray);
    transition: box-shadow .3s, border-color .3s;
  }
  .obj-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); border-color: var(--accent); }
  .obj-num {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--navy); color: var(--accent);
    font-weight: 700; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
  }
  .obj-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
  .obj-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
  .obj-progress-wrap { margin-top: 1.25rem; }
  .obj-progress-label { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); margin-bottom: 0.4rem; }
  .progress-bar { height: 6px; background: var(--gray); border-radius: 3px; overflow: hidden; }
  .progress-fill { height: 100%; background: linear-gradient(90deg, var(--mid), var(--accent)); border-radius: 3px; transition: width 1.5s ease; }

  /* ---- REPTES ---- */
  #reptes { background: #fff; }
  .reptes-wrap { max-width: 1200px; margin: 3rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  .repte-list { display: flex; flex-direction: column; gap: 1rem; }
  .repte-item {
    padding: 1.5rem; border-radius: 0.75rem;
    background: var(--gray);
    display: flex; gap: 1rem; align-items: flex-start;
    transition: background .2s;
  }
  .repte-item:hover { background: #e0e8f5; }
  .repte-item .ri-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
  .repte-item h4 { font-weight: 600; margin-bottom: 0.3rem; }
  .repte-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
  .reptes-visual {
    background: var(--navy); border-radius: 1.5rem; padding: 2.5rem;
    position: sticky; top: 5rem;
  }
  .reptes-visual h3 { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.5rem; margin-bottom: 2rem; }
  .radar-item { margin-bottom: 1.25rem; }
  .radar-label { display: flex; justify-content: space-between; font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }
  .radar-bar { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
  .radar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--mid), var(--accent)); }

  /* ---- TIMELINE ---- */
  #timeline { background: var(--white); }
  .timeline-wrap { max-width: 900px; margin: 3rem auto 0; position: relative; }
  .timeline-line {
    position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--mid), var(--accent));
    transform: translateX(-50%);
  }
  .tl-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2rem; margin-bottom: 2rem; position: relative;
  }
  .tl-row.right .tl-card { grid-column: 2; }
  .tl-row.left .tl-card { grid-column: 1; text-align: right; }
  .tl-card {
    background: #fff; border: 1.5px solid var(--gray);
    border-radius: 1rem; padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: box-shadow .2s;
  }
  .tl-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
  .tl-year {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 0.5rem;
  }
  .tl-card h4 { font-weight: 700; margin-bottom: 0.4rem; }
  .tl-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
  .tl-dot {
    position: absolute; left: 50%; top: 1.5rem;
    width: 14px; height: 14px; background: var(--accent);
    border: 3px solid #fff; border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(0,180,216,0.2);
  }

  /* ---- XIFRES ---- */
  #xifres { background: var(--navy); }
  #xifres .section-title { color: #fff; }
  .xifres-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.08); max-width: 1200px; margin: 3.5rem auto 0; border-radius: 1rem; overflow: hidden; }
  .xifra-item { background: rgba(255,255,255,0.03); padding: 2.5rem 2rem; text-align: center; transition: background .2s; }
  .xifra-item:hover { background: rgba(255,255,255,0.07); }
  .xifra-val { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: var(--accent); }
  .xifra-unit { font-size: 1.5rem; }
  .xifra-label { font-size: 0.88rem; color: rgba(255,255,255,0.5); margin-top: 0.5rem; line-height: 1.4; }

  /* ---- CTA ---- */
  #cta {
    background: linear-gradient(135deg, var(--mid) 0%, var(--navy) 100%);
    text-align: center; padding: 7rem 3rem;
    position: relative; overflow: hidden;
  }
  #cta::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,180,216,0.15) 0%, transparent 70%);
  }
  #cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem); color: #fff; font-weight: 900;
    position: relative; z-index: 2; max-width: 700px; margin: 0 auto;
  }
  #cta p { color: rgba(255,255,255,0.6); max-width: 500px; margin: 1.5rem auto; position: relative; z-index: 2; line-height: 1.7; }
  #cta .btn-primary { position: relative; z-index: 2; display: inline-block; margin-top: 1rem; }

  /* ---- FOOTER ---- */
  footer {
    background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06);
    padding: 3rem;
    display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
    text-align: center;
  }
  .footer-logo { display: flex; align-items: center; gap: 0.75rem; }
  .footer-logo .cross { width: 28px; height: 28px; background: var(--accent); clip-path: polygon(38% 0%,62% 0%,62% 38%,100% 38%,100% 62%,62% 62%,62% 100%,38% 100%,38% 62%,0% 62%,0% 38%,38% 38%); }
  .footer-logo span { color: #fff; font-size: 0.9rem; font-weight: 500; }
  footer p { font-size: 0.82rem; color: var(--muted); }
  .footer-links { display: flex; gap: 2rem; }
  .footer-links a { color: rgba(255,255,255,0.4); font-size: 0.82rem; text-decoration: none; transition: color .2s; }
  .footer-links a:hover { color: var(--accent); }

  /* ---- ANIMATIONS ---- */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .fade-up.visible { opacity: 1; transform: translateY(0); }

  /* ---- RESPONSIVE ---- */
  @media (max-width: 1024px) {
    .eixos-grid { grid-template-columns: repeat(2, 1fr); }
    .obj-grid { grid-template-columns: repeat(2, 1fr); }
    .xifres-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    section { padding: 4rem 1.5rem; }
    .hero { grid-template-columns: 1fr; padding: 7rem 1.5rem 4rem; text-align: center; }
    .hero-visual { display: none; }
    .hero-stats { justify-content: center; }
    .hero-actions { justify-content: center; }
    .missio-grid { grid-template-columns: 1fr; }
    .missio-visual { display: none; }
    .eixos-grid { grid-template-columns: 1fr; }
    .obj-grid { grid-template-columns: 1fr; }
    .reptes-wrap { grid-template-columns: 1fr; }
    .reptes-visual { position: static; }
    .timeline-line { display: none; }
    .tl-row { grid-template-columns: 1fr; }
    .tl-row.right .tl-card, .tl-row.left .tl-card { grid-column: 1; text-align: left; }
    .tl-dot { display: none; }
    .xifres-grid { grid-template-columns: repeat(2, 1fr); }
  }