/* Seunico — design system premium v3
   Principio: primero caro en estático. Luego se mueve. */

:root {
  --ink: #0B1F33;
  --ink-soft: #1A3348;
  --ink-deep: #061018;
  --ink-mid: #143049;
  --paper: #FBF9F6;
  --paper-warm: #F3EDE3;
  --paper-deep: #EBE4D8;
  --card: #FFFFFF;
  --line: #E4DDD2;
  --line-strong: #CDBFA8;
  --muted: #5C6670;
  --muted-soft: #69727C;
  --amber: #9E6310;
  --amber-deep: #9A5F0C;
  --amber-soft: #F3E6D0;
  --amber-glow: #F6D7A0;
  --amber-hot: #E8A030;
  --ok: #1F6B4A;
  --ok-soft: rgba(31, 107, 74, 0.14);
  --wa: #128C7E;
  --wa-deep: #0e7367;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-xl: 2.25rem;
  --shadow: 0 18px 50px -28px rgba(11, 31, 51, 0.45);
  --shadow-lg: 0 32px 80px -32px rgba(11, 31, 51, 0.55), 0 10px 28px -14px rgba(11, 31, 51, 0.2);
  --shadow-glow: 0 0 0 1px rgba(194, 122, 18, 0.18), 0 20px 60px -20px rgba(194, 122, 18, 0.35);
  --max: 72rem;
  --text: 1.125rem;
  --lead: 1.4rem;
  --display: clamp(2.65rem, 5.8vw, 4.1rem);
  --h2: clamp(2rem, 3.8vw, 2.75rem);
  --section: clamp(4rem, 9vw, 7rem);
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--amber);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --t-fast: 160ms;
  --t-med: 280ms;
  --t-slow: 700ms;
  --nav-h: 4.4rem;
  --sticky-h: 4.6rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-child { opacity: 1 !important; transform: none !important; filter: none !important; }
  .loader { display: none !important; }
  .scene-arc, .scene-glow, .bulb-filament, .window-light, .spark,
  .progress-bar, .ambient-canvas, .marquee-track { animation: none !important; }
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: var(--text);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Film grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 0.4rem; }
::selection { background: var(--amber-soft); color: var(--ink); }

/* ——— Loader intro ——— */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--ink-deep);
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  text-align: center;
  color: var(--amber-glow);
}
.loader-mark {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 1.15rem;
  background: linear-gradient(145deg, var(--ink-mid), var(--ink));
  border: 1px solid rgba(246, 215, 160, 0.25);
  display: grid;
  place-items: center;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 0 40px -8px rgba(194, 122, 18, 0.5);
  animation: loaderPulse 1.2s var(--ease) infinite;
}
.loader-bar {
  width: 8rem;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-bar > i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--amber), var(--amber-glow));
  animation: loaderFill 0.9s var(--ease) forwards;
}
.loader-txt {
  margin-top: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 215, 160, 0.65);
  font-weight: 600;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px -8px rgba(194, 122, 18, 0.45); }
  50% { transform: scale(1.04); box-shadow: 0 0 55px -4px rgba(194, 122, 18, 0.7); }
}
@keyframes loaderFill {
  to { width: 100%; }
}

/* ——— Progress scroll ——— */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 80;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber-hot), var(--amber-glow));
  box-shadow: 0 0 12px rgba(194, 122, 18, 0.55);
  transform-origin: left;
  pointer-events: none;
}

/* ——— Ambient canvas ——— */
.ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* ——— Utilities ——— */
.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  filter: blur(4px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease),
    filter 0.85s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}
.reveal-d1 { transition-delay: 70ms; }
.reveal-d2 { transition-delay: 140ms; }
.reveal-d3 { transition-delay: 210ms; }
.reveal-d4 { transition-delay: 280ms; }

