/* ============================================
   ITALIA 2026 — DESIGN SYSTEM
   Warm. Italian. Editorial. Pompeii-inspired.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT,WONK@0,9..144,300..900,0..100,0..1;1,9..144,300..900,0..100,0..1&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

:root {
  /* Base — warm parchment */
  --parchment: #f4e9d4;
  --parchment-deep: #ecdfc4;
  --cream: #faf3e2;
  --espresso: #2a1810;
  --espresso-soft: #3d2a1f;

  /* Original warm accents */
  --terracotta: #b65440;
  --terracotta-deep: #8a3d2c;
  --olive: #6b7754;
  --olive-deep: #4a5439;
  --cypress: #3a5a3f;
  --cypress-deep: #2a4530;
  --gold: #c99560;
  --rose: #d4856a;

  /* New — richer Italian accents */
  --wine: #6e1f25;
  --wine-deep: #4a1418;
  --tyrrhenian: #3a6e7c;
  --tyrrhenian-deep: #234852;
  --fresco-pink: #d9a892;
  --pompeii-yellow: #d4a13e;
  --fresco-bg: #e8d4b8;

  --shadow-warm: rgba(42, 24, 16, 0.1);
  --shadow-deep: rgba(42, 24, 16, 0.18);

  --display: 'Fraunces', 'Times New Roman', serif;
  --body: 'Lora', 'Georgia', serif;

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem;
  --s-9: 6rem; --s-10: 8rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--espresso);
  background: var(--parchment);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.2  0 0 0 0 0.15  0 0 0 0 0.1  0 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.45;
  mix-blend-mode: multiply;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(110, 31, 37, 0.05) 100%);
}

main, header, footer, nav, section { position: relative; z-index: 3; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--espresso);
}
h1 { font-size: clamp(3rem, 9vw, 7.5rem); font-variation-settings: 'opsz' 144, 'SOFT' 50, 'wght' 350; }
h2 { font-size: clamp(2rem, 5vw, 3.75rem); font-variation-settings: 'opsz' 96, 'SOFT' 40, 'wght' 400; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); font-variation-settings: 'opsz' 36, 'SOFT' 30, 'wght' 500; line-height: 1.15; }
h4 { font-size: 1.05rem; font-variation-settings: 'opsz' 14, 'wght' 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--wine); }

em, .italic { font-style: italic; color: var(--wine); }

.eyebrow {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--wine);
  font-variation-settings: 'opsz' 14, 'wght' 400;
  letter-spacing: 0.02em;
}
.smallcaps {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cypress);
  font-weight: 600;
}

a {
  color: var(--wine);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: all 0.2s ease;
}
a:hover { color: var(--wine-deep); border-bottom-color: var(--wine); }

/* Drop cap — illuminated-manuscript style */
.lead::first-letter {
  font-family: var(--display);
  font-variation-settings: 'opsz' 144, 'SOFT' 60, 'wght' 500;
  font-size: 4.6rem;
  line-height: 0.85;
  float: left;
  margin: 0.45rem 0.7rem 0 0;
  color: var(--wine);
  font-style: italic;
  padding-right: 0.1rem;
}

/* LAYOUT */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}
@media (min-width: 768px) { .container { padding: 0 var(--s-7); } }
section { padding: var(--s-9) 0; }

/* NAV */
.nav {
  padding: var(--s-5) 0;
  border-bottom: 1px solid rgba(42, 24, 16, 0.12);
  background: var(--parchment);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.nav-brand {
  font-family: var(--display);
  font-size: 1.4rem;
  font-style: italic;
  font-variation-settings: 'opsz' 14, 'wght' 500;
  color: var(--espresso);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-brand span { font-style: normal; color: var(--wine); }
.nav-brand svg { color: var(--wine); width: 22px; height: 22px; }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  list-style: none;
}
.nav-links a {
  font-family: var(--body);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--espresso-soft);
  border: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { border-bottom-color: var(--wine); color: var(--wine); }
.nav-links a.active { color: var(--wine); border-bottom-color: var(--wine); }

/* HERO */
.hero {
  padding-top: var(--s-10);
  padding-bottom: var(--s-9);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 600px);
  height: 70%;
  background: radial-gradient(ellipse 100% 70% at 50% 100%, rgba(110, 31, 37, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: end;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--s-8);
  }
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.hero-eyebrow::before {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--wine);
}
.hero h1 { margin-bottom: var(--s-5); }
.hero h1 .accent {
  font-style: italic;
  color: var(--wine);
  font-variation-settings: 'opsz' 144, 'SOFT' 80, 'wght' 350;
}
.hero-lede {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--espresso-soft);
  max-width: 38ch;
}
.hero-flourish {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin: var(--s-4) 0 var(--s-5);
  color: var(--wine);
}
.hero-flourish svg { width: 32px; height: 32px; }
.hero-flourish::before, .hero-flourish::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wine), transparent);
}
.hero-meta {
  border-top: 1px solid rgba(42, 24, 16, 0.18);
  padding-top: var(--s-5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.hero-meta dt {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive-deep);
  font-weight: 600;
  margin-bottom: var(--s-2);
}
.hero-meta dd {
  font-family: var(--display);
  font-size: 1.25rem;
  font-variation-settings: 'opsz' 24, 'wght' 400;
  color: var(--espresso);
}
.hero-meta dd em { font-style: italic; color: var(--wine); }

/* ORNAMENT DIVIDERS */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  margin: var(--s-7) 0;
  color: var(--wine);
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  max-width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wine) 40%, var(--wine) 60%, transparent);
}
.ornament svg { display: block; width: 32px; height: 32px; }

