/* ============================================================
   UNIVERSO CARBALIA — Editorial luxury, cinematic
   ============================================================ */

:root {
  --color-bg: #F5F0EA;
  --color-bg-dark: #1A1714;
  --color-text: #2C2520;
  --color-text-light: #8B7D74;
  --color-accent: #C4A882;
  --color-line: rgba(44, 37, 32, 0.15);
  --color-line-light: rgba(245, 240, 234, 0.18);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', -apple-system, sans-serif;

  --spacing-section: 120px;
  --maxw: 1320px;
  --transition-slow: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--color-bg-dark); color: var(--color-bg);
  padding: 12px 18px; font-size: 13px; letter-spacing: 0.12em;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Shared typography ---------- */
.label {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 400;
  margin-bottom: 1.6em;
  position: relative;
  padding-left: 46px;
}
.label::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 32px; height: 1px; background: var(--color-accent);
}

.lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  line-height: 1.32;
  color: var(--color-text);
}

.body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-light);
  max-width: 42ch;
}

.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.4;
  color: var(--color-text);
  margin-top: 1.8em;
  padding-left: 26px;
  border-left: 1px solid var(--color-accent);
}
.quote--center {
  border: none; padding: 0; text-align: center;
  max-width: 22ch; margin: 2.4em auto 0;
}

/* ---------- Buttons — texto con raya y flecha, sin marco ---------- */
.btn-outline {
  display: inline-block;
  position: relative;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 0 0 12px;
  border: none;
  color: var(--color-bg);
  transition: var(--transition-slow);
}
.btn-outline::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--color-line-light);
  transition: var(--transition-slow);
}
.btn-outline:hover {
  color: var(--color-accent);
}
.btn-outline:hover::after { background: var(--color-accent); }
.btn-outline--dark {
  color: var(--color-text);
}
.btn-outline--dark::after { background: var(--color-text); }
.btn-outline--dark:hover {
  color: var(--color-accent);
}
.btn-outline--dark:hover::after { background: var(--color-accent); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.6s ease, padding 0.6s ease, box-shadow 0.6s ease;
  color: var(--color-bg);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  display: inline-flex; align-items: center; gap: 12px;
}
.nav__logo-mark {
  width: 30px; height: 34px; flex: none;
  background-color: currentColor;
  -webkit-mask: url('../images/logo-emblem.png') center/contain no-repeat;
  mask: url('../images/logo-emblem.png') center/contain no-repeat;
}
.nav__menu { display: flex; gap: 34px; }
.nav__menu a {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.82; transition: opacity 0.4s ease, color 0.4s ease;
}
.nav__menu a:hover { opacity: 1; color: var(--color-accent); }

.nav.is-scrolled {
  background: var(--color-bg);
  color: var(--color-text);
  padding: 10px 0;
  box-shadow: 0 1px 0 var(--color-line);
}
.nav.is-scrolled .nav__menu a { opacity: 0.7; }
.nav.is-scrolled .nav__menu a:hover { opacity: 1; color: var(--color-accent); }

.nav__toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 30px; height: 20px; position: relative;
}
.nav__toggle span {
  position: absolute; left: 0; width: 100%; height: 1px;
  background: currentColor; transition: 0.4s ease;
}
.nav__toggle span:nth-child(1) { top: 4px; }
.nav__toggle span:nth-child(2) { bottom: 4px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: #3c3128;
  overflow: hidden;
  display: flex; align-items: center;
}

/* full-bleed crossfading photo background */
.hero__slides { position: absolute; inset: 0; z-index: 1; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 38%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s ease, transform 6s ease;
  will-change: opacity, transform;
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* legibility veil — heavier on the left where the title sits */
.hero__veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(28,23,18,0.78) 0%, rgba(28,23,18,0.42) 42%, rgba(28,23,18,0.10) 72%, rgba(28,23,18,0.28) 100%),
    linear-gradient(0deg, rgba(28,23,18,0.55) 0%, transparent 42%);
}

.hero__content {
  position: relative; z-index: 5;
  max-width: var(--maxw); width: 100%;
  margin: 0 auto; padding: 0 40px;
  color: var(--color-bg);
}
.hero__eyebrow {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 1.8em;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 7.4vw, 6.4rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 0.5em;
}
.hero__sub {
  max-width: 46ch;
  font-size: 1.02rem;
  line-height: 1.9;
  color: rgba(245, 240, 234, 0.72);
  margin-bottom: 2.6em;
}
.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 5; width: 1px; height: 56px; overflow: hidden;
  background: var(--color-line-light);
}
.hero__scroll span {
  position: absolute; top: 0; left: 0; width: 100%; height: 40%;
  background: var(--color-accent);
  animation: scrollLine 2.6s cubic-bezier(0.7,0,0.3,1) infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); } 100% { transform: translateY(250%); }
}

/* ============================================================
   SECTIONS — generic
   ============================================================ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--spacing-section) 40px;
}
.section__head { margin-bottom: 80px; max-width: 720px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head--center .label { padding-left: 0; }
.section__head--center .label::before { display: none; }
.section__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.section__intro {
  margin: 1.8em auto 0; max-width: 56ch;
  color: var(--color-text-light); font-size: 1.02rem; line-height: 1.9;
}

/* ---------- 2. ORIGEN ---------- */
.origen__grid {
  display: grid; grid-template-columns: 58% 42%;
  gap: 70px; align-items: center;
}
.origen__media img,
.filosofia__media img {
  width: 100%; height: clamp(420px, 56vw, 640px); object-fit: cover;
}

