/* ==========================================================
   FALCON CONSULTING — Privacidad y paginas legales
   Usa exclusivamente las variables, la tipografia y los
   botones del tema (style.css). No redefine nada existente.
   ========================================================== */

/* ---------- Dato pendiente: [POR COMPLETAR] ---------- */
.fc .fc-ph{background:#FFF4D6;color:#6B4200;border:1px dashed #E0A83A;border-radius:4px;
  padding:0 5px;font-weight:600;font-size:.92em;line-height:1.5;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.fc .legal__pending{margin-top:14px}

/* ==========================================================
   PAGINAS LEGALES
   ========================================================== */
.fc .legal__hero{padding-top:194px;padding-bottom:clamp(34px,4vw,52px);
  background:linear-gradient(180deg,#fff 0%,var(--mist) 100%);border-bottom:1px solid var(--line)}
.fc .legal__crumbs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px;font-size:.8rem;color:var(--muted)}
.fc .legal__crumbs a{color:var(--azure);transition:color .2s var(--ease)}
.fc .legal__crumbs a:hover{color:var(--navy)}
.fc .legal__title{margin-top:12px;max-width:24ch}
.fc .legal__meta{margin-top:14px;font-size:.84rem;color:var(--muted);display:flex;flex-wrap:wrap;gap:4px 18px}
.fc .legal__en{font-style:italic}

.fc .legal__body{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:clamp(32px,5vw,72px);
  align-items:start;padding-block:clamp(48px,6vw,88px)}

/* Documento: ancho de lectura comodo */
.fc .legal__doc{max-width:74ch;color:#3D4A5F;font-size:1rem;line-height:1.78}
.fc .legal__doc > section{padding-top:clamp(30px,3.4vw,42px);margin-top:clamp(30px,3.4vw,42px);border-top:1px solid var(--line)}
.fc .legal__doc > section:first-of-type{border-top:0;margin-top:clamp(26px,3vw,36px);padding-top:0}
.fc .legal__toc + section{border-top:0}
.fc .legal__doc h2{font-size:clamp(1.18rem,1.7vw,1.38rem);margin-bottom:14px}
.fc .legal__doc h3{font-size:1.02rem;letter-spacing:-.018em;color:var(--ink);margin:26px 0 8px}
.fc .legal__doc p + p{margin-top:12px}
.fc .legal__doc ul,.fc .legal__doc ol{margin:10px 0 0;padding-left:1.25em;display:grid;gap:7px}
.fc .legal__doc ul li::marker{color:var(--sky)}
.fc .legal__doc ol li::marker{color:var(--azure);font-weight:700}
.fc .legal__doc a{color:var(--azure);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;
  transition:color .2s var(--ease)}
.fc .legal__doc a:hover{color:var(--navy)}
.fc .legal__doc a.btn{color:#fff;text-decoration:none}
.fc .legal__doc strong{color:var(--ink);font-weight:600}
.fc .legal__doc code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.86em;
  background:var(--mist);border:1px solid var(--line);border-radius:4px;padding:1px 5px;color:var(--navy)}
.fc .legal__intro{font-size:clamp(1.02rem,1.25vw,1.12rem);color:var(--muted);line-height:1.78}

/* Indice */
.fc .legal__toc{margin-top:28px;background:var(--mist);border:1px solid var(--line);border-radius:var(--r);padding:20px 24px}
.fc .legal__toc > p{font-size:.72rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:var(--navy)}
.fc .legal__toc ol{columns:2;column-gap:32px;display:block;margin-top:10px;font-size:.9rem}
.fc .legal__toc li{break-inside:avoid;padding:3px 0}
.fc .legal__toc a{text-decoration:none;color:var(--ink)}
.fc .legal__toc a:hover{color:var(--azure)}

/* Datos de identificacion */
.fc .legal__data{margin:16px 0 0;border-top:1px solid var(--line)}
.fc .legal__data > div{display:grid;grid-template-columns:200px minmax(0,1fr);gap:4px 18px;padding:12px 0;border-bottom:1px solid var(--line)}
.fc .legal__data dt{font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);padding-top:3px}
.fc .legal__data dd{margin:0;color:var(--ink)}

/* Tablas */
.fc .legal__table-wrap{margin-top:14px;overflow-x:auto;border:1px solid var(--line);border-radius:10px;-webkit-overflow-scrolling:touch}
.fc .legal__table{width:100%;min-width:560px;border-collapse:collapse;font-size:.88rem;line-height:1.55}
.fc .legal__table th{background:var(--mist);text-align:left;font-size:.7rem;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--navy);padding:11px 14px;border-bottom:1px solid var(--line)}
.fc .legal__table td{padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top}
.fc .legal__table tr:last-child td{border-bottom:0}

/* Tarjetas ARCO */
.fc .legal__cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}
.fc .legal__card{border:1px solid var(--line);border-radius:var(--r);padding:20px 20px 18px;background:#fff;
  transition:border-color .25s var(--ease),transform .25s var(--ease)}
