  :root {
    --main: #2A5768;
    --main-dark: #1D3E4A;
    --ink: #16221F;
    --paper: #FFFFFF;
    --muted: #5B6764;
  }

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

  html, body {
    overflow-x: clip;
    max-width: 100%;
  }

  body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
  }

  /* ---------- Nav ---------- */
  .topbar {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 32px 4vw;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 65px;
  }

  .topbar a {
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    font-weight: 550;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .topbar a:hover { color: var(--main); }

  .lang {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
  }

  .lang svg { width: 12px; height: 12px; }

  /* hamburger toggle — hidden until the nav needs to collapse */
  .nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 34px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ---------- Nav: tablet — tighten spacing ---------- */
  @media (max-width: 1100px) {
    .nav-links { gap: 34px; }
    .topbar a { font-size: 14px; }
  }
  

  @media (max-width: 920px) {
    .nav-links { gap: 22px; }
    .topbar a { font-size: 13px; }
  }

  /* ---------- Nav: mobile — full-screen overlay ---------- */
  @media (max-width: 820px) {
    .topbar { justify-content: flex-end; padding: 23px 3.2vw;}

    .nav-burger {
      display: flex;
      position: relative;
      z-index: 25;
    }

    .nav-links {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 15;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 6px;
      background: var(--paper);
      padding: 80px 6vw 40px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }

    .nav-toggle:checked ~ .nav-links {
      opacity: 1;
      pointer-events: auto;
    }

    .nav-links a {
      width: 100%;
      max-width: 340px;
      text-align: center;
      padding: 18px 20px;
      font-size: 18px;
    }

    .nav-links a:hover { color: var(--main); }

    .nav-links .lang { justify-content: center; }
  }

  /* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  padding-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  overflow-x: clip;
}

.hero-photo {
  display: block;
  width: 53%;
  height: auto;
  grid-area: 1 / 1;
  margin-right: 50px;
  justify-self: end;
  align-self: end;
  z-index: 1;
}

.hero-overlay {
  grid-area: 1 / 1;
  z-index: 0;
  display: flex;
  flex-direction: column;
  padding: 0 4vw 0;
}

  .hero-inner {
    max-width: 1000px;
    background: linear-gradient(120deg,
      rgba(255,255,255,0.97) 0%,
      rgba(255,255,255,0.94) 45%,
      rgba(255,255,255,0.55) 78%,
      rgba(255,255,255,0) 100%);
    padding: 0px 28px 32px 0;
    margin-left: -4vw;
    padding-left: 4vw;
    border-radius: 0 0 4px 0;
  }

  .badge-row {
    display: flex;
    align-items: flex-start;
    gap: 32px;
  }

  .mark {
    width: 110px;
    height: auto;
    flex-shrink: 0;
    display: none; /* hidden for now */
  }

  h1 {
    font-size: clamp(39.6px, 4.05vw, 61.2px);
    line-height: 1.105;
    font-weight: 650;
    letter-spacing: -0.04em;
    padding-top: 30px;
  }

  h1 .accent { color: var(--main); white-space: nowrap; }
  h1 .title-l1 { white-space: nowrap; }

  .lede {
    margin-top: 45px;
    max-width: 42ch;
    font-size: 18px;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: black;
  }

  .cta-row {
    display: flex;
    gap: 14px;
    margin-top: 36px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 26px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .btn svg { width: 15px; height: 15px; flex-shrink: 0; }

  .btn-primary {
    background: var(--main);
    color: var(--paper);
    border: 1px solid var(--main);
  }

  .btn-primary:hover { background: var(--main-dark); border-color: var(--main-dark); }

  .btn-primary svg { width: 15px; height: 15px; }

  .btn-outline {
    background: rgba(255,255,255,0.9);
    border: 1.5px solid var(--main);
    border-color: 1px var(--main); color: var(--main);
  }

  .btn-outline:hover { border-color: var(--main); color: var(--main); }

  /* ---------- Quote chip ---------- */
  .quote {
    position: absolute;
    top: 40px;
    right: 1vw;
    max-width: 340px;
    z-index: 3;
    background: none;
    color: var(--ink);
    padding: 22px 22px 26px;
    text-align: left;
    border-radius: 2px;
  }

  .quote .markchar {
    font-size: clamp(46px, 4vw, 62px);
    line-height: 1;
    font-weight: 800;
    display: block;
    margin-bottom: -16px;
    color: var(--main);
  }

  .quote p {
    font-size: clamp(14px, 1.25vw, 17px);
    line-height: 1.5;
    font-weight: 500;
  }

  .quote .rule {
    width: 30px;
    height: 2px;
    background: var(--ink);
    margin-top: 12px;
    opacity: 0.7;
  }

  .feature-strip {
  background: #f4f4f4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 260px));
  justify-content: center;
  column-gap: 56px;
  padding:43px 4vw;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-left: 28px;
  border-left: 1px solid #cccccc;
}
.feature-item:first-child { border-left: none; padding-left: 0; }
.feature-icon { width: 46px; height: 46px; flex-shrink: 0; color: var(--main); }
.feature-text h3 {
  font-size: 15px; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; line-height: 1.4;
}
.feature-text p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: rgba(0, 0, 0, 0.842); }

