/* ============================================================
   MORO — Cortinas · Toldos · Cerramientos
   Design system + section styles
   Tipografías: Urbanist (todo el texto) · Instrument Serif cursiva (acentos)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #F3F2F0;
  --bg-soft: #EBE9E6;
  --surface: #FFFFFF;
  --ink: #15120E;
  --ink-2: #3B3630;
  --muted: #6E6862;
  --line: rgba(21, 18, 14, .14);
  --accent: #cf4245;
  --accent-2: #b5373a;
  --dark: #171310;

  --pad: clamp(24px, 5.6vw, 92px);
  --wrap: 1480px;
  --r-xl: clamp(20px, 2vw, 32px);
  --r-lg: 22px;
  --r-md: 16px;

  --shadow-sm: 0 2px 10px rgba(20, 16, 12, .06);
  --shadow-md: 0 18px 50px -24px rgba(20, 16, 12, .35);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --font-d: "Urbanist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-b: "Urbanist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: clamp(15px, 1.02vw, 17px);
  line-height: 1.66;
  font-weight: 400;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-d);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.012em;
  text-wrap: balance
}

p {
  margin: 0;
  text-wrap: pretty
}

dl,
dd,
dt {
  margin: 0
}

::selection {
  background: var(--accent);
  color: #fff
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px
}

.skip-link {
  position: fixed;
  left: 8px;
  top: -60px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  transition: top .2s
}

.skip-link:focus {
  top: 8px
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad)
}

.wrap--narrow {
  max-width: 1180px
}

.ta-c {
  text-align: center
}

.eyebrow {
  font-size: clamp(13px, .78rem, 14px);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1.4rem;
}

/* ---------- Type scale ---------- */
.h2 {
  font-size: clamp(30px, 4.1vw, 62px);
  line-height: 1.04
}

.h2--center {
  text-align: center
}

.h2--xl {
  font-size: clamp(34px, 5.6vw, 86px);
  line-height: 1.03
}

.lead {
  color: var(--ink-2);
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.68;
  max-width: 74ch;
}

.lead--center {
  margin-inline: auto;
  text-align: center;
  max-width: 78ch;
  color: var(--muted)
}

/* line-mask reveal */
.line {
  display: block;
  overflow: hidden;
  /* espacio extra abajo para que no se corten las colas de g, y, p, q, j */
  padding-bottom: .2em;
  margin-bottom: -.2em
}

.line>span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-io)
}

.is-in .line>span,
.line.is-in>span {
  transform: none
}

.line:nth-child(2)>span {
  transition-delay: .09s
}

.line:nth-child(3)>span {
  transition-delay: .18s
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms)
}

[data-reveal].is-in {
  opacity: 1;
  transform: none
}

/* ============================================================
   BUTTONS / CHIPS
   ============================================================ */
.btn {
  --btn-h: 56px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--btn-h);
  padding: 0 8px 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .005em;
  white-space: nowrap;
  transition: transform .5s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
  will-change: transform;
}

.btn>span {
  padding-right: 4px
}

.btn__icon {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform .5s var(--ease), background-color .35s var(--ease);
}

.btn__icon::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 1.7px solid currentColor;
  border-right: 1.7px solid currentColor;
  transform: rotate(45deg) translate(-1px, 1px);
  transition: transform .5s var(--ease);
}

.btn:hover {
  transform: translateY(-2px)
}

.btn:hover .btn__icon::before {
  transform: rotate(45deg) translate(2px, -2px)
}

.btn--accent {
  background: var(--accent);
  color: #fff
}

.btn--accent .btn__icon {
  background: #fff;
  color: var(--accent)
}

.btn--accent:hover {
  background: var(--accent-2)
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  padding: 0 8px 0 24px;
  backdrop-filter: blur(3px)
}

.btn--outline .btn__icon {
  background: rgba(255, 255, 255, .16);
  color: #fff
}

.btn--outline:hover {
  background: rgba(255, 255, 255, .14)
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line)
}

.btn--ghost .btn__icon {
  background: var(--ink);
  color: #fff
}

.btn--ghost:hover {
  background: var(--ink);
  color: #fff
}

.btn--ghost:hover .btn__icon {
  background: #fff;
  color: var(--ink)
}

.btn--sm {
  --btn-h: 46px;
  font-size: .86rem;
  padding: 0 6px 0 20px
}

.btn--sm .btn__icon {
  width: 34px;
  height: 34px
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: clamp(13px, .85rem, 14px);
  font-weight: 600;
  letter-spacing: .005em;
  white-space: nowrap;
  box-shadow: none;
  text-shadow: none;
}

.chip--dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent)
}

.chip--onDark {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, .22)
}

.chip--onDark::before {
  background: #fff
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 16px clamp(16px, 2vw, 30px) 18px clamp(16px, 2vw, 26px);
  background: var(--surface);
  border-radius: 0 0 clamp(18px, 2vw, 30px) 0;
  box-shadow: 0 10px 30px -18px rgba(20, 16, 12, .5);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  min-height: 44px
}

.logo__img {
  display: block;
  height: clamp(34px, 3.4vw, 46px);
  width: auto
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 30px)
}

.nav a {
  position: relative;
  font-size: .95rem;
  font-weight: 500;
  padding: 4px 0;
  color: var(--ink-2)
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease)
}

.nav a:hover::after,
.nav a[aria-current]::after {
  transform: scaleX(1);
  transform-origin: left
}

.nav a:hover {
  color: var(--ink)
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
  z-index: 70
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.6px;
  background: #fff;
  transition: transform .4s var(--ease), opacity .3s
}

.nav-toggle span:first-child {
  top: 19px
}

.nav-toggle span:last-child {
  top: 25px
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg)
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg)
}

.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--ease);
}

.nav-panel.is-open {
  opacity: 1;
  pointer-events: auto
}

.nav-panel[hidden] {
  display: none
}

.nav-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: none;
  padding: 16px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.nav-panel nav {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
  overflow-y: auto;
  padding: 20px 18px;
}

.nav-panel a {
  font-family: var(--font-d);
  font-size: clamp(32px, 9vw, 54px);
  line-height: 1.3
}

.nav-close {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  border: 0;
}

.nav-close span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.6px;
  background: #fff;
  transform-origin: center
}

