@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&display=swap");

:root {
  --ivory: #fffaf5;
  --pearl: #f7f1ea;
  --linen: #fbf8f3;
  --blush: #ead3cc;
  --rose: #c8978c;
  --champagne: #c7a878;
  --taupe: #9a765c;
  --taupe-dark: #7c604d;
  --sage: #78906f;
  --ink: #211b1b;
  --muted: #6d6761;
  --line: rgba(154, 118, 92, 0.22);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.54) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.48) 0 1px, transparent 1px 100%),
    linear-gradient(135deg, var(--ivory) 0%, var(--white) 46%, var(--pearl) 100%);
  background-size: 4rem 4rem, 4rem 4rem, auto;
}

body.is-lightbox-open,
body.is-menu-open {
  overflow: hidden;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(199, 168, 120, 0.16);
  content: "";
  pointer-events: none;
  transform: rotate(42deg);
}

body::before {
  top: -16rem;
  right: -9rem;
}

body::after {
  bottom: -18rem;
  left: -13rem;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid rgba(154, 118, 92, 0.14);
  padding: 0.78rem 4rem;
  background: rgba(255, 250, 245, 0.93);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 10.6rem;
}

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

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.42rem;
  left: 0;
  height: 1px;
  background: var(--champagne);
  content: "";
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-whatsapp {
  border: 1px solid rgba(120, 144, 111, 0.3);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: var(--sage) !important;
  background: rgba(120, 144, 111, 0.08);
}

.nav-whatsapp::after {
  display: none;
}

.nav-whatsapp svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.05rem;
  height: 1px;
  margin: 0.18rem auto;
  background: var(--ink);
}

.hero-home {
  position: relative;
  display: grid;
  min-height: 42rem;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--blush);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(62, 49, 43, 0.58) 0%, rgba(94, 77, 69, 0.28) 54%, rgba(255, 250, 245, 0.18) 100%),
    linear-gradient(0deg, rgba(62, 49, 43, 0.46), rgba(62, 49, 43, 0.05) 48%, rgba(62, 49, 43, 0.28));
  content: "";
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position, center top);
  transform: scale(var(--hero-scale, 1));
  transform-origin: var(--hero-position, center top);
}

.hero-content {
  width: min(100%, 45rem);
  padding: 6rem 4rem 5rem;
  color: var(--ivory);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--rose);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: #f2d6ce;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 0.96;
}

h1 {
  font-size: 6rem;
}

h2 {
  font-size: 3.65rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.55;
}

.hero-content p {
  max-width: 40rem;
  margin-top: 1rem;
  color: rgba(255, 250, 245, 0.92);
  font-size: 1.45rem;
}

.hero-actions,
.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.84rem 1.28rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.button-primary {
  color: #fff;
  background: var(--taupe);
  box-shadow: 0 14px 30px rgba(124, 96, 77, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--taupe-dark);
  box-shadow: 0 18px 38px rgba(124, 96, 77, 0.28);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--taupe-dark);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(154, 118, 92, 0.38);
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-2px);
}

.button-ghost {
  color: var(--ivory);
  border-color: rgba(255, 250, 245, 0.64);
  background: rgba(255, 250, 245, 0.08);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 250, 245, 0.18);
  transform: translateY(-2px);
}

.section {
  width: min(100%, 74rem);
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-heading {
  display: grid;
  max-width: 54rem;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

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

.intro-section {
  padding-top: 6rem;
}

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

.category-panel {
  position: relative;
  display: flex;
  min-height: 30rem;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  color: #fff;
  text-decoration: none;
  background: var(--blush);
}

.category-panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(47, 39, 38, 0.5), rgba(47, 39, 38, 0.04) 62%);
  content: "";
}

.category-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.category-panel:hover img,
.category-panel:focus-visible img {
  filter: saturate(0.95) brightness(1.02);
  transform: scale(1.04);
}

.category-panel span,
.category-panel strong {
  position: relative;
  z-index: 1;
}

.category-panel span {
  margin: 0 1.5rem 4.2rem;
  font-size: 3.5rem;
  line-height: 1;
}

.category-panel strong {
  position: absolute;
  right: 1.5rem;
  bottom: 1.45rem;
  left: 1.5rem;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.4;
}