.about-award {
  background: var(--main);
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 60px;
  padding: 52px 4vw;
  align-items: center;
}

.about-left { max-width: 420px; }

.about-left .eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.about-left .eyebrow::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: rgba(255,255,255,0.5);
  margin-top: 14px;
}

.about-left h2 {
  margin-top: 24px;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.about-left h2 .accent-soft { color: #b5f3ff; }

.about-left p {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.846);
  max-width: 50ch;
}

.btn-ghost {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,0.4);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-ghost:hover { border-color: #FFFFFF; background: rgba(255,255,255,0.06); }
.btn-ghost svg { width: 14px; height: 14px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid rgba(255, 255, 255, 0.264);
  padding-left: 60px;
}

.stat-item { padding: 8px 36px 8px 0; }

.stat-item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.294); }
.stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, 0.318); }
.stat-item:nth-child(2), .stat-item:nth-child(4) { padding-left: 36px; padding-right: 0; }

.stat-icon {
  width: 94px;
  height: 94px;
  color: #FFFFFF;
  margin-bottom: -3px;
  margin-left: -18px
}

.stat-item strong {
  display: block;
  font-size: 23px;
  font-weight: 700;
}

.stat-item p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.851);
}

.ranking-section {
  padding: 52px 4vw;
  text-align: center;
  position: relative;
  background-color: #f8f8f8;
}

.ranking-section .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:  rgb(52, 52, 52);
}

.ranking-section .eyebrow::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--main);
  margin: 14px auto 0;
}

.ranking-section h2 {
  margin-top: 32px;
  font-size: clamp(25px, 2.35vw, 33px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ranking-section h2 .accent { color: var(--main); }

.ranking-carousel {
  position: relative;
  margin-top: 35px;
  padding: 0 40px;
}

.rank-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}

.rank-track::-webkit-scrollbar { display: none; }

.rank-card {
  flex: 0 0 auto;
  width: 260px;
  scroll-snap-align: start;
  text-align: left;
  background: #FFFFFF;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.rank-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4;
  overflow: hidden;
  border-radius: 2px;
}

.rank-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rank-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--main);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
}

.rank-info { padding: 18px 16px 22px;}

.rank-info h3 { font-size: 17px; font-weight: 700; }

.rank-info .score {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.rank-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.rank-link svg { width: 13px; height: 13px; }
.rank-link:hover { color: var(--main); }

.rank-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
}

.rank-arrow svg { width: 20px; height: 20px; }
.rank-arrow:hover { color: var(--main); }
.rank-arrow.prev { left: -4px; }
.rank-arrow.next { right: -4px; }

.ranking-section .btn-primary {
  margin-top: 30px;
}

.ranking-note {
  margin-top: 30px;
  font-size: 16px;
  color: var(--muted);
}

.ranking-note a {
  color: var(--main);
  font-weight: 600;
  text-decoration: none;
}

.ranking-note a:hover { text-decoration: underline; }

.news-section {
  padding: 46px 4vw;
  text-align: center;
  background-color: #f8f8f8;
  border-top: 1px solid #7e7e7e5c;
}

.news-section .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(42, 42, 42);
}

.news-section .eyebrow::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--main);
  margin: 14px auto 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
  text-align: left;
}

.news-card {
  background: #FFFFFF;
  border: 1px solid #E7E6E1;
  border-radius: 2px;
  overflow: hidden;
}

.news-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--main);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 2px;
}

.news-body { padding: 22px 22px 26px; }

.news-date { font-size: 13px; color: var(--muted); }

.news-body h3 {
  margin-top: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.news-body p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--main);
  text-decoration: none;
}

.news-link svg { width: 13px; height: 13px; }
.news-link:hover { color: var(--main); }

.news-cta { margin-top: 24px; }

.news-cta .btn-outline {
  border-color: var(--main);
  color: var(--main);
}
.pf-section { padding: 56px 4vw 24px; background: var(--paper); }

