*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: #FBF9F6;
  color: #1A1716;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.015em;
}

img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: #2E000C; text-decoration: none; }
a:hover { color: #1A1716; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 249, 246, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46, 0, 12, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 1.5rem;
  gap: 1rem;
}

@media (min-width: 900px) {
  .header-inner { padding: 0 5rem; }
}

.logo-link img,
.site-footer img {
  height: 48px;
  width: auto;
}

.nav-desktop { display: none; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .nav-desktop { display: flex; } }

.nav-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6A5B57;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.nav-link:hover,
.nav-link.is-active {
  color: #1A1716;
  border-bottom-color: #3b0715;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
@media (min-width: 900px) { .nav-toggle { display: none; } }
.nav-toggle-bar {
  display: block;
  height: 1.5px;
  width: 100%;
  background: #1A1716;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(46, 0, 12, 0.08);
  background: #FBF9F6;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile .nav-link { padding: 0.9rem 0; border-bottom: 1px solid rgba(46,0,12,0.08); }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.35) 45%, rgba(0,0,0,.18));
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 72rem;
  padding: 8rem 1.5rem 5rem;
}
@media (min-width: 900px) {
  .hero-content { padding: 8rem 5rem 5rem; }
}
.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.15rem, 5vw, 4.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
  max-width: 18ch;
  color: #fff;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #FBF9F6;
  color: #1A1716;
  padding: 1rem 1.75rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.btn-hero:hover { background: #F3ECE2; color: #1A1716; }

.wa-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25D366;
  flex: 0 0 auto;
}

.section {
  padding: 4rem 1.5rem;
}
@media (min-width: 900px) {
  .section { padding: 5rem; }
}

.product-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 2rem;
}
@media (min-width: 768px) {
  .product-mosaic { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .product-mosaic {
    grid-template-columns: repeat(12, 1fr);
  }
  .card-sheer { grid-column: span 7; }
  .card-enrollable { grid-column: span 5; margin-top: 3rem; }
  .card-retractil, .card-vertical, .card-cortinas { grid-column: span 4; }
  .card-vertical { margin-top: -1.5rem; }
}

.photo-card { display: flex; flex-direction: column; }
.photo-frame {
  display: block;
  overflow: hidden;
  background: #F3ECE2;
  aspect-ratio: 4 / 5;
}
.photo-frame img,
.photo-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}
.photo-card:hover .photo-frame img { transform: scale(1.02); }
.photo-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1.1rem;
}
@media (min-width: 700px) {
  .photo-meta {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
  }
}
.photo-meta h2,
.photo-meta h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 1.35rem;
  margin: 0;
  line-height: 1.3;
}

.wa-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3b0715;
}
.wa-link:hover { color: #1A1716; }
.icon-arrow { width: 14px; height: 14px; }
.icon-wa { width: 26px; height: 26px; }

.years {
  background: #F5F3F0;
  text-align: center;
  padding: 4.5rem 1.5rem;
}
.years p {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  margin: 0;
}

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 2rem;
}

.variedad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 900px) {
  .variedad-grid { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
}
.variedad-grid .photo-frame { aspect-ratio: 3 / 4; }
.variedad-grid .photo-meta { padding-top: 0.75rem; }

.page-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 2.5rem;
}

.product-block { margin-bottom: 5rem; scroll-margin-top: 100px; }
.product-block-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(46, 0, 12, 0.1);
}
@media (min-width: 700px) {
  .product-block-head {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
}
.product-block-head h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 1100px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
.gallery .cell {
  overflow: hidden;
  background: #F3ECE2;
  aspect-ratio: 3 / 4;
}
.gallery .cell:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 11;
}
@media (max-width: 699px) {
  .gallery .cell:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
}
.gallery .cell img,
.gallery .cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}
.gallery .cell:hover img { transform: scale(1.02); }