.nav-close span:first-child {
  top: 19px;
  transform: rotate(45deg)
}

.nav-close span:last-child {
  top: 25px;
  transform: rotate(-45deg)
}

/* header is hidden while the panel is open (logo / X are not duplicated) */
body.nav-open .site-header {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}

/* ---------- Nav dropdown · Productos ---------- */
.nav__item {
  position: relative
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px
}

.nav__chev {
  width: 11px;
  height: 11px;
  flex: none;
  display: block;
  transition: transform .35s var(--ease);
}

.nav__item:hover .nav__chev,
.nav__item:focus-within .nav__chev {
  transform: rotate(180deg)
}

.nav__sub {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 340px;
  max-width: 90vw;
  z-index: 90;
  background: var(--surface);
  border: 1px solid rgba(20, 16, 12, .07);
  border-radius: 0 var(--r-lg) var(--r-lg) var(--r-lg);
  box-shadow: 0 24px 50px -28px rgba(20, 16, 12, .5);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(.985);
  transform-origin: top left;
  transition: opacity .38s var(--ease), transform .38s var(--ease), visibility 0s linear .38s;
}

/* invisible bridge so the pointer can cross the 16px gap without closing */
.nav__sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 16px
}

.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity .38s var(--ease), transform .38s var(--ease), visibility 0s linear 0s;
}

/* scrim: dims the page while the product dropdown is open so the white panel
   reads as a layer floating above the hero instead of colliding with its heading */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 64;
  background: rgba(14, 11, 8, .44);
  opacity: 0;
  pointer-events: none;
  transition: opacity .38s var(--ease);
}

.site-header:has(.nav__item:hover)~.nav-scrim,
.site-header:has(.nav__item:focus-within)~.nav-scrim {
  opacity: 1
}

/* overrides: `.nav a` + `.nav a::after` target every descendant anchor of .nav */
.nav .nav__sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color .3s var(--ease) var(--sd, 0s);
}

.nav .nav__sub a::after,
.nav a.nav__sub-link::after {
  display: none
}

.nav .nav__sub-link:hover {
  background: rgba(20, 16, 12, .045);
  color: var(--ink-2)
}

.nav .nav__sub-link:nth-child(1) {
  --sd: 0s
}

.nav .nav__sub-link:nth-child(2) {
  --sd: .05s
}

.nav .nav__sub-link:nth-child(3) {
  --sd: .1s
}

.nav .nav__sub-txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto
}

.nav .nav__sub-link b {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.2;
  color: var(--ink);
}

.nav .nav__sub-link small {
  font-family: var(--font-b);
  font-weight: 400;
  font-size: .78rem;
  line-height: 1.4;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav .nav__sub-link i {
  font-style: normal;
  flex: none;
  font-size: .9rem;
  color: var(--accent);
  transition: transform .35s var(--ease);
}

.nav .nav__sub-link:hover i {
  transform: translateX(3px)
}

/* ---------- Mobile panel · sub-links under "Productos" ---------- */
.nav-panel__group {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.nav-panel__label {
  font-family: var(--font-b);
  font-weight: 600;
  font-size: clamp(13px, .72rem, 14px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  margin-top: 4px;
}

.nav-panel__sub {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  padding: 12px 0 4px 16px;
  border-left: 1px solid rgba(20, 16, 12, .14);
}

.nav-panel .nav-panel__sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  font-family: var(--font-b);
  font-weight: 500;
  font-size: clamp(15px, 4.4vw, 20px);
  line-height: 1.4;
  color: var(--muted);
  text-align: left;
  transition: color .3s;
}

.nav-panel .nav-panel__sub-link i {
  font-style: normal;
  font-size: .8em;
  color: var(--accent);
  pointer-events: none;
}

.nav-panel .nav-panel__sub-link:hover {
  color: var(--ink)
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: calc(100svh - 18px);
  min-height: 600px;
  max-height: 1000px;
  overflow: hidden;
  background: var(--dark);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}

.hero__track {
  position: absolute;
  inset: 0
}

.hero__slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translateX(100%);
  transition: transform 1.05s var(--ease-io);
  will-change: transform;
}

.hero__slide.is-active {
  z-index: 2;
  transform: translateX(0)
}

.hero__slide.is-prev {
  z-index: 1;
  transform: translateX(-100%)
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.16);
  transition: transform 1.8s var(--ease);
}

.hero__slide.is-active .hero__media img {
  transform: scale(1)
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(14, 11, 8, .6) 0%, rgba(14, 11, 8, .3) 36%, rgba(14, 11, 8, 0) 64%),
    linear-gradient(to top, rgba(14, 11, 8, .48) 0%, rgba(14, 11, 8, 0) 40%);
}

.hero__body {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  color: #fff;
  padding-inline: var(--pad);
  width: min(1120px, 88%);
  text-shadow: 0 2px 20px rgba(14, 11, 8, .5), 0 1px 3px rgba(14, 11, 8, .38);
}

.hero__title {
  font-size: clamp(30px, 4.2vw, 60px);
  line-height: 1.04;
  color: #fff;
  letter-spacing: -.018em;
}

.hero__slide:not(.is-active) .hero__title .line>span {
  transform: translateY(110%)
}

.hero__slide.is-active .hero__title .line>span {
  transform: none;
  transition-delay: .42s
}

.hero__sub {
  font-size: clamp(15px, 1.15vw, 17px);
  color: rgba(255, 255, 255, .88);
  margin-top: clamp(12px, 1.3vw, 18px);
  max-width: 44ch;
  line-height: 1.5;
}

.hero__slide.is-active .hero__sub {
  transition-delay: .48s;
}

.stats {
  display: flex;
  gap: clamp(20px, 3vw, 54px);
  margin-top: clamp(22px, 2.6vw, 38px);
}

.stats>div {
  flex: 1 1 0;
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .4);
}

