/* =====================================================================
   Car Seat Clinic Panamá — Estilos
   Paleta: teal de confianza + coral cálido + neutros suaves
   ===================================================================== */

:root {
  /* Paleta oficial Car Seat Clinic Center */
  --brand: #2f3e34;       /* Verde Bosque (principal) */
  --brand-dark: #232e26;  /* más oscuro (hover) */
  --brand-soft: #e7ede7;  /* sage muy claro (fondos suaves) */
  --sage: #7a8f7c;        /* Verde Salvia (secundario) */
  --accent: #d8a7a7;      /* Rosa Empolvado (apoyo) */
  --accent-dark: #a9706f; /* rosa oscuro (texto/hover) */
  --ink: #333333;         /* Gris Carbón (texto) */
  --muted: #6f786f;       /* texto secundario */
  --bg: #ffffff;
  --bg-alt: #f5f1eb;      /* Beige Suave (fondo alterno) */
  --line: #e6e0d5;        /* borde cálido */
  --surface-warm: #fbfaf7;
  --rose-soft: #f7eeee;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(20, 60, 60, .06);
  --shadow: 0 12px 30px rgba(20, 60, 60, .10);
  --shadow-lg: 0 24px 60px rgba(20, 60, 60, .16);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1140px;
  --whatsapp: #25d366;
  --focus: rgba(47, 62, 52, .28);
  --ease-out-quart: cubic-bezier(.25, 1, .5, 1);
  --ease-out-quint: cubic-bezier(.22, 1, .36, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; }
html { scroll-padding-top: 86px; }

body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  overflow-x: hidden;
}
* { min-width: 0; }
img, svg { max-width: 100%; }

h1, h2, .section__head h2, .hero h1, .brand strong { font-family: "Playfair Display", Georgia, serif; line-height: 1.15; }
h3 { font-family: "Poppins", sans-serif; line-height: 1.2; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 80; width: 100%; height: 3px;
  transform: scaleX(0); transform-origin: left center; background: var(--accent);
  box-shadow: 0 0 18px rgba(216,167,167,.35); pointer-events: none;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  font-family: "Poppins", sans-serif; min-height: 46px; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(47,62,52,.28); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 10px 26px rgba(47,62,52,.38); }
.btn--ghost { background: #fff; color: var(--brand-dark); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { filter: brightness(.95); }
.btn--block { width: 100%; }

.pill {
  display: inline-block; background: var(--brand-soft); color: var(--brand-dark);
  font-weight: 600; font-size: .82rem; padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow {
  display: inline-block; color: var(--accent-dark); font-size: .76rem; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase; margin-bottom: 10px;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(230,224,213,.82);
  box-shadow: 0 10px 30px rgba(47,62,52,.04);
}
.header__inner { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; font-size: 18px;
}
.brand__logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-size: 1.05rem; color: var(--ink); }
.brand__text small { font-size: .72rem; color: var(--brand); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: var(--accent); }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-weight: 500; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--brand-dark); }

/* --- "Tienda" con submenú de grupos (Sillas de auto, de comer, a dormir…) --- */
.nav__group { position: relative; display: inline-flex; align-items: center; gap: 2px; }
.nav__caret {
  background: none; border: none; cursor: pointer; padding: 4px; color: var(--muted);
  display: inline-flex; align-items: center; border-radius: 8px; line-height: 0;
}
.nav__caret:hover { color: var(--brand-dark); }
.nav__caret svg { transition: transform .2s ease; }
/* Puente invisible para que el submenú no se cierre al bajar el mouse. */
.nav__group::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 10px; }
.nav__sub {
  position: absolute; top: 100%; left: 0; margin-top: 8px; min-width: 214px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; z-index: 90;
  display: none; flex-direction: column; gap: 2px;
}
.nav__sub a { padding: 10px 12px; border-radius: 10px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.nav__sub a:first-child { color: var(--muted); font-size: .92rem; }
.nav__sub a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.nav__group:hover .nav__sub,
.nav__group:focus-within .nav__sub,
.nav__group.is-open .nav__sub { display: flex; }
.nav__group:hover .nav__caret svg,
.nav__group.is-open .nav__caret svg { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 12px; margin-left: 18px; }
.cart-btn {
  position: relative; background: var(--brand-soft); color: var(--brand-dark);
  border: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  cursor: pointer; transition: background .15s;
}
.cart-btn:hover { background: #dbe5db; }
.cart-btn__count {
  position: absolute; top: -6px; right: -6px; background: var(--accent-dark); color: #fff;
  font-size: .7rem; font-weight: 700; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; display: grid; place-items: center; border: 2px solid #fff;
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #edf3ed 0%, var(--surface-warm) 62%, #fff 100%); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .95fr); align-items: center; gap: 56px; padding: 76px 22px 78px; }
.hero__text { max-width: 620px; }
.hero h1 { font-size: clamp(2.35rem, 4.15vw, 3.75rem); font-weight: 800; letter-spacing: 0; max-width: 10.5em; }
.hero p { color: var(--muted); font-size: 1.08rem; margin: 18px 0 28px; max-width: 36em; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__trust { list-style: none; display: flex; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.hero__trust li { color: var(--muted); font-size: .9rem; padding-left: 14px; border-left: 2px solid var(--accent); }
.hero__trust strong { display: block; color: var(--ink); font-size: 1.25rem; font-family: "Poppins"; }

.hero__art { position: relative; height: 470px; }
.hero__slider { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #f3f5f3; box-shadow: var(--shadow-lg); border: 1px solid rgba(230,224,213,.8); }
.hero__slide { position: absolute; inset: 0; background-size: contain; background-repeat: no-repeat; background-position: center; opacity: 0; transition: opacity .8s cubic-bezier(.22,1,.36,1); display: block; }
.hero__slide.is-active { opacity: 1; }
.hero__cap { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 1px; background: rgba(47,62,52,.94); color: #fff; padding: 13px 18px; border-radius: 16px; }
.hero__cap strong { font-family: "Poppins", sans-serif; font-size: 1.06rem; }
.hero__cap span { font-size: .84rem; color: rgba(255,255,255,.85); font-weight: 600; }
.hero__assist {
  position: absolute; top: 22px; left: -18px; width: min(270px, 78%); background: rgba(255,255,255,.96);
  border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow);
}
.hero__assist-kicker { display: block; color: var(--accent-dark); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.hero__assist strong { display: block; color: var(--brand-dark); font-size: .95rem; line-height: 1.35; }
.motion-float { animation: motionFloat 5.5s var(--ease-out-quint) infinite; }
@keyframes motionFloat { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero__slide { transition: none; } }
.hero__blob {
  position: absolute; inset: 0; margin: auto; width: 290px; height: 290px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 42% 58% 56% 44% / 50% 44% 56% 50%; box-shadow: var(--shadow-lg);
  animation: blob 9s ease-in-out infinite;
}
@keyframes blob { 50% { border-radius: 56% 44% 44% 56% / 44% 56% 44% 56%; } }
.hero__card {
  position: absolute; background: #fff; width: 90px; height: 90px; border-radius: 22px;
  display: grid; place-items: center; font-size: 42px; box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.hero__card--1 { top: 28px; left: 30px; animation-delay: 0s; }
.hero__card--2 { bottom: 36px; left: 64px; animation-delay: .8s; }
.hero__card--3 { top: 70px; right: 28px; width: 110px; height: 110px; font-size: 54px; animation-delay: 1.4s; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* ---------- Features ---------- */
.features { padding: 36px 0; border-bottom: 1px solid var(--line); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); flex-shrink: 0; }
.feature__icon svg { width: 24px; height: 24px; }
.feature strong { display: block; font-size: .98rem; }
.feature p { color: var(--muted); font-size: .86rem; margin: 0; }

/* ---------- Ruta segura (proceso de compra acompañada) ---------- */
.safe-route { position: relative; padding: 72px 0; background: var(--brand); color: #fff; overflow: hidden; }
.safe-route::before {
  content: ""; position: absolute; inset: 0; opacity: .16;
  background-image: linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 48px 48px; transform: rotate(-1deg) scale(1.04);
}
.safe-route__inner { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 42px; align-items: center; }
.safe-route__intro h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.55rem); max-width: 11em; margin-bottom: 14px; }
.safe-route__intro p { color: rgba(255,255,255,.82); max-width: 34em; margin-bottom: 22px; }
.safe-route .eyebrow { color: #f2caca; }
.safe-route .btn--primary { background: #fff; color: var(--brand-dark); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.route-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rstep {
  display: grid; grid-template-columns: 52px 1fr; gap: 15px; align-items: start;
  background: #fff; border-radius: 18px; padding: 20px;
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
  transition: transform .26s var(--ease-out-quint), box-shadow .26s var(--ease-out-quint);
}
.rstep:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0,0,0,.2); }
.rstep__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand-soft); color: var(--brand);
  transition: background .25s ease, color .25s ease;
}
.rstep__icon svg { width: 26px; height: 26px; }
.rstep:hover .rstep__icon { background: var(--rose-soft); color: var(--accent-dark); }
.rstep__step { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 3px; }
.rstep h3 { color: var(--brand-dark); font-size: 1.06rem; margin-bottom: 5px; }
.rstep p { color: var(--muted); font-size: .88rem; line-height: 1.45; margin: 0; }
/* ---------- Secciones ---------- */
.section { padding: 76px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 36em; margin: 0 auto 44px; }
.section__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
.section__head p { color: var(--muted); margin-top: 10px; font-size: 1.05rem; }
.section__head--shop { max-width: 44em; }

/* ---------- Filtros ---------- */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--muted); font-weight: 600;
  padding: 9px 18px; border-radius: 999px; cursor: pointer; font-size: .9rem; transition: .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Tienda: filtros + grilla ---------- */
.shop { display: grid; grid-template-columns: 230px 1fr; gap: 34px; align-items: start; }
.shop__filters { position: sticky; top: 92px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.shop__filtersToggle { display: none; }
.fgroup { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fgroup:first-child { padding-top: 0; }
.fgroup h4 { font-family: "Poppins", sans-serif; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 12px; }
.flist { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.flink { background: none; border: none; padding: 5px 0; text-align: left; color: var(--muted); cursor: pointer; font-size: .92rem; font-family: inherit; transition: color .15s, transform .15s; }
.flink:hover { color: var(--brand-dark); transform: translateX(2px); }
.flink.is-active { color: var(--brand-dark); font-weight: 700; }
/* Sub-filtros de un grupo (ej. Sillas de auto → Recién nacidos, Booster…) */
.fsub { list-style: none; }
.fsublist { list-style: none; margin: 2px 0 6px; padding: 4px 0 4px 12px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 1px; }
.flink--sub { font-size: .86rem; padding: 3px 0; }
.flink--sub.is-active { color: var(--brand); }
.fcheck { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--ink); cursor: pointer; font-weight: 400; margin: 0; }
.fcheck input { width: auto; margin: 0; }
.shop__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 14px; flex-wrap: wrap; }
.shop__search {
  flex: 1 1 280px; min-width: 0; margin: 0; padding: 11px 16px; border: 1.5px solid var(--line);
  border-radius: 999px; background: #fff; font-family: inherit; font-size: .92rem; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.shop__search:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--focus); }
.shop__count { color: var(--muted); font-size: .9rem; }
.shop__sortwrap { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); margin: 0; font-weight: 500; }
.shop__sort { width: auto; margin: 0; padding: 9px 12px; }
.shop__main .grid { grid-template-columns: repeat(3, 1fr); }
.shop__notice {
  display: flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 13px 16px;
  background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #d4ded4; border-radius: 14px;
  font-size: .9rem;
}
.shop__notice span { color: #546255; }
@media (max-width: 860px) {
  .shop { grid-template-columns: 1fr; gap: 16px; }
  .shop__filters { position: static; padding: 0; border: none; box-shadow: none; background: transparent; }
  .shop__filtersToggle { display: block; width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; font-weight: 600; cursor: pointer; font-family: inherit; color: var(--brand-dark); }
  .shop__filtersBody { display: none; padding-top: 10px; }
  .shop__filtersBody.is-open { display: block; }
}

/* ---------- Grid de productos ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .26s var(--ease-out-quint), box-shadow .26s var(--ease-out-quint), border-color .2s ease;
  isolation: isolate; box-shadow: 0 8px 22px rgba(47,62,52,.05);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, rgba(47,62,52,.11), transparent 38%, rgba(216,167,167,.16));
  opacity: 0; transition: opacity .28s var(--ease-out-quint);
}
.card:hover { transform: translateY(-7px); box-shadow: 0 22px 54px rgba(47,62,52,.16); border-color: #d6cfc3; }
.card:hover::before { opacity: 1; }
.card__media {
  position: relative; aspect-ratio: 1/1.08; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 52% 42%, rgba(255,255,255,.95) 0 23%, rgba(255,255,255,0) 24%),
    linear-gradient(150deg, #fbfaf7 0%, #eef4ee 58%, #f7eeee 100%);
}
.card__media::after {
  content: ""; position: absolute; left: 14%; right: 14%; bottom: 18px; height: 16px;
  background: rgba(47,62,52,.16); filter: blur(13px); border-radius: 50%; transform: scale(.86);
  transition: transform .32s var(--ease-out-quint), opacity .32s var(--ease-out-quint);
}
.card:hover .card__media::after { transform: scale(1.02); opacity: .9; }
.card__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 18px; filter: drop-shadow(0 16px 18px rgba(47,62,52,.15)); }
.card__fallback {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; opacity: 0;
  background: radial-gradient(circle at 52% 42%, rgba(255,255,255,.86), rgba(255,255,255,0) 34%);
  pointer-events: none; transition: opacity .2s ease, transform .45s var(--ease-out-quint);
}
.card__fallback--visible, .card__media--fallback .card__fallback { opacity: 1; }
.card__fallbackIcon {
  display: grid; place-items: center; width: min(58%, 150px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(255,255,255,.74); box-shadow: 0 18px 42px rgba(47,62,52,.12), inset 0 0 0 1px rgba(255,255,255,.85);
  color: var(--brand-dark);
}
.card__fallbackIcon svg { width: 64%; height: 64%; filter: drop-shadow(0 10px 14px rgba(47,62,52,.12)); }
.card__media > img.is-missing { display: none; }
.card__shine {
  position: absolute; inset: -35% auto auto -45%; width: 55%; height: 170%; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.56), transparent);
  transform: rotate(18deg) translateX(-120%); transition: transform .65s var(--ease-out-expo); pointer-events: none;
}
.card:hover .card__shine { transform: rotate(18deg) translateX(360%); }
.card__brand { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.card__topline { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.card__cat { color: var(--brand-dark); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: var(--brand-soft); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.card__off { position: absolute; top: 12px; right: 12px; z-index: 4; background: var(--accent-dark); color: #fff; font-size: .72rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; box-shadow: var(--shadow-sm); letter-spacing: .01em; }
.card--sale { border-color: rgba(176, 79, 93, .28); }
.card--sale .card__media { background: linear-gradient(145deg, #fff7f5, var(--bg-alt)); }
.card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 4; background: var(--brand); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .02em;
}
.card__peek {
  position: absolute; left: 14px; bottom: 14px; z-index: 4; display: inline-flex; align-items: center;
  min-height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(47,62,52,.94); color: #fff;
  font-size: .78rem; font-weight: 800; opacity: 0; transform: translateY(8px); transition: opacity .22s var(--ease-out-quint), transform .22s var(--ease-out-quint);
}
.card:hover .card__peek { opacity: 1; transform: translateY(0); }
.card__imageCount {
  position: absolute; right: 12px; bottom: 14px; z-index: 4; min-height: 28px; display: inline-flex; align-items: center;
  padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--brand-dark);
  font-size: .72rem; font-weight: 800; box-shadow: 0 8px 20px rgba(47,62,52,.11);
}
.card__thumbs {
  position: absolute; left: 14px; right: 14px; bottom: 56px; z-index: 4; display: flex; gap: 6px;
  opacity: .9; transform: translateY(0); transition: opacity .24s var(--ease-out-quint), transform .24s var(--ease-out-quint);
}
.card:hover .card__thumbs { opacity: 1; }
.card__thumb { width: 32px; height: 32px; border: 2px solid rgba(255,255,255,.9); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 7px 16px rgba(47,62,52,.16); }
.card__thumb.is-active { border-color: var(--accent); }
.card__thumb.is-missing { background: linear-gradient(135deg, rgba(47,62,52,.12), rgba(216,167,167,.18)); }
.card__thumbs img { width: 100%; height: 100%; object-fit: cover; padding: 0; filter: none; }
.card__body { padding: 18px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.card__title { font-size: 1.02rem; font-weight: 700; font-family: "Poppins"; line-height: 1.28; cursor: pointer; color: var(--ink); }
.card__fit { color: var(--brand-dark); font-size: .8rem; font-weight: 600; background: var(--brand-soft); display: inline-block; padding: 3px 10px; border-radius: 999px; align-self: flex-start; }
.card__desc { color: var(--muted); font-size: .86rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.card__status { min-height: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.card__rent {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); font-size: .7rem; font-weight: 700;
}
.card__rent svg { width: 12px; height: 12px; flex-shrink: 0; }
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; gap: 10px; padding-top: 6px; }
.card__price { display: flex; flex-direction: column; }
.card__price b { font-size: 1.25rem; font-family: "Poppins"; color: var(--brand-dark); }
.card__price s { color: var(--muted); font-size: .82rem; }
.card__saving { color: var(--accent-dark); font-size: .7rem; font-weight: 800; margin-top: 2px; }
.card__add {
  background: var(--brand); color: #fff; border: none; border-radius: 12px; width: 44px; height: 44px;
  font-size: 22px; cursor: pointer; display: grid; place-items: center; transition: .15s; flex-shrink: 0;
}
.card__add:hover { background: var(--brand-dark); transform: scale(1.05); }
.card__consult {
  background: var(--brand-dark); color: #fff; border: 1px solid var(--brand-dark); border-radius: 12px;
  min-height: 42px; padding: 0 14px; font-weight: 700; font-size: .82rem; cursor: pointer;
  font-family: inherit; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s;
}
.card__consult:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-1px); }
.card.is-entering { animation: cardIn .48s var(--ease-out-expo) both; }

/* ---------- Encuentra tu silla ideal ---------- */
.finder { max-width: 920px; margin: 0 auto; display: grid; gap: 22px; }
.finder__progress {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; box-shadow: var(--shadow-sm);
}
.finder__progressText { color: var(--brand-dark); font-size: .82rem; font-weight: 800; white-space: nowrap; }
.finder__progressTrack { display: block; height: 8px; background: var(--brand-soft); border-radius: 999px; overflow: hidden; }
.finder__progressTrack span {
  display: block; width: 0%; height: 100%; border-radius: inherit; background: var(--brand);
  transition: width .28s var(--ease-out-quint);
}
.finder__form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.finder__form select { width: 100%; margin-top: 7px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-family: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.finder__form select:focus { outline: none; border-color: var(--brand); }
.finder__submit { grid-column: 1 / -1; }
.finder__result { }
.finder__result:not([hidden]) { animation: resultIn .42s var(--ease-out-expo) both; }
@keyframes resultIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.finder__rec { background: var(--brand); color: #fff; border-radius: var(--radius-lg); padding: 30px; text-align: center; box-shadow: var(--shadow); }
.finder__rec h3 { color: #fff; font-size: 1.5rem; margin: 8px 0 10px; }
.finder__rec p { color: rgba(255,255,255,.9); max-width: 40em; margin: 0 auto 8px; }
.finder__tag { display: inline-block; background: var(--accent); color: #5a2f2f; font-weight: 700; font-size: .8rem; padding: 5px 14px; border-radius: 999px; }
.finder__svc { font-size: .92rem; }
.finder__note { font-size: .88rem; background: rgba(255,255,255,.12); padding: 10px 14px; border-radius: 12px; display: inline-block; margin-top: 6px; }
.finder__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.finder__actions .btn--primary { background: #fff; color: var(--brand-dark); }
.finder__actions .btn--primary:hover { background: var(--bg-alt); }
.finder__actions .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.finder__actions .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
@media (max-width: 720px) { .finder__form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .finder__form { grid-template-columns: 1fr; } }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px;
  text-align: left; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d6cfc3; }
.service__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); margin: 0; }
.service__icon svg { width: 30px; height: 30px; }
.service h3 { font-size: 1.1rem; margin: 12px 0 8px; }
.service p { color: var(--muted); font-size: .9rem; flex: 1; }
.service__cta { display: inline-block; margin-top: 16px; color: var(--brand-dark); font-weight: 800; font-size: .9rem; transition: color .15s; }
.service__cta:hover { color: var(--accent-dark); }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.about__art { display: grid; place-items: center; }
.about__logo {
  width: 280px; height: 280px; border-radius: 50%; object-fit: cover;
  box-shadow: var(--shadow); border: 8px solid #fff;
}
.about__text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.about__text p { color: var(--muted); margin-bottom: 14px; }
.stats { display: flex; gap: 30px; margin-top: 26px; flex-wrap: wrap; }
.stat strong { display: block; font-family: "Poppins"; font-size: 1.9rem; color: var(--brand-dark); }
.stat span { color: var(--muted); font-size: .85rem; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.contact > .contact__info > p { color: var(--muted); margin-bottom: 22px; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.contact__list li { display: flex; gap: 12px; align-items: center; }
.contact__ic {
  display: inline-grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px;
  border-radius: 11px; background: var(--brand-soft); color: var(--brand);
}
.contact__ic svg { width: 19px; height: 19px; }
.contact__list a:hover { color: var(--brand); }
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.map { position: relative; margin-top: 30px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); line-height: 0; }
.map iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(.15); }
.map__qr { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 8px 14px 8px 8px; box-shadow: var(--shadow); color: var(--ink); line-height: 1.2; }
.map__qr:hover { box-shadow: var(--shadow-lg); }
.map__qrimg { width: 66px; height: 66px; flex-shrink: 0; }
.map__qrimg img { width: 100%; height: 100%; display: block; }
.map__qr span { font-size: .82rem; }
.map__qr strong { color: var(--brand-dark); }
@media (max-width: 480px) { .map__qr { right: 10px; bottom: 10px; padding: 6px 11px 6px 6px; } .map__qrimg { width: 52px; height: 52px; } }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 16px; }
input, textarea {
  width: 100%; margin-top: 7px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 16px; font-weight: 400; color: var(--ink); transition: border .15s;
}
input:focus, textarea:focus { outline: none; border-color: var(--brand); }
select { width: 100%; margin-top: 7px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-family: inherit; font-size: 16px; background: #fff; color: var(--ink); }
select:focus { outline: none; border-color: var(--brand); }

/* ---------- Alquiler para viajes ---------- */
.rental-showcase {
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
  padding: 68px 0;
  overflow: hidden;
}
.rental-showcase__inner {
  display: grid; grid-template-columns: minmax(280px, .92fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 58px); align-items: center;
}
.rental-showcase__media {
  position: relative; min-height: 360px; border-radius: 24px; overflow: hidden;
  background: var(--brand-soft); box-shadow: var(--shadow-lg);
}
.rental-showcase__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(47,62,52,0) 42%, rgba(47,62,52,.52) 100%);
  pointer-events: none;
}
.rental-showcase__media img {
  width: 100%; height: 100%; min-height: 360px; object-fit: cover;
  transform: scale(1.04); animation: rentalPhotoDrift 14s ease-in-out infinite alternate;
}
.rental-showcase__badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 1; padding: 9px 13px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--brand-dark); font-size: .78rem; font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.rental-showcase__content h2 {
  max-width: 12em; font-size: clamp(2rem, 4.2vw, 3.4rem); color: var(--brand-dark);
  margin-bottom: 14px;
}
.rental-showcase__content p { max-width: 40em; color: var(--muted); margin-bottom: 18px; }
.rental-showcase__steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0;
}
.rental-showcase__steps span {
  display: flex; align-items: center; gap: 9px; min-height: 62px; padding: 12px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--brand-dark);
  font-weight: 700; box-shadow: var(--shadow-sm);
}
.rental-showcase__steps b {
  display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: .82rem;
}
@keyframes rentalPhotoDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-14px, -10px, 0); }
}