/* Stagger children */
.stagger.is-in > .reveal-child {
  opacity: 1;
  transform: none;
}
.reveal-child {
  opacity: 0;
  transform: translateY(0.85rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.stagger.is-in > .reveal-child:nth-child(1) { transition-delay: 40ms; }
.stagger.is-in > .reveal-child:nth-child(2) { transition-delay: 100ms; }
.stagger.is-in > .reveal-child:nth-child(3) { transition-delay: 160ms; }
.stagger.is-in > .reveal-child:nth-child(4) { transition-delay: 220ms; }
.stagger.is-in > .reveal-child:nth-child(5) { transition-delay: 280ms; }
.stagger.is-in > .reveal-child:nth-child(6) { transition-delay: 340ms; }

/* Word split */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
}
.word.is-in > span { transform: none; }

/* ——— Top line ——— */
.topline {
  background: var(--ink-deep);
  color: #E8EEF4;
  font-size: 0.92rem;
  padding: 0.65rem 0;
  position: relative;
  z-index: 50;
  overflow: hidden;
}
.topline::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -20%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(246, 215, 160, 0.08), transparent);
  animation: toplineSweep 6s ease-in-out infinite;
}
@keyframes toplineSweep {
  0% { transform: translateX(0); }
  100% { transform: translateX(350%); }
}
.topline .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.topline-zone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.topline-zone svg { opacity: 0.85; flex-shrink: 0; }
.topline a {
  color: var(--amber-glow);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}
.topline a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--amber-glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.topline a:hover::after { transform: scaleX(1); }

/* ——— Nav ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 249, 246, 0.82);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid transparent;
  transition:
    background var(--t-med) ease,
    border-color var(--t-med) ease,
    box-shadow var(--t-med) ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(11, 31, 51, 0.35);
  background: rgba(251, 249, 246, 0.94);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  position: relative;
}
.brand-mark {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--amber-glow);
  display: grid;
  place-items: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.35rem;
  box-shadow: 0 4px 16px -6px rgba(11, 31, 51, 0.5);
  transition: transform var(--t-fast) var(--ease-spring), box-shadow var(--t-med) ease;
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(120deg, transparent 40%, rgba(246, 215, 160, 0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}
.brand:hover .brand-mark {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 0 0 3px rgba(194, 122, 18, 0.2), 0 8px 20px -6px rgba(11, 31, 51, 0.5);
}
.brand:hover .brand-mark::after { transform: translateX(100%); }
.brand strong { display: block; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand span { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.05rem; }
.nav-actions { display: flex; gap: 0.55rem; align-items: center; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  min-width: 3.25rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--t-fast) var(--ease),
    background var(--t-med) ease,
    border-color var(--t-med) ease,
    box-shadow var(--t-med) ease,
    color var(--t-med) ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); transition-duration: 80ms; }
.btn svg { flex-shrink: 0; position: relative; z-index: 1; }
.btn > span, .btn { position: relative; z-index: 1; }
.btn-lg { min-height: 3.9rem; padding: 0.95rem 1.75rem; font-size: 1.12rem; }
.btn-ink {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 28px -12px rgba(11, 31, 51, 0.6);
}
.btn-ink:hover { background: var(--ink-soft); box-shadow: 0 14px 32px -12px rgba(11, 31, 51, 0.65); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 28px -12px rgba(18, 140, 126, 0.55);
}
.btn-wa:hover { background: var(--wa-deep); }
.btn-amber {
  background: linear-gradient(145deg, var(--amber-hot) 0%, var(--amber) 55%, var(--amber-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-amber:hover { filter: brightness(1.05); }

/* ——— Hero ——— */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 4.5vw, 3.5rem);
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-glow));
  border-radius: 2px;
}

.hero h1 {
  font-size: var(--display);
  margin: 0 0 1.25rem;
  max-width: 12.5ch;
}
.hero-lead {
  font-size: var(--lead);
  color: var(--muted);
  max-width: 36ch;
  margin: 0 0 1.4rem;
  line-height: 1.55;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.9rem;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: 0 2px 10px -4px rgba(11, 31, 51, 0.12);
  backdrop-filter: blur(6px);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-med) ease, box-shadow var(--t-med) ease;
}
.badge:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 8px 20px -10px rgba(11, 31, 51, 0.25);
}
.badge svg { flex-shrink: 0; color: var(--ok); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}
.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 1rem;
  max-width: 42ch;
}
.hero-note svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--ok); }

