:root {
  --ink: #201a16;
  --espresso: #2b211b;
  --stone: #d7c7ad;
  --paper: #f7f0e4;
  --chalk: #fffaf0;
  --gold: #c7a45b;
  --gold-soft: #e2c982;
  --forest: #394638;
  --steel: #58646a;
  --wine: #6d3431;
  --line: rgba(32, 26, 22, 0.14);
  --light-line: rgba(255, 250, 240, 0.22);
  --shadow: 0 24px 70px rgba(24, 16, 11, 0.24);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: "Jost", system-ui, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #2a211b 0, #3c3028 21%, #eadfcc 21%, #f5efe3 50%, #d5c2a8 78%, #2b211b 100%);
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

.whatsapp-float {
  position: fixed;
  left: clamp(1rem, 2.2vw, 1.75rem);
  bottom: clamp(1rem, 2.2vw, 1.75rem);
  z-index: 1100;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  color: #fff;
  background: #c7a45b;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(24, 16, 11, 0.32);
  transition: transform 0.25s var(--ease), background 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }
.whatsapp-float:hover { transform: translateY(-3px); background: #c7a45b; box-shadow: 0 16px 34px rgba(24, 16, 11, 0.4); }
.whatsapp-float:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; }

.photo-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  width: 100%;
  max-width: 1340px;
  margin: 1.1rem auto 2rem;
  padding: 0.9rem 1rem;
  color: rgba(32, 26, 22, 0.78);
  background: rgba(255, 250, 240, 0.48);
  border: 1px solid rgba(32, 26, 22, 0.14);
}

.photo-disclaimer__icon {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--chalk);
  background: var(--espresso);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
}

.photo-disclaimer p { margin: 0; font-size: 0.84rem; line-height: 1.65; }
.photo-disclaimer a { color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; }
.photo-disclaimer a:hover { color: var(--espresso); }

.catalog-toolbar .photo-disclaimer {
  flex: 1 0 100%;
  max-width: none;
  margin: 1rem 0 0;
}

.stone-gallery-section .photo-disclaimer { margin-inline: auto; }

@media (max-width: 600px) {
  .whatsapp-float { width: 54px; height: 54px; }
  .whatsapp-float svg { width: 29px; height: 29px; }
  .photo-disclaimer { margin-bottom: 1.4rem; padding: 0.8rem; }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 78px;
  padding: 0.55rem 4rem;
  background: rgba(29, 23, 19, 0.78);
  border-bottom: 1px solid rgba(226, 201, 130, 0.2);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, box-shadow 0.3s ease, min-height 0.3s ease;
}

.site-nav.is-scrolled {
  min-height: 68px;
  background: rgba(29, 23, 19, 0.94);
  box-shadow: 0 12px 44px rgba(20, 14, 10, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 270px;
  height: 64px;
  min-height: 64px;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a,
.lang-switch a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 250, 240, 0.82);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active,
.lang-switch a:hover,
.lang-switch a.is-active {
  color: var(--gold-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 250, 240, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.lang-switch a {
  min-width: 34px;
  min-height: 32px;
  justify-content: center;
  font-size: 0.72rem;
}

.lang-switch a.is-active {
  background: rgba(226, 201, 130, 0.16);
}

.nav-contact,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-contact,
.btn-primary {
  color: #221912;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 16px 34px rgba(199, 164, 91, 0.22);
}

.btn-secondary {
  color: var(--chalk);
  border-color: rgba(255, 250, 240, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.nav-contact:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  justify-self: end;
  border: 1px solid rgba(255, 250, 240, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--chalk);
  cursor: pointer;
}

.menu-toggle-lines {
  width: 20px;
  display: grid;
  gap: 5px;
}

.menu-toggle-lines span {
  height: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-nav.menu-open .menu-toggle-lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.menu-open .menu-toggle-lines span:nth-child(2) { opacity: 0; }
.site-nav.menu-open .menu-toggle-lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 8.5rem 4rem 5.75rem;
  color: var(--chalk);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(28, 20, 15, 0.9) 0%, rgba(38, 29, 22, 0.76) 45%, rgba(38, 29, 22, 0.2) 100%),
    url("../img/try.webp");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 250, 240, 0.04) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.7), transparent 76%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow,
.section-label,
.catalog-kicker,
.process-num {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: "Cinzel", serif;
  font-size: 5.2rem;
  line-height: 0.95;
  font-weight: 500;
}

.hero-subtitle {
  max-width: 630px;
  margin: 0 0 1.8rem;
  color: rgba(255, 250, 240, 0.82);
  font-size: 1.18rem;
  line-height: 1.8;
}

.hero-actions,
.catalog-toolbar,
.catalog-footer,
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 680px;
  margin-top: 2.6rem;
  border: 1px solid rgba(226, 201, 130, 0.22);
  background: rgba(226, 201, 130, 0.16);
}

.hero-stat {
  padding: 1rem;
  background: rgba(28, 20, 15, 0.72);
}

.hero-stat strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.1rem;
  font-weight: 300;
  color: var(--gold-soft);
}

