:root {
  --bg: #ffffff;
  --ink: #1b1712;
  --muted: #77716a;
  --line: #ece8e2;
  --accent: #d11f3c;
  --accent-dark: #a9152f;
  --maxw: 600px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 56px 24px 40px;
}

.stack {
  width: 100%;
  max-width: var(--maxw);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Logo ---------- */
.logo {
  width: clamp(150px, 42vw, 230px);
  height: auto;
  display: block;
  margin-bottom: 30px;
}

.wordmark {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 9vw, 3rem);
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}
.wordmark[hidden] { display: none; }

/* ---------- Type ---------- */
.tagline {
  font-family: "Georgia", serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 11vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.005em;
  margin: 0;
}

.sub {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 3.4vw, 1.15rem);
  font-weight: 500;
}

/* ---------- Address ---------- */
.place {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.place:hover { color: var(--ink); }
.place .ico { width: 17px; height: 17px; flex: none; }

/* ---------- Actions ---------- */
.actions {
  margin-top: 38px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 30px;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-book {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(209, 31, 60, 0.7);
}
.btn-book:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-book:active { transform: translateY(0); }

.btn-call {
  background: #fff;
  color: var(--ink);
  border: 1.6px solid var(--ink);
  gap: 1px;
}
.btn-call:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-call:active { transform: translateY(0); }
.btn-call__label { font-size: 0.78rem; font-weight: 600; opacity: 0.72; letter-spacing: 0.02em; }
.btn-call__num { font-size: 1.12rem; font-weight: 700; }

/* ---------- Social ---------- */
.social {
  margin-top: 30px;
  display: flex;
  gap: 26px;
  justify-content: center;
}
.social a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.social a:hover { color: var(--accent); }
.social .ico { width: 19px; height: 19px; flex: none; }

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 22px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Focus ---------- */
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

/* ---------- Desktop: bottoni affiancati ---------- */
@media (min-width: 480px) {
  .actions { flex-direction: row; justify-content: center; }
  .btn { flex: 1; max-width: 260px; }
}

/* ---------- Entrata (una volta) ---------- */
.stack { opacity: 0; transform: translateY(14px); }
body.loaded .stack {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: reduce) {
  .stack { opacity: 1; transform: none; }
  body.loaded .stack { transition: none; }
  .btn, .btn:hover { transition: background 0.2s ease, color 0.2s ease; transform: none; }
}
