:root {
  --bg: #070605;
  --bg-soft: #0e0c0a;
  --card: rgba(18, 15, 12, 0.44);
  --card-strong: rgba(23, 18, 14, 0.58);
  --row: rgba(17, 14, 11, 0.34);
  --row-hover: rgba(27, 22, 17, 0.48);
  --line: rgba(224, 205, 177, 0.12);
  --copy: #e7d8c1;
  --text: var(--copy);
  --muted: rgba(231, 216, 193, 0.72);
  --muted-strong: rgba(231, 216, 193, 0.88);
  --muted-soft: rgba(231, 216, 193, 0.66);
  --icon: #dfc39c;
  --shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
  --radius-xl: 1.8rem;
  --radius-lg: 1.15rem;
  --radius-md: 0.95rem;
  --font-primary: "Roboto", sans-serif;
  --font-secondary: "Roboto", sans-serif;
  --app-max-width: 34rem;
  --page-padding-x: 1rem;
  --hero-height: 15.5rem;
  --menu-height: 3.7rem;
  --menu-radius: 0.72rem;
  --menu-list-gap: 0.72rem;
  --menu-size: 1.04rem;
  --menu-weight: 500;
  --menu-icon-size: 2.06rem;
  --title-size: 1.18rem;
  --subtitle-size: 0.98rem;
  --section-title-size: 1.32rem;
  --body-size: 0.96rem;
  --body-weight: 400;
  --sheet-bg: rgba(10, 8, 6, 0.92);
  --sheet-max-width: 34rem;
  --sheet-radius: 1.8rem;
  --content-gap: 0.8rem;
  --chevron-display: block;
  --sheet-enter-y: 1.5rem;
  --sheet-enter-scale: 0.985;
  --sheet-motion-duration: 300ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-secondary), sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body.sheet-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("./img/patternlegn.webp") center top / 42rem auto repeat;
  opacity: 0.42;
  filter: brightness(1.02) contrast(1.18) saturate(0.62);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(255, 222, 170, 0.05), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.42));
  z-index: -1;
}

a,
button {
  font: inherit;
}

img,
svg,
.hero-block,
.menu-row,
.topbar-name,
.hero-subtitle,
.hero-meta {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.page-shell {
  width: min(100%, var(--app-max-width));
  margin: 0 auto;
  padding: max(1rem, env(safe-area-inset-top)) var(--page-padding-x) max(1.4rem, env(safe-area-inset-bottom));
  position: relative;
  overflow-x: clip;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 0.9rem;
  padding: 0.1rem 0 0;
}

.topbar-copy {
  min-width: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.topbar-mark {
  display: none;
}

.topbar-name {
  display: block;
  font-family: var(--font-primary), sans-serif;
  font-size: var(--title-size);
  line-height: 1.1;
  letter-spacing: clamp(0.05em, 0.42vw, 0.12em);
  color: var(--muted-strong);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
  text-shadow: none;
  transform: none;
  transform-origin: center;
  opacity: 0.96;
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
}

.top-controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  margin-bottom: 0.65rem;
  z-index: 8;
}

.host-avatar-button {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  min-height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  padding: 0.18rem 0.74rem 0.18rem 0.18rem;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  flex: 0 0 auto;
  z-index: 10;
}

.host-avatar-media {
  width: 1.98rem;
  height: 1.98rem;
  border-radius: 999px;
  overflow: hidden;
  display: block;
  flex: 0 0 1.98rem;
}

.host-avatar-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(1) contrast(1.03);
}

.host-avatar-label {
  font-size: 0.86rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-strong);
  white-space: nowrap;
}

.locale-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  gap: 0.42rem;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
  z-index: 8;
  pointer-events: none;
}

.locale-chip {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  transform: translateZ(0);
}

