/* ==========================================================================
   Tuscan Soul — tuscansoul.it
   Palette from brand logos: deep petrol green + antique gold
   ========================================================================== */

:root {
  --green: #0a3b38;
  --green-dark: #072a28;
  --green-soft: #14514c;
  --gold: #d5a55d;
  --gold-dark: #b98a42;
  --gold-soft: #f2e4cd;

  --ink: #1c1b18;
  --muted: #6e6a63;
  --line: #e6e2db;
  --cream: #faf8f4;
  --cream-2: #f2eee6;
  --white: #ffffff;

  /* Font del logo:
     --serif  = lettering "Tuscan Soul"
     --label  = "CONSULTING & MANAGEMENT" (maiuscolo spaziato)
     --script = "An Inviting Escape" (manoscritto)
     --sans   = testo corrente, scelto per leggibilità */
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --label: "Montserrat", "Inter", Helvetica, Arial, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(28, 27, 24, .06), 0 8px 24px rgba(28, 27, 24, .07);
  --shadow-lg: 0 2px 4px rgba(28, 27, 24, .06), 0 18px 48px rgba(28, 27, 24, .12);
  --max: 1200px;
  --pad: 24px;
  --header-h: 76px;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 900; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; border-radius: 4px; }

/* --- layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--cream { background: var(--cream); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

.kicker {
  font-family: var(--label);
  font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-dark); margin: 0 0 .9rem;
}
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.6em; border-radius: 999px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: var(--green-dark); }
.btn--gold:hover { background: var(--gold-dark); color: var(--white); }
.btn--ghost { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--lg { padding: 1em 1.9em; font-size: 1rem; }
.btn--block { width: 100%; }

/* --- header --------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
/* Logo: rosone + lettering, entrambi vettoriali dal file originale */
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.brand__name { width: auto; height: 30px; }
.brand__payoff { width: auto; height: 8px; }
@media (max-width: 480px) {
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { height: 26px; }
  .brand__payoff { height: 7px; }
}
/* Il rosone, il lettering e il payoff si allineano sul proprio centro,
   mentre il gruppo resta a sinistra come il resto del footer. */
.footer__logo { display: inline-flex; flex-direction: column; align-items: center; width: fit-content; }
.footer__mark { width: 46px; height: 46px; margin-bottom: 16px; }
.footer__name { width: auto; height: 42px; margin-bottom: 10px; }
.footer__payoff { width: auto; height: 11px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: .5em .85em; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--ink);
  transition: background-color .16s ease;
}
.nav a:hover { background: var(--cream-2); }
.nav a.is-active { color: var(--gold-dark); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.lang {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .48em .85em; border: 1px solid var(--line); border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
}
.lang:hover { border-color: var(--ink); }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: .5em .7em; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.burger span + span { margin-top: 4px; }

@media (max-width: 940px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 12px var(--pad) 20px; margin: 0;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    box-shadow: var(--shadow);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: .8em .2em; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:hover { background: none; }
  .burger { display: block; margin-left: auto; order: 3; }
  .header__actions { order: 2; margin-left: auto; }
}

/* --- hero ----------------------------------------------------------------- */
.hero { position: relative; min-height: min(78vh, 680px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,42,40,.88) 0%, rgba(7,42,40,.45) 42%, rgba(7,42,40,.22) 100%);
}
.hero__inner { position: relative; padding-block: clamp(48px, 7vw, 88px); }
.hero .kicker { color: var(--gold); }
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: .35em; }
.hero__sub { font-size: clamp(1.03rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.88); max-width: 54ch; margin-bottom: 1.9rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- trust bar ------------------------------------------------------------ */
.trust { border-bottom: 1px solid var(--line); background: var(--cream); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; text-align: center; }
.trust__n { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; color: var(--green); line-height: 1.1; }
.trust__l { font-size: .82rem; color: var(--muted); letter-spacing: .02em; }
@media (max-width: 620px) { .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; } }

/* --- property cards ------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter {
  padding: .5em 1.1em; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); font-size: .88rem; font-weight: 500; color: var(--muted);
  transition: all .16s ease;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--green); border-color: var(--green); color: var(--white); }

.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
@media (max-width: 1000px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .grid-cards { grid-template-columns: 1fr; } }

.card { display: block; }
.card[hidden] { display: none; }
.card__media {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius);
  overflow: hidden; background: var(--cream-2); margin-bottom: 14px;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.card:hover .card__media img { transform: scale(1.045); }
.card__badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.94); color: var(--ink);
  font-family: var(--label);
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .42em .85em; border-radius: 999px;
}
.card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card__name { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; margin: 0; }
.card__rating { font-size: .88rem; font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: .28em; }
.card__rating svg { width: 13px; height: 13px; fill: var(--gold-dark); }
.card__tagline { color: var(--muted); font-size: .93rem; margin: .2rem 0 .45rem; }
.card__meta { font-size: .86rem; color: var(--muted); }

/* --- area cards ----------------------------------------------------------- */
.grid-area { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 940px) { .grid-area { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-area { grid-template-columns: 1fr; } }
.area-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 28px; transition: box-shadow .2s ease, transform .2s ease;
}
.area-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.area-card h3 { margin-bottom: .45em; }
.area-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.area-card__rule { width: 34px; height: 2px; background: var(--gold); margin-bottom: 18px; }