/* ---------- 3. FILOSOFÍA ---------- */
.filosofia { background: linear-gradient(180deg, transparent, rgba(196,168,130,0.05)); }
.filosofia__grid {
  display: grid; grid-template-columns: 50% 50%;
  gap: 70px; align-items: center;
}
.filosofia__text { padding-left: 10px; }
.filosofia__text .body { margin-top: 0.4em; }

/* ---------- 4. COLECCIONES ---------- */
.coleccion {
  display: grid; grid-template-columns: 34% 1fr;
  gap: 60px; align-items: center;
  margin-top: 90px;
}
.coleccion--b { grid-template-columns: 1fr 34%; }
.coleccion__text--right { padding-left: 20px; }
.coleccion__num {
  font-family: var(--font-display);
  font-size: 3rem; color: var(--color-accent); line-height: 1;
  font-weight: 300; margin-bottom: 0.2em;
}
.coleccion__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.15; margin-bottom: 0.6em;
}

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel { position: relative; width: 100%; }
.carousel__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.carousel__track {
  display: flex;
  transition: transform 0.85s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}
.carousel__slide {
  flex: 0 0 100%;
  padding: 0 4px;
}
.carousel__slide img {
  width: 100%; height: 500px; object-fit: cover;
  transform: scale(0.985);
  transition: transform 1.4s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.85s ease;
  opacity: 0.55;
}
.carousel__slide.is-active img { transform: scale(1); opacity: 1; }

.carousel__controls {
  display: flex; align-items: center; gap: 22px;
  margin-top: 30px;
}
.carousel__controls--wide { justify-content: center; }
.carousel__arrow {
  background: none; border: 1px solid var(--color-line);
  width: 50px; height: 50px; border-radius: 50%;
  font-size: 22px; line-height: 1; color: var(--color-text);
  cursor: pointer; transition: var(--transition-slow);
  font-family: var(--font-display);
}
.carousel__arrow:hover { background: var(--color-bg-dark); color: var(--color-bg); border-color: var(--color-bg-dark); }
.carousel__counter {
  font-size: 12px; letter-spacing: 0.22em; color: var(--color-text-light);
  min-width: 64px; text-align: center;
}

/* Wide carousel — galería de tarjetas verticales, foto completa y lujosa */
.carousel--wide { margin-top: 70px; }
.carousel--wide .carousel__viewport {
  overflow: hidden;
  padding: 50px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.carousel--wide .carousel__track { align-items: center; }
.carousel--wide .carousel__slide {
  flex: 0 0 auto;
  width: clamp(270px, 30vw, 420px);
  padding: 0 20px;
  display: flex; justify-content: center;
}
.carousel--wide .carousel__slide img {
  width: 100%; height: auto; aspect-ratio: 2 / 3;
  object-fit: cover;               /* la fuente ya es 2:3 → sin recorte */
  opacity: 0.38;
  transform: scale(0.86);
  filter: saturate(0.9);
  box-shadow: 0 12px 34px rgba(26, 23, 20, 0.16);
  transition: opacity 0.7s ease,
              transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
              filter 0.7s ease, box-shadow 0.7s ease;
  animation: none;
}
.carousel--wide .carousel__slide.is-active img {
  opacity: 1;
  transform: scale(1);
  filter: saturate(1);
  box-shadow: 0 26px 60px rgba(26, 23, 20, 0.32);
  animation: none;
}

/* ---------- 5. ENCARGOS ---------- */
.encargos { max-width: 100%; padding-left: 0; padding-right: 0; }
.encargos .section__head { max-width: 760px; padding: 0 40px; }
.encargos__foot { text-align: center; margin-top: 56px; padding: 0 40px; }

/* ---------- 6. PROCESO ---------- */
.proceso { padding-bottom: 56px; }
.proceso__layout { margin: 0 auto 40px; max-width: var(--maxw); }
.proceso__steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px); margin: 0;
}
.step { border-top: 1px solid var(--color-line); padding-top: 22px; }
.step__num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 300;
  color: var(--color-accent); line-height: 1; margin-bottom: 0.5em;
}
.step__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.7rem; margin-bottom: 0.7em; letter-spacing: 0.02em;
}
.step .body { max-width: none; }
.proceso__media {
  width: 100vw; position: relative; left: 50%; transform: translateX(-50%);
}
.proceso__media img { width: 100%; height: clamp(380px, 55vh, 620px); object-fit: cover; }