.stats dt {
  font-family: var(--font-d);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.stats dd {
  font-size: clamp(13px, .82vw, 13.5px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .76);
  max-width: 30ch
}

.hero__body .btn {
  margin-top: clamp(24px, 2.8vw, 40px)
}

.hero__slide .hero__body>* {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.hero__slide.is-active .hero__body>* {
  opacity: 1;
  transform: none
}

.hero__slide.is-active .hero__title {
  transition-delay: .34s
}

.hero__slide.is-active .stats {
  transition-delay: .52s
}

.hero__slide.is-active .hero__body .btn {
  transition-delay: .64s
}

.hero__corner {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 13px clamp(16px, 1.6vw, 26px);
  border-radius: var(--r-lg) 0 var(--r-xl) 0;
  font-size: .88rem;
  font-weight: 600;
  transition: padding-right .45s var(--ease), background-color .3s,
    opacity .17s ease, transform .17s ease;
}

.hero__corner:hover {
  background: var(--accent);
  color: #fff;
  padding-right: clamp(24px, 2.4vw, 38px)
}

.hero__corner.is-swap {
  opacity: 0;
  transform: translateY(6px)
}

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  translate: 0 -50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .32);
  backdrop-filter: blur(6px);
  transition: background-color .3s, transform .3s var(--ease);
}

.hero__arrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 1.6px solid #fff;
  border-right: 1.6px solid #fff;
}

.hero__arrow--prev {
  left: clamp(10px, 1.4vw, 24px)
}

.hero__arrow--prev::before {
  transform: rotate(-135deg) translate(-1px, -1px)
}

.hero__arrow--next {
  right: clamp(10px, 1.4vw, 24px)
}

.hero__arrow--next::before {
  transform: rotate(45deg) translate(-1px, -1px)
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, .24);
  transform: scale(1.08)
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  translate: -50% 0;
  z-index: 5;
  display: flex;
  gap: 9px;
}

.hero__dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .42);
  transition: width .45s var(--ease), background-color .3s;
}

.hero__dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: #fff
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding-block: clamp(44px, 6vw, 96px)
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(34px, 4vw, 60px);
  flex-wrap: wrap;
}

.sec-head .lead {
  margin-top: 18px;
  max-width: 66ch
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 30px);
}

.card {
  position: relative
}

.card__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 4/3.15;
  background: var(--bg-soft);
  box-shadow: 0 22px 46px -30px rgba(20, 16, 12, .55);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s var(--ease)
}

.card:hover .card__media img {
  transform: scale(1.06)
}

.card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color .3s var(--ease)
}

/* stretched link: the whole card is the hit area */
.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0
}

.card:hover h3 a {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px
}

.card h3 a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px
}

.card>p {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(15px, .94rem, 16px);
  line-height: 1.68;
  max-width: 60ch;
  padding-right: 8px;
}

/* Mosaico escalonado de #productos: cards laterales casi cuadradas y la central
   vertical y más alta; las laterales quedan alineadas arriba y la central sube
   (el escalón vive solo en el layout de 3 columnas). */
#productos .card .card__media {
  aspect-ratio: 1.075
}

#productos .card:nth-child(2) .card__media {
  aspect-ratio: .856
}

#productos .card h3 {
  margin-top: clamp(18px, 2vw, 26px)
}

@media (min-width:1081px) {
  #productos .card:not(:nth-child(2)) {
    margin-top: clamp(24px, 2.7vw, 54px)
  }
}

/* ---------- Promo band ---------- */
.promo {
  margin-top: clamp(28px, 3.4vw, 52px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 54px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 46px);
}

.promo__num {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--accent)
}

.promo__num span {
  font-family: var(--font-d);
  font-size: clamp(34px, 4.4vw, 70px);
  letter-spacing: -.03em;
  white-space: nowrap;
}

.promo__num small {
  font-size: clamp(11.5px, .74rem, 13px);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.promo__body h3 {
  font-size: clamp(21px, 2vw, 30px);
  margin-bottom: 10px
}

.promo__body p {
  color: var(--muted);
  font-size: clamp(15px, .96rem, 16px);
  max-width: 62ch
}

.promo__body strong {
  color: var(--ink);
  font-weight: 600
}

/* ---------- Spacing between adjacent light sections ---------- */
.products {
  padding-bottom: clamp(28px, 3.5vw, 56px);
}

.statement {
  padding-top: clamp(28px, 3.5vw, 56px);
  padding-bottom: clamp(16px, 2vw, 36px);
}

.statement .lead--center {
  margin-top: 18px;
}

/* ---------- Scroll-driven media reveal ---------- */
.reveal {
  position: relative;
  height: 165vh;
  margin-top: clamp(24px, 3vw, 44px);
}

.about {
  padding-top: clamp(28px, 3.5vw, 56px);
}

.reveal__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.reveal__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  width: calc(44vw + (100vw - 44vw) * var(--p, 0));
  height: calc(44vw + (78svh - 44vw) * var(--p, 0));
  border-radius: calc(50% - 50% * var(--p, 0) + var(--r-xl) * var(--p, 0));
  will-change: width, height, border-radius;
}

.reveal__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.16 - .16 * var(--p, 0)));
  will-change: transform;
}

.reveal__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 11, 8, .78), rgba(14, 11, 8, .5) 58%, rgba(14, 11, 8, .44));
}

.reveal__caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 24px);
  text-align: center;
  color: #fff;
  padding: 24px;
  opacity: calc(.4 + .6 * var(--p, 0));
  text-shadow: 0 3px 32px rgba(14, 11, 8, .78), 0 1px 5px rgba(14, 11, 8, .68);
}