.locale-chip img {
  width: 1.82rem;
  height: 1.26rem;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 0;
  box-shadow: none;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.locale-chip.is-active {
  background: transparent;
}

.locale-chip.is-active img {
  filter: saturate(1.14) brightness(1.08);
}

.locale-chip:hover img,
.locale-chip:focus-visible img {
  transform: translateY(-1px) scale(1.06);
  filter: saturate(1.12) brightness(1.08);
}

.locale-chip:active img {
  animation: flag-tap 360ms cubic-bezier(0.2, 1.4, 0.34, 1);
}

@keyframes flag-tap {
  0% {
    transform: scale(1);
  }

  38% {
    transform: scale(0.82) rotate(-4deg);
  }

  72% {
    transform: scale(1.14) rotate(3deg);
  }

  100% {
    transform: scale(1);
  }
}

.hero-block {
  position: relative;
  overflow: hidden;
  min-height: var(--hero-height);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: url("./img/sfondo9.jpeg") center center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.hero-caption {
  margin-top: 0.95rem;
  padding: 0 0.25rem;
}

.hero-subtitle {
  margin: 0;
  color: var(--copy);
  font-size: var(--subtitle-size);
  line-height: 1.2;
  letter-spacing: clamp(0.08em, 0.45vw, 0.14em);
  text-transform: uppercase;
  text-align: center;
  font-family: var(--font-primary), sans-serif;
  font-weight: 400;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-meta {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 240, 220, 0.12);
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
  white-space: normal;
}

.hero-meta:empty {
  display: none;
}

.hero-meta span {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: pretty;
}

.main-menu {
  display: grid;
  gap: var(--menu-list-gap);
  margin-top: 1.05rem;
  perspective: 900px;
}

.app-footer {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  padding: 0 0.25rem 0.35rem;
  text-align: center;
}

.app-footer-rule {
  width: min(100%, 9rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 216, 193, 0.3), transparent);
  margin-bottom: 0.2rem;
}

.app-footer-name,
.app-footer-subtitle,
.app-footer-meta {
  margin: 0;
}

.app-footer-name {
  color: var(--muted-strong);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-primary), sans-serif;
}

.app-footer-subtitle {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-primary), sans-serif;
}

.app-footer-meta {
  display: grid;
  gap: 0.12rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.menu-row {
  position: relative;
  display: grid;
  grid-template-columns: 2.85rem minmax(0, 1fr) 0.9rem;
  align-items: center;
  gap: 0.95rem;
  min-height: var(--menu-height);
  padding: 0 0.9rem 0 0.78rem;
  border: 1px solid var(--line);
  border-radius: var(--menu-radius);
  background:
    linear-gradient(180deg, rgba(255, 244, 224, 0.06), rgba(255, 244, 224, 0.02)),
    var(--row);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  appearance: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  transition: background 190ms ease, border-color 190ms ease;
}

.menu-row.is-static {
  background:
    linear-gradient(180deg, rgba(255, 244, 224, 0.06), rgba(255, 244, 224, 0.02)),
    var(--row);
}

.menu-row:active {
  background: var(--row-hover);
}

.menu-row:hover,
.menu-row:focus-visible {
  background:
    linear-gradient(180deg, rgba(255, 244, 224, 0.09), rgba(255, 244, 224, 0.03)),
    var(--row-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

.menu-row:focus,
.menu-row:focus-visible,
.host-avatar-button:focus,
.host-avatar-button:focus-visible,
.copy-btn:focus,
.copy-btn:focus-visible,
.sheet-link:focus,
.sheet-link:focus-visible,
.sheet-cta:focus,
.sheet-cta:focus-visible,
.sheet-close:focus,
.sheet-close:focus-visible {
  outline: 3px solid rgba(231, 216, 193, 0.68);
  outline-offset: 3px;
}

.menu-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  color: var(--muted-strong);
}

.menu-icon svg {
  width: var(--menu-icon-size);
  height: var(--menu-icon-size);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-row--wifi .menu-icon,
.menu-row--icon-wifi .menu-icon,
.sheet-icon--wifi,
.sheet-icon--icon-wifi {
  color: #5fa8ff;
}

.menu-row--map .menu-icon,
.menu-row--location .menu-icon,
.menu-row--position .menu-icon,
.menu-row--icon-map .menu-icon,
.menu-row--icon-pin .menu-icon,
.sheet-icon--map,
.sheet-icon--location,
.sheet-icon--position,
.sheet-icon--icon-map,
.sheet-icon--icon-pin {
  color: #e45f53;
}

.menu-copy strong,
.menu-copy span {
  display: block;
}

.menu-copy {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.menu-copy strong {
  font-size: var(--menu-size);
  font-weight: var(--menu-weight);
  color: var(--text);
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
  font-family: var(--font-primary), sans-serif;
}

.menu-copy span {
  display: none;
}

.menu-chevron {
  display: var(--chevron-display);
  justify-self: end;
  color: var(--muted-soft);
  font-size: 1.02rem;
  line-height: 1;
}

.hidden {
  display: none;
}

.section-sheet {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: var(--bg);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.section-sheet.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.section-sheet.is-closing {
  opacity: 0;
  pointer-events: none;
}

.section-sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./img/patternlegn.webp") center top / 42rem auto repeat;
  opacity: 0.42;
  filter: brightness(1.02) contrast(1.18) saturate(0.62);
  pointer-events: none;
  transform: scale(1.02);
  transition:
    opacity 260ms ease,
    transform 420ms ease;
}

.section-sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(255, 222, 170, 0.05), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.42));
  pointer-events: none;
  transition: opacity 260ms ease;
}

.section-sheet.is-visible::before {
  transform: scale(1);
}

.section-sheet.is-closing::before {
  opacity: 0.18;
  transform: scale(1.04);
}

.section-sheet.is-closing::after {
  opacity: 0;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.sheet-panel {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1.4rem, env(safe-area-inset-bottom));
  background: var(--sheet-bg);
  opacity: 0;
  transform: translateY(var(--sheet-enter-y)) scale(var(--sheet-enter-scale));
  transition:
    opacity var(--sheet-motion-duration) ease,
    transform var(--sheet-motion-duration) cubic-bezier(0.2, 0.8, 0.22, 1);
}

.sheet-panel::-webkit-scrollbar {
  display: none;
}

.section-sheet.is-visible .sheet-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.section-sheet.is-closing .sheet-panel {
  opacity: 0;
  transform: translateY(var(--sheet-enter-y)) scale(var(--sheet-enter-scale));
}

.sheet-header {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 2.7rem;
  align-items: start;
  gap: 0.95rem;
  margin: 0 auto;
  width: min(100%, var(--sheet-max-width));
}

.sheet-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  color: var(--muted-strong);
}