/* ============================================================
   FOOTER — compact horizontal bar (logo · social · copy)
   ============================================================ */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-bg);
  padding: 46px 40px;
  border-top: 1px solid var(--color-line-light);
}
.footer--compact { padding: 30px 40px; }
.footer--compact,
.footer--compact .footer__logo,
.footer--compact .footer__social a,
.footer--compact .footer__copy { color: #fff; }
.footer__bar {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.05rem; line-height: 1.25;
  letter-spacing: 0.24em; text-transform: uppercase; font-weight: 400;
}
.footer__social {
  display: flex; align-items: center; gap: 46px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
}
.footer__social a {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--color-bg); opacity: 0.92;
  transition: color 0.4s ease, opacity 0.4s ease;
}
.footer__social a:hover { color: var(--color-accent); opacity: 1; }
.footer__social svg { display: block; width: 14px; height: 14px; }
.footer__sep { color: var(--color-line-light); }
.footer__copy {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(196,168,130,0.72);
}
@media (max-width: 680px) {
  .footer__bar { flex-direction: column; text-align: center; gap: 20px; }
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.25,0.1,0.25,1), transform 0.9s cubic-bezier(0.25,0.1,0.25,1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   NAV — active link + hero CTAs
   ============================================================ */
.nav__menu a.is-active { color: var(--color-accent); opacity: 1; }
.nav.is-scrolled .nav__menu a.is-active { color: var(--color-accent); opacity: 1; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* ============================================================
   SUBPAGES — solid nav + page hero
   ============================================================ */
.subpage .nav {
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: 0 1px 0 var(--color-line);
}
.subpage .nav__menu a { opacity: 0.7; }
.subpage .nav__menu a:hover { opacity: 1; color: var(--color-accent); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 190px 40px 76px;
  max-width: var(--maxw);
  margin: 0 auto;
  border-bottom: 1px solid var(--color-line);
  background:
    radial-gradient(120% 90% at 88% 18%, rgba(196,168,130,0.12), transparent 60%);
}
/* oversized faint editorial numeral */
.page-hero__index {
  position: absolute;
  top: 50%; right: 2%;
  transform: translateY(-46%);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(9rem, 27vw, 23rem);
  line-height: 0.8;
  color: var(--color-accent);
  opacity: 0.12;
  pointer-events: none; -webkit-user-select: none; user-select: none;
  z-index: 0;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 860px; }
.page-hero__crumb {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  margin-bottom: 2.4em;
}
.page-hero__crumb a {
  color: var(--color-text-light);
  transition: color 0.4s ease, letter-spacing 0.4s ease;
}
.page-hero__crumb a:hover { color: var(--color-accent); letter-spacing: 0.3em; }
/* thin decorative rule that draws in under the title */
.page-hero__rule {
  display: block; height: 1px; width: 0; margin-top: 40px;
  background: var(--color-accent);
  transition: width 1.2s cubic-bezier(0.25,0.1,0.25,1) 0.3s;
}
.page-hero__inner.is-visible .page-hero__rule { width: 120px; }
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 0.4em;
}
.page-hero__sub {
  max-width: 56ch;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.9;
}

.subpage__foot { text-align: center; margin-top: 90px; }
.subpage__foot .quote--center { margin-bottom: 1.6em; }
/* wide process paragraph + tightened closing section (proceso) */
.proceso__intro { max-width: 64ch; margin: 0 auto 1.8em; line-height: 1.95; text-align: center; }
.section--tight { padding-top: 20px; }
.section--tight .subpage__foot { margin-top: 12px; }
.subpage .colecciones .coleccion:first-of-type { margin-top: 0; }

/* botanical branches — subtle full-page decoration */
body.subpage, body.home { position: relative; }
.subpage .page-hero,
.subpage main,
.subpage .footer,
.home .hero,
.home .section,
.home .footer { position: relative; z-index: 1; }
.botanicals {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.branch {
  position: absolute;
  color: var(--color-accent);
  will-change: transform;
}
.branch svg { display: block; width: 100%; height: auto; overflow: visible; }

/* --- scroll-scrubbed bloom -------------------------------------------------
   JS sets --p (0→1) on each .branch from where it sits on screen. Each part
   maps that to its own eased slice via --s (start) / --w (span); --e is a
   smoothstep of the raw slice --t. Stem draws first, then leaves, then petals
   open out from the flower centre. Being a pure function of --p, it reverses
   as you scroll up. */
@property --p { syntax: '<number>'; inherits: true;  initial-value: 0; }
@property --t { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --e { syntax: '<number>'; inherits: false; initial-value: 0; }

.branch { --p: 0; }

/* --e is a smootherstep (6t⁵−15t⁴+10t³) of the raw slice --t: silkier than a
   plain smoothstep at both ends, so growth eases in and settles very gently. */
.uc-stem path {
  --t: clamp(0, calc((var(--p) - var(--s, 0)) / var(--w, 0.4)), 1);
  --e: calc(var(--t) * var(--t) * var(--t) * (var(--t) * (var(--t) * 6 - 15) + 10));
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--e));
}
.uc-leaf {
  --t: clamp(0, calc((var(--p) - var(--s, 0.26)) / var(--w, 0.26)), 1);
  --e: calc(var(--t) * var(--t) * var(--t) * (var(--t) * (var(--t) * 6 - 15) + 10));
  transform-box: view-box;
  transform-origin: var(--lx) var(--ly);
  transform: rotate(var(--rot, 0deg)) scale(var(--e));
  opacity: var(--e);
}
.uc-petal {
  --t: clamp(0, calc((var(--p) - var(--s, 0.5)) / var(--w, 0.22)), 1);
  --e: calc(var(--t) * var(--t) * var(--t) * (var(--t) * (var(--t) * 6 - 15) + 10));
  transform-box: view-box;
  transform-origin: var(--cx) var(--cy);
  transform: rotate(calc(var(--ang, 0deg) + var(--swirl, 0deg) * (1 - var(--e)))) scale(var(--e));
  opacity: clamp(0, calc(var(--t) * 1.85), 1);
}
.uc-core {
  --t: clamp(0, calc((var(--p) - var(--s, 0.5)) / var(--w, 0.2)), 1);
  --e: calc(var(--t) * var(--t) * var(--t) * (var(--t) * (var(--t) * 6 - 15) + 10));
  transform-box: view-box;
  transform-origin: var(--cx) var(--cy);
  transform: scale(var(--e));
  opacity: var(--e);
}
.uc-bud {
  --t: clamp(0, calc((var(--p) - var(--s, 0.4)) / var(--w, 0.18)), 1);
  --e: calc(var(--t) * var(--t) * var(--t) * (var(--t) * (var(--t) * 6 - 15) + 10));
  transform-box: view-box;
  transform-origin: var(--cx) var(--cy);
  transform: scale(var(--e));
  opacity: var(--e);
}
@media (prefers-reduced-motion: reduce) {
  .branch { --p: 1; }
}

/* ============================================================
   HOME — explorar cards
   ============================================================ */
.explorar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-line);
}
.explorar__card {
  position: relative;
  padding: 44px 30px 50px;
  border-bottom: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
  transition: background 0.6s ease;
  display: block;
}
.explorar__card:last-child { border-right: none; }
.explorar__card:hover { background: rgba(196,168,130,0.07); }
.explorar__num {
  font-family: var(--font-display); font-size: 1.4rem; color: var(--color-accent);
  display: block; margin-bottom: 1.4em;
}
.explorar__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.6rem; margin-bottom: 0.6em;
}
.explorar__desc { font-size: 0.95rem; color: var(--color-text-light); line-height: 1.7; }
.explorar__arrow {
  display: inline-block; margin-top: 1.6em; color: var(--color-accent);
  font-size: 1.2rem; transition: transform 0.5s ease;
}
.explorar__card:hover .explorar__arrow { transform: translateX(8px); }

