/*
Theme Name: Tejido Cofrade
Theme URI: https://www.facebook.com/share/1CBZoivuU5/
Author: Tejido Cofrade
Description: Landing theme para impresión textil cofrade de alta definición sobre terciopelo y sarga.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.0
License: GPL-2.0-or-later
Text Domain: tejido-cofrade
*/

:root {
  --purple-950: #130016;
  --purple-900: #21002c;
  --purple-800: #3a073f;
  --burgundy-900: #4a0921;
  --burgundy-800: #661233;
  --gold-600: #b98422;
  --gold-500: #d6ad45;
  --gold-300: #f4dc94;
  --cream-100: #fffaf0;
  --cream-200: #f2e8d4;
  --ink: #211724;
  --muted: #706271;
  --white: #fff;
  --header-height: 76px;
  --shadow: 0 22px 70px rgba(19, 0, 22, .2);
  --gold-shadow: 0 18px 46px rgba(214, 173, 69, .28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 10% 16%, rgba(214, 173, 69, .12), transparent 24rem),
    linear-gradient(180deg, var(--cream-100), #fff 46%, var(--cream-100));
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  max-width: 100%;
  overflow-x: clip;
}

body.lightbox-open {
  overflow: hidden;
}

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

main,
section,
header,
footer {
  max-width: 100%;
}

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

button {
  font: inherit;
}

h1,
h2,
h3,
.brand,
.signature-card h3 {
  font-family: Cinzel, Georgia, serif;
  line-height: 1.12;
}

.skip-link {
  background: var(--gold-500);
  color: var(--purple-950);
  font-weight: 800;
  left: 1rem;
  padding: .75rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  color: var(--white);
  left: 0;
  min-height: var(--header-height);
  position: fixed;
  right: 0;
  top: 0;
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease;
  z-index: 30;
}

.site-header.is-scrolled {
  background: rgba(33, 0, 44, .96);
  border-bottom: 1px solid rgba(244, 220, 148, .28);
  box-shadow: 0 14px 35px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  min-height: var(--header-height);
  padding: .85rem 1rem;
}

.brand {
  align-items: center;
  color: var(--gold-300);
  display: inline-flex;
  font-size: clamp(1rem, 4vw, 1.35rem);
  font-weight: 800;
  gap: .7rem;
  white-space: nowrap;
}

.brand-mark {
  border: 1px solid rgba(244, 220, 148, .72);
  box-shadow: 0 0 24px rgba(214, 173, 69, .22);
  display: grid;
  height: 42px;
  overflow: hidden;
  place-items: center;
  width: 42px;
}

.brand-mark img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.nav-toggle {
  align-items: center;
  background: rgba(255, 250, 240, .1);
  border: 1px solid rgba(244, 220, 148, .38);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.nav-toggle svg {
  height: 22px;
  width: 22px;
}

.site-nav {
  background: rgba(33, 0, 44, .98);
  border: 1px solid rgba(244, 220, 148, .22);
  display: none;
  left: 1rem;
  padding: .9rem;
  position: absolute;
  right: 1rem;
  top: calc(var(--header-height) + .3rem);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  display: grid;
  gap: .35rem;
  list-style: none;
}

.site-nav a {
  color: rgba(255, 250, 240, .92);
  display: block;
  font-size: .92rem;
  font-weight: 800;
  padding: .7rem .85rem;
  transition: background .2s ease, color .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(214, 173, 69, .14);
  color: var(--gold-300);
  outline: 0;
}

.hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(19, 0, 22, 1) 0%, rgba(19, 0, 22, .94) 30%, rgba(19, 0, 22, .54) 58%, rgba(19, 0, 22, .24) 100%),
    linear-gradient(180deg, rgba(19, 0, 22, .18), rgba(19, 0, 22, .92)),
    radial-gradient(circle at 82% 50%, rgba(214, 173, 69, .18), transparent 28rem),
    radial-gradient(circle at 18% 30%, rgba(102, 18, 51, .72), transparent 34rem),
    linear-gradient(135deg, var(--purple-950), #25002f 54%, #0b000d);
  color: var(--white);
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-height) + 1.2rem) 1rem 1.4rem;
  position: relative;
}

