/* ==========================================================================
   ESTHER TUR — DISEÑO BOTÁNICO (propuesta 2, preview)
   Dirección: spa natural / orgánico. Fondo cálido y claro, verde bosque,
   terracota, formas de arco, mucho aire y movimiento suave.
   Aislado bajo .nb — no afecta a ninguna otra página.
   ========================================================================== */

.nb {
  --nb-oat:      #F7F3EA;   /* fondo cálido */
  --nb-oat-2:    #EFE8DA;
  --nb-cream:    #FFFDF8;
  --nb-forest:   #2E3D2F;   /* verde profundo: texto y bloques */
  --nb-moss:     #5C7052;
  --nb-clay:     #C2643F;   /* acento terracota */
  --nb-clay-lt:  #E2A183;
  --nb-ink:      #33372F;
  --nb-soft:     #6E6F63;
  --nb-line:     rgba(46, 61, 47, .14);

  --nb-display: "Fraunces", Georgia, serif;
  --nb-ui:      "Karla", system-ui, sans-serif;

  --nb-gut:  clamp(20px, 5vw, 72px);
  --nb-maxw: 1280px;
  --nb-r:    22px;          /* radio suave general */

  background: var(--nb-oat);
  color: var(--nb-ink);
  font-family: var(--nb-ui);
  font-size: 1.04rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.nb *, .nb *::before, .nb *::after { box-sizing: border-box; }
.nb h1, .nb h2, .nb h3, .nb h4, .nb p, .nb figure, .nb blockquote, .nb ul { margin: 0; }
.nb h1, .nb h2, .nb h3, .nb h4 {
  font-family: var(--nb-display); font-weight: 400; color: var(--nb-forest);
  line-height: 1.06; letter-spacing: -.015em;
}
.nb img { display: block; max-width: 100%; }
.nb a { color: inherit; text-decoration: none; }

.nb__wrap { max-width: var(--nb-maxw); margin-inline: auto; padding-inline: var(--nb-gut); }
.nb-sec { padding-block: clamp(60px, 9vw, 130px); position: relative; }
.nb-sec--cream { background: var(--nb-cream); }
.nb-sec--oat2  { background: var(--nb-oat-2); }

/* Etiquetas ------------------------------------------------------------- */
.nb-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--nb-clay); margin-bottom: 18px;
}
.nb-tag::before {
  content: ""; width: 22px; height: 1px; background: currentColor; display: block;
}
.nb-lead { color: var(--nb-soft); max-width: 56ch; }

/* Botones --------------------------------------------------------------- */
.nb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--nb-ui); font-size: .88rem; font-weight: 600; cursor: pointer;
  padding: 15px 30px; border-radius: 999px; border: 1.5px solid var(--nb-forest);
  background: var(--nb-forest); color: var(--nb-cream);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .35s ease, color .35s ease, box-shadow .35s ease;
  box-shadow: 0 6px 18px rgba(46,61,47,.14);
}
.nb-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(46,61,47,.22); color: var(--nb-cream); }
.nb-btn--ghost {
  background: transparent; color: var(--nb-forest); box-shadow: none;
  border-color: rgba(46,61,47,.35);
}
.nb-btn--ghost:hover { background: var(--nb-forest); color: var(--nb-cream); }
.nb-btn--clay { background: var(--nb-clay); border-color: var(--nb-clay); }

/* ==========================================================================
   CABECERA
   ========================================================================== */
.nb-head {
  position: sticky; top: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--nb-gut);
  background: rgba(247,243,234,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .4s ease, box-shadow .4s ease;
}
.nb-head.is-stuck { border-bottom-color: var(--nb-line); box-shadow: 0 6px 22px rgba(46,61,47,.06); }
.nb-head__logo { display: flex; align-items: center; gap: 11px; }
.nb-head__logo img { width: 42px; height: 42px; border-radius: 50%; }
.nb-head__logo b { font-family: var(--nb-display); font-weight: 600; font-size: 1.06rem; color: var(--nb-forest); }
.nb-nav { display: flex; gap: clamp(14px, 2.2vw, 30px); }
.nb-nav a {
  font-size: .9rem; font-weight: 500; color: var(--nb-ink); opacity: .85;
  padding: 6px 2px; border-bottom: 1.5px solid transparent; transition: all .3s ease;
}
.nb-nav a:hover { opacity: 1; color: var(--nb-clay); border-bottom-color: var(--nb-clay); }
@media (max-width: 940px) { .nb-nav { display: none; } }

/* ==========================================================================
   HERO — texto a la izquierda, imagen en ARCO a la derecha
   ========================================================================== */