.category-panel-tailoring::after {
  background: linear-gradient(0deg, rgba(64, 55, 50, 0.48), rgba(64, 55, 50, 0.02) 62%);
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  margin-top: 1.3rem;
  color: var(--taupe);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--ink);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.preview-item {
  overflow: hidden;
  border: 1px solid rgba(154, 118, 92, 0.18);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.preview-item:hover {
  box-shadow: 0 18px 44px rgba(124, 96, 77, 0.1);
  transform: translateY(-4px);
}

.preview-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.preview-item div {
  padding: 1.15rem;
}

.preview-item h3 {
  font-size: 1.65rem;
}

.preview-item p {
  margin-top: 0.55rem;
  font-size: 1.08rem;
}

.collection-preview-muted {
  background: rgba(234, 211, 204, 0.1);
}

.process-section {
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.process-step {
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  padding: 1rem;
}

.process-step span {
  color: rgba(154, 118, 92, 0.24);
  font-size: 3rem;
  line-height: 1;
}

.process-step h3 {
  font-size: 1.35rem;
}

.process-step p {
  font-size: 1.08rem;
}

.process-button {
  margin-top: 2.8rem;
}

.cta-section {
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: 52rem;
  margin-bottom: 3rem;
  text-align: center;
}

.cta-section h2 {
  max-width: 12ch;
  font-size: 4rem;
  font-style: italic;
}

.cta-section p {
  max-width: 42rem;
}

.page-hero {
  width: min(100%, 74rem);
  margin: 0 auto;
  padding: 6rem 2rem 3.5rem;
}

.page-hero h1 {
  max-width: 12ch;
  color: var(--ink);
}

.page-hero p:not(.eyebrow) {
  max-width: 42rem;
  margin-top: 1.1rem;
  font-size: 1.3rem;
}

.collection-hero {
  display: grid;
  justify-items: center;
  text-align: center;
}

.collection-hero p:not(.eyebrow) {
  max-width: 45rem;
}

.service-section {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

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

.service-card {
  display: grid;
  min-height: 12.2rem;
  align-content: start;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.54);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(124, 96, 77, 0.08);
  transform: translateY(-3px);
}

.service-card h2 {
  font-size: 1.7rem;
}

.service-card p {
  font-size: 1.1rem;
}

.consult-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  color: var(--taupe-dark);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.consult-link svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.gallery-section {
  padding-top: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(154, 118, 92, 0.2);
  border-radius: 0.5rem;
  padding: 0;
  color: var(--ivory);
  background: var(--blush);
  cursor: pointer;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(47, 39, 38, 0.48), rgba(47, 39, 38, 0) 50%);
  content: "";
  transition: opacity 220ms ease;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.gallery-item span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  font-size: 1.75rem;
  line-height: 1;
  text-align: left;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: brightness(1.02) saturate(0.96);
  transform: scale(1.045);
}


.catalog-card {
  display: block;
  text-decoration: none;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.pagination a {
  display: grid;
  min-width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--taupe-dark);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.pagination a:hover,
.pagination a:focus-visible,
.pagination a.is-active {
  border-color: rgba(154, 118, 92, 0.42);
  color: #fff;
  background: var(--taupe);
  transform: translateY(-2px);
}

.detail-hero {
  text-align: center;
}

.detail-hero h1 {
  max-width: 16ch;
  margin-right: auto;
  margin-left: auto;
}

.detail-hero p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.detail-section {
  padding-top: 1.5rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.72fr);
  gap: 2rem;
  align-items: start;
}

.catalog-carousel {
  position: relative;
  display: grid;
  gap: 1rem;
}

.carousel-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--pearl);
}

.carousel-slide {
  display: none;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.carousel-slide.is-active {
  display: block;
  animation: carouselFade 240ms ease both;
}

.carousel-slide img {
  width: 100%;
  max-height: 44rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.carousel-control {
  position: absolute;
  top: min(50%, 22rem);
  z-index: 2;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  color: #fff;
  font-size: 2.3rem;
  line-height: 1;
  background: rgba(33, 27, 27, 0.34);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: rgba(33, 27, 27, 0.54);
  transform: translateY(-50%) scale(1.04);
}

.carousel-control-prev {
  left: 1rem;
}

.carousel-control-next {
  right: 1rem;
}

.carousel-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(4.4rem, 1fr));
  gap: 0.65rem;
}

