/* =========================================================
RESET VISUAL GENERAL
========================================================= */
.fc{
  --fc-yellow:#ffd200;
  --fc-dark:#171717;
  --fc-ink:#111111;
  color:var(--fc-ink);
  font-family:'Montserrat',sans-serif;
  background:#ffffff;
}
.fc *, .fc *::before, .fc *::after{ box-sizing:border-box; }
.fc__container{ max-width:1400px; margin:0 auto; padding:0 30px; }
.fc img{ display:block; max-width:100%; }
.fc-placeholder{
  display:flex; align-items:center; justify-content:center;
  min-height:220px; background:#e9e9e9; color:#777;
  font-size:14px; text-align:center; padding:20px;
}

/* =========================================================
BOTONES
========================================================= */
.fc-btn{
  display:inline-flex; align-items:center; justify-content:center;
  text-decoration:none !important;
  line-height:1; border:0; cursor:pointer;
  transition:all .18s ease;
  border-radius:2px; font-weight:700; letter-spacing:.2px;
}
.fc-btn--primary{
  background:var(--fc-yellow);
  color:#111 !important;
  padding:14px 28px;
  font-size:13px; font-weight:700;
  border:none; box-shadow:none;
}
.fc-btn--primary:hover{ background:#e6bd00; transform:translateY(-1px); }
.fc__ctaRow{ display:flex; justify-content:center; }

/* =========================================================
HERO
========================================================= */
.fc-hero{
  position:relative; min-height:680px;
  display:flex; align-items:center; justify-content:center;
  text-align:center; overflow:hidden;
  background:#111 center center / cover no-repeat;
}
.fc-hero__overlay{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.45) 50%, rgba(0,0,0,.60) 100%);
}
.fc-hero__inner{
  position:relative; z-index:2;
  display:flex; flex-direction:column; align-items:center; gap:46px;
  max-width:1372px; margin:0 auto; padding:100px 24px 40px;
}
.fc-hero__title{
  margin:0 auto; width:100%;
  font-size:clamp(40px, 7.4vw, 100px) !important;
  line-height:1.08; font-weight:600 !important;
  color:#ffffff; letter-spacing:-0.02em;
}
.fc-hero__subtitle{
  margin:0 auto; max-width:1152px;
  font-size:35px; line-height:1.45;
  font-weight:500; color:rgba(255,255,255,.95);
}
.fc-hero__ctas{ display:flex; justify-content:center; }
.fc-hero__ctas .fc-btn--primary{ font-size:18px; }

/* =========================================================
SECCIONES (base) + BADGE
========================================================= */
.fc-section{ padding:20px 0; }
.fc-eyebrow-badge{
  display:table; margin:0 auto 40px; padding:10px 22px;
  background:var(--fc-yellow); color:#111;
  font-size:22px; font-weight:800; text-transform:uppercase;
  letter-spacing:.02em; line-height:1; border:none; border-radius:0;
}