.hero-stat span {
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.76rem;
  text-transform: uppercase;
}

@media (min-width: 901px) {
  .hero {
    align-items: center;
    padding-block: 8.5rem 4.25rem;
  }

  .hero-copy {
    transform: translateY(2.25rem);
  }

  .hero-stats {
    margin-top: 2rem;
  }
}

.visual-caption {
  position: absolute;
  right: 4rem;
  bottom: 3rem;
  z-index: 1;
  max-width: 270px;
  padding-left: 1rem;
  border-left: 1px solid rgba(226, 201, 130, 0.55);
  color: rgba(255, 250, 240, 0.78);
  font-size: 0.84rem;
  line-height: 1.6;
}

.visual-caption strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.section {
  padding: 6.5rem 4rem;
}

.section-light {
  background: linear-gradient(180deg, rgba(255,250,240,0.94), rgba(231,219,200,0.95));
}

.section-warm {
  background: linear-gradient(180deg, #dccbb2, #f3eadc 48%, #d1bda1);
}

.section-dark {
  color: var(--chalk);
  background: linear-gradient(135deg, rgba(35,27,22,0.98), rgba(61,49,40,0.96));
}

.section-head {
  max-width: 780px;
  margin-bottom: 3rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  line-height: 1;
  font-weight: 300;
}

.section-title em {
  color: var(--gold);
}

.section-dark .section-title em,
.section-dark .section-label {
  color: var(--gold-soft);
}

.section-intro,
.about-copy p,
.catalog-card p,
.process-step p,
.contact-form,
.catalog-note {
  color: rgba(32, 26, 22, 0.7);
  line-height: 1.8;
}

.section-dark .section-intro,
.section-dark .process-step p {
  color: rgba(255, 250, 240, 0.72);
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 4rem;
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
}

.about-panel {
  min-height: 540px;
  background:
    linear-gradient(135deg, rgba(32,26,22,0.22), rgba(57,70,56,0.14)),
    image-set(url("../img/catalog-3-800.webp") 1x, url("../img/3.webp") 2x);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.badge {
  display: inline-grid;
  min-width: 138px;
  margin: 2rem;
  padding: 1.15rem;
  background: var(--chalk);
  box-shadow: 0 20px 52px rgba(28, 20, 15, 0.22);
}

.badge strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
}

.badge span {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: rgba(32, 26, 22, 0.78);
}

.feature-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 0.5rem;
  background: var(--forest);
  transform: rotate(45deg);
}

.catalog-toolbar {
  justify-content: space-between;
  max-width: 1340px;
  margin: 0 auto 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.catalog-note {
  max-width: 520px;
  margin: 0;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1340px;
  margin: 0 auto;
  background: rgba(32, 26, 22, 0.16);
  border: 1px solid rgba(32, 26, 22, 0.12);
}

.catalog-card {
  display: grid;
  min-height: 560px;
  padding: 1.35rem;
  background: rgba(255, 250, 240, 0.78);
  transition: transform 0.35s var(--ease), background 0.35s ease, box-shadow 0.35s ease;
}

.catalog-card:hover {
  z-index: 1;
  transform: translateY(-5px);
  background: var(--chalk);
  box-shadow: var(--shadow);
}

.catalog-visual {
  overflow: hidden;
  margin: -0.35rem -0.35rem 1.1rem;
  background: #c7b79d;
  aspect-ratio: 4 / 3;
}

.catalog-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.catalog-card:hover .catalog-image {
  transform: scale(1.055);
}

.catalog-kicker {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  color: var(--gold);
}

.catalog-card h3,
.process-step h3 {
  margin: 0 0 0.6rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 400;
}

.catalog-specs {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.4rem;
  padding: 0;
  list-style: none;
  color: rgba(32, 26, 22, 0.78);
  font-size: 0.92rem;
}

.catalog-specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.55rem;
}

