/* Páginas legales de Relevé: términos, privacidad, seguridad y arrepentimiento */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --rosa: #C06080; --rosa-dark: #9E4A64; --rosa-light: #F2D0DB; --rosa-pale: #FFF5F8;
  --crema: #FDF8F4; --dark: #3D2535; --mid: #7A5C6A; --gris: #A9919B; --border: #EDD8E0; --white: #FFFFFF;
  --verde: #2E7D32;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--dark); line-height: 1.6; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.25; }
a { color: inherit; text-decoration: none; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(253,248,244,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0 24px; }
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--rosa); }
.nav-logo img { width: 32px; height: 32px; }
.btn-nav { background: var(--rosa); color: #fff; padding: 9px 22px; border-radius: 50px; font-weight: 600; font-size: 0.88rem; transition: background 0.2s; }
.btn-nav:hover { background: var(--rosa-dark); }

.legal-wrap { max-width: 760px; margin: 0 auto; padding: 104px 24px 60px; }
.breadcrumb { font-size: 0.82rem; color: var(--gris); margin-bottom: 22px; }
.breadcrumb a { color: var(--rosa); font-weight: 500; }
.eyebrow { font-size: 0.78rem; font-weight: 700; color: var(--rosa); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.6rem); margin-bottom: 14px; }
.legal .actualizado { color: var(--gris); font-size: 0.88rem; margin-bottom: 28px; }
.legal h2 { font-size: clamp(1.3rem, 3.5vw, 1.6rem); margin: 40px 0 12px; }
.legal h3 { font-family: 'Inter', sans-serif; font-size: 1.04rem; font-weight: 700; margin: 22px 0 6px; }
.legal p { color: var(--mid); margin-bottom: 14px; font-size: 1.02rem; line-height: 1.75; }
.legal p.lead { color: var(--dark); font-size: 1.12rem; }
.legal ul { list-style: none; margin: 0 0 18px; }
.legal ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--mid); font-size: 1.02rem; line-height: 1.7; }
.legal ul li::before { content: '✦'; position: absolute; left: 0; color: var(--rosa); font-size: 0.9rem; }
.legal strong { color: var(--dark); font-weight: 600; }
.legal a { color: var(--rosa); font-weight: 500; }
.legal a:hover { text-decoration: underline; }

.resumen { background: var(--rosa-pale); border: 1px solid var(--rosa-light); border-left: 4px solid var(--rosa); border-radius: 14px; padding: 20px 22px; margin: 6px 0 30px; }
.resumen h2 { font-family: 'Inter', sans-serif; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rosa); margin: 0 0 10px; }
.resumen ul { margin: 0; }
.resumen ul li { color: var(--dark); margin-bottom: 6px; }

.indice { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.indice a { background: var(--crema); border: 1px solid var(--border); border-radius: 50px; padding: 6px 14px; font-size: 0.86rem; color: var(--dark); font-weight: 500; }
.indice a:hover { border-color: var(--rosa); text-decoration: none; }

.legenda { background: var(--crema); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; font-size: 0.9rem; color: var(--mid); margin-top: 26px; }

/* Formulario de arrepentimiento / baja */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px 22px; box-shadow: 0 10px 34px rgba(61,37,53,0.07); margin: 10px 0 24px; }
.opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.opcion { border: 2px solid var(--border); border-radius: 14px; padding: 14px; cursor: pointer; display: block; }
.opcion input { position: absolute; opacity: 0; pointer-events: none; }
.opcion b { display: block; color: var(--dark); margin-bottom: 4px; }
.opcion span { color: var(--mid); font-size: 0.88rem; line-height: 1.45; display: block; }
.opcion.activa { border-color: var(--rosa); background: var(--rosa-pale); }
.campo { margin-bottom: 14px; }
.campo label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.campo label small { font-weight: 400; color: var(--gris); }
.campo input, .campo textarea { width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; font: inherit; font-size: 1rem; color: var(--dark); background: #fff; }
.campo input:focus, .campo textarea:focus { outline: 2px solid var(--rosa-light); border-color: var(--rosa); }
.trampa { position: absolute; left: -9999px; }
.btn-enviar { width: 100%; background: var(--rosa); color: #fff; border: none; border-radius: 50px; padding: 14px; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; }
.btn-enviar:hover { background: var(--rosa-dark); }
.btn-enviar:disabled { opacity: 0.6; cursor: default; }
.error { display: none; background: #FBE3E3; color: #9B2C2C; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: 0.92rem; }
.listo { text-align: center; }
.listo .codigo { font-family: monospace; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.08em; color: var(--rosa-dark); background: var(--rosa-pale); border-radius: 12px; padding: 12px; margin: 14px 0; }
.listo p { color: var(--mid); }

.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 46px 24px 30px; margin-top: 40px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: #fff; display: flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.88rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.45); }

@media (max-width: 640px) {
  .legal-wrap { padding: 92px 18px 44px; }
  .opciones { grid-template-columns: 1fr; }
  .btn-nav { padding: 8px 16px; }
}