/* ============================================================
   HOME — contacto
   ============================================================ */
.contacto { text-align: center; }
.contacto__inner { max-width: 720px; margin: 0 auto; }
.contacto__actions {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
  margin: 8px 0 40px;
}
.contacto__details {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-text-light);
}
.contacto__details a { color: var(--color-accent); transition: opacity 0.4s ease; }
.contacto__details a:hover { opacity: 0.6; }

/* ============================================================
   CUIDADOS
   ============================================================ */
.cuidados__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px;
}
.cuidado__media { margin-bottom: 34px; }
.cuidado__media img { width: 100%; height: 360px; object-fit: cover; }
.cuidado__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.8em;
}
.cuidado__list { display: grid; gap: 20px; }
.cuidado__list li {
  position: relative; padding-left: 28px;
  color: var(--color-text-light); line-height: 1.8; max-width: 46ch;
}
.cuidado__list li::before {
  content: ""; position: absolute; left: 0; top: 0.8em;
  width: 14px; height: 1px; background: var(--color-accent);
}
.cuidados__note { text-align: center; margin-top: 80px; }
.cuidados__note .quote--center { margin-bottom: 1.6em; max-width: 40ch; }

/* --- guía completa de cuidados --- */
.guia { border-top: 1px solid rgba(26,23,20,0.10); }
.guia__intro { max-width: 66ch; margin: 0 auto 64px; text-align: center; }
.guia__intro .body { max-width: none; margin-left: auto; margin-right: auto; }
.guia__intro .body + .body { margin-top: 1.1em; }
.guia__items {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px 70px; max-width: 980px; margin: 0 auto;
}
.guia-item__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 0.9em; padding-bottom: 0.5em;
  border-bottom: 1px solid rgba(26,23,20,0.10);
}
/* Velas e incienso: título centrado, línea gris unida y 2 puntos a cada lado */
.guia-item--full { grid-column: 1 / -1; }
.guia-item--full .guia-item__title { text-align: center; }
.guia-item__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px 70px;
}
.guia__remember {
  max-width: 66ch; margin: 80px auto 0; text-align: center;
}
.guia__remember .body { max-width: none; margin: 1em auto 0; }
.guia__close {
  max-width: 46ch; margin: 64px auto 0; text-align: center;
}

@media (max-width: 880px) {
  .guia__items { grid-template-columns: 1fr; gap: 48px; }
  .guia-item__cols { grid-template-columns: 1fr; gap: 22px; }
}

/* ============================================================
   CONTACTO — formulario editorial
   ============================================================ */
.contacto { padding-top: 0; }
.contacto-page .page-hero { border-bottom: none; }
.contacto__wrap {
  display: block;
  max-width: var(--maxw);
  margin: 0 auto;
}
/* texto "Escríbenos" justo debajo del título/subtítulo, alineado a la izquierda */
.contacto__aside {
  position: relative;
  text-align: left;
  margin-top: 26px;
}
.contacto__aside .lead { margin-bottom: 0.7em; }
.contacto__aside .body { margin-bottom: 0; }

/* los 3 enlaces: en el centro de la página, pegados y centrados, logo encima */
.contacto__details {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: flex-start;
  gap: clamp(24px, 5vw, 66px);
  text-align: center;
}
.contacto__detail {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  border: none; padding: 0;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-accent);
  transition: opacity 0.4s ease;
}
a.contacto__detail:hover { opacity: 0.6; }
.contacto__detail span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem; letter-spacing: 0.01em; text-transform: none;
  color: var(--color-text); margin-top: 4px;
}
/* logos pequeños, sin fondo, tintados al color del texto */
.contacto__icon {
  display: inline-block; width: 20px; height: 20px; margin-bottom: 12px;
  color: inherit;
}
.contacto__icon svg { display: block; width: 100%; height: 100%; }
.contacto__icon--mail,
.contacto__icon--geo {
  background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}
.contacto__icon--mail { --ico: url('../images/icon-mail.png'); }
.contacto__icon--geo { --ico: url('../images/icon-geo.png'); width: 17px; height: 22px; }