.catalog-specs span {
  color: rgba(32, 26, 22, 0.48);
}

.catalog-footer {
  justify-content: space-between;
  margin-top: auto;
}

.price {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  color: var(--gold);
}

.quote-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid currentColor;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1220px;
  margin: 0 auto;
  background: rgba(226, 201, 130, 0.2);
  border: 1px solid rgba(226, 201, 130, 0.18);
}

.process-step {
  min-height: 310px;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.055);
}

.process-num {
  color: var(--gold-soft);
}

.testimonial-band {
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.testimonial-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.testimonial {
  width: 360px;
  padding: 1.4rem;
  border-right: 1px solid var(--line);
}

.testimonial blockquote {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 1.25;
}

.testimonial cite {
  color: var(--forest);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 700;
}

.contact-details {
  display: grid;
  gap: 1px;
  max-width: 520px;
  margin-top: 2rem;
  background: rgba(226, 201, 130, 0.2);
  border: 1px solid rgba(226, 201, 130, 0.18);
}

.detail {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.055);
}

.detail span {
  color: var(--gold-soft);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: var(--shadow);
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.86rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(32, 26, 22, 0.16);
  background: white;
  color: var(--ink);
  min-height: 48px;
  padding: 0.8rem;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--forest);
  font-weight: 700;
}

footer {
  justify-content: space-between;
  padding: 2rem 4rem;
  color: rgba(255, 250, 240, 0.74);
  background: #1d1713;
}

#footerContent {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  column-gap: 4rem;
  row-gap: 0.65rem;
}

#footerContent > p {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-size: 0.78rem;
}

.footer-brand {
  grid-column: 1;
  grid-row: 1;
}

.footer-contact {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  gap: 0.85rem;
  min-width: 245px;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 250, 240, 0.82);
  font-size: 0.88rem;
  line-height: 1.4;
  text-decoration: none;
}

.footer-contact-row svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a.footer-contact-row:hover {
  color: var(--gold-soft);
}

.footer-brand {
  font-family: "Cinzel", serif;
  color: var(--gold-soft);
  font-size: 1.2rem;
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

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

/* Cookie consent */
.cookie-consent[hidden] {
  display: none;
}

.cookie-consent {
  position: fixed;
  z-index: 1200;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  left: clamp(0.75rem, 2vw, 1.5rem);
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(1.15rem, 2.2vw, 1.65rem);
  color: var(--chalk);
  background: rgba(43, 33, 27, 0.98);
  border: 1px solid rgba(226, 201, 130, 0.28);
  border-radius: 1.15rem;
  box-shadow: 0 22px 65px rgba(24, 16, 11, 0.38);
  animation: cookie-consent-in 0.55s var(--ease) both;
}

.cookie-consent__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2.5rem;
}

