:root {
  color-scheme: light;
  --bg: #fbf7f2;
  --surface: #fffdf9;
  --surface-soft: #f7efe6;
  --ink: #171513;
  --muted: #746b62;
  --line: #e6d9cb;
  --nude: #d9ad82;
  --nude-deep: #a86f46;
  --wine: #9b2947;
  --sage: #63715d;
  --shadow: 0 18px 60px rgba(58, 42, 30, 0.09);
  --radius: 8px;
  --header-height: 172px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.92) 0%, rgba(251, 247, 242, 0.96) 42%, #fbf7f2 100%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  padding-top: env(safe-area-inset-top);
  background: rgba(255, 253, 249, 0.88);
  border-bottom: 1px solid rgba(230, 217, 203, 0.8);
  box-shadow: 0 8px 28px rgba(66, 45, 29, 0.05);
  backdrop-filter: blur(18px) saturate(1.18);
}

.header-shell {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: 14px 18px 12px;
}

.brand-mark {
  display: grid;
  gap: 3px;
}

.brand-row {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-home {
  color: inherit;
  text-decoration: none;
}

.brand-name {
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.98;
}

.brand-note {
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(0.84rem, 3.4vw, 0.98rem);
  font-weight: 560;
  line-height: 1.38;
}

.mobile-menu {
  position: relative;
  display: none;
}

.mobile-menu-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(218, 199, 181, 0.92);
  border-radius: 50%;
  background: rgba(247, 239, 230, 0.78);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

.mobile-menu-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.mobile-menu-button path {
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 160ms ease, transform 180ms ease;
}

.mobile-menu-button[aria-expanded="true"] path:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.mobile-menu-button[aria-expanded="true"] path:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button[aria-expanded="true"] path:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu-button:focus-visible {
  outline: 3px solid rgba(168, 111, 70, 0.24);
  outline-offset: 2px;
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: max-content;
  min-width: 174px;
  padding: 6px;
  border: 1px solid rgba(218, 199, 181, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.98);
  box-shadow: 0 18px 52px rgba(58, 42, 30, 0.18);
}

.mobile-menu-panel[hidden] {
  display: none;
}

.mobile-menu-panel a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
}

.mobile-menu-panel a:is(:hover, :focus-visible) {
  background: var(--surface-soft);
  outline: 0;
}

.section-navigation {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 4px;
  border: 1px solid rgba(218, 199, 181, 0.82);
  border-radius: var(--radius);
  background: rgba(247, 239, 230, 0.72);
}

.section-tabs {
  display: flex;
  flex: 1 1 auto;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.section-tabs::-webkit-scrollbar {
  display: none;
}

.tab-button {
  display: inline-flex;
  flex: 1 0 auto;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(23, 21, 19, 0.54);
  cursor: pointer;
  font: inherit;
  font-size: 0.89rem;
  font-weight: 760;
  letter-spacing: 0;
  padding: 0 12px;
  text-decoration: none;
  transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.tab-button:is(:hover, :focus-visible) {
  color: var(--ink);
  outline: 0;
}

.tab-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(168, 111, 70, 0.22);
}

.tab-button.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(70, 46, 31, 0.08);
}

.about-nav-link {
  flex: 0 0 auto;
  background: rgba(155, 41, 71, 0.07);
  color: var(--wine);
}

.about-nav-link:is(:hover, :focus-visible) {
  background: rgba(155, 41, 71, 0.07);
  color: var(--wine);
}

.page-content {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: clamp(34px, 8vw, 58px) 18px 54px;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.service-panel {
  animation: panel-in 260ms ease both;
}

.service-panel[hidden] {
  display: none;
}

.service-copy {
  display: grid;
  gap: 18px;
}

.service-kicker {
  width: fit-content;
  margin: 0;
  padding: 5px 9px;
  border: 1px solid rgba(99, 113, 93, 0.26);
  border-radius: 999px;
  color: var(--sage);
  font-size: 0.77rem;
  font-weight: 780;
  line-height: 1;
}

h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 13vw, 5.8rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.94;
}

#panel-audioperceptiva h1 {
  max-width: 12ch;
  font-size: clamp(2.55rem, 11vw, 4.9rem);
}

.service-copy > p:not(.service-kicker) {
  max-width: 43rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 4.4vw, 1.32rem);
  font-weight: 480;
  line-height: 1.62;
}