.revestimientos {
  min-height: calc(100svh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem;
}
.revestimientos-inner { max-width: 40rem; }
.revestimientos h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin: 0 0 1rem;
}
.revestimientos p {
  color: #68615B;
  font-weight: 300;
  font-size: 1.05rem;
  margin: 0 0 2.5rem;
}
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.rule span { width: 2rem; height: 1px; background: rgba(46,0,12,0.25); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  border: 1px solid rgba(46, 0, 12, 0.55);
  background: #F3ECE2;
  color: #1A1716;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.btn-outline:hover { background: #2E000C; color: #FBF9F6; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; }
}
.contact-card {
  background: #F5F3F0;
  padding: 2rem 1.5rem;
}
@media (min-width: 700px) {
  .contact-card { padding: 3rem; }
}
.contact-item { margin-bottom: 1.75rem; }
.contact-item .label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6A5B57;
  margin-bottom: 0.4rem;
}
.contact-item p { margin: 0; font-weight: 300; font-size: 1.05rem; }
.phone-link {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  color: #3b0715;
}
.hours { max-width: 18rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
}
.hours-row span:first-child { color: #6A5B57; }
.map-wrap { background: #F5F3F0; padding: 0.6rem; }
.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
}
.btn-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.4rem;
  background: #3b0715;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.btn-block:hover { background: #1A1716; color: #fff; }
.btn-block .icon-wa { color: #25D366; }

.site-footer {
  text-align: center;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  border-top: 1px solid rgba(46, 0, 12, 0.08);
}
.site-footer p {
  margin: 0;
  color: #6A5B57;
  font-size: 12px;
  max-width: 42rem;
}
.site-footer a { color: #3b0715; }
.copyright {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 11px !important;
}

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.28);
}
.wa-float:hover { color: #fff; transform: scale(1.05); }
.wa-float .icon-wa { width: 28px; height: 28px; }

@media (max-width: 374px) {
  .header-inner { padding: 0 1rem; }
  .section { padding: 3rem 1rem; }
}

.variedad-cta { margin: -1.25rem 0 2rem; }

.variedad-grid .wa-link {
  letter-spacing: 0.08em;
  font-size: 10px;
  line-height: 1.35;
}
html, body { overflow-x: clip; max-width: 100%; }
.site-header, main, .section, .hero, .hero-content { max-width: 100%; }

.card-retractil .photo-meta,
.card-vertical .photo-meta,
.card-cortinas .photo-meta,
.variedad-grid .photo-meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.developed-by {
  font-size: 12px !important;
  color: #6A5B57;
  letter-spacing: 0.04em;
}
.developed-by a {
  color: #3b0715;
  border-bottom: 1px solid rgba(59, 7, 21, 0.35);
}
.developed-by a:hover {
  color: #1A1716;
  border-bottom-color: #1A1716;
}

.btn-hero,
.btn-outline,
.btn-block,
.wa-link,
.wa-float {
  transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-hero:hover,
.btn-outline:hover,
.btn-block:hover,
.social-link:hover {
  transform: translateY(-1px);
}
.photo-card,
.product-block,
.contact-card {
  transition: transform .4s ease;
}

.media-quote {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}
.media-quote img,
.media-quote video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 700ms ease;
}
.media-quote:hover img,
.media-quote:hover video {
  transform: scale(1.02);
}
.quote-badge {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  background: rgba(251, 249, 246, 0.94);
  color: #3b0715;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.42rem 0.65rem;
  line-height: 1.2;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(26, 23, 22, 0.12);
}
@media (max-width: 699px) {
  .quote-badge {
    right: 0.5rem;
    bottom: 0.5rem;
    font-size: 9px;
    letter-spacing: 0.08em;
    padding: 0.36rem 0.5rem;
  }
}

.carousel {
  position: relative;
  --slides-per-view: 1;
  --slide-gap: 0.75rem;
}
.carousel:not(.carousel--card) {
  --slides-per-view: 1.15;
  --slide-gap: 0.6rem;
}
@media (min-width: 700px) {
  .carousel:not(.carousel--card) {
    --slides-per-view: 2;
    --slide-gap: 0.75rem;
  }
}
@media (min-width: 1100px) {
  .carousel:not(.carousel--card) {
    --slides-per-view: 3;
    --slide-gap: 1rem;
  }
}
.carousel-viewport {
  overflow: hidden;
  background: transparent;
  touch-action: pan-y;
  cursor: grab;
}
.carousel-viewport:active { cursor: grabbing; }
.carousel-track {
  display: flex;
  gap: var(--slide-gap);
  height: auto;
  transition: transform 0.55s ease;
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 calc((100% - (var(--slides-per-view) - 1) * var(--slide-gap)) / var(--slides-per-view));
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #F3ECE2;
}
.carousel-slide .media-quote,
.carousel-slide img,
.carousel-slide video {
  width: 100%;
  height: 100%;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  background: rgba(251, 249, 246, 0.92);
  color: #1A1716;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(26, 23, 22, 0.12);
}
.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: 0.75rem; }
.carousel-btn.next { right: 0.75rem; }
.carousel-btn svg { width: 18px; height: 18px; pointer-events: none; }
@media (max-width: 699px) {
  .carousel-btn { width: 36px; height: 36px; }
  .carousel-btn.prev { left: 0.4rem; }
  .carousel-btn.next { right: 0.4rem; }
}
.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(46, 0, 12, 0.22);
  cursor: pointer;
}
.carousel-dot[aria-current="true"] {
  background: #3b0715;
  transform: scale(1.25);
}