.reveal__title {
  font-family: var(--font-d);
  font-size: clamp(26px, 3.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -.015em;
}

/* ---------- About / accordion ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 80px);
  margin-top: clamp(34px, 4vw, 64px);
  align-items: start;
}

.about__figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/4.4;
  background: var(--bg-soft);
}

.about__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease)
}

.about__left:hover .about__figure img {
  transform: scale(1.04)
}

.about__left .btn {
  margin-top: 26px
}

.about__intro {
  font-size: clamp(15px, 1.16vw, 18.5px);
  line-height: 1.66;
  color: var(--ink-2);
  max-width: 74ch;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.accordion {
  margin-top: 6px
}

.acc__item {
  border-bottom: 1px solid var(--line)
}

.acc__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  text-align: left;
  font-size: clamp(15px, 1.14vw, 18px);
  font-weight: 600;
  transition: color .3s;
}

.acc__head:hover {
  color: var(--accent)
}

.acc__head i {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px
}

.acc__head i::before,
.acc__head i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 7.2px;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform .45s var(--ease), opacity .3s;
}

.acc__head i::after {
  transform: rotate(90deg)
}

.acc__item.is-open .acc__head i::after {
  transform: rotate(0deg);
  opacity: 0
}

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease);
}

.acc__item.is-open .acc__panel {
  grid-template-rows: 1fr
}

.acc__panel>div {
  overflow: hidden
}

.acc__panel p {
  color: var(--muted);
  font-size: clamp(15px, .96rem, 16px);
  line-height: 1.68;
  padding-bottom: 24px;
  max-width: 56ch;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease) .1s, transform .5s var(--ease) .1s;
}

.acc__item.is-open .acc__panel p {
  opacity: 1;
  transform: none
}

/* ---------- Gallery marquees ---------- */
.marquees {
  margin-top: clamp(40px, 5vw, 84px);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.1vw, 18px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.marquee {
  overflow: hidden;
  width: 100%
}

.marquee__track {
  display: flex;
  gap: clamp(10px, 1.1vw, 18px);
  width: max-content;
  animation: marquee var(--dur, 60s) linear infinite;
}

.marquee--rev .marquee__track {
  animation-direction: reverse
}

.marquee:hover .marquee__track {
  animation-play-state: paused
}

.marquee__track img {
  height: clamp(130px, 15vw, 230px);
  width: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-md);
  flex: none;
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0)
  }

  to {
    transform: translate3d(-50%, 0, 0)
  }
}

/* ---------- CTA ---------- */
.cta-sec .btn {
  margin-top: clamp(26px, 3vw, 44px)
}

/* ---------- Showrooms & Interactive Map Layout ---------- */
.showrooms__layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(20px, 2.5vw, 32px);
  align-items: stretch;
}

.showrooms__cards {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 24px);
}

.branch-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(24px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px -6px rgba(107, 48, 40, 0.08);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .35s var(--ease), border-color .35s var(--ease);
  opacity: .72;
}

.branch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.branch-card:hover {
  transform: translateY(-4px);
  border-color: rgba(107, 48, 40, 0.42);
  box-shadow: 0 16px 36px -8px rgba(107, 48, 40, 0.14);
  opacity: 1;
}

.branch-card:hover::before {
  transform: scaleX(1);
}

.branch-card.is-active {
  opacity: 1;
  border-color: rgba(107, 48, 40, 0.75);
  box-shadow:
    0 0 0 3px rgba(107, 48, 40, 0.08),
    0 20px 48px -10px rgba(107, 48, 40, 0.22);
  transform: translateY(-2px);
}

.branch-card.is-active::before {
  transform: scaleX(1);
}

.branch-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.branch-card__title {
  font-family: var(--font-d);
  font-size: clamp(28px, 2.8vw, 40px);
  color: var(--ink);
  letter-spacing: -.01em;
}

.branch-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EBF8EE;
  color: #16A34A;
  padding: 8px;
  border-radius: 999px;
}

.branch-card__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.branch-card__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
}

.branch-card__row svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--muted);
}

.branch-card__bottom {
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.branch-card__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
}

.branch-card__phone svg {
  color: var(--accent);
  flex-shrink: 0;
}

.branch-card__phone a {
  color: inherit;
  transition: color .2s ease;
}

.branch-card__phone a:hover {
  color: var(--accent);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .88rem;
  box-shadow: 0 6px 18px -4px rgba(37, 211, 102, 0.45);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.whatsapp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 22px -3px rgba(37, 211, 102, 0.6);
}

/* Map Column */
.showrooms__map-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  min-height: 480px;
}

.map-controls {
  display: flex;
  gap: 10px;
  padding: 6px 6px 14px 6px;
}

.map-pin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all .25s ease;
}

.map-pin-btn:hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--ink);
}

.map-pin-btn.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.map-pin-btn.is-active svg {
  color: #fff;
}

.map-frame-box {
  position: relative;
  width: 100%;
  flex-grow: 1;
  min-height: 380px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #EBE8E3;
}

.map-frame-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(40%) contrast(1.05);
  transition: filter .35s ease;
}

.map-frame-box:hover iframe {
  filter: grayscale(0%) contrast(1);
}

.showrooms__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

@media (max-width: 980px) {
  .showrooms__layout {
    grid-template-columns: 1fr;
  }

  .showrooms__map-col {
    min-height: 400px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding-bottom: 0;
  margin-top: clamp(24px, 3vw, 44px)
}

.site-footer>.wrap {
  max-width: none;
  padding: 0
}

.pfoot {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border-radius: 0;
  padding: clamp(40px, 6vw, 96px) var(--pad) clamp(20px, 2vw, 28px);
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(207, 66, 69, .38), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, rgba(207, 66, 69, .28), transparent 60%),
    var(--dark);
}

.pfoot__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-bottom: clamp(32px, 4vw, 56px);
}

.pfoot__eyebrow {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pfoot__eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.pfoot__title {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 68px);
  line-height: 1.08;
  letter-spacing: -.01em;
  max-width: 22ch;
}

.pfoot__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(32px, 4vw, 60px) 0;
}

.pfoot__brand .logo__img {
  height: 38px;
  width: auto;
  filter: invert(1)
}

.pfoot__brand p {
  margin-top: 18px;
  max-width: 34ch;
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .62);
}

.pfoot__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start
}

.pfoot__col h3 {
  font-family: var(--font-b);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 12px;
}

.pfoot__col a,
.pfoot__col span {
  font-size: .98rem;
  color: rgba(255, 255, 255, .86);
  padding: 7px 0;
  transition: color .3s, transform .3s var(--ease);
}

.pfoot__col a:hover {
  color: #fff;
  transform: translateX(4px)
}

.pfoot__col span {
  color: rgba(255, 255, 255, .55)
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 14px
}

.pfoot__col .socials a {
  padding: 0;
}

.pfoot__col .socials a:hover {
  transform: translateY(-3px)
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}

.socials a:hover {
  background: #fff;
  color: var(--dark);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor
}

.pfoot__bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .86rem;
  color: rgba(255, 255, 255, .5);
}

.pfoot__bar a {
  color: rgba(255, 255, 255, .8);
  transition: color .3s
}