/* ——— Scene (hero visual) ——— */
.scene {
  position: relative;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(194, 122, 18, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(26, 79, 122, 0.1) 0%, transparent 50%),
    linear-gradient(165deg, #0B1F33 0%, #132A40 45%, #1A3348 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-height: clamp(22rem, 48vw, 30rem);
  isolation: isolate;
}
.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 215, 160, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 215, 160, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.scene-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.scene-arc {
  fill: none;
  stroke: rgba(246, 215, 160, 0.35);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 8 12;
  animation: arcDrift 12s linear infinite;
}
.scene-arc.a2 { stroke: rgba(194, 122, 18, 0.25); animation-duration: 18s; animation-direction: reverse; }
.scene-arc.a3 { stroke: rgba(246, 215, 160, 0.18); animation-duration: 22s; }
@keyframes arcDrift {
  to { stroke-dashoffset: -200; }
}
.window-light {
  animation: windowPulse 3.5s ease-in-out infinite;
  transform-origin: center;
}
@keyframes windowPulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}
.bulb-filament {
  animation: filamentGlow 2.2s ease-in-out infinite;
}
@keyframes filamentGlow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.spark {
  animation: sparkFloat 4s ease-in-out infinite;
}
.spark.s2 { animation-delay: 1.2s; animation-duration: 5s; }
.spark.s3 { animation-delay: 2.1s; animation-duration: 3.6s; }
@keyframes sparkFloat {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-8px); opacity: 1; }
}

/* Doorbell card overlay on scene */
.scene-card {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  width: min(92%, 22rem);
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: calc(var(--radius) + 0.2rem);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.35rem 1.35rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.scene-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--ink), var(--amber-hot));
}
.scene-card .label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.scene-card .phone {
  font-family: "Fraunces", serif;
  font-size: clamp(1.7rem, 4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: none;
  color: var(--ink);
  display: inline-block;
  transition: color var(--t-med) ease, transform var(--t-fast) var(--ease);
}
.scene-card .phone:hover {
  color: var(--amber);
  transform: scale(1.02);
}
.scene-card .sub {
  color: var(--muted);
  margin: 0.4rem 0 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Doorbell button */
.doorbell {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  transition:
    border-color var(--t-med) ease,
    background var(--t-med) ease,
    box-shadow var(--t-med) ease,
    transform var(--t-fast) var(--ease);
}
.doorbell:hover {
  border-color: var(--line-strong);
  background: #fff;
  box-shadow: 0 8px 24px -14px rgba(11, 31, 51, 0.3);
}
.doorbell:active { transform: scale(0.98); }
.doorbell.is-ringing {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(194, 122, 18, 0.15), var(--shadow-glow);
}
.doorbell-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ink-soft), var(--ink));
  color: var(--amber-glow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 6px 16px -6px rgba(11, 31, 51, 0.5);
  transition: transform var(--t-fast) var(--ease-spring);
  position: relative;
}
.doorbell.is-ringing .doorbell-btn {
  animation: ringShake 0.5s var(--ease-spring);
}
.doorbell-btn::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(194, 122, 18, 0.4);
  opacity: 0;
  transform: scale(0.8);
}
.doorbell.is-ringing .doorbell-btn::after {
  animation: ringWave 0.7s var(--ease) 2;
}
@keyframes ringShake {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-12deg) scale(1.08); }
  40% { transform: rotate(10deg) scale(1.08); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(6deg); }
}
@keyframes ringWave {
  0% { opacity: 0.8; transform: scale(0.85); }
  100% { opacity: 0; transform: scale(1.45); }
}
.doorbell strong { display: block; font-size: 0.98rem; }
.doorbell span { display: block; font-size: 0.88rem; color: var(--muted); margin-top: 0.1rem; }

