/* Casa Siete — estilos (camino C "Día y noche": base clara, el ritual de noche, color solo en las líneas). */
:root {
  --papel: #FAF7F3;
  --crema: #F3EEE8;
  --arena: #E9E1D6;
  --tinta: #222222;
  --tinta-2: #5f5850;
  --tierra: #8A6A4F;
  --miel: #D9A441;
  --noche: #1d1915;
  --noche-2: #2a241e;
  --linea: #e2dbd2;
  --serif: "Cormorant Garamond", Georgia, serif;
  --num: "EB Garamond", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gut: clamp(16px, 4vw, 64px);
  --top-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 300 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; margin: 0; letter-spacing: -0.01em; font-variant-numeric: lining-nums; }
h2 { font-size: clamp(34px, 4.6vw, 64px); }
h2 em, h1 em { font-style: italic; color: var(--tierra); }
.eyebrow { font: 400 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--tierra); margin: 0 0 22px; }
.link { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link:hover { color: var(--tierra); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 30px; font: 400 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--tinta); cursor: pointer; transition: background .3s, color .3s, border-color .3s; border-radius: 0; }
.btn-dark { background: var(--tinta); color: var(--papel); }
.btn-dark:hover { background: var(--tierra); border-color: var(--tierra); }
.btn-gold { background: var(--miel); border-color: var(--miel); color: var(--noche); }
.btn-gold:hover { background: #e6b75c; }
.btn-light { background: transparent; color: var(--papel); border-color: rgba(250,247,243,.7); }
.btn-light:hover { background: var(--papel); color: var(--tierra); }
.btn-wide { width: 100%; }
.btn.off { opacity: .35; pointer-events: none; }

/* Aviso y menú: siempre sobre fondo liso, nunca encima del video */
.notice { background: var(--tinta); color: var(--crema); text-align: center; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; padding: 9px 16px; }
.notice p { margin: 0; }
.top { position: sticky; top: 0; z-index: 30; height: var(--top-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gut); background: rgba(250,247,243,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); }
.top-logo img { height: 40px; width: auto; }
.top-nav { display: flex; gap: 30px; align-items: center; }
.top-nav-r { justify-content: flex-end; }
.top-nav a { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.top-nav a:hover { color: var(--tierra); }
.bag-btn { background: none; border: 0; font: 400 11.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; color: var(--tinta); display: flex; align-items: center; gap: 8px; padding: 0; }
.bag-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.bag-btn:hover { color: var(--tierra); }
.bag-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: var(--tinta); color: var(--papel); font-size: 11px; letter-spacing: 0; }
.bag-count.bump { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.35); background: var(--miel); } }

/* Hero: el video a pantalla completa; al final se enmarca a la derecha y el texto aparece sobre papel */
.hero { position: relative; background: var(--papel); }
.hero-track { position: relative; }
.hv-on .hero-track { height: 520svh; }
.hero-sticky { position: relative; height: calc(100svh - var(--top-h)); overflow: hidden; display: grid; grid-template-columns: 44% 56%; }
.hv-on .hero-sticky { position: sticky; top: var(--top-h); display: block; }
.hero-frame { position: relative; overflow: hidden; background: var(--arena); grid-column: 2; margin: 4vh var(--gut) 4vh 0; }
.hv-on .hero-frame { position: absolute; inset: 0; margin: 0; will-change: clip-path; }
.hero-poster, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.drawn .hero-poster { visibility: hidden; }
.hero-copy { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px var(--gut); }
.hv-on .hero-copy { position: absolute; top: 0; bottom: 0; left: 0; width: 44%; }
.hero-title { font-size: clamp(48px, 5.3vw, 100px); font-weight: 300; line-height: .98; margin: 0 0 24px; }
.hero-line { display: block; }
.hero-eyebrow { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--tierra); margin: 0 0 26px; }
.hero-sub { font-size: clamp(16px, 1.3vw, 19px); margin: 0 0 36px; color: var(--tinta-2); max-width: 30ch; }
.hero-ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero-pick { display: flex; align-items: center; gap: 16px; background: var(--crema); border: 1px solid var(--linea); padding: 10px 22px 10px 10px; cursor: pointer; text-align: left; font: inherit; color: inherit; transition: border-color .3s; }
.hero-pick:hover { border-color: var(--tierra); }
.hero-pick img { width: 64px; height: 80px; object-fit: cover; }
.hero-pick small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--tierra); }
.hero-pick b { display: block; font: 400 24px/1.2 var(--serif); }
.hero-pick i { font-style: normal; font-size: 13px; color: var(--tinta-2); }
.hv-js .hero-eyebrow, .hv-js .hero-line, .hv-js .hero-sub, .hv-js .hero-cta { opacity: 0; }
.hero-hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); margin: 0; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--tinta); background: var(--papel); padding: 12px 20px 14px; white-space: nowrap; }
.hero-hint::after { content: ""; display: block; width: 1px; height: 22px; background: var(--tinta); margin: 8px auto 0; animation: hint 1.8s infinite; transform-origin: top; }
.hero-hint:not(:only-child) { }
html:not(.hv-on) .hero-hint { display: none; }
@keyframes hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Manifiesto */
.manifest { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; padding: clamp(80px, 11vw, 170px) var(--gut); max-width: 1500px; margin: 0 auto; }
.manifest-img { aspect-ratio: 5 / 4; overflow: hidden; }
.manifest-img img { width: 100%; height: 100%; object-fit: cover; }
.manifest-text { max-width: 520px; }
.manifest-text h2 { margin-bottom: 28px; }
.manifest-text p:not(.eyebrow) { color: var(--tinta-2); margin: 0 0 34px; font-size: 17px; }