.pf-title {
  font-size: clamp(28px, 3.0vw, 38px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--main);
}

.pf-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) 1.55fr;
  gap: 64px;
  margin-top: 36px;
  align-items: start;
}

.pf-info { position: relative; }

.pf-cat { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.pf-cat-label {
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.pf-tabs { display: flex; gap: 4px; }

.pf-tab {
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 4px 6px;
  cursor: pointer;
}

.pf-tab:hover { color: var(--main); }
.pf-tab.is-active { color: var(--ink); font-weight: 700; border-bottom-color: var(--main); }

.pf-name {
  margin-top: 18px;
  font-size: clamp(23px, 2.1vw, 31.5px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: pre-line;
}

.pf-meta {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 128px 1fr;
  row-gap: 8px;
  font-size: 16px;
}

.pf-meta dd { font-weight: 700; }

.pf-desc {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.45;
  color: #2b3532;
  max-width: 44ch;
}

.pf-sub { margin-top: 30px; font-size: 16px; font-weight: 700; }

.pf-highlights {
  list-style: none;
  margin-top: 10px;
  border-top: 1px solid #E3E3E3;
  max-width: 420px;
}

.pf-highlights li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 4px;
  border-bottom: 1px solid #E3E3E3;
}

.pf-hl-icon { width: 28px; height: 28px; color: var(--main); flex-shrink: 0; }
.pf-hl-value { font-size: 17px; font-weight: 700; min-width: 68px; }
.pf-hl-label { font-size: 15px; color: #2b3532; }

.pf-btn {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  background: var(--main);
  color: #FFFFFF;
  border: 1px solid var(--main);
  border-radius: 3px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease;
}

.pf-btn:hover { background: var(--main-dark); border-color: var(--main-dark); }
.pf-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---- lámina + navegación ---- */
.pf-visual { min-width: 0; }

.pf-sheet {
  background: #FFFFFF;
  padding: 8px;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10), 0 1px 3px rgba(0,0,0,0.06);
  touch-action: pan-y;
}

.pf-sheet img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #FAFAFA;
  transition: opacity 0.25s ease;
}

.pf-sheet img.is-fading { opacity: 0; }

.pf-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}

.pf-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
}

.pf-arrow svg { width: 18px; height: 18px; }
.pf-arrow:hover { color: var(--main); }

.pf-count {
  font-size: 15px;
  font-weight: 500;
  padding-right: 18px;
  border-right: 1px solid #DDDDDD;
  white-space: nowrap;
}

.pf-dots { display: flex; gap: 10px; flex-wrap: wrap; }

.pf-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #CFCFCF;
  cursor: pointer;
}

.pf-dot.is-active { background: var(--main-dark); }

/* ---- ventana emergente ---- */
.pf-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(22,34,31,0.55);
}

.pf-modal.is-open { display: flex; }

.pf-modal-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #F2F2F2;
  padding: 40px 36px 34px;
  border-radius: 2px;
}

.pf-modal-box::before,
.pf-modal-box::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: 0 solid var(--main);
}

.pf-modal-box::before { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; }
.pf-modal-box::after { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; }

.pf-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.pf-modal h3 { font-size: 22px; font-weight: 700; color: var(--main); }
.pf-modal-text { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }

.pf-form { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }

.pf-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }

.pf-form input {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #CFCFCF;
  border-radius: 2px;
  background: #FFFFFF;
}

.pf-form input:focus { outline: none; border-color: var(--main); }

.pf-error { min-height: 18px; font-size: 13px; color: #B3261E; }

.pf-form .pf-btn { margin-top: 0; justify-content: center; }

  /* ---------- Responsive ---------- */
  @media (min-width: 1200px) and (max-width: 1300px) {
    h1 { font-size: clamp(39.6px, 4.05vw, 86.4px);padding-top: 20px; line-height: 1.1; }

    .hero-photo { width: 53%; }

    .mark { width: 90px; }

    .btn { padding: 13px 22px; font-size: 13px; }
    .quote {top: 36px;}
  }

   @media  (max-width: 1250px) {
  .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 20px;
  border-left: 1px solid #cccccc;
}

.feature-item:first-child { border-left: none; padding-left: 0; }
.feature-icon { width: 42px; height: 42px; flex-shrink: 0; color: var(--main); }
.stat-icon {
  width: 84px;
  height: 84px;
  color: #FFFFFF;
  margin-bottom: -3px;
  margin-left: -18px
}

  }
  @media (max-width: 1100px) {
  .pf-grid { gap: 40px; grid-template-columns: minmax(280px, 0.9fr) 1.4fr; }
  .pf-desc { font-size: 15px; }
}
  @media (min-width: 1000px) and (max-width: 1100px) {
    body { overflow-x: hidden; }

    h1 { font-size: clamp(34.2px, 3.6vw, 41.4px); padding-top: 20px; line-height: 1.1; }

    .mark { width: 75px; }

    .btn { padding: 12px 20px; font-size: 12.5px; margin-top: 0px;}

    .hero-photo { margin-right: 50px; width: 51%;}

    .lede { font-size: 15px; margin-top: 40px;}

    .quote {top: 26px;}
  }
