/* Muebles Arleth — sistema cálido familiar */
:root {
  /* Paleta de marca: el azul es ahora el color principal y el naranja el acento.
     Los nombres de variable se conservan; solo se intercambiaron los valores
     para invertir el rol naranja<->azul en toda la UI. */
  --naranja: #0E3A8A;
  --naranja-deep: #0a2a66;
  --naranja-soft: #7da6e8; /* azul claro: acento sobre fondos oscuros (eyebrow-light, footer hover) */
  --azul: #f58536;
  --azul-deep: #c25a14;
  --azul-soft: #fca777;
  --crema: #fafafa;
  --crema-2: #f4f4f2;
  --crema-3: #ebeae6;
  --tinta: #1a1a1a;
  --tinta-soft: #4a4a4a;
  --tinta-mute: #8a8478;
  --linea: #ececec;
  --footer-bg: #111111;
  --verde-wa: #25d366;
  --verde-wa-deep: #1ebe5a;
  --rojo: #c53030;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--crema);
  color: var(--tinta);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.serif { font-family: 'Fraunces', 'Cormorant Garamond', Georgia, serif; font-weight: 500; letter-spacing: -0.02em; }
.serif-italic { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400; }

/* botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-family: inherit;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; white-space: nowrap;
}
button, input, select, textarea { font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-naranja { background: var(--naranja); color: white; box-shadow: 0 4px 14px rgba(14, 58, 138,0.35); }
.btn-naranja:hover { background: var(--naranja-deep); box-shadow: 0 6px 20px rgba(14, 58, 138,0.45); }
.btn-azul { background: var(--azul); color: white; }
.btn-azul:hover { background: var(--azul-deep); }
.btn-wa { background: var(--verde-wa); color: white; }
.btn-wa:hover { background: var(--verde-wa-deep); }
.btn-ghost { background: transparent; color: var(--tinta); border: 1.5px solid var(--linea); }
.btn-ghost:hover { background: var(--crema-2); border-color: var(--tinta-mute); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: white; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost-light:hover { background: rgba(255,255,255,.15); }
.btn-lg { padding: 18px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* containers */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 980px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) {
  .container, .container-narrow { padding: 0 18px; }
}

/* sticky cta wa */
.fab-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
  background: var(--verde-wa); color: white;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 30px rgba(37,211,102,0.35);
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  transition: transform .2s ease;
}
.fab-wa:hover { transform: translateY(-2px); }

/* utilities */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--naranja);
}
.eyebrow-light { color: var(--naranja-soft); }

/* nav */
.nav {
  background: var(--crema);
  border-bottom: 1px solid var(--linea);
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(250,250,250,0.92);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; max-width: 1240px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); }
.nav-logo-icon { width: 38px; height: 38px; }
.nav-logo-text { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.nav-logo-tag { font-size: 10px; color: var(--tinta-mute); letter-spacing: 0.1em; text-transform: uppercase; margin-top: -2px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link { color: var(--tinta-soft); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-link:hover { color: var(--azul); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-link-mobile { display: none; }
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--tinta);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.nav-cart:hover { background: var(--crema-2); color: var(--azul); }
.nav-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--naranja);
  color: white;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--crema);
}

@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-wa-desktop { display: none; }
  .nav-link-mobile { display: inline; font-size: 14px; }
  .nav-cta { gap: 14px; }
}

/* footer */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 24px;
  margin-top: 80px;
}
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer a:hover { color: var(--naranja-soft); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px; margin-bottom: 48px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-title {
  color: white; font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; font-size: 13px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}

/* section heading */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-family: 'Fraunces', serif; font-size: clamp(32px, 4vw, 48px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; color: var(--tinta); }
.section-head h2 em { font-style: italic; color: var(--naranja-deep); font-weight: 400; }
.section-head p { color: var(--tinta-soft); font-size: 17px; margin-top: 14px; max-width: 600px; margin-left: auto; margin-right: auto; }