/* Greek meander (Roman key) divider */
.meander-divider {
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 18' fill='none' stroke='%236e1f25' stroke-width='1.4'><path d='M0 17 L0 4 L8 4 L8 12 L4 12 L4 8 L12 8 L12 17 M12 17 L20 17 L20 4 L28 4 L28 12 L24 12 L24 8 L32 8 L32 17 M32 17 L40 17 L40 4 L48 4 L48 12 L44 12 L44 8 L52 8 L52 17 L60 17'/></svg>");
  background-repeat: repeat-x;
  background-size: 60px 18px;
  background-position: center;
  opacity: 0.5;
  margin: var(--s-6) 0;
}

/* SECTION HEAD */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-7);
  align-items: end;
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: auto 1fr;
    gap: var(--s-8);
  }
}
.section-number {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  font-variation-settings: 'opsz' 14, 'wght' 400;
  color: var(--wine);
  margin-bottom: var(--s-2);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.section-number svg { width: 14px; height: 14px; }
.section-head h2 .accent { font-style: italic; color: var(--wine); }
.section-head p {
  font-size: 1.05rem;
  color: var(--espresso-soft);
  max-width: 50ch;
  line-height: 1.6;
}

/* AIRBNB CARD */
.airbnb-card {
  background: var(--cream);
  border: 1px solid rgba(42, 24, 16, 0.12);
  padding: var(--s-7);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  box-shadow: 0 1px 0 var(--shadow-warm), 0 16px 40px -20px var(--shadow-deep);
  position: relative;
}
@media (min-width: 768px) {
  .airbnb-card { grid-template-columns: 1.3fr 1fr; padding: var(--s-8); }
}
.airbnb-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 149, 96, 0.4);
  pointer-events: none;
}
.airbnb-label {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.airbnb-card h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-variation-settings: 'opsz' 60, 'SOFT' 40, 'wght' 450;
  margin-bottom: var(--s-4);
  line-height: 1.1;
}
.airbnb-card h3 em { font-style: italic; color: var(--wine); }
.airbnb-address {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--espresso-soft);
  margin-bottom: var(--s-5);
  line-height: 1.5;
}
.airbnb-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4) var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px dashed rgba(42, 24, 16, 0.2);
}
.airbnb-facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive-deep);
  font-weight: 600;
  margin-bottom: var(--s-1);
}
.airbnb-facts dd {
  font-family: var(--display);
  font-size: 1.05rem;
  font-variation-settings: 'opsz' 14, 'wght' 400;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.75rem 1.4rem;
  background: var(--wine);
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: none;
}
.btn:hover { background: var(--wine-deep); color: var(--cream); border-bottom: none; }
.btn-ghost {
  background: transparent;
  color: var(--espresso);
  border: 1px solid var(--espresso);
}
.btn-ghost:hover { background: var(--espresso); color: var(--cream); }
.btn svg { width: 14px; height: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

/* MAP PLACEHOLDER */
.map-block {
  position: relative;
  background: linear-gradient(135deg, var(--parchment-deep), var(--parchment));
  border: 1px solid rgba(42, 24, 16, 0.15);
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-5);
  overflow: hidden;
}
.map-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 110, 124, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 110, 124, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.7;
}
.map-pin {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  background: var(--wine);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin-bottom: var(--s-5);
  box-shadow: 0 8px 24px -8px var(--shadow-deep);
}
.map-pin::after {
  content: '';
  position: absolute;
  inset: 18px;
  background: var(--cream);
  border-radius: 50%;
}
.map-label {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--espresso);
  margin-bottom: var(--s-2);
}
.map-coords {
  position: relative;
  z-index: 2;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--olive-deep);
  font-family: var(--body);
  text-transform: uppercase;
}