.pfoot__bar a:hover {
  color: #fff
}

@media (max-width:900px) {
  .pfoot__grid {
    grid-template-columns: 1fr 1fr
  }

  .pfoot__brand {
    grid-column: 1 / -1
  }
}

@media (max-width:600px) {
  .pfoot {
    padding: 40px 22px calc(20px + env(safe-area-inset-bottom))
  }

  .pfoot__cta {
    gap: 16px;
    padding-bottom: 32px
  }

  .pfoot__title {
    font-size: clamp(30px, 9vw, 40px);
    max-width: 14ch
  }

  .pfoot__grid {
    gap: 28px 20px;
    padding: 32px 0 28px
  }

  .pfoot__brand p {
    max-width: none
  }

  .pfoot__col:last-child {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12)
  }

  .pfoot__col a,
  .pfoot__col span {
    padding: 9px 0;
    min-height: 44px;
    display: flex;
    align-items: center
  }

  .pfoot__col .socials {
    margin-top: 10px;
    align-self: stretch;
    justify-content: center
  }

  .pfoot__bar {
    flex-direction: column;
    gap: 6px;
    padding-top: 24px;
    padding-bottom: 64px;
    font-size: .8rem
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1080px) {
  .cards {
    grid-template-columns: repeat(2, 1fr)
  }

  .promo {
    grid-template-columns: 1fr;
    gap: 22px
  }

  .promo .btn {
    justify-self: start
  }

  .about__grid {
    grid-template-columns: 1fr
  }

  .about__figure {
    aspect-ratio: 4/3.4
  }
}

@media (max-width:860px) {
  .nav {
    display: none
  }

  .site-header {
    padding: 12px 12px 12px 16px;
    border-radius: 0 0 20px 0;
    gap: 14px
  }

  .nav-toggle {
    display: block
  }

  .site-header .logo__img {
    height: 30px
  }

  .hero {
    height: calc(100svh - 14px);
    min-height: 560px
  }

  .hero__body {
    width: 100%;
    top: auto;
    bottom: 96px;
    transform: none
  }

  .hero__title {
    font-size: clamp(30px, 8.4vw, 46px)
  }

  .stats {
    gap: 16px
  }

  .stats dd {
    font-size: 13px
  }

  .hero__arrow {
    display: none
  }

  .hero__body .btn {
    margin-top: 22px
  }

  .cards {
    grid-template-columns: 1fr
  }

  .card__media {
    aspect-ratio: 4/3
  }

  .showrooms__grid {
    grid-template-columns: 1fr
  }

  .sec-head {
    align-items: flex-start;
    flex-direction: column
  }

  .reveal {
    height: 150svh;
    margin-top: 12px
  }

  .reveal__sticky {
    top: 15svh;
    height: 70svh
  }

  .reveal__media {
    width: calc(74vw + (100vw - 74vw) * var(--p, 0));
    height: calc(74vw + (64svh - 74vw) * var(--p, 0));
  }
}

@media (max-width:520px) {
  .btn {
    --btn-h: 50px;
    font-size: .87rem;
    padding: 0 7px 0 18px;
    gap: 10px;
    white-space: normal;
    height: auto;
    min-height: var(--btn-h)
  }

  .btn__icon {
    width: 36px;
    height: 36px
  }

  .chip {
    padding: 11px 22px
  }

  .promo__num span {
    font-size: 54px
  }
}

@media (max-width:400px) {
  .btn {
    padding: 0 6px 0 12px;
    gap: 8px
  }

  .btn>span {
    padding-right: 2px
  }

  .btn__icon {
    width: 34px;
    height: 34px
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none
  }

  .line>span {
    transform: none
  }

  .hero__slide .hero__body>* {
    opacity: 1;
    transform: none
  }

  .hero__corner {
    opacity: 1 !important;
    transform: none !important
  }

  .nav__sub {
    transition-delay: 0s !important
  }

  .reveal {
    height: auto;
    margin-block: 40px
  }

  .reveal__sticky {
    position: static;
    height: auto;
    padding-inline: var(--pad)
  }

  .reveal__media {
    width: 100%;
    height: min(70vh, 620px);
    border-radius: var(--r-xl)
  }

  .reveal__caption {
    opacity: 1
  }
}


/* ============================================================
   SUBPAGINAS · cortinas · cerramientos · toldos
   Reglas nuevas, agregadas al final. No modifican index.html
   ============================================================ */

/* Hero sub-copy (el index usa .stats en su lugar) */
.hero__sub {
  margin-top: clamp(16px, 1.8vw, 26px);
  color: rgba(255, 255, 255, .84);
  font-size: clamp(15px, 1.06vw, 17.5px);
  line-height: 1.66;
  max-width: 58ch;
}

.hero__slide.is-active .hero__sub {
  transition-delay: .5s
}

/* Dos .lead seguidos dentro de un encabezado de seccion */
.sec-head .lead+.lead {
  margin-top: 16px
}

/* Listas de aspectos / necesidades */
.needs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.6vw, 26px);
}

.needs li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 34px);
}

.needs li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: .5em;
}

.needs p {
  color: var(--muted);
  font-size: clamp(15px, .96rem, 16px);
  line-height: 1.66
}

.needs strong {
  color: var(--ink);
  font-weight: 600
}

/* Tarjetas de producto con titulo bajo la imagen + variantes */
.card h3 {
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.12;
  margin-top: 18px
}

.card--text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 34px);
}

.card--text h3 {
  margin-top: 0
}

.card--cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--accent);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 40px);
  min-height: 240px;
}

/* Grilla de dos columnas */
.cards--2 {
  grid-template-columns: repeat(2, 1fr)
}

/* Banda de motorizacion sin el contador grande */
.promo--simple {
  grid-template-columns: 1fr auto
}

.promo--simple .btn {
  justify-self: end
}

/* Columna de preguntas frecuentes */
.faq {
  max-width: 960px;
  margin-inline: auto
}

.faq .ta-c .btn {
  margin-top: clamp(26px, 3vw, 42px)
}

@media (max-width:1080px) {
  .promo--simple {
    grid-template-columns: 1fr
  }

  .promo--simple .btn {
    justify-self: start
  }
}