/* =========================================================
FRANJA NEGRA DE MÉTRICAS
========================================================= */
.fc-trust{ background:#1a1a1c; padding:64px 0; }
.fc-trust__row{
  display:flex; align-items:stretch; justify-content:center;
  gap:0; text-align:center;
  max-width:900px; margin:0 auto;
}
.fc-trust__item{ flex:1 1 0; min-width:0; padding:0 28px; }
.fc-trust__divider{ width:1px; background:rgba(255,210,0,.65); }
.fc-trust__number{
  display:block; margin-bottom:14px;
  font-size:clamp(30px, 3vw, 46px); line-height:1;
  font-weight:800; letter-spacing:-0.02em; color:#fff;
  text-transform:uppercase;
}
.fc-trust__label{
  display:block; margin:0; font-size:18px; line-height:1.25;
  color:rgba(255,255,255,.85); font-weight:500;
}

/* =========================================================
ÁREAS PRINCIPALES (banda con foto, encajada en el contenedor)
========================================================= */
.fc-areas{
  position:relative; overflow:hidden;
  background:#333 center center / cover no-repeat;
  padding:70px 0; text-align:center;
  /* Caja centrada según Figma (1415px), con margen lateral automático
     en pantallas menores */
  width:min(1415px, calc(100% - 40px));
  margin:5% auto;
  background-position: bottom;
}
.fc-areas__overlay{ position:absolute; inset:0; background:rgba(0,0,0,.55); }
.fc-areas__inner{ position:relative; z-index:1; }
.fc-areas__title{
  margin:0 0 24px; color:var(--fc-yellow);
  font-size:40px; font-weight:700;
  text-transform:uppercase; letter-spacing:.04em;
}
.fc-areas__list{
  margin:0; padding:0; list-style:none;
  display:flex; flex-wrap:wrap; justify-content:center;
  column-gap:24px; row-gap:14px;
}
.fc-areas__item{
  position:relative; padding-right:24px;
}
.fc-areas__item h5{
  margin:0; color:#fff; font-size:17px; font-weight:500;
}
.fc-areas__item:not(:last-child)::after{
  content:""; position:absolute; right:0; top:15%;
  width:2px; height:70%; background:var(--fc-yellow);
}
.fc-areas__extra h5{ color:var(--fc-yellow); font-weight:800; }

/* =========================================================
CERTIFICACIONES OFICIALES (pills + paneles)
========================================================= */
.fc-certs{ padding:30px 0 60px; }
.fc-certs .fc__container{
  /* Caja más ancha solo para esta sección, para que el título quepa en
     una línea al tamaño grande (80px) sin tocar el contenedor del resto
     de la página. */
  max-width:1500px;
}
.fc-certs__h2{
  margin:0 0 12px; text-align:center; white-space:nowrap;
  font-size:clamp(34px, 5.7vw, 80px) !important;
  font-weight:700 !important; text-transform:uppercase;
  letter-spacing:-0.03em; color:#111;
}
.fc-certs__sub{
  margin:0 auto 44px; text-align:center;
  font-size:clamp(16px, 1.5vw, 20px); color:#555;
}
.fc-pills{
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:12px; margin-bottom:56px;
}
.fc-pill{
  display:inline-flex; align-items:center; gap:9px;
  padding:11px 18px; border:0; border-radius:4px;
  background:#111; color:#fff; cursor:pointer;
  font-family:inherit; font-size:13px; font-weight:700;
  transition:background .18s ease, color .18s ease;
}
.fc-pill__icon{ display:inline-flex; }
.fc-pill__icon svg, .fc-pill__icon img{ width:16px; height:16px; color:var(--fc-yellow); }
/* Hover: también amarillo, tanto en la categoría activa como en el resto.
   !important porque el tema (Astra) trae un fondo propio por defecto para
   cualquier <button> que si no queda por encima en algunos navegadores. */
.fc-pill:hover{ background:var(--fc-yellow) !important; color:#111 !important; }
.fc-pill:hover .fc-pill__icon svg, .fc-pill:hover .fc-pill__icon img{ color:#111; }
.fc-pill.is-active,
.fc-pill.is-active:hover,
.fc-pill.is-active:focus,
.fc-pill.is-active:active{ background:var(--fc-yellow); color:#111; }
.fc-pill.is-active .fc-pill__icon svg, .fc-pill.is-active .fc-pill__icon img{ color:#111; }
.fc-cat__head{
  display:flex; align-items:center; gap:18px;
  padding:0 0 20px; border-bottom:2px solid var(--fc-yellow);
  margin-bottom:34px;
}
.fc-cat__icon{
  width:56px; height:56px; flex:none;
  display:inline-flex; align-items:center; justify-content:center;
  background:#111; color:var(--fc-yellow);
}
.fc-cat__icon svg, .fc-cat__icon img{ width:28px; height:28px; }
.fc-cat__title{
  margin:0 0 4px; font-size:22px; font-weight:800;
  text-transform:uppercase; letter-spacing:-0.01em; color:#111;
}
.fc-cat__count{ font-size:15px; color:#9a9a9a; }
.fc-cat__grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:24px;
}
.fc-cert{ background:#f4f4f4; padding:28px 26px; }
.fc-cert__title{ margin:0 0 16px; font-size:16px; line-height:1.3; font-weight:700; color:#111; }
.fc-cert__list{ margin:0; padding:0 0 0 18px; }
.fc-cert__list li{ font-size:13px; line-height:1.55; color:#555; margin-bottom:6px; }
.fc-cert__list li::marker{ color:#999; }
.fc-certs__empty{ padding:30px 0; color:#777; font-size:15px; }

/* =========================================================
POR QUÉ CERTIFICAR (badge sobre el borde)
========================================================= */
.fc-section--beneficios{ padding:50px 0 40px; }
.fc-section:has(.fc-beneficios) .fc-eyebrow-badge{
  position:relative; z-index:2; margin-bottom:-21px;
}
.fc-beneficios{
  border:2px solid var(--fc-yellow); background:#ffffff;
  padding:46px 40px 40px;
  display:grid; grid-template-columns:repeat(4, 1fr); gap:26px;
}
.fc-beneficios__item{ text-align:center; padding:10px 14px; }
.fc-beneficios__icon{
  width:72px; height:72px; display:inline-flex;
  align-items:center; justify-content:center;
  color:var(--fc-yellow); margin:0 auto 18px;
}
.fc-beneficios__icon svg, .fc-beneficios__icon img{ width:52px; height:52px; }
.fc-beneficios__title{ margin:0 0 10px; font-size:18px; line-height:1.2; font-weight:700; color:#111; }
.fc-beneficios__text{ margin:0; font-size:13px; line-height:1.55; color:#555; }

/* =========================================================
CTA MÁSTERES + TARJETA SOLAPADA
========================================================= */
.fc-cta{ background:#1a1a1c; padding:90px 0 0; color:#fff; }
.fc-cta .fc__container{ display:flow-root; }
.fc-cta__inner{ text-align:center; padding-bottom:70px; }
.fc-cta__title{
  margin:0 auto 22px; max-width:820px;
  font-size:clamp(30px, 4.7vw, 65px) !important; line-height:1.15 !important;
  font-weight:700; color:#fff;
}
.fc-cta__text{
  margin:0 auto 36px; max-width:820px;
  font-size:16px; line-height:1.55; color:rgba(255,255,255,.88);
}
.fc-card{
  position:relative; z-index:2; overflow:hidden;
  margin-bottom:-150px; /* mitad de la tarjeta fuera de la banda oscura */
  min-height:300px;
  display:flex; align-items:center; justify-content:center;
  text-align:center;
  background:#333 center center / cover no-repeat;
}
.fc-card__overlay{ position:absolute; inset:0; background:rgba(0,0,0,.45); }
.fc-card__inner{ position:relative; z-index:1; max-width:820px; padding:60px 30px; }
.fc-card__title{
  margin:0 auto 28px;
  font-size:clamp(26px, 2.8vw, 38px) !important; line-height:1.2 !important;
  font-weight:800; color:#fff;
}

/* =========================================================
FAQ (badge a la izquierda)
========================================================= */
.fc-section--faq{ padding:200px 0 140px; }
.fc-section:has(.fc-faq) .fc-eyebrow-badge{ margin:0 0 24px; }
.fc-faq{ max-width:1220px; margin:auto; }
.fc-faq__item{ border-bottom:1px solid #e4c42a; }
.fc-faq__q{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px; width:100%; background:none; border:0;
  cursor:pointer; text-align:left; padding:24px 0;
}
.fc-faq__qtext{ font-size:17px !important; font-weight:700 !important; color:#111; margin:0; }
.fc-faq__icon{ width:22px; height:22px; flex:none; color:#111; }
.fc-faq__icon svg{ width:20px; height:20px; transition:transform .2s ease; }
.fc-faq__item.is-open .fc-faq__icon svg{ transform:rotate(180deg); }
.fc-faq__acontent{
  font-size:14px; line-height:1.8; color:#555;
  max-width:1050px; padding-bottom:26px;
}

/* =========================================================
MODAL
========================================================= */
.fc-modal{ position:fixed; inset:0; z-index:9999; display:none; }
.fc-modal.is-open{ display:block; }
.fc-modal__overlay{ position:absolute; inset:0; background:rgba(0,0,0,.6); }
.fc-modal__dialog{
  position:relative; z-index:1; background:#fff;
  max-width:560px; margin:8vh auto; padding:48px 36px 36px;
}
.fc-modal__close{
  position:absolute; top:10px; right:10px;
  background:none; border:0; cursor:pointer; color:#111;
}
.fc-modal-lock{ overflow:hidden; }

/* =========================================================
RESPONSIVE
========================================================= */
@media (max-width:1100px){
  .fc-cat__grid{ grid-template-columns:repeat(2, 1fr); }
  .fc-beneficios{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:768px){
  /* En móvil no cabe en una línea sin encoger el texto hasta ser
     ilegible: se deja envolver con normalidad, como el resto de títulos. */
  .fc-certs__h2{ white-space:normal; }
  .fc-section{ padding:40px 0; }
  .fc-hero{ min-height:500px; }
  .fc-hero__inner{ padding:80px 24px 64px; }
  .fc-hero__title{ font-size:36px !important; }
  .fc-hero__subtitle{ font-size:16px; }
  .fc-trust{ padding:50px 0; }
  .fc-trust__row{ flex-direction:column; gap:26px; }
  .fc-trust__divider{ display:none; }
  .fc-trust__item{ padding:0; }
  .fc-areas__item{ padding-right:0; }
  .fc-areas__item:not(:last-child)::after{ display:none; }
  .fc-cat__grid{ grid-template-columns:1fr; }
  .fc-eyebrow-badge{ font-size:16px; padding:8px 16px; }
  .fc-section:has(.fc-beneficios) .fc-eyebrow-badge{ margin-bottom:-18px; }
  .fc-beneficios{ grid-template-columns:1fr; padding:56px 20px 30px; }
  .fc-card{ margin-bottom:-60px; }
  .fc-section--faq{ padding:120px 0 70px; }
  .fc-faq__q{ padding:20px 0; }
  .fc-faq__qtext{ font-size:15px !important; }
}