.variedad-grid .photo-frame {
  position: relative;
}
.variedad-grid .media-quote {
  aspect-ratio: 3 / 4;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .carousel-track {
    transition: transform 0.85s ease;
  }
  .photo-frame img,
  .media-quote img,
  .media-quote video,
  .gallery .cell img {
    transition: none !important;
  }
  .btn-hero:hover,
  .btn-outline:hover,
  .btn-block:hover,
  .photo-card:hover .photo-frame img,
  .media-quote:hover img,
  .media-quote:hover video {
    transform: none;
  }
}

.carousel--card .carousel-slide {
  aspect-ratio: 4 / 5;
}
.carousel--card .photo-frame {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.carousel--card .carousel-dots { margin-top: 0.7rem; }


.carousel--card {
  --slides-per-view: 1;
  --slide-gap: 0px;
}

.product-mosaic .carousel {
  animation: mosaic-levitate 5.2s ease-in-out infinite;
  will-change: transform;
}
.product-mosaic .photo-card:nth-child(2) .carousel { animation-duration: 5.6s; animation-delay: 0.7s; }
.product-mosaic .photo-card:nth-child(3) .carousel { animation-duration: 4.8s; animation-delay: 1.2s; }
.product-mosaic .photo-card:nth-child(4) .carousel { animation-duration: 5.4s; animation-delay: 0.4s; }
.product-mosaic .photo-card:nth-child(5) .carousel { animation-duration: 5s; animation-delay: 1.6s; }
@keyframes mosaic-levitate {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .product-mosaic .carousel {
    animation-duration: 7s;
  }
  @keyframes mosaic-levitate {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
  }
}

#mas-variedad { scroll-margin-top: 100px; }

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(46, 0, 12, 0.35);
  border-radius: 50%;
  color: #3b0715;
  background: transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-link:hover {
  background: #3b0715;
  color: #FBF9F6;
  border-color: #3b0715;
}

.social-link:focus-visible {
  outline: 2px solid #3b0715;
  outline-offset: 3px;
}

.social-links--contact {
  justify-content: flex-start;
  margin-top: 0.15rem;
}

@media (prefers-reduced-motion: reduce) {
  .social-link { transition: none; }
  .social-link:hover { transform: none; }
}