/* form */
.form {
  position: relative;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: clamp(30px, 4vw, 52px);
  box-shadow: 0 30px 70px -50px rgba(44, 37, 32, 0.45);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
.field { position: relative; margin-bottom: 30px; }
.field--full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 12px;
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--color-line);
  border-radius: 2px;
  padding: 15px 18px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.02rem;
  color: var(--color-text);
  letter-spacing: 0.01em;
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.field textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.7;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(139,125,116,0.55); }
.field input:hover,
.field textarea:hover { border-color: rgba(44, 37, 32, 0.30); }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(196, 168, 130, 0.16);
}
.field__count {
  position: absolute; right: 2px; bottom: -22px;
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--color-text-light);
}
.field__count.is-over { color: #b4462f; }
.form__foot {
  display: flex; align-items: center; gap: 28px;
  margin-top: 46px; flex-wrap: wrap;
}
.form__btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase;
  padding: 17px 48px;
  border: 1px solid var(--color-bg-dark);
  background: var(--color-bg-dark);
  color: var(--color-bg);
  cursor: pointer;
  transition: var(--transition-slow);
}
.form__btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg-dark);
}
.form__note { font-size: 12px; color: var(--color-text-light); letter-spacing: 0.04em; }
.form__status {
  margin-top: 24px;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.25rem; color: var(--color-accent);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.form__status.is-visible { opacity: 1; transform: none; }

@media (max-width: 880px) {
  .contacto__aside { text-align: left; margin-top: 22px; }
  .contacto__aside .body { margin-bottom: 0; }
  .contacto__details { gap: 24px 32px; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACTO — formulario integrado en el hero
   ============================================================ */
/* Mobile-first: por defecto una sola columna (título arriba, formulario debajo) */
.contacto-page .page-hero { padding-top: 130px; }
.contacto-page .page-hero__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.contacto-page .page-hero__inner { max-width: none; }
/* la faint "06" queda detrás del formulario translúcido, como textura */
.contacto-page .page-hero__index { opacity: 0.09; }
/* formulario compactado para que entre entero en la pantalla */
.form--hero { padding: clamp(20px, 2.6vw, 30px); }
.form--hero .form__row { gap: 12px 18px; }
.form--hero .field { margin-bottom: 12px; }
.form--hero .field label { margin-bottom: 6px; }
.form--hero .field input,
.form--hero .field textarea { padding: 10px 14px; font-size: 0.98rem; }
.form--hero .field textarea { min-height: 80px; }
.form--hero .form__foot { margin-top: 18px; gap: 16px; }
/* franja de datos de contacto bajo el hero (solo aside + details) */
.contacto-page .contacto { padding-top: clamp(28px, 4vw, 52px); }
/* Escritorio: dos columnas (título+"06" | formulario) a partir de 881px */
@media (min-width: 881px) {
  .contacto-page .page-hero { padding-top: 108px; }
  .contacto-page .page-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: start;
  }
  /* textos más pequeños, solo en ordenador */
  .contacto-page .page-hero__title { font-size: clamp(2rem, 4.2vw, 3.3rem); margin-bottom: 0.5em; }
  .contacto-page .page-hero__sub { font-size: 0.95rem; line-height: 1.75; max-width: 46ch; }
  .contacto-page .contacto__aside .lead { font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.35; }
  .contacto-page .contacto__aside .body { font-size: 0.92rem; line-height: 1.7; }
}

/* ============================================================
   PRÓXIMAMENTE — página de disculpa/coming soon (Colecciones)
   ============================================================ */
.proximamente {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 70px;
  background: radial-gradient(120% 90% at 50% 12%, rgba(196,168,130,0.12), transparent 60%);
}
.proximamente__inner { max-width: 680px; margin: 0 auto; }
.proximamente .page-hero__crumb { margin-bottom: 1.8em; }
.proximamente .label { padding-left: 0; }
.proximamente .label::before { display: none; }
.proximamente__inner .body { margin-left: auto; margin-right: auto; }
.proximamente__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.1;
  margin: 0.4em 0 0.8em;
}
.proximamente__inner .body { margin-bottom: 1.4em; }
.proximamente__inner .btn-outline { margin-top: 12px; }
.proximamente__sign {
  margin-top: 2.6em;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.2rem; color: var(--color-accent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  :root { --spacing-section: 84px; }

  /* menú desplegable: logo a la izquierda, 3 barras arriba a la derecha */
  .nav__inner { position: relative; }
  .nav__toggle { display: block; z-index: 130; }

  .nav__menu {
    position: absolute; top: calc(100% + 14px); right: 40px;
    flex-direction: column; align-items: flex-end; gap: 2px;
    background: var(--color-bg-dark); color: var(--color-bg);
    padding: 20px 26px; min-width: 208px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    z-index: 120;
  }
  .nav.is-menu-open .nav__menu {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
  .nav__menu a {
    font-size: 13px; letter-spacing: 0.2em; opacity: 0.9;
    color: var(--color-bg); padding: 9px 0;
  }
  .nav__menu a:hover,
  .nav__menu a.is-active { color: var(--color-accent); opacity: 1; }

  /* las 3 barras se vuelven una X al abrir */
  .nav.is-menu-open .nav__toggle span:nth-child(1) { top: 9px; transform: rotate(45deg); }
  .nav.is-menu-open .nav__toggle span:nth-child(2) { bottom: 10px; transform: rotate(-45deg); }
  .nav::after { display: none; }

  .origen__grid,
  .filosofia__grid,
  .coleccion,
  .coleccion--b { grid-template-columns: 1fr; gap: 40px; }
  .filosofia__media { order: -1; }
  .coleccion--b .coleccion__carousel { order: 2; }
  .coleccion__text--right { padding-left: 0; }

  .proceso__layout { margin: 0 auto 32px; }
  .proceso__steps { grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
  .proceso .step { padding-top: 16px; }
  .proceso .step__num { font-size: 1.5rem; margin-bottom: 0.25em; }
  .proceso .step__name { font-size: 1.05rem; margin-bottom: 0.35em; }
  .proceso .step .body { font-size: 0.82rem; line-height: 1.45; }

  .page-hero { padding: 140px 40px 56px; }

  .explorar__grid { grid-template-columns: 1fr 1fr; }
  .explorar__card { border-right: 1px solid var(--color-line); }
  .explorar__card:nth-child(2n) { border-right: none; }

  .cuidados__grid { grid-template-columns: 1fr; gap: 56px; }

  /* Native horizontal scroll on mobile */
  .carousel__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .carousel__viewport::-webkit-scrollbar { display: none; }
  .carousel__track { transition: none; transform: none !important; }
  .carousel__slide { flex: 0 0 86%; scroll-snap-align: center; }
  .carousel__slide img { height: 380px; opacity: 1; transform: none; }

  /* wide en móvil: tarjeta vertical con la foto completa */
  .carousel--wide .carousel__viewport {
    padding: 24px 0;
    -webkit-mask-image: none; mask-image: none;
  }
  .carousel--wide .carousel__slide {
    flex: 0 0 76%; width: auto; padding: 0 12px; scroll-snap-align: center;
  }
  .carousel--wide .carousel__slide img {
    width: 100%; height: auto; aspect-ratio: 2 / 3;
    opacity: 1; transform: none; filter: saturate(1);
    box-shadow: 0 16px 40px rgba(26, 23, 20, 0.22);
    animation: none;
  }
}

@media (max-width: 520px) {
  .section, .nav__inner, .hero__content { padding-left: 24px; padding-right: 24px; }
  .nav__menu { right: 24px; }
  .encargos .section__head, .encargos__foot { padding-left: 24px; padding-right: 24px; }
  .hero__slide { background-position: center 30%; }
  .explorar__grid { grid-template-columns: 1fr; }
  .explorar__card { border-right: none; }

  .proceso__steps { grid-template-columns: 1fr; gap: 22px; }
  .proceso .step { padding-top: 16px; }
  .proceso .step__num { font-size: 1.6rem; margin-bottom: 0.2em; }
  .proceso .step__name { font-size: 1.15rem; margin-bottom: 0.3em; }
  .proceso .step .body { font-size: 0.9rem; line-height: 1.55; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__slide { transition: none; }
  .carousel__slide.is-active img { animation: none !important; }
  .hero__scroll span { animation: none; }
  .hero__particle { animation: none !important; }
}

/* ============================================================
   HERO — floating golden particles (home)
   ============================================================ */
.hero__particles { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.hero__particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(224,198,150,0.9), rgba(196,168,130,0.25) 60%, transparent 72%);
  opacity: 0;
  will-change: transform, opacity;
  animation: floatUp var(--dur, 14s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes floatUp {
  0%   { opacity: 0; transform: translateY(20px) translateX(0) scale(0.85); }
  12%  { opacity: var(--max, 0.7); }
  50%  { transform: translateY(-40px) translateX(var(--drift, 14px)) scale(1); }
  88%  { opacity: var(--max, 0.7); }
  100% { opacity: 0; transform: translateY(-90px) translateX(0) scale(0.85); }
}

/* ============================================================
   COLECCIONES — editorial blocks (foto 1 clone)
   ============================================================ */
/* solid dark-brown nav (same as before), over the full hero */
.subpage--hero .nav {
  background: var(--color-bg-dark); color: var(--color-bg);
  box-shadow: 0 1px 0 var(--color-line-light);
}
.subpage--hero .nav__menu a { opacity: 0.82; color: var(--color-bg); }
.subpage--hero .nav__menu a:hover,
.subpage--hero .nav__menu a.is-active { opacity: 1; color: var(--color-accent); }
.subpage--hero .nav.is-scrolled {
  background: var(--color-bg-dark); color: var(--color-bg);
  padding: 10px 0; box-shadow: 0 1px 0 var(--color-line-light);
}
.subpage--hero .nav.is-scrolled .nav__menu a { opacity: 0.82; color: var(--color-bg); }
.subpage--hero .nav.is-scrolled .nav__menu a:hover,
.subpage--hero .nav.is-scrolled .nav__menu a.is-active { color: var(--color-accent); opacity: 1; }

/* full-screen hero — photo background + overlay title (like the home) */
.cl-fullhero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: #3c3128; overflow: hidden;
}
.cl-fullhero__bg {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover; background-position: center 42%;
  transform: scale(1.08);
  animation: kenburnsHero 16s ease-out forwards;
}
@keyframes kenburnsHero { from { transform: scale(1.08); } to { transform: scale(1); } }
.cl-fullhero__veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(28,23,18,0.78) 0%, rgba(28,23,18,0.42) 42%, rgba(28,23,18,0.10) 72%, rgba(28,23,18,0.30) 100%),
    linear-gradient(0deg, rgba(28,23,18,0.55) 0%, transparent 42%);
}
.cl-fullhero__content {
  position: relative; z-index: 5;
  max-width: var(--maxw); width: 100%;
  margin: 0 auto; padding: 0 40px;
  color: var(--color-bg);
}
.cl-fullhero__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3rem, 8vw, 6.4rem); line-height: 1;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.32em;
}
.cl-fullhero__sub {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem); line-height: 1.4;
  color: rgba(245,240,234,0.82); margin-bottom: 1.8em; max-width: 28ch;
}
.cl-hero__crumb {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(245,240,234,0.7); margin-bottom: 2.2em;
}
.cl-hero__crumb a { transition: color 0.4s ease, letter-spacing 0.4s ease; }
.cl-hero__crumb a:hover { color: var(--color-accent); letter-spacing: 0.3em; }
.cl-hero__link {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--color-bg);
}
.cl-hero__link::after {
  content: "→"; transition: transform 0.5s ease; color: var(--color-accent);
}
.cl-hero__link:hover { color: var(--color-accent); }
.cl-hero__link:hover::after { transform: translateX(8px); }

