/* ============================================================
   MAURI HOSPITALITY PARTNERS — style.css
   ============================================================
   Per modificare colori: cambia i valori in :root qui sotto
   Per modificare testi: modifica index.html
   Per sostituire il logo: sostituisci logo.png nella stessa cartella
   ============================================================ */


/* ── VARIABILI COLORE ─────────────────────────────────────── */
:root {
  --blu-reale:    #0F2E5F;   /* colore principale — header, nav, footer */
  --blu-cob:      #1755A8;   /* blu secondario — card consulenza pratica */
  --blu-002:      #002060;   /* blu scuro — accenti */
  --oro:          #C9A227;   /* oro principale — accenti, CTA */
  --oro-chiaro:   #E8C04A;   /* oro su sfondi scuri */
  --oro-brill:    #F2D070;   /* oro sottotitoli su scuro */
  --verde-tm:     #0D3D2E;   /* verde — card temporary management */
  --grigio-brok:  #5F5E5A;   /* grigio — card brokerage */

  --bianco:       #FFFFFF;
  --sfondo-ch:    #F4F7FD;   /* sfondo sezioni chiare */
  --testo:        #1A1A2E;   /* testo principale */
  --testo-mid:    #334155;   /* testo paragrafi */
  --testo-soft:   #6C757D;   /* testo secondario */
  --bordo:        #E2E8F0;   /* bordi card e separatori */

  /* Semafori — non modificare */
  --verde:        #1D9E75;
  --giallo:       #BA7517;
  --rosso:        #C0392B;
}


/* ── RESET E BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--testo);
  background: var(--bianco);
  overflow-x: hidden;
}


/* ── NAVIGAZIONE ──────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 90px;                          /* ← altezza nav */
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bordo);
  box-shadow: 0 1px 12px rgba(15,46,95,0.06);
}

.nav-logo img {
  height: 74px;                          /* ← dimensione logo nav */
  width: auto;
  display: block;
  padding: 8px 0;                        /* ← spazio sopra/sotto logo */
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blu-reale);
  white-space: nowrap;
  margin-left: 0.9rem;
}

.nav-links a {
  color: var(--blu-reale);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--oro); }

.nav-cta {
  background: var(--oro) !important;
  color: var(--testo) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 3px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--oro-chiaro) !important; }


/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: 90px;                     /* ← deve corrispondere ad altezza nav */
  background: var(--blu-reale);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: linear-gradient(135deg, #0F2E5F 0%, #1755A8 60%, #0F2E5F 100%);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-left {
  padding: 80px 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oro);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--oro);
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  color: var(--bianco);
  line-height: 1.12;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--oro-brill);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--oro);
  color: var(--testo);
  padding: 0.85rem 1.8rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--oro-chiaro); transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  padding: 0.85rem 1.8rem;
  border-radius: 3px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--oro); color: var(--oro); }

.hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 5%;
}

.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 8px;
  padding: 2.5rem;
  max-width: 320px;
  width: 100%;
}
.hero-card-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.hero-stat {
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-stat:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--oro-brill);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-stat-desc { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.4; }

.oro-line {
  height: 4px;
  background: linear-gradient(90deg, var(--blu-reale), var(--oro), var(--blu-cob));
}


/* ── SEZIONI — ELEMENTI COMUNI ────────────────────────────── */
.section-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oro);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--oro);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--testo);
  margin-bottom: 1.5rem;
}


/* ── CHI SIAMO ────────────────────────────────────────────── */
.about {
  padding: 100px 5%;                     /* ← padding sezione */
  background: var(--sfondo-ch);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text p {
  color: var(--testo-mid);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.about-quote {
  border-left: 3px solid var(--oro);
  padding-left: 1.2rem;
  margin-top: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--blu-reale);
  line-height: 1.5;
}

.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.about-card {
  background: var(--bianco);
  border: 1px solid var(--bordo);
  border-radius: 6px;
  padding: 1.4rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.about-card:hover { border-color: var(--oro); box-shadow: 0 4px 20px rgba(201,162,39,0.1); }
.about-card-icon { font-size: 1.4rem; margin-bottom: 0.6rem; }
.about-card-title { font-weight: 600; font-size: 0.85rem; color: var(--testo); margin-bottom: 0.3rem; }
.about-card-desc { font-size: 0.78rem; color: var(--testo-soft); line-height: 1.5; }


/* ── SERVIZI ──────────────────────────────────────────────── */
.services {
  padding: 100px 5%;
  background: var(--bianco);
}

.services-header { text-align: center; max-width: 620px; margin: 0 auto 4rem; }
.services-header p {
  margin-top: 0.75rem;
  color: var(--testo-soft);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.service-card {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15,46,95,0.15);
}

.service-card-header {
  padding: 2rem 1.8rem 1.5rem;
  position: relative;
  height: 180px;                         /* ← altezza fissa header card */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.service-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  opacity: 0.15;
  position: absolute;
  top: 1rem; right: 1.5rem;
  line-height: 1;
  color: var(--bianco);
}

.service-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.15);
}

.service-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--bianco);
  line-height: 1.2;
}

.service-card-body {
  background: var(--bianco);
  padding: 1.5rem 1.8rem 2rem;
  border: 1px solid var(--bordo);
  border-top: none;
  border-radius: 0 0 8px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--testo-mid);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}
.service-features li {
  font-size: 0.8rem;
  color: var(--testo-soft);
  padding: 0.3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.service-features li::before {
  content: '—';
  color: var(--oro);
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 0.1rem;
}

.service-cta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}
.service-card:hover .service-cta { gap: 0.7rem; }