.carousel-thumb {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0;
  background: var(--pearl);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.carousel-thumb.is-active,
.carousel-thumb:hover,
.carousel-thumb:focus-visible {
  border-color: rgba(154, 118, 92, 0.52);
  opacity: 1;
  transform: translateY(-2px);
}

.carousel-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.detail-panel {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.68);
}

.detail-panel h2 {
  font-size: 2.5rem;
}

@keyframes carouselFade {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.about-detail {
  align-items: center;
}

.about-copy {
  display: grid;
  gap: 1.4rem;
}

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

.about-collage img {
  width: 100%;
  min-height: 24rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.about-collage img:nth-child(2) {
  margin-top: 3rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.7fr);
  gap: 1rem;
  align-items: stretch;
  padding-top: 2rem;
}

.contact-card,
.contact-note {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.72);
}

.contact-card {
  display: grid;
  gap: 1rem;
}

.contact-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-note p {
  margin-top: 0.8rem;
}

.error-page {
  display: grid;
  min-height: calc(100vh - 15rem);
  width: min(100%, 50rem);
  margin: 0 auto;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 5rem 2rem;
  text-align: center;
}

.error-page h1 {
  font-size: 5rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding: 2.5rem 4rem;
  background: rgba(255, 250, 245, 0.82);
}

.site-footer img {
  width: 11rem;
}

.site-footer p {
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 30;
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #fff;
  background: var(--sage);
  box-shadow: 0 16px 42px rgba(120, 144, 111, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #687f61;
  box-shadow: 0 18px 48px rgba(120, 144, 111, 0.32);
  transform: translateY(-2px);
}

.whatsapp-float svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: currentColor;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(33, 27, 27, 0.74);
  cursor: pointer;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: min(100%, 62rem);
  max-height: calc(100vh - 3rem);
  margin: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--ivory);
  animation: lightboxIn 180ms ease both;
}

.lightbox-dialog img {
  max-height: calc(100vh - 7rem);
  width: auto;
  justify-self: center;
  object-fit: contain;
}

