:root { --verde: #00472b; --tinta: #18352a; --gris: #59615d; --borde: #e3d8c7; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { background: linear-gradient(#fffdf7b3,#fffdf7b3),#faf8f3 url('/media/marble.webp') center / 1300px; }
.contenedor { max-width: 1280px; }
.privacy-nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px max(24px,calc((100vw - 1280px)/2)); background: #fffdf8ed; border-bottom: 1px solid #e6dac8; }
.privacy-nav img { width: 175px; display: block; }
.privacy-back { background: #00472b; color: white; padding: 8px 18px; border-radius: 7px; text-decoration: none; font-size: 13px; font-weight: 650; }
header { --hero: url('/media/experience/cost-privacy.png'); --hero-ar: 2172 / 724; position: relative; overflow: hidden; background: #f9f5ed; color: var(--tinta); padding: 28px 24px 42px; min-height: 350px; display: flex; align-items: center; }
/* La imagen se desvanece hacia la izquierda y hacia abajo: sin cortes bruscos. */
header::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; height: 100%; aspect-ratio: var(--hero-ar); max-width: 75%; background: var(--hero) right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 38%), linear-gradient(to top, transparent 0, #000 22%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 38%), linear-gradient(to top, transparent 0, #000 22%); mask-composite: intersect; pointer-events: none; }
header .contenedor { position: relative; z-index: 1; }
header .contenedor { width: 100%; gap: 13px; }
header h1 { font: 700 clamp(28px,3.2vw,43px)/1.09 Georgia,serif; max-width: 650px; letter-spacing: -1.3px; text-wrap: balance; }
header p { color: #555e56; max-width: 580px; font-size: 14px; }
.breadcrumb { display: flex; gap: 9px; align-items: center; font-size: 12px; }
.breadcrumb a { text-decoration: none; }
.privacy-layout { display: grid; grid-template-columns: 255px minmax(0,1fr); gap: 22px; padding: 24px 20px 50px; align-items: start; }
.privacy-sidebar { position: sticky; top: 20px; background: #fffcf8ed; border: 1px solid var(--borde); box-shadow: 0 7px 22px #4f351010; border-radius: 14px; padding: 20px 16px; }
.privacy-sidebar summary { font: 700 20px Georgia,serif; padding: 0 8px 15px; cursor: pointer; }
.privacy-sidebar nav { display: grid; gap: 2px; }
.privacy-sidebar nav a { padding: 7px 10px; font-size: 12px; line-height: 1.6; color: #5c6560; border-left: 2px solid transparent; text-decoration: none; border-radius: 5px; }
.privacy-sidebar nav a:hover,.privacy-sidebar nav a[aria-current] { background: #e6ede3; color: #00472b; border-left-color: #007549; }
.privacy-help { margin-top: 20px; padding: 12px; border: 1px solid var(--borde); border-radius: 10px; }
.privacy-help h2 { font: 700 17px Georgia,serif; margin: 0 0 5px; }
.privacy-help p { font-size: 12px; margin: 0 0 12px; }
.privacy-help a { display: block; font-size: 11px; text-decoration: none; padding: 9px 5px; border-radius: 6px; text-align: center; margin-top: 7px; overflow-wrap: anywhere; }
.privacy-help .wa { background: #00472b; }
.privacy-content { min-width: 0; counter-reset: privacy; }
.resumen { margin: 0 0 14px; border-left: 1px solid var(--borde); background: linear-gradient(100deg,#f1f7efed,#fbfcf6e8),url('/media/marble.webp') center / cover; padding: 20px 24px; box-shadow: 0 5px 20px #4236180b; }
.resumen h2 { font: 700 26px Georgia,serif; margin: 0 0 15px; }
.resumen ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); list-style: none; padding: 0; margin: 0; gap: 18px; }
.resumen li { font-size: 13px; border-left: 2px solid #c5d7c4; padding-left: 13px; }
.resumen li:last-child { grid-column: 1/-1; border-top: 1px solid #d5dfd1; border-left: 0; padding: 12px 0 0; }
.privacy-content section { position: relative; counter-increment: privacy; padding: 20px 24px 20px 70px; margin: 14px 0; box-shadow: 0 5px 20px #4236180b; background: #ffffffed; }
.privacy-content section::before { content: counter(privacy); position: absolute; left: 20px; top: 23px; width: 29px; height: 29px; display: grid; place-items: center; color: #fff; background: linear-gradient(120deg,#c39b51,#896021); border-radius: 5px; font-size: 15px; font-weight: 700; }
.privacy-content section h2 { margin: 0 0 9px; font: 700 23px/1.2 Georgia,serif; }
.privacy-content p,.privacy-content li { line-height: 1.7; }
.privacy-content p { margin: 9px 0; }
table { border: 1px solid var(--borde); border-radius: 8px; overflow: hidden; }
th { background: #f7f2e9; }
th,td { padding: 10px 12px; }
.cita { margin-top: 15px !important; font-size: 12px !important; background: #faf7f0; }
.privacy-security { display: grid; grid-template-columns: 1.3fr repeat(4,1fr); gap: 22px; background: #003f2d; color: #fff9ed; padding: 24px max(24px,calc((100vw - 1280px)/2)); font-size: 12px; line-height: 1.5; }
.privacy-security strong { color: #fff; font: 700 19px Georgia,serif; }
.privacy-security span { border-left: 1px solid #ffffff50; padding-left: 20px; }
footer { background: #ffffff80; }
.saltar { position: absolute; top: -100px; left: 20px; z-index: 5; padding: 12px; background: #fff; }
.saltar:focus { top: 10px; }
a:focus-visible,summary:focus-visible { outline: 3px solid #bb882e; outline-offset: 3px; }
@media(min-width:1600px) { header { min-height: 360px; } }
@media(max-width:950px) {
  header::before { max-width: 70%; }
  header h1 { max-width: 52%; font-size: 32px; }
  header p { max-width: 50%; }
  .privacy-layout { grid-template-columns: 210px minmax(0,1fr); gap: 15px; }
  .privacy-content section { padding: 20px; }
  .privacy-content section::before { display: none; }
  .resumen ul { grid-template-columns: 1fr; }
}
@media(max-width:650px) {
  .privacy-nav { padding: 12px 16px; }
  .privacy-nav img { width: 130px; }
  .privacy-back { font-size: 11px; padding: 9px 10px; }
  header { padding: 230px 20px 25px; background-color: #fbf8f1; min-height: 0; }
  header::before { left: 0; bottom: auto; height: 250px; width: 100%; max-width: none; aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(to top, transparent 0, #000 35%); mask-image: linear-gradient(to top, transparent 0, #000 35%); }
  header h1 { max-width: none; font-size: 31px; }
  header p { max-width: none; font-size: 12px; }
  .privacy-layout { display: block; padding: 16px 12px 28px; }
  .privacy-sidebar { position: static; padding: 16px; margin-bottom: 16px; }
  .privacy-sidebar summary { padding-bottom: 0; }
  .privacy-sidebar details[open] summary { padding-bottom: 12px; }
  .privacy-help { display: none; }
  .privacy-content section h2 { font-size: 22px; }
  .privacy-content p,.privacy-content li { font-size: 14px; }
  .resumen { padding: 20px; }
  .privacy-security { grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 20px; }
  .privacy-security strong { grid-column: 1/-1; }
  .privacy-security span { padding-left: 12px; }
  .contacto a { overflow-wrap: anywhere; font-size: 12px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
