
:root {
  --bg: #f7f2ec;
  --bg-2: #fcfaf7;
  --white: #ffffff;
  --ink: #241b16;
  --muted: #6e6259;
  --line: #e8ddd1;
  --accent: #8b6548;
  --accent-dark: #6d4b32;
  --accent-soft: #f0e4d8;
  --accent-soft-2: #f8f1ea;
  --forest: #6d7a62;
  --shadow: 0 22px 50px rgba(44, 29, 18, .10);
  --shadow-soft: 0 12px 28px rgba(44, 29, 18, .06);
  --radius: 24px;
  --container: min(1180px, calc(100% - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(240, 228, 216, .55), transparent 28%),
    linear-gradient(180deg, #fcfaf7 0%, #f7f2ec 100%);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: var(--container); margin: 0 auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.68); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 10px 24px rgba(44,29,18,.08);
  letter-spacing: .15em; text-transform: uppercase;
  font-size: .76rem; font-weight: 700; color: var(--accent-dark);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; border: 1px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #a67a57 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(139, 101, 72, .28);
}
.btn.primary:hover { background: linear-gradient(135deg, var(--accent-dark) 0%, #8b6548 100%); }
.btn.secondary {
  background: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.75);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(44,29,18,.06);
}
.btn.secondary:hover { border-color: var(--accent); color: var(--accent-dark); }
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252,250,247,.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232,221,209,.75);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 88px; gap: 18px;
}
.brand img { height: 56px; width: auto; }
.nav {
  display: flex; align-items: center; gap: 24px;
  font-size: .95rem; color: #443931; font-weight: 600;
}
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: center; transition: transform .22s ease;
}
.nav a:hover { color: var(--accent-dark); }
.nav a:hover::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 16px; }
.langs { display: flex; align-items: center; gap: 8px; }
.langs a {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 999px; border: 1px solid rgba(232,221,209,.9);
  background: rgba(255,255,255,.9); box-shadow: var(--shadow-soft);
  font-size: 1.02rem; transition: .22s ease;
}
.langs a:hover, .langs a.active { border-color: var(--accent); transform: translateY(-1px); }
.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  border: 1px solid rgba(232,221,209,.9); background: rgba(255,255,255,.92);
  border-radius: 14px; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: #473b33; display: block; }