.whatsapp-button {
  display: inline-flex;
  width: fit-content;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--nude) 0%, var(--nude-deep) 100%);
  box-shadow: 0 16px 34px rgba(168, 111, 70, 0.18);
  color: #fff;
  font-size: clamp(1rem, 4.2vw, 1.08rem);
  font-weight: 820;
  line-height: 1;
  padding: 0 22px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.whatsapp-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: 0 0 auto;
}

.whatsapp-button:is(:hover, :focus-visible) {
  filter: saturate(1.04);
  outline: 0;
  transform: translateY(-1px);
  box-shadow: 0 19px 40px rgba(168, 111, 70, 0.23);
}

.whatsapp-button:focus-visible {
  box-shadow: 0 0 0 4px rgba(168, 111, 70, 0.22), 0 19px 40px rgba(168, 111, 70, 0.2);
}

.whatsapp-button--fx {
  background: linear-gradient(135deg, #c92d55 0%, var(--wine) 100%);
  box-shadow: 0 16px 34px rgba(155, 41, 71, 0.18);
}

.gallery-stack {
  display: grid;
  align-items: start;
  gap: 18px;
  margin-top: clamp(34px, 8vw, 54px);
}

.gallery-item {
  position: relative;
  display: grid;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  place-items: end start;
  border: 1px solid rgba(220, 203, 187, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(135deg, #eee1d4 0%, #d5b495 45%, #9fa98f 100%);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  align-self: start;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(23, 21, 19, 0.42) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 64px);
  opacity: 0.54;
}

.gallery-item::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.7) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(255, 255, 255, 0.7) 48% 52%, transparent 52%);
  opacity: 0.52;
}

.gallery-item span {
  position: relative;
  z-index: 1;
  margin: 0 0 18px 18px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 760;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.gallery-item.has-image {
  min-height: 0;
  padding: 0;
  aspect-ratio: auto;
  background: var(--surface);
  cursor: zoom-in;
  place-items: stretch;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gallery-item.has-image::before,
.gallery-item.has-image::after,
.gallery-item.has-video::before,
.gallery-item.has-video::after,
.gallery-item.has-embed::before,
.gallery-item.has-embed::after {
  display: none;
}

.gallery-item.has-image img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: auto;
  object-fit: contain;
}

.gallery-item.has-image:is(:hover, :focus-visible) {
  border-color: rgba(168, 111, 70, 0.48);
  outline: 0;
  box-shadow: 0 22px 58px rgba(58, 42, 30, 0.14);
  transform: translateY(-2px);
}

.gallery-item.has-image:focus-visible {
  box-shadow: 0 0 0 4px rgba(168, 111, 70, 0.2), 0 22px 58px rgba(58, 42, 30, 0.14);
}

.gallery-item.has-video,
.gallery-item.has-embed {
  display: block;
  min-height: 0;
  padding: 0;
  background: #171513;
  place-items: stretch;
}

.gallery-item.has-video {
  aspect-ratio: auto;
}

.gallery-item.has-video video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  background: #171513;
  object-fit: contain;
}

.gallery-item.has-embed {
  aspect-ratio: 16 / 9;
}

.gallery-item.has-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.image-viewer {
  width: min(94vw, 1100px);
  max-width: none;
  max-height: 92vh;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: var(--radius);
  background: #171513;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.image-viewer::backdrop {
  background: rgba(23, 21, 19, 0.82);
  backdrop-filter: blur(8px);
}

.image-viewer img {
  display: block;
  width: 100%;
  max-height: 88vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.image-viewer-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(23, 21, 19, 0.68);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1.65rem;
  line-height: 1;
  place-items: center;
}

.image-viewer-close:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.78);
  outline-offset: 2px;
}

#panel-canto .gallery-item {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(135deg, #ead7ce 0%, #c68d83 48%, #6f6470 100%);
}

.gallery-stack--fx .gallery-item {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(135deg, #efe4d6 0%, #b85d6f 48%, #342b30 100%);
}

#panel-audioperceptiva .gallery-item {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(135deg, #ebe3d3 0%, #a4a77e 44%, #5a6d78 100%);
}

.about-body {
  background:
    linear-gradient(180deg, #fffdf9 0%, #f7efe6 58%, #fbf7f2 100%),
    var(--bg);
}

.about-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(230, 217, 203, 0.82);
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(18px) saturate(1.18);
}