/* light hero variant — sandy photo, dark text (matches reference) */
.cl-fullhero--light { background: #d8cdbd; }
.cl-fullhero--light .cl-fullhero__veil {
  background:
    linear-gradient(90deg, rgba(244,238,229,0.86) 0%, rgba(244,238,229,0.55) 38%, rgba(244,238,229,0.06) 66%, rgba(244,238,229,0.00) 100%),
    linear-gradient(0deg, rgba(244,238,229,0.30) 0%, transparent 38%);
}
.cl-fullhero--light .cl-fullhero__content { color: var(--color-text); }
.cl-fullhero--light .cl-fullhero__title { color: var(--color-bg-dark); }
.cl-fullhero--light .cl-fullhero__sub { color: rgba(40,33,26,0.78); }
.cl-fullhero--light .cl-hero__crumb { color: rgba(40,33,26,0.62); }
.cl-fullhero--light .cl-hero__link { color: var(--color-bg-dark); }

/* collection blocks — stacked tight, uniform 18px rhythm (no gaps) */
.cl-collections {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 40px;
  display: flex; flex-direction: column; gap: 18px;
}
.cl-block {
  display: grid; grid-template-columns: 35% 1fr;
  gap: 50px; align-items: center;
}
.cl-block--rev { grid-template-columns: 1fr 35%; }
.cl-block__text--right { padding-left: 14px; }
.cl-block__num {
  font-size: 12px; letter-spacing: 0.3em; color: var(--color-accent);
  margin-bottom: 2em;
}
.cl-block__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.12;
  text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.8em;
}
.cl-block__text .body { margin-bottom: 2.4em; }

