:root {
  --black: #090807;
  --black-soft: #100d0b;
  --coffee: #24170f;
  --coffee-light: #4f3421;
  --gold: #c99b61;
  --gold-light: #e0bf8c;
  --cream: #f3ece1;
  --muted: #b4aa9c;
  --line: rgba(212, 171, 112, .22);
  --glow: 0 16px 48px rgba(177, 110, 47, .2);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --container: min(1240px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
  background: var(--black);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #070605; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--coffee-light), var(--gold));
  border: 3px solid #070605;
  border-radius: 999px;
}

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 70% 10%, rgba(111, 67, 35, .16), transparent 40%),
    var(--black);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
}

body.menu-open { overflow: hidden; }

body.menu-open .header {
  background: transparent;
  backdrop-filter: none;
  border-color: transparent;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.04; }

.container { width: var(--container); margin-inline: auto; }
.section { padding: clamp(82px, 10vw, 132px) 0; }
.eyebrow {
  color: var(--gold);
  font-size: .69rem;
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.header {
  position: fixed;
  z-index: 20;
  top: 0;
  width: 100%;
  transition: background .45s ease, backdrop-filter .45s ease, border-color .45s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(8, 7, 6, .72);
  backdrop-filter: blur(18px);
  border-color: rgba(210, 172, 116, .12);
}

.nav {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  position: relative;
  z-index: 3;
}

.brand img { width: clamp(188px, 18vw, 240px); height: auto; }
.nav-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(26px, 3.7vw, 50px);
}

.nav-menu a, .social-header a {
  transition: color .25s ease, opacity .25s ease;
}

.nav-menu a {
  font-size: .71rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #ede4d8;
}

.nav-menu a:hover, .social-header a:hover { color: var(--gold-light); }
.social { display: flex; gap: 18px; }
.social svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.55; }
.menu-toggle { display: none; }

.hero {
  min-height: 100svh;
  display: block;
  position: relative;
  overflow: hidden;
}

.hero-media, .hero-shade, .hero-warmth {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/images/hero-bella-cafe.webp");
  background-position: center right;
  background-size: cover;
  transform: scale(1.035);
  will-change: transform;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-position: inherit;
  background-size: inherit;
  opacity: .16;
  z-index: 0;
}

.hero-shade {
  background:
    radial-gradient(ellipse at 37% 50%, rgba(6, 5, 4, .36), rgba(6, 5, 4, .14) 38%, transparent 62%),
    linear-gradient(90deg, rgba(5, 4, 3, .48) 0%, rgba(5, 4, 3, .27) 43%, rgba(5, 4, 3, .08) 70%),
    linear-gradient(0deg, rgba(7, 5, 4, .55), transparent 32%, rgba(7, 5, 4, .22));
  z-index: 2;
}

.hero-warmth {
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.hero-warmth span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(224, 178, 103, .42);
  box-shadow: 0 0 24px rgba(224, 178, 103, .45);
  animation: floatLight 9s ease-in-out infinite;
}

.hero-warmth span:nth-child(1) { left: 18%; top: 21%; animation-delay: -2s; }
.hero-warmth span:nth-child(2) { left: 31%; top: 16%; width: 9px; height: 9px; animation-delay: -5s; }
.hero-warmth span:nth-child(3) { left: 42%; top: 39%; width: 4px; height: 4px; animation-delay: -7s; }

@keyframes floatLight {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .22; }
  50% { transform: translate3d(10px, -18px, 0); opacity: .58; }
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  z-index: 4;
  padding-top: 0;
  text-align: center;
  width: min(760px, calc(100% - 48px));
  margin: 0;
  animation: heroFloat 7s ease-in-out infinite;
}

.hero-content .eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
  color: var(--gold-light);
}