@media (max-width:860px) {
  .needs {
    grid-template-columns: 1fr
  }

  .cards--2 {
    grid-template-columns: 1fr
  }

  .card--cta {
    min-height: 200px
  }
}


/* ============================================================
   SPACING POLISH · ritmo de aire consistente en todas las secciones
   ============================================================ */

/* Grillas de tarjetas: aire entre columnas y filas por breakpoint */
.cards,
.cards--2,
.showrooms__grid,
.needs {
  gap: clamp(16px, 3vw, 20px)
}

@media (min-width:480px) {

  .cards,
  .cards--2,
  .showrooms__grid,
  .needs {
    gap: clamp(20px, 2.2vw, 26px)
  }
}

@media (min-width:1024px) {

  .cards,
  .cards--2,
  .showrooms__grid,
  .needs {
    gap: clamp(28px, 2vw, 34px)
  }

  /* media -> titulo / copy con mas aire en escritorio */
  .card>p {
    margin-top: 20px
  }

  .card:not(.card--text) h3 {
    margin-top: 20px
  }
}
/* WhatsApp flotante */
.wa-float {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #25D366;
  box-shadow: 0 10px 28px -6px rgba(37, 211, 102, .6), 0 4px 12px rgba(0, 0, 0, .25);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.wa-float svg {
  width: 32px;
  height: 32px
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2.4s ease-out infinite;
}

.wa-float:hover {
  transform: scale(1.08)
}

@keyframes wa-pulse {
  from { transform: scale(1); opacity: .7 }
  to { transform: scale(1.6); opacity: 0 }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none }
}

/* Título editorial: sans liviana + serif itálica */
.h2--editorial {
  font-family: var(--font-b);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: .98;
  font-size: clamp(36px, 5.6vw, 92px);
  margin-bottom: clamp(20px, 2.4vw, 36px);
  color: var(--ink);
}

.h2--editorial em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  font-size: 1.12em;
  line-height: 1;
}

/* Espacio entre título y descripción en "No hay dos espacios iguales" */
.about .wrap>.h2 {
  margin-bottom: clamp(16px, 1.6vw, 24px)
}

.cta-sec .wrap>.h2 {
  margin-bottom: clamp(16px, 1.6vw, 24px)
}

/* Íconos sociales del footer: centrados dentro del círculo */
.pfoot__col .socials a {
  display: grid;
  place-items: center;
  justify-content: center;
  padding: 0;
  min-height: 0;
  width: 44px;
  height: 44px
}

/* ¿Qué cortina necesitás? — tarjetas visuales */
.needs--visual {
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 20px)
}

.needs--visual li {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  aspect-ratio: 3/4.2;
  background: var(--dark);
}

.needs--visual li::before {
  display: none
}

.needs--visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .9s var(--ease)
}

.needs--visual li::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(14, 11, 8, .88) 0%, rgba(14, 11, 8, .45) 48%, rgba(14, 11, 8, .08) 100%)
}

.needs--visual li:hover img {
  transform: scale(1.06)
}

.need__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: clamp(18px, 1.8vw, 28px);
  color: #fff
}

.need__num {
  position: absolute;
  top: clamp(16px, 1.6vw, 24px);
  left: clamp(18px, 1.8vw, 28px);
  font-size: .78rem;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .75)
}

.need__body h3 {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.12;
  letter-spacing: -.01em
}

.need__body p {
  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
  line-height: 1.5
}

.need__tag {
  align-self: flex-start;
  margin-top: 6px;
  padding: 7px 14px;
  font-size: .78rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px)
}

@media (max-width:1080px) {
  .needs--visual {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:520px) {
  .needs--visual {
    grid-template-columns: 1fr
  }

  .needs--visual li {
    aspect-ratio: 4/3.4
  }
}

/* Características — grilla moderna con íconos */
.needs--features {
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 20px)
}

.needs--features li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(20px, 2vw, 30px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease)
}

.needs--features li::before {
  display: none
}

.needs--features li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent
}

.feat__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  color: var(--accent);
  background: rgba(207, 66, 69, .08)
}

.feat__icon svg {
  width: 24px;
  height: 24px
}

.needs--features h3 {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(19px, 1.5vw, 24px);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink)
}

.needs--features p {
  font-size: .94rem;
  line-height: 1.55
}

.needs--features .feat--wide {
  grid-column: span 2;
  justify-content: flex-end;
  min-height: 220px;
  background: var(--dark);
  border-color: transparent;
  color: #fff
}

.needs--features .feat--wide .feat__icon {
  color: #fff;
  background: rgba(255, 255, 255, .12)
}

.needs--features .feat--wide h3 {
  color: #fff;
  font-size: clamp(24px, 2.2vw, 36px)
}

.needs--features .feat--wide p {
  color: rgba(255, 255, 255, .72);
  font-size: 1rem
}

@media (max-width:1080px) {
  .needs--features {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:520px) {
  .needs--features {
    grid-template-columns: 1fr
  }

  .needs--features .feat--wide {
    grid-column: auto;
    min-height: 0
  }
}

/* Toldos motorizados: texto + imagen */
.motor__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 88px);
  align-items: center
}

.motor__text .h2 {
  font-size: clamp(30px, 3.8vw, 58px)
}

.motor__text .lead {
  margin-top: 18px;
  max-width: 54ch
}

.motor__text .h2+.lead {
  margin-top: clamp(18px, 2vw, 28px)
}

.motor__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4/4.6;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--dark)
}

.motor__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease)
}

.motor__media:hover img {
  transform: scale(1.04)
}

.motor__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 11, 8, .55), rgba(14, 11, 8, 0) 45%)
}

.motor__badge {
  position: absolute;
  z-index: 1;
  left: clamp(14px, 1.6vw, 24px);
  bottom: clamp(14px, 1.6vw, 24px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px 12px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px)
}

.motor__badge strong {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1
}

.motor__badge span {
  font-size: .85rem;
  line-height: 1.25;
  max-width: 14ch
}

.motor__promo {
  margin-top: clamp(28px, 3.4vw, 52px);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 44px);
  color: #fff;
  background: var(--dark)
}

.motor__promo h3 {
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.12
}

.motor__promo p {
  margin-top: 12px;
  max-width: 78ch;
  color: rgba(255, 255, 255, .72);
  line-height: 1.65
}