/* Colori header card */
.card-mg   .service-card-header { background: var(--blu-reale); }
.card-mg   .service-cta         { color: var(--blu-reale); }
.card-impl .service-card-header { background: var(--blu-cob); }
.card-impl .service-cta         { color: var(--blu-cob); }
.card-tm   .service-card-header { background: var(--verde-tm); }
.card-tm   .service-cta         { color: var(--verde-tm); }

/* Card brokerage — non attiva */
.card-brok {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
  filter: grayscale(0.3);
}
.card-brok:hover { transform: none; box-shadow: none; }
.card-brok .service-card-header { background: var(--grigio-brok); }

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #F4F4F4;
  border: 1px solid #DDD;
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  margin-top: 0.5rem;
}


/* ── PROCESSO ─────────────────────────────────────────────── */
.process {
  padding: 100px 5%;
  background: var(--blu-reale);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,162,39,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.process-header { text-align: center; max-width: 500px; margin: 0 auto 4rem; }
.process-header .section-title { color: var(--bianco); }
.process-header p { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.7; font-weight: 300; }

.process-steps {
  display: flex;
  align-items: flex-start;
  max-width: 960px;
  margin: 0 auto;
}

.process-step { flex: 1; text-align: center; position: relative; padding: 0 1rem; }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 30px);
  right: calc(-50% + 30px);
  height: 1px;
  background: linear-gradient(90deg, rgba(201,162,39,0.4), rgba(201,162,39,0.1));
}

.process-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--oro);
  position: relative;
  z-index: 1;
  background: var(--blu-reale);
  transition: background 0.2s, border-color 0.2s;
}
.process-step:hover .process-circle { background: rgba(201,162,39,0.1); border-color: var(--oro); }
.process-step-title { font-weight: 600; font-size: 0.85rem; color: var(--bianco); margin-bottom: 0.5rem; }
.process-step-desc { font-size: 0.78rem; color: rgba(255,255,255,0.4); line-height: 1.6; font-weight: 300; }


/* ── PERCHÉ NOI ───────────────────────────────────────────── */
.why { padding: 100px 5%; background: var(--sfondo-ch); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.why-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.why-dot { width: 8px; height: 8px; background: var(--oro); border-radius: 50%; margin-top: 0.5rem; flex-shrink: 0; }
.why-item-title { font-weight: 600; font-size: 0.9rem; color: var(--testo); margin-bottom: 0.3rem; }
.why-item-desc { font-size: 0.85rem; color: var(--testo-soft); line-height: 1.6; font-weight: 300; }

.why-visual {
  background: var(--blu-reale);
  border-radius: 10px;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.why-visual::before {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,162,39,0.15), transparent 70%);
}

.why-visual-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--bianco);
  line-height: 1.5;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.why-visual-quote::before {
  content: '"';
  font-size: 5rem;
  color: rgba(201,162,39,0.2);
  position: absolute;
  top: -1.5rem; left: -0.5rem;
  line-height: 1;
}

.why-visual-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.why-stat {
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.why-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--oro-brill);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.why-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); line-height: 1.3; }


/* ── CONTATTI ─────────────────────────────────────────────── */
.contact { padding: 100px 5%; background: var(--bianco); }
.contact-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.contact-inner .section-title { margin-bottom: 1rem; }
.contact-inner > p { color: var(--testo-soft); font-size: 0.95rem; line-height: 1.7; margin-bottom: 2.5rem; font-weight: 300; }

.contact-form {
  background: var(--sfondo-ch);
  border: 1px solid var(--bordo);
  border-radius: 10px;
  padding: 2.5rem;
  text-align: left;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--testo-mid);
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--bordo);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--testo);
  background: var(--bianco);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blu-cob); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%;
  background: var(--blu-reale);
  color: var(--bianco);
  border: none;
  padding: 1rem;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.form-submit::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--oro);
}
.form-submit:hover { background: var(--blu-cob); }

.contact-alternative { margin-top: 1.5rem; font-size: 0.82rem; color: var(--testo-soft); }
.contact-alternative a { color: var(--blu-cob); text-decoration: none; font-weight: 500; }


/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--blu-reale);
  border-top: 1px solid rgba(201,162,39,0.2);
  padding: 3rem 5% 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  height: 52px;                          /* ? dimensione logo footer */
  width: auto;
  display: block;
  margin-bottom: 1rem;
  background: white;                     /* ? sfondo bianco per logo */
  padding: 8px 14px;
  border-radius: 6px;
}

.footer-logo {
  height: 62px;                          /* ? dimensione logo footer */
  width: auto;
  display: block;
  margin-bottom: 1rem;
  background: white;                     /* ? sfondo bianco per logo */
  padding: 8px 14px;
  border-radius: 6px;
}
.footer-tagline { font-size: 0.78rem; color: rgba(255,255,255,0.35); line-height: 1.6; margin-bottom: 1rem; font-weight: 300; }
.footer-email { font-size: 0.82rem; color: var(--oro); text-decoration: none; }

.footer-col-title { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); font-weight: 600; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--oro); }
.footer-links .disabled { color: rgba(255,255,255,0.2); cursor: default; pointer-events: none; }
.footer-links .disabled::after { content: ' — prossimamente'; font-size: 0.7rem; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: rgba(255,255,255,0.2); }
.footer-services-tags { display: flex; gap: 0.5rem; }
.footer-tag { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 3px; padding: 0.2rem 0.5rem; font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.3); }


/* ── ANIMAZIONI SCROLL ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }


/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero::after { display: none; }
  .hero-right { display: none; }
  .hero-left { padding: 60px 6%; }
  .about { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { flex-wrap: wrap; }
  .process-step::after { display: none; }
  .why-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-brand { display: none; }
}
