/* =========================================================
   AnotaTuRegalo.cl — Landing Navidad
   ========================================================= */

:root {
  --red: #d8261c;
  --red-dark: #b51c14;
  --red-soft: #fde8e4;
  --green: #1d5b3c;
  --green-dark: #154630;
  --green-soft: #e3f3ea;
  --green-check: #2fa864;
  --cream: #fdf6ee;
  --cream-2: #fbefe2;
  --kraft: #e9d3b5;
  --text: #17171a;
  --muted: #5b5b63;
  --line: #ece4da;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(30, 20, 10, .06);
  --shadow: 0 10px 30px rgba(60, 30, 10, .10);
  --shadow-lg: 0 25px 60px rgba(60, 30, 10, .18);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", cursive;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
svg { flex-shrink: 0; }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

.text-red { color: var(--red); }
.ico-green { color: var(--green); }

/* ---------- Botones ---------- */
.btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 12px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(216, 38, 28, .3);
}
.btn--red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn--pill { border-radius: 999px; }
.btn--block { width: 100%; padding: 15px; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
}
.pill--red {
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid #f8cfc7;
}
.pill--soft {
  background: var(--red-soft);
  color: var(--red);
  font-size: 12px;
  padding: 5px 12px;
}
.pill--green-outline {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid #c6e6d3;
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 700;
  padding: 6px 16px;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 76px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
}
.logo__icon svg { width: 22px; height: 22px; }
.logo__text { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo__text span { color: var(--red); }

.badge-xmas {
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 40px;
}
.nav__list {
  display: flex;
  gap: 30px;
  margin: 0 auto;
  padding-right: 30px;
}
.nav__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  white-space: nowrap;
  transition: color .2s;
}
.nav__list a:hover { color: var(--red); }

.nav__dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .2s;
}
.nav__dropdown:hover .dropdown,
.nav__dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
}
.dropdown a:hover { background: var(--cream); }

.nav__actions { display: flex; align-items: center; gap: 24px; }
.nav__legal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.header__right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 30px 0 40px;
}
/* Fondo: reemplaza la imagen por la tuya (img/hero-navidad.jpg)
   Los gradientes quedan como fallback cálido con bokeh */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--cream);
  background-image:
    linear-gradient(90deg, rgba(253, 246, 238, .96) 0%, rgba(253, 246, 238, .85) 35%, rgba(253, 246, 238, .15) 60%, rgba(253, 246, 238, 0) 100%),
    url("Regalos%20navide%C3%B1os%20junto%20a%20luces%20c%C3%A1lidas.png");
  background-image:
    linear-gradient(90deg, rgba(253, 246, 238, .96) 0%, rgba(253, 246, 238, .85) 35%, rgba(253, 246, 238, .15) 60%, rgba(253, 246, 238, 0) 100%),
    image-set(
      url("hero-navidad.webp") type("image/webp"),
      url("Regalos%20navide%C3%B1os%20junto%20a%20luces%20c%C3%A1lidas.png") type("image/png")
    );
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: 460px;
}

.hero__content { padding: 10px 0; min-width: 0; }

.hero__title {
  position: relative;
  margin: 22px 0 20px;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.hero__title .text-red { display: block; }
.sparkle {
  position: relative;
  top: -6px;
  font-size: .6em;
  margin-left: 6px;
}

.hero__lead {
  max-width: 470px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.5;
}

.hero__ctas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 24px;
  max-width: 632px;
}
.cta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--white);
  transition: transform .2s, box-shadow .2s;
}
.cta:hover { transform: translateY(-3px); }
.cta--red {
  background: linear-gradient(135deg, #e3342a, var(--red-dark));
  box-shadow: 0 12px 28px rgba(216, 38, 28, .35);
}
.cta--green {
  background: linear-gradient(135deg, #22694a, var(--green-dark));
  box-shadow: 0 12px 28px rgba(29, 91, 60, .35);
}
.cta__icon { font-size: 28px; line-height: 1; }
.cta__text { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.3; white-space: nowrap; }
.cta__text strong { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.cta__text small { font-size: 11px; opacity: .92; margin-top: 2px; }
.cta__arrow { width: 18px; height: 18px; }

.hero__features {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
}
.hero__features li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #3b3b42;
  white-space: nowrap;
}
.hero__features svg { width: 16px; height: 16px; color: var(--red); }

/* ---------- Visual derecho (imagen) ---------- */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__visual picture { display: block; width: 100%; max-width: 600px; margin: -30px 0 -50px; }
.hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(60, 30, 10, .18));
}