/* ---------- Limpieza: antes y después ---------- */
.cleanshow {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%);
  padding: 72px 0;
  overflow: hidden;
}
.cleanshow__inner {
  display: grid; grid-template-columns: minmax(300px, 1fr) minmax(280px, .82fr);
  gap: clamp(28px, 5vw, 60px); align-items: center;
}
.cleanshow__content .eyebrow { color: var(--accent-dark); }
.cleanshow__content h2 {
  max-width: 12em; font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--brand-dark); margin-bottom: 14px;
}
.cleanshow__content p { max-width: 40em; color: var(--muted); margin-bottom: 20px; }
.cleanshow__points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 13px; }
.cleanshow__points li {
  display: flex; align-items: flex-start; gap: 11px; color: var(--brand-dark); font-weight: 600;
}
.cleanshow__points svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; color: var(--sage); }
.cleanshow__alt { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.cleanshow__alt a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* comparador deslizable */
.ba { margin: 0; }
.ba__frame {
  position: relative; aspect-ratio: 51 / 69; width: 100%; max-width: 420px; margin-inline: auto;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--brand-soft); cursor: ew-resize; touch-action: none;
  user-select: none; -webkit-user-select: none;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before {
  position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); will-change: clip-path;
}
.ba__divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; transform: translateX(-50%);
  background: rgba(255,255,255,.94); box-shadow: 0 0 0 1px rgba(47,62,52,.12), 0 6px 18px rgba(0,0,0,.28);
  pointer-events: none; z-index: 3;
}
.ba__handle {
  position: absolute; top: 50%; left: var(--pos, 50%); transform: translate(-50%, -50%); z-index: 4;
  width: 48px; height: 48px; border-radius: 50%; border: 2.5px solid #fff; cursor: ew-resize;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(47,62,52,.34);
  transition: transform .18s var(--ease-out-quint), background .18s ease;
}
.ba__handle:hover { background: var(--brand-dark); }
.ba__handle:active { transform: translate(-50%, -50%) scale(.94); }
.ba__handle:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.ba__handle svg { width: 22px; height: 22px; pointer-events: none; }
.ba__frame.is-dragging .ba__handle { transition: none; }
.ba__tag {
  position: absolute; top: 14px; z-index: 2; padding: 7px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); pointer-events: none;
  box-shadow: var(--shadow-sm); transition: opacity .25s ease;
}
.ba__tag--before { left: 14px; background: rgba(169,112,111,.92); color: #fff; }
.ba__tag--after { right: 14px; background: rgba(255,255,255,.92); color: var(--brand-dark); }
.ba__caption { margin-top: 12px; text-align: center; font-size: .82rem; color: var(--muted); }

@media (max-width: 820px) {
  .cleanshow__inner { grid-template-columns: 1fr; }
  .cleanshow__content { order: 1; }
  .ba { order: 2; }
}
/* comparador más grande en la página de servicios */
.cleanshow--page { padding: clamp(40px, 6vw, 72px) 0; }
.cleanshow--page .cleanshow__inner { grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.05fr); }
.cleanshow--page .ba__frame { max-width: 500px; }
.cleanshow--page .ba__caption { font-size: .88rem; }

/* ---------- Tarjetas de servicios (home → servicios.html) ---------- */
.svc-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px);
}
.svc-card {
  position: relative; display: block; min-height: 380px; isolation: isolate;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-soft);
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform .3s var(--ease-out-quint), box-shadow .3s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.svc-card__media {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .6s var(--ease-out-quint);
}
.svc-card:hover .svc-card__media { transform: scale(1.06); }
.svc-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(35,46,38,0) 28%, rgba(35,46,38,.55) 66%, rgba(35,46,38,.92) 100%);
}
.svc-card__body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; color: #fff;
  display: flex; flex-direction: column; gap: 6px;
}
.svc-card__tag {
  align-self: flex-start; margin-bottom: 4px; padding: 5px 11px; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  background: rgba(255,255,255,.92); color: var(--brand-dark);
}
.svc-card__title { font-family: "Playfair Display", serif; font-size: 1.55rem; line-height: 1.14; color: #fff; }
.svc-card__desc { font-size: .9rem; color: rgba(255,255,255,.9); max-width: 26em; }
.svc-card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 9px; font-weight: 700; font-size: .92rem; color: #fff; }
.svc-card__link svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out-quint); }
.svc-card:hover .svc-card__link svg { transform: translateX(4px); }

@media (max-width: 980px) { .svc-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .svc-card { min-height: 300px; }
  .cleanshow--page .cleanshow__inner { grid-template-columns: 1fr; }
}
/* En teléfono las 4 tarjetas de servicio se apilan, así que 300px cada una
   sumaban 1.200px de portada. A 210px siguen leyéndose bien con su foto. */
@media (max-width: 520px) {
  .svc-cards { grid-template-columns: 1fr; gap: 14px; }
  .svc-card { min-height: 210px; }
  .svc-card__body { padding: 18px; }
  .svc-card__title { font-size: 1.1rem; }
  .svc-card__desc { font-size: .84rem; }
}

/* ---------- Página de servicios (servicios.html) ---------- */
.svc-hero { padding-bottom: 10px; }
.svc-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); color: var(--brand-dark); }
.crumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--brand); font-weight: 600; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb span { margin: 0 6px; }
.section__head--left { text-align: left; max-width: 760px; margin: 0 0 28px; }
.svc-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-jump a {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  color: var(--brand-dark); font-weight: 700; font-size: .9rem; text-decoration: none;
  transition: border-color .18s ease, transform .18s var(--ease-out-quint);
}
.svc-jump a:hover { border-color: var(--sage); transform: translateY(-2px); }
.svc-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.rental-showcase--flip .rental-showcase__media { order: 2; }
.nav a.is-current { color: var(--brand); font-weight: 700; }
.header__actions a.account-btn, .header__actions a.cart-btn { text-decoration: none; }
.svc-final { text-align: center; max-width: 640px; margin: 0 auto; }
.svc-final h2 { color: var(--brand-dark); }
.svc-final p { color: var(--muted); margin: 10px 0 22px; }