/* media collages — one large image + two small, filling the section */
.cl-block__media { display: grid; gap: 18px; }
.cl-block__media img { width: 100%; object-fit: cover; }
.cl-block__media--trio {
  grid-template-columns: 1fr 1fr;
}
.cl-block__media--trio .m1 { grid-column: 1; grid-row: 1 / 3; aspect-ratio: 1 / 1; height: 100%; }
.cl-block__media--trio .m2 { grid-column: 2; grid-row: 1; aspect-ratio: 2 / 1; }
.cl-block__media--trio .m3 { grid-column: 2; grid-row: 2; aspect-ratio: 2 / 1; object-position: center 60%; }

/* quad collage — square left + wide rectangle top-right + wide rectangle bottom-right */
.cl-block__media--quad {
  grid-template-columns: 2fr 1fr 1fr;
}
.cl-block__media--quad .q1 { grid-column: 1; grid-row: 1 / 3; aspect-ratio: 1 / 1; height: 100%; }
.cl-block__media--quad .q2 { grid-column: 2 / 4; grid-row: 1; aspect-ratio: 2 / 1; }
.cl-block__media--quad .q3 { grid-column: 2 / 4; grid-row: 2; aspect-ratio: 2 / 1; }

/* single image — one square photo */
.cl-block__media--single .s1 {
  aspect-ratio: 1 / 1; width: 100%;
  max-width: clamp(300px, 38vw, 440px); justify-self: start;
}

/* ediciones especiales — imagen apaisada que sangra hasta el borde derecho (desktop) */
@media (min-width: 881px) {
  .cl-block--bleed .cl-block__media--single .s1 {
    aspect-ratio: 3 / 2;
    max-width: none;
    justify-self: stretch;
    width: calc(100% + max(40px, (100vw - var(--maxw)) / 2 + 40px));
    object-fit: cover; object-position: center;
  }
}

/* quote band — soft beige, dark text (matches reference) */
.cl-quote {
  background: #CFC9C0; color: var(--color-text);
  text-align: center; padding: 30px 40px 14px;
}
.cl-quote__inner { max-width: 820px; margin: 0 auto; position: relative; }
.cl-quote__mark {
  font-family: var(--font-display); font-weight: 500;
  font-size: 3.6rem; line-height: 0.5;
  color: var(--color-bg-dark); display: block; margin-bottom: -0.32em;
}
.cl-quote blockquote {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.45;
  color: var(--color-text);
}

@media (max-width: 880px) {
  .cl-block,
  .cl-block--rev { grid-template-columns: 1fr; gap: 36px; }
  .cl-block--rev .cl-block__media { order: 2; }
  .cl-block__text--right { padding-left: 0; }
  .cl-block__media--trio { grid-template-columns: 1fr 1fr; }
  .cl-block__media--trio .m1 {
    min-height: 0; height: 300px; grid-row: 1 / 2; grid-column: 1 / 3;
  }
  .cl-block__media--trio .m2,
  .cl-block__media--trio .m3 { height: 220px; }

  .cl-block__media--quad { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .cl-block__media--quad .q1 {
    min-height: 0; height: 300px; grid-row: 1; grid-column: 1 / 3;
  }
  .cl-block__media--quad .q2 { grid-column: 1 / 3; grid-row: 2; height: 220px; }
  .cl-block__media--quad .q3 { grid-column: 1 / 3; grid-row: 3; height: 220px; }

  .cl-block__media--single .s1 { max-width: 420px; }
}
@media (max-width: 520px) {
  .cl-collections { padding-left: 24px; padding-right: 24px; }
  .cl-fullhero__content { padding-left: 24px; padding-right: 24px; }
  .cl-block__media--trio { grid-template-columns: 1fr; }
  .cl-block__media--trio .m1 { grid-column: auto; }
  .cl-block__media--quad { grid-template-columns: 1fr; }
  .cl-block__media--quad .q1,
  .cl-block__media--quad .q2,
  .cl-block__media--quad .q3 { grid-column: auto; }
}

/* ============================================================
   HOME EDITORIAL — layout según referencia 4.png
   ============================================================ */

/* Hero: contenido a la izquierda */
.home .hero__content { max-width: var(--maxw); }

/* 2. INTRO — foto izq / bloque texto der */
.intro {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(60px, 7vw, 80px) 40px;
}
.intro__grid {
  display: grid; grid-template-columns: 46% 54%;
  gap: 70px; align-items: center;
}
.intro__media img {
  width: 100%; height: clamp(420px, 52vw, 600px); object-fit: cover;
}
.intro__media--logo img {
  object-fit: contain;
  max-width: 46%; margin-left: auto; margin-right: 0; /* logo pequeño, pegado hacia el texto */
  mix-blend-mode: multiply; /* funde el fondo blanco del logo con el crema de la página */
}
.intro__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.22;
  letter-spacing: -0.01em; margin: 0.4em 0 0.8em;
  max-width: 18ch;
}
.intro__text .body { margin-bottom: 2.4em; }