/* Toast (avisos i timbre) */
.toast-host {
  position: fixed;
  bottom: calc(var(--sticky-h) + 1rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  width: min(92vw, 22rem);
}
.toast {
  background: var(--ink);
  color: #fff;
  padding: 0.9rem 1.15rem;
  border-radius: 1rem;
  font-size: 0.98rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(246, 215, 160, 0.2);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.toast.is-on {
  opacity: 1;
  transform: none;
}
.toast em {
  font-style: normal;
  color: var(--amber-glow);
  font-weight: 600;
}

/* Confetti canvas for egg */
.confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 95;
}

/* ——— Trust ——— */
.trust {
  border-block: 1px solid var(--line);
  background: #fff;
  padding: 1.5rem 0;
  position: relative;
  z-index: 1;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
@media (max-width: 720px) {
  .trust-grid { grid-template-columns: 1fr; }
}
.trust-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 1.02rem;
}
.trust-icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.85rem;
  background: var(--amber-soft);
  color: var(--amber);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--t-med) var(--ease-spring), background var(--t-med) ease;
}
.trust-item:hover .trust-icon {
  transform: scale(1.08) rotate(-4deg);
  background: #efd9b0;
}

/* ——— Marquee ——— */
.marquee {
  background: var(--ink);
  color: var(--amber-glow);
  overflow: hidden;
  padding: 0.85rem 0;
  border-block: 1px solid rgba(246, 215, 160, 0.12);
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-item i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  display: block;
  box-shadow: 0 0 8px rgba(194, 122, 18, 0.6);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ——— Family ——— */
.family { padding: 0; position: relative; z-index: 1; }
.family-box {
  margin-top: 2.5rem;
  background:
    linear-gradient(135deg, rgba(243, 230, 208, 0.55) 0%, #fff 50%, rgba(220, 232, 244, 0.4) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.4rem, 3vw, 2.1rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.15rem;
  align-items: center;
  box-shadow: 0 14px 40px -28px rgba(11, 31, 51, 0.35);
  position: relative;
  overflow: hidden;
}
.family-box::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 40%;
  height: 140%;
  background: radial-gradient(circle, rgba(194, 122, 18, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 720px) {
  .family-box { grid-template-columns: 1fr; }
  .family-box .btn { width: 100%; }
}
.family-icon {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 0.95rem;
  background: linear-gradient(145deg, var(--ink), var(--ink-soft));
  color: var(--amber-glow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -8px rgba(11, 31, 51, 0.45);
}
.family-box strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}
.family-box p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 48ch;
}

/* ——— Sections ——— */
section { padding: var(--section) 0; position: relative; z-index: 1; }
.section-head { max-width: 40rem; margin-bottom: clamp(1.9rem, 4vw, 3rem); }
.section-head h2 { font-size: var(--h2); margin: 0 0 0.85rem; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.12rem; }

.sec-num {
  font-family: "Fraunces", serif;
  font-size: 0.9rem;
  color: var(--amber);
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 800px) {
  .services-grid { grid-template-columns: 1fr; }
}
.svc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--t-med) ease,
    box-shadow var(--t-med) ease,
    transform var(--t-med) var(--ease);
}
.svc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--svc-accent, var(--amber)), transparent);
  opacity: 0;
  transition: opacity var(--t-med) ease;
}
.svc:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.svc:hover::before { opacity: 1; }
.svc-mobil { --svc-accent: var(--amber); }
.svc-it { --svc-accent: #3A7AB5; }
.svc-dades { --svc-accent: var(--ok); }
.svc-acomp { --svc-accent: var(--wa); }
.svc-top {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.2rem;
}
.svc-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
}
.svc-icon.mobil {
  background: linear-gradient(145deg, #F8EBD4, var(--amber-soft));
  color: var(--amber-deep);
  box-shadow: 0 8px 20px -10px rgba(194, 122, 18, 0.5);
}
.svc-icon.dades { background: var(--ok-soft); color: var(--ok); }
.svc-icon.acomp { background: rgba(18, 140, 126, 0.12); color: var(--wa); }
.svc-icon.it {
  background: linear-gradient(145deg, #E5F0FA, #DCE8F4);
  color: #1A4F7A;
  box-shadow: 0 8px 20px -10px rgba(26, 79, 122, 0.4);
}
.svc-icon svg {
  transition: transform var(--t-med) var(--ease-spring);
}
.svc:hover .svc-icon svg { transform: scale(1.12) rotate(-6deg); }
.svc h3 {
  font-family: "Fraunces", serif;
  font-size: 1.55rem;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.svc p.intro {
  color: var(--muted);
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
}
.svc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.72rem;
}
.svc li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 1.05rem;
}
.svc li .li-icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--ok);
}
.svc-cta {
  margin-top: 1.4rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.svc-cta a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  transition: color var(--t-med) ease, gap var(--t-med) var(--ease);
}
.svc-cta a:hover { color: var(--amber); gap: 0.7rem; }
.svc-cta a svg { transition: transform var(--t-med) var(--ease); }
.svc-cta a:hover svg { transform: translateX(3px); }