.hero-veil {
  background:
    radial-gradient(circle at 74% 56%, rgba(244, 220, 148, .13), transparent 24rem),
    linear-gradient(90deg, rgba(19, 0, 22, .18), rgba(19, 0, 22, .02) 55%, rgba(19, 0, 22, .22)),
    linear-gradient(180deg, rgba(19, 0, 22, .08), rgba(19, 0, 22, .72));
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-ornament {
  border: 1px solid rgba(244, 220, 148, .22);
  box-shadow:
    inset 0 0 0 1px rgba(255, 250, 240, .04),
    inset 0 0 70px rgba(214, 173, 69, .06);
  inset: 6.5rem 1rem 1rem;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.hero-ornament::before,
.hero-ornament::after {
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
  content: "";
  height: 1px;
  left: 8%;
  position: absolute;
  right: 8%;
}

.hero-ornament::before {
  top: -.5rem;
}

.hero-ornament::after {
  bottom: -.5rem;
}

.hero::before {
  background:
    linear-gradient(var(--gold-300), var(--gold-300)) left 1.5rem top 7rem / 76px 1px no-repeat,
    linear-gradient(var(--gold-300), var(--gold-300)) left 1.5rem top 7rem / 1px 76px no-repeat,
    linear-gradient(var(--gold-300), var(--gold-300)) right 1.5rem bottom 1.5rem / 76px 1px no-repeat,
    linear-gradient(var(--gold-300), var(--gold-300)) right 1.5rem bottom 1.5rem / 1px 76px no-repeat;
  content: "";
  inset: 0;
  opacity: .62;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero::after {
  background: url("img/portada.jpeg") center / contain no-repeat;
  bottom: 1.2rem;
  content: "";
  height: min(76vh, 760px);
  opacity: .56;
  pointer-events: none;
  position: absolute;
  right: clamp(1rem, 4vw, 5rem);
  transform: translateY(calc(var(--hero-y, 0px) * -.06));
  width: min(52vw, 760px);
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}

.hero-inner,
.container {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.hero-inner {
  align-items: center;
  display: block;
  position: relative;
  z-index: 3;
}

.hero-content {
  border-left: 1px solid rgba(244, 220, 148, .38);
  max-width: 820px;
  padding: 2.2rem 0 1.4rem 1.15rem;
  position: relative;
  transform: translateY(-1.3rem);
  z-index: 2;
}

.hero-content::before {
  background: linear-gradient(180deg, transparent, var(--gold-300), transparent);
  content: "";
  height: min(76%, 430px);
  left: -1px;
  position: absolute;
  top: 12%;
  width: 1px;
}

.eyebrow,
.kicker {
  color: var(--gold-300);
  display: inline-flex;
  font-size: .78rem;
  font-weight: 900;
  gap: .55rem;
  letter-spacing: .1em;
  margin-bottom: .85rem;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--gold-500);
  content: "";
  height: 1px;
  margin-top: .65rem;
  width: 42px;
}

.hero-devotion {
  color: var(--gold-300);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(.95rem, 1.9vw, 1.35rem);
  font-weight: 700;
  margin-bottom: .75rem;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .42);
}

.hero h1 {
  color: var(--cream-100);
  font-size: clamp(2.4rem, 7.1vw, 4.95rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: .98;
  margin-bottom: 1rem;
  max-width: 880px;
  text-shadow: 0 16px 46px rgba(0, 0, 0, .48);
  text-wrap: balance;
}

.hero h1 span {
  color: var(--gold-300);
  display: block;
  font-size: clamp(1.35rem, 3.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
  margin-top: .65rem;
}

.hero h1 small {
  color: var(--cream-100);
  display: block;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.05rem, 2.2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  margin-top: .35rem;
}

.hero-copy {
  color: rgba(255, 250, 240, .9);
  font-size: clamp(1rem, 1.75vw, 1.18rem);
  max-width: 680px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.7rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: .9rem;
  font-weight: 900;
  gap: .6rem;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: .82rem 1.1rem;
  text-align: center;
  text-transform: uppercase;
  transition: box-shadow .22s ease, transform .22s ease, background .22s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--purple-950);
}

.button-secondary {
  background: rgba(255, 250, 240, .08);
  border-color: rgba(244, 220, 148, .48);
  color: var(--cream-100);
}

.button:hover,
.button:focus-visible {
  box-shadow: var(--gold-shadow);
  outline: 0;
  transform: translateY(-3px);
}

.hero-proof {
  display: grid;
  gap: .75rem;
  grid-template-columns: 1fr;
  margin-top: 1.4rem;
  max-width: 820px;
}

.hero-proof div {
  background: rgba(19, 0, 22, .62);
  border: 1px solid rgba(244, 220, 148, .26);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
  color: rgba(255, 250, 240, .9);
  padding: .9rem 1rem;
}

.hero-proof strong {
  color: var(--gold-300);
  display: block;
  font-family: Cinzel, Georgia, serif;
  font-size: 1.08rem;
}

.section {
  padding: 4.6rem 1rem;
  position: relative;
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 860px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  color: var(--burgundy-800);
}

h2 {
  color: var(--purple-900);
  font-size: clamp(1.85rem, 6vw, 3.25rem);
  font-weight: 800;
  margin-bottom: .9rem;
  text-wrap: balance;
}

.lead {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 780px;
}

.essence-section::before,
.gallery-section::before {
  background: linear-gradient(90deg, transparent, rgba(214, 173, 69, .65), transparent);
  content: "";
  height: 1px;
  left: 10vw;
  position: absolute;
  right: 10vw;
  top: 0;
}

.essence-grid,
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

.essence-copy,
.contact-panel {
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(214, 173, 69, .26);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 4vw, 2rem);
}

.essence-copy p + p {
  margin-top: 1rem;
}

.tech-panel {
  background:
    linear-gradient(160deg, rgba(33, 0, 44, .96), rgba(102, 18, 51, .96)),
    url("img/img7.jpeg") center/cover;
  color: var(--cream-100);
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 2rem);
  position: relative;
}

.tech-panel::before {
  border: 1px solid rgba(244, 220, 148, .48);
  content: "";
  inset: .72rem;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.tech-panel h3 {
  color: var(--gold-300);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.tech-panel ul,
.contact-list {
  display: grid;
  gap: .72rem;
  list-style: none;
}

.tech-panel li {
  border-bottom: 1px solid rgba(244, 220, 148, .18);
  padding-bottom: .7rem;
}

.cards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.advantage-card {
  background: var(--white);
  border: 1px solid rgba(58, 7, 63, .08);
  box-shadow: 0 12px 34px rgba(33, 0, 44, .08);
  min-height: 100%;
  overflow: hidden;
  padding: 1.35rem;
  position: relative;
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.advantage-card::before {
  background: linear-gradient(90deg, var(--gold-500), var(--burgundy-800));
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.advantage-card::after {
  background: radial-gradient(circle, rgba(214, 173, 69, .24), transparent 70%);
  content: "";
  height: 120px;
  position: absolute;
  right: -55px;
  top: -55px;
  width: 120px;
}

.advantage-card:hover {
  border-color: rgba(214, 173, 69, .52);
  box-shadow: var(--gold-shadow);
  transform: translateY(-7px);
}

.advantage-card span {
  color: rgba(91, 16, 41, .26);
  display: block;
  font-family: Cinzel, Georgia, serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: .6rem;
}

.advantage-card h3 {
  color: var(--purple-900);
  font-size: 1.18rem;
  margin-bottom: .55rem;
}

.advantage-card p,
.gallery-caption p {
  color: var(--muted);
  font-size: .96rem;
}

.product-signatures {
  background:
    linear-gradient(90deg, rgba(19, 0, 22, .98), rgba(58, 7, 63, .96), rgba(19, 0, 22, .98)),
    url("img/logo.jpeg") center/cover;
  border-block: 1px solid rgba(244, 220, 148, .24);
  color: var(--gold-300);
  padding: 1.4rem 1rem;
  position: relative;
}

.product-signatures::before,
.product-signatures::after {
  background: linear-gradient(90deg, transparent, rgba(244, 220, 148, .7), transparent);
  content: "";
  height: 1px;
  left: 8vw;
  position: absolute;
  right: 8vw;
}

.product-signatures::before {
  top: .65rem;
}

.product-signatures::after {
  bottom: .65rem;
}

.product-signatures-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.signature-card {
  align-items: center;
  background: rgba(255, 250, 240, .055);
  border: 1px solid rgba(244, 220, 148, .2);
  display: grid;
  gap: .65rem;
  grid-template-columns: 42px 1fr;
  min-height: 72px;
  padding: .8rem;
  position: relative;
  transition: background .24s ease, border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.signature-card::after {
  background: linear-gradient(90deg, transparent, rgba(244, 220, 148, .32), transparent);
  content: "";
  height: 1px;
  left: .8rem;
  opacity: 0;
  position: absolute;
  right: .8rem;
  top: .45rem;
  transition: opacity .24s ease;
}

.signature-card:hover {
  background: rgba(255, 250, 240, .09);
  border-color: rgba(244, 220, 148, .5);
  box-shadow: var(--gold-shadow);
  transform: translateY(-4px);
}

.signature-card:hover::after {
  opacity: 1;
}

.signature-icon {
  align-items: center;
  background: radial-gradient(circle, rgba(244, 220, 148, .18), rgba(214, 173, 69, .04));
  border: 1px solid rgba(244, 220, 148, .28);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.signature-icon img {
  height: 100%;
  object-fit: contain;
  padding: .12rem;
  width: 100%;
}

.signature-card h3 {
  color: var(--gold-300);
  font-size: clamp(.95rem, 2.4vw, 1.2rem);
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-grid {
  columns: 1;
  column-gap: 1rem;
}

.gallery-card {
  background: var(--white);
  break-inside: avoid;
  box-shadow: 0 16px 42px rgba(33, 0, 44, .12);
  margin: 0 0 1rem;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.gallery-media {
  background: var(--purple-950);
  overflow: hidden;
  position: relative;
}

.gallery-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: opacity .45s ease, transform .55s ease;
  width: 100%;
}

.gallery-card.wide .gallery-media img {
  aspect-ratio: 16 / 10;
}

.gallery-badge {
  background: rgba(33, 0, 44, .9);
  color: var(--gold-300);
  font-size: .72rem;
  font-weight: 900;
  left: .75rem;
  letter-spacing: .04em;
  padding: .45rem .65rem;
  position: absolute;
  text-transform: uppercase;
  top: .75rem;
  z-index: 2;
}

.zoom-btn {
  align-items: center;
  background: rgba(19, 0, 22, .54);
  border: 0;
  color: var(--cream-100);
  cursor: pointer;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  position: absolute;
  transition: opacity .26s ease;
}

.zoom-btn::before {
  background: rgba(214, 173, 69, .95);
  color: var(--purple-950);
  content: "⌕";
  display: grid;
  font-size: 2.2rem;
  font-weight: 900;
  height: 56px;
  line-height: 1;
  place-items: center;
  width: 56px;
}

.gallery-card:hover .gallery-media img {
  opacity: .78;
  transform: scale(1.07);
}

.gallery-card:hover .zoom-btn,
.zoom-btn:focus-visible {
  opacity: 1;
}

.zoom-btn:focus-visible {
  outline: 3px solid var(--gold-300);
  outline-offset: -6px;
}

.gallery-caption {
  padding: 1rem;
}

.gallery-caption h3 {
  color: var(--purple-900);
  font-size: 1.08rem;
  margin-bottom: .35rem;
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(19, 0, 22, .96), rgba(58, 7, 63, .95)),
    url("img/img2.jpg") center/cover;
  color: var(--cream-100);
}

.section-dark h2,
.section-dark .kicker {
  color: var(--gold-300);
}

.section-dark .contact-panel {
  background: rgba(255, 250, 240, .08);
}

.section-dark p,
.contact-list a {
  color: rgba(255, 250, 240, .88);
}

.contact-list {
  margin-top: 1.35rem;
}

.contact-list a {
  font-weight: 800;
}

.site-footer {
  background: #0b000d;
  border-top: 1px solid rgba(244, 220, 148, .22);
  color: rgba(255, 250, 240, .68);
  padding: 1.4rem 1rem;
  text-align: center;
}

.site-footer strong {
  color: var(--gold-300);
  font-family: Cinzel, Georgia, serif;
}

.float-whatsapp {
  align-items: center;
  animation: pulse 1.9s infinite;
  background: #22c55e;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  bottom: 1rem;
  box-shadow: 0 14px 34px rgba(34, 197, 94, .35);
  color: #fff;
  contain: paint;
  display: inline-flex;
  height: 58px;
  justify-content: center;
  position: fixed;
  right: 1rem;
  width: 58px;
  z-index: 28;
}

.float-whatsapp svg {
  height: 30px;
  width: 30px;
}

.lightbox {
  align-items: center;
  background: rgba(10, 0, 12, .88);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 60;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-dialog {
  background: var(--purple-950);
  border: 1px solid rgba(244, 220, 148, .36);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
  color: var(--cream-100);
  max-height: 92vh;
  max-width: min(1100px, 96vw);
  overflow: hidden;
}

.lightbox-dialog img {
  background: #050005;
  max-height: 72vh;
  object-fit: contain;
  width: 100%;
}

.lightbox-dialog figcaption {
  padding: 1rem;
}

.lightbox-dialog h2 {
  color: var(--gold-300);
  font-size: clamp(1.35rem, 4vw, 2rem);
  margin-bottom: .3rem;
}

.lightbox-close {
  background: var(--gold-500);
  border: 0;
  color: var(--purple-950);
  cursor: pointer;
  font-size: 2rem;
  font-weight: 900;
  height: 48px;
  line-height: 1;
  position: fixed;
  right: 1rem;
  top: 1rem;
  width: 48px;
  z-index: 61;
}

.promo-modal {
  align-items: center;
  background:
    radial-gradient(circle at 48% 35%, rgba(244, 220, 148, .16), transparent 22rem),
    linear-gradient(135deg, rgba(19, 0, 22, .7), rgba(10, 0, 12, .9));
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: clamp(1rem, 3vw, 2rem);
  pointer-events: none;
  position: fixed;
  transition: opacity .42s ease, backdrop-filter .42s ease;
  z-index: 55;
  backdrop-filter: blur(12px) saturate(1.08);
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.promo-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.promo-dialog {
  background:
    radial-gradient(circle at 82% 10%, rgba(244, 220, 148, .16), transparent 13rem),
    linear-gradient(145deg, rgba(32, 0, 38, .98), rgba(72, 9, 36, .98)),
    var(--purple-950);
  border: 1px solid rgba(244, 220, 148, .28);
  border-radius: 8px;
  box-shadow: 0 34px 96px rgba(0, 0, 0, .58), inset 0 1px 0 rgba(255, 250, 240, .08);
  color: var(--cream-100);
  display: grid;
  max-height: min(760px, 92vh);
  max-width: min(980px, 94vw);
  overflow: hidden;
  position: relative;
  transform: translateY(22px) scale(.96);
  transition: transform .5s cubic-bezier(.2, .85, .2, 1), opacity .5s ease;
}

.promo-dialog::before {
  border: 1px solid rgba(244, 220, 148, .2);
  border-radius: 6px;
  content: "";
  inset: .65rem;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.promo-dialog::after {
  background:
    linear-gradient(90deg, transparent, rgba(244, 220, 148, .72), transparent),
    linear-gradient(180deg, transparent, rgba(244, 220, 148, .28), transparent);
  background-position: center top, left center;
  background-repeat: no-repeat;
  background-size: 70% 1px, 1px 62%;
  content: "";
  inset: .65rem;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.promo-modal.is-open .promo-dialog {
  transform: translateY(0) scale(1);
}

.promo-dialog img {
  aspect-ratio: 16 / 10;
  height: 100%;
  max-height: 36vh;
  object-fit: cover;
  opacity: .88;
  transform: scale(1.01);
  width: 100%;
}

.promo-dialog picture,
.promo-dialog img {
  background: var(--purple-950);
}

.promo-content {
  align-content: center;
  display: grid;
  gap: .75rem;
  padding: clamp(1.45rem, 4vw, 2.6rem);
  position: relative;
  z-index: 3;
}

.promo-content::before {
  background: linear-gradient(180deg, rgba(244, 220, 148, .05), rgba(244, 220, 148, .72), rgba(244, 220, 148, .05));
  content: "";
  height: 54%;
  left: clamp(.9rem, 2vw, 1.25rem);
  position: absolute;
  top: 23%;
  width: 1px;
}

.promo-content .kicker {
  color: var(--gold-300);
  margin-bottom: 0;
}

.promo-content h2 {
  color: var(--gold-300);
  font-size: clamp(1.7rem, 4.2vw, 3.05rem);
  margin-bottom: 0;
  text-shadow: 0 10px 32px rgba(0, 0, 0, .34);
}

.promo-content p {
  color: rgba(255, 250, 240, .82);
  font-size: clamp(.98rem, 1.6vw, 1.08rem);
  margin-bottom: .25rem;
  max-width: 34rem;
}

.promo-close {
  align-items: center;
  background: rgba(255, 250, 240, .1);
  border: 1px solid rgba(244, 220, 148, .34);
  border-radius: 999px;
  color: var(--gold-300);
  cursor: pointer;
  display: flex;
  font-size: 1.5rem;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 1rem;
  top: 1rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  width: 40px;
  z-index: 4;
}

.promo-close:hover,
.promo-close:focus-visible {
  background: var(--gold-500);
  color: var(--purple-950);
  outline: 0;
  transform: scale(1.05);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .55), 0 14px 34px rgba(34, 197, 94, .35);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(34, 197, 94, 0), 0 14px 34px rgba(34, 197, 94, .35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0), 0 14px 34px rgba(34, 197, 94, .35);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 560px) {
  .hero-proof,
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-signatures-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-grid {
    columns: 2;
  }
}

@media (min-width: 820px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    background: transparent;
    border: 0;
    display: block;
    padding: 0;
    position: static;
  }

  .site-nav ul {
    align-items: center;
    display: flex;
    gap: .25rem;
  }

  .site-nav a {
    padding: .6rem .72rem;
  }

  .hero,
  .section {
    padding-inline: 1.5rem;
  }

  .hero-content {
    transform: translateY(-.6rem);
  }

  .hero::after {
    bottom: 2.4rem;
    height: min(82vh, 820px);
    opacity: .68;
    right: clamp(1.5rem, 5vw, 6.5rem);
    width: min(50vw, 820px);
  }

  .hero-proof,
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-signatures-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .signature-card {
    justify-items: center;
    min-height: 128px;
    padding: 1rem .75rem;
    text-align: center;
    grid-template-columns: 1fr;
  }

  .signature-icon {
    height: 56px;
    width: 56px;
  }

  .signature-icon img {
    padding: .08rem;
  }

  .essence-grid {
    align-items: stretch;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  }

  .contact-grid {
    align-items: center;
    grid-template-columns: 1fr .8fr;
  }

  .promo-dialog {
    grid-template-columns: minmax(330px, .9fr) minmax(360px, 1fr);
  }

  .promo-dialog img {
    aspect-ratio: auto;
    max-height: none;
    min-height: 480px;
  }

  .gallery-grid {
    columns: 3;
  }
}

@media (max-width: 819px) {
  :root {
    --header-height: 68px;
  }

  body {
    overflow-x: hidden;
  }

  .site-header {
    background: rgba(33, 0, 44, .86);
    backdrop-filter: blur(10px);
  }

  .nav-wrap {
    padding: .65rem .85rem;
  }

  .brand {
    font-size: clamp(.95rem, 5vw, 1.12rem);
    gap: .55rem;
    min-width: 0;
  }

  .brand-mark {
    flex: 0 0 38px;
    height: 38px;
    width: 38px;
  }

  .site-nav {
    left: .75rem;
    right: .75rem;
    width: auto;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(19, 0, 22, .86), rgba(19, 0, 22, .96)),
      radial-gradient(circle at 18% 30%, rgba(102, 18, 51, .72), transparent 34rem),
      linear-gradient(135deg, var(--purple-950), #25002f 54%, #0b000d);
    min-height: auto;
    padding: calc(var(--header-height) + 1.6rem) .9rem 2rem;
  }

  .hero::after {
    bottom: auto;
    height: min(38vh, 330px);
    left: 50%;
    opacity: .2;
    right: auto;
    top: calc(var(--header-height) + .4rem);
    transform: translateX(-50%) !important;
    width: min(92vw, 520px);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  }

  .hero-ornament {
    inset: calc(var(--header-height) + 1rem) .55rem .7rem;
  }

  .hero::before {
    background:
      linear-gradient(var(--gold-300), var(--gold-300)) left .95rem top calc(var(--header-height) + 1.2rem) / 54px 1px no-repeat,
      linear-gradient(var(--gold-300), var(--gold-300)) left .95rem top calc(var(--header-height) + 1.2rem) / 1px 54px no-repeat,
      linear-gradient(var(--gold-300), var(--gold-300)) right .95rem bottom 1rem / 54px 1px no-repeat,
      linear-gradient(var(--gold-300), var(--gold-300)) right .95rem bottom 1rem / 1px 54px no-repeat;
    opacity: .45;
  }

  .hero-content {
    border-left: 0;
    padding: 1.15rem 0 0;
    transform: none;
  }

  .hero-content::before {
    display: none;
  }

  .eyebrow {
    display: flex;
    font-size: .68rem;
    line-height: 1.35;
    max-width: 100%;
  }

  .eyebrow::before {
    flex: 0 0 30px;
    width: 30px;
  }

  .hero-devotion {
    font-size: .95rem;
    line-height: 1.35;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 13vw, 3.2rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .hero h1 span {
    font-size: clamp(1.18rem, 7vw, 1.65rem);
  }

  .hero h1 small {
    font-size: clamp(1rem, 5.6vw, 1.28rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    gap: .65rem;
  }

  .section {
    padding: 3.4rem .9rem;
  }

  .product-signatures {
    padding: 1.25rem .9rem;
  }

  .product-signatures-grid {
    grid-template-columns: 1fr;
  }

  .signature-card {
    min-width: 0;
  }

  .gallery-grid {
    columns: auto;
    display: flex;
    gap: .9rem;
    margin-inline: -.9rem;
    overflow-x: auto;
    padding: .25rem .9rem 1.1rem;
    scroll-padding-inline: .9rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-grid::-webkit-scrollbar {
    height: 7px;
  }

  .gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(214, 173, 69, .65);
    border-radius: 999px;
  }

  .gallery-card {
    flex: 0 0 min(84vw, 360px);
    margin: 0;
    scroll-snap-align: start;
  }

  .gallery-media img,
  .gallery-card.wide .gallery-media img {
    aspect-ratio: 4 / 5;
  }

  .gallery-badge {
    font-size: .64rem;
    max-width: calc(100% - 1.5rem);
    white-space: normal;
  }

  .float-whatsapp {
    animation: none;
    bottom: .85rem;
    box-shadow: 0 10px 24px rgba(34, 197, 94, .32);
    height: 54px;
    right: max(.75rem, env(safe-area-inset-right));
    width: 54px;
  }

  .lightbox,
  .promo-modal {
    padding: .75rem;
    width: 100%;
  }

  .lightbox-dialog,
  .promo-dialog {
    max-width: 100%;
    width: 100%;
  }

  .promo-dialog {
    box-shadow: 0 22px 58px rgba(0, 0, 0, .52), inset 0 1px 0 rgba(255, 250, 240, .08);
    max-height: calc(100dvh - 1.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .promo-dialog img {
    max-height: 30vh;
  }

  .promo-content {
    padding: 1.35rem 1.15rem 1.25rem;
  }

  .promo-content::before,
  .promo-dialog::after {
    display: none;
  }

  .promo-close {
    right: .75rem;
    top: .75rem;
  }

  .reveal {
    transform: translateY(18px);
    transition-duration: .45s;
  }
}

@media (hover: none), (pointer: coarse) {
  .button:hover,
  .button:focus-visible,
  .advantage-card:hover,
  .signature-card:hover {
    transform: none;
  }

  .gallery-card:hover .gallery-media img {
    opacity: 1;
    transform: none;
  }

  .zoom-btn {
    background: linear-gradient(180deg, transparent, rgba(19, 0, 22, .5));
    opacity: 1;
  }

  .zoom-btn::before {
    height: 46px;
    width: 46px;
  }
}

@media (min-width: 1080px) {
  .gallery-grid {
    columns: 4;
  }
}
