@import url("./styles.css?v=20260826-base");

/* Portal corporativo RFCF · 26/08/2026
   Hoja independiente y reversible: la hoja general del portal permanece intacta. */
:root {
  --navy: #171717;
  --navy-2: #2b2b2b;
  --red: #c8102e;
  --red-dark: #7f1d1d;
  --ink: #171717;
  --muted: #667085;
  --line: #e2e3e7;
  --paper: #f7f4f4;
  --white: #fff;
  --shadow: 0 20px 44px rgba(25,25,25,.09);
  --radius: 18px;
}

.container { width: min(1240px, calc(100% - 48px)); }
.utility-bar { background: #7f1d1d; color: #fff; }
.utility-inner { min-height: 38px; }
.brand-bar { background: #c8102e; }
.brand-inner { min-height: 92px; }
.brand img { width: 318px; max-width: 46vw; }
.brand span { border-left-color: rgba(255,255,255,.46); }
.brand strong { font-size: 1.3rem; }
.brand small { color: rgba(255,255,255,.82); margin-top: 5px; }

.main-nav { box-shadow: none; border-bottom-color: var(--line); }
.nav-scroll { gap: 0; min-height: 52px; align-items: center; }
.nav-scroll a { padding: 15px 15px 13px; border-bottom-width: 3px; color: #393939; }
.nav-scroll a:first-child { color: var(--red); border-color: var(--red); }

.hero {
  padding: 52px 0 56px;
  background: #f8f4f4;
  color: var(--ink);
  border-bottom: 1px solid #efe5e5;
}
.hero::after { display: none; }
.hero-grid {
  grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr);
  gap: 52px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--red);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.hero-kicker::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.15rem,5vw,5.25rem);
  line-height: .94;
  letter-spacing: -.055em;
}
.hero h1 em { color: var(--red); }
.hero-grid > div > p {
  max-width: 660px;
  margin: 28px 0 0;
  color: #50545c !important;
  font-size: 1.08rem;
  line-height: 1.72;
}
.hero-search {
  max-width: 690px;
  margin-top: 32px;
  border: 1px solid #d9dadd;
  border-radius: 15px;
  box-shadow: 0 16px 40px rgba(31,22,22,.08);
}
.hero-search button { background: var(--red); }
.quick-links { gap: 10px 20px; margin-top: 23px; }
.quick-links a { color: #4e4e52; font-size: .82rem; }

.dyntra-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 414px;
  padding: 30px;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 30px 70px rgba(127,29,29,.24);
  backdrop-filter: none;
}
.dyntra-panel::after {
  content: "01";
  position: absolute;
  right: -18px;
  top: -55px;
  color: rgba(255,255,255,.08);
  font-size: 15rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.09em;
}
.dyntra-panel > * { position: relative; z-index: 1; }
.dyntra-panel .panel-label,
.dyntra-panel .dyntra-rank,
.dyntra-panel .dyntra-scope,
.dyntra-panel .score-highlight,
.dyntra-panel .progress,
.dyntra-panel .dyntra-official-link,
.dyntra-panel .dyntra-note { grid-column: 1 / -1; }
.panel-label { color: #fff; opacity: .82; }
.hero-panel .dyntra-rank {
  max-width: 420px;
  margin: 14px 0 0;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.08;
}
.hero-panel .dyntra-scope { margin: 11px 0 18px; color: rgba(255,255,255,.82); font-size: .88rem; }
.score-highlight { display: flex; align-items: flex-end; gap: 12px; margin: 2px 0 16px; }
.score-highlight strong { font-size: 4.65rem; line-height: .8; letter-spacing: -.08em; }
.score-highlight span { padding-bottom: 3px; font-size: 1.15rem; font-weight: 900; }
.dyntra-panel .metric-row {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: flex-start;
  min-height: 74px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,.24);
}
.dyntra-panel .metric-row:nth-of-type(odd) { border-right: 1px solid rgba(255,255,255,.24); }
.dyntra-panel .metric-row span { color: rgba(255,255,255,.72); font-size: .72rem; }
.dyntra-panel .metric-row b { color: #fff; font-size: 1.42rem; }
.dyntra-panel .progress { height: 7px; margin: 16px 0 0; background: rgba(255,255,255,.22); }
.dyntra-panel .progress span { background: #fff; }
.dyntra-official-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 17px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.dyntra-official-link:hover,
.dyntra-official-link:focus-visible { background: transparent; color: #fff; }
.dyntra-note { color: rgba(255,255,255,.7); }

.dyntra-observatory-band { padding: 0 0 88px; }
.dyntra-observatory-card {
  grid-template-columns: minmax(0,1.45fr) minmax(250px,.55fr);
  border: 0;
  border-radius: 22px;
  background: #171717;
  color: #fff;
  box-shadow: none;
}
.dyntra-observatory-copy { padding: 48px 54px; }
.dyntra-observatory-copy h2 { color: #fff; }
.dyntra-observatory-copy p { color: #ccc; }
.dyntra-observatory-copy .overline { color: #ff7588; }
.dyntra-observatory-visual { min-height: 100%; background: var(--red); }

.section-block { padding: 88px 0; }
.section-heading h2 { color: var(--ink); font-size: clamp(2.25rem,3.7vw,4rem); line-height: 1; }
.section-heading > p { max-width: 480px; }
.area-card {
  min-height: 350px;
  padding: 27px;
  border-top: 5px solid var(--red);
  border-radius: 18px;
}
.area-card::before { display: none; }
.area-number { color: #ead8dc; font-size: 3.8rem; }
.area-eyebrow { margin-top: 34px; }
.area-card h3 { color: var(--ink); font-size: 1.55rem; line-height: 1.06; }
.area-stat { padding-top: 18px; border-top: 1px solid var(--line); color: var(--red); }

.explorer { background: #f5f5f6; }
.filter-panel { box-shadow: none; }
.filter-buttons button { color: #444; }
.filter-buttons button.active,
.filter-buttons button:hover { background: var(--red); border-color: var(--red); }
.indicator-grid { gap: 18px; }
.indicator-card { min-height: 250px; padding: 24px; border-radius: 16px; }
.indicator-card:hover { border-color: #cf9eaa; box-shadow: var(--shadow); }
.code { background: var(--red); }
.arrow-link { color: var(--red); }

.cta-band { padding: 72px 0; background: var(--red); }
.site-footer { background: var(--red-dark); }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .dyntra-panel { min-height: auto; }
  .dyntra-observatory-card { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 30px,1240px); }
  .utility-inner { min-height: 34px; }
  .utility-inner > a,
  .utility-inner > span,
  .a11y-tools { display: none; }
  .language-switcher { margin-left: auto; }
  .brand-inner { min-height: 82px; }
  .brand img { width: 250px; max-width: 76vw; }
  .nav-scroll { min-height: 50px; }
  .nav-scroll a { padding: 14px 12px 12px; }
  .hero { padding: 44px 0 48px; }
  .hero-grid { gap: 38px; }
  .hero h1 { font-size: 2.95rem; }
  .hero-grid > div > p { font-size: 1rem; line-height: 1.65; }
  .hero-search { display: flex; }
  .hero-search input { padding: 13px 12px; }
  .hero-search button { width: auto; padding: 12px 18px; }
  .quick-links { flex-direction: row; }
  .dyntra-panel { padding: 27px 23px; border-radius: 20px; }
  .hero-panel .dyntra-rank { font-size: 1.65rem; }
  .score-highlight strong { font-size: 4rem; }
  .dyntra-panel .metric-row { padding: 11px 9px; }
  .dyntra-panel .metric-row b { font-size: 1.22rem; }
  .section-block { padding: 64px 0; }
  .section-heading h2 { font-size: 2.45rem; }
  .dyntra-observatory-band { padding-bottom: 64px; }
  .dyntra-observatory-copy { padding: 34px 28px; }
  .area-card { min-height: 300px; }
  .filter-buttons { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .filter-buttons button { flex: none; }
}

/* Lenguaje común de las páginas interiores */
.page-hero {
  padding: 34px 0 38px;
  background: var(--red);
  color: var(--white);
  border-bottom: 0;
}
.page-hero::after { display: none; }
.page-hero .breadcrumbs,
.page-hero .breadcrumbs a { color: rgba(255,255,255,.82); }
.page-hero .breadcrumbs a:hover { color: #fff; }
.page-hero .overline,
.page-hero .section-label { color: #fff; opacity: .82; }
.page-hero h1,
.page-hero h2,
.page-hero p { color: #fff; }
.page-hero h1 {
  max-width: 980px;
  margin-top: 14px;
  font-size: clamp(2.25rem,5vw,4.45rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.page-hero p { max-width: 850px; font-size: 1.06rem; line-height: 1.62; }
.indicator-hero .indicator-title-row { align-items: flex-start; }
.indicator-hero .code {
  background: #fff;
  color: var(--red);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: none;
}
.indicator-hero .status { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.32); }

.section-block:nth-of-type(even) { background: #f8f6f6; }
.section-heading .overline,
.section-block .overline { color: var(--red); }
.section-heading h2,
.detail-section h2,
.form-layout article > h2 { color: var(--ink); }

.detail-grid { gap: 38px; }
.detail-section,
.detail-aside,
.document-row,
.notice,
.service-card,
.contact-card,
.sitemap-section,
.year-archive,
.club-directory-card,
.club-card {
  border-color: #e4dddd;
  box-shadow: 0 12px 34px rgba(33,24,24,.055);
}
.detail-section,
.detail-aside,
.form-layout article,
.form-aside { border-radius: 18px; }
.detail-section { background: #fff; }
.detail-aside { background: #f8f4f4; }
.document-row { border-left: 4px solid var(--red); background: #fff; }
.document-icon { background: #f8e8eb; color: var(--red); }
.document-action,
.arrow-link,
.primary-link { color: var(--red); }
.notice { background: #fff7f8; border-left-color: var(--red); }

.public-form select,
.public-form textarea,
.public-form input[type="text"],
.public-form input[type="email"],
.public-form input[type="number"],
.public-form input[type="search"] {
  border-color: #d9d2d3;
  border-radius: 12px;
}
.form-layout article { box-shadow: 0 16px 42px rgba(33,24,24,.065); }
.form-aside { background: #f8eeee; border-color: #ead7db; }
.button,
button[type="submit"],
input[type="submit"] { border-radius: 12px; }

table { border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 14px; }
thead th { background: var(--red-dark); color: #fff; }
tbody tr:nth-child(even) { background: #faf7f7; }

.site-footer { margin-top: 0; }
.footer-logo img { max-width: 265px; }

@media (max-width: 680px) {
  .page-hero { padding: 26px 0 31px; }
  .page-hero h1 { font-size: clamp(2rem,12vw,3.15rem); }
  .page-hero p { font-size: .98rem; }
  .detail-grid,
  .form-layout { gap: 24px; }
  .detail-section,
  .detail-aside,
  .form-layout article,
  .form-aside { padding: 23px 20px; border-radius: 15px; }
  .document-row { padding: 17px 15px; }
  .indicator-hero .indicator-title-row { gap: 12px; }
  table { display: block; max-width: 100%; overflow-x: auto; }
}