/* Why */
.why {
  background: var(--ink-deep);
  color: #E8EEF4;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  left: -15%;
  bottom: -25%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle, rgba(194, 122, 18, 0.14) 0%, transparent 65%);
  pointer-events: none;
}
.why::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 40%;
  height: 50%;
  background: radial-gradient(circle, rgba(58, 122, 181, 0.12) 0%, transparent 65%);
  pointer-events: none;
}
.why .section-head p { color: #A8B7C4; }
.why h2 { color: #fff; }
.why .sec-num,
.why .eyebrow { color: #F6D7A0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 720px) {
  .why-grid { grid-template-columns: 1fr; }
}
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem 1.55rem;
  position: relative;
  overflow: hidden;
  transition: background var(--t-med) ease, border-color var(--t-med) ease, transform var(--t-med) var(--ease);
}
.why-card::before {
  content: attr(data-n);
  position: absolute;
  right: 1rem;
  top: 0.75rem;
  font-family: "Fraunces", serif;
  font-size: 2.5rem;
  color: rgba(246, 215, 160, 0.08);
  line-height: 1;
  pointer-events: none;
}
.why-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(246, 215, 160, 0.28);
  transform: translateY(-2px);
}
.why-card .why-ico {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(246, 215, 160, 0.1);
  color: var(--amber-glow);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}
