/* ──────────────────────────────────────────────────────────────
   Mudanzas y Transportes D&A — banner de cookies + páginas legales
   ────────────────────────────────────────────────────────────── */

/* ═══════════════════ Banner de cookies ═══════════════════ */
.da-cookies-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 200;
  background: rgba(11,42,74,0.96);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.35);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: 'Barlow', sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.2,0.8,0.2,1);
}
.da-cookies-banner.is-in { opacity: 1; transform: translateY(0); }

.da-cookies-inner {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 28px;
  padding: 22px 26px;
}
.da-cookies-text strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.da-cookies-text span {
  font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,0.78);
}
.da-cookies-text a { color: #F47C20; text-decoration: underline; text-underline-offset: 2px; }
.da-cookies-text a:hover { color: #F79547; }

.da-cookies-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.da-cookies-btn {
  font-family: inherit; font-size: 13.5px; font-weight: 700;
  padding: 11px 18px; border-radius: 9999px;
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.2s ease; white-space: nowrap;
}
.da-cookies-btn-ghost {
  background: transparent; color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.2);
}
.da-cookies-btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); color: #fff; }
.da-cookies-btn-primary {
  background: #F47C20; color: #fff;
  box-shadow: 0 6px 18px rgba(244,124,32,0.32);
}
.da-cookies-btn-primary:hover { background: #D4680F; transform: translateY(-1px); }

/* Panel de configuración expandible */
.da-cookies-config {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 26px 22px;
}
.da-cookies-config-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.da-cookies-config-row:last-of-type { border-bottom: none; }
.da-cookies-config-row strong { display: block; font-size: 14px; color: #fff; margin-bottom: 3px; }
.da-cookies-config-row span { font-size: 12.5px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.da-cookies-config-actions { padding-top: 12px; text-align: right; }

/* Switch */
.da-cookies-switch {
  position: relative; display: inline-block;
  width: 44px; height: 24px; flex-shrink: 0;
  cursor: pointer;
}
.da-cookies-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.da-cookies-switch-track {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 9999px;
  transition: background 0.2s ease;
}
.da-cookies-switch-track::before {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff;
  transition: transform 0.22s cubic-bezier(0.2,0.8,0.2,1);
}
.da-cookies-switch input:checked + .da-cookies-switch-track { background: #F47C20; }
.da-cookies-switch input:checked + .da-cookies-switch-track::before { transform: translateX(20px); }
.da-cookies-switch.is-locked { opacity: 0.55; cursor: not-allowed; }

@media (max-width: 720px) {
  .da-cookies-inner { grid-template-columns: 1fr; gap: 16px; padding: 18px 20px; }
  .da-cookies-actions { justify-content: flex-end; }
  .da-cookies-config { padding: 14px 20px 18px; }
  .da-cookies-config-row { flex-direction: row; }
}

/* ═══════════════════ Páginas legales ═══════════════════ */
.legal-page {
  font-family: 'Barlow', sans-serif;
  background: #FBF6EE;
  color: #2A3C4D;
  min-height: 100vh;
}
.legal-nav {
  position: sticky; top: 0; z-index: 50;
  height: 72px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11,42,74,0.06);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
}
.legal-logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.legal-logo img { height: 40px; width: auto; display: block; }
.legal-nav-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: #4A6073; text-decoration: none;
  padding: 10px 18px; border-radius: 9999px;
  border: 1px solid #E7D9C0;
  transition: all 0.2s ease;
}
.legal-nav-back:hover { border-color: #0B2A4A; background: #0B2A4A; color: #fff; }
.legal-nav-back svg { width: 14px; height: 14px; }

.legal-header {
  max-width: 800px; margin: 0 auto;
  padding: 80px 48px 40px;
}
.legal-header-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #F47C20;
  margin-bottom: 16px;
}
.legal-header-eyebrow::before { content: ''; width: 28px; height: 2px; background: #F47C20; }
.legal-header h1 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(40px, 5vw, 60px); line-height: 1.0;
  letter-spacing: -0.02em; color: #0B2A4A;
  margin-bottom: 14px;
}
.legal-header p {
  font-size: 18px; color: #4A6073;
}

.legal-content {
  max-width: 800px; margin: 0 auto;
  padding: 0 48px 100px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(11,42,74,0.06);
  padding: 56px 56px 64px;
}
.legal-content h2 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: 26px; line-height: 1.2;
  color: #0B2A4A;
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li {
  font-size: 15.5px; line-height: 1.75; color: #4A6073;
  margin-bottom: 14px;
}
.legal-content ul {
  margin: 14px 0 20px 0;
  padding-left: 22px;
}
.legal-content li::marker { color: #F47C20; }
.legal-content strong { color: #0B2A4A; }
.legal-content a { color: #F47C20; text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: #D4680F; }
.legal-meta {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid #E7D9C0;
  font-size: 13px; color: #8AA3B8;
  text-align: center;
  font-style: italic;
}

.legal-footer {
  background: #061827; color: rgba(255,255,255,0.5);
  padding: 32px 48px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: 13px;
}
.legal-footer a {
  color: rgba(255,255,255,0.7);
  margin-right: 22px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.legal-footer a:hover { color: #F47C20; }
.legal-footer .copy { color: rgba(255,255,255,0.4); }

@media (max-width: 700px) {
  .legal-nav { padding: 0 20px; }
  .legal-header { padding: 56px 20px 32px; }
  .legal-content { margin: 0 20px; padding: 36px 26px 42px; }
  .legal-footer { padding: 28px 20px; flex-direction: column; align-items: flex-start; }
  .legal-footer a { margin-right: 14px; }
}
