:root {
  --cream: #fff9ed;
  --cream-deep: #f4ead8;
  --gold: #f6b73c;
  --gold-light: #ffd878;
  --orange: #e86f2d;
  --brown: #6f4a2f;
  --ink: #31261d;
  --ink-soft: #65594f;
  --white: #fffdf9;
  --green: #2f7551;
  --red: #a14336;
  --blue: #476d91;
  --shadow: 0 18px 50px rgba(69, 45, 26, 0.11);
  --radius-sm: 0.75rem;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --shell: 72rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  color: var(--white);
  background: var(--ink);
  font-weight: 750;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100% - 2rem, var(--shell));
  margin-inline: auto;
}

.section {
  padding-block: 4.75rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--brown);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.65rem, 13vw, 5.5rem);
}

h1 span {
  color: var(--orange);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 8vw, 3.65rem);
}

h3 {
  font-size: 1.25rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading > p,
.split-heading > p {
  max-width: 38rem;
  margin: 0;
  color: var(--ink-soft);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(111, 74, 47, 0.12);
  background: rgba(255, 249, 237, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 4.6rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-title {
  width: 8.6rem;
  height: auto;
}

.menu-toggle {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-content: center;
  gap: 0.28rem;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span[aria-hidden="true"] {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:first-of-type {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:last-of-type {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  left: 0;
  display: none;
  padding: 0.75rem;
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.main-nav.is-open {
  display: grid;
}

.main-nav > a:not(.button) {
  padding: 0.78rem 0.7rem;
  border-radius: 0.6rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav > a:not(.button):hover {
  background: var(--cream);
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 820;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  background: var(--gold);
  box-shadow: 0 8px 0 #d98d22;
}

.button-primary:hover {
  background: var(--gold-light);
}

.button-secondary {
  border-color: rgba(49, 38, 29, 0.2);
  background: rgba(255, 253, 249, 0.7);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-whatsapp {
  color: var(--white);
  background: var(--green);
}

.button-small {
  min-height: 2.55rem;
  padding: 0.65rem 1rem;
  font-size: 0.87rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 5rem;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 1rem;
  right: -6rem;
  width: 15rem;
  height: 15rem;
  border: 2.5rem solid rgba(246, 183, 60, 0.15);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.hero-lead {
  max-width: 37rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 4.8vw, 1.24rem);
}

.hero-actions {
  display: flex;
  margin-top: 1.75rem;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-note {
  margin: 1.75rem 0 0;
  color: var(--brown);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-art {
  position: relative;
  width: min(100%, 28rem);
  aspect-ratio: 1;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 7rem 2rem 7rem 2rem;
  background: var(--gold);
  box-shadow: var(--shadow);
}

.hero-mascot {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.art-label {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.8rem;
  transform: rotate(-2deg);
  border-radius: 0.5rem;
  color: var(--white);
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.services {
  background: var(--white);
}

.service-list {
  display: grid;
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--cream-deep);
  list-style: none;
}

.service-list li {
  display: flex;
  min-height: 4rem;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--cream-deep);
  font-size: 1.04rem;
  font-weight: 760;
}

.service-list span {
  width: 2rem;
  color: var(--orange);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.catalog {
  background: var(--cream);
}

.catalog-heading {
  display: grid;
  gap: 0.75rem;
}

.demo-notice {
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  font-size: 0.9rem;
}

.product-grid {
  display: grid;
  gap: 1.25rem;
}

.product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(69, 45, 26, 0.08);
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-deep);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.025);
}

.demo-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.3rem 0.56rem;
  border-radius: 0.35rem;
  color: var(--white);
  background: rgba(49, 38, 29, 0.88);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.product-body {
  display: flex;
  padding: 1.15rem;
  flex: 1;
  flex-direction: column;
}

.product-meta {
  margin: 0 0 0.45rem;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 0.55rem;
}

.product-description {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-state-row {
  display: flex;
  margin-top: 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.price {
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.availability::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.availability-in_stock { color: var(--green); }
.availability-out_of_stock { color: var(--red); }
.availability-made_to_order { color: var(--blue); }

.card-variants {
  display: flex;
  min-height: 2rem;
  margin-top: 0.9rem;
  align-items: center;
  gap: 0.4rem;
}

.mini-swatch {
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(49, 38, 29, 0.25);
}

.size-summary {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-card .button {
  width: 100%;
  min-height: 2.8rem;
  margin-top: auto;
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
  border-color: rgba(49, 38, 29, 0.15);
  background: var(--cream);
  font-size: 0.87rem;
}

.loading-message,
.data-error {
  grid-column: 1 / -1;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  background: var(--white);
}

.data-error {
  border-left: 4px solid var(--red);
}

.works {
  background: var(--ink);
  color: var(--white);
}

.works .eyebrow {
  color: var(--gold-light);
}

.works .split-heading > p {
  color: rgba(255, 253, 249, 0.7);
}

.works-grid {
  display: grid;
  gap: 1.25rem;
}

.work-item {
  min-width: 0;
}

.work-gallery {
  display: grid;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: #4b3d33;
}

.work-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-gallery.multi {
  grid-template-columns: 2fr 1fr;
  gap: 0.2rem;
}

.work-gallery.multi img:first-child {
  grid-row: 1 / span 2;
}

.work-gallery.multi img:not(:first-child) {
  min-height: 0;
}

.work-copy {
  padding-top: 1rem;
}

.work-copy h3 {
  margin-bottom: 0.35rem;
}

.work-copy p {
  margin: 0;
  color: rgba(255, 253, 249, 0.68);
  font-size: 0.9rem;
}

.work-date {
  display: block;
  margin-top: 0.45rem;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 750;
}

.contact {
  background: var(--gold);
}

.contact-panel {
  display: grid;
  gap: 2.25rem;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.contact-details {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(49, 38, 29, 0.23);
}

.contact-location {
  margin: 0 0 1.1rem;
  font-size: 1.08rem;
  font-weight: 820;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
}

.social-links a {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3rem;
}

.maps-placeholder {
  max-width: 29rem;
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed rgba(49, 38, 29, 0.32);
  color: var(--brown);
  font-size: 0.78rem;
}

.site-footer {
  padding-block: 3rem;
  color: var(--white);
  background: #211a15;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand-name {
  display: inline-block;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}

.site-footer p {
  margin: 1rem 0 0;
  color: rgba(255, 253, 249, 0.62);
  font-size: 0.82rem;
}

.footer-nav,
.footer-social {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  font-size: 0.86rem;
}

.footer-nav a,
.footer-social a {
  width: fit-content;
  color: rgba(255, 253, 249, 0.78);
}

.footer-nav a:hover,
.footer-social a:hover {
  color: var(--gold-light);
}

.floating-whatsapp {
  position: fixed;
  z-index: 45;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  place-items: center;
  border: 3px solid var(--cream);
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 30px rgba(24, 55, 39, 0.28);
  font-weight: 900;
}

.product-dialog {
  width: 100%;
  max-width: none;
  height: min(92dvh, 52rem);
  max-height: none;
  margin: auto 0 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1.5rem 1.5rem 0 0;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 -20px 70px rgba(31, 23, 17, 0.26);
}

.product-dialog::backdrop {
  background: rgba(33, 26, 21, 0.64);
  backdrop-filter: blur(4px);
}

.dialog-shell {
  position: relative;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dialog-close {
  position: sticky;
  z-index: 10;
  top: 0.75rem;
  float: right;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  margin: 0.75rem 0.75rem -3.55rem 0;
  padding: 0 0 0.18rem;
  place-items: center;
  border: 1px solid rgba(49, 38, 29, 0.12);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 4px 18px rgba(49, 38, 29, 0.13);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-product {
  display: grid;
  min-height: 100%;
}

.product-gallery {
  min-width: 0;
  padding: 0.75rem;
  background: var(--cream-deep);
}

.gallery-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  background: var(--cream);
  touch-action: pan-y;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-counter {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: var(--white);
  background: rgba(49, 38, 29, 0.8);
  font-size: 0.7rem;
  font-weight: 750;
}

.gallery-thumbs {
  display: flex;
  margin-top: 0.65rem;
  padding: 0.15rem;
  overflow-x: auto;
  gap: 0.55rem;
  scrollbar-width: thin;
}

.gallery-thumb {
  width: 4rem;
  min-width: 4rem;
  height: 3.2rem;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 0.65rem;
  background: var(--white);
  cursor: pointer;
}

.gallery-thumb.is-active {
  border-color: var(--orange);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-info {
  padding: 1.5rem 1.25rem 2rem;
}

.dialog-info h2 {
  margin-bottom: 0.75rem;
  padding-right: 2.5rem;
  font-size: clamp(1.8rem, 8vw, 3rem);
}

.dialog-description {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.dialog-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dialog-price-row .price {
  font-size: 1.55rem;
}

.option-group {
  margin: 1.6rem 0 0;
  padding: 0;
  border: 0;
}

.option-group legend {
  width: 100%;
  margin-bottom: 0.7rem;
  font-size: 0.83rem;
  font-weight: 850;
}

.selected-option {
  color: var(--brown);
  font-weight: 650;
}

.swatch-list,
.size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.swatch-button {
  position: relative;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(49, 38, 29, 0.28);
  cursor: pointer;
}

.swatch-button[aria-pressed="true"] {
  box-shadow: 0 0 0 3px var(--ink);
}

.swatch-button[data-unavailable="true"]::after {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 2px;
  transform: rotate(-45deg);
  background: var(--ink);
  content: "";
}

.size-button {
  min-width: 4.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(49, 38, 29, 0.2);
  border-radius: 0.65rem;
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 760;
  cursor: pointer;
}

.size-button[aria-pressed="true"] {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.variant-note {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.dialog-specs {
  display: flex;
  margin: 1.5rem 0 0;
  padding: 1rem 0;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  border-top: 1px solid var(--cream-deep);
  border-bottom: 1px solid var(--cream-deep);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.dialog-specs strong {
  color: var(--ink);
}

.dialog-action {
  width: 100%;
  margin-top: 1.5rem;
  color: var(--white);
  background: var(--green);
}

.dialog-action[aria-disabled="true"] {
  background: #777069;
  pointer-events: none;
}

@media (min-width: 35rem) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: row;
  }

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

  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) 1fr 1fr;
  }
}

@media (min-width: 48rem) {
  .section {
    padding-block: 6.75rem;
  }

  .split-heading,
  .catalog-heading,
  .contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
    align-items: end;
    gap: 3rem;
  }

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

  .works-grid {
    gap: 2rem;
  }

  .contact-panel {
    align-items: center;
  }

  .contact-details {
    padding: 1rem 0 1rem 2.5rem;
    border-top: 0;
    border-left: 1px solid rgba(49, 38, 29, 0.23);
  }

  .product-dialog {
    width: min(92vw, 68rem);
    height: min(88dvh, 45rem);
    margin: auto;
    border-radius: var(--radius-lg);
  }

  .dialog-product {
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  }

  .product-gallery {
    display: grid;
    min-height: 100%;
    padding: 1.25rem;
    align-content: center;
  }

  .dialog-info {
    padding: 3rem 2.75rem;
    align-self: center;
  }
}

@media (min-width: 56rem) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    padding: 0;
    align-items: center;
    gap: 0.18rem;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .main-nav > a:not(.button) {
    padding-inline: 0.62rem;
    font-size: 0.83rem;
  }

  .main-nav .button {
    margin-left: 0.4rem;
  }

  .hero {
    padding-block: 6.5rem 7.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 0.9fr);
    gap: 4.5rem;
  }

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

@media (min-width: 70rem) {
  .shell {
    width: min(100% - 4rem, var(--shell));
  }

  .main-nav > a:not(.button) {
    padding-inline: 0.8rem;
    font-size: 0.88rem;
  }

  .product-grid {
    gap: 1.55rem;
  }

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

  .work-item:nth-child(1) {
    grid-column: span 2;
  }

  .work-item:nth-child(1) .work-gallery {
    aspect-ratio: 2 / 1;
  }
}

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

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