.why-card strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.32rem;
  margin-bottom: 0.45rem;
  color: var(--amber-glow);
  letter-spacing: -0.02em;
}
.why-card p { margin: 0; color: #C5D0DA; font-size: 1.05rem; }

/* Testimonials */
.quotes-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  background: var(--amber-soft);
  color: var(--amber-deep);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.3rem;
}
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .quotes { grid-template-columns: 1fr; }
}
/* Si l'última fila queda amb una sola ressenya, la centrem (només desktop 3 cols) */
@media (min-width: 901px) {
  .quotes > .quote:last-child:nth-child(3n + 1) { grid-column: 2; }
}
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  position: relative;
  transition: box-shadow var(--t-med) ease, transform var(--t-med) var(--ease), border-color var(--t-med) ease;
}
.quote::before {
  content: "«";
  font-family: "Fraunces", serif;
  font-size: 3.5rem;
  color: var(--amber-soft);
  position: absolute;
  top: 0.5rem;
  right: 1.1rem;
  line-height: 1;
  pointer-events: none;
}
.quote:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.quote p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
  flex: 1;
  font-style: italic;
  color: var(--ink-soft);
}
.quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: normal;
}
.quote footer strong { color: var(--ink); font-size: 1rem; font-style: normal; }
.quote footer a {
  color: var(--amber-deep);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--t-med) ease;
}
.quote footer a:hover { text-decoration: underline; }
.stars {
  color: var(--amber);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  display: flex;
  gap: 0.15rem;
}
.stars span {
  display: inline-block;
  animation: starPop 0.4s var(--ease-spring) both;
  opacity: 0;
}
.quote.is-in .stars span:nth-child(1) { animation-delay: 0.05s; }
.quote.is-in .stars span:nth-child(2) { animation-delay: 0.1s; }
.quote.is-in .stars span:nth-child(3) { animation-delay: 0.15s; }
.quote.is-in .stars span:nth-child(4) { animation-delay: 0.2s; }
.quote.is-in .stars span:nth-child(5) { animation-delay: 0.25s; }
@keyframes starPop {
  from { opacity: 0; transform: scale(0.4) translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* Steps */
.steps-wrap { position: relative; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  counter-reset: step;
  position: relative;
}
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
}
.steps-line {
  display: none;
}
@media (min-width: 801px) {
  .steps-line {
    display: block;
    position: absolute;
    top: 2.6rem;
    left: 12%;
    right: 12%;
    height: 2px;
    background: var(--line);
    z-index: 0;
  }
  .steps-line > i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--amber), var(--amber-hot));
    transition: width 1.2s var(--ease);
  }
  .steps-wrap.is-in .steps-line > i { width: 100%; }
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem 1.5rem;
  position: relative;
  z-index: 1;
  transition: border-color var(--t-med) ease, box-shadow var(--t-med) ease, transform var(--t-med) var(--ease);
}
.step:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.step-n {
  font-family: "Fraunces", serif;
  font-size: 2.2rem;
  color: var(--amber);
  display: block;
  margin-bottom: 0.65rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.28rem;
  letter-spacing: -0.015em;
}
.step p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.step-ico {
  position: absolute;
  top: 1.4rem;
  right: 1.3rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background: var(--amber-soft);
  color: var(--amber);
  display: grid;
  place-items: center;
  opacity: 0.9;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.65rem;
  max-width: 48rem;
}
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.15rem 1.2rem;
  transition: border-color var(--t-med) ease, box-shadow var(--t-med) ease;
}
details[open] {
  border-color: var(--line-strong);
  box-shadow: 0 10px 28px -18px rgba(11, 31, 51, 0.28);
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 1.05rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 3rem;
}
summary::-webkit-details-marker { display: none; }
summary .faq-plus {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform var(--t-fast) var(--ease), background var(--t-med) ease;
}
details[open] summary .faq-plus {
  transform: rotate(45deg);
  background: var(--amber);
  color: #fff;
}
details .answer {
  padding: 0 0 1.15rem;
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 52ch;
}