@media (max-width: 1000px) {
  body { overflow-x: hidden; }

    h1 { font-size: clamp(34.2px, 3.6vw, 41.4px); padding-top: 20px; line-height: 1.1; }

    .mark { width: 75px; }

    .btn { padding: 12px 20px; font-size: 12.5px; margin-top: 0px;}

    .hero-photo { margin-right: 50px; width: 48%;}

    .lede { font-size: 15px; margin-top: 40px;}

    .quote {top: 10px; max-width: 280px;  margin-bottom: 40px;}

    .quote p {
    font-size: clamp(14px, 1.25vw, 17px);}

    .quote .rule {
      font-size: 12px;
      margin-top: 7px;
      color: var(--muted);
    }
      .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 12px;
  border-left: 1px solid #cccccc;
}

.feature-item:first-child { border-left: none; padding-left: 0; }
.feature-icon { width: 38px; height: 38px; flex-shrink: 0; color: var(--main); }
.stat-icon {
  width: 77px;
  height: 77px;
  color: #FFFFFF;
  margin-bottom: -3px;
  margin-left: -18px
}
.about-stats {
  padding-left: 40px;
}
     .hero-inner {
    max-width: 700px;
}}

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
  .pf-grid { grid-template-columns: 1fr; gap: 36px; }  .pf-highlights { max-width: none; }
  .pf-desc { max-width: none; }
}

@media (max-width: 900px) {
  .ranking-section { padding: 64px 4vw; }
  .rank-arrow { display: none; }
  .rank-card { width: 220px; }
}

@media (max-width: 900px) {
  .about-award { grid-template-columns: 1fr; gap: 40px; padding: 56px 4vw; }
  .about-stats { grid-template-columns: 1fr; border-left: none; padding-left: 0; }
  .stat-item { border-right: none !important; padding: 24px 0 !important; border-bottom: 1px solid rgba(255,255,255,0.14) !important; }
  .stat-item:first-child { padding-top: 0 !important; }
  .stat-item:last-child { border-bottom: none !important; }
  .stat-icon {
  width: 86px;
  height: 86px;
  color: #FFFFFF;
  margin-bottom: -3px;
  margin-left: -10px
}
.stat-item strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
}

.stat-item p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.851);
}
}
/* ---------- Portfolio: tira de miniaturas ---------- */
.pf-strip {
  display: grid;
  grid-template-columns: auto 44px minmax(0, 1fr) 44px;
  align-items: center;
  column-gap: 28px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #DDDDDD;
}

.pf-switch {
  background: none;
  border: none;
  font: inherit;
  font-size: 16.15px;
  letter-spacing: 0.04em;
  color: var(--main);
  cursor: pointer;
  white-space: nowrap;
  text-align: left;
  padding: 0;
}