/* =========================================================
   CÓMO FUNCIONA
   ========================================================= */
.how {
  position: relative;
  background: var(--cream-2);
  padding: 50px 0 40px;
}
.star { position: absolute; color: #f0b43c; font-size: 22px; }
.star--1 { left: 8%; top: 120px; }
.star--2 { left: 10%; top: 150px; font-size: 12px; }
.star--3 { right: 11%; top: 110px; }
.star--4 { right: 10%; top: 135px; font-size: 12px; }

.section-head { text-align: center; margin-bottom: 30px; }
.section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 18px 0 8px;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -.03em;
}
.section-sub { color: var(--muted); font-size: 15px; }

.rays { position: relative; width: 26px; height: 40px; }
.rays i {
  position: absolute;
  width: 20px;
  height: 4px;
  border-radius: 4px;
  background: #f29a2e;
}
.rays i:nth-child(1) { top: 4px; transform: rotate(30deg); }
.rays i:nth-child(2) { top: 18px; }
.rays i:nth-child(3) { top: 32px; transform: rotate(-30deg); }
.rays--right { transform: scaleX(-1); }

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.opt-card {
  display: flex;
  gap: 20px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.opt-card--red { background: linear-gradient(110deg, #fdeceb 0%, #fff 40%); }
.opt-card--green { background: linear-gradient(250deg, #e9f6ef 0%, #fff 45%); }

.opt-card__body { flex: 1; }
.opt-card h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.opt-card__sub { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

.steps { counter-reset: step; display: grid; gap: 14px; }
.steps li {
  position: relative;
  padding-left: 48px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 15px;
}
.steps--red li::before { background: var(--red-soft); color: var(--red); }
.steps--green li::before { background: var(--green-soft); color: var(--green); }
.steps strong { display: block; font-size: 14px; font-weight: 700; }
.steps span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }

.opt-card__art {
  width: 190px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.opt-card__art picture { display: block; width: 100%; }
.opt-card__art img { display: block; width: 100%; height: auto; }

/* Ocasiones */
.occasions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.occasions__label { font-weight: 600; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  padding: 10px 26px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 500;
  transition: .2s;
}
.chip:hover { border-color: var(--red); }
.chip.is-active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 6px 16px rgba(216, 38, 28, .3);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand .logo__text { font-size: 16px; display: block; }
.footer__brand small { font-size: 11.5px; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }
.footer__links a { font-size: 13px; color: #3b3b42; padding: 0 12px; }
.footer__links a:not(:last-child)::after {
  content: "·";
  margin-left: 24px;
  color: #aaa;
}
.footer__links a:hover { color: var(--red); }
.footer__admin { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1280px) {
  .badge-xmas { display: none; }
}
@media (max-width: 1320px) {
  .hero__ctas { grid-template-columns: 1fr; max-width: 340px; }
  .hero__features { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 22px; }
}
@media (max-width: 1200px) {
  .nav__list { gap: 22px; }
  .nav { margin-left: 20px; }
}

@media (max-width: 1024px) {
  .menu-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin: 0;
    padding: 20px 32px 28px;
    background: var(--white);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 4px; margin: 0; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 12px;
  }
  .nav__actions { flex-direction: column; align-items: stretch; gap: 14px; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__lead { margin: 0 auto; }
  .hero__ctas { margin-left: auto; margin-right: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 632px; }
  .hero__features { justify-content: center; }
  @media (min-width: 760px) { .hero__features { display: flex; } }
  .hero__visual { max-width: 480px; width: 100%; margin: 0 auto; }
  .hero__visual picture { margin: 0; }
  .hero__bg {
    background-image:
      linear-gradient(180deg, rgba(253, 246, 238, .97) 0%, rgba(253, 246, 238, .85) 50%, rgba(253, 246, 238, .1) 100%),
      image-set(
        url("hero-navidad.webp") type("image/webp"),
        url("Regalos%20navide%C3%B1os%20junto%20a%20luces%20c%C3%A1lidas.png") type("image/png")
      );
    background-position: 78% bottom;
  }

  .options-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; text-align: left; }
  .hero__features li { white-space: normal; }
  .container { padding: 0 16px; }
  .badge-xmas { display: none; }
  .logo__text { font-size: 18px; }

  .hero__ctas { grid-template-columns: 1fr; }
  .hero__features { gap: 10px 16px; }


  .section-title { gap: 10px; }
  .rays { display: none; }

  .opt-card { flex-direction: column; padding: 22px 18px; }
  .opt-card--green { flex-direction: column-reverse; }
  .opt-card__art { width: 100%; max-width: 280px; margin: 0 auto; }

  .occasions { flex-direction: column; }
  .chip { padding: 9px 18px; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
  .footer__links a:not(:last-child)::after { display: none; }
}


/* =========================================================
   AnotaTuRegalo.cl — Dashboard Modern Styles
   ========================================================= */
/* =========================================================
   AnotaTuRegalo.cl — Dashboard
   ========================================================= */
:root {
  --green-900: #0b3d2e;
  --green-800: #0f4d38;
  --green-700: #14613f;
  --green-100: #e6f4ec;
  --red-600:   #d32f2f;
  --red-700:   #b71c1c;
  --red-50:    #fdecec;
  --orange:    #f08c1a;
  --orange-50: #fff2e2;
  --yellow:    #f5c518;
  --ink:       #1b1f24;
  --ink-2:     #4a5260;
  --muted:     #8a919c;
  --line:      #e7e3dc;
  --bg:        #fbf6ef;
  --card:      #ffffff;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 2px 10px rgba(30, 20, 10, .05);
  --font:      'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:      'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }

.atr-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.atr-muted { color: var(--muted); font-size: 13px; }

/* ---------- Botones ---------- */
.atr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 10px;
  font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.atr-btn:hover { transform: translateY(-1px); }
.atr-btn--lg { height: 48px; padding: 0 26px; font-size: 15px; }
.atr-btn--sm { height: 34px; padding: 0 12px; font-size: 13px; }
.atr-btn--block { width: 100%; }
.atr-btn--red { background: var(--red-600); color: #fff; border-radius: 999px; box-shadow: 0 6px 16px rgba(211,47,47,.35); }
.atr-btn--red:hover { background: var(--red-700); }
.atr-btn--green { background: var(--green-800); color: #fff; }
.atr-btn--green:hover { background: var(--green-900); box-shadow: 0 6px 14px rgba(15,77,56,.3); }
.atr-btn--light { background: #f0eeea; color: var(--ink); }
.atr-btn--light:hover { background: #e7e4de; }
.atr-btn--outline { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.atr-btn--ghost { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.atr-grow { flex: 1; }

.atr-icon-btn {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; color: var(--ink-2);
}
.atr-icon-btn:hover { background: #f2efea; }
.atr-icon-btn--sm { width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; }

.atr-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.atr-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.atr-pill.is-pending { background: var(--orange-50); color: #c46d0a; }
.atr-pill.is-pending::before { background: var(--orange); }
.atr-pill.is-active { background: var(--green-100); color: var(--green-700); }
.atr-pill.is-active::before { background: #1f9d55; }

.atr-eyebrow {
  font-size: 10.5px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px;
}
.atr-eyebrow.is-green { color: var(--green-700); }

.atr-card {
  background: var(--card); border-radius: var(--radius);
  border: 1px solid #f0ebe3; box-shadow: var(--shadow);
}

.atr-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #d9dbe0; color: #fff; overflow: hidden;
  display: grid; place-items: end center;
}
.atr-avatar svg { width: 80%; height: 80%; }
.atr-avatar--lg { width: 48px; height: 48px; flex-shrink: 0; }

/* ---------- Header ---------- */
.atr-header {
  background: #fff; border-bottom: 1px solid #f0ebe3;
  position: sticky; top: 0; z-index: 50;
}
.atr-header__inner { height: 56px; display: flex; align-items: center; gap: 20px; }

.atr-logo { display: inline-flex; align-items: center; gap: 10px; }
.atr-logo__icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--green-800); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.atr-logo__icon svg { width: 20px; height: 20px; }
.atr-logo__text { font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--ink); }
.atr-logo__text span { color: var(--red-600); }

.atr-badge-xmas {
  background: var(--red-600); color: #fff; font-size: 10.5px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; border: 2px solid #f6b9b9; white-space: nowrap;
}

.atr-nav { display: flex; gap: 30px; margin: 0 auto; }
.atr-nav a { font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; }
.atr-nav a:hover { color: var(--green-800); }

.atr-header__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.atr-legal { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.atr-legal svg { color: var(--green-700); }
.atr-user { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.atr-burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.atr-burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Main ---------- */
.atr-main { padding-top: 14px; padding-bottom: 24px; display: grid; gap: 16px; }

/* ---------- Hero ---------- */
.atr-hero {
  position: relative; overflow: hidden; border-radius: 18px;
  min-height: 205px; display: flex;
  background: linear-gradient(100deg, #0a3a2b 0%, #0c4433 45%, #0e4a37 55%);
  color: #fff;
}
.atr-hero__content { position: relative; z-index: 2; padding: 26px 34px; max-width: 470px; }
.atr-breadcrumb { font-size: 11px; color: rgba(255,255,255,.8); margin-bottom: 8px; }
.atr-breadcrumb span { color: var(--yellow); }
.atr-breadcrumb code { font-family: var(--mono); font-size: 10.5px; }
.atr-hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.wave { display: inline-block; animation: wave 2.4s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes wave { 0%,60%,100%{transform:rotate(0)} 10%,30%{transform:rotate(14deg)} 20%{transform:rotate(-8deg)} 40%{transform:rotate(-4deg)} 50%{transform:rotate(10deg)} }
.atr-hero__lead { font-size: 14.5px; color: rgba(255,255,255,.9); margin-bottom: 16px; }
.atr-hero__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.atr-hero__count { font-size: 13px; color: rgba(255,255,255,.85); }
.atr-hero__img {
  position: absolute; inset: 0 0 0 auto; width: 56%;
  background-size: cover; background-position: center right;
  background-repeat: no-repeat;
  background-image: url('hero-navidad.webp');
}
.atr-hero__img::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #0c4433 0%, rgba(12,68,51,.6) 18%, transparent 45%);
}

/* ---------- Stats ---------- */
.atr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.atr-stat {
  background: #fff; border-radius: var(--radius); border: 1px solid #f0ebe3; box-shadow: var(--shadow);
  padding: 14px 22px 14px 14px; display: flex; align-items: center; gap: 22px;
}
.atr-stat__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.atr-stat__icon svg { width: 28px; height: 28px; }
.atr-stat__icon.is-red { background: var(--red-50); color: var(--red-600); }
.atr-stat__icon.is-orange { background: var(--orange-50); color: var(--orange); }
.atr-stat__icon.is-green { background: var(--green-100); color: var(--green-800); }
.atr-stat__body { display: flex; flex-direction: column; flex: 1; }
.atr-stat__label { font-size: 12px; font-weight: 600; }
.atr-stat__num { font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--green-900); }
.atr-stat__num.is-orange { color: var(--orange); }
.atr-stat__sub { font-size: 12px; color: var(--muted); }
.atr-stat__chart { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.atr-stat__chart svg { width: 22px; height: 22px; }
.atr-stat__chart.is-green { background: var(--green-100); color: #2fae66; }
.atr-stat__chart.is-orange { background: var(--orange-50); color: var(--orange); }

/* ---------- Grid principal ---------- */
.atr-grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 16px; align-items: start; }

/* ---------- Wizard ---------- */
.atr-wizard { padding: 18px 30px 18px; position: relative; overflow: hidden; }
.atr-steps { list-style: none; margin: 0 0 14px; padding: 0; display: flex; align-items: center; gap: 14px; }
.atr-steps li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.atr-steps li span {
  width: 26px; height: 26px; border-radius: 50%; background: #f0eeea;
  display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: var(--ink);
}
.atr-steps li.is-active { color: var(--green-800); font-weight: 700; font-size: 13px; }
.atr-steps li.is-active span { background: var(--green-800); color: #fff; }
.atr-steps__bar { flex: 1; height: 4px; background: #ece9e4; border-radius: 4px; overflow: hidden; }
.atr-steps__bar i { display: block; height: 100%; background: var(--green-800); border-radius: 4px; }

.atr-toggle {
  display: grid; grid-template-columns: 1fr 1fr; padding: 3px;
  background: #f4f2ee; border: 1px solid #ebe7e1; border-radius: 10px; margin-bottom: 18px;
}
.atr-toggle button {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 7px 10px; border-radius: 8px; text-align: left; color: var(--ink);
  transition: background .2s, color .2s;
}
.atr-toggle button strong { display: block; font-size: 13px; }
.atr-toggle button small { display: block; font-size: 11.5px; color: var(--muted); }
.atr-toggle__ico { font-size: 22px; }
.atr-toggle button.is-active { background: var(--red-600); color: #fff; box-shadow: 0 4px 10px rgba(211,47,47,.3); }
.atr-toggle button.is-active small { color: rgba(255,255,255,.85); }

.atr-wizard__body { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 0; }
.atr-wizard__fields { position: relative; z-index: 1; }
.atr-wizard__title { font-size: 19px; font-weight: 700; }
.atr-wizard__fields > .atr-muted { margin-bottom: 14px; }

.atr-field { display: block; margin-bottom: 14px; }
.atr-field > span { display: block; font-size: 12px; font-weight: 500; margin-bottom: 6px; }
.atr-field b { color: var(--red-600); font-weight: 600; }
.atr-input {
  display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px;
  border: 1px solid #dcd8d2; border-radius: 6px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.atr-input:focus-within { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(20,97,63,.12); }
.atr-input svg { width: 16px; height: 16px; color: var(--ink-2); flex-shrink: 0; }
.atr-input input { border: 0; outline: 0; flex: 1; font: inherit; font-size: 13px; background: transparent; color: var(--ink); min-width: 0; }
.atr-input input::placeholder { color: #a6abb3; }

.atr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.atr-chip {
  height: 28px; padding: 0 14px; border-radius: 999px; font-size: 12px;
  background: #fff; border: 1px solid #dedad4; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px; transition: all .15s;
}
.atr-chip:hover { border-color: var(--green-700); }
.atr-chip.is-active { background: var(--green-800); border-color: var(--green-800); color: #fff; }

.atr-wizard__art {
  position: relative; margin: 0 -30px 0 0; min-height: 320px;
  background-size: contain; background-position: center;
  background-repeat: no-repeat;
  background-image: url('opc2.webp');
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 15%);
          mask-image: linear-gradient(90deg, transparent 0, #000 15%);
}
.flake { position: absolute; color: #f1b9a8; font-size: 24px; }
.flake.f1 { top: 0; left: 70px; } .flake.f2 { top: 40px; right: 14px; font-size: 18px; }

.atr-wizard__footer { display: flex; justify-content: flex-end; margin-top: 8px; }
.atr-wizard__footer .atr-btn { border-radius: 10px; }

/* ---------- Sidebar ---------- */
.atr-side { display: grid; gap: 14px; }
.atr-share { padding: 16px 20px 14px; }
.atr-share__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.atr-share__head h3 { font-size: 15px; font-weight: 700; }

.atr-person {
  display: flex; align-items: center; gap: 18px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px;
}
.atr-person strong { display: block; font-size: 15px; }
.atr-person span { font-size: 12px; color: var(--muted); }

.atr-note {
  display: flex; gap: 12px; padding: 12px 14px; background: #faf9f7;
  border: 1px solid var(--line); border-radius: 10px; margin-bottom: 18px;
}
.atr-note svg { color: var(--green-800); flex-shrink: 0; margin-top: 2px; }
.atr-note strong { font-size: 13px; display: block; margin-bottom: 2px; }
.atr-note p { font-size: 12px; color: var(--ink-2); }

.atr-link {
  width: 100%; height: 34px; padding: 0 12px; border: 1px solid #dcd8d2; border-radius: 6px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-2); margin-bottom: 8px; background: #fff;
}
.atr-share__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.atr-share__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 12px; }
.atr-share__foot span:first-child { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green-800); }

.atr-help { padding: 16px 20px; position: relative; overflow: hidden; }
.atr-help__head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.atr-help__bulb { width: 40px; height: 40px; border-radius: 50%; background: #fff4d6; display: grid; place-items: center; font-size: 20px; }
.atr-help h3 { font-size: 15px; font-weight: 700; }
.atr-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 250px; position: relative; z-index: 1; }
.atr-tips li { display: flex; align-items: center; gap: 10px; font-size: 11.5px; white-space: nowrap; color: var(--ink-2); }
.atr-tips li span {
  width: 22px; height: 22px; border-radius: 50%; background: #f0eeea; flex-shrink: 0;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--ink);
}
.atr-help__img {
  position: absolute; right: 8px; bottom: 6px; width: 100px; height: 110px;
  background-size: contain; background-position: center;
  background-repeat: no-repeat;
  background-image: url('opc1.webp');
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%);
          mask-image: radial-gradient(circle, #000 55%, transparent 72%);
}
.atr-help__heart { position: absolute; top: 22px; right: 22px; color: var(--red-600); font-size: 20px; transform: rotate(15deg); }

/* ---------- Listas guardadas ---------- */
.atr-saved { padding: 14px 20px 16px; }
.atr-saved__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.atr-saved__head h3 { font-size: 15px; font-weight: 700; }
.atr-saved__head h3 span { color: var(--muted); font-weight: 500; }
.atr-saved__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.atr-list { border: 1px solid var(--line); border-radius: 12px; padding: 10px; transition: border-color .15s, box-shadow .15s; }
.atr-list:hover { box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.atr-list.is-active { border: 2px solid #3cc07a; padding: 9px; }
.atr-list__top { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.atr-list__top img { width: 66px; height: 52px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.atr-list__top div { flex: 1; min-width: 0; padding-top: 8px; }
.atr-list__top strong { display: block; font-size: 12.5px; }
.atr-list__top div span { font-size: 11px; color: var(--muted); white-space: nowrap; }
.atr-list__top .atr-pill { height: 20px; font-size: 10.5px; padding: 0 9px; }
.atr-list__actions { display: flex; gap: 8px; }
.atr-list__actions .atr-btn--ghost { padding: 0 12px; }

/* ---------- Footer ---------- */
.atr-footer { border-top: 1px solid #f0ebe3; background: #fff; padding: 16px 0; }
.atr-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.atr-logo--sm .atr-logo__text { font-size: 14px; display: block; }
.atr-logo--sm small { display: block; font-size: 10px; color: var(--muted); }
.atr-footer__nav { display: flex; gap: 10px; flex-wrap: wrap; font-size: 10.5px; color: var(--ink-2); }
.atr-footer__nav a:hover { color: var(--green-800); }
.atr-footer__nav i { font-style: normal; color: var(--muted); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .atr-grid { grid-template-columns: 1fr; }
  .atr-side { grid-template-columns: 1fr 1fr; }
  .atr-saved__grid { grid-template-columns: repeat(2, 1fr); }
  .atr-nav { gap: 18px; }
}

@media (max-width: 900px) {
  .atr-nav, .atr-legal, .atr-badge-xmas { display: none; }
  .atr-burger { display: flex; }
  .atr-header.is-open .atr-nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 56px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 8px 16px;
  }
  .atr-header.is-open .atr-nav a { padding: 12px 0; border-bottom: 1px solid #f3f0eb; }
  .atr-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .atr-stat {
    display: grid !important;
    grid-template-columns: 34px 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 6px !important;
    row-gap: 6px !important;
    align-items: center !important;
    padding: 10px 8px 8px !important;
    border-radius: 14px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }
  .atr-stat__icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    display: grid !important;
    place-items: center !important;
    flex-shrink: 0 !important;
  }
  .atr-stat__icon svg,
  .atr-stat__icon i {
    width: 18px !important;
    height: 18px !important;
  }
  .atr-stat__body {
    display: contents !important;
  }
  .atr-stat__label {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    color: #1e293b !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .atr-stat__num {
    grid-column: 1 / span 2 !important;
    grid-row: 2 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    color: #0f172a !important;
    text-align: center !important;
    justify-self: center !important;
    margin-left: -10px !important;
  }
  .atr-stat__num.is-orange {
    color: #0f172a !important;
  }
  .atr-stat__sub {
    display: none !important;
  }
  .atr-stat__chart {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
  }
  .atr-stat__chart svg,
  .atr-stat__chart i {
    width: 13px !important;
    height: 13px !important;
  }
  .atr-hero__img { width: 100%; opacity: .35; }
  .atr-hero__img::before { background: none; }
}

@media (max-width: 380px) {
  .atr-stats {
    gap: 5px !important;
  }
  .atr-stat {
    padding: 8px 5px 6px !important;
    grid-template-columns: 28px 1fr !important;
    column-gap: 5px !important;
    row-gap: 4px !important;
    border-radius: 12px !important;
  }
  .atr-stat__icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
  }
  .atr-stat__icon svg,
  .atr-stat__icon i {
    width: 15px !important;
    height: 15px !important;
  }
  .atr-stat__label {
    font-size: 9.5px !important;
    line-height: 1.1 !important;
  }
  .atr-stat__num {
    font-size: 19px !important;
    margin-left: -6px !important;
  }
  .atr-stat__chart {
    width: 20px !important;
    height: 20px !important;
  }
  .atr-stat__chart svg,
  .atr-stat__chart i {
    width: 11px !important;
    height: 11px !important;
  }
}

.atr-tab-pill {
  padding: 6.5px 11px !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  gap: 4px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
@media (min-width: 640px) {
  .atr-tab-pill {
    padding: 8px 16px !important;
    font-size: 12.5px !important;
    gap: 6px !important;
  }
}

@media (max-width: 768px) {
  body { padding-bottom: 74px !important; }
  .atr-mobile-bottom-nav { display: flex !important; }
  #atr-dashboard-create-view .atr-side { display: none !important; }
}

@media (max-width: 680px) {
  body { padding-bottom: 74px !important; }
  .atr-mobile-bottom-nav { display: flex !important; }
  #atr-dashboard-create-view .atr-side { display: none !important; }
  .atr-side { grid-template-columns: 1fr; }
  .atr-saved__grid { grid-template-columns: 1fr; }
  .atr-hero__content { padding: 22px 20px; }
  .atr-hero h1 { font-size: 30px; }
  .atr-wizard { padding: 16px; }
  .atr-wizard__body { grid-template-columns: 1fr; }
  .atr-wizard__art { display: none; }
  .atr-steps li:not(.is-active):not(.atr-steps__bar) { font-size: 0; gap: 0; }
  .atr-steps li span { font-size: 11.5px; }
  .atr-toggle button { flex-direction: column; text-align: center; gap: 2px; }
  .atr-wizard__footer .atr-btn { width: 100%; }
  .atr-user { font-size: 0; gap: 0; }
  .atr-user svg:last-child { display: none; }
  .atr-logo__text { font-size: 17px; }
  .atr-footer__inner { flex-direction: column; align-items: flex-start; }
}