.motor__promo strong {
  color: #fff
}

@media (max-width:900px) {
  .motor__grid {
    grid-template-columns: 1fr
  }

  .motor__media {
    aspect-ratio: 4/3.4
  }
}

/* Nuestros modelos de toldos — bento */
.models {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.4vw, 20px)
}

.mdl {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-xl);
  min-height: clamp(340px, 30vw, 440px);
  display: flex;
  color: #fff
}

.mdl--a {
  grid-column: span 7;
  min-height: clamp(380px, 38vw, 560px)
}

.mdl--b {
  grid-column: span 5;
  min-height: clamp(380px, 38vw, 560px)
}

.mdl--c,
.mdl--d,
.mdl--e {
  grid-column: span 4
}

.mdl>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease)
}

.mdl--img:hover>img {
  transform: scale(1.05)
}

.mdl--img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(14, 11, 8, .88) 0%, rgba(14, 11, 8, .5) 42%, rgba(14, 11, 8, .05) 80%)
}

.mdl--light {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line)
}

.mdl--dark {
  background: var(--dark)
}

.mdl__body {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: clamp(20px, 2.2vw, 34px)
}

.mdl__num {
  position: absolute;
  top: clamp(18px, 2vw, 30px);
  left: clamp(20px, 2.2vw, 34px);
  font-family: var(--font-d);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
  opacity: .55
}

.mdl__spec {
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px)
}

.mdl--light .mdl__spec {
  background: rgba(207, 66, 69, .08);
  border-color: transparent;
  color: var(--accent)
}

.mdl h3 {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.1;
  letter-spacing: -.01em
}

.mdl p {
  max-width: 56ch;
  font-size: .93rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .78)
}

.mdl--light p {
  color: var(--muted)
}

@media (max-width:1080px) {

  .mdl--a,
  .mdl--b,
  .mdl--c,
  .mdl--d,
  .mdl--e {
    grid-column: span 6
  }

  .mdl--a {
    grid-column: 1 / -1
  }

  .mdl--e {
    grid-column: 1 / -1;
    min-height: 360px
  }
}

@media (max-width:640px) {
  .models {
    grid-template-columns: 1fr
  }

  .mdl--a,
  .mdl--b,
  .mdl--c,
  .mdl--d,
  .mdl--e {
    grid-column: auto;
    min-height: 380px
  }

  .mdl--c,
  .mdl--d {
    min-height: 320px
  }
}

/* Imágenes: renderizado nítido */
img {
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden
}

/* Nuestras líneas de cortinas — lista + escenario */
.lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 88px);
  align-items: start
}

.lines__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line)
}

.lines__li {
  border-bottom: 1px solid var(--line)
}

.lines__item {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 1.6vw, 24px);
  padding: clamp(16px, 1.5vw, 22px) 0;
  text-align: left;
  color: var(--muted);
  transition: color .4s var(--ease), padding-left .4s var(--ease)
}

.lines__n {
  font-size: .78rem;
  letter-spacing: .16em;
  opacity: .7
}

.lines__name {
  font-family: var(--font-d);
  font-size: clamp(20px, 1.9vw, 30px);
  line-height: 1.15;
  letter-spacing: -.01em
}

.lines__arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease)
}

.lines__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateX(-1px) rotate(45deg) scale(.9);
  width: 8px;
  height: 8px
}

.lines__item.is-active {
  color: var(--ink);
  padding-left: 10px
}

.lines__item.is-active .lines__arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(0)
}

.lines__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease)
}

.lines__panel>div {
  overflow: hidden
}

.lines__panel.is-active {
  grid-template-rows: 1fr
}

.lines__panel p {
  padding: 0 0 clamp(18px, 2vw, 26px) calc(clamp(14px, 1.6vw, 24px) + 2.2em + 10px);
  max-width: 62ch;
  font-size: .96rem;
  line-height: 1.65;
  color: var(--muted)
}

.lines__mimg {
  display: none
}

.lines__stage {
  position: sticky;
  top: 96px;
  aspect-ratio: 4/4.8;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--dark)
}

.lines__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .7s var(--ease), transform 1.2s var(--ease)
}

.lines__img.is-active {
  opacity: 1;
  transform: scale(1)
}

@media (max-width:860px) {
  .lines {
    grid-template-columns: 1fr
  }

  .lines__stage {
    display: none
  }

  .lines__mimg {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--r-lg);
    margin-bottom: 14px
  }

  .lines__panel p {
    padding-left: 0
  }

  .lines__item.is-active {
    padding-left: 0
  }
}

/* Motorizadas centrado (sin imagen) */
.motor--center .motor__text {
  text-align: center;
  max-width: 980px;
  margin-inline: auto
}

.motor--center .motor__text .h2--editorial {
  font-size: clamp(36px, 5.6vw, 92px)
}

.motor--center .motor__text .lead {
  margin-top: clamp(18px, 2vw, 28px);
  margin-inline: auto;
  max-width: 56ch
}

.motor--center .motor__promo {
  text-align: center
}

.motor--center .motor__promo p {
  margin-inline: auto
}

/* Título del hero — estilo editorial */
.hero__title--editorial {
  font-family: var(--font-b);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.12;
  font-size: clamp(30px, 3.8vw, 60px);
  max-width: 17em
}

.hero__title--editorial em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  font-size: 1.08em;
  line-height: 1
}

.hero__title--editorial+.hero__sub {
  margin-top: clamp(16px, 1.8vw, 26px)
}

@media (max-width:860px) {
  .hero__title--editorial {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.14
  }
}

/* Slogan en el hero */
.hero__slogan {
  margin-bottom: clamp(12px, 1.4vw, 20px);
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .85
}

/* Placeholder de línea sin foto */
.lines__ph {
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
  background: radial-gradient(600px 400px at 20% 10%, rgba(207, 66, 69, .35), transparent 60%), var(--dark);
  color: #fff;
  font-family: var(--font-d);
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.1
}

/* Profesionales y grandes proyectos */
.pro__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 88px);
  align-items: center
}

.pro__text .h2 {
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.06
}

.pro__text .lead {
  margin-top: 18px;
  max-width: 54ch
}