.pf-switch strong {
  margin-left: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.pf-switch:hover strong { text-decoration: underline; text-underline-offset: 4px; }

.pf-strip-arrow {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid #E3E3E3;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  color: var(--ink);
  cursor: pointer;
}

.pf-strip-arrow svg { width: 18px; height: 18px; }
.pf-strip-arrow:hover { color: var(--main); border-color: var(--main); }

.pf-thumbs {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 5px;
  scroll-padding: 0 5px;
}

.pf-thumbs::-webkit-scrollbar { display: none; }

.pf-thumb {
  flex: 0 0 auto;
  width: 200px;
  scroll-snap-align: start;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.pf-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 2.8 / 1;
  object-fit: cover;
  border-radius: 2px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.15s ease, opacity 0.15s ease;
}

.pf-thumb strong { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; }
.pf-thumb span { display: block; margin-top: 1px; font-size: 13px; color: var(--muted); }

.pf-thumb:hover img { opacity: 0.85; }
.pf-thumb.is-active img { outline-color: var(--main); }
.pf-thumb.is-active strong { color: var(--main); }

@media (max-width: 900px) {
  .feature-strip { grid-template-columns: 1fr; gap: 28px; margin-top: 0; }
  .feature-item { border-left: none; padding: 20px 0 0; border-top: 1px solid #DDDBD6; }
  .feature-item:first-child { border-top: none; padding-top: 0; }
}

@media (max-width: 900px) {
    .btn { padding: 10px 16px; font-size: 11px; }

    .hero-photo { margin-right: 30px; width: 52%;}
    .lede { font-size: 14px; margin-top: 30px;}
    h1 { font-size: clamp(31.5px, 3.38vw, 39.6px); padding-top: 10px; line-height: 1.1; }

    .quote { max-width: 240px; padding: 16px 16px 20px; }

    .quote .markchar { font-size: 34px; margin-bottom: -10px; }

    .quote p { font-size: 12.5px; }
    .pf-strip { grid-template-columns: minmax(0, 1fr); row-gap: 14px; margin-top: 24px; }
  .pf-strip-arrow { display: none; }
  .pf-switch { font-size: 13.6px; }
  .pf-thumbs { gap: 22px; }
  .pf-thumb { width: 170px; }
}

@media (max-width: 830px) {
  .hero-photo { margin-right: 30px; width: 50%;}

  h1 { font-size: clamp(28.8px, 3.33vw, 40.5px); padding-top: 10px; line-height: 1.1; }
  .hero-inner {
    max-width: 800px;
  }
  .lede { font-size: 13px; margin-top: 30px;}
}

@media (max-width: 800px) {
  .quote { top: -18px; }
  .title-l1 { white-space: nowrap; }
  .ranking-section .btn-primary,
  .news-cta .btn-outline {
    width: auto;
    min-width: min(220px, 74vw);
    padding: 12px 22px;
    font-size: 11px;
  }

  .ranking-section .btn-primary svg,
  .news-cta .btn-outline svg { width: 15px; height: 15px; flex-shrink: 0; }

  h1 { font-size: clamp(27px, 3.15vw, 39.6px); margin-top: -28px; line-height: 1.15; }

  .btn { padding: 6px 11px; font-size: 9px; margin-top: -5px;}

  .quote { max-width: 210px; padding: 10px 10px 14px; }

  .quote .markchar { font-size: 20px; margin-bottom: -6px; }

  .quote p { font-size: 11px; }
   .quote .rule {
      font-size: 12px;
      margin-top: 6px;
      color: var(--muted);
    }
}

@media (max-width: 700px) {
  .btn { padding: 5px 9px; font-size: 8px; }
  h1 { font-size: clamp(25.2px, 2.97vw, 36.9px); padding-top: 0px; line-height: 1.16; }

  .lede { font-size: 12px; margin-top: 24px; }

  .quote { max-width: 190px; padding: 8px 8px 12px; }

  .quote .markchar { font-size: 18px; margin-bottom: -5px; }

  .quote p { font-size: 9.8px; }
  
  .hero-inner {
    max-width: 480px;
  }.quote .rule {
      font-size: 12px;
      margin-top: 5px;
      color: var(--muted);
    }
}

@media (max-width: 650px) {
  .btn { padding: 4px 7px; font-size: 8px; }

  .btn-outline { border-width: 1px; }

  h1 { font-size: clamp(23.4px, 2.88vw, 33.3px); }

  .lede { font-size: 12px; margin-top: 20px; }

  .quote { max-width: 160px; padding: 6px 6px 10px; }

  .quote .markchar { font-size: 15px; margin-bottom: -4px; }

  .quote p { font-size: 8.5px; }
}

@media (max-width: 600px) {
  .topbar { padding-right: 25px; }

  .cta-row { flex-direction: column; align-items: flex-start; gap: 8px; }

  .btn { justify-content: center; width: 110px;margin-top: -10px; }

  .cta-row .btn { gap: 3px; }

  .btn-primary svg { width: 18px; height: 12px; }

  .cta-row .btn-primary svg { width: 12px; height: 12px; }

  .btn { padding: 6px 8px; font-size: 7px; border-radius: 0; }

  .ranking-section .btn-primary,
  .news-cta .btn-outline {
    width: auto;
    min-width: min(220px, 74vw);
    padding: 12px 20px;
    font-size: 11px;
  }

  .ranking-section .btn-primary svg,
  .news-cta .btn-outline svg { width: 15px; height: 15px; flex-shrink: 0; }

  h1 { font-size: clamp(21.6px, 2.79vw, 31.5px); }

  .lede { font-size: 12px; margin-top: 21px; }

  .quote { max-width: 150px; padding: 5px 5px 8px; right: 4vw; }

  .quote .markchar { font-size: 13px; margin-bottom: -3px; margin-left: 0; }

  .quote p { font-size: 8px; margin-left: 0; }
   .hero-photo { margin-right: 30px; width: 54%;}
  
}

@media (max-width: 550px) {
  .cta-row { flex-direction: column; align-items: flex-start; gap: 8px; }

  .btn { justify-content: center; width: 110px;margin-top: -10px; }

  .btn-primary svg { width: 13px; height: 7px; }

  .btn { padding: 6px 60px; font-size: 8px; border-radius: 0; }

  h1 { font-size: clamp(23.4px, 2.88vw, 33.3px); }

  .lede { font-size: 12px; margin-top: 21px; }

  .quote { max-width: 140px; padding: 5px 5px 8px; margin-top: 0; right: 4vw; }

  .quote .markchar { font-size: 13px; margin-bottom: -3px; margin-left: 0; }

  .quote p { font-size: 9px; margin-left: 0; }

   .hero-photo { margin-right: -25px; width: 68%; margin-top: 90px}
  
}
@media (max-width: 500px) {
  .cta-row { flex-direction: column; align-items: flex-start; gap: 8px; }

  .btn { justify-content: center; width: 110px;margin-top: -10px; }

  .btn-primary svg { width: 13px; height: 7px; }

  .btn { padding: 6px 60px; font-size: 8px; border-radius: 0; }

  h1 { font-size: clamp(23.4px, 2.88vw, 33.3px); }

  .lede { font-size: 12px; margin-top: 21px; }

  .quote { max-width: 140px; padding: 5px 5px 8px;  z-index: 3; }

  .quote .markchar { font-size: 13px; margin-bottom: -3px; margin-left: 0; }

  .quote p { font-size: 9px; margin-left: 0; }

   .hero-photo { margin-right: -25px; width: 78%; margin-top: 150px;}
   .pf-section { padding: 40px 5vw 20px; }
  .pf-meta { grid-template-columns: 110px 1fr; font-size: 15px; }
  .pf-btn { width: 100%; justify-content: center; padding: 14px 18px; font-size: 13px; }
  .pf-nav { gap: 12px; }
  .pf-count { padding-right: 12px; font-size: 14px; }
  .pf-dots { gap: 8px; }
  .pf-modal-box { padding: 34px 22px 26px; }
  
}
@media (max-width: 500px) {
  .cta-row { flex-direction: column; align-items: flex-start; gap: 8px; }

  .btn { justify-content: center; width: 110px;margin-top: -10px; }

  .btn-primary svg { width: 13px; height: 7px; }

  .btn { padding: 6px 60px; font-size: 8px; border-radius: 0; }

  h1 { font-size: clamp(23.4px, 2.88vw, 33.3px); }


  .quote { max-width: 140px; padding: 8px 10px 10px; margin-top: 0; right: 10px; z-index: 3; background: rgba(255,255,255,0.92); border-radius: 4px; }

  .quote .markchar { font-size: 13px; margin-bottom: -3px; margin-left: 0; }

  .quote p { font-size: 9px; margin-left: 0; }

   .hero-photo { margin-right: -25px; width: 78%; margin-top: 150px;}
     .stat-icon {
  width: 66px;
  height: 66px;
  color: #FFFFFF;
  margin-bottom: -3px;
  margin-left: -10px
}
.stat-item strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

.stat-item p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.851);
}
  
}
@media (max-width: 499px) {
  .quote { margin-top: 110px; }
}