.cookie-consent__title {
  margin: 0 0 0.35rem;
  color: var(--gold-soft);
  font-family: "Cinzel", serif;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.cookie-consent__text {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: 0.92rem;
  line-height: 1.6;
}

.cookie-consent__policy {
  display: inline-flex;
  margin-top: 0.45rem;
  padding: 0;
  color: var(--gold-soft);
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cookie-consent__button {
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border: 1px solid rgba(255, 250, 240, 0.34);
  border-radius: 999px;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease;
}

.cookie-consent__button:hover {
  transform: translateY(-2px);
}

.cookie-consent__button--reject {
  color: var(--chalk);
  background: transparent;
}

.cookie-consent__button--reject:hover {
  border-color: var(--gold-soft);
}

.cookie-consent__button--accept {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-color: transparent;
}

.cookie-consent__details {
  grid-column: 1 / -1;
  margin-top: 0.1rem;
  padding-top: 1rem;
  color: rgba(255, 250, 240, 0.72);
  border-top: 1px solid rgba(226, 201, 130, 0.2);
  font-size: 0.83rem;
  line-height: 1.55;
}

.cookie-consent__details p {
  margin: 0;
}

.cookie-consent__details p + p {
  margin-top: 0.45rem;
}

.cookie-consent__details strong {
  color: var(--chalk);
}

@keyframes cookie-consent-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1180px) {
  .site-nav { padding-inline: 2rem; }
  .brand { width: 235px; height: 58px; min-height: 58px; }
  .nav-links { gap: 0.85rem; }
  .nav-links a { font-size: 0.72rem; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visual-caption { right: 2rem; }
}

@media (max-width: 1100px) {
  html { scroll-padding-top: 84px; }
  .site-nav {
    grid-template-columns: auto auto;
    min-height: 70px;
    padding: 0.55rem 1rem;
  }
  .brand { width: 200px; height: 50px; min-height: 50px; }
  .menu-toggle { display: inline-flex; }
  .nav-panel {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 1.15rem;
    right: 1.15rem;
    display: grid;
    justify-items: center;
    gap: 1.15rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    padding: 0 0.95rem;
    background: rgba(29, 23, 19, 0.97);
    border: 1px solid rgba(226, 201, 130, 0.22);
    box-shadow: var(--shadow);
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.25s ease;
  }
  .site-nav.menu-open .nav-panel {
    max-height: 78svh;
    overflow-y: auto;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    padding-block: 1.1rem 1.25rem;
  }
  .nav-links,
  .nav-actions {
    width: 100%;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
  }
  .nav-links {
    gap: 0.45rem;
  }
  .nav-actions {
    gap: 0.75rem;
    margin-top: 0.35rem;
  }
  .nav-links li {
    width: 100%;
    max-width: 260px;
  }
  .nav-links a {
    width: 100%;
    min-height: 50px;
    justify-content: flex-start;
    text-align: left;
    padding-inline: 0.75rem;
    font-size: 0.92rem;
  }
  .lang-switch {
    width: min(100%, 320px);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-content: stretch;
    padding: 0.3rem;
  }
  .lang-switch a { flex: 1; min-height: 40px; }
  .nav-contact {
    width: min(100%, 260px);
    min-height: 48px;
    margin-top: 0.15rem;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 100svh;
    align-items: end;
    padding: 7.5rem 1.25rem 3.75rem;
    background-position: 62% center;
  }
  .hero h1 { font-size: 3.5rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-stats { grid-template-columns: 1fr; max-width: 360px; }
  .visual-caption {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 2rem;
  }
  .section { padding: 4.5rem 1.25rem; }
  .section-title { font-size: 3rem; }
  .about-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .about-panel { min-height: 380px; }
  .catalog-toolbar { align-items: flex-start; }
  .catalog-grid,
  .process-grid { grid-template-columns: 1fr; }
  .catalog-card { min-height: auto; }
  .testimonial { width: 300px; }
  footer {
    align-items: flex-start;
    padding: 2rem 1.25rem;
  }

  #footerContent {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
  }
  .footer-brand,
  #footerContent > p,
  .footer-contact,
  .footer-links {
    grid-column: 1;
    grid-row: auto;
  }
  .footer-contact {
    min-width: 0;
    margin: 0.35rem 0;
  }
  .cookie-consent__layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cookie-consent__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 2.65rem; }
  .section-title { font-size: 2.35rem; }
  .hero-actions,
  .catalog-footer,
  footer,
  .detail {
    align-items: stretch;
    flex-direction: column;
  }
  .btn,
  .nav-contact { width: 100%; }
  .catalog-specs li {
    display: grid;
    gap: 0.25rem;
  }
  .footer-links {
    flex-wrap: wrap;
  }
  .cookie-consent {
    max-height: calc(100svh - 1rem);
    overflow-y: auto;
    padding: 1.1rem;
    border-radius: 0.9rem;
  }
  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .cookie-consent__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent { animation: none; }
}

/* Homepage and collection foundation: retain the existing palette and cards. */
.nav-contact { white-space: nowrap; }

.hero-assurance {
  max-width: 630px;
  margin: 1rem 0 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.78rem;
  line-height: 1.7;
}

.featured-stones-action {
  margin-top: 2.5rem;
  text-align: center;
}

#contact { position: relative; }
.quote-anchor { position: absolute; top: 0; left: 0; }

.stones-intro { padding-top: 10rem; padding-bottom: 4rem; }
.stones-intro .section-head { margin-bottom: 0; }
.stones-collection { padding-top: 3rem; }
.stone-catalog-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px) auto;
  align-items: center;
  gap: 1rem 1.5rem;
  max-width: 1340px;
  margin: 0 auto 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.stone-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.stone-filter {
  min-height: 44px;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(32, 26, 22, 0.24);
  background: transparent;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 1;
  -webkit-text-fill-color: currentColor;
  cursor: pointer;
}

