/* =========================================================
   VOSSARI — Signature Journeys
   Design: Venice Mark · Layout base 1440px
   ========================================================= */

@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --brown: #6C2B19;
  --brown-50: rgba(108, 43, 25, .5);
  --bg: #F0F0F0;
  --ink: #000;
  --white: #fff;
  --grey-logo: #DADADA;

  /* Copperplate (macOS/iOS) → Cinzel self-hosted come fallback */
  --display: "Copperplate", "Copperplate Gothic Light", "Copperplate Gothic", "Cinzel", "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 3.47vw, 50px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
address { font-style: normal; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--brown); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }

/* ---------- Tipografia display ---------- */
.title-xxl, .title-xl, .title-lg, .title-md, .title-sm, .card-title, .contact-sub, .footer-title,
.legal, .social, .form label, .btn--send {
  font-family: var(--display);
  font-weight: 400;
  text-transform: none;
  font-variant: small-caps;   /* Copperplate: maiuscole + maiuscoletto */
  letter-spacing: .02em;
}
.title-xxl { font-size: clamp(48px, 6.8vw, 98px); line-height: 1; color: var(--brown); text-transform: uppercase; }
.title-xl  { font-size: clamp(36px, 4.6vw, 66px); line-height: 1; color: #fff; text-transform: uppercase; }
.title-lg  { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; color: var(--brown); text-transform: uppercase; }
.title-md  { font-size: clamp(24px, 3.3vw, 48px); line-height: 1.05; color: #fff; text-transform: uppercase; }
.title-sm  { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.1; color: var(--brown); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brown); color: #fff;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .02em;
  text-transform: uppercase; text-decoration: none;
  height: 54px; padding: 0 22px; min-width: 145px;
  border: 0; cursor: pointer;
  transition: background .25s, transform .25s;
}
.btn:hover { background: #561f11; }
.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(108,43,25,.15); }
.header-inner { height: 109px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: block; color: var(--brown); }
.logo-mark { width: 64px; height: 64px; display: block; }
@media (max-width: 700px) {
  .header-inner { height: 76px; }
  .logo-mark { width: 46px; height: 46px; }
  .site-header .btn { height: 44px; min-width: 0; font-size: 13px; padding: 0 16px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: clamp(420px, 45.1vw, 650px); overflow: hidden; }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .cover { object-position: 50% 60%; }
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  padding-top: clamp(150px, 19.3vw, 278px);
  color: #fff; text-align: center;
}
.hero-title img { width: clamp(220px, 31.25vw, 450px); height: auto; }
.hero-tag { margin-top: clamp(18px, 2.6vw, 37px); font-size: clamp(13px, 1.2vw, 17px); text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 700px) {
  .hero { height: 78svh; min-height: 460px; }
  .hero .cover { object-position: 22% 50%; }
  .hero-content { padding-top: 26svh; }
}

/* ---------- Intro ---------- */
.intro { padding-block: clamp(48px, 4.4vw, 64px) clamp(48px, 3.7vw, 54px); }
.intro p { max-width: 520px; margin-top: 40px; font-size: 15px; font-weight: 500; line-height: 1.75; }

/* ---------- Bande con immagine ---------- */
.band { position: relative; height: clamp(520px, 50.7vw, 730px); overflow: hidden; color: #fff; }
.band::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.band--20::after { background: rgba(0,0,0,.2); }
.band--30::after { background: rgba(0,0,0,.3); }
.band-content {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  text-align: center;
  padding: clamp(80px, 9.4vw, 135px) var(--gutter) clamp(70px, 6.3vw, 90px);
}
.band-bottom { max-width: 1140px; }
.band-bottom p { margin-top: 14px; font-size: 15px; line-height: 1.3; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.band .title-xl, .band .title-md { text-shadow: 0 2px 24px rgba(0,0,0,.2); }

/* ---------- Servizi ---------- */
.services {
  display: grid;
  grid-template-columns: 358px 1fr;
  column-gap: 22px;
  padding-block: 54px 50px;
}
.services-intro { display: flex; flex-direction: column; }
.services-intro p { margin-top: 18px; font-size: 15px; font-weight: 500; line-height: 1.3; max-width: 330px; }
.services-intro .btn--wide { margin-top: auto; width: 322px; max-width: 100%; }
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 42px;
  padding-bottom: 54px; border-bottom: 2px solid var(--brown);
  position: relative;
}
.card picture { display: block; overflow: hidden; aspect-ratio: 288 / 304; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card:hover img { transform: scale(1.04); }
.card-label { margin-top: 14px; color: var(--brown); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.card-title { margin-top: 18px; color: var(--brown); font-size: 18px; line-height: 1.1; text-transform: capitalize; }
.card p:last-child { margin-top: 10px; font-size: 13px; font-weight: 500; line-height: 1.3; max-width: 290px; }

@media (max-width: 1100px) {
  .services { grid-template-columns: 1fr; row-gap: 40px; }
  .services-intro .btn--wide { margin-top: 28px; }
  .cards { column-gap: 24px; }
}
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; row-gap: 44px; border-bottom: 0; padding-bottom: 0; }
  .card picture { aspect-ratio: 4 / 3.4; }
  .services-intro { order: 0; }
  .services { padding-block: 48px; }
}

/* ---------- Contatti ---------- */
.contact { background: var(--brown-50); padding: 50px var(--gutter); margin-top: 20px; }
.contact-card { max-width: 1340px; margin-inline: auto; background: var(--bg); padding: clamp(48px, 5.2vw, 75px) clamp(20px, 4.6vw, 50px) 50px; }
.contact-head { max-width: 800px; margin-inline: auto; text-align: center; color: var(--brown); }
.contact-sub { margin-top: 26px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; }
.contact-head p:last-child { margin-top: 4px; font-size: clamp(14px, 1.25vw, 18px); line-height: 1.4; }

.form {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 37px; row-gap: 22px;
  max-width: 1240px; margin: 48px auto 0;
}
.field { position: relative; display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.form label { color: var(--brown); font-size: 15px; letter-spacing: .04em; padding-left: 20px; text-transform: uppercase; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 2px solid var(--brown);
  color: var(--ink); font: 500 16px/1.4 var(--sans); padding: 6px 20px 12px; border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.field--area { border: 2px solid var(--brown); padding-top: 16px; margin-top: 4px; }
.form .field--area textarea { border: 0; min-height: 90px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; background: rgba(108,43,25,.04); }
.field--area:focus-within { background: rgba(108,43,25,.04); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b3261e; }
.field--area.is-invalid { border-color: #b3261e; }

.check { display: flex; align-items: center; gap: 16px; }
.check input {
  -webkit-appearance: none; appearance: none; flex: none;
  width: 24px; height: 24px; margin: 0; border: 2px solid var(--brown); background: transparent; cursor: pointer; display: grid; place-content: center;
}
.check input::after { content: ""; width: 12px; height: 12px; background: var(--brown); transform: scale(0); transition: transform .15s; }
.check input:checked::after { transform: scale(1); }
.check.is-invalid input { border-color: #b3261e; }
.form .check label { font: 400 14px/1.3 var(--sans); text-transform: none; letter-spacing: 0; padding: 0; font-variant: normal; }
.check a { color: var(--brown); }

.form-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.btn--send { width: 216px; height: 53px; font-size: 22px; text-transform: uppercase; font-weight: 400; }
.btn--send[disabled] { opacity: .6; cursor: wait; }
.form-status { min-height: 1.4em; font-size: 14px; color: var(--brown); text-align: center; }
.form-status.is-error { color: #b3261e; }

@media (max-width: 700px) {
  .form { grid-template-columns: 1fr; }
  .contact { padding: 20px 12px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: #fff; margin-top: 20px; }
.footer-inner { display: flex; justify-content: space-between; align-items: stretch; gap: 40px; padding-block: 74px 56px; }
.logo--footer { color: var(--grey-logo); }
.footer-title { margin-top: 56px; font-size: 18px; text-transform: uppercase; letter-spacing: .06em; }
.site-footer address { margin-top: 18px; font-size: 16px; line-height: 1.5; }
.site-footer address a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-right { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; text-align: right; }
.footer-right ul { list-style: none; margin: 0; padding: 0; }
.social { padding-right: 16px !important; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.6; }
.social a, .legal a { text-decoration: none; }
.legal { font-size: 14px; letter-spacing: .04em; line-height: 2.1; }
@media (max-width: 700px) {
  .footer-inner { flex-direction: column; padding-block: 56px 40px; }
  .footer-right { align-items: flex-start; text-align: left; gap: 32px; }
  .social { padding-right: 0 !important; }
}

/* ---------- Animazioni ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card img { transition: none; }
}

/* ---------- Pagine legali ---------- */
.legal-page { max-width: 860px; padding-block: 64px 96px; }
.legal-page h1 { font-family: var(--display); font-variant: small-caps; text-transform: uppercase; color: var(--brown); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; margin-bottom: 32px; }
.legal-page h2 { font-family: var(--display); font-variant: small-caps; color: var(--brown); font-weight: 400; font-size: 22px; margin: 40px 0 12px; }
.legal-page p, .legal-page li { font-size: 15px; line-height: 1.65; margin-bottom: 10px; }
.legal-page a { color: var(--brown); }
.legal-page .note { background: #fff; border-left: 3px solid var(--brown); padding: 14px 18px; font-size: 14px; }
.legal-page .back { margin-top: 28px; }
.btn.btn--send { font-family: var(--display); font-variant: small-caps; font-weight: 400; letter-spacing: .06em; }
.band .title-xl, .band .title-md { text-shadow: 0 1px 14px rgba(0,0,0,.18); }