@media (max-width: 400px) {
  .cta-row { flex-direction: column; align-items: flex-start; gap: 8px; }

  .btn { justify-content: center; width: 110px;margin-top: -10px; }

  .btn-primary svg { width: 13px; height: 7px; }

  .btn { padding: 6px 60px; font-size: 8px; border-radius: 0; }

  h1 { font-size: clamp(23.4px, 2.88vw, 33.3px); margin-top: -17px;}


  .quote { max-width: 130px; padding: 8px 10px 10px; margin-top: 135px; right: 10px; z-index: 3; background: rgba(255,255,255,0.92); border-radius: 4px; }

  .quote .markchar { font-size: 13px; margin-bottom: -3px; margin-left: 0; }

  .quote p { font-size: 9px; margin-left: 0; }

   .hero-photo { margin-right: -15px; width: 82%; margin-top: 190px;}
  
}
@media (max-width: 350px) {
  .cta-row { flex-direction: column; align-items: flex-start; gap: 8px; }

  .btn { justify-content: center; width: 110px;margin-top: -10px; }

  .btn-primary svg { width: 13px; height: 7px; }

  .btn { padding: 6px 60px; font-size: 8px; border-radius: 0; }

  h1 { font-size: clamp(23.4px, 2.88vw, 33.3px); }


  .quote { max-width: 130px; padding: 8px 10px 10px; margin-top: 145px;  z-index: 3; background: rgba(255,255,255,0.92); border-radius: 4px; }

  .quote .markchar { font-size: 13px; margin-bottom: -3px; margin-left: 0; }

  .quote p { font-size: 9px; margin-left: 0; }

   .hero-photo { margin-right: -25px; width: 90%; margin-top: 210px;}

}