.lightbox-dialog figcaption {
  padding: 0.85rem 1rem;
  color: var(--muted);
  font-size: 1.1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  background: rgba(47, 39, 38, 0.58);
  cursor: pointer;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

.gallery-item.reveal-on-scroll,
.preview-item.reveal-on-scroll,
.service-card.reveal-on-scroll,
.process-step.reveal-on-scroll {
  transition: opacity 680ms ease, transform 680ms ease, box-shadow 220ms ease, background 220ms ease;
}

@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .site-header {
    padding: 0.8rem 2rem;
  }

  h1 {
    font-size: 4.7rem;
  }

  h2 {
    font-size: 3.1rem;
  }

  .hero-content {
    padding: 5rem 2rem 4rem;
  }

  .split-section,
  .detail-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 4.4rem;
    padding: 0.65rem 1rem;
  }

  .brand img {
    width: 8.4rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 4.4rem;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 4.4rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: auto;
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    background: rgba(255, 250, 245, 0.98);
  }

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

  .site-nav a {
    min-height: 3.2rem;
    justify-content: center;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-home {
    min-height: 37rem;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(62, 49, 43, 0.62), rgba(62, 49, 43, 0.2));
  }

  .hero-content {
    padding: 4.5rem 1.1rem 3rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 20rem;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  h3 {
    font-size: 1.45rem;
  }

  p {
    font-size: 1.12rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .section,
  .page-hero {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .section {
    padding-top: 3.4rem;
    padding-bottom: 3.4rem;
  }

  .category-grid,
  .gallery-grid,
  .preview-grid,
  .about-collage,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .category-panel {
    min-height: 24rem;
  }

  .service-card {
    padding: 1.45rem;
  }

  .about-collage img,
  .about-collage img:nth-child(2) {
    min-height: 18rem;
    margin-top: 0;
  }

  .detail-panel {
    padding: 1.45rem;
  }

  .carousel-slide img {
    max-height: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem 1rem 5.5rem;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 3rem;
  }

  h2,
  .cta-section h2 {
    font-size: 2.2rem;
  }

  .hero-actions,
  .actions-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .category-panel span {
    font-size: 3rem;
  }

  .error-page h1 {
    font-size: 3rem;
  }
}
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: grid;
  width: 2rem;
  height: 2.5rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1;
  background: transparent;
  cursor: pointer;
}

.nav-dropdown-toggle span {
  display: block;
  transition: transform 160ms ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle span {
  transform: rotate(180deg);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  color: var(--taupe-dark);
  background: rgba(234, 211, 204, 0.28);
}

.nav-dropdown-toggle:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 2px;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: -0.7rem;
  z-index: 25;
  display: grid;
  min-width: 13.5rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.45rem;
  visibility: hidden;
  opacity: 0;
  background: rgba(255, 250, 245, 0.99);
  box-shadow: 0 16px 36px rgba(68, 54, 48, 0.12);
  pointer-events: none;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.is-open .nav-submenu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.site-nav .nav-submenu a {
  min-height: 2.55rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.94rem;
  text-transform: none;
}

.site-nav .nav-submenu a:hover,
.site-nav .nav-submenu a:focus-visible {
  color: var(--taupe-dark);
  background: rgba(234, 211, 204, 0.32);
}

.site-nav .nav-submenu a::after {
  display: none;
}

@media (max-width: 780px) {
  .site-nav .nav-dropdown {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .site-nav .nav-dropdown > a {
    justify-content: flex-start;
  }

  .nav-dropdown-toggle {
    width: 3.2rem;
    min-height: 3.2rem;
  }

  .nav-submenu {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0;
    box-shadow: none;
  }

  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .nav-dropdown.is-open .nav-submenu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav .nav-submenu a {
    justify-content: flex-start;
    padding-left: 1rem;
  }
}

.detail-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0.2rem 0 0;
}

.detail-price-label {
  color: var(--muted);
}

.detail-price-previous {
  color: #a64e55;
  font-size: 1.05rem;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.detail-price-current {
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 700;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.catalog-results {
  position: relative;
  isolation: isolate;
}

.catalog-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(255, 250, 245, 0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.catalog-loading-content {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  color: var(--taupe-dark);
}

.catalog-loading-ring {
  width: 3rem;
  aspect-ratio: 1;
  border: 2px solid rgba(154, 118, 92, 0.24);
  border-top-color: var(--taupe-dark);
  border-radius: 50%;
  box-shadow: 0 0 0 0.55rem rgba(255, 250, 245, 0.74);
  animation: catalog-loading-spin 800ms linear infinite;
}

.catalog-loading-label {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}

.gallery-section[aria-busy="true"] .catalog-loading {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 220ms ease;
}

.gallery-section .gallery-grid,
.gallery-section [data-catalog-pagination-container] {
  transition: opacity 520ms ease, filter 420ms ease, transform 520ms ease;
}

.gallery-section[aria-busy="true"] .gallery-grid,
.gallery-section[aria-busy="true"] [data-catalog-pagination-container] {
  filter: blur(1px);
  opacity: 0;
  transform: translateY(0.6rem);
}

@keyframes catalog-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-loading,
  .gallery-section .gallery-grid,
  .gallery-section [data-catalog-pagination-container] {
    transition: none;
  }

  .catalog-loading-ring {
    animation-duration: 1.8s;
  }
}
.catalog-card-price {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 0.38rem;
  max-width: calc(100% - 1.6rem);
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(154, 118, 92, 0.18);
  border-radius: 0.3rem;
  color: var(--ink);
  background: rgba(255, 250, 245, 0.92);
  box-shadow: 0 0.35rem 1rem rgba(47, 39, 38, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.35rem);
  transition: opacity 220ms ease, transform 220ms ease;
}

.catalog-card-price del {
  color: #a64e55;
  font-size: 0.9rem;
  text-decoration-thickness: 1px;
}

.catalog-card-price strong {
  color: var(--taupe-dark);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.catalog-card-with-price:hover .catalog-card-price,
.catalog-card-with-price:focus-visible .catalog-card-price {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .catalog-card-price {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-card-price {
    transition: none;
  }
}