.fc .legal__card:hover{border-color:var(--sky);transform:translateY(-2px)}
.fc .legal__card b{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--navy);color:#fff;
  font-weight:800;font-size:.95rem}
.fc .legal__card h3{margin:12px 0 4px}
.fc .legal__card p{font-size:.93rem}

.fc .legal__cta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:20px}
.fc .legal__cta small{font-size:.8rem;color:var(--muted);max-width:42ch}
.fc .legal__stamp{margin-top:20px !important;font-size:.84rem;color:var(--muted)}

/* Lateral */
.fc .legal__aside{position:sticky;top:120px;border-left:1px solid var(--line);padding-left:24px}
.fc .legal__aside-t{font-size:.72rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:var(--navy);margin-bottom:12px}
.fc .legal__aside ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.fc .legal__aside ul a{display:block;padding:6px 0;font-size:.9rem;color:var(--muted);transition:color .2s var(--ease)}
.fc .legal__aside ul a:hover{color:var(--azure)}
.fc .legal__aside ul a[aria-current="page"]{color:var(--navy);font-weight:700;position:relative}
.fc .legal__aside ul a[aria-current="page"]::before{content:"";position:absolute;left:-26px;top:7px;bottom:7px;width:3px;border-radius:2px;background:var(--sky)}
.fc .legal__back{margin-top:22px}