.pro__list {
  list-style: none;
  margin: 24px 0 30px;
  padding: 0;
  display: grid;
  gap: 10px
}

.pro__list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  line-height: 1.5
}

.pro__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent)
}

.pro__gallery {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(10px, 1.2vw, 18px);
  aspect-ratio: 1/.95
}

.pro__img {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--dark)
}

.pro__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease)
}

.pro__img:hover img {
  transform: scale(1.05)
}

.pro__img--a {
  grid-row: 1 / 3
}

/* Quiénes somos */
.aboutus__head .h2 {
  font-size: clamp(30px, 4vw, 60px);
  line-height: 1.05;
  max-width: 20ch
}

.aboutus__head em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400
}

.aboutus__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 88px);
  margin-top: clamp(28px, 3.4vw, 52px);
  align-items: start
}

.aboutus__text .lead+.lead {
  margin-top: 16px
}

.aboutus__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px);
  margin: 0
}

.aboutus__stats>div {
  padding-top: 18px;
  border-top: 1px solid var(--line)
}

.aboutus__stats dt {
  font-family: var(--font-d);
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1;
  color: var(--ink)
}

.aboutus__stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.4
}

/* Cómo medir / Cómo instalar */
.howto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px)
}

.howto__col {
  padding: clamp(24px, 3vw, 44px);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line)
}

.howto__tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent)
}

.howto__col .h2 {
  font-size: clamp(26px, 2.8vw, 42px)
}

.howto__steps {
  list-style: none;
  counter-reset: s;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px
}

.howto__steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--ink-2);
  line-height: 1.55
}

.howto__steps li::before {
  content: counter(s);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent)
}

.howto__note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .94rem
}

@media (max-width:900px) {

  .pro__grid,
  .aboutus__grid,
  .howto__grid {
    grid-template-columns: 1fr
  }

  .pro__gallery {
    aspect-ratio: 4/3.4
  }
}

@media (max-width:520px) {
  .aboutus__stats {
    grid-template-columns: 1fr 1fr
  }
}

/* Fotos de los showrooms */
.branch-card__photo {
  --bp: clamp(24px, 2.5vw, 36px);
  margin: calc(var(--bp) * -1) calc(var(--bp) * -1) 0;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-soft)
}

.branch-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease)
}

.branch-card__photo--rosario img {
  object-position: center 38%
}

.branch-card__photo--funes img {
  object-position: center 52%
}

.branch-card:hover .branch-card__photo img {
  transform: scale(1.04)
}

/* Showrooms compactos */
.shops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.8vw, 24px)
}

.shop {
  display: grid;
  grid-template-columns: 42% 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden
}

.shop__photo {
  margin: 0;
  min-height: 260px;
  overflow: hidden;
  background: var(--bg-soft)
}

.shop__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease)
}

.shop:hover .shop__photo img {
  transform: scale(1.04)
}

.shop__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  padding: clamp(20px, 2.2vw, 32px)
}

.shop__body h3 {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05
}

.shop__info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: .92rem;
  line-height: 1.45;
  color: var(--ink-2)
}

.shop__info li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start
}

.shop__info svg {
  margin-top: 2px;
  color: var(--accent)
}

.shop__info a:hover {
  color: var(--accent)
}

.shop__map {
  align-self: flex-start;
  margin-top: 4px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 600;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease)
}

.shop__map:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff
}

@media (max-width:1080px) {
  .shops {
    grid-template-columns: 1fr
  }
}

@media (max-width:560px) {
  .shop {
    grid-template-columns: 1fr
  }

  .shop__photo {
    min-height: 0;
    aspect-ratio: 16/10
  }
}

/* Texto largo dentro de las líneas */
.lines__panel p+p {
  margin-top: 10px
}

.lines__panel .lines__tagline {
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  padding-bottom: 8px
}

.lines__panel p strong {
  font-weight: 600;
  color: var(--ink)
}

/* Carrusel de fotos (modelos con varias imágenes) */
.gal {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--dark)
}

.lines__mimg.gal {
  position: relative;
  inset: auto
}

.gal__slides,
.gal__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.gal__slide {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease)
}

.gal__slide.is-active {
  opacity: 1;
  transform: scale(1)
}

.gal::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(14, 11, 8, .5), rgba(14, 11, 8, 0))
}

.gal__btn {
  position: absolute;
  z-index: 2;
  bottom: clamp(14px, 1.6vw, 22px);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .34);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease)
}

.gal__btn--next {
  right: clamp(14px, 1.6vw, 22px)
}

.gal__btn--prev {
  right: calc(clamp(14px, 1.6vw, 22px) + 50px)
}

.gal__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px;
  height: 9px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor
}

.gal__btn--next::before {
  transform: translateX(-1.5px) rotate(45deg)
}

.gal__btn--prev::before {
  transform: translateX(1.5px) rotate(-135deg)
}

.gal__btn:hover {
  background: #fff;
  color: var(--dark);
  transform: scale(1.06)
}

.gal__dots {
  position: absolute;
  z-index: 2;
  left: clamp(16px, 1.8vw, 26px);
  bottom: clamp(26px, 2.6vw, 34px);
  display: flex;
  gap: 6px
}

.gal__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  transition: width .4s var(--ease), background-color .4s var(--ease)
}

.gal__dots button.is-active {
  width: 24px;
  background: #fff
}

.gal__count {
  position: absolute;
  z-index: 2;
  left: clamp(16px, 1.8vw, 26px);
  top: clamp(16px, 1.8vw, 24px);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .76rem;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(14, 11, 8, .35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px)
}

/* Hero con foto clara: más contraste para el texto */
.hero--readable .hero__media::after {
  background:
    linear-gradient(100deg, rgba(14, 11, 8, .74) 0%, rgba(14, 11, 8, .46) 42%, rgba(14, 11, 8, .04) 72%),
    linear-gradient(to top, rgba(14, 11, 8, .5) 0%, rgba(14, 11, 8, 0) 40%)
}

/* Las capas de foto inactivas no deben tapar los controles del carrusel */
.lines__img {
  pointer-events: none
}

.lines__img.is-active {
  pointer-events: auto
}

/* Palabra resaltada con la serif cursiva dentro de un título */
.accent-serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  font-size: 1.1em;
  line-height: 1
}
