:root {
  --ink: #11110f;
  --paper: #f5f5f1;
  --white: #fff;
  --orange: #e8672c;
  --line: rgba(17, 17, 15, 0.16);
  --sans: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; }
img { display: block; width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { height: 76px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: white; border-bottom: 1px solid rgba(255,255,255,.14); }
.brand { display: grid; text-decoration: none; line-height: 1; gap: 6px; }
.brand-main { font: 700 .96rem/1 var(--display); letter-spacing: .12em; }
.brand-sub { font-size: .61rem; letter-spacing: .22em; color: #b9b9b2; }
.header-link { font-size: .82rem; text-underline-offset: 5px; }

.hero { min-height: calc(100svh - 76px); background: var(--ink); color: white; display: grid; grid-template-columns: .86fr 1.14fr; }
.hero-copy { padding: 5.5vw 5vw 6vw; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero-logo-wrap { width: min(260px, 70%); margin-bottom: 34px; padding: 10px 14px; background: var(--paper); }
.hero-logo { width: 100%; height: auto; object-fit: contain; }
.eyebrow { margin: 0 0 24px; color: #a9a9a2; font-size: .71rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: #6b6b65; }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -.045em; }
h1 { max-width: 11ch; font-size: clamp(3.2rem, 5.7vw, 7rem); line-height: .9; font-weight: 600; text-transform: uppercase; }
h1 span { display: block; color: var(--orange); white-space: nowrap; }
.hero-text { max-width: 520px; margin: 30px 0 0; color: #c2c2bc; line-height: 1.58; }
.hero-text strong { color: white; font-weight: 600; }
.hero-urgency { max-width: 520px; margin: 20px 0 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); color: white; font: 600 .88rem/1.45 var(--display); letter-spacing: .055em; }
.hero-image-wrap { position: relative; min-height: 600px; overflow: hidden; }
.hero-image { height: 100%; object-fit: cover; object-position: center top; }
.hero-index { position: absolute; right: 22px; bottom: 22px; padding: 8px 10px; background: rgba(17,17,15,.86); font-size: .66rem; letter-spacing: .15em; }
.button { min-height: 50px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid currentColor; text-decoration: none; font-weight: 600; font-size: .88rem; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { color: white; }
.button-light:hover { background: white; color: var(--ink); }
.button-dark { background: var(--ink); color: white; }

.catalog { padding: 110px 5vw 130px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.section-heading h2, .visit h2 { font-size: clamp(2.6rem, 5vw, 5.6rem); line-height: .95; font-weight: 600; }
.section-heading > p { color: #696962; margin: 0 0 7px; font-size: .85rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 55px 18px; padding-top: 28px; }
.product-card { min-width: 0; }
.product-button { width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: zoom-in; }
.product-image-wrap { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #e9e9e4; }
.product-image { height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.product-button:hover .product-image { transform: scale(1.025); }
.photo-count { position: absolute; right: 10px; bottom: 10px; padding: 6px 8px; background: rgba(17,17,15,.86); color: white; font-size: .7rem; letter-spacing: .08em; }
.product-meta { padding-top: 13px; display: flex; justify-content: space-between; gap: 12px; }
.product-meta h3 { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.product-meta span { color: #777770; font-size: .72rem; letter-spacing: .12em; }

.visit { padding: 100px 5vw; background: var(--orange); color: var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; }
.visit .eyebrow { color: rgba(17,17,15,.65); }
.visit-details { align-self: end; border-top: 1px solid rgba(17,17,15,.3); padding-top: 24px; }
.visit-details p { margin: 0 0 5px; font: 600 clamp(1.3rem, 2.2vw, 2rem)/1.25 var(--display); }
.visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 38px; }
.visit .button-light { border-color: var(--ink); color: var(--ink); }
.visit .button-light:hover { background: var(--ink); color: white; }
.text-link { font-size: .9rem; text-underline-offset: 5px; }

footer { padding: 26px 5vw 110px; display: flex; justify-content: space-between; gap: 20px; font-size: .67rem; letter-spacing: .14em; }
.floating-whatsapp { position: fixed; z-index: 20; right: 18px; bottom: 18px; min-height: 52px; padding: 0 18px; display: flex; align-items: center; gap: 9px; background: #20bd5a; color: #07150c; border-radius: 999px; text-decoration: none; font-weight: 700; box-shadow: 0 10px 32px rgba(0,0,0,.22); }
.floating-whatsapp svg { width: 22px; fill: currentColor; }

.gallery-dialog { width: min(960px, calc(100% - 30px)); max-height: calc(100svh - 30px); padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow: auto; }
.gallery-dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(5px); }
.dialog-close { position: fixed; z-index: 3; margin: 14px; right: max(20px, calc((100vw - 930px)/2)); width: 42px; height: 42px; border: 0; border-radius: 50%; background: white; color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.dialog-media { position: relative; height: min(70svh, 720px); background: #e9e9e4; }
.dialog-media img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(17,17,15,.78); color: white; font-size: 1.1rem; cursor: pointer; }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.dialog-info { padding: 24px; display: flex; justify-content: space-between; gap: 20px; }
.dialog-info .eyebrow { margin-bottom: 8px; }
.dialog-info h3 { font-size: 1.5rem; }
.dialog-info span { color: #6b6b65; font-size: .8rem; }
#dialog-whatsapp { margin: 0 24px 24px; }

@media (max-width: 760px) {
  .site-header { height: 67px; padding: 0 18px; }
  .header-link { display: none; }
  .hero { min-height: auto; display: flex; flex-direction: column; }
  .hero-image-wrap { min-height: 63svh; }
  .hero-copy { padding: 44px 18px 60px; }
  .hero-logo-wrap { width: min(220px, 74%); margin-bottom: 30px; padding: 8px 11px; }
  h1 { max-width: 10ch; font-size: clamp(3rem, 13vw, 5rem); }
  .hero-text { margin-top: 24px; }
  .hero-urgency { margin: 18px 0 28px; }
  .catalog { padding: 76px 12px 90px; }
  .section-heading { align-items: start; padding: 0 6px 20px; }
  .section-heading > p { margin-top: 7px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 8px; padding-top: 10px; }
  .product-meta { display: block; padding: 10px 5px 0; }
  .product-meta span { display: inline-block; margin-top: 5px; }
  .visit { padding: 75px 18px 84px; grid-template-columns: 1fr; }
  .visit-details { margin-top: 18px; }
  footer { padding: 23px 18px 100px; flex-direction: column; }
  .floating-whatsapp { right: 12px; bottom: 12px; min-height: 50px; }
  .gallery-dialog { width: 100%; max-height: 100svh; height: 100svh; }
  .dialog-close { position: absolute; right: 0; }
  .dialog-media { height: 67svh; }
}

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