.hero {
  position: relative; overflow: clip; min-height: 92vh; display: flex; align-items: center;
  padding: 36px 0 28px;
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-position: center center; background-size: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.2s ease, transform 6s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(23,16,12,.66) 0%, rgba(23,16,12,.30) 42%, rgba(23,16,12,.20) 100%),
    linear-gradient(180deg, rgba(23,16,12,.12) 0%, rgba(23,16,12,.32) 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: 1;
  background: linear-gradient(180deg, rgba(247,242,236,0) 0%, rgba(247,242,236,.95) 100%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: end;
  padding: 40px 0 54px;
}
.hero-copy {
  max-width: 720px;
  color: #fff;
}
.hero-copy h1 {
  margin: 18px 0 0; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 5.8vw, 5.4rem); line-height: .98; letter-spacing: -.04em; font-weight: 700;
  text-shadow: 0 6px 24px rgba(0,0,0,.18);
}
.hero-copy p {
  margin: 20px 0 0; max-width: 690px;
  font-size: 1.12rem; color: rgba(255,255,255,.92);
  text-shadow: 0 4px 18px rgba(0,0,0,.16);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-panel {
  justify-self: end; width: min(430px, 100%);
  padding: 26px; border-radius: 32px;
  background: rgba(255,250,245,.82); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.56);
  box-shadow: 0 28px 56px rgba(19, 12, 8, .18);
}
.hero-panel::before {
  content: "Soggiorno di charme";
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(139,101,72,.10); color: var(--accent-dark);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 14px;
}
.hero .hero-image { display: none; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact {
  padding: 18px; border-radius: 20px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(232,221,209,.92);
}
.fact strong {
  display: block; font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem; line-height: 1.05; color: var(--ink);
}
.fact span { display: block; margin-top: 6px; color: #64574f; font-size: .95rem; }
.hero-dots {
  position: absolute; left: 50%; bottom: 34px; z-index: 2; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.hero-dot {
  width: 11px; height: 11px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.85); background: rgba(255,255,255,.42);
  cursor: pointer; transition: .25s ease;
}
.hero-dot.active { width: 34px; background: #fff; }
.section { padding: 78px 0; }
.section:nth-of-type(odd):not(.hero) { background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0)); }
.section-head { max-width: 840px; margin-bottom: 34px; }
.section-head h2,
.two-col h2,
.contact-wrap h2 {
  margin: 12px 0 0; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 4vw, 3.35rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 700;
}
.section-head p,
.two-col p,
.contact-wrap p,
.card p,
.faq p,
.season li,
.list-panel p,
.seo-box p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.card,
.list-panel,
.season,
.faq,
.contact-card {
  background: rgba(255,255,255,.86); backdrop-filter: blur(8px);
  border: 1px solid rgba(232,221,209,.85); border-radius: 28px;
  box-shadow: var(--shadow-soft);
}
.card {
  padding: 26px; transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover, .gallery-item:hover, .image-card:hover, .season:hover, .faq:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(44, 29, 18, .10);
}
.card h3, .list-panel h3, .season h3, .faq h3, .contact-card h3 {
  margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.36rem; line-height: 1.12; font-weight: 700;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.image-card {
  overflow: hidden; border-radius: 30px; border: 1px solid rgba(232,221,209,.85);
  box-shadow: var(--shadow); background: rgba(255,255,255,.8);
  transition: transform .22s ease, box-shadow .22s ease;
}
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.list-panel { padding: 30px; }
.feature-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  list-style: none; padding: 0; margin: 22px 0 0;
}
.feature-list li {
  display: flex; gap: 12px; padding: 16px 16px 16px 14px;
  border-radius: 20px; background: linear-gradient(180deg, var(--accent-soft-2), #fff);
  border: 1px solid rgba(232,221,209,.85);
}
.tick {
  display: grid; place-items: center; width: 24px; height: 24px; min-width: 24px;
  margin-top: 2px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #a67a57); color: #fff; font-size: .85rem; font-weight: 700;
}
.gallery-grid {
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; grid-auto-rows: 250px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: 24px;
  box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease;
}
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 52%, rgba(0,0,0,.34) 100%);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item span {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  padding: 8px 12px; border-radius: 999px; color: #fff;
  background: rgba(25,18,14,.50); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 600;
}
.seasons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px; }
.season { padding: 26px; }
.season ul { margin: 0; padding-left: 18px; }
.season li { margin: 9px 0; }
.seo-box {
  margin-top: 26px; padding: 24px 26px; border-radius: 26px;
  background: linear-gradient(135deg, #f3e8dc 0%, #fff8f1 100%);
  border: 1px solid rgba(232,221,209,.95); box-shadow: var(--shadow-soft);
}
.faqs { display: grid; gap: 14px; }
.faq { padding: 24px; }
.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.contact-card { padding: 28px; }
.contact-row {
  display: flex; justify-content: space-between; gap: 18px; padding: 14px 0;
  border-bottom: 1px solid rgba(232,221,209,.86);
}
.contact-row:last-child { border-bottom: none; }
.contact-row strong { color: #5c4e45; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.footer { padding: 30px 0 42px; border-top: 1px solid rgba(232,221,209,.9); margin-top: 24px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-logo { height: 48px; }
.footer p { margin: 0; color: var(--muted); }
.lightbox {
  position: fixed; inset: 0; display: none; align-items: center; justify-content: center;
  background: rgba(20,14,10,.88); z-index: 100; padding: 26px;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1120px, 96vw); }
.lightbox img { max-height: 78vh; border-radius: 20px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 14px; }
.lightbox button {
  position: absolute; top: 18px; right: 18px; width: 46px; height: 46px;
  border: none; border-radius: 999px; background: #fff; font-size: 1.35rem; cursor: pointer;
}
@media (max-width: 1080px) {
  .hero { min-height: auto; }
  .hero-grid, .two-col, .contact-wrap { grid-template-columns: 1fr; }
  .hero-panel { justify-self: stretch; width: 100%; max-width: 520px; }
  .cards { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; }
  .gallery-item.tall, .gallery-item.wide { grid-row: auto; grid-column: auto; }
}
@media (max-width: 760px) {
  .container { width: min(1180px, calc(100% - 28px)); }
  .header-inner { min-height: 78px; flex-wrap: wrap; padding: 12px 0; }
  .brand img { height: 46px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; flex-direction: column; align-items: flex-start; width: 100%;
    padding: 12px 0 2px; border-top: 1px solid rgba(232,221,209,.9);
  }
  .nav.open { display: flex; }
  .header-right { margin-left: auto; }
  .hero { padding: 20px 0 18px; min-height: 86vh; }
  .hero-grid { gap: 18px; padding: 24px 0 36px; align-items: end; }
  .hero-copy h1 { font-size: clamp(2.35rem, 11vw, 3.8rem); }
  .hero-copy p { font-size: 1rem; }
  .hero-panel { padding: 22px; border-radius: 26px; }
  .facts, .cards, .feature-list, .seasons, .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .section-head h2, .two-col h2, .contact-wrap h2 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .contact-row { flex-direction: column; gap: 6px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-dots { bottom: 18px; }
}


.footer-inner { gap: 16px; flex-wrap: wrap; }
.footer-admin {
  margin-left: auto; padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(232,221,209,.92); background: rgba(255,255,255,.8);
  color: var(--muted); font-size: .9rem;
}
.footer-admin:hover { color: var(--accent-dark); border-color: var(--accent); }
@media (max-width: 760px) { .footer-admin { margin-left: 0; } }


.booking-section { padding-top: 42px; }
.booking-layout {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 22px;
  align-items: start;
}
.booking-card {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(232,221,209,.9);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}
.booking-form {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.booking-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.booking-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff9f4, #fff);
  border: 1px solid rgba(223,205,191,.92);
  color: var(--muted);
  transition: .22s ease;
}
.booking-pill strong {
  font-size: .95rem;
  color: var(--ink);
  font-weight: 700;
}
.booking-pill-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(139,101,72,.12);
  color: var(--accent-dark);
  font-size: .9rem;
  font-weight: 700;
  flex: 0 0 28px;
}
.booking-pill.is-ready {
  border-color: rgba(139,101,72,.28);
  background: linear-gradient(180deg, #fff6ec, #fffdfa);
}
.booking-pill.is-ready .booking-pill-number {
  background: linear-gradient(135deg, var(--accent), #a67a57);
  color: #fff;
}
.booking-pill.is-sent {
  background: #eef6ee;
  border-color: rgba(99,135,101,.28);
}
.booking-pill.is-sent strong,
.booking-pill.is-sent .booking-pill-number {
  color: #446246;
}
.booking-pill.is-sent .booking-pill-number {
  background: #d9ebd9;
}
.booking-fields {
  display: grid;
  gap: 16px;
}
.booking-search-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr .7fr;
  gap: 14px;
}
.booking-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.booking-search-grid label,
.booking-contact-grid label,
.booking-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: #4e4037;
}
.booking-contact-grid label.full { grid-column: 1 / -1; }
.booking-search-grid input,
.booking-contact-grid input,
.booking-contact-grid textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(210,195,182,.95);
  background: #fff;
  color: var(--ink);
  padding: 13px 15px;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  transition: .2s ease;
}
.booking-search-grid input:focus,
.booking-contact-grid input:focus,
.booking-contact-grid textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(139,101,72,.10);
}
.booking-contact-grid textarea {
  min-height: 124px;
  resize: vertical;
}
.booking-form-footer {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}