/* ---------- Ranking por categoría ---------- */
.rkc-section {
  background: #f8f8f8;
  padding: 52px 4vw 64px;
  text-align: center;
}

.rkc-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(52, 52, 52);
}

.rkc-eyebrow::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--main);
  margin: 14px auto 0;
}

.rkc-title {
  margin-top: 32px;
  font-size: clamp(23px, 2.3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.rkc-title .accent { color: var(--main); }

.rkc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5vw;
  margin-top: 50px;
  text-align: left;
}

.rkc-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 32px;
  background: #FFFFFF;
  border-radius: 22px;
  padding: 18px 18px 18px 32px;
  box-shadow: 0 6px 6px -2px rgba(0,0,0,0.18), 0 1px 4px rgba(0,0,0,0.05);
}

.rkc-label {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.rkc-cat {
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--main);
}

.rkc-text {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #7A7F7E;
  max-width: 34ch;
}

.rkc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 15px;
  font-weight: 500;
  color: var(--main);
  text-decoration: none;
}

.rkc-link svg { width: 18px; height: 18px; transition: transform 0.15s ease; }
.rkc-link:hover svg { transform: translateX(3px); }

.rkc-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.rkc-cta {
  text-align: center;
  margin-top: 56px;
}

@media (max-width: 1100px) {
  .rkc-card { padding: 16px 16px 16px 22px; gap: 22px; }
  .rkc-label, .rkc-cat, .rkc-link { font-size: 14px; }
  .rkc-text { font-size: 13px; }
}

@media (max-width: 900px) {
  .rkc-section { padding: 52px 4vw 70px; }
  .rkc-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .rkc-card { grid-template-columns: 1fr; padding: 22px; border-radius: 16px; }
  .rkc-media { order: -1; }
  .rkc-text { max-width: none; }
}

/* ---------- Ranking Diseño Interior (intro) ---------- */
.rki-banner {
  width: 100%;
  height: clamp(220px, 27vw, 430px);
  overflow: hidden;
}

.rki-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rki-section {
  background: var(--paper);
  padding: 16px 5vw 70px;
  text-align: center;
}

.rki-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(52, 52, 52);
}

.rki-eyebrow::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--main);
  margin: 14px auto 0;
}

.rki-title {
  margin-top: 28px;
  font-size: clamp(23px, 2.6vw, 40px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--main);
}

.rki-text {
  max-width: 1440px;
  margin: 36px auto 0;
  text-align: left;
}

.rki-text p {
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: #3A3F3E;
}

.rki-text p + p { margin-top: 26px; }

.rki-cta { margin-top: 64px; }

@media (max-width: 700px) {
  .rki-section { padding: 16px 6vw 56px; }
  .rki-text { margin-top: 26px; }
  .rki-text p { line-height: 1.65; }
  .rki-cta { margin-top: 44px; }
}

/* ---------- Tabla ranking interior ---------- */
.rkt-section {
  background: var(--paper);
  padding: 10px 5vw 70px;
}

.rkt-title {
  text-align: center;
  font-size: clamp(17px, 1.8vw, 29px);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.rkt-wrap {
  margin-top: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rkt-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 16px;
}

.rkt-table thead th {
  background: var(--main);
  color: #FFFFFF;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.2;
  padding: 12px 14px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.25);
}

.rkt-table thead th:last-child { border-right: none; }
.rkt-table thead th.rkt-name { text-align: left; width: 55%; }