.sheet-icon svg {
  width: 2.18rem;
  height: 2.18rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sheet-title-block {
  min-width: 0;
}

.sheet-brand {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.sheet-title-block h2 {
  margin: 0.3rem 0 0;
  font-size: var(--section-title-size);
  line-height: 1.1;
  font-weight: 400;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
  font-family: var(--font-primary), sans-serif;
}

.sheet-lead {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.sheet-close {
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
  display: grid;
  place-items: center;
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.sheet-close:hover,
.sheet-close:focus-visible {
  background: rgba(231, 216, 193, 0.12);
  border-color: rgba(231, 216, 193, 0.28);
  color: var(--copy);
}

.sheet-close:active {
  background: rgba(223, 195, 156, 0.16);
  border-color: rgba(223, 195, 156, 0.34);
  color: var(--copy);
  transform: scale(0.94);
}

.sheet-close span {
  font-size: 1.6rem;
  line-height: 1;
  pointer-events: none;
}

.sheet-content {
  display: grid;
  gap: var(--content-gap);
  margin: 1rem auto 0;
  width: min(100%, var(--sheet-max-width));
  min-width: 0;
}

.sheet-card {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: min(var(--sheet-radius), 1.2rem);
  background: rgba(17, 14, 11, 0.42);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  min-width: 0;
}

.sheet-card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.sheet-card-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sheet-card-number {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.sheet-card p {
  margin: 0;
  line-height: 1.5;
  color: var(--muted-strong);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: pretty;
}

.sheet-card-copy {
  min-width: 0;
}

.sheet-card-copy strong {
  display: block;
  margin: 0 0 0.2rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
}

.sheet-card > *,
.sheet-card-copy > *,
.sheet-card-media-body > * {
  min-width: 0;
  max-width: 100%;
}

.sheet-card-copy p,
.sheet-card-copy strong,
.sheet-link,
.sheet-image-caption {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sheet-link {
  display: inline-block;
  max-width: 100%;
  margin-top: 0.45rem;
  color: var(--icon);
  text-decoration: underline;
  text-decoration-color: rgba(223, 195, 156, 0.46);
  text-underline-offset: 0.16rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sheet-link:visited {
  color: var(--icon);
}

.sheet-link:hover,
.sheet-link:focus-visible {
  color: var(--copy);
  text-decoration-color: rgba(231, 216, 193, 0.7);
}

.sheet-contact-card .sheet-card-copy {
  display: grid;
  gap: 0.72rem;
  align-content: center;
}

.sheet-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.sheet-contact-button {
  width: 3.15rem;
  height: 3.15rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 14px 28px rgba(0, 0, 0, 0.24);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    box-shadow 170ms ease;
}

.sheet-contact-button svg {
  width: 1.72rem;
  height: 1.72rem;
  display: block;
}

.sheet-contact-button--whatsapp {
  background: linear-gradient(180deg, #33d374, #128c4a);
}

.sheet-contact-button--gmail {
  background: linear-gradient(180deg, #f8f4ef, #e6ded3);
}

.sheet-contact-button:hover,
.sheet-contact-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 18px 34px rgba(0, 0, 0, 0.3);
}

.sheet-contact-button:active {
  transform: scale(0.96);
}

.sheet-card-media {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.sheet-card-cta {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: visible;
  justify-content: stretch;
  justify-items: stretch;
  width: 100%;
  max-width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.sheet-cta {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: 2.85rem minmax(0, 1fr) 0.9rem;
  align-items: center;
  gap: 0.95rem;
  height: var(--menu-height);
  min-height: var(--menu-height);
  padding: 0 0.9rem 0 0.78rem;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  appearance: none;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 244, 224, 0.06), rgba(255, 244, 224, 0.02)),
    var(--row);
  border: 1px solid var(--line);
  border-radius: var(--menu-radius);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    background 190ms ease,
    border-color 190ms ease,
    transform 180ms ease;
}

.sheet-cta:visited,
.sheet-cta:active {
  color: inherit;
}

.sheet-cta:focus:not(:focus-visible) {
  outline: none;
}

.sheet-cta-icon {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  color: var(--muted-strong);
  box-shadow: none;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.sheet-cta-icon svg {
  width: var(--menu-icon-size);
  height: var(--menu-icon-size);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sheet-cta-label {
  min-width: 0;
  justify-self: center;
  font-size: var(--menu-size);
  line-height: 1.1;
  color: var(--text);
  font-weight: var(--menu-weight);
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  font-family: var(--font-primary), sans-serif;
}

.sheet-cta:hover,
.sheet-cta:focus-visible {
  background:
    linear-gradient(180deg, rgba(255, 244, 224, 0.09), rgba(255, 244, 224, 0.03)),
    var(--row-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

.sheet-cta:hover .sheet-cta-icon,
.sheet-cta:focus-visible .sheet-cta-icon {
  color: var(--copy);
}

.sheet-cta:active {
  background: var(--row-hover);
  transform: translateY(0) scale(0.985);
}

.sheet-host-template-cta {
  margin-top: 0.85rem;
}

.sheet-card-media-body {
  display: grid;
  gap: 0.65rem;
  justify-items: stretch;
}

.sheet-image {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
  height: auto;
  max-height: min(62vh, 26rem);
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, 0.03);
}

.sheet-image--grande {
  max-width: 100%;
}

.sheet-image--media {
  max-width: 65%;
  justify-self: center;
}

.sheet-image--piccola {
  max-width: 40%;
  justify-self: center;
}

.sheet-image--media + .sheet-image-caption,
.sheet-image--piccola + .sheet-image-caption {
  text-align: center;
}

.sheet-image-caption {
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 420px) {
  .page-shell {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .topbar {
    margin-bottom: 0.8rem;
  }

  .menu-row {
    gap: 0.75rem;
    padding-left: 0.72rem;
    padding-right: 0.78rem;
  }

  .sheet-panel {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .sheet-header {
    gap: 0.8rem;
  }

  .sheet-card {
    gap: 0.8rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .sheet-card-cta {
    width: 100%;
    max-width: 100%;
  }

  .sheet-cta {
    width: 100%;
    grid-template-columns: 2.85rem minmax(0, 1fr) 0.9rem;
    gap: 0.75rem;
    padding-left: 0.72rem;
    padding-right: 0.78rem;
  }

  .sheet-cta-icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .sheet-image {
    max-height: min(48vh, 17rem);
  }
}

@media (min-width: 421px) and (max-width: 960px) {
  .sheet-image {
    max-height: min(54vh, 21rem);
  }
}

@media (min-width: 961px) {
  .sheet-image {
    max-height: min(60vh, 26rem);
  }
}

/* Wi-Fi Copyable Fields Styling */
.sheet-wifi-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.75rem;
  min-width: 0;
}

.sheet-wifi-label-value {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.sheet-wifi-label {
  font-size: 0.75rem;
  color: var(--muted-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.sheet-wifi-value {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.35rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  color: var(--muted-strong);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.copy-btn:active {
  transform: scale(0.95);
}

.sync-status {
  display: none;
  margin: 0.9rem 0 0;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(231, 216, 193, 0.18);
  border-radius: 0.72rem;
  background: rgba(17, 14, 11, 0.5);
  color: var(--muted-strong);
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: center;
}

.sync-status.is-visible {
  display: block;
}

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

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

  .locale-chip:active img {
    animation: none;
  }
}