.hero-content .eyebrow::before,
.hero-content .eyebrow::after {
  content: "";
  width: clamp(42px, 5vw, 86px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .72;
}

.hero h1 {
  text-transform: uppercase;
  color: var(--gold-light);
  letter-spacing: .02em;
  font-size: clamp(3.65rem, 4.65vw, 5.25rem);
  text-shadow: 0 7px 36px rgba(197, 132, 63, .3), 0 0 18px rgba(221, 172, 102, .14);
}
.hero h1 em {
  display: block;
  font-style: normal;
  white-space: nowrap;
}
.hero h1 span {
  display: block;
  font-family: var(--serif);
  color: var(--gold-light);
  font-size: clamp(2.05rem, 2.7vw, 3rem);
  font-weight: 500;
  letter-spacing: .2em;
  margin-bottom: 10px;
  padding-left: .2em;
}

.leaf-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: clamp(18px, 3.2vh, 29px) auto 17px;
}
.leaf-divider span { height: 1px; width: 100px; background: var(--line); }
.leaf-divider i {
  width: 17px;
  height: 20px;
  border: 1px solid var(--gold);
  border-radius: 16px 0 16px 0;
  transform: rotate(-42deg);
}
.date {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(3.35rem, 4.6vw, 4.25rem);
  letter-spacing: .2em;
  margin-left: .2em;
  text-shadow: 0 8px 28px rgba(191, 128, 56, .22);
}
.hero-text {
  font-size: clamp(1.06rem, 1.35vw, 1.45rem);
  text-transform: none;
  letter-spacing: .015em;
  color: #f3eae1;
  line-height: 1.32;
  margin: 13px auto 30px;
  max-width: 420px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 57px;
  padding: 0 34px;
  border-radius: 999px;
  color: #1d130c;
  background: linear-gradient(108deg, #c89559, #ebc184 52%, #c99559);
  box-shadow: 0 14px 34px rgba(114, 70, 27, .25);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}
.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 18px 42px rgba(179, 116, 51, .35);
}

@keyframes heroFloat {
  0%, 100% { transform: translate(-50%, -46%); }
  50% { transform: translate(-50%, calc(-46% - 5px)); }
}
.button-outline {
  color: var(--gold-light);
  border: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}
.button-outline:hover { background: rgba(199, 151, 92, .08); box-shadow: none; }

.scroll-hint {
  position: absolute;
  z-index: 1;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.scroll-hint span {
  height: 38px;
  width: 1px;
  background: linear-gradient(var(--gold), transparent);
}

.intro-grid {
  display: grid;
  grid-template-columns: .89fr 1.11fr;
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
}
.section-copy h2, .section-heading h2, .contact-copy h2 {
  color: var(--cream);
  font-size: clamp(2.7rem, 4.6vw, 4.25rem);
  margin-bottom: 25px;
}
.section-copy > p:not(.eyebrow), .section-heading > p:not(.eyebrow), .section-heading-split > p, .experience-content > p:not(.eyebrow) {
  color: var(--muted);
  font-size: .92rem;
  max-width: 500px;
}
.image-frame {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: var(--glow);
}
.image-frame::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 16px;
  z-index: 1;
  border: 1px solid rgba(210, 171, 114, .22);
}
.image-frame img { min-height: 570px; width: 100%; object-fit: cover; }
.feature-row {
  margin-top: clamp(38px, 6vw, 54px);
  display: grid;
  gap: 25px;
}
.feature-row div { padding-left: 23px; border-left: 1px solid var(--line); }
.feature-row strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
}
.feature-row span { color: var(--muted); font-size: .76rem; }

.history-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(42px, 7vw, 88px);
  align-items: center;
}

.history-copy h2 {
  color: var(--cream);
  font-size: clamp(2.7rem, 4.5vw, 4.35rem);
  margin-bottom: 26px;
}

.history-copy h2::first-line {
  color: var(--cream);
}

.history-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: .94rem;
  max-width: 520px;
  margin-bottom: 22px;
}

.history-highlight {
  margin-top: clamp(30px, 5vw, 48px);
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.history-highlight span {
  display: block;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.history-highlight strong {
  display: block;
  max-width: 430px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  font-weight: 500;
  line-height: 1.16;
}

.history-before-after {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(215, 161, 88, .25);
  border-radius: 18px;
  background: #100c09;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .42), 0 0 42px rgba(198, 126, 45, .08);
}

.history-before-after::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(239, 199, 139, .16);
}

.history-before-after::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(9, 6, 4, .15), transparent 34%, rgba(223, 149, 62, .1));
}

.history-before-after img {
  display: block;
  width: 100%;
  min-height: clamp(430px, 42vw, 610px);
  object-fit: cover;
  object-position: center center;
}

.before-after {
  position: relative;
  min-height: clamp(500px, 45vw, 630px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: var(--glow);
  background: #100c09;
}

.before-after::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(210, 171, 114, .18);
}

.before-after article {
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.before-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-panel img {
  filter: grayscale(1) sepia(.13) brightness(.68) contrast(1.05);
  object-position: left center;
}

.after-panel img {
  filter: saturate(1.04) contrast(1.03);
  object-position: right center;
}

.before-after article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(8, 6, 5, .76) 78%, rgba(8, 6, 5, .94));
}