.rkt-table tbody tr:nth-child(even) { background: #F3F3F3; }

.rkt-table td {
  padding: 10px 14px;
  text-align: center;
  color: #4A4A4A;
  font-variant-numeric: tabular-nums;
}

.rkt-table td.rkt-name { text-align: left; }
.rkt-table sup { font-size: 0.6em; margin-left: 2px; }

.rkt-grade { font-weight: 500; letter-spacing: 0.02em; }
.g-aaa, .rkt-table td.g-aaa { color: #4E7F2A; }
.g-aap, .rkt-table td.g-aap { color: #6FA83A; }
.g-aa,  .rkt-table td.g-aa  { color: #8C9B33; }
.g-ap,  .rkt-table td.g-ap  { color: #B8AA25; }
.g-a,   .rkt-table td.g-a   { color: #D19A35; }
.g-bbb, .rkt-table td.g-bbb { color: #DB8C3A; }
.g-bb,  .rkt-table td.g-bb  { color: #E0823A; }
.g-b,   .rkt-table td.g-b   { color: #C2632F; }

.rkt-notes,
.rkt-defs,
.rkt-legend {
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.8;
  color: #6B6B6B;
}

.rkt-notes p { line-height: 1.5; }
.rkt-notes p + p { margin-top: 6px; }
.rkt-defs strong { color: var(--ink); font-weight: 500; }
.rkt-legend span { font-weight: 500; }

.rkt-cta { text-align: center; margin-top: 50px; }
.rkt-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 80px;
}

@media (max-width: 700px) {
  .rkt-section { padding: 0 5vw 56px; }
  .rkt-table { font-size: 14px; }
  .rkt-table thead th { font-size: 14px; padding: 10px; }
  .rkt-table td { padding: 8px 10px; }
  .rkt-notes, .rkt-defs, .rkt-legend { font-size: 13.5px; line-height: 1.65; }
  .rkt-cta-row { flex-direction: column; align-items: center; gap: 16px; }
}

@media (min-width: 500px) {
  .quote { transform: translateY(-15px); }
}
@media (min-width: 500px) and (max-width: 1000px) {
  .quote { transform: none; }
}
@media (min-width: 500px) and (max-width: 800px) {
  .quote { top: -14px; }
}


/* ------------------------------------------------------------------
   Blindaje contra el tema (Astra).

   Lo importante acá es la tabla: Astra define estilos propios para
   <table>, <th> y <td> (bordes, fondos alternados, padding) con
   especificidad suficiente para pisar los de esta hoja. Sin esto la
   tabla del ranking sale con el aspecto del tema y no con el del diseño.
   ------------------------------------------------------------------ */
body.ilds-ranking h1,
body.ilds-ranking .rkt-name,
body.ilds-ranking .news-body h3 { color: inherit; }

body.ilds-ranking .rkt-table {
  border: none;
  border-collapse: collapse;
  background: transparent;
  margin: 0;
}

body.ilds-ranking .rkt-table thead th {
  background: var(--main);
  color: #FFFFFF;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.25);
}
body.ilds-ranking .rkt-table thead th:last-child { border-right: none; }

body.ilds-ranking .rkt-table td {
  border: none;
  color: #4A4A4A;
}

body.ilds-ranking .rkt-table tbody tr { background: transparent; }
body.ilds-ranking .rkt-table tbody tr:nth-child(even) { background: #F3F3F3; }

/* La calificación lleva su color propio.
   OJO con el orden de especificidad: 'body.ilds-ranking .rkt-table td'
   (0,3,1) le gana a '.rkt-table td.g-aaa' (0,2,2), así que si solo se
   fijara el gris de los td, todas las calificaciones saldrían grises.
   Por eso las ocho clases de color se repiten acá con el mismo peso. */
body.ilds-ranking .rkt-table td.g-aaa { color: #4E7F2A; }
body.ilds-ranking .rkt-table td.g-aap { color: #6FA83A; }
body.ilds-ranking .rkt-table td.g-aa  { color: #8C9B33; }
body.ilds-ranking .rkt-table td.g-ap  { color: #B8AA25; }
body.ilds-ranking .rkt-table td.g-a   { color: #D19A35; }
body.ilds-ranking .rkt-table td.g-bbb { color: #DB8C3A; }
body.ilds-ranking .rkt-table td.g-bb  { color: #E0823A; }
body.ilds-ranking .rkt-table td.g-b   { color: #C2632F; }

body.ilds-ranking .btn-outline,
body.ilds-ranking .btn-outline:hover,
body.ilds-ranking .btn-outline:focus,
body.ilds-ranking .btn-outline:active { color: var(--main); }

body.ilds-ranking .news-link,
body.ilds-ranking .news-link:hover,
body.ilds-ranking .news-link:focus { color: var(--main); }

body.ilds-ranking .topbar a,
body.ilds-ranking .topbar a:active { color: var(--ink); }
body.ilds-ranking .topbar a:hover,
body.ilds-ranking .topbar a:focus { color: var(--main); }