.booking-form.is-submitted {
  background: #fff;
  min-height: 640px;
  position: relative;
}
.booking-form.is-submitted > :not(.booking-success-screen) {
  display: none;
}
.booking-success-screen {
  display: none;
  min-height: 588px;
  border-radius: 26px;
  background: #fff;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.booking-form.is-submitted .booking-success-screen {
  display: flex;
}
.booking-success-inner {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 36px;
}
.booking-success-badge {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: #1d8f60;
  background: #eef8f2;
  border: 1px solid rgba(29,143,96,.18);
}
.booking-success-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  color: #1d8f60;
}
.booking-form-footer .btn {
  width: 100%;
  justify-content: center;
}
.booking-note,
.booking-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
.booking-summary {
  padding: 28px;
  position: sticky;
  top: 104px;
}
.booking-summary h3 {
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.08;
}
.booking-summary-text {
  margin: 12px 0 0;
  color: var(--muted);
}
.quote-breakdown {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff8f1, var(--accent-soft-2));
  border: 1px solid rgba(232,221,209,.88);
}
.quote-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(232,221,209,.86);
}
.quote-row:last-child { border-bottom: none; }
.quote-row.total {
  margin-top: 4px;
  font-size: 1.08rem;
  color: var(--accent-dark);
}
.quote-row strong { color: var(--ink); }
.booking-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.booking-actions .btn {
  justify-content: center;
}
.booking-flash {
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 18px;
  background: #f5eadf;
  border: 1px solid rgba(232,221,209,.9);
  color: #5c4e45;
  font-weight: 600;
}
.booking-flash.success {
  background: #eef5eb;
  border-color: rgba(109,122,98,.25);
  color: #465141;
}
.booking-flash.error {
  background: #fff3ef;
  border-color: rgba(172,111,88,.20);
  color: #844d3a;
}
@media (max-width: 1080px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
}
@media (max-width: 760px) {
  .booking-form, .booking-summary { padding: 22px; }
  .booking-search-grid,
  .booking-contact-grid,
  .booking-actions { grid-template-columns: 1fr; }
  .booking-contact-grid label.full { grid-column: auto; }
  .booking-pill { width: 100%; }
}
