/* ═══════════════════════════════════════════════
   MASSERIA MONGELLI VALLENZA — Booking Page
   Fonts: NeueHaas Display + Ivy Ora — /fonts/ (woff2 locali)
   ═══════════════════════════════════════════════ */

/* ── Font faces ── */
@font-face {
  font-family: 'NeueHaasDisplay';
  src: url('fonts/NeueHaasDisplay-Roman.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NeueHaasDisplay';
  src: url('fonts/NeueHaasDisplay-RomanItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'NeueHaasDisplay';
  src: url('fonts/NeueHaasDisplay-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NeueHaasDisplay';
  src: url('fonts/NeueHaasDisplay-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'NeueHaasDisplay';
  src: url('fonts/NeueHaasDisplay-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NeueHaasDisplay';
  src: url('fonts/NeueHaasDisplay-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'NeueHaasDisplay';
  src: url('fonts/NeueHaasDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IvyOra';
  src: url('fonts/IvyOraDisplay-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IvyOra';
  src: url('fonts/IvyOraDisplay-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IvyOraText';
  src: url('fonts/IvyOraText-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IvyOraText';
  src: url('fonts/IvyOraText-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IvyJournal';
  src: url('fonts/IvyJournal-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

[hidden] {
  display: none !important;
}

/* ── CSS Variables ── */
:root {
  --bg-page: #fafafa;
  --bg-light: #f3fff9;
  --bg-dark: #0a0a0a;
  --green: #49301f;
  --green-alpha: rgba(73, 48, 31, 0.82);
  --mint: #87c4a0;
  --text-dark: #0a0a0a;
  --text-light: #fafafa;
  --text-muted: #6b6e70;
  --border: #d4d8d5;

  --font-display: 'IvyOra', 'IvyJournal', Georgia, serif;
  --font-body: 'NeueHaasDisplay', 'Helvetica Neue', Arial, sans-serif;

  --text-hero: clamp(2.8rem, 7vw, 5.5rem);
  --text-h2: clamp(2rem, 4vw, 3rem);
  --text-h3: 1.125rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-label: 0.7rem;

  --radius: 2px;
  --transition: 0.25s ease;
  --shadow: 0 4px 32px rgba(0, 0, 0, 0.12);
}

/* ── Base ── */
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-body);
  color: var(--text-dark);
  background: var(--bg-page);
  line-height: 1.6;
}

/* ── Lang visibility ── */
html.lang-it [data-en-only] {
  display: none;
}

html.lang-en [data-it-only] {
  display: none;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}

.btn-hero {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(250, 250, 250, 0.6);
  margin-top: 2rem;
}

.btn-hero:hover {
  background: var(--text-light);
  color: var(--green);
  border-color: var(--text-light);
}

.btn-card {
  background: var(--green);
  color: var(--text-light);
  border: 1px solid var(--green);
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.btn-card:hover {
  background: transparent;
  color: var(--green);
}

/* ── Section common ── */
.section-eyebrow {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-title--light {
  color: var(--text-light);
}

.section-title--left {
  text-align: left;
}

.section-sub {
  font-size: var(--text-small);
  color: var(--text-muted);
  font-weight: 300;
}


/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), padding var(--transition);
}

.site-header.scrolled {
  background: var(--bg-dark);
  padding: 14px 40px;
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-vallenza {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(250, 250, 250, 0.6);
  padding: 2px 0;
  transition: color var(--transition);
  text-transform: uppercase;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--text-light);
}

.lang-btn.active {
  border-bottom: 1px solid var(--text-light);
}

.lang-sep {
  color: rgba(250, 250, 250, 0.3);
  font-size: 0.7rem;
}

/* Footer lang toggle adjustments */
.lang-toggle--footer .lang-btn {
  color: rgba(250, 250, 250, 0.5);
}

.lang-toggle--footer .lang-btn.active,
.lang-toggle--footer .lang-btn:hover {
  color: var(--text-light);
}


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 24px;
  margin-top: 60px;
}

.hero-eyebrow {
  font-size: var(--text-label);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.8);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text-light);
}

.hero-sub {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(250, 250, 250, 0.8);
  line-height: 1.7;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(250, 250, 250, 0.6), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
  }

  50% {
    opacity: 0.4;
    transform: scaleY(0.7);
  }
}


/* ══════════════════════════════════════════
   ESPERIENZE
══════════════════════════════════════════ */
.experiences {
  padding: 100px 40px;
  background: var(--bg-page);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-eyebrow {
  color: var(--green);
}

.section-header .section-title {
  color: var(--text-dark);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

/* ── Experience Card ── */
.exp-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow var(--transition), transform var(--transition);
}

.exp-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.exp-card--featured {
  border-color: var(--green);
}

.card-image {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.card-price {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: var(--radius);
  z-index: 1;
  line-height: 1.2;
}

.card-pp {
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 300;
  opacity: 0.7;
}

.card-badge {
  position: absolute;
  bottom: 14px;
  left: 16px;
  background: var(--green);
  color: #c4956a;
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius);
  z-index: 1;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.card-tag {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
}

.card-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-list li {
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.card-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.65rem;
  top: 3px;
}


/* ══════════════════════════════════════════
   COME FUNZIONA
══════════════════════════════════════════ */
.how-it-works {
  background: var(--bg-page);
  padding: 100px 40px;
}

.hiw-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.hiw-col .section-eyebrow {
  color: var(--green);
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 2rem;
}

.hiw-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

.hiw-step strong {
  font-weight: 500;
  color: var(--text-dark);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 2rem;
}

.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

.info-icon {
  color: var(--green);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.info-list strong {
  font-weight: 500;
  color: var(--text-dark);
}


/* ══════════════════════════════════════════
   ORARI
══════════════════════════════════════════ */
.hours {
  background: var(--bg-page);
  padding: 100px 40px;
  text-align: center;
}

.hours-inner {
  max-width: 700px;
  margin: 0 auto;
}

.hours .section-eyebrow {
  color: var(--green);
}

.hours-table-wrap {
  margin-top: 2.5rem;
  overflow-x: auto;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-small);
}

.hours-table th {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.hours-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 300;
  color: var(--text-dark);
  text-align: left;
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table td:first-child {
  font-weight: 500;
  color: var(--green);
  white-space: nowrap;
}

.hours-note {
  margin-top: 2rem;
  font-size: var(--text-small);
  color: var(--text-muted);
  font-style: italic;
}


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 64px 40px 40px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(250, 250, 250, 0.1);
}

.logo-frisino {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-mid {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-mid p {
  font-size: var(--text-small);
  font-weight: 300;
  color: rgba(250, 250, 250, 0.55);
}

.footer-mid a {
  color: rgba(250, 250, 250, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.footer-mid a:hover {
  color: var(--text-light);
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 4px;
}

.footer-social a {
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
}

.footer-social a:hover {
  color: var(--text-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(250, 250, 250, 0.08);
}

.footer-bottom p,
.footer-bottom a {
  font-size: var(--text-label);
  font-weight: 300;
  letter-spacing: 0.5px;
  color: rgba(250, 250, 250, 0.35);
  text-transform: uppercase;
}

.footer-bottom a:hover {
  color: var(--text-light);
}


/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════ */
@media (max-width: 767px) {
  .site-header {
    padding: 16px 20px;
  }

  .site-header.scrolled {
    padding: 12px 20px;
  }

  .hero-content {
    margin-top: 40px;
  }

  .hero-eyebrow {
    display: none;
  }

  .experiences {
    padding: 72px 20px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .how-it-works {
    padding: 72px 20px;
  }

  .hiw-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hours {
    padding: 72px 20px;
  }

  .site-footer {
    padding: 48px 20px 32px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hours-table th,
  .hours-table td {
    padding: 12px 8px;
  }
}

/* ══════════════════════════════════════════
   BOOKING MODAL
══════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--bg-page);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.modal-overlay.is-open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--text-muted);
  line-height: 1;
  padding: 4px 8px;
  transition: color var(--transition);
}

.modal-close:hover {
  color: var(--text-dark);
}

.modal-header {
  margin-bottom: 28px;
}

.modal-eyebrow {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.2;
}

.modal-price {
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 300;
}

/* ── Form ── */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-dark);
}

.label-hint {
  font-weight: 300;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--text-dark);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
}

.form-group textarea {
  resize: vertical;
}

.form-group--checkbox {
  flex-direction: row;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--text-muted);
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}

.form-error {
  font-size: var(--text-small);
  color: #c0392b;
  font-weight: 300;
}

.btn-submit {
  background: var(--green);
  color: var(--text-light);
  border: 1px solid var(--green);
  width: 100%;
  text-align: center;
  padding: 14px;
  transition: background var(--transition), color var(--transition), opacity var(--transition);
}

.btn-submit:hover:not(:disabled) {
  background: transparent;
  color: var(--green);
}

/* ── Success state ── */
.booking-success {
  text-align: center;
  padding: 48px 0;
}

.success-icon {
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 16px;
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.success-msg {
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .modal-box {
    padding: 28px 20px;
    max-height: 95vh;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}


@media (min-width: 768px) and (max-width: 1023px) {
  .experiences {
    padding: 80px 32px;
  }

  .how-it-works {
    padding: 80px 32px;
  }

  .hiw-inner {
    gap: 48px;
  }
}