/* 3. COLECCIONES — cabecera + trío con captions */
.colecciones { background: linear-gradient(180deg, rgba(196,168,130,0.05), transparent); }
.col__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(50px, 6vw, 80px) 40px;
}
.col__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; padding-bottom: 26px; margin-bottom: 40px;
  border-bottom: 1px solid var(--color-line);
}
.col__head .label { margin: 0; }
.col__all {
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--color-text-light);
  transition: color 0.4s ease;
}
.col__all:hover { color: var(--color-accent); }
.col-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.col-card__media { overflow: hidden; }
.col-card__media img {
  width: 100%; height: clamp(260px, 26vw, 380px); object-fit: cover;
  display: block; transition: transform 1.2s cubic-bezier(0.25,0.1,0.25,1);
}
.col-card:hover .col-card__media img { transform: scale(1.05); }
.col-card figcaption { margin-top: 16px; padding-left: 0; }
.col-card figcaption::before { display: none; }

/* 4. EL PROCESO — texto izq + grid 2×2 der */
.proceso {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(60px, 7vw, 80px) 40px;
}
.proceso__grid {
  display: grid; grid-template-columns: 38% 1fr;
  gap: 70px; align-items: center;
}
.proceso__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.26;
  letter-spacing: -0.01em; margin: 0.4em 0 1em;
}
.proceso__media {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.proceso__media img {
  width: 100%; height: clamp(190px, 19vw, 260px); object-fit: cover;
  display: block;
}
.proceso__media--single {
  display: block; grid-template-columns: none;
  width: 100%; left: auto; transform: none; margin: 0;
}
.proceso__media--single img { width: 100%; height: clamp(280px, 26vw, 400px); object-fit: cover; }

/* 5. SOBRE — foto de la bandeja + caja gris estrecha y baja al lado */
.sobre { background: var(--color-bg); color: var(--color-text); }
.sobre__grid {
  display: grid; grid-template-columns: 62% 38%;
  gap: clamp(28px, 4vw, 56px); align-items: center;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) 40px;
}
.sobre__media { height: 100%; }
.sobre__media img {
  width: 100%; height: 100%; min-height: clamp(320px, 32vw, 440px); object-fit: cover;
  display: block;
}
.sobre__text {
  background: #CFC9C0; color: #000;
  padding: clamp(34px, 3.4vw, 52px);
}
.sobre__text .label { color: #000; }
.sobre__text .btn-outline { color: #000; }
.sobre__text .btn-outline::after { background: #000; }
.sobre__body {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem); line-height: 1.45;
  margin: 0.6em 0 1.4em; max-width: 26ch;
}

/* 6. CTA BAND — foto floreros de fondo, texto a la izquierda */
.cta-band {
  position: relative;
  background: #e9b9ad url('../images/floreros-ancha.png') center/cover no-repeat;
  color: var(--color-text);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(245,240,234,0.82) 0%, rgba(245,240,234,0.5) 38%, rgba(245,240,234,0.12) 64%, transparent 100%);
}
.cta-band__inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(70px, 9vw, 100px) 40px;
  text-align: left;
}
.cta-band__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.12;
  letter-spacing: -0.01em; margin-bottom: 1.4em;
}
.cta-band__actions {
  display: flex; justify-content: flex-start; gap: 18px; flex-wrap: wrap;
}

@media (max-width: 880px) {
  .proceso__grid,
  .sobre__grid { grid-template-columns: 1fr; gap: 40px; }

  /* origen: logo al lado del texto de UC, proporcionado */
  .intro__grid {
    grid-template-columns: 34% 1fr; gap: 18px; align-items: center;
  }
  .intro__media { order: 0; min-height: 0; }
  .intro__media img { height: auto; min-height: 0; }
  .intro__media--logo img { max-width: 100%; }

  .sobre__grid { gap: 26px; padding: 60px 24px; }
  .sobre__text {
    text-align: center; padding: 34px 28px;
  }
  .sobre__body { max-width: none; margin-left: auto; margin-right: auto; }
  .sobre__media img { height: clamp(300px, 50vw, 420px); }
  .col-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer__bar { flex-wrap: wrap; justify-content: center; gap: 22px; }
}
@media (max-width: 520px) {
  .intro, .proceso { padding-left: 24px; padding-right: 24px; }
  .col__inner, .cta-band__inner { padding-left: 24px; padding-right: 24px; }
  .col-grid { grid-template-columns: 1fr; gap: 28px; }
  .proceso__media { gap: 12px; }
  .sobre__text { padding-left: 24px; padding-right: 24px; }
  .footer__nav { flex-wrap: wrap; gap: 16px; }
}