.before-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .26);
}

.after-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 65% 30%, rgba(223, 149, 62, .17), transparent 42%);
}

.before-after span,
.before-after p {
  position: absolute;
  z-index: 3;
  left: clamp(22px, 3vw, 34px);
  right: clamp(22px, 3vw, 34px);
  text-align: center;
}

.before-after span {
  bottom: 76px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1;
}

.before-after p {
  bottom: 30px;
  color: #d9cec0;
  font-size: .74rem;
  line-height: 1.55;
}

.products {
  background:
    radial-gradient(circle at 50% 10%, rgba(120, 70, 32, .14), transparent 38%),
    linear-gradient(180deg, var(--black), #0e0a08 25%, #0e0a08 80%, var(--black));
}
.section-heading { max-width: 730px; margin-bottom: clamp(45px, 7vw, 72px); }

.products-heading {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.products-heading h2 {
  font-size: clamp(2.8rem, 5vw, 4.7rem);
}

.products-heading p {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.products-heading h2::first-line {
  color: var(--cream);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}

.product-card {
  grid-column: span 2;
  min-height: 214px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #120d0a;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.product-card:hover {
  border-color: rgba(210, 171, 114, .52);
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, .34), 0 0 28px rgba(190, 124, 54, .08);
}

.product-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .8s ease, filter .3s ease;
}

.product-card:hover img {
  transform: scale(1.065);
  filter: saturate(1.08);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8, 6, 5, .72) 74%, rgba(8, 6, 5, .94));
  pointer-events: none;
}

.product-card h3 {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 18px;
  color: var(--gold-light);
  font-size: clamp(1.28rem, 1.6vw, 1.55rem);
  text-align: center;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .54);
}

.product-card h3 span {
  display: block;
  color: var(--cream);
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.35;
  margin-top: 3px;
  text-transform: none;
}

.product-card-wide {
  grid-column: span 3;
}

.product-note {
  grid-column: span 3;
  min-height: 214px;
  border: 1px solid var(--line);
  border-radius: 5px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 30px;
  background:
    radial-gradient(circle at 50% 20%, rgba(199, 151, 92, .11), transparent 45%),
    rgba(255, 249, 240, .025);
}

.product-note span {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  line-height: 1.05;
}

.product-note p {
  max-width: 360px;
  color: var(--muted);
  font-size: .82rem;
  margin-top: 16px;
}

.section-heading-split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 70px;
  align-items: end;
}
.section-heading-split h2 { margin-bottom: 0; }
.gallery .section-heading-split > p {
  max-width: 560px;
  line-height: 1.8;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  grid-template-rows: repeat(2, minmax(240px, 292px));
  gap: 18px;
}
.gallery-grid figure { margin: 0; overflow: hidden; position: relative; }
.gallery-grid img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.gallery-grid figure:hover img { transform: scale(1.045); }
.gallery-large { grid-row: 1 / 3; }

.experience {
  min-height: min(82vh, 790px);
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 18px;
  padding: clamp(92px, 13vw, 150px) 0;
}
.experience-image, .experience-image::after { position: absolute; inset: 0; }
.experience-image img { height: 100%; width: 100%; object-fit: cover; object-position: right center; }
.experience-image::after {
  content: "";
  background: linear-gradient(90deg, #080706 3%, rgba(8, 7, 6, .94) 30%, rgba(8, 7, 6, .44) 67%, rgba(8, 7, 6, .24));
}
.experience-content { position: relative; z-index: 1; }
.experience-content h2 {
  font-size: clamp(3rem, 5.2vw, 4.9rem);
  color: var(--gold-light);
  margin-bottom: 29px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--gold-light);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .29em;
  text-transform: uppercase;
  margin-top: 38px;
}
.text-link::after {
  content: "";
  height: 1px;
  width: 56px;
  background: var(--gold);
  transition: width .3s ease;
}
.text-link:hover::after { width: 78px; }

.contact-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(45px, 9vw, 112px);
  align-items: center;
}
.contact-items { display: flex; gap: clamp(38px, 6vw, 60px); margin: 44px 0; }
.contact-items small {
  display: block;
  color: var(--gold);
  font-size: .63rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 13px;
}
.contact-items p { color: var(--cream); font-size: .88rem; line-height: 1.9; }
.contact-items span { color: var(--muted); }
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 15px;
}

.contact-actions .button {
  min-width: 176px;
}