/* ESSENTIALS — fresco panel */
.essentials {
  background: var(--fresco-bg);
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
.essentials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(217, 168, 146, 0.4), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(212, 161, 62, 0.18), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(110, 31, 37, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.essentials::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.015' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.25  0 0 0 0 0.15  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.15;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.essentials > * { position: relative; z-index: 1; }

.essential-group { margin-bottom: var(--s-8); }
.essential-group:last-child { margin-bottom: 0; }
.essential-group-head {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
}
.essential-group-head h3 {
  font-style: italic;
  font-variation-settings: 'opsz' 60, 'SOFT' 50, 'wght' 400;
  color: var(--espresso);
}
.essential-group-head .count {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cypress);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--cream);
  border: 1px solid rgba(42, 24, 16, 0.12);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -20px var(--shadow-deep); }
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-3);
}
.card h4 {
  font-family: var(--display);
  font-size: 1.18rem;
  text-transform: none;
  letter-spacing: -0.005em;
  color: var(--espresso);
  font-variation-settings: 'opsz' 24, 'wght' 500;
  line-height: 1.2;
}
.card-tag {
  font-family: var(--body);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--wine);
  padding: 0.3rem 0.55rem;
  font-weight: 600;
  white-space: nowrap;
}
.card-address {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--espresso-soft);
  line-height: 1.45;
}
.card-meta {
  font-size: 0.85rem;
  color: var(--cypress);
  line-height: 1.55;
  margin-top: var(--s-2);
}
.card-meta strong { color: var(--espresso); font-weight: 600; }
.card-actions {
  display: flex;
  gap: var(--s-2);
  margin-top: auto;
  padding-top: var(--s-3);
}
.card-link {
  flex: 1;
  text-align: center;
  border: 1px solid var(--espresso);
  color: var(--espresso);
  padding: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  background: transparent;
  border-bottom: 1px solid var(--espresso);
  transition: all 0.2s ease;
  cursor: pointer;
}
.card-link:hover { background: var(--espresso); color: var(--cream); }
.card.alert {
  background: linear-gradient(135deg, #f5e0c8, #f0d4b3);
  border-color: var(--wine);
}
.card-alert-note {
  background: rgba(110, 31, 37, 0.08);
  border-left: 3px solid var(--wine);
  padding: var(--s-3);
  font-size: 0.88rem;
  font-style: italic;
  color: var(--espresso);
  line-height: 1.5;
}

/* MENU PREVIEW */
.menu-preview { padding: var(--s-9) 0; }
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-top: var(--s-7);
}
@media (min-width: 700px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }

.menu-tile {
  position: relative;
  display: block;
  padding: var(--s-6) var(--s-5);
  background: var(--cream);
  border: 1px solid rgba(42, 24, 16, 0.12);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 24, 16, 0.12);
  transition: all 0.3s ease;
  overflow: hidden;
}
.menu-tile::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wine), var(--gold), var(--cypress));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.menu-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px var(--shadow-deep); }
.menu-tile:hover::after { transform: scaleX(1); }
.menu-tile .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--wine);
  margin-bottom: var(--s-3);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.menu-tile .num svg { width: 12px; height: 12px; }
.menu-tile h3 {
  font-family: var(--display);
  font-size: 1.65rem;
  margin-bottom: var(--s-2);
  color: var(--espresso);
  font-variation-settings: 'opsz' 36, 'SOFT' 40, 'wght' 450;
}
.menu-tile h3 em { font-style: italic; color: var(--wine); }
.menu-tile p {
  font-size: 0.92rem;
  color: var(--espresso-soft);
  line-height: 1.55;
}
.menu-tile .arrow {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  color: var(--wine);
  font-style: italic;
  font-family: var(--display);
  transition: transform 0.25s ease;
}
.menu-tile:hover .arrow { transform: translate(4px, -4px); }
.menu-tile.coming { opacity: 0.72; pointer-events: none; }
.menu-tile.coming::before {
  content: 'in costruzione';
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive-deep);
  background: var(--parchment-deep);
  padding: 0.25rem 0.5rem;
}
.menu-tile.coming .arrow { display: none; }

/* FOOTER */
.footer {
  background: var(--espresso);
  color: var(--cream);
  padding: var(--s-7) 0 var(--s-6);
  margin-top: var(--s-8);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--wine) 0%, var(--gold) 50%, var(--cypress) 100%);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: center;
}
@media (min-width: 700px) { .footer-inner { grid-template-columns: auto 1fr auto; } }
.footer h4 {
  color: var(--gold);
  font-family: var(--display);
  font-style: italic;
  text-transform: none;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 24, 'wght' 400;
}
.footer p {
  font-size: 0.92rem;
  color: rgba(250, 243, 226, 0.7);
  font-style: italic;
}
.footer-family { font-family: var(--display); font-size: 0.95rem; color: var(--gold); }

.hidden-mobile { display: none; }
@media (min-width: 768px) { .hidden-mobile { display: initial; } }