.nb-hero { padding-block: clamp(36px, 6vw, 84px) clamp(50px, 8vw, 110px); position: relative; overflow: hidden; }
.nb-hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 6vw, 76px); align-items: center;
}
.nb-hero__h {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem); letter-spacing: -.03em;
}
.nb-hero__h em {
  font-style: italic; color: var(--nb-clay); font-variation-settings: "SOFT" 60, "WONK" 1;
}
.nb p.nb-hero__p { margin-top: 22px; font-size: 1.09rem; color: var(--nb-soft); max-width: 44ch; }
.nb-hero__acts { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Marco de arco (la firma visual de esta propuesta) */
.nb-arch {
  position: relative; border-radius: 999px 999px 26px 26px; overflow: hidden;
  aspect-ratio: 3/4; background: var(--nb-oat-2);
}
.nb-arch img { width: 100%; height: 100%; object-fit: cover; }
.nb-hero__media { position: relative; }
/* Mancha orgánica detrás */
.nb-hero__blob {
  position: absolute; inset: -8% -10% 12% -12%; z-index: -1;
  background: radial-gradient(closest-side, rgba(92,112,82,.30), transparent 72%);
  filter: blur(6px);
}
.nb-hero__badge {
  position: absolute; left: -22px; bottom: 34px;
  background: var(--nb-cream); border-radius: 18px; padding: 14px 18px;
  box-shadow: 0 14px 34px rgba(46,61,47,.16); max-width: 210px;
}
.nb-hero__badge b { font-family: var(--nb-display); font-size: 1.5rem; color: var(--nb-clay); display: block; }
.nb-hero__badge span { font-size: .82rem; color: var(--nb-soft); line-height: 1.4; display: block; }
@media (max-width: 880px) {
  .nb-hero__grid { grid-template-columns: 1fr; }
  .nb-hero__media { order: -1; max-width: 460px; margin-inline: auto; }
  .nb-hero__badge { left: 0; }
}

/* Cinta de valores ------------------------------------------------------ */
.nb-strip { background: var(--nb-forest); color: var(--nb-cream); overflow: hidden; padding-block: 15px; }
.nb-strip__track { display: flex; gap: 40px; width: max-content; animation: nbSlide 40s linear infinite; }
.nb-strip__i {
  display: flex; align-items: center; gap: 40px; white-space: nowrap;
  font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.nb-strip__i::after { content: "❋"; color: var(--nb-clay-lt); }
@keyframes nbSlide { to { transform: translateX(-50%); } }

/* ==========================================================================
   SERVICIOS — tarjetas suaves con miniatura en arco
   ========================================================================== */
.nb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.nb-card {
  background: var(--nb-cream); border-radius: var(--nb-r); padding: 16px 16px 26px;
  border: 1px solid var(--nb-line); display: flex; flex-direction: column;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.nb-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(46,61,47,.13); }
.nb-card__pic { border-radius: 999px 999px 16px 16px; overflow: hidden; aspect-ratio: 4/5; margin-bottom: 18px; }
.nb-card__pic img { width: 100%; height: 100%; object-fit: cover; }
.nb-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.nb-card p { font-size: .94rem; color: var(--nb-soft); }
.nb-card__go { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: .88rem; color: var(--nb-clay); }

/* ==========================================================================
   SOBRE ESTHER
   ========================================================================== */
.nb-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 78px); align-items: center; }
.nb-about__media .nb-arch { aspect-ratio: 4/5; }
.nb-about h2 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); margin-bottom: 20px; }
.nb-about p + p { margin-top: 16px; }
.nb-about p { color: var(--nb-soft); }
.nb-sign {
  margin-top: 26px; font-family: var(--nb-display); font-style: italic;
  font-size: 1.3rem; color: var(--nb-forest);
}
@media (max-width: 880px) { .nb-about { grid-template-columns: 1fr; } }

/* ==========================================================================
   EL ESPACIO — vídeo vertical + foto, en tarjetas redondeadas
   ========================================================================== */
.nb-space { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(18px, 3.4vw, 46px); align-items: center; }
.nb-space__vid {
  position: relative; aspect-ratio: 9/16; overflow: hidden;
  border-radius: var(--nb-r); background: #000; width: 100%; max-width: 340px;
}
.nb-space__vid iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  height: 100%; width: 316%; min-width: 316%; border: 0; pointer-events: none;
}
.nb-space__pic { border-radius: var(--nb-r); overflow: hidden; aspect-ratio: 5/4; }
.nb-space__pic img { width: 100%; height: 100%; object-fit: cover; }
.nb p.nb-space__txt { margin-top: 22px; }
@media (max-width: 880px) { .nb-space { grid-template-columns: 1fr; } .nb-space__vid { max-width: 300px; margin-inline: auto; } }

/* ==========================================================================
   PRODUCTOS — carrusel horizontal
   ========================================================================== */