.contact-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-socials a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  background: rgba(255, 249, 240, .02);
  transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.contact-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 191, 140, .58);
  background: rgba(201, 155, 97, .1);
  box-shadow: 0 14px 30px rgba(201, 155, 97, .12);
}

.contact-socials svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
}

.contact-socials a[aria-label*="Facebook"] svg {
  fill: currentColor;
  stroke: none;
}

.map-card {
  height: clamp(370px, 39vw, 470px);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #110d0a;
  box-shadow: var(--glow);
}

.map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(.88) sepia(.28) saturate(.8) hue-rotate(352deg) brightness(.68) contrast(1.18);
}

.map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, .08), rgba(8, 7, 6, .36)),
    radial-gradient(circle at 50% 54%, transparent 0, rgba(8, 7, 6, .34) 72%);
}

.map-overlay {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 22px 24px;
  background: rgba(10, 8, 6, .78);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.map-overlay p {
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  line-height: 1;
}

.map-overlay small {
  display: block;
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 10px 0 17px;
}

.map-overlay a {
  display: inline-flex;
  color: var(--gold-light);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.map-overlay a:hover {
  color: var(--cream);
}

.instagram {
  padding: clamp(74px, 9vw, 102px) 0;
  border-top: 1px solid rgba(210, 171, 114, .13);
  border-bottom: 1px solid rgba(210, 171, 114, .13);
  background: #0d0a08;
}
.instagram-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.instagram-inner img { width: 183px; margin-bottom: 38px; }
.instagram-inner h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-bottom: 15px; }
.instagram-inner p { max-width: 420px; color: var(--muted); font-size: .84rem; }
.instagram-inner .text-link { margin-top: 31px; }
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 30px;
}
.social-links .text-link { margin-top: 31px; }
.footer { padding: 30px 0; color: #8f877d; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer a { color: var(--gold); }

.floating-whatsapp {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 58px;
  padding: 0 22px 0 18px;
  border: 1px solid rgba(255, 229, 190, .42);
  border-radius: 999px;
  color: #160f0a;
  background:
    linear-gradient(135deg, #f0c98f 0%, #d9a967 48%, #b98042 100%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38), 0 0 28px rgba(217, 169, 103, .28);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: translateZ(0);
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  border: 1px solid rgba(255, 247, 227, .22);
  pointer-events: none;
}

.floating-whatsapp svg {
  position: relative;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
}

.floating-whatsapp span {
  position: relative;
}

.floating-whatsapp:hover {
  transform: translateY(-4px);
  filter: saturate(1.07);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .46), 0 0 38px rgba(224, 191, 140, .38);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .65, .25, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  :root { --container: min(100% - 40px, 720px); }
  .social-header { display: none; }
  .nav { height: 82px; }
  .nav-menu {
    position: fixed;
    inset: 0;
    width: 100vw;
    min-height: 100svh;
    transform: none;
    background: rgba(8, 7, 6, .96);
    backdrop-filter: blur(16px);
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 102px 24px 96px;
    transition: opacity .35s ease, visibility .35s ease;
  }
  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-menu a { font-size: .84rem; }
  .menu-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    gap: 8px;
    border: 0;
    background: transparent;
    color: var(--cream);
    padding: 12px 0 12px 16px;
  }
  .menu-toggle span {
    width: 29px;
    height: 1px;
    background: currentColor;
    transition: transform .3s ease;
  }
  .menu-toggle.active span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle.active span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .hero-media { background-position: 65% center; }
  .hero-shade {
    background:
      radial-gradient(ellipse at 50% 53%, rgba(131, 77, 35, .18), transparent 52%),
      linear-gradient(0deg, rgba(5, 4, 3, .76) 0%, rgba(5, 4, 3, .42) 58%, rgba(5, 4, 3, .32)),
      linear-gradient(90deg, rgba(5, 4, 3, .48), transparent 75%);
  }
  .hero-content {
    left: 50%;
    width: min(720px, var(--container));
    margin: 0;
    padding-top: 0;
  }
  .intro-grid, .history-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-grid .image-frame { order: -1; }
  .image-frame img { min-height: min(64vw, 490px); }
  .history-copy p:not(.eyebrow) { max-width: 680px; }
  .history-before-after img { min-height: min(62vw, 520px); }
  .before-after { min-height: min(72vw, 580px); }
  .product-gallery { grid-template-columns: repeat(6, 1fr); }
  .product-card { grid-column: span 2; }
  .product-card-wide { grid-column: span 3; }
  .product-note { grid-column: span 6; }
  .section-heading-split { display: block; }
  .section-heading-split > p { margin-top: 26px; }
  .experience-image img { object-position: 65% center; }
  .experience-image::after { background: linear-gradient(90deg, rgba(8, 7, 6, .93), rgba(8, 7, 6, .5)); }
}