/* ---------- Preguntas frecuentes (FAQ) ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-group__title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--brand-dark); margin: 30px 0 12px; }
.faq-group__title:first-child { margin-top: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item > summary {
  cursor: pointer; list-style: none; padding: 18px 20px;
  font-weight: 600; color: var(--brand-dark); font-size: 1.02rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background .18s ease;
}
.faq-item > summary:hover { background: var(--surface-warm); }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: ""; flex: 0 0 18px; width: 18px; height: 18px;
  background:
    linear-gradient(var(--sage), var(--sage)) center/100% 2px no-repeat,
    linear-gradient(var(--sage), var(--sage)) center/2px 100% no-repeat;
}
/* abierto: deja solo la línea horizontal = "−" */
.faq-item[open] > summary::after {
  background: linear-gradient(var(--accent-dark), var(--accent-dark)) center/100% 2px no-repeat;
}
.faq-item[open] > summary { color: var(--brand); }
.faq-item__body { padding: 0 20px 18px; color: var(--muted); line-height: 1.6; }
.faq-item__body a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Reserva tu cita ---------- */
.cita__form {
  max-width: 920px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.cita__form .col-full { grid-column: 1 / -1; }
.cita__stage {
  display: flex; justify-content: space-between; gap: 18px; align-items: flex-end;
  padding: 18px; border-radius: 18px; background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; overflow: hidden; position: relative;
}
.cita__stage::after {
  content: ""; position: absolute; inset: auto -20px -36px auto; width: 120px; height: 120px; border-radius: 50%;
  background: rgba(216,167,167,.2);
}
.cita__stage h3 { color: #fff; font-size: clamp(1.05rem, 2vw, 1.35rem); margin-top: 4px; }
.cita__stage p { max-width: 28em; color: rgba(255,255,255,.8); font-size: .9rem; margin: 0; position: relative; z-index: 1; }
.appointment-slots {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
}
.slot-btn {
  min-height: 64px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface-warm);
  color: var(--brand-dark); font-family: inherit; cursor: pointer; text-align: left; padding: 12px;
  transition: transform .18s var(--ease-out-quint), border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.slot-btn:hover { transform: translateY(-2px); border-color: var(--sage); background: #fff; box-shadow: var(--shadow-sm); }
.slot-btn.is-selected { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 14px 28px rgba(47,62,52,.18); }
.slot-btn strong, .slot-btn span { display: block; }
.slot-btn strong { font-size: .95rem; }
.slot-btn span { color: inherit; opacity: .78; font-size: .76rem; margin-top: 2px; }
.rental-panel {
  padding: 18px; border: 1px solid rgba(122,143,124,.28); border-radius: 20px;
  background: linear-gradient(135deg, #fbfaf7 0%, #eef4ee 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}
.rental-panel[hidden] { display: none; }
.rental-panel__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 14px;
}
.rental-panel__head h3 { color: var(--brand-dark); font-size: 1.08rem; margin-top: 2px; }
.rental-panel__head p { color: var(--muted); font-size: .86rem; max-width: 34em; margin: 0; }
.rental-panel__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rental-panel__grid label { margin-bottom: 0; }
.rental-panel__install {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--brand-dark);
}
.rental-panel__install input { width: auto; margin: 0; accent-color: var(--brand); }
.rental-kpi {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 14px;
  border-radius: 14px; background: var(--brand); color: #fff; font-weight: 800; text-align: center;
}
.cita-summary {
  min-height: 48px; padding: 13px 15px; border: 1px dashed var(--line); border-radius: 14px;
  background: var(--bg-alt); color: var(--muted); font-size: .9rem;
}
.cita-summary--ok {
  border-style: solid; border-color: #bfe3cd; background: #eaf6ef; color: #1d7a4d;
}
.cita-summary--ok strong { color: #145c39; }

/* ---------- Calendario de rango para alquiler ---------- */
.rcal {
  margin-bottom: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 18px;
  background: #fff; box-shadow: var(--shadow-sm);
}
.rcal__info {
  display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.rcal__info strong { color: var(--brand-dark); font-size: 1.1rem; }
.rcal__info span { color: var(--muted); font-size: .85rem; }
.rcal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.rcal__head strong { color: var(--brand-dark); font-size: 1rem; text-transform: capitalize; }
.rcal__nav {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--brand-dark); font-size: 1.2rem; line-height: 1; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.rcal__nav:hover { background: var(--surface-warm); border-color: var(--sage); }
.rcal__dow {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px;
  text-align: center; color: var(--muted); font-size: .72rem; font-weight: 700;
}
.rcal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.rcal__day {
  aspect-ratio: 1 / 1; display: grid; place-items: center; border: 0; background: transparent;
  border-radius: 50%; font-family: inherit; font-size: .9rem; color: var(--ink); cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.rcal__day.is-empty { pointer-events: none; }
.rcal__day:not(.is-disabled):not(.is-start):not(.is-end):hover { background: var(--brand-soft); }
.rcal__day.is-disabled { color: var(--line); cursor: not-allowed; }
.rcal__day.in-range { background: var(--brand-soft); border-radius: 0; }
.rcal__day.is-start, .rcal__day.is-end {
  background: var(--brand); color: #fff; font-weight: 800;
}
.rcal__day.is-start { border-radius: 50% 0 0 50%; }
.rcal__day.is-end { border-radius: 0 50% 50% 0; }
.rcal__day.is-start.is-end { border-radius: 50%; }
@media (max-width: 720px) { .cita__form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .rental-showcase__inner { grid-template-columns: 1fr; }
  .rental-showcase__media, .rental-showcase__media img { min-height: 300px; }
}
@media (max-width: 720px) {
  .appointment-slots, .rental-panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cita__stage, .rental-panel__head { align-items: flex-start; flex-direction: column; }
  .rental-showcase__steps { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .cita__form { grid-template-columns: 1fr; padding: 20px; }
  .appointment-slots, .rental-panel__grid { grid-template-columns: 1fr; }
  .rental-showcase { padding: 48px 0; }
  .rental-showcase__media, .rental-showcase__media img { min-height: 240px; }
}

/* ---------- Newsletter (footer) ---------- */
.newsletter { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding-bottom: 30px; margin-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.14); flex-wrap: wrap; }
.newsletter__text h3 { color: #fff; font-size: 1.3rem; }
.newsletter__text p { color: rgba(255,255,255,.7); font-size: .9rem; max-width: 34em; margin-top: 4px; }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter__form input { margin-top: 0; width: auto; min-width: 170px; }

/* ---------- Pop-up newsletter ---------- */
.np { position: fixed; bottom: 20px; left: 20px; z-index: 85; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px; max-width: 320px; }
.np[hidden] { display: none; }
.np h4 { font-family: "Poppins", sans-serif; font-size: 1.05rem; margin-bottom: 4px; }
.np p { color: var(--muted); font-size: .85rem; margin-bottom: 12px; }
.np__form { display: flex; gap: 8px; }
.np__form input { margin-top: 0; }
.np__form .btn { padding: 12px 16px; }
.np__close { position: absolute; top: 8px; right: 10px; background: none; border: none; cursor: pointer; color: var(--muted); font-size: 15px; }

.float-whatsapp {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 55; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 17px;
  border-radius: 999px; background: var(--whatsapp); color: #fff; font-weight: 700; font-size: .92rem;
  box-shadow: 0 14px 34px rgba(37, 211, 102, .28); transition: transform .15s ease, filter .15s ease, box-shadow .2s ease;
}
.float-whatsapp:hover { filter: brightness(.96); transform: translateY(-2px); }
.float-whatsapp svg { flex-shrink: 0; }
.float-whatsapp span { transition: opacity .18s var(--ease-out-quint), transform .18s var(--ease-out-quint); }
.float-whatsapp.is-changing span { opacity: 0; transform: translateY(4px); }

/* ---------- Footer ---------- */
/* Franja de marcas que distribuimos (banda clara arriba del pie) */
.brandstrip { background: #fff; border-top: 1px solid var(--line); padding: 26px 0; }
.brandstrip__title { text-align: center; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 600; margin: 0 0 16px; }
.brandstrip__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 40px; }
.brandstrip__logos img { height: 42px; width: auto; max-width: 150px; object-fit: contain; transition: transform .2s ease; }
.brandstrip__logos img:hover { transform: scale(1.06); }
.brandstrip__pay { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 18px auto 0; padding-top: 16px; border-top: 1px solid var(--line); max-width: 620px; }
.brandstrip__pay img { height: 34px; width: auto; object-fit: contain; }
.brandstrip__pay span { font-size: .9rem; color: var(--muted); max-width: 430px; text-align: left; }
@media (max-width: 560px) { .brandstrip__pay { flex-direction: column; text-align: center; } .brandstrip__pay span { font-size: .84rem; text-align: center; } }
@media (max-width: 560px) {
  .brandstrip__logos { gap: 18px 26px; }
  .brandstrip__logos img { height: 32px; max-width: 110px; }
}

.footer { background: var(--ink); color: #cbdbdb; padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__copy { font-size: .85rem; color: #9fb6b6; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: #cbdbdb; font-size: .9rem; }
.footer__links a:hover { color: #fff; }

/* ---------- Carrito (drawer) ---------- */
.overlay { position: fixed; inset: 0; background: rgba(15,40,40,.45); opacity: 0; visibility: hidden; transition: .25s; z-index: 60; }
.overlay.is-open { opacity: 1; visibility: visible; }
.cart {
  position: fixed; top: 0; right: 0; height: 100dvh; width: 400px; max-width: 90vw; background: #fff;
  z-index: 70; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease;
  box-shadow: var(--shadow-lg);
}
.cart.is-open { transform: translateX(0); }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 22px; border-bottom: 1px solid var(--line); }
.cart__head h3 { font-size: 1.2rem; }
.icon-btn { background: var(--bg-alt); border: none; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 16px; color: var(--muted); transition: .15s; }
.icon-btn:hover { background: #e6efef; color: var(--ink); }
.cart__items { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item__media { width: 62px; height: 62px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; overflow: hidden; }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-weight: 600; font-size: .92rem; }
.cart-item__price { color: var(--brand-dark); font-weight: 700; font-size: .9rem; margin-top: 2px; }
.cart-item__qty { display: inline-flex; align-items: center; gap: 0; margin-top: 8px; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.cart-item__qty button { width: 28px; height: 28px; border: none; background: #fff; cursor: pointer; font-size: 16px; color: var(--brand-dark); }
.cart-item__qty button:hover { background: var(--brand-soft); }
.cart-item__qty span { min-width: 28px; text-align: center; font-weight: 600; font-size: .9rem; }
.cart-item__remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: .78rem; align-self: flex-start; }
.cart-item__remove:hover { color: var(--accent-dark); }
.cart__empty { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); text-align: center; padding: 40px; }
.cart__empty span { font-size: 56px; }
.cart__foot { padding: 20px 22px; border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cart__total strong { font-size: 1.5rem; font-family: "Poppins"; }
.cart.is-empty .cart__foot { display: none; }
.cart.is-empty .cart__empty { display: flex; }

/* ---------- Checkout (modal) ---------- */
.modal { position: fixed; inset: 0; background: rgba(15,40,40,.5); z-index: 80; display: none; align-items: flex-start; justify-content: center; padding: 30px 16px; overflow-y: auto; }
.modal.is-open { display: flex; }
.modal__box { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 520px; padding: 30px; position: relative; box-shadow: var(--shadow-lg); animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.modal__close { position: absolute; top: 18px; right: 18px; }
.modal__box h3 { font-size: 1.4rem; }
.modal__sub { color: var(--muted); margin: 4px 0 22px; font-size: .94rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-inline { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: .9rem; margin-bottom: 12px; }
.check-inline input { width: auto; margin: 0; flex-shrink: 0; }
.check-group { border: none; padding: 0; margin: 0; }
.checkout__summary { background: var(--bg-alt); border-radius: 14px; padding: 16px 18px; margin: 8px 0 20px; }
.checkout__line { display: flex; justify-content: space-between; font-size: .92rem; color: var(--muted); padding: 4px 0; }
.checkout__line--total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--ink); }
.checkout__line--total strong { font-size: 1.3rem; font-family: "Poppins"; color: var(--brand-dark); }
.checkout__pay { display: flex; flex-direction: column; gap: 12px; }
#paypal-container:empty { display: none; }
.checkout__note { font-size: .8rem; color: var(--muted); text-align: center; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px; font-size: .9rem;
  font-weight: 500; box-shadow: var(--shadow-lg); z-index: 90; transition: transform .3s ease, opacity .2s ease;
  max-width: 90vw; opacity: 0; pointer-events: none;
}
.toast.is-open { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------- Cuenta / Login ---------- */
.account-btn {
  display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1.5px solid var(--line);
  color: var(--brand-dark); font-weight: 600; font-size: .88rem; padding: 9px 14px; border-radius: 12px; cursor: pointer; transition: .15s;
}
.account-btn:hover { border-color: var(--brand); background: var(--brand-soft); }
.account-btn svg { flex-shrink: 0; }

.nav__admin { color: var(--accent-dark) !important; font-weight: 700 !important; }

.account-menu {
  position: fixed; top: 70px; right: 22px; z-index: 75; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 220px; display: flex; flex-direction: column;
}
.account-menu[hidden] { display: none; }
.account-menu__head { padding: 10px 12px; font-size: .82rem; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 6px; word-break: break-all; }
.account-menu a { padding: 11px 12px; border-radius: 10px; font-size: .92rem; font-weight: 500; color: var(--ink); }
.account-menu a:hover { background: var(--bg-alt); }

.btn--google { background: #fff; color: #3c4043; border: 1.5px solid var(--line); font-weight: 600; }
.btn--google:hover { background: #f7f9f9; border-color: #c9d6d6; }

.modal__box--sm { max-width: 420px; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 18px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-form label { margin-bottom: 14px; }
.auth-error { color: var(--accent-dark); font-size: .85rem; min-height: 1em; margin-top: 4px; }
.auth-switch { text-align: center; font-size: .9rem; color: var(--muted); margin-top: 16px; }
.auth-switch a { color: var(--brand-dark); font-weight: 700; }

.order-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-row b { font-family: "Poppins"; color: var(--brand-dark); }
.order-status { display: inline-block; background: var(--brand-soft); color: var(--brand-dark); font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; text-transform: capitalize; }

/* ---------- Stock en tarjetas ---------- */
.card__stock { font-size: .78rem; font-weight: 700; }
.card__stock--ok { color: var(--sage); }
.card__stock--low { color: var(--accent-dark); }
.card__stock--consult { color: var(--brand-dark); }
.card__stock--out { color: var(--muted); }
.card--out { opacity: .72; }
.card--out .card__media { filter: grayscale(.4); }
.card__add[disabled] { background: #cdd9d9; cursor: not-allowed; transform: none; }
.card__consult--disabled { background: #eef1ee; color: var(--muted); border-color: var(--line); cursor: not-allowed; transform: none; }
.card__consult--disabled:hover { background: #eef1ee; border-color: var(--line); transform: none; }

/* ---------- Panel de administracion ---------- */
body.admin { background: linear-gradient(180deg, #fbfaf7 0%, var(--bg-alt) 100%); }
body.admin .header { background: rgba(251,250,247,.94); }
body.admin .brand__mark { font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
body.admin [hidden] { display: none !important; }
.admin__main.container { max-width: 1280px; }
.admin__main { padding: 34px 22px 80px; }
.muted { color: var(--muted); font-size: .92rem; }
.empty-state { background: rgba(255,255,255,.62); border: 1px dashed var(--line); border-radius: 14px; padding: 18px; }
.admin__gate { display: grid; place-items: center; min-height: 60vh; }
.admin__card { background: var(--surface-warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.admin__card--center { max-width: 420px; width: 100%; text-align: center; }
.admin__card--center h2 { margin-bottom: 8px; }
.admin__card--center form, .admin__card--center .btn--google { text-align: left; }
.admin__card--center code { display: inline-block; background: var(--bg-alt); padding: 3px 7px; border-radius: 6px; font-size: .82rem; margin-top: 6px; word-break: break-all; }

.admin-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.admin-sidebar {
  position: sticky; top: 96px; min-height: calc(100vh - 126px); padding: 26px;
  border-radius: 22px; background: var(--brand); color: #fff; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.admin-sidebar__eyebrow { color: #d8dfd6; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.admin-sidebar h1 { font-size: 2rem; margin: 10px 0 12px; color: #fff; }
.admin-sidebar p { color: #e8eee5; font-size: .92rem; }
.admin__tabs { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.tab {
  width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px; padding: 13px 14px; color: #eef4ec; cursor: pointer; font-weight: 700;
  text-align: left; font-family: "Poppins", sans-serif; transition: background .18s ease, transform .18s ease;
}
.tab:hover { background: rgba(255,255,255,.14); transform: translateX(2px); }
.tab.is-active { background: #fff; color: var(--brand-dark); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.tab-panel[hidden] { display: none; }

.admin-workspace { min-width: 0; }
.admin-topline, .admin__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.admin-topline h2, .admin__bar h2 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); }
.admin-topline__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-date {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: .86rem;
}

.admin-dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 18px; }
.dash-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm);
}
.dash-card span, .dash-card small { display: block; color: var(--muted); font-size: .82rem; }
.dash-card b { display: block; margin: 8px 0 4px; color: var(--brand-dark); font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.dash-card--primary { background: var(--brand); border-color: var(--brand); }
.dash-card--primary span, .dash-card--primary small, .dash-card--primary b { color: #fff; }
.dash-card--warn b { color: #9a6a2f; }
.dash-card--rose b { color: var(--accent-dark); }
.dash-card--sale { background: linear-gradient(145deg, #fff8f6, #fff); border-color: rgba(176, 79, 93, .25); }
.dash-card--sale b { color: var(--accent-dark); }

.admin-grid { display: grid; gap: 18px; }
.admin-grid--dashboard { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.admin-panel {
  background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 20px;
  padding: 22px; box-shadow: var(--shadow-sm);
}
.admin-panel--wide { grid-column: 1 / -1; }
.admin-panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.admin-panel h3 { font-size: 1.08rem; }

/* ---------- CRM: novedades de Instagram ---------- */
.instagram-admin__intro { max-width: 70ch; margin: -2px 0 18px; }
.instagram-admin-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr); gap: 18px; align-items: start; }
.instagram-editor { position: sticky; top: 92px; }
.instagram-form { display: flex; flex-direction: column; gap: 14px; }
.instagram-form > label { margin: 0; color: var(--brand-dark); font-size: .8rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.instagram-form input, .instagram-form textarea { width: 100%; margin-top: 7px; background: #fff; }
.instagram-form textarea { resize: vertical; min-height: 86px; }
.instagram-form__checks { display: flex; gap: 14px; flex-wrap: wrap; padding: 4px 0 0; }
.instagram-form__checks .check-inline { margin: 0; }
.instagram-image-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: -7px; }
.instagram-image-tools .btn { padding: 8px 11px; min-height: 35px; }
.instagram-image-tools span { color: var(--muted); font-size: .78rem; }
.instagram-image-preview { height: 126px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface-warm); }
.instagram-image-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.instagram-preview {
  min-height: 74px; display: flex; align-items: center; gap: 12px; padding: 14px;
  border: 1px dashed var(--line); border-radius: 14px; background: var(--bg-alt); color: var(--muted); font-size: .86rem;
}
.instagram-preview.is-valid { border-style: solid; border-color: rgba(47,62,52,.22); background: linear-gradient(135deg, #f3f7f1, #fff); color: var(--ink); }
.instagram-preview__pill, .ig-admin-card__state {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap;
}
.instagram-preview__copy { min-width: 0; }
.instagram-preview__copy strong, .instagram-preview__copy span { display: block; }
.instagram-preview__copy strong { color: var(--brand-dark); }
.instagram-preview__copy span { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.instagram-form__status { min-height: 1.15em; margin: -3px 0 0; color: var(--accent-dark); font-size: .82rem; }
.instagram-admin-list { display: flex; flex-direction: column; gap: 12px; }
.ig-admin-card { display: flex; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 15px; }
.ig-admin-card--featured { border-color: rgba(47,62,52,.34); box-shadow: 0 10px 24px rgba(47,62,52,.08); }
.ig-admin-card__media { width: 92px; height: 112px; flex: 0 0 92px; object-fit: cover; border-radius: 11px; background: var(--surface-warm); }
.ig-admin-card__body { min-width: 0; flex: 1; }
.ig-admin-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ig-admin-card__head > div { min-width: 0; }
.ig-admin-card__head strong, .ig-admin-card__head small { display: block; }
.ig-admin-card__head strong { color: var(--ink); overflow-wrap: anywhere; }
.ig-admin-card__head small { color: var(--muted); font-size: .78rem; margin-top: 4px; }
.ig-admin-card__state--hidden { background: #68716b; }
.ig-admin-card__state--expired { background: #9a6a2f; }
.ig-admin-card__state--featured { background: var(--accent-dark); }
.ig-admin-card__text { margin: 10px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.48; }
.ig-admin-card__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.ig-admin-card__actions .btn { padding: 7px 11px; font-size: .78rem; min-height: 34px; }
.link-btn {
  background: transparent; border: none; color: var(--brand-dark); cursor: pointer; font: inherit; font-weight: 800;
  padding: 4px 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}

.crm-alerts, .admin-mini-list { display: flex; flex-direction: column; gap: 10px; }
.crm-alert, .mini-product {
  display: grid; gap: 2px; width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; padding: 13px 14px; cursor: pointer; font-family: inherit; transition: transform .16s ease, border-color .16s ease;
}
.crm-alert:hover, .mini-product:hover { transform: translateY(-2px); border-color: var(--brand); }
.crm-alert span, .mini-product span { color: var(--accent-dark); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.crm-alert strong, .mini-product strong { color: var(--ink); font-size: .92rem; }
.crm-alert small, .mini-product small, .mini-row span { color: var(--muted); font-size: .8rem; }
.mini-product--sale { border-color: rgba(176, 79, 93, .28); background: linear-gradient(145deg, #fff8f6, #fff); }
.mini-product--sale span { color: var(--accent-dark); }
.admin-mini-list--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini-row {
  display: flex; justify-content: space-between; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); padding: 10px 0;
}
.mini-row:last-child { border-bottom: none; }
.mini-row strong, .mini-row span { display: block; }
.mini-row b { color: var(--brand-dark); white-space: nowrap; }

.admin__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 0 0 16px; }
.astat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-align: left; }
.astat b { display: block; font-family: "Poppins", sans-serif; font-size: 1.55rem; color: var(--brand-dark); line-height: 1; font-variant-numeric: tabular-nums; }
.astat span { font-size: .78rem; color: var(--muted); }
.astat--warn b { color: #9a6a2f; }
.astat--out b { color: var(--accent-dark); }
.astat--sale { background: #fff8f6; border-color: rgba(176, 79, 93, .25); }
.astat--sale b { color: var(--accent-dark); }
.admin-filters {
  display: grid; grid-template-columns: minmax(220px, 1.4fr) minmax(160px, .8fr) minmax(160px, .8fr) auto;
  gap: 12px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-bottom: 12px;
}
.admin-filters--orders { grid-template-columns: minmax(220px, 1fr) minmax(180px, .45fr); }
.admin-filters label { margin: 0; color: var(--brand-dark); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.admin__search, .admin-filters select {
  width: 100%; margin: 7px 0 0; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 16px; background: var(--surface-warm); color: var(--ink);
}
.admin__search:focus, .admin-filters select:focus { outline: none; border-color: var(--brand); background: #fff; }
.admin-list-head { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 14px; flex-wrap: wrap; }
.admin__list { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.btn--sm { padding: 8px 14px; font-size: .85rem; min-height: 38px; }

/* ---------- CRM: lista y editor de productos ---------- */
.plist { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.prow {
  display: grid; grid-template-columns: 64px minmax(190px, 1fr) auto minmax(250px, .8fr) auto;
  align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.prow:hover { box-shadow: var(--shadow-sm); border-color: #d6cfc3; }
.prow--sale { border-color: rgba(176, 79, 93, .3); background: linear-gradient(90deg, #fffaf9, #fff 38%); }
.prow--sale:hover { border-color: var(--accent-dark); }
.prow__img { width: 64px; height: 64px; border-radius: 13px; overflow: hidden; background: var(--bg-alt); display: grid; place-items: center; flex-shrink: 0; color: var(--muted); font-size: .68rem; text-transform: uppercase; font-weight: 800; }
.prow__img img { width: 100%; height: 100%; object-fit: cover; }
.prow__main { min-width: 0; }
.prow__main strong { display: block; font-size: .98rem; color: var(--ink); }
.prow__hidden { color: var(--muted); font-size: .8rem; }
.prow__meta { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.prow__price { display: inline-flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.prow__price s { color: var(--muted); }
.prow__price b { color: var(--accent-dark); }
.prow__price em { color: var(--accent-dark); font-size: .72rem; font-style: normal; font-weight: 800; }
.prow__issues { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.issue { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: .68rem; font-weight: 800; }
.issue--low, .issue--price { background: #fbeede; color: #8a5d25; }
.issue--out, .issue--photo, .issue--hidden { background: var(--rose-soft); color: var(--accent-dark); }
.issue--ok { background: #eaf3e8; color: var(--brand-dark); }
.issue--sale { background: #fff0ed; color: var(--accent-dark); }
.prow__stock { font-size: .78rem; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); white-space: nowrap; }
.prow__stock.is-low { background: #fbeede; color: #8a5d25; }
.prow__stock.is-out { background: var(--rose-soft); color: var(--accent-dark); }
.prow__quick { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; }
.prow__quick label { margin: 0; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.prow__quick input { margin-top: 4px; min-height: 38px; padding: 8px 10px; border-radius: 10px; font-size: .9rem; }
.prow__act { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.prow__act .icon-btn { width: auto; padding: 0 12px; font-size: .78rem; font-weight: 800; }

.modal__box--lg { max-width: 720px; max-height: min(86vh, 900px); overflow: auto; }
.edit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 8px; }
.edit-grid .col-2 { grid-column: span 2; }
.edit-grid label { margin-bottom: 0; }
.edit-grid .check { display: flex; align-items: center; gap: 8px; align-self: end; font-weight: 600; }
.edit-grid .check input { width: auto; margin: 0; }
.offer-editor {
  margin: 18px 0 4px; padding: 18px; border: 1px solid rgba(176, 79, 93, .27); border-radius: 16px;
  background: linear-gradient(135deg, #fff7f5, #fff);
}
.offer-editor__head { display: flex; gap: 16px; justify-content: space-between; align-items: center; }
.offer-editor h4 { margin: 3px 0 5px; font-family: "Poppins", sans-serif; font-size: 1rem; color: var(--ink); }
.offer-editor p { margin: 0; max-width: 42ch; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.offer-switch { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; margin: 0; color: var(--accent-dark); font-weight: 800; cursor: pointer; }
.offer-switch input { appearance: none; width: 42px; height: 24px; margin: 0; border: 0; border-radius: 999px; background: #d7c6c6; position: relative; cursor: pointer; transition: background .18s ease; }
.offer-switch input::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(47,62,52,.18); position: absolute; top: 3px; left: 3px; transition: transform .18s ease; }
.offer-switch input:checked { background: var(--accent-dark); }
.offer-switch input:checked::after { transform: translateX(18px); }
.offer-switch input:focus-visible { outline: 3px solid rgba(216, 167, 167, .6); outline-offset: 3px; }
.offer-editor__fields { display: grid; grid-template-columns: minmax(170px, .45fr) 1fr; gap: 14px; align-items: end; margin-top: 16px; }
.offer-editor__fields[hidden] { display: none; }
.offer-editor__fields label { margin: 0; }
.offer-preview { min-height: 47px; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid rgba(176, 79, 93, .2); color: var(--muted); font-size: .8rem; }
.offer-preview strong { color: var(--accent-dark); font-family: "Poppins", sans-serif; font-size: .96rem; }
.edit-block { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.edit-block h4 { font-family: "Poppins", sans-serif; font-size: 1rem; margin-bottom: 10px; }
.img-list { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.img-chip { position: relative; width: 84px; }
.img-chip img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
.img-chip > button[data-imgrm] { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; border: none; background: var(--ink); color: #fff; cursor: pointer; font-size: 12px; }
.img-chip__main { display: block; text-align: center; font-size: .7rem; color: var(--brand-dark); font-weight: 700; margin-top: 3px; }
.img-chip__set { display: block; width: 100%; margin-top: 3px; background: none; border: none; color: var(--muted); font-size: .68rem; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.img-add { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.img-add input { margin-top: 0; flex: 1; min-width: 150px; }
.img-or { color: var(--muted); font-size: .85rem; }
.btn--file { cursor: pointer; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; padding: 0; }
.feat-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--bg-alt); padding: 8px 12px; border-radius: 10px; font-size: .9rem; }
.feat-list li button { background: none; border: none; color: var(--muted); cursor: pointer; }
.feat-add { display: flex; gap: 10px; }
.feat-add input { margin-top: 0; flex: 1; }
.edit-actions { display: flex; gap: 10px; margin-top: 22px; }

/* ---------- CRM: agenda inteligente ---------- */
.ai-intake {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 18px;
  margin-bottom: 16px; padding: 18px; border-radius: 20px; background: var(--brand); color: #fff;
  box-shadow: var(--shadow-sm);
}
.ai-intake h3 { color: #fff; font-size: clamp(1.08rem, 2vw, 1.35rem); margin-top: 4px; }
.ai-intake p { max-width: 34em; color: rgba(255,255,255,.82); margin: 0; font-size: .9rem; }
.admin-filters--leads { grid-template-columns: minmax(220px, 1fr) minmax(160px, .45fr) minmax(160px, .45fr) auto; }
.admin-filters--rental { grid-template-columns: minmax(220px, 1fr) minmax(160px, .45fr) auto; }
.rental-stats { margin: 16px 0 22px; }
.schedule-board {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px;
}
.schedule-day {
  min-height: 120px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px;
  box-shadow: var(--shadow-sm);
}
.schedule-day strong, .schedule-day span { display: block; }
.schedule-day strong { color: var(--brand-dark); font-size: .9rem; }
.schedule-day span { color: var(--muted); font-size: .78rem; margin-bottom: 10px; }
.schedule-pill {
  display: block; width: 100%; margin-top: 7px; padding: 8px 10px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-dark); font-size: .78rem; font-weight: 800;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.schedule-pill--urgent { background: var(--rose-soft); color: var(--accent-dark); }
.schedule-pill--rental { background: #fff1e3; color: #8a5d25; border: 1px solid #eed5b5; }
.lead-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm);
}
.lead-card__top { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 12px; }
.lead-card__top strong, .lead-card__top small { display: block; }
.lead-card__top strong { margin-top: 7px; color: var(--ink); font-size: 1rem; overflow-wrap: anywhere; }
.lead-card__top small { color: var(--muted); font-size: .8rem; }
.lead-priority, .lead-status {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px;
  font-size: .7rem; font-weight: 800; background: var(--brand-soft); color: var(--brand-dark);
}
.lead-priority--alta, .lead-priority--urgente { background: var(--rose-soft); color: var(--accent-dark); }
.lead-priority--media { background: #fbeede; color: #8a5d25; }
.lead-status { background: var(--surface-warm); color: var(--muted); margin-left: 6px; }
.lead-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px 14px;
  color: var(--ink); font-size: .86rem;
  padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.lead-meta i { display: block; color: var(--muted); font-size: .72rem; font-style: normal; font-weight: 700; }
.lead-rental {
  border-color: #efd3b1;
  background: linear-gradient(180deg, #fff 0%, #fff9f1 100%);
}
.lead-rental__badge {
  display: inline-flex; align-items: center; min-height: 24px; margin-left: 6px; padding: 0 9px;
  border-radius: 999px; background: #fff1e3; color: #8a5d25; font-size: .7rem; font-weight: 800;
}
/* Recuadro de detalle dentro de una tarjeta del CRM (alquiler o pedido).
   Sirve para los dos: las clases ya no dependen del tipo de solicitud. */
.lead-box {
  margin: 12px 0 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,.78);
}
.lead-box__kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.lead-box__kpi {
  display: block; padding: 10px; border-radius: 12px; background: var(--surface-warm);
  color: var(--muted); font-size: .72rem; font-weight: 700;
}
.lead-box__kpi b {
  display: block; color: var(--brand-dark); font-size: .92rem; overflow-wrap: anywhere;
}
.lead-box__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin-top: 10px;
  color: var(--ink); font-size: .84rem;
}
.lead-box__grid i { display: block; color: var(--muted); font-size: .72rem; font-style: normal; font-weight: 700; }
.lead-box__items { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 5px; }
.lead-box__items li {
  display: flex; align-items: center; gap: 7px; font-size: .86rem; color: var(--ink);
  padding: 8px 11px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.lead-box__items b { color: var(--brand-dark); }
.lead-box__items span { margin-left: auto; color: var(--muted); font-weight: 700; white-space: nowrap; }
.lead-message { color: var(--ink); font-size: .9rem; margin-top: 12px; overflow-wrap: anywhere; }

/* ---------- CRM: badges, embudo, estadísticas, notas ---------- */
.tab__badge {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 800;
}
.lead-pipeline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
.pipe {
  flex: 1 1 0; min-width: 92px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  padding: 12px; cursor: pointer; text-align: center; font-family: inherit;
  transition: transform .18s var(--ease-out-quint), border-color .18s ease, box-shadow .18s ease;
}
.pipe:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pipe.is-active { border-color: var(--brand); box-shadow: 0 0 0 2px var(--focus); }
.pipe b { display: block; font-size: 1.5rem; color: var(--brand-dark); line-height: 1; }
.pipe span { display: block; margin-top: 4px; font-size: .74rem; font-weight: 700; color: var(--muted); }
.pipe--ganado b { color: #1d7a4d; }
.pipe--perdido b { color: var(--accent-dark); }
.pipe-arrow { color: var(--line); font-size: 1.4rem; }

.lead-stats { margin: 8px 0 24px; }
.lstat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.lstat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.lstat b { display: block; font-size: 1.5rem; color: var(--brand-dark); line-height: 1.1; }
.lstat span { font-size: .76rem; color: var(--muted); }
.lstat--win b { color: #1d7a4d; }
.lstat-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: 12px; }
.lstat-block { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.lstat-block > strong { display: block; color: var(--brand-dark); font-size: .92rem; margin-bottom: 12px; }
.lstat-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.lbar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.lbar b { font-size: .76rem; color: var(--brand-dark); }
.lbar__fill { width: 70%; min-height: 3px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--sage), var(--brand)); transition: height .4s var(--ease-out-quint); }
.lbar small { font-size: .68rem; color: var(--muted); text-transform: capitalize; }
.ltop { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .86rem; color: var(--ink); }
.ltop:last-child { border-bottom: 0; }
.ltop b { color: var(--brand-dark); }
@media (max-width: 720px) { .lstat-cols { grid-template-columns: 1fr; } }

.lead-followup { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.lead-followup label { display: flex; flex-direction: column; gap: 3px; font-size: .74rem; color: var(--muted); font-weight: 700; }
.lead-followup label:first-child { flex: 1 1 220px; }
.lead-followup input { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-family: inherit; font-size: .85rem; }
.lead-overdue { display: inline-flex; align-items: center; min-height: 24px; margin-left: 6px; padding: 0 9px; border-radius: 999px; background: #fde7e7; color: #b3261e; font-size: .68rem; font-weight: 800; }
.lead-card.is-overdue { border-color: #f0b9b4; }
.lead-status--ganado { background: #e3f3ea; color: #1d7a4d; }
.lead-status--perdido { background: #fdeaea; color: var(--accent-dark); }
.lead-status--cotizado { background: #eef0fb; color: #4a51a8; }
.lead-status--contactado { background: #fbeede; color: #8a5d25; }
.lead-status--esperando_reserva { background: #fff1e3; color: #8a5d25; }

.conv__summary { margin: 8px 0 10px; padding: 10px 12px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); font-size: .88rem; font-weight: 600; }
@media (max-width: 620px) {
  .lead-box__kpis, .lead-box__grid { grid-template-columns: 1fr; }
}

/* ---------- CRM: pedidos ---------- */
.order-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm);
}
.order-card__top { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.order-card__top strong, .order-card__top small { display: block; }
.order-card__top strong { margin-top: 7px; color: var(--ink); font-size: 1rem; }
.order-card__top small { color: var(--muted); font-size: .8rem; }
.order-card__top b { color: var(--brand-dark); font-size: 1.2rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-status {
  display: inline-flex; background: var(--brand-soft); color: var(--brand-dark); font-size: .72rem; font-weight: 800;
  padding: 3px 10px; border-radius: 999px; text-transform: none;
}
.order-status--nuevo, .order-status--pendiente_pago { background: #fbeede; color: #8a5d25; }
.order-status--cancelado { background: var(--rose-soft); color: var(--accent-dark); }
.order-status--entregado { background: #eaf3e8; color: var(--brand-dark); }
.order-items { list-style: none; display: flex; flex-direction: column; gap: 6px; padding: 12px 0; margin: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.order-items li { color: var(--ink); font-size: .9rem; }
.order-items span { color: var(--muted); font-weight: 800; margin-right: 4px; }
.order-customer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 14px; color: var(--muted); font-size: .86rem; }
.admin__card-actions { display: flex; gap: 10px; margin-top: 16px; align-items: center; flex-wrap: wrap; }
.admin__card-actions .inline { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; color: var(--brand-dark); }
.admin__card-actions .inline select { margin: 0; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface-warm); font-family: inherit; }

@media (max-width: 1080px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; min-height: auto; }
  .admin__tabs { flex-direction: row; flex-wrap: wrap; }
  .tab { width: auto; flex: 1 1 150px; text-align: center; }
  .prow { grid-template-columns: 64px minmax(0, 1fr); }
  .prow__stock, .prow__quick, .prow__act { grid-column: 2; justify-self: start; }
}
@media (max-width: 820px) {
  .admin-dashboard, .admin__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid--dashboard, .admin-mini-list--grid, .schedule-board { grid-template-columns: 1fr; }
  .instagram-admin-grid { grid-template-columns: 1fr; }
  .instagram-editor { position: static; }
  .admin-filters, .admin-filters--orders, .admin-filters--leads { grid-template-columns: 1fr; }
  .admin-filters .btn { width: 100%; }
  .order-customer, .lead-meta { grid-template-columns: 1fr; }
  .ai-intake { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .admin__main { padding: 24px 14px 72px; }
  .admin-sidebar { padding: 22px; border-radius: 18px; }
  .admin-topline__actions, .admin-topline__actions .btn, .admin__bar .btn { width: 100%; }
  .admin-date { width: 100%; justify-content: center; }
  .admin-dashboard, .admin__stats { grid-template-columns: 1fr; }
  .admin-panel { padding: 18px; }
  .prow { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
  .prow__img { width: 52px; height: 52px; }
  .prow__quick { grid-template-columns: 1fr; width: 100%; }
  .prow__act { width: 100%; }
  .prow__act .btn, .prow__act .icon-btn { flex: 1; }
  .edit-grid { grid-template-columns: 1fr; }
  .edit-grid .col-2 { grid-column: 1; }
  .offer-editor__head { align-items: flex-start; flex-direction: column; }
  .offer-editor__fields { grid-template-columns: 1fr; }
  .offer-switch { font-size: .88rem; }
  .feat-add, .edit-actions { flex-direction: column; }
  .instagram-form__checks { flex-direction: column; gap: 9px; }
  .ig-admin-card { gap: 10px; padding: 12px; }
  .ig-admin-card__media { width: 70px; height: 92px; flex-basis: 70px; }
  .ig-admin-card__head { flex-direction: column; }
}

/* ---------- Ficha de producto (tienda) ---------- */
.card__media[data-detail] { cursor: pointer; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.detail__main { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--bg-alt); display: grid; place-items: center; }
.detail__main img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.detail__thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.detail__thumbs img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.detail__thumbs img.is-active { border-color: var(--brand); }
.detail__crumb { font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.detail__brand { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.detail__buy { display: flex; gap: 12px; align-items: center; }
.detail__qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.detail__qty button { width: 38px; height: 44px; border: none; background: #fff; cursor: pointer; font-size: 18px; color: var(--brand-dark); }
.detail__qty button:hover { background: var(--brand-soft); }
.detail__qty span { min-width: 34px; text-align: center; font-weight: 600; }
.detail__addbtn { flex: 1; }
.detail__info h3 { font-size: 1.4rem; margin: 6px 0; }
.detail__price { margin: 10px 0; }
.detail__price b { font-family: "Poppins", sans-serif; font-size: 1.5rem; color: var(--brand-dark); }
.detail__price s { color: var(--muted); margin-right: 6px; }
.detail__saving { display: block; margin-top: 2px; color: var(--accent-dark); font-size: .8rem; font-weight: 800; }
.detail__desc { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.detail__hint { color: var(--muted); font-size: .86rem; text-align: center; margin-top: 10px; }
.detail__feats { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 7px; }
.detail__feats li { position: relative; padding-left: 24px; font-size: .9rem; }
.detail__feats li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--brand); font-weight: 800; }
@media (max-width: 600px) { .detail { grid-template-columns: 1fr; } }

/* ---------- 3 Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .2s, box-shadow .2s; color: inherit; }
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pillar__ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.pillar__ic svg { width: 30px; height: 30px; }
.pillar h3 { font-size: 1.12rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: .92rem; flex: 1; }
.pillar__link { margin-top: 14px; color: var(--brand-dark); font-weight: 700; font-size: .9rem; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Testimonios ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin: 0; box-shadow: var(--shadow-sm); position: relative; }
.tcard::before { content: ""; display: block; width: 38px; height: 3px; background: var(--accent); border-radius: 999px; margin-bottom: 16px; }
.tcard__stars { color: #e0a93f; letter-spacing: 2px; margin-bottom: 10px; }
.tcard blockquote { margin: 0 0 14px; font-size: .98rem; line-height: 1.55; color: var(--ink); }
.tcard figcaption { color: var(--muted); font-size: .88rem; font-weight: 600; }
@media (max-width: 820px) { .tgrid { grid-template-columns: 1fr; } }

/* ---------- Recursos de seguridad ---------- */
.resources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; transition: transform .2s, box-shadow .2s; }
.rcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.rcard__tag { display: inline-block; background: var(--brand-soft); color: var(--brand-dark); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 11px; border-radius: 999px; margin-bottom: 10px; }
.rcard h3 { font-size: 1.06rem; margin-bottom: 8px; }
.rcard p { color: var(--muted); font-size: .92rem; }
.safety-strip {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; padding: 14px;
  border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm);
}
.safety-strip span {
  color: var(--accent-dark); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.safety-strip strong {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark); font-size: .84rem;
}
.safety-strip strong:nth-child(odd) { background: var(--rose-soft); color: var(--accent-dark); }
@media (max-width: 620px) { .resources { grid-template-columns: 1fr; } }

/* ---------- Animaciones / alma ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .64s var(--ease-out-quint), transform .64s var(--ease-out-quint); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }

@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } }
.hero__text > * { animation: heroIn .7s var(--ease-out-quint) both; }
.hero__text > *:nth-child(2) { animation-delay: .06s; }
.hero__text > *:nth-child(3) { animation-delay: .12s; }
.hero__text > *:nth-child(4) { animation-delay: .18s; }
.hero__text > *:nth-child(5) { animation-delay: .24s; }

/* zoom suave de la foto al pasar el cursor */
.card__media { overflow: hidden; }
.card__media > img, .card__media > div { transition: transform .45s var(--ease-out-quint); }
.card:hover .card__media > img, .card:hover .card__media > div { transform: scale(1.06); }

/* realces de hover */
.pillar__ic, .feature__icon, .service__icon { transition: transform .3s var(--ease-out-quint), background .3s; }
.pillar:hover .pillar__ic, .service:hover .service__icon { transform: scale(1.08) rotate(-3deg); }
.flink, .nav a, .footer__links a, .service__cta, .pillar__link { transition: color .15s, transform .15s; }
.btn { will-change: transform; }

/* "pop" del contador del carrito al agregar */
@keyframes cartPop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.cart-btn__count.pop { animation: cartPop .4s var(--ease-out-quint); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .grid .card, .hero__text > *, .hero__blob, .hero__card, .motion-float, .finder__result, .rental-showcase__media img { animation: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Asistente / chat ---------- */
.chat { position: fixed; left: 20px; bottom: 20px; z-index: 86; }
.chat__launch { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; border: none; border-radius: 999px; padding: 12px 18px; font-weight: 700; font-family: inherit; cursor: pointer; box-shadow: var(--shadow-lg); transition: transform .2s var(--ease-out-quint), background .2s ease, box-shadow .2s ease; }
.chat__launch:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 18px 42px rgba(47,62,52,.24); }
.chat__panel { position: absolute; left: 0; bottom: 60px; width: 390px; max-width: calc(100vw - 40px); height: 540px; max-height: calc(100vh - 120px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; }
.chat__panel[hidden] { display: none; }
.chat__head { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }
.chat__head strong { font-family: "Poppins", sans-serif; display: block; }
.chat__head small { color: rgba(255,255,255,.84); font-size: .78rem; }
.chat__close { background: rgba(255,255,255,.18); border: none; color: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 18px; }
.chat__close:hover { background: rgba(255,255,255,.26); }
.chat__msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, var(--bg-alt), #fff); }
.chat__bubble { max-width: 88%; padding: 12px 14px; border-radius: 16px; font-size: .94rem; line-height: 1.5; box-shadow: 0 8px 22px rgba(47,62,52,.06); }
.chat__bubble--bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 5px; }
.chat__bubble--user { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.chat__bubble--smart { border-color: #d7e0d6; }
.chat__bubble--ai { border-color: rgba(216,167,167,.65); }
.chat__quick { display: flex; flex-wrap: wrap; gap: 8px; max-width: 92%; }
.chat__quick button, .chat__quick a {
  border: 1px solid #d7e0d6; background: #fff; color: var(--brand-dark); border-radius: 999px;
  min-height: 34px; padding: 0 12px; font-family: inherit; font-size: .78rem; font-weight: 700; cursor: pointer;
  transition: background .16s ease, transform .16s ease, border-color .16s ease; text-decoration: none;
}
.chat__quick button:hover, .chat__quick a:hover { background: var(--brand-soft); border-color: var(--sage); transform: translateY(-1px); }
.chat__reco { display: flex; flex-direction: column; gap: 6px; max-width: 92%; margin-top: 2px; }
.chat__reco small { color: var(--muted); font-size: .76rem; }
.chat__recobtn {
  align-self: flex-start; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--brand);
  background: #fff; color: var(--brand-dark); font-family: inherit; font-weight: 700; font-size: .85rem;
  cursor: pointer; text-decoration: none; transition: background .18s ease, transform .18s ease;
}
.chat__recobtn:hover { background: var(--brand-soft); transform: translateY(-1px); }
.chat__actions {
  display: flex; flex-wrap: wrap; gap: 8px; max-width: 94%; margin-top: -4px;
}
.chat__actions button, .chat__actions a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 11px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--brand-dark);
  font-family: inherit; font-size: .78rem; font-weight: 800; cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.chat__actions button:first-child { background: var(--brand); border-color: var(--brand); color: #fff; }
.chat__actions button:hover, .chat__actions a:hover { transform: translateY(-1px); border-color: var(--sage); background: var(--brand-soft); }
.chat__actions button:first-child:hover { background: var(--brand-dark); color: #fff; }
.chat__actions--secondary button:first-child { background: #fff; border-color: var(--line); color: var(--brand-dark); }
.chat__actions--secondary button:first-child:hover { background: var(--brand-soft); border-color: var(--sage); color: var(--brand-dark); }
.chat__saved { align-self: center; color: var(--muted); font-size: .72rem; font-weight: 700; }
.chat__wa { display: inline-flex; align-items: center; justify-content: center; margin-top: 10px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--whatsapp); color: #fff; font-weight: 800; box-shadow: 0 10px 22px rgba(37,211,102,.22); text-decoration: none; }
.chat__wa--direct { display: flex; width: 100%; min-height: 44px; margin-top: 12px; font-size: .88rem; text-align: center; }
.chat__wa--direct:hover { background: #1ebe5b; color: #fff; transform: translateY(-1px); }
.chat__handoff-note { display: block; margin-top: 7px; color: var(--muted); font-size: .71rem; font-weight: 600; text-align: center; }
.chat__typing { color: var(--muted); font-style: italic; }
.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat__form input { margin: 0; flex: 1; }
.chat__form button { background: var(--brand); color: #fff; border: none; width: 48px; border-radius: 14px; cursor: pointer; font-size: 16px; flex-shrink: 0; transition: transform .16s ease, background .16s ease; }
.chat__form button:hover { background: var(--brand-dark); transform: translateY(-1px); }
@media (max-width: 600px) {
  .chat { left: 12px; bottom: 12px; }
  .chat__panel { width: calc(100vw - 24px); height: min(460px, calc(100dvh - 92px)); max-height: 72dvh; }
  .chat__msgs { padding: 12px; }
  .chat__bubble { max-width: 100%; font-size: .9rem; line-height: 1.42; }
  .chat__wa--direct { min-height: 44px; }
}
.conv__head { font-size: .85rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.conv__head [data-summarize] { margin-left: auto; }
.conv__msg { font-size: .9rem; padding: 7px 11px; border-radius: 10px; margin-bottom: 6px; }
.conv__msg--user { background: var(--brand-soft); }
.conv__msg--bot { background: var(--bg-alt); }
.conv__msg b { color: var(--brand-dark); }

/* ---------- Páginas legales ---------- */
.legal { max-width: 760px; padding-top: 40px; padding-bottom: 60px; }
.legal h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 12px; }
.legal__intro { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.legal h2 { font-family: "Poppins", sans-serif; font-size: 1.1rem; margin: 24px 0 8px; color: var(--brand-dark); }
.legal p { color: var(--ink); margin-bottom: 10px; line-height: 1.7; }
.legal__note { color: var(--muted); font-size: .85rem; margin-top: 30px; border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid, .services, .shop__main .grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero__inner { grid-template-columns: 1fr; gap: 34px; padding-top: 50px; }
  .hero__art { height: 300px; }
  .hero__assist { left: 18px; top: 18px; }
  .safe-route__inner { grid-template-columns: 1fr; }
  .route-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .contact { grid-template-columns: 1fr; }
  .about__art { display: none; }
}
/* --- Catálogo en 2 columnas (teléfono) ---
   Cada tarjeta queda en ~160px de ancho, así que se deja solo lo que decide
   la compra: foto, marca, nombre, precio, disponibilidad y el botón. La
   descripción y el "recomendado para" no se leen a ese tamaño y se ven en la
   ficha del producto. */
@media (max-width: 560px) {
  .grid, .shop__main .grid { gap: 12px; }
  .card__body { padding: 12px; gap: 6px; }
  .card__title { font-size: .92rem; }
  .card__price b { font-size: 1.1rem; }
  .card__saving { font-size: .64rem; }
  .card__off { top: 8px; right: 8px; padding: 4px 7px; font-size: .62rem; }
  .card__badge { top: 8px; left: 8px; padding: 4px 7px; font-size: .62rem; }
  .card__add { width: 38px; height: 38px; font-size: 20px; }
  .card__consult { min-height: 38px; padding: 0 11px; font-size: .78rem; }
  .card__desc, .card__fit, .card__thumbs { display: none; }
  .card__desc { min-height: 0; }
  /* La categoría se oculta: en 160px no cabe junto a la marca y además la
     clienta ya está filtrando por categoría. La marca sí se queda porque es
     lo que reconoce (Joie, Evenflo, Graco). */
  .card__cat { display: none; }
  .card__topline { font-size: .66rem; }
  .card__brand { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .card__status { gap: 6px; }
  .card__cmp { font-size: .66rem; padding: 3px 8px; }
  .card__cmp svg { width: 11px; height: 11px; }
  /* El aviso de alquiler se ve en la ficha del producto (donde además está el
     botón para reservar fechas). En el listado a 160px sobraba y su texto no
     cabía en una línea. */
  .card__rent { display: none; }
  .card__stock { font-size: .66rem; }
  /* Con "Agotado" o "Cotizar" el botón es de texto y no cabe junto al precio,
     así que se permite que baje a su propia línea. */
  .card__foot { padding-top: 2px; gap: 6px; flex-wrap: wrap; }
  .card__consult { flex: 1 0 100%; }
  .card__imageCount { font-size: .62rem; padding: 3px 8px; }
}
/* El menú móvil se define en el bloque del rediseño (max-width: 1000px),
   al final de este archivo. */
@media (max-width: 540px) {
  /* El catálogo se queda en 2 columnas: en 1 sola, cada tarjeta mide casi una
     pantalla y recorrer 26 productos se vuelve interminable. Los formularios
     y las tarjetas de servicio sí pasan a 1 columna. */
  .services, .field-row { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section__head { margin-bottom: 28px; }
  .hero__inner { padding: 44px 22px 54px; }
  .hero__art { height: 240px; }
  .hero__assist { display: none; }
  .hero__trust { gap: 14px; }
  .hero__trust li { width: 100%; }
  .safe-route { padding: 46px 0; }
  /* Los 4 pasos de la ruta segura van en 2 columnas (apilados de a uno
     alargaban la portada sin aportar nada). La tarjeta pasa a vertical: en
     horizontal el ícono le robaba el ancho al texto y los títulos se salían. */
  .route-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rstep { grid-template-columns: 1fr; gap: 10px; padding: 16px 14px; }
  .rstep__body h3 { font-size: .95rem; }
  .rstep__body p { font-size: .8rem; }
  .rstep__icon { width: 36px; height: 36px; }
  .rstep__icon svg { width: 20px; height: 20px; }
  .finder__progress { grid-template-columns: 1fr; border-radius: 16px; }
  .shop__notice { align-items: flex-start; flex-direction: column; }
  .float-whatsapp { right: 14px; bottom: 14px; width: 48px; min-height: 48px; padding: 0; justify-content: center; border-radius: 50%; }
  .float-whatsapp span { display: none; }
}

/* =====================================================================
   GUÍA POR EDAD Y PESO (¿Qué silla le toca a tu pequeño?)
   ===================================================================== */
.guide { background: linear-gradient(180deg, #fff 0%, var(--brand-soft) 140%); }
.guide__track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  position: relative; margin-top: 8px;
}
.guide__track::before {
  content: ""; position: absolute; top: 58px; left: 6%; right: 6%; height: 3px;
  background: linear-gradient(90deg, var(--brand-soft), var(--sage), var(--brand-soft));
  border-radius: 999px; z-index: 0;
}
.gstep {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start;
  gap: 8px; text-align: left; background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px 18px 18px; cursor: pointer;
  font: inherit; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.gstep:hover, .gstep:focus-visible { transform: translateY(-4px); border-color: var(--sage); box-shadow: var(--shadow); }
.gstep__age {
  display: inline-block; background: var(--brand-soft); color: var(--brand-dark);
  font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em;
}
.gstep__num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 800; font-size: .95rem;
  box-shadow: 0 6px 14px rgba(47,62,52,.24);
}
.gstep h3 { margin: 2px 0 0; font-size: 1.06rem; }
.gstep p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.gstep__link { margin-top: auto; color: var(--accent-dark); font-weight: 700; font-size: .84rem; }
.gstep:hover .gstep__link { text-decoration: underline; }
.guide__tip {
  margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px;
  background: #fff; border: 1px dashed var(--sage); border-radius: var(--radius-lg);
  padding: 16px 20px; font-size: .92rem; color: var(--ink); text-align: center;
}
.guide__tipBtn {
  background: none; border: none; cursor: pointer; font: inherit; font-weight: 700;
  color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; padding: 0;
}
.guide__tipBtn:hover { color: var(--accent-dark); }

/* =====================================================================
   COMPARADOR DE SILLAS
   ===================================================================== */
.card__cmp {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 3px 10px; font: inherit; font-size: .74rem; font-weight: 700; color: var(--muted);
  cursor: pointer; transition: color .15s, border-color .15s, background .15s;
}
.card__cmp svg { width: 13px; height: 13px; flex-shrink: 0; }
.card__cmp:hover { border-color: var(--sage); color: var(--brand-dark); }
.card__cmp.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }

.cmpbar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: max(18px, env(safe-area-inset-bottom)); z-index: 70;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 12px; box-shadow: var(--shadow-lg);
}
.cmpbar[hidden] { display: none; }
.cmpbar__items { display: flex; gap: 8px; }
.cmpbar__item { position: relative; width: 46px; height: 46px; border-radius: 12px; overflow: visible; }
.cmpbar__item img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); display: block; }
.cmpbar__ph { width: 100%; height: 100%; display: grid; place-items: center; background: var(--brand-soft); border-radius: 12px; font-size: 20px; }
.cmpbar__item button {
  position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%;
  border: none; background: var(--accent-dark); color: #fff; font-size: 10px; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
}
.cmpbar__go {
  border: none; cursor: pointer; font: inherit; font-weight: 700; font-size: .9rem;
  background: var(--brand); color: #fff; border-radius: 999px; padding: 11px 18px;
  transition: background .15s;
}
.cmpbar__go:hover:not(:disabled) { background: var(--brand-dark); }
.cmpbar__go:disabled { opacity: .55; cursor: default; }
.cmpbar__clear {
  background: none; border: none; cursor: pointer; font: inherit; font-size: .8rem;
  font-weight: 600; color: var(--muted); padding: 6px;
}
.cmpbar__clear:hover { color: var(--accent-dark); text-decoration: underline; }

#compareModal .modal__box { max-width: 900px; }
.cmp__scroll { overflow-x: auto; margin: 0 -6px 16px; padding: 0 6px; -webkit-overflow-scrolling: touch; }
.cmp__table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .9rem; }
.cmp__table th, .cmp__table td {
  border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top;
  background: #fff; min-width: 160px;
}
.cmp__table thead th { border-bottom: 2px solid var(--sage); }
.cmp__table .cmp__label {
  background: var(--bg-alt); font-weight: 700; color: var(--brand-dark);
  min-width: 110px; width: 120px; font-size: .82rem;
}
.cmp__media { width: 100%; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--brand-soft); cursor: pointer; margin-bottom: 8px; display: grid; place-items: center; }
.cmp__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp__ph { display: grid; place-items: center; width: 100%; height: 100%; }
.cmp__name { display: block; font-size: .95rem; line-height: 1.3; margin-bottom: 10px; }
.cmp__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.cmp__actions .btn { min-height: 34px; padding: 0 12px; font-size: .78rem; }
.cmp__table ul { margin: 0; padding-left: 16px; display: grid; gap: 4px; }
.cmp__ok { color: #2e7d32; font-weight: 700; }
.cmp__out { color: var(--accent-dark); font-weight: 700; }
.cmp__saving { display: block; color: var(--accent-dark); font-size: .75rem; font-weight: 800; margin-top: 4px; }

/* =====================================================================
   RESEÑAS DE GOOGLE (bajo los testimonios)
   ===================================================================== */
.treviews {
  margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px 24px; box-shadow: var(--shadow-sm);
}
.treviews__score { display: flex; align-items: center; gap: 12px; }
.treviews__score strong { display: block; font-size: 1.02rem; }
.treviews__score span:not(.treviews__stars) { color: var(--muted); font-size: .86rem; }
.treviews__stars { color: #e0a93f; letter-spacing: 2px; }
.treviews__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* --- Responsive de las secciones nuevas --- */
@media (max-width: 900px) {
  .guide__track { grid-template-columns: repeat(2, 1fr); }
  .guide__track::before { display: none; }
}
@media (max-width: 540px) {
  /* Las 4 etapas se quedan en 2 columnas: son tarjetas cortas y apiladas de a
     una estiraban la portada casi 700px de más. */
  .guide__track { gap: 10px; }
  .gstep { padding: 14px 13px 13px; gap: 5px; }
  .gstep__age { font-size: .62rem; }
  .gstep h3 { font-size: .98rem; }
  .gstep p { font-size: .78rem; }
  .gstep__num { width: 26px; height: 26px; font-size: .78rem; }
  .cmpbar { left: 12px; right: 12px; transform: none; justify-content: space-between; bottom: max(78px, env(safe-area-inset-bottom)); }
  .cmpbar__item { width: 40px; height: 40px; }
  .treviews { flex-direction: column; align-items: stretch; text-align: center; }
  .treviews__score { justify-content: center; }
  .treviews__actions { justify-content: center; }
  .treviews__actions .btn { flex: 1; }
}

/* =====================================================================
   REDISEÑO 2026 — menú de pestañas, pie nuevo y páginas de Tienda,
   Alquiler y Servicios. Este bloque va AL FINAL a propósito: lo que se
   define aquí manda sobre lo de arriba.
   ===================================================================== */

/* ---------- Utilidades ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
body.nav-open { overflow: hidden; }

/* ---------- Encabezado ---------- */
.header {
  position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 22px rgba(47,62,52,.07); }
.header__inner { height: 74px; gap: 14px; }
.brand__logo { width: 42px; height: 42px; }
.brand__text strong { font-size: 1.04rem; letter-spacing: .01em; }
.brand__text small { font-size: .64rem; letter-spacing: .1em; color: var(--sage); }

.nav { gap: 4px; align-items: center; }
.nav a {
  position: relative; padding: 9px 13px; border-radius: 999px; font-size: .935rem;
  font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color .18s ease, background-color .18s ease;
}
.nav a:hover { color: var(--brand-dark); background: var(--brand-soft); }
.nav a.is-current { color: var(--brand-dark); font-weight: 650; background: var(--brand-soft); }
.nav a.is-current::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%);
  width: 16px; height: 2.5px; border-radius: 2px; background: var(--accent);
}
.header__actions { gap: 8px; margin-left: 10px; }
.account-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--brand-dark);
  font-family: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: border-color .18s ease, background-color .18s ease;
}
.account-btn:hover { border-color: var(--sage); background: var(--brand-soft); }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }

/* En pantallas medianas el menú pasa a hamburguesa: se ve limpio y no se
   amontonan las 6 pestañas con los botones de cuenta y carrito. */
@media (max-width: 1000px) {
  .nav {
    position: fixed; top: 74px; left: 0; right: 0; z-index: 79;
    background: #fff; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 22px calc(20px + env(safe-area-inset-bottom));
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .28s var(--ease-out-quint);
    margin-left: 0; max-height: calc(100dvh - 74px); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 14px; font-size: 1rem; border-radius: 12px; }
  .nav a.is-current::after { display: none; }
  .nav-toggle { display: flex; }
  /* En teléfono el submenú de "Tienda" se abre con el chevron (no con hover)
     y se despliega como lista indentada debajo, no como tarjeta flotante. */
  .nav__group { display: flex; flex-wrap: wrap; align-items: center; width: 100%; }
  .nav__group > a { flex: 1; }
  .nav__group::after { display: none; }
  .nav__caret { padding: 14px; color: var(--ink); }
  .nav__sub {
    position: static; flex-basis: 100%; margin: 0; min-width: 0;
    border: none; border-radius: 0; box-shadow: none; padding: 0 0 4px 10px;
  }
  .nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub { display: none; }
  .nav__group.is-open .nav__sub { display: flex; }
  .nav__sub a { padding: 12px 14px; }
  .header__actions { margin-left: auto; }
  .account-btn span { display: none; }
  .account-btn { padding: 0; width: 44px; height: 44px; justify-content: center; border-radius: 50%; }
}
@media (max-width: 400px) {
  .brand__text small { display: none; }
  .brand__logo { width: 38px; height: 38px; }
}

/* ---------- Encabezados de sección ---------- */
.section__head--row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  text-align: left; max-width: none; margin-bottom: 34px;
}
.section__head--row p { margin-top: 8px; max-width: 46em; }
.section__head--row .btn { flex-shrink: 0; }
.section__more { display: flex; justify-content: center; margin-top: 34px; }
@media (max-width: 720px) {
  .section__head--row { flex-direction: column; align-items: stretch; }
}

/* ---------- Portada de página interna (Tienda) ---------- */
.pagehead { background: linear-gradient(180deg, var(--brand-soft) 0%, var(--surface-warm) 100%); padding: 26px 0 54px; }
.pagehead__inner { display: grid; grid-template-columns: 1.25fr .95fr; gap: 44px; align-items: center; margin-top: 12px; }
.pagehead h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 8px; }
.pagehead p { color: var(--muted); margin: 14px 0 24px; font-size: 1.04rem; max-width: 34em; }
.pagehead__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.pagehead__points { list-style: none; display: grid; gap: 12px; }
.pagehead__points li {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-sm);
}
.pagehead__points strong { display: block; font-size: .95rem; color: var(--brand-dark); }
.pagehead__points span { color: var(--muted); font-size: .86rem; }
@media (max-width: 860px) { .pagehead__inner { grid-template-columns: 1fr; gap: 28px; } }

.crumb { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); }
.crumb a { color: var(--brand); font-weight: 600; }
.crumb a:hover { text-decoration: underline; }
.crumb--light, .crumb--light span { color: rgba(255,255,255,.75); }
.crumb--light a { color: #fff; }

/* ---------- Vitrina de destacados (portada) ---------- */
.grid--featured { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--featured { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid--featured { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- Franja de ayuda ---------- */
.helpstrip {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 34px; box-shadow: var(--shadow-sm);
}
.helpstrip h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.helpstrip p { color: var(--muted); margin-top: 8px; max-width: 40em; }
.helpstrip__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Página de Alquiler ---------- */
.renthero { position: relative; background: var(--brand); color: #fff; padding: 26px 0 66px; overflow: hidden; }
.renthero::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; height: 80%;
  background: radial-gradient(circle at 60% 40%, rgba(216,167,167,.30), transparent 62%);
  pointer-events: none;
}
.renthero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; margin-top: 18px; }
.renthero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.3rem); margin: 14px 0 0; max-width: 11em; }
.renthero p { color: rgba(255,255,255,.85); margin: 16px 0 26px; font-size: 1.06rem; max-width: 34em; }
.renthero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.renthero__trust { list-style: none; display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.renthero__trust li { display: flex; flex-direction: column; padding-left: 14px; border-left: 2px solid var(--accent); }
.renthero__trust strong { color: #fff; font-size: 1.02rem; }
.renthero__trust span { color: rgba(255,255,255,.75); font-size: .84rem; }
.renthero__art img {
  width: 100%; height: 380px; object-fit: cover; border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.14);
}
.pill--light { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn--ghostlight { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); cursor: pointer; }
.btn--ghostlight:hover { background: rgba(255,255,255,.12); border-color: #fff; }
@media (max-width: 900px) {
  .renthero__inner { grid-template-columns: 1fr; gap: 28px; }
  .renthero__art img { height: 260px; }
}

/* Tarjetas de equipo */
.eqgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.eqcard {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-out-quint), box-shadow .25s var(--ease-out-quint);
}
.eqcard:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(47,62,52,.13); }
.eqcard__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.eqcard__ic svg { width: 28px; height: 28px; }
.eqcard h3 { font-size: 1.08rem; margin-bottom: 7px; color: var(--brand-dark); }
.eqcard p { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.eqcard__tag { display: inline-block; margin-top: 14px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); background: var(--rose-soft); padding: 5px 11px; border-radius: 999px; }
@media (max-width: 980px) { .eqgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .eqgrid { grid-template-columns: 1fr; } }

/* Pasos "cómo funciona" */
.howsteps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: paso; }
.howstep { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 22px 24px; box-shadow: var(--shadow-sm); }
.howstep__num {
  position: absolute; top: -16px; left: 22px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff;
  font-weight: 700; font-size: 1rem; box-shadow: 0 8px 18px rgba(47,62,52,.28);
}
.howstep h3 { font-size: 1.02rem; margin: 10px 0 7px; color: var(--brand-dark); }
.howstep p { color: var(--muted); font-size: .89rem; line-height: 1.5; }
@media (max-width: 980px) { .howsteps { grid-template-columns: repeat(2, 1fr); gap: 26px; } }
@media (max-width: 520px) { .howsteps { grid-template-columns: 1fr; } }

/* Formulario de alquiler: el panel siempre visible */
.cita__form--rental .rental-panel { margin-bottom: 4px; }

/* Banner de alquiler dentro de Servicios */
.rentbanner-sec { padding-top: 0; }
.rentbanner {
  position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center; gap: 0; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--brand); color: #fff; box-shadow: var(--shadow);
  transition: transform .25s var(--ease-out-quint), box-shadow .25s var(--ease-out-quint);
}
.rentbanner:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.rentbanner__media { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.rentbanner__body { display: flex; flex-direction: column; gap: 8px; padding: 34px 38px; }
.rentbanner__tag { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.rentbanner__title { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.2; }
.rentbanner__desc { color: rgba(255,255,255,.82); font-size: .95rem; max-width: 40em; }
.rentbanner__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; color: #fff; }
.rentbanner__link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.rentbanner:hover .rentbanner__link svg { transform: translateX(4px); }
@media (max-width: 760px) {
  .rentbanner { grid-template-columns: 1fr; }
  .rentbanner__media { min-height: 180px; }
  .rentbanner__body { padding: 26px 24px 30px; }
}

/* Preguntas compactas (alquiler) */
.faq--compact { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq__item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--brand-dark);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.35rem; color: var(--sage); line-height: 1; flex-shrink: 0; }
.faq__item[open] summary::after { content: "–"; }
.faq__body { padding: 0 22px 20px; color: var(--muted); font-size: .93rem; line-height: 1.6; }
.faq__body a { color: var(--brand); font-weight: 600; text-decoration: underline; }

/* ---------- Carrito y checkout ---------- */
.cart__note { color: var(--muted); font-size: .78rem; text-align: center; margin-top: 10px; }
.checkout__steps {
  display: flex; align-items: center; gap: 8px; list-style: none; margin: 4px 0 18px;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.checkout__steps li { display: flex; align-items: center; gap: 8px; }
.checkout__steps li:not(:last-child)::after { content: ""; width: 18px; height: 1.5px; background: var(--line); }
.checkout__steps .is-done { color: var(--sage); }
.checkout__steps .is-active { color: var(--brand-dark); }

/* ---------- Pie de página nuevo ---------- */
.footer { padding: 0 0 26px; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px;
  padding: 48px 22px 34px; border-top: 1px solid rgba(255,255,255,.09);
}
.footer__grid--slim { grid-template-columns: 1.6fr 1fr 1fr; border-top: none; }
.footer__brand p { color: #a9b7a9; font-size: .88rem; line-height: 1.6; margin-top: 14px; max-width: 32em; }
.footer__social { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.footer__social a { display: inline-flex; align-items: center; gap: 9px; color: #cbd8cb; font-size: .87rem; font-weight: 500; transition: color .16s ease; }
.footer__social a:hover { color: #fff; }
.footer__col h4 {
  font-family: "Poppins", sans-serif; font-size: .74rem; letter-spacing: .13em;
  text-transform: uppercase; color: #fff; margin-bottom: 14px;
}
.footer__col a { display: block; color: #a9b7a9; font-size: .89rem; padding: 5px 0; transition: color .16s ease, transform .16s ease; }
.footer__col a:hover { color: #fff; transform: translateX(3px); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.09); padding-top: 22px; }
.footer__bottom p { color: #8c9a8c; font-size: .82rem; }
.footer .newsletter { margin-top: 0; }
@media (max-width: 900px) {
  .footer__grid, .footer__grid--slim { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__grid, .footer__grid--slim { grid-template-columns: 1fr; }
}

/* --- Ajustes finos del rediseño --- */

/* Botón claro sobre el verde de la portada de Alquiler */
.renthero .btn--accent { background: #fff; color: var(--brand-dark); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.renthero .btn--accent:hover { background: #f3f6f3; }

/* Calendario de alquiler: tamaño humano y al lado de los campos en PC */
.rcal { max-width: 420px; margin: 0 auto 18px; }
.rcal__day { aspect-ratio: auto; height: 40px; }
.rental-panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rental-panel__grid .rental-kpi { grid-column: 1 / -1; }
@media (min-width: 861px) {
  .cita__form--rental .rental-panel {
    display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 24px; align-items: start;
  }
  .cita__form--rental .rental-panel__head { grid-column: 1 / -1; }
  .cita__form--rental .rcal { margin: 0; }
  .cita__form--rental .rental-panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .rental-panel__grid { grid-template-columns: 1fr; }
}

/* En escritorio el pop-up va arriba del asistente (ambos abajo a la izquierda).
   En teléfono se reposiciona en el bloque del final del archivo. */
.np { bottom: 92px; }
.rental-panel__grid .rental-panel__install { grid-column: 1 / -1; }

/* Separador suave entre pestañas del menú móvil */
@media (max-width: 1000px) {
  .nav a + a { border-top: 1px solid var(--line); border-radius: 0; }
  .nav a:first-child { border-radius: 12px 12px 0 0; }
  .nav a:last-of-type { border-radius: 0 0 12px 12px; }
}

/* El banner de alquiler no debe crecer con el alto de la foto */
.rentbanner__media { max-height: 340px; }
@media (max-width: 760px) { .rentbanner__media { max-height: 220px; } }

/* =====================================================================
   INSTAGRAM — "Lo último que publicamos" (portada)
   Banda propia entre la franja de confianza y los destacados. Usa la
   paleta de la marca: el aro del perfil va rosa→salvia en vez del
   degradado de Instagram, para que no pelee con el verde bosque.
   ===================================================================== */
.instagram-notice {
  position: relative; z-index: 4; background: linear-gradient(90deg, var(--brand) 0%, #45594a 100%);
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.18);
}
.instagram-notice__inner { min-height: 58px; display: flex; align-items: center; gap: 14px; padding-top: 9px; padding-bottom: 9px; }
.instagram-notice__badge {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.2); color: #fff;
  font-size: .7rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap;
}
.instagram-notice__copy { min-width: 0; flex: 1; display: flex; align-items: baseline; gap: 8px 12px; flex-wrap: wrap; }
.instagram-notice__copy strong { color: #fff; font-size: .92rem; }
.instagram-notice__copy span { color: rgba(255,255,255,.8); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 56ch; }
.instagram-notice__link { color: #fff; font-weight: 800; font-size: .84rem; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.instagram-notice__link:hover { color: #fff; opacity: .8; }

.iggram {
  background: linear-gradient(180deg, #fff 0%, var(--brand-soft) 100%);
  padding-bottom: 64px;
}

.ig__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 28px;
}
.ig__intro h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-top: 4px; }

/* Barra de perfil */
.ig__bar { display: flex; align-items: center; gap: 14px; }
.ig__avatar {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  padding: 3px; flex-shrink: 0;
  background: conic-gradient(from 210deg, var(--accent), var(--sage), var(--accent-dark), var(--accent));
  transition: transform .2s var(--ease-out-quint);
}
.ig__avatar:hover { transform: scale(1.04); }
.ig__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2.5px solid #fff; }
.ig__who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.ig__handle { font-weight: 650; color: var(--brand-dark); font-size: .98rem; }
.ig__handle:hover { text-decoration: underline; }
.ig__name { color: var(--muted); font-size: .84rem; }
.ig__follow { padding: 10px 22px; font-size: .88rem; }

/* Riel de publicaciones */
.ig__rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.ig__card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 8px 22px rgba(47, 62, 52, .06);
  transition: transform .26s var(--ease-out-quint), box-shadow .26s var(--ease-out-quint);
  animation: igIn .5s var(--ease-out-quint) backwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}
.ig__card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(47, 62, 52, .14); }
@keyframes igIn { from { opacity: 0; transform: translateY(14px); } }

/* La publicación incrustada se recorta a una altura pareja para que
   todas las tarjetas queden iguales. */
.ig__media { position: relative; background: var(--surface-warm); overflow: hidden; }
.ig__media--embed { aspect-ratio: 1 / 1.34; }
.ig__media--foto { aspect-ratio: 1 / 1; }
.ig__frame { width: 100%; height: 100%; border: 0; display: block; }
.ig__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig__media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 42px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}

.ig__text { color: var(--muted); font-size: .89rem; line-height: 1.5; padding: 14px 18px 0; }
.ig__open {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  padding: 14px 18px 16px; font-size: .88rem; font-weight: 650; color: var(--brand);
}
.ig__open svg { width: 16px; height: 16px; transition: transform .2s ease; }
.ig__card:hover .ig__open svg { transform: translateX(4px); }

/* Sin publicaciones configuradas: invitación, no un hueco vacío */
.ig__rail--empty { grid-template-columns: 1fr; }
.ig__invite {
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 26px 30px; box-shadow: var(--shadow-sm);
}
.ig__invite p { color: var(--muted); max-width: 46em; margin: 0; }

/* --- Teléfono: el riel se desliza de lado, como en Instagram --- */
@media (max-width: 860px) {
  .instagram-notice__inner { align-items: flex-start; flex-wrap: wrap; gap: 8px 11px; padding-top: 11px; padding-bottom: 11px; }
  .instagram-notice__copy { flex: 1 1 220px; display: block; }
  .instagram-notice__copy span { display: block; margin-top: 2px; max-width: 100%; }
  .instagram-notice__link { margin-left: auto; }
  .iggram { padding-bottom: 48px; }
  .ig__head { align-items: flex-start; gap: 18px; }
  .ig__bar { width: 100%; }
  .ig__follow { margin-left: auto; }
  .ig__rail {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    /* que las tarjetas puedan "asomarse" fuera del contenedor */
    margin: 0 -22px; padding: 4px 22px 12px;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .ig__rail::-webkit-scrollbar { display: none; }
  .ig__card { flex: 0 0 78%; max-width: 320px; scroll-snap-align: start; }
  .ig__rail--empty { display: block; margin: 0; padding: 0; }
  .ig__invite { padding: 22px 22px 24px; }
  .ig__invite .btn { width: 100%; }
}
@media (max-width: 400px) {
  .instagram-notice__link { width: 100%; margin-left: 0; }
  .ig__card { flex-basis: 86%; }
}

@media (prefers-reduced-motion: reduce) {
  .ig__card { animation: none; }
  .ig__card:hover { transform: none; }
  .ig__avatar:hover { transform: none; }
}

/* Contacto: el renglón de Instagram tiene 2 enlaces + separador. Antes eran
   hijos sueltos del <li> (flex sin wrap) y se cortaban en pantallas angostas.
   Ahora van agrupados en un span que sí puede partirse en dos líneas. */
.contact__ig { min-width: 0; }

/* Cualquier botón deshabilitado (ej. "Agotado" en la ficha de producto) debe
   verse claramente distinto al activo, no solo perder el clic. */
.btn:disabled {
  background: #eef1ee; color: var(--muted); border-color: var(--line);
  cursor: not-allowed; box-shadow: none; transform: none;
}
.btn:disabled:hover { background: #eef1ee; transform: none; box-shadow: none; }

/* --- Íconos dentro de botones y avisos ---
   Los botones ya son flex con gap, así que basta con darle tamaño al SVG. */
.btn > svg { width: 18px; height: 18px; flex-shrink: 0; }
.cita-summary--ok { display: flex; align-items: flex-start; gap: 10px; }
.cita-summary--ok > svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: #1d7a4d; }

/* --- Pop-up del boletín en teléfono ---
   En pantalla chica se convierte en una franja compacta abajo: se quita el
   párrafo (el título ya dice de qué se trata) y el formulario queda en una
   línea. Antes ocupaba casi la mitad de la pantalla y tapaba los botones. */
@media (max-width: 560px) {
  /* Va ARRIBA del asistente y del botón de WhatsApp (ambos llegan a ~62px),
     no encima de ellos. */
  .np {
    left: 8px; right: 8px; bottom: calc(74px + env(safe-area-inset-bottom));
    max-width: none; padding: 14px 16px; border-radius: 18px;
  }
  .np p { display: none; }
  .np h4 { font-size: .95rem; margin-bottom: 10px; padding-right: 24px; }
  .np__form { gap: 6px; }
  .np__form input { min-height: 44px; font-size: .9rem; }
  .np__form .btn { padding: 0 14px; min-height: 44px; font-size: .85rem; white-space: nowrap; }
  .np__close { top: 6px; right: 8px; padding: 6px; }
}

/* --- Solicitudes plegables (CRM) ---
   Cada tarjeta es un <details>: el encabezado siempre visible y el detalle se
   abre al tocarla. Antes todas estaban abiertas y con pocas solicitudes la
   lista ya era interminable. */
.lead-card > summary {
  cursor: pointer; list-style: none; margin-bottom: 0;
  border-radius: 12px; transition: background .15s ease;
}
.lead-card > summary::-webkit-details-marker { display: none; }
.lead-card > summary:hover { background: var(--surface-warm); }
.lead-card > summary::after {
  content: ""; flex-shrink: 0; align-self: center; width: 9px; height: 9px;
  margin-left: 2px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
.lead-card[open] > summary::after { transform: rotate(-135deg); }
.lead-card[open] > summary { margin-bottom: 12px; }
.lead-card > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* El texto del encabezado no debe empujar a la flecha fuera de la tarjeta */
.lead-card__top > div { min-width: 0; }

/* En teléfono el encabezado de la solicitud se apila: antes el origen
   ("Desde el carrito · hace 26 min") peleaba por el ancho con los badges y
   se partía en dos líneas. */
@media (max-width: 620px) {
  .lead-card__top { flex-wrap: wrap; gap: 6px 10px; }
  .lead-card__top > div { flex: 1 1 100%; order: 1; }
  .lead-card__top > small { order: 2; font-size: .74rem; }
  .lead-card > summary::after { order: 3; margin-left: auto; }
}

/* --- CRM más rápido de atender --- */
/* En teléfono la cola accionable aparece antes que las métricas. Así se puede
   responder una solicitud sin atravesar gráficas y calendario primero. */
.agenda-insights, .agenda-workqueue { min-width: 0; }

/* Conversaciones compactas: se identifica la última consulta sin desplegar
   toda la transcripción. Conserva el mismo patrón plegable de solicitudes. */
.conv-card > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  cursor: pointer; list-style: none; margin: 0; border-radius: 12px;
}
.conv-card > summary::-webkit-details-marker { display: none; }
.conv-card > summary::after {
  content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease;
}
.conv-card[open] > summary { margin-bottom: 12px; }
.conv-card[open] > summary::after { transform: rotate(-135deg); }
.conv-card > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.conv-card .conv__head > div { min-width: 0; }
.conv-card .conv__head strong, .conv-card .conv__head .muted { display: block; }
.conv-card .conv__head .muted { margin-top: 2px; font-size: .76rem; }
.conv__preview { min-width: 0; overflow: hidden; color: var(--muted); font-size: .82rem; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.conv__actions { display: flex; justify-content: flex-end; margin-bottom: 8px; }

@media (max-width: 1080px) {
  .admin-sidebar { padding: 20px; }
  .admin-sidebar p { display: none; }
  .admin__tabs {
    flex-wrap: nowrap; overflow-x: auto; margin-top: 18px; padding-bottom: 4px;
    scrollbar-width: thin; -webkit-overflow-scrolling: touch;
  }
  .tab { flex: 0 0 auto; min-width: max-content; text-align: center; white-space: nowrap; }
}

@media (max-width: 820px) {
  #tab-agenda { display: flex; flex-direction: column; }
  #tab-alquiler { min-width: 0; }
  .agenda-workqueue { order: 1; }
  .agenda-insights { order: 2; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .conv-card > summary { align-items: flex-start; }
  .conv__preview { flex: 1 1 100%; order: 2; text-align: left; white-space: normal; }
  .conv-card > summary::after { order: 3; margin-left: auto; }
}

@media (max-width: 560px) {
  body.admin .header__inner { gap: 8px; }
  body.admin .brand__text small { display: none; }
  body.admin .header__actions .btn { min-height: 38px; padding: 0 10px; font-size: .78rem; }
  .lead-pipeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipe { min-width: 0; }
  .pipe-arrow { display: none; }
}

/* --- Alquiler con disponibilidad publicada ---
   La familia elige una opción creada por la administradora, no una fecha
   abierta. Así la web comunica claramente lo que está disponible de verdad. */
.rental-availability-status {
  margin: 2px 0 14px; padding: 10px 12px; border: 1px solid rgba(122,143,124,.24);
  border-radius: 12px; background: rgba(255,255,255,.72); color: var(--brand-dark); font-size: .84rem;
}
.rental-availability-status:empty { display: none; }
.rental-availability-status.is-error { border-color: #edc7bc; background: #fff5f2; color: #9b4237; }
.rental-options { padding: 16px; }
.rental-options__head, .rental-options__empty { display: flex; flex-direction: column; gap: 3px; }
.rental-options__head { margin-bottom: 12px; }
.rental-options__head strong, .rental-options__empty strong { color: var(--brand-dark); }
.rental-options__head span, .rental-options__empty span { color: var(--muted); font-size: .83rem; }
.rental-options__empty { min-height: 92px; justify-content: center; align-items: center; text-align: center; padding: 16px; border: 1px dashed var(--line); border-radius: 14px; }
.rental-options__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.rental-option {
  min-width: 0; border: 1px solid var(--line); border-radius: 15px; padding: 14px; background: #fff;
  color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  transition: transform .18s var(--ease-out-quint), border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.rental-option:hover { transform: translateY(-2px); border-color: var(--sage); box-shadow: var(--shadow-sm); }
.rental-option:focus-visible { outline: 3px solid rgba(122,143,124,.35); outline-offset: 2px; }
.rental-option.is-selected { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 12px 24px rgba(47,62,52,.18); }
.rental-option > span, .rental-option > strong, .rental-option > small { display: block; }
.rental-option__eyebrow { margin-bottom: 5px; color: var(--sage); font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rental-option.is-selected .rental-option__eyebrow { color: #dce7dc; }
.rental-option strong { color: var(--brand-dark); font-size: .96rem; line-height: 1.35; }
.rental-option.is-selected strong { color: #fff; }
.rental-option > span:not(.rental-option__eyebrow), .rental-option small { margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.rental-option.is-selected > span:not(.rental-option__eyebrow), .rental-option.is-selected small { color: rgba(255,255,255,.78); }
.rental-slots-empty { grid-column: 1 / -1; margin: 0; padding: 13px 14px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); font-size: .87rem; text-align: center; }

/* Editor de disponibilidad dentro de CRM. No borra historial: se puede ocultar
   o volver a mostrar una fecha sin perder la referencia de solicitudes viejas. */
.rental-availability-admin {
  margin: 22px 0; padding: 20px; border: 1px solid rgba(122,143,124,.3); border-radius: 20px;
  background: linear-gradient(135deg, #fbfaf7 0%, #eef4ee 100%);
}
.rental-availability-admin__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.rental-availability-admin__head h3 { margin-top: 3px; color: var(--brand-dark); font-size: 1.16rem; }
.rental-availability-admin__head p { max-width: 45em; margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.rental-availability-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; padding: 16px; border: 1px solid rgba(122,143,124,.2); border-radius: 16px; background: #fff; }
.rental-availability-form > label, .rental-availability-form fieldset { min-width: 0; margin: 0; }
.rental-availability-form__note, .rental-availability-slots, .rental-availability-form__actions { grid-column: 1 / -1; }
.rental-availability-slots { padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.rental-availability-slots legend { padding: 0 5px; color: var(--brand-dark); font-size: .83rem; font-weight: 800; }
.rental-availability-slots__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.rental-availability-slot { min-height: 36px; margin: 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-warm); color: var(--brand-dark); font-size: .8rem; }
.rental-availability-slot input { width: auto; margin: 0 5px 0 0; accent-color: var(--brand); }
.rental-availability-slots__extra { display: block; margin-top: 11px; }
.rental-availability-form__active { align-self: end; min-height: 44px; margin: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-warm); color: var(--brand-dark); font-size: .82rem; }
.rental-availability-form__active input { width: auto; margin: 0 7px 0 0; accent-color: var(--brand); }
.rental-availability-form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 2px; }
.rental-availability-form__actions .muted { margin: 0; font-size: .82rem; }
.rental-availability-form__actions .muted.is-error { color: #9b4237; }
.rental-availability-list { margin-top: 16px; }
.rental-availability-list__head { display: flex; justify-content: space-between; gap: 12px; margin: 0 2px 9px; color: var(--brand-dark); font-size: .85rem; }
.rental-availability-list__head span { color: var(--muted); font-size: .78rem; }
.rental-availability-list__error { margin: 0; padding: 12px; border: 1px solid #edc7bc; border-radius: 12px; background: #fff5f2; color: #9b4237; }
.rental-availability-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.rental-availability-card + .rental-availability-card { margin-top: 8px; }
.rental-availability-card.is-hidden { opacity: .66; background: #faf9f7; }
.rental-availability-card__main { min-width: 0; display: grid; gap: 2px; }
.rental-availability-card__main strong { color: var(--brand-dark); font-size: .94rem; }
.rental-availability-card__main > span:not(.rental-availability-card__state), .rental-availability-card__main small, .rental-availability-card__main p { color: var(--muted); font-size: .8rem; }
.rental-availability-card__main p { margin: 4px 0 0; }
.rental-availability-card__state { width: max-content; padding: 3px 8px; border-radius: 999px; background: #e7f3e8; color: #256343; font-size: .68rem; font-weight: 800; }
.rental-availability-card.is-hidden .rental-availability-card__state { background: #f0ece6; color: #716a60; }
.rental-availability-card__actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 7px; flex-shrink: 0; }

@media (max-width: 820px) {
  .rental-availability-admin__head { align-items: flex-start; flex-direction: column; }
  .rental-availability-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .rental-options__list, .rental-availability-form { grid-template-columns: 1fr; }
  .rental-availability-form__note, .rental-availability-slots, .rental-availability-form__actions { grid-column: auto; }
  .rental-availability-card { align-items: flex-start; flex-direction: column; }
  .rental-availability-card__actions { justify-content: flex-start; }
}