.stone-filter.is-active {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--gold-soft);
}
.stone-search input {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(32, 26, 22, 0.24);
  border-radius: 0;
  background: rgba(255, 250, 240, 0.62);
  color: var(--ink);
}
.stone-search input:focus,
.stone-filter:focus-visible,
.add-to-quote:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.stone-result-count {
  margin: 0;
  color: rgba(32, 26, 22, 0.62);
  font-size: 0.78rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.stones-grid .catalog-card {
  min-height: 0;
  grid-template-rows: auto auto auto 1fr auto;
}
.stones-grid .stone-type { margin: 0 0 1.5rem; }
.stones-grid .catalog-footer {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}
.stones-grid .quote-link { min-height: 44px; }
.add-to-quote {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(32, 26, 22, 0.65);
  opacity: 1;
  -webkit-text-fill-color: currentColor;
  cursor: pointer;
}
.add-to-quote.is-added,
[data-add-to-quote].is-added {
  color: var(--forest);
}
.catalog-loading,
.catalog-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 3rem 1.5rem;
  text-align: center;
  background: rgba(255, 250, 240, 0.78);
  color: rgba(32, 26, 22, 0.7);
}

/* Individual stone page */
.stone-hero { padding-top: 10rem; }
.stone-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1340px;
  margin: 0 auto;
}
.stone-main-visual {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #c7b79d;
  box-shadow: var(--shadow);
}
.stone-main-visual img,
.stone-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stone-summary .section-title { margin-bottom: 1.25rem; }
.stone-lead {
  margin: 0 0 2rem;
  color: rgba(32, 26, 22, 0.72);
  font-size: 1.05rem;
  line-height: 1.8;
}
.stone-facts { margin: 0 0 2rem; border-top: 1px solid var(--line); }
.stone-facts div {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.stone-facts dt {
  color: rgba(32, 26, 22, 0.52);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}
.stone-facts dd { margin: 0; }
.stone-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.stone-actions.centered { justify-content: center; margin-top: 1.5rem; }
.stone-back { border-color: rgba(32, 26, 22, 0.3); background: transparent; }
.stone-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1220px;
  margin: 0 auto;
  background: rgba(226, 201, 130, 0.2);
  border: 1px solid rgba(226, 201, 130, 0.18);
}
.stone-editorial-grid article { min-height: 280px; padding: 1.5rem; background: rgba(255, 255, 255, 0.055); }
.stone-editorial-grid p:not(.section-label) { color: rgba(255, 250, 240, 0.72); line-height: 1.8; }
.stone-section-title {
  margin: 0.5rem 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 400;
}
.stone-gallery-section .section-head { margin-inline: auto; text-align: center; }
.stone-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1220px;
  margin: 0 auto;
}
.stone-gallery figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #c7b79d; }
.stone-gallery figure:only-child { grid-column: 1 / -1; max-width: 820px; width: 100%; margin-inline: auto; }
.stone-request .section-head { margin-bottom: 0; }

@media (min-width: 601px) and (max-width: 1180px) {
  .stones-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .stone-catalog-tools { grid-template-columns: 1fr; align-items: stretch; }
  .stone-result-count { justify-self: start; }
  .stone-hero { padding-top: 8rem; }
  .stone-hero-layout,
  .stone-editorial-grid { grid-template-columns: 1fr; }
  .stone-editorial-grid article { min-height: 0; }
  .stone-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stones-grid { grid-template-columns: 1fr; }
  .stones-intro { padding-top: 8rem; padding-bottom: 3rem; }
  .stone-filter { padding-inline: 0.9rem; }
  .stone-actions { flex-direction: column; align-items: stretch; }
  .stone-actions .btn { width: 100%; }
  .stone-facts div { grid-template-columns: 1fr; gap: 0.25rem; }
}