@media (max-width: 640px) {
  :root { --container: calc(100% - 34px); }
  .nav { height: 76px; }
  .brand img { width: 177px; }
  .hero { min-height: 100svh; align-items: center; padding-bottom: 0; }
  .hero-media { background-position: 72% center; transform: scale(1.02); }
  .hero-content {
    top: 52%;
    bottom: auto;
    left: 50%;
    width: min(390px, calc(100% - 34px));
    margin: 0;
    transform: translate(-50%, -50%);
  }
  .hero-content .eyebrow {
    margin-bottom: 13px;
    font-size: .58rem;
    gap: 11px;
    letter-spacing: .32em;
  }
  .hero-content .eyebrow::before,
  .hero-content .eyebrow::after {
    width: 52px;
  }
  .hero h1 { font-size: clamp(2rem, 9.7vw, 2.52rem); letter-spacing: -.01em; }
  .hero h1 em { white-space: normal; }
  .hero h1 span {
    font-size: clamp(1.55rem, 8.4vw, 2.08rem);
    letter-spacing: .22em;
    margin-bottom: 5px;
    padding-left: .2em;
  }
  .leaf-divider {
    margin: 15px auto 12px;
    gap: 12px;
  }
  .leaf-divider span { width: 72px; }
  .leaf-divider i {
    width: 15px;
    height: 18px;
  }
  .date {
    font-size: clamp(2.9rem, 15vw, 3.65rem);
    letter-spacing: .17em;
    margin-left: .17em;
  }
  .hero-text {
    max-width: 310px;
    font-size: .95rem;
    letter-spacing: .02em;
    line-height: 1.42;
    margin: 9px auto 25px;
  }
  .button {
    width: min(100%, 342px);
    min-height: 56px;
    padding-inline: 20px;
    font-size: .62rem;
    letter-spacing: .13em;
  }
  .scroll-hint { display: none; }
  .section { padding: 72px 0; }
  .history-copy h2 { font-size: clamp(2.55rem, 13vw, 3.45rem); }
  .history-before-after {
    border-radius: 14px;
  }
  .history-before-after::before {
    inset: 10px;
  }
  .history-before-after img {
    min-height: 320px;
  }
  .before-after {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .before-after article {
    min-height: 310px;
  }
  .before-panel img,
  .after-panel img {
    object-position: center center;
  }
  .product-gallery { grid-template-columns: repeat(2, 1fr); }
  .product-card,
  .product-card-wide {
    grid-column: span 1;
    min-height: 205px;
  }
  .product-note { grid-column: 1 / -1; min-height: 190px; }
  .gallery-grid {
    display: flex;
    flex-direction: column;
  }
  .gallery-grid figure { height: 245px; }
  .gallery-large { height: 365px !important; }
  .experience { min-height: 680px; align-items: end; padding-bottom: 69px; }
  .experience-image::after {
    background: linear-gradient(0deg, rgba(8, 7, 6, .98) 3%, rgba(8, 7, 6, .8) 50%, rgba(8, 7, 6, .2));
  }
  .experience-content h2 { font-size: clamp(2.8rem, 14vw, 3.5rem); }
  .contact-items { flex-direction: column; gap: 27px; margin: 35px 0; }
  .contact-actions {
    flex-wrap: wrap;
  }
  .contact-actions .button {
    width: 100%;
  }
  .contact-socials {
    width: 100%;
    justify-content: center;
  }
  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    min-height: 54px;
    width: 54px;
    padding: 0;
    gap: 0;
  }
  .floating-whatsapp span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .map-card { height: 350px; }
  .map-overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 18px;
  }
  .footer-inner { display: block; text-align: center; }
  .footer-inner a { display: inline-block; margin-top: 15px; }
}

@media (max-width: 640px) and (max-height: 740px) {
  .hero-content {
    top: 55%;
  }
  .hero h1 { font-size: clamp(1.76rem, 8.7vw, 2.08rem); }
  .hero h1 span { font-size: clamp(1.28rem, 7vw, 1.68rem); }
  .date { font-size: clamp(2.45rem, 13vw, 3.1rem); }
  .hero-text { margin-bottom: 18px; }
  .button { min-height: 52px; }
}

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