/* Final CTA */
.final { padding-bottom: calc(var(--section) + 4.5rem); }
.final-box {
  background:
    radial-gradient(ellipse 50% 80% at 90% 20%, rgba(194, 122, 18, 0.18) 0%, transparent 55%),
    linear-gradient(148deg, var(--ink-deep) 0%, var(--ink) 50%, #16324A 100%);
  color: #fff;
  border-radius: calc(var(--radius-xl) + 0.1rem);
  padding: clamp(2.2rem, 5.5vw, 3.75rem);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.final-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 215, 160, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 215, 160, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, #000 10%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 800px) {
  .final-box { grid-template-columns: 1fr; }
}
.final-box > * { position: relative; z-index: 1; }
.final-box h2 {
  font-size: clamp(2.05rem, 3.8vw, 2.8rem);
  margin: 0 0 0.85rem;
  max-width: 14ch;
}
.final-box > div > p {
  margin: 0 0 1.5rem;
  color: #C5D0DA;
  font-size: 1.12rem;
  max-width: 36ch;
}
.final-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.final-side {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.55rem;
  backdrop-filter: blur(10px);
}
.final-side .label {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A8B7C4;
  margin-bottom: 0.55rem;
  font-weight: 700;
}
.final-side a.big {
  font-family: "Fraunces", serif;
  font-size: 1.65rem;
  color: var(--amber-glow);
  text-decoration: none;
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  transition: color var(--t-med) ease, transform var(--t-fast) var(--ease);
}
.final-side a.big:hover {
  color: #fff;
  transform: translateX(2px);
}
.final-side .place { color: #A8B7C4; font-size: 0.98rem; line-height: 1.45; }
.final-side .mail {
  margin: 1.1rem 0 0;
  color: #A8B7C4;
  font-size: 0.95rem;
}
.final-side .mail a { color: var(--amber-glow); text-decoration: none; font-weight: 600; }
.final-side .mail a:hover { text-decoration: underline; }

/* Footer */
footer.site {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 6.75rem;
  color: var(--muted);
  font-size: 0.98rem;
  background: #fff;
  position: relative;
  z-index: 1;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1.75rem;
}
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
}
footer.site strong { color: var(--ink); }
footer.site a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t-med) ease;
}
footer.site a:hover { color: var(--amber); }
.foot-brand {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.foot-brand .brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.15rem;
}
.foot-col h3 {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-soft);
  font-weight: 700;
}
.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.foot-bottom {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.9rem;
}
/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Sticky */
.sticky-cta {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(251, 249, 246, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  gap: 0.55rem;
  box-shadow: 0 -10px 32px -16px rgba(11, 31, 51, 0.3);
}
.sticky-cta .btn { flex: 1; min-height: 3.2rem; font-size: 0.98rem; padding-inline: 0.75rem; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  .nav-actions .btn-ghost { display: none; }
}

/* Workshop dark mode */
body.workshop {
  --paper: #0E1720;
  --paper-warm: #141F2A;
  --card: #162230;
  --line: #2A3A4A;
  --line-strong: #3D5166;
  --ink: #E8EEF4;
  --ink-soft: #C5D0DA;
  --muted: #8A9AAB;
  --muted-soft: #7E8E9E;
  --amber: #E8A030;
}
body.workshop .nav {
  background: rgba(14, 23, 32, 0.9);
}
body.workshop .trust,
body.workshop footer.site,
body.workshop .quote,
body.workshop .svc,
body.workshop .step,
body.workshop details,
body.workshop .scene-card {
  background: var(--card);
}
body.workshop .family-box {
  background: linear-gradient(135deg, #1A2836, #162230);
}
body.workshop .btn-ghost {
  color: var(--ink);
  border-color: var(--line);
}
body.workshop .btn-ghost:hover { background: var(--ink-soft); color: var(--paper); }

/* Magnetic only desktop fine pointer */
@media (hover: hover) and (pointer: fine) {
  .btn-magnetic { will-change: transform; }
}

/* ——————————————————————————————————————————————
   Pàgines legals (avís legal, privacitat)
   —————————————————————————————————————————————— */
.legal {
  padding: calc(var(--section) * 0.7) 0 var(--section);
}
.legal .section-head { margin-bottom: clamp(1.6rem, 3.5vw, 2.4rem); }
.legal .section-head h1 { font-size: var(--display); margin: 0 0 0.85rem; }

.legal-body {
  max-width: 44rem;
  font-size: var(--text);
  line-height: 1.75;
  color: var(--ink-soft);
}
.legal-body h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.32rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 2.6rem 0 0.85rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body p { margin: 0 0 1.1rem; }
.legal-body ul {
  margin: 0 0 1.4rem;
  padding-left: 1.3rem;
  list-style: none;
}
.legal-body ul li {
  position: relative;
  margin-bottom: 0.7rem;
}
.legal-body ul li::before {
  content: "";
  position: absolute;
  left: -1.3rem;
  top: 0.72em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--amber);
}
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--amber-deep); text-underline-offset: 0.2em; }

.legal-note {
  background: var(--amber-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin-bottom: 2.4rem;
  color: var(--ink);
}

.legal-updated {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}

.foot-legal a { color: inherit; }

/* Portes: familiars i comerços (sota les ressenyes) */
.doors { padding: 0 0 var(--section); }
.doors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 900px) { .doors-grid { grid-template-columns: 1fr; } }