.nb-rail { display: flex; gap: 14px; overflow-x: auto; padding-block: 6px 18px; scroll-snap-type: x mandatory; }
.nb-rail::-webkit-scrollbar { height: 6px; }
.nb-rail::-webkit-scrollbar-thumb { background: var(--nb-line); border-radius: 99px; }
.nb-prod {
  flex: 0 0 auto; width: 190px; scroll-snap-align: start;
  background: var(--nb-cream); border: 1px solid var(--nb-line); border-radius: 18px;
  padding: 20px 18px; transition: transform .35s ease, border-color .35s ease;
}
.nb-prod:hover { transform: translateY(-4px); border-color: var(--nb-clay-lt); }
.nb-prod span { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--nb-clay); }
.nb-prod h4 { font-size: 1.02rem; margin-top: 8px; line-height: 1.25; }

/* ==========================================================================
   OPINIONES
   ========================================================================== */
.nb-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2.4vw, 26px); }
.nb-quote {
  background: var(--nb-cream); border-radius: var(--nb-r); padding: 30px 26px;
  border: 1px solid var(--nb-line);
}
.nb-quote p { font-family: var(--nb-display); font-size: 1.06rem; line-height: 1.55; color: var(--nb-forest); }
.nb-quote footer { margin-top: 16px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--nb-clay); }
.nb-stars { color: var(--nb-clay); letter-spacing: .18em; margin-bottom: 12px; font-size: .9rem; }

/* ==========================================================================
   DIARIO
   ========================================================================== */
.nb-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 2.4vw, 26px); }
.nb-post {
  background: var(--nb-cream); border: 1px solid var(--nb-line); border-radius: var(--nb-r);
  padding: 26px 24px; transition: transform .35s ease, box-shadow .35s ease;
}
.nb-post:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(46,61,47,.12); }
.nb-post time { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--nb-clay); }
.nb-post h3 { font-size: 1.28rem; margin-top: 10px; }

/* ==========================================================================
   CIERRE — bloque verde
   ========================================================================== */
.nb-cta {
  background: var(--nb-forest); color: var(--nb-cream);
  border-radius: clamp(24px, 4vw, 40px); padding: clamp(38px, 7vw, 84px) clamp(24px, 5vw, 60px);
  text-align: center; position: relative; overflow: hidden;
}
.nb-cta::before {
  content: ""; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(194,100,63,.34), transparent 70%);
  top: -25%; right: -18%; pointer-events: none;
}
.nb-cta h2 { color: var(--nb-cream); font-size: clamp(2rem, 5.4vw, 4rem); position: relative; }
.nb-cta h2 em { font-style: italic; color: var(--nb-clay-lt); }
.nb-cta p { margin: 18px auto 30px; max-width: 46ch; color: rgba(255,253,248,.82); position: relative; }
.nb-cta__acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; }
.nb-cta .nb-btn { background: var(--nb-cream); color: var(--nb-forest); border-color: var(--nb-cream); }
.nb-cta .nb-btn--ghost { background: transparent; color: var(--nb-cream); border-color: rgba(255,253,248,.5); }

/* ==========================================================================
   PIE
   ========================================================================== */
.nb-foot { background: var(--nb-oat-2); padding-block: clamp(40px, 6vw, 70px) 26px; }
.nb-foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(22px, 4vw, 56px); }
.nb-foot h4 { font-family: var(--nb-ui); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--nb-clay); margin-bottom: 14px; }
.nb-foot p, .nb-foot li { color: var(--nb-soft); font-size: .96rem; }
.nb-foot ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.nb-foot a:hover { color: var(--nb-clay); }
.nb-foot__brand { font-family: var(--nb-display); font-size: 1.7rem; color: var(--nb-forest); margin-bottom: 12px; }
.nb-foot__bar {
  margin-top: clamp(28px, 4vw, 48px); padding-top: 18px; border-top: 1px solid var(--nb-line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .82rem; color: var(--nb-soft);
}
@media (max-width: 780px) { .nb-foot__grid { grid-template-columns: 1fr; } }

/* Aviso de vista previa -------------------------------------------------- */
.nb-preview {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 200;
  background: var(--nb-forest); color: var(--nb-cream); border-radius: 999px;
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 20px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 12px 30px rgba(46,61,47,.24);
}
.nb-preview b { color: var(--nb-clay-lt); }
.nb-preview button { background: none; border: 0; color: rgba(255,253,248,.7); cursor: pointer; font: inherit; padding-left: 8px; border-left: 1px solid rgba(255,253,248,.25); }
.nb-preview button:hover { color: var(--nb-cream); }
@media (max-width: 700px) {
  .nb-preview { left: 12px; right: 12px; bottom: 12px; transform: none; justify-content: center; font-size: .6rem; padding: 8px 14px; }
}

/* Revelado suave --------------------------------------------------------- */
.nb-rev { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.nb-rev.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .nb *, .nb *::before, .nb *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .nb-rev { opacity: 1 !important; transform: none !important; }
  .nb-strip__track { animation: none; }
}
