/* ===== audit-v70.css ===== */
/* V70 — Accesibilidad, privacidad y hardening UX */
:root{
  --green:#0b7a3b;
  --copper-dark:#a65f3f;
}
.btn-wa,.wa-float{background:var(--green)!important;color:#fff!important}
.btn-wa:hover,.wa-float:hover{background:#086733!important}
input::placeholder,textarea::placeholder{color:#66727c!important;opacity:1}
.skip-link{position:fixed;left:14px;top:10px;z-index:99999;transform:translateY(-160%);background:#fff;color:#06101b;padding:11px 14px;border-radius:10px;font-weight:800;box-shadow:0 8px 28px rgba(0,0,0,.18)}
.skip-link:focus{transform:none}
.privacy-consent{display:flex;gap:10px;align-items:flex-start;margin:14px 0 16px;font-size:.9rem;line-height:1.5;color:#55616a}
.privacy-consent input{width:18px;height:18px;min-width:18px;margin-top:2px;accent-color:#0b7a3b}
.privacy-consent a{color:#7f472e;text-decoration:underline;text-underline-offset:2px}
.footer-legal-links{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:18px;font-size:.86rem}
.footer-legal-links a,.footer-legal-links button{color:#d0d7dc;background:none;border:0;padding:0;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.footer-legal-links a:hover,.footer-legal-links button:hover{color:#fff}
.cookie-banner{position:fixed;left:18px;right:18px;bottom:18px;z-index:10000;max-width:880px;margin:auto;background:#07111d;color:#fff;border:1px solid rgba(255,255,255,.16);border-radius:20px;box-shadow:0 18px 60px rgba(0,0,0,.35);padding:22px;display:none}
.cookie-banner.is-open{display:block}
.cookie-banner h2{font-size:1.25rem!important;margin:0 0 8px;color:#fff}
.cookie-banner p{margin:0;color:#d7dee3;font-size:.96rem;line-height:1.55}
.cookie-banner a{color:#fff;text-decoration:underline}
.cookie-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.cookie-actions .btn{min-height:44px;padding:0 16px}
.cookie-settings{margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12);display:none}
.cookie-settings.is-open{display:block}
.cookie-option{display:flex;gap:12px;align-items:flex-start;padding:8px 0}
.cookie-option input{width:19px;height:19px;margin-top:2px;accent-color:#0b7a3b}
.cookie-option strong{display:block;color:#fff;margin-bottom:3px}
.cookie-option span{display:block;color:#c4cdd3;font-size:.9rem;line-height:1.45}
.legal-page{padding:130px 0 80px;background:#f8f6f3;min-height:70vh}
.legal-page .legal-wrap{max-width:880px;margin:auto;background:#fff;border:1px solid #e8e2dc;border-radius:24px;padding:clamp(26px,5vw,56px);box-shadow:0 16px 45px rgba(0,0,0,.04)}
.legal-page h1{font-size:clamp(2.1rem,5vw,3.4rem);margin:0 0 18px}
.legal-page h2{font-size:1.55rem;margin:34px 0 12px}
.legal-page h3{font-size:1.15rem;margin:24px 0 10px}
.legal-page p,.legal-page li{font-size:1rem;line-height:1.7;color:#46525c}
.legal-page ul{padding-left:1.3rem}
.legal-note{background:#f4eee9;border-left:4px solid #a65f3f;padding:16px 18px;border-radius:0 12px 12px 0}
.error404{text-align:center;padding:150px 0 100px;background:#f8f6f3;min-height:65vh}.error404 h1{font-size:clamp(4rem,15vw,8rem);margin:0;color:#06101b}.error404 h2{font-size:clamp(1.7rem,5vw,2.8rem);margin:0 0 14px}.error404 p{max-width:650px;margin:0 auto 26px;color:#5a6670;font-size:1.05rem}.error404 .cta-row{justify-content:center}
@media(max-width:560px){
  body{font-size:16px}
  p,li,.hero-sub,.hero-point,.hero-form .intro,.mini-card p,.step p,.photo-card .label span,.side-panel p,.side-panel li,.mid-cta-copy span,.spec-chip,footer p,footer a{font-size:1rem!important;line-height:1.55}
  label{font-size:.9rem!important}
  .legal{font-size:.88rem!important}
  .eyebrow,.blog-meta,.related-card span{font-size:.78rem!important}
  .cookie-banner{left:10px;right:10px;bottom:10px;padding:18px;border-radius:16px;max-height:calc(100dvh - 20px);overflow:auto}
  .cookie-actions{display:grid;grid-template-columns:1fr}.cookie-actions .btn{width:100%}
  .footer-legal-links{font-size:.95rem}
}

/* ===== refinements-v71.css ===== */
/* V71 — refinamiento visual de headers + consentimiento compacto */

/* =========================================================
   HEADER — estados normal y sticky consistentes
   ========================================================= */
.header{
  isolation:isolate;
  transition:background-color .24s ease,box-shadow .24s ease,padding .24s ease,border-color .24s ease;
}
.header.scrolled{
  background:rgba(6,16,27,.965)!important;
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 8px 28px rgba(0,0,0,.16)!important;
}
.header.scrolled .nav-links,
.header.scrolled .nav-primary>a,
.header.scrolled .nav-dropdown-toggle{
  color:#fff!important;
}

/* Las páginas claras no pueden usar un header transparente con logo blanco. */
body.page-legal .header,
body.page-utility .header{
  background:rgba(6,16,27,.975)!important;
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 7px 24px rgba(0,0,0,.12);
}
body.page-legal .header.scrolled,
body.page-utility .header.scrolled{
  background:rgba(6,16,27,.99)!important;
  box-shadow:0 9px 30px rgba(0,0,0,.18)!important;
}
body.page-legal .nav-links,
body.page-utility .nav-links,
body.page-legal .nav-primary>a,
body.page-utility .nav-primary>a{
  color:#fff!important;
}

/* Mantiene la escala de header estable al hacer scroll. */
@media (min-width:961px){
  body.page-legal .header .nav,
  body.page-utility .header .nav{min-height:64px!important}
  body.page-legal .header.scrolled .nav,
  body.page-utility .header.scrolled .nav{min-height:58px!important}
}
@media (max-width:960px){
  body.page-legal .header,
  body.page-utility .header{padding:7px 0!important}
  body.page-legal .header .brand img,
  body.page-utility .header .brand img{width:158px!important;max-width:158px!important}
}

/* =========================================================
   COOKIE CONSENT — compacto, sutil y no invasivo
   ========================================================= */
.cookie-banner{
  left:18px!important;
  right:auto!important;
  bottom:18px!important;
  width:min(760px,calc(100vw - 36px))!important;
  max-width:760px!important;
  margin:0!important;
  padding:14px 15px!important;
  border-radius:15px!important;
  background:rgba(6,16,27,.975)!important;
  border:1px solid rgba(255,255,255,.11)!important;
  box-shadow:0 14px 42px rgba(0,0,0,.28)!important;
  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);
}
.cookie-banner.is-open{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:12px 18px;align-items:center}
.cookie-summary{min-width:0}
.cookie-title{
  display:block;
  margin:0 0 3px;
  color:#fff;
  font-size:.83rem;
  line-height:1.25;
  font-weight:800;
  letter-spacing:.015em;
}
.cookie-banner p{
  margin:0!important;
  color:#cbd4da!important;
  font-size:.78rem!important;
  line-height:1.42!important;
}
.cookie-banner p a{color:#fff;text-decoration:underline;text-underline-offset:2px}
.cookie-banner>.cookie-actions{
  margin:0!important;
  display:flex!important;
  gap:7px!important;
  flex-wrap:nowrap!important;
  align-items:center;
}
.cookie-actions .btn{
  min-height:36px!important;
  height:36px;
  padding:0 11px!important;
  border-radius:10px!important;
  font-size:.74rem!important;
  font-weight:760!important;
  white-space:nowrap;
  box-shadow:none!important;
}
.cookie-actions .btn-outline{
  background:transparent!important;
  border-color:rgba(255,255,255,.24)!important;
  color:#e8edf0!important;
}
.cookie-actions .btn-outline:hover,
.cookie-actions .btn-outline:focus-visible{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.42)!important}
.cookie-settings{
  grid-column:1/-1;
  margin-top:2px!important;
  padding-top:11px!important;
  border-top:1px solid rgba(255,255,255,.10)!important;
}
.cookie-settings.is-open{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px}
.cookie-option{
  padding:5px 0!important;
  gap:8px!important;
}
.cookie-option input{width:17px!important;height:17px!important;min-width:17px;margin-top:1px!important}
.cookie-option strong{font-size:.76rem!important;margin-bottom:1px!important}
.cookie-option span{font-size:.72rem!important;line-height:1.35!important;color:#bdc8cf!important}
.cookie-settings>.cookie-actions{grid-column:1/-1;margin:2px 0 0!important}
.cookie-settings>.cookie-actions .btn{min-width:145px}

@media (max-width:760px){
  .cookie-banner{
    left:10px!important;
    right:10px!important;
    bottom:10px!important;
    width:auto!important;
    max-width:none!important;
    padding:13px 14px!important;
    border-radius:14px!important;
    max-height:calc(100dvh - 20px)!important;
    overflow:auto!important;
  }
  .cookie-banner.is-open{grid-template-columns:1fr!important;gap:10px!important}
  .cookie-banner>.cookie-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
  .cookie-actions .btn{width:auto!important;min-width:0!important;flex:0 0 auto}
  .cookie-settings.is-open{grid-template-columns:1fr!important;gap:2px!important}
  .cookie-settings>.cookie-actions .btn{width:100%!important}
}
@media (max-width:420px){
  .cookie-banner p{font-size:.75rem!important}
  .cookie-banner>.cookie-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%}
  .cookie-banner>.cookie-actions .btn{width:100%!important}
  .cookie-banner>.cookie-actions .btn:last-child{grid-column:1/-1}
}

/* ===== fixes-v72.css ===== */
/* V72 — restauración de navegación, iconos sociales y pesos tipográficos */

/* Consentimiento del formulario: tono visual normal, sin apariencia de alerta. */
.privacy-consent,
.privacy-consent span{font-weight:400!important;}
.privacy-consent a{font-weight:400!important;}

/* Preferencias de cookies: etiquetas y descripciones en peso normal. */
.cookie-option,
.cookie-option label,
.cookie-option strong,
.cookie-option span{font-weight:400!important;}

/* El título del bloque puede conservar jerarquía sin resultar pesado. */
.cookie-settings .cookie-option strong{font-weight:400!important;}

/* Headers oscuros: asegurar legibilidad de navegación y acciones en páginas legales/utilidad. */
body.page-legal .header .nav-links,
body.page-utility .header .nav-links{display:flex;}
body.page-legal .header .nav-actions,
body.page-utility .header .nav-actions{display:flex;}
body.page-legal .header .nav-primary>a,
body.page-legal .header .nav-dropdown-toggle,
body.page-utility .header .nav-primary>a,
body.page-utility .header .nav-dropdown-toggle{color:#fff!important;}
body.page-legal .header .btn-outline,
body.page-utility .header .btn-outline{color:#fff!important;border-color:rgba(255,255,255,.48)!important;}
body.page-legal .header .btn-outline:hover,
body.page-utility .header .btn-outline:hover{background:#fff!important;color:#06101b!important;}

/* Mantener SVG de redes centrados y sin sustituciones tipográficas. */
.social-link{font-size:0!important;}
.social-link svg{display:block!important;width:19px!important;height:19px!important;}

/* V73 — botones del panel de cookies con peso tipográfico normal. */
.cookie-actions .btn,
.cookie-banner .btn,
.cookie-settings .btn{font-weight:400!important;}

/* ===== form-headings-v77.css ===== */
/* V77 — Encabezados de formularios. Archivo nuevo para evitar caché de V75 */
.hero-form > h2,
.hero-form > h3,
.contact-card > h2,
.contact-card > h3,
.form-card > h2,
.form-card > h3 {
  font-size: 36px !important;
  line-height: 1.08 !important;
  letter-spacing: -0.018em !important;
  margin: 0 0 28px !important;
  text-wrap: balance;
}

.hero-form > .intro,
.contact-card > .intro,
.form-card > .intro {
  display: none !important;
}

@media (max-width: 767px) {
  .hero-form > h2,
  .hero-form > h3,
  .contact-card > h2,
  .contact-card > h3,
  .form-card > h2,
  .form-card > h3 {
    font-size: 32px !important;
    line-height: 1.10 !important;
    margin-bottom: 22px !important;
  }
}

@media (max-width: 420px) {
  .hero-form > h2,
  .hero-form > h3,
  .contact-card > h2,
  .contact-card > h3,
  .form-card > h2,
  .form-card > h3 {
    font-size: 30px !important;
  }
}

/* V84 — Formularios de especialidades reubicados debajo del contenido */
.page-specialty-relocated-form .hero-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 1180px;
}

.page-specialty-relocated-form .hero-copy {
  width: min(100%, 920px);
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.page-specialty-relocated-form .hero-copy .eyebrow {
  justify-content: center;
}

.page-specialty-relocated-form .hero-copy .hero-sub {
  max-width: 780px;
  margin-inline: auto;
}

.page-specialty-relocated-form .hero-points {
  width: min(100%, 820px);
  margin-inline: auto;
}

.page-specialty-relocated-form .cta-row {
  justify-content: center;
}

.page-specialty-relocated-form .relocated-form-section {
  padding-top: clamp(52px, 7vw, 88px);
  padding-bottom: clamp(52px, 7vw, 88px);
  background:
    radial-gradient(circle at 85% 10%, rgba(190, 125, 88, .10), transparent 34%),
    #f6f3f0;
}

.page-specialty-relocated-form .relocated-form-container {
  display: flex;
  justify-content: center;
}

.page-specialty-relocated-form .relocated-form-card {
  position: relative;
  width: min(100%, 860px);
  max-width: 860px;
  margin: 0;
}

.page-specialty-relocated-form .relocated-form-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(191,126,88,.75), rgba(191,126,88,.18));
  pointer-events: none;
}

@media (max-width: 767px) {
  .page-specialty-relocated-form .hero-copy {
    text-align: left;
  }

  .page-specialty-relocated-form .hero-copy .eyebrow {
    justify-content: flex-start;
  }

  .page-specialty-relocated-form .hero-copy .hero-sub {
    margin-inline: 0;
  }

  .page-specialty-relocated-form .cta-row {
    justify-content: flex-start;
  }

  .page-specialty-relocated-form .relocated-form-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* V85 — Hero de especialidades centrado */
.page-specialty-relocated-form .hero-copy h1 {
  max-width: none !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