/* Categorías: columnas verticales, nombre debajo */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding: 0 var(--gut) clamp(80px, 10vw, 140px); max-width: 1680px; margin: 0 auto; }
.cat { display: block; text-decoration: none; }
.cat-img { display: block; aspect-ratio: 3 / 4.4; overflow: hidden; background: var(--crema); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cat:hover .cat-img img { transform: scale(1.05); }
.cat-name { display: block; text-align: center; padding: 22px 0 0; font: 400 clamp(17px, 1.5vw, 22px)/1.1 var(--serif); letter-spacing: .14em; text-transform: uppercase; }

/* Tienda */
.sec { padding: clamp(80px, 10vw, 150px) var(--gut); max-width: 1500px; margin: 0 auto; }
#coleccion { border-top: 1px solid var(--linea); max-width: none; background: var(--papel); }
#coleccion > * { max-width: 1420px; margin-left: auto; margin-right: auto; }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.chips button { background: none; border: 1px solid var(--linea); border-radius: 40px; padding: 10px 20px; font: 400 11.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; color: var(--tinta-2); transition: border-color .3s, color .3s; }
.chips button:hover { color: var(--tinta); }
.chips button[aria-selected="true"] { border-color: var(--tinta); color: var(--papel); background: var(--tinta); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 22px; }
.card { position: relative; display: flex; flex-direction: column; opacity: 0; transform: translateY(18px); transition: opacity .8s, transform .8s; }
.card.in { opacity: 1; transform: none; }
.card[hidden] { display: none; }
.card-open { display: block; width: 100%; padding: 0; border: 0; background: var(--crema); cursor: pointer; }
.card-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-img img { transform: scale(1.045); }
.card-info { padding: 18px 0 0; text-align: center; flex: 1; }
.card-info h3 { font: 400 23px/1.15 var(--serif); }
.card-notes { margin: 6px 0 0; font-size: 12px; color: var(--tinta-2); letter-spacing: .04em; }
.card-price { margin: 10px 0 0; font-size: 13px; letter-spacing: .06em; }
.card-add { margin-top: 16px; align-self: center; background: none; border: 1px solid var(--tinta); padding: 11px 22px; font: 400 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s; }
.card-add:hover { background: var(--tinta); color: var(--papel); }
.note { text-align: center; margin: 64px auto 0; font-size: 12px; color: var(--tinta-2); letter-spacing: .06em; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* El ritual: la sección de noche */
.night { background: var(--noche); color: var(--crema); display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.night-text { padding: clamp(64px, 8vw, 140px) var(--gut); align-self: center; max-width: 680px; justify-self: end; }
.night .eyebrow { color: var(--miel); }
.night h2 { color: var(--papel); margin: 0 0 24px; font-size: clamp(32px, 3.6vw, 52px); }
.night h2 em { color: var(--miel); }
.night p:not(.eyebrow) { color: #cfc4b6; margin: 0 0 40px; max-width: 46ch; }
.dates { display: flex; gap: clamp(32px, 5vw, 80px); margin: 10px 0 44px; }
.dates div { display: flex; flex-direction: column; }
.dates b { font: 400 clamp(110px, 13vw, 210px)/.82 var(--num); color: var(--miel); letter-spacing: -0.02em; }
.dates span { margin-top: 16px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #cfc4b6; line-height: 1.7; }
.night-img { position: relative; overflow: hidden; }
.night-img img { width: 100%; height: 100%; object-fit: cover; }

/* Líneas: mosaico de color, texto siempre sobre el color, nunca sobre la foto */
.lines { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(300px, auto); gap: 14px; }
.line { display: grid; grid-template-columns: 1fr 1fr; text-decoration: none; overflow: hidden; transition: transform .6s var(--ease); }
.line:hover { transform: translateY(-4px); }
.line-txt { display: flex; flex-direction: column; justify-content: space-between; padding: 30px 28px; gap: 24px; }
.line-txt b { font: italic 400 clamp(34px, 3.2vw, 50px)/1 var(--serif); }
.line-txt small { font-size: 13.5px; line-height: 1.45; max-width: 26ch; }
.line-img { overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.line:hover .line-img img { transform: scale(1.05); }
.line-amor { grid-column: span 3; background: #EBCFC8; color: #5a2a26; }
.line-pride { grid-column: span 3; background: #3B2C57; color: #F3E9FF; }
.line-inf { grid-column: span 2; background: #C9DCE6; color: #1f3a4a; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.line-inf .line-img { aspect-ratio: 4 / 3; }
.line-roja { grid-column: span 2; background: #7D1F1F; color: #F6DCD3; grid-template-columns: 1fr; }
.line-roja .line-txt { justify-content: center; text-align: center; align-items: center; }
.line-roja b { font-size: clamp(48px, 4.6vw, 72px); }
.line-pers { grid-column: span 2; background: var(--miel); color: #2e2210; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.line-pers .line-img { aspect-ratio: 4 / 3; }

/* Hecho a mano */
.made { background: var(--crema); padding: clamp(80px, 10vw, 150px) var(--gut); }
.made-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.made-head h2 { margin-bottom: 22px; }
.made-head p:not(.eyebrow) { color: var(--tinta-2); margin: 0 auto; max-width: 54ch; }
.made-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 14px; max-width: 1420px; margin: 0 auto; align-items: end; }
.made-grid figure { margin: 0; }
.made-grid .ph { aspect-ratio: 4 / 5; overflow: hidden; }
.made-grid figure:nth-child(2) .ph { aspect-ratio: 4 / 4.6; }
.made-grid img { width: 100%; height: 100%; object-fit: cover; }
.made-grid figcaption { margin-top: 14px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--tinta-2); }

/* Regalos y por mayor: pantalla partida */
.duo { display: grid; grid-template-columns: 2fr 1fr; }
.duo-gift { display: grid; grid-template-columns: 1fr 1fr; background: var(--papel); }
.duo-text { padding: clamp(56px, 7vw, 110px) var(--gut); align-self: center; }
.duo-text h2 { margin-bottom: 22px; }
.duo-text p:not(.eyebrow) { color: var(--tinta-2); margin: 0 0 34px; }
.duo-img img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }
.duo-whole { background: var(--tierra); color: var(--papel); padding: clamp(56px, 6vw, 100px) clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.duo-whole .eyebrow { color: #eadfce; }
.duo-whole h2 { color: var(--papel); font-size: clamp(32px, 3.4vw, 50px); margin-bottom: 20px; }
.duo-whole p:not(.eyebrow) { color: #f0e6d8; margin: 0 0 32px; }
.duo-whole .btn { align-self: flex-start; }

/* Cómo pedir */
.how { border-bottom: 1px solid var(--linea); }
.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1200px; }
.steps li { border-top: 1px solid var(--tinta); padding-top: 26px; }
.steps b { font: 400 54px/1 var(--num); color: var(--miel); }
.steps h3 { font-size: 30px; margin: 14px 0 8px; }
.steps p { margin: 0; color: var(--tinta-2); }

/* Pie con el logo grande */
.foot { padding: 80px var(--gut) 36px; background: var(--papel); }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.foot-claim { font: italic 300 clamp(28px, 3vw, 42px)/1.1 var(--serif); color: var(--tierra); margin: 0; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; margin: 0; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--tierra); }
.foot-logo { width: 100%; max-width: 1180px; height: auto; margin: 0 auto; }
.foot-credit { margin: 32px 0 0; font-size: 11px; color: #9a9188; letter-spacing: .1em; text-align: center; }

/* Ficha */
.sheet { border: 0; padding: 0; max-width: 1000px; width: calc(100% - 32px); background: var(--papel); color: var(--tinta); }
.sheet::backdrop { background: rgba(34,34,34,.5); }
.sheet-body { display: grid; grid-template-columns: 1fr 1fr; }
.sheet-img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.sheet-info { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.sheet-info h3 { font-size: 44px; margin-bottom: 8px; }
.sheet-notes { font-size: 13px; color: var(--tierra); letter-spacing: .06em; margin: 0 0 18px; }
.sheet-price { font-size: 18px; margin: 0 0 16px; }
.sheet-desc { color: var(--tinta-2); margin: 0 0 24px; }
.sheet-variants { display: flex; gap: 8px; margin-bottom: 20px; }
.sheet-variants button { flex: 1; background: none; border: 1px solid var(--linea); padding: 11px 8px; font: 400 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.sheet-variants [aria-checked="true"] { border-color: var(--tinta); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--linea); margin-bottom: 18px; align-self: flex-start; }
.qty button { width: 44px; height: 44px; background: none; border: 0; font-size: 18px; cursor: pointer; }
.qty output { min-width: 32px; text-align: center; }
.x { position: absolute; top: 10px; right: 14px; z-index: 2; background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--tinta); }

/* Mi pedido */
.bag { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 50; background: var(--papel); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); }
.bag-open .bag { transform: none; }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(34,34,34,.35); opacity: 0; pointer-events: none; transition: opacity .4s; }
.bag-open .scrim { opacity: 1; pointer-events: auto; }
.bag-head { position: relative; padding: 26px 24px; border-bottom: 1px solid var(--linea); }
.bag-head h3 { font-size: 30px; }
.bag-list { list-style: none; margin: 0; padding: 8px 24px; overflow: auto; flex: 1; }
.bag-list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.bag-list img { width: 64px; height: 80px; object-fit: cover; }
.bag-list b { display: block; font: 400 19px/1.2 var(--serif); }
.bag-list small { display: block; color: var(--tinta-2); font-size: 12px; }
.bag-list button { background: none; border: 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; cursor: pointer; color: var(--tinta-2); }
.bag-list .bag-empty { display: block; color: var(--tinta-2); border: 0; padding-top: 30px; }
.bag-foot { padding: 20px 24px 26px; border-top: 1px solid var(--linea); }
.bag-total { margin: 0 0 14px; font-size: 14px; }
.bag-note { font-size: 12px; color: var(--tinta-2); text-align: center; margin: 12px 0 0; }

@media (max-width: 1100px) {
  .top-nav-l { display: none; }
  .top { grid-template-columns: auto 1fr; }
  .top-logo { grid-column: 1; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(6, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; }
  .cat { scroll-snap-align: start; }
  .duo { grid-template-columns: 1fr; }
  .lines { grid-template-columns: repeat(2, 1fr); }
  .line-amor, .line-pride { grid-column: span 2; }
  .line-inf, .line-roja, .line-pers { grid-column: span 1; }
  .line-roja { grid-column: span 2; min-height: 220px; }
}
@media (max-width: 760px) {
  :root { --top-h: 60px; }
  .notice { font-size: 9.5px; letter-spacing: .14em; }
  .top { padding: 0 16px; }
  .top-nav-r a { display: none; }
  .top-logo img { height: 32px; }
  .bag-btn span { display: none; }
  /* Hero vertical: la imagen se enmarca abajo y el texto queda arriba */
  .hero-sticky { display: flex; flex-direction: column; }
  .hero-frame { margin: 0 16px 16px; flex: 1; min-height: 46svh; }
  .hv-on .hero-copy { width: auto; right: 0; bottom: auto; padding: 22px 16px 0; }
  .hero-copy { padding: 32px 16px 20px; justify-content: flex-start; }
  .hero-title { font-size: clamp(40px, 11.5vw, 56px); margin-bottom: 12px; }
  .hero-eyebrow { margin-bottom: 14px; }
  .hero-sub { margin-bottom: 18px; font-size: 15px; }
  .hero-ctas { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .hero-pick { display: none; }
  .manifest { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 72px; }
  .cats { grid-template-columns: repeat(6, 62%); gap: 10px; padding-bottom: 72px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 40px 12px; }
  .card-info h3 { font-size: 19px; }
  .card-add { width: 100%; padding: 11px 6px; }
  .night { grid-template-columns: 1fr; min-height: 0; }
  .night-text { padding: 64px 16px; justify-self: start; }
  .night-img { aspect-ratio: 4 / 5; order: -1; }
  .lines { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .line-amor, .line-pride, .line-inf, .line-roja, .line-pers { grid-column: span 1; }
  .line { grid-template-columns: 1fr 1fr; grid-template-rows: none; min-height: 220px; }
  .line-roja { grid-template-columns: 1fr; }
  .line-inf .line-img, .line-pers .line-img { aspect-ratio: auto; }
  .line-txt { padding: 22px 18px; }
  .made-grid { grid-template-columns: 1fr 1fr; }
  .made-grid figure:nth-child(2) { grid-column: span 2; order: -1; }
  .duo-gift { grid-template-columns: 1fr; }
  .duo-img { order: -1; }
  .duo-img img { min-height: 0; aspect-ratio: 4 / 5; }
  .steps { grid-template-columns: 1fr; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .sheet-body { grid-template-columns: 1fr; }
  .sheet-img { aspect-ratio: 1; }
  .sheet-info { padding: 28px 20px; }
  .sheet-info h3 { font-size: 34px; }
}
/* ---------- Newsletter ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.center { text-align: center; }
.news { background: var(--crema); border-top: 1px solid var(--linea); padding: clamp(64px, 8vw, 110px) var(--gut); }
.news-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.news h2 { margin-bottom: 16px; }
.news-in > div p:not(.eyebrow) { color: var(--tinta-2); margin: 0; max-width: 46ch; }
.news-row { display: flex; gap: 0; border: 1px solid var(--tinta); background: var(--papel); }
.news-row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 16px 18px; font: 300 16px var(--sans); color: var(--tinta); }
.news-row input:focus { outline: none; }
.news-row:focus-within { box-shadow: 0 0 0 2px var(--miel); }
.news-row .btn { border: 0; }
.news-ok { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; color: var(--tinta-2); line-height: 1.45; cursor: pointer; }
.news-ok input { margin-top: 2px; accent-color: var(--tierra); }
.news-msg { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; color: var(--tierra); }

/* ---------- Blog ---------- */
.blog-teaser { border-top: 1px solid var(--linea); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; max-width: 1320px; margin: 0 auto; }
.post { display: flex; flex-direction: column; text-decoration: none; }
.post-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--crema); margin-bottom: 18px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post-img img { transform: scale(1.04); }
.post-date { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--tierra); }
.post-title { font: 400 clamp(24px, 2.2vw, 30px)/1.12 var(--serif); margin: 8px 0 8px; }
.post-sum { color: var(--tinta-2); font-size: 15px; }
.blog-teaser .center { margin-top: 48px; }
.blog-list h1 { font-size: clamp(40px, 5vw, 72px); }
.blog-list h1 em { font-style: italic; color: var(--tierra); }
.blog-empty { color: var(--tinta-2); padding: 20px 0 60px; }
.preview-bar { margin: 0; background: var(--miel); color: var(--noche); text-align: center; padding: 10px 16px; font-size: 13px; }

.art { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gut) 40px; }
.art-head { text-align: center; margin-bottom: 40px; }
.art-head .eyebrow a { text-decoration: none; }
.art h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.04; }
.art-lead { font: italic 300 clamp(20px, 2vw, 25px)/1.4 var(--serif); color: var(--tinta-2); margin: 22px auto 0; max-width: 40ch; }
.art-cover { margin: 0 calc(-1 * clamp(0px, 8vw, 140px)) 48px; }
.art-cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.art-body { font-size: 18px; line-height: 1.75; color: #34302b; }
.art-body p { margin: 0 0 1.2em; }
.art-body h2 { font-size: clamp(28px, 3vw, 38px); margin: 1.6em 0 .5em; color: var(--tinta); }
.art-body h3 { font-size: 26px; margin: 1.4em 0 .4em; }
.art-body img { width: 100%; height: auto; margin: 1.6em 0; }
.art-body blockquote { margin: 1.6em 0; padding: 0 0 0 24px; border-left: 2px solid var(--miel); font: italic 400 26px/1.35 var(--serif); color: var(--tierra); }
.art-body a { color: var(--tierra); }
.art-body ul, .art-body ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.art-body li { margin-bottom: .4em; }
.art-cta { margin: 64px 0 0; padding: 40px; background: var(--crema); text-align: center; }
.art-cta h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 12px; }
.art-cta p:not(.eyebrow) { color: var(--tinta-2); margin: 0 0 24px; }

@media (max-width: 900px) {
  .news-in { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .posts { grid-template-columns: 1fr; }
  .news-row { flex-direction: column; }
  .news-row .btn { width: 100%; }
  .art-cover { margin-left: -16px; margin-right: -16px; }
  .art-cta { padding: 32px 20px; }
}

/* Textos: renglones parejos, sin palabras sueltas al final */
h1, h2, h3, .card-info h3, .post-title, .cat-name, .line-txt b, .hero-pick b { text-wrap: balance; }
p, small, li, .card-notes, .post-sum, .line-txt small, figcaption { text-wrap: pretty; }
body { hyphens: manual; overflow-wrap: normal; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .card { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