/* --- about ---------------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.about__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream-2); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__body p { color: var(--muted); }
.about__sign { font-family: var(--script); color: var(--green); font-size: 1.5rem; margin-top: 1.4rem; }

/* --- reviews -------------------------------------------------------------- */
.grid-reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .grid-reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-reviews { grid-template-columns: 1fr; } }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; display: flex; flex-direction: column;
}
.review__text { font-size: .95rem; margin-bottom: 16px; flex: 1; }
.review__meta { font-size: .82rem; color: var(--muted); font-family: var(--label); letter-spacing: .06em; text-transform: uppercase; font-size: .7rem; }
.note { font-size: .84rem; color: var(--muted); margin-top: 22px; }

/* --- owners (dark) -------------------------------------------------------- */
.owners { background: var(--green); color: var(--white); }
.owners .kicker { color: var(--gold); }
.owners h2, .owners h3 { color: var(--white); }
.owners .lead { color: rgba(255,255,255,.78); }
.owners__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: clamp(40px, 5vw, 64px); }
@media (max-width: 900px) { .owners__grid { grid-template-columns: 1fr; } }
.svc {
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  padding: 28px 26px 30px; background: rgba(255,255,255,.035);
}
.svc__n { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); line-height: 1; margin-bottom: 16px; }
.svc p { color: rgba(255,255,255,.74); font-size: .95rem; margin: 0; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-top: clamp(36px, 4vw, 52px); border-top: 1px solid rgba(255,255,255,.16); }
@media (max-width: 940px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }
.why h4 { font-family: var(--label); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 .6em; }
.why p { color: rgba(255,255,255,.7); font-size: .9rem; margin: 0; }

/* --- owner form ----------------------------------------------------------- */
.leadform {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg);
}
.leadform h3 { margin-bottom: .3em; }
.leadform__sub { color: var(--muted); font-size: .95rem; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: .78em .9em; border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(10,59,56,.1);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: var(--radius); padding: 22px 24px; font-size: .97rem; }
.form-msg--ok { background: #eef5f1; border: 1px solid #cfe3d8; color: var(--green); }
.form-msg--ok strong { display: block; font-family: var(--serif); font-size: 1.3rem; margin-bottom: .4em; }
.form-msg--ok p { margin: 0; color: var(--muted); }
.form-msg--err { background: #fdf1ec; border: 1px solid #f2d2c4; color: #8a3a1c; }
button[disabled] { opacity: .6; cursor: default; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.form-foot .privacy { font-size: .78rem; color: var(--muted); max-width: 44ch; margin: 0; }
.form-alt { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.form-alt a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* --- faq ------------------------------------------------------------------ */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; max-width: 68ch; }

/* --- contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  background: var(--white); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.contact-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-card svg { width: 22px; height: 22px; flex: none; stroke: var(--green); fill: none; stroke-width: 1.6; }
.contact-card b { display: block; font-size: .95rem; }
.contact-card span { font-size: .87rem; color: var(--muted); }

/* --- footer --------------------------------------------------------------- */
.footer { background: var(--green-dark); color: rgba(255,255,255,.7); padding: clamp(48px, 6vw, 72px) 0 28px; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--label); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 1em; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .55em; }
.footer a:hover { color: var(--white); }
.footer__tagline { margin: 18px 0 0; max-width: 34ch; }
.footer__bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.55);
}

/* --- property page -------------------------------------------------------- */
.prop-head { padding-top: 34px; }
.back { display: inline-flex; align-items: center; gap: .45em; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.back:hover { color: var(--ink); }
.prop-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.prop-title h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .12em; }
.prop-sub { color: var(--muted); margin: 0; }
.prop-stats { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--muted); margin-top: 12px; }
.prop-stats b { color: var(--ink); font-weight: 600; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 8px; aspect-ratio: 2.2 / 1; margin: 26px 0 clamp(40px, 5vw, 64px); border-radius: var(--radius-lg); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; background: var(--cream-2); }
.gallery > :first-child { grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .gallery > :first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 3 / 2; }
  .gallery img:not(:first-child) { aspect-ratio: 1; }
  .gallery img:nth-child(n+5) { display: none; }
}

.prop-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .prop-body { grid-template-columns: 1fr; } }
.prop-desc p { color: var(--muted); }
.prop-desc h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-top: 2.2rem; }
.prop-desc h2:first-child { margin-top: 0; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.pill-list li { border: 1px solid var(--line); border-radius: 999px; padding: .45em 1em; font-size: .88rem; }
.room-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.room-list li { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-size: .93rem; }

.booking {
  position: sticky; top: calc(var(--header-h) + 20px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px 28px; box-shadow: var(--shadow); background: var(--white);
}
.booking__rating { display: flex; align-items: center; gap: .4em; font-weight: 600; margin-bottom: 6px; }
.booking__rating svg { width: 15px; height: 15px; fill: var(--gold-dark); }
.booking__rating span { font-weight: 400; color: var(--muted); font-size: .9rem; }
.booking__note { font-size: .84rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.booking__cir { font-size: .74rem; color: var(--muted); margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }

/* --- misc ----------------------------------------------------------------- */
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal-body p, .legal-body li { color: var(--muted); }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff;
  padding: .7em 1.2em; z-index: 200; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