.about-header-shell {
  display: flex;
  width: min(100%, 1080px);
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 10px 24px;
}

.about-brand {
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.back-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.back-link span {
  color: var(--wine);
  font-size: 1.35rem;
  transition: transform 180ms ease;
}

.back-link:is(:hover, :focus-visible) {
  color: var(--ink);
  outline: 0;
}

.back-link:is(:hover, :focus-visible) span {
  transform: translateX(-3px);
}

.about-page {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 76px) 24px 64px;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 0.74fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
}

.about-intro-copy {
  display: grid;
  gap: 24px;
}

.about-intro h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 8vw, 6.9rem);
  line-height: 0.9;
}

.about-lead {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.1vw, 1.34rem);
  line-height: 1.68;
}

.about-photo {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(220, 203, 187, 0.74);
  border-radius: var(--radius);
  background: #eadbcd;
  box-shadow: var(--shadow);
}

.about-photo--primary {
  aspect-ratio: 4 / 5;
}

.about-photo--secondary {
  aspect-ratio: 16 / 10;
  margin-top: 36px;
}

.about-photo img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 220ms ease;
}

.about-photo img.is-loaded {
  opacity: 1;
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.42), transparent 44%),
    linear-gradient(135deg, #ecded0 0%, #ce9f83 52%, #7d7770 100%);
  color: rgba(255, 255, 255, 0.9);
  place-items: center;
}

.about-photo--secondary .photo-placeholder {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.34), transparent 44%),
    linear-gradient(135deg, #ecdfd2 0%, #a9a281 48%, #596d68 100%);
}

.photo-placeholder span {
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(200px, 0.62fr) minmax(0, 1fr);
  gap: clamp(36px, 8vw, 96px);
  margin-top: clamp(72px, 12vw, 150px);
  padding-top: clamp(34px, 5vw, 58px);
  border-top: 1px solid var(--line);
}

.about-story-heading {
  align-self: start;
}

.story-number {
  margin: 0 0 18px;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 820;
}

.about-story h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.02;
}

.about-story-content {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  line-height: 1.75;
}

.about-story-content > p {
  margin: 0 0 22px;
}

.about-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(72px, 11vw, 130px);
  padding: clamp(28px, 5vw, 48px) 0 0;
  border-top: 1px solid var(--line);
}

.about-closing p {
  max-width: 21ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  font-weight: 760;
  line-height: 1.12;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 720px) {
  .header-shell {
    padding: 18px 28px 14px;
  }

  .brand-mark {
    grid-template-columns: auto 1fr;
    align-items: end;
    column-gap: 20px;
  }

  .brand-row {
    display: block;
  }

  .brand-note {
    padding-bottom: 4px;
  }

  .page-content {
    padding-right: 28px;
    padding-left: 28px;
  }

  .service-copy {
    gap: 20px;
  }

  .gallery-stack {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .gallery-item {
    min-height: auto;
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 719px) {
  .mobile-menu {
    display: block;
  }

  .about-nav-link {
    display: none;
  }
}

@media (max-width: 520px) {
  .header-shell {
    padding: 12px 16px 10px;
  }

  .section-navigation {
    gap: 4px;
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .section-tabs {
    gap: 4px;
  }

  .tab-button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 11px;
  }

  .page-content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .whatsapp-button {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .gallery-item {
    min-height: 332px;
  }

  .gallery-item.has-image {
    min-height: 0;
  }

  .gallery-item.has-video,
  .gallery-item.has-embed {
    min-height: 0;
  }
}

@media (max-width: 370px) {
  .brand-name {
    font-size: 1.78rem;
  }

  .brand-note {
    font-size: 0.8rem;
  }

  .tab-button {
    font-size: 0.82rem;
  }

  h1 {
    font-size: 2.58rem;
  }

  #panel-audioperceptiva h1 {
    font-size: 2.18rem;
  }
}

@media (max-width: 760px) {
  .about-header-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  .about-page {
    padding: 34px 18px 48px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-intro h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .about-photo--primary {
    width: min(100%, 520px);
  }

  .about-photo--secondary {
    min-height: 0;
  }

  .about-story {
    grid-template-columns: 1fr;
  }

  .about-story h2 {
    max-width: 13ch;
  }

  .about-closing {
    align-items: stretch;
    flex-direction: column;
  }

  .about-closing p {
    max-width: 19ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