/* Preferencias */
.fc .fc-prefs{margin-top:26px;border:1px solid var(--line);border-radius:var(--r);padding:clamp(20px,3vw,30px);
  background:#fff;box-shadow:0 24px 54px -44px rgba(10,52,116,.8)}
.fc .fc-prefs__state{font-size:.9rem;font-weight:600;color:var(--navy);padding:10px 14px;border-radius:8px;background:var(--mist)}
.fc .fc-prefs__state span{display:none}
.fc .fc-prefs__state[data-state="none"] .is-none,
.fc .fc-prefs__state[data-state="on"] .is-on,
.fc .fc-prefs__state[data-state="off"] .is-off{display:inline}
.fc .fc-prefs .fc-cats{margin-top:14px}
.fc .fc-prefs__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:20px}
.fc .fc-prefs__ok{font-size:.9rem;font-weight:600;color:#1B6B47;outline:none}

@media (max-width:1000px){
  .fc .legal__body{grid-template-columns:1fr}
  .fc .legal__aside{position:static;border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:24px}
  .fc .legal__aside a[aria-current="page"]::before{display:none}
}
@media (max-width:780px){
  .fc .legal__hero{padding-top:160px}
}
@media (max-width:640px){
  .fc .legal__toc ol{columns:1}
  .fc .legal__cards{grid-template-columns:1fr}
  .fc .legal__data > div{grid-template-columns:1fr}
}

/* ==========================================================
   PIE: ENLACES LEGALES
   ========================================================== */
.fc .foot__legalnav{margin-top:22px}
.fc .foot__legalnav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 0}
.fc .foot__legalnav li{display:inline-flex;align-items:center;font-size:.79rem}
.fc .foot__legalnav li + li::before{content:"|";margin:0 11px;color:rgba(255,255,255,.22)}
.fc .foot__legalnav a{color:rgba(255,255,255,.62)}
.fc .foot__legalnav a:hover,.fc .foot__legalnav a[aria-current="page"]{color:#fff}
@media (max-width:640px){
  .fc .foot__legalnav li + li::before{margin:0 8px}
}

/* ==========================================================
   FORMULARIO: CASILLA Y AVISO SIMPLIFICADO
   ========================================================== */
.fc .fc-consent{position:relative;display:grid;grid-template-columns:20px minmax(0,1fr);gap:11px;align-items:start;
  cursor:pointer;font-size:.86rem;line-height:1.55;color:#3D4A5F}
.fc .fc-consent input{position:absolute;opacity:0;width:1px;height:1px}
.fc .fc-consent__box{width:20px;height:20px;margin-top:1px;border:1.5px solid #A6B5CD;border-radius:5px;background:#fff;
  display:grid;place-items:center;transition:background-color .2s var(--ease),border-color .2s var(--ease)}
.fc .fc-consent__box::after{content:"";width:10px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;
  transform:rotate(-45deg) translate(1px,-1px);opacity:0;transition:opacity .15s var(--ease)}
.fc .fc-consent:hover .fc-consent__box{border-color:var(--sky)}
.fc .fc-consent input:checked + .fc-consent__box{background:var(--navy);border-color:var(--navy)}
.fc .fc-consent input:checked + .fc-consent__box::after{opacity:1}
.fc .fc-consent input:focus-visible + .fc-consent__box{outline:2px solid var(--azure);outline-offset:2px}
.fc .fc-consent em{font-style:normal;color:var(--muted)}

.fc .fc-pnotice{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start;
  padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--mist);
  font-size:.84rem;line-height:1.6;color:var(--muted)}
.fc .fc-pnotice svg{width:18px;height:18px;color:var(--azure);margin-top:2px}
.fc .fc-pnotice a{display:inline-block;color:var(--azure);font-weight:600;text-decoration:underline;
  text-underline-offset:3px;text-decoration-thickness:1px}
.fc .fc-pnotice a:hover{color:var(--navy)}
.fc .card > .fc-pnotice{margin-top:18px}

/* ==========================================================
   BANNER DE COOKIES
   Discreto, abajo a la izquierda; no bloquea la navegacion.
   ========================================================== */
.fc .fc-cookie{position:fixed;left:20px;bottom:20px;z-index:80;width:min(460px,calc(100% - 40px));
  max-height:calc(100vh - 40px);overflow:auto;background:#fff;border:1px solid var(--line);border-top:3px solid var(--navy);
  border-radius:var(--r);box-shadow:0 30px 70px -34px rgba(5,31,73,.55);
  opacity:0;transform:translateY(14px);transition:opacity .32s var(--ease),transform .32s var(--ease)}
.fc .fc-cookie.is-on{opacity:1;transform:none}
.fc .fc-cookie__in{padding:20px 22px 18px}
.fc .fc-cookie__title{font-size:.72rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:var(--azure)}
.fc .fc-cookie__txt{margin-top:8px !important;font-size:.88rem;line-height:1.62;color:#3D4A5F}
.fc .fc-cookie__txt a{color:var(--azure);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.fc .fc-cookie__panel{margin-top:12px}
.fc .fc-cookie__actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px}
.fc .fc-cookie__actions .btn{flex:1 1 auto;justify-content:center}
.fc .fc-cookie__link{border:0;background:none;padding:8px 2px;cursor:pointer;font-size:.84rem;font-weight:600;
  color:var(--navy);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.fc .fc-cookie__link:hover{color:var(--azure)}
.fc .fc-cookie.is-open .fc-cookie__actions .btn[data-fc-consent="save"]{flex-basis:100%}

/* Categorias e interruptores (banner y pagina de preferencias) */
.fc .fc-cats{list-style:none;margin:0;padding:0}
.fc .fc-cat{padding:12px 0;border-top:1px solid var(--line)}
.fc .fc-cat__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.fc .fc-cat__name{font-weight:700;color:var(--navy);font-size:.92rem;letter-spacing:-.01em}
.fc .fc-cat__desc{margin-top:4px !important;font-size:.82rem;line-height:1.55;color:var(--muted)}
.fc .fc-switch{position:relative;flex:none}
.fc .fc-switch input{position:absolute;opacity:0;width:1px;height:1px}
.fc .fc-switch label{position:relative;display:inline-flex;align-items:center;gap:9px;cursor:pointer;
  font-size:.76rem;font-weight:600;color:var(--muted);user-select:none}
.fc .fc-switch label::before{content:"";width:38px;height:22px;border-radius:999px;background:#C9D3E3;flex:none;order:2;
  transition:background-color .22s var(--ease)}
.fc .fc-switch label::after{content:"";position:absolute;right:19px;top:50%;width:16px;height:16px;margin-top:-8px;border-radius:50%;
  background:#fff;box-shadow:0 1px 3px rgba(5,31,73,.35);transition:transform .22s var(--ease)}
.fc .fc-switch input:checked + label::before{background:var(--navy)}
.fc .fc-switch input:checked + label::after{transform:translateX(16px)}
.fc .fc-switch input:focus-visible + label::before{outline:2px solid var(--azure);outline-offset:2px}
.fc .fc-switch.is-locked label{cursor:default}
.fc .fc-switch.is-locked input:checked + label::before{background:var(--sky)}

@media (max-width:640px){
  .fc .fc-cookie{left:12px;right:12px;bottom:12px;width:auto;max-height:calc(100vh - 24px)}
  .fc .fc-cookie__in{padding:18px 18px 16px}
  .fc .fc-cookie__actions .btn{flex-basis:100%}
  .fc .fc-cookie__link{width:100%;text-align:center}
}
@media print{
  .fc .fc-cookie,.fc .legal__aside,.fc .hdrwrap,.fc .wa{display:none !important}
  .fc .legal__hero{padding-top:20px}
}

/* El atributo hidden debe ganar a .btn{display:inline-flex} dentro de estos componentes. */
.fc .fc-cookie[hidden],.fc .fc-cookie [hidden],.fc .fc-prefs [hidden]{display:none !important}
