/* ============================================================
   SoulExperience — main.css
   Stili condivisi: variabili, nav, footer, utility
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --navy:  #08192e;
  --navy2: #0d2a48;
  --navy3: #103660;
  --az:    #1b6ca8;
  --az2:   #2d8fd4;
  --az3:   #6bb8e8;
  --az4:   #b8ddf4;
  --gold:  #c8a45a;
  --gold2: #e0c080;
  --white: #ffffff;
  --ff: 'Playfair Display', Georgia, serif;
  --fb: 'Lato', 'Helvetica Neue', sans-serif;
  --radius: 2px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--fb);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: var(--ff); font-weight: 400; }
em { font-style: italic; color: var(--az3); }
a { color: inherit; text-decoration: none; }

/* ── TOP STRIP ── */
.top-strip {
  background: var(--gold);
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 101;
}
.top-strip a {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: opacity .2s;
}
.top-strip a:hover { opacity: .8; }
.top-strip span {
  font-size: 13px;
  color: var(--navy);
  opacity: .75;
}

/* ── NAVBAR ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--ff);
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: .05em;
}
.nav-logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  height: 100%;
}
.nav-links li a {
  display: flex;
  align-items: center;
  height: 68px;
  padding: 0 18px;
  font-size: 15px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all .2s;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

/* ── BUTTONS ── */
.btn-gold {
  padding: 13px 30px;
  background: var(--gold);
  border: none;
  color: var(--navy);
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all .25s;
  white-space: nowrap;
  display: inline-block;
}
.btn-gold:hover { background: var(--gold2); transform: translateY(-1px); }

.btn-outline {
  padding: 13px 30px;
  background: transparent;
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white);
  font-family: var(--fb);
  font-size: 15px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all .25s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.07); }

.btn-az {
  padding: 10px 22px;
  background: var(--az);
  border: none;
  color: var(--white);
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .2s;
}
.btn-az:hover { background: var(--az2); }

/* ── HAMBURGER & MOBILE MENU ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all .3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--ff);
  font-size: 26px;
  color: var(--white);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  width: 280px;
  text-align: center;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 32px;
  color: rgba(255,255,255,.5);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.mob-phone {
  margin-top: 24px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
  border-bottom: none !important;
}
.mob-cta {
  margin-top: 8px;
  padding: 13px 44px;
  background: var(--gold);
  border: none;
  color: var(--navy);
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius);
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--gold);
  padding: 22px 48px;
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  border-right: 1px solid rgba(8,25,46,.2);
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 24px; }
.trust-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.trust-text span {
  font-size: 12px;
  color: rgba(8,25,46,.65);
}

/* ── FOOTER ── */
footer {
  background: #040d18;
  padding: 48px 48px 24px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .fl-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-brand .fl-wrap img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}
.footer-logo-text {
  font-family: var(--ff);
  font-size: 20px;
  color: var(--white);
}
.footer-logo-text span { color: var(--gold); }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  font-weight: 300;
  max-width: 270px;
}
.footer-phone {
  display: inline-block;
  margin-top: 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  margin-bottom: 9px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.22); }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 150;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,13,24,.93);
  backdrop-filter: blur(10px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  padding: 16px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--navy2);
  border: 1px solid rgba(255,255,255,.1);
  padding: 36px 32px;
  max-width: 500px;
  width: 100%;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(16px);
  transition: transform .3s;
  border-radius: var(--radius);
}
.modal-overlay.open .modal { transform: none; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 22px;
  color: rgba(255,255,255,.5);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.modal h2 {
  font-family: var(--ff);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 6px;
}
.modal p.modal-sub {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  margin-bottom: 22px;
}
.mf { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.mf label {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.mf input, .mf select, .mf textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  padding: 12px 14px;
  font-family: var(--fb);
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  border-radius: 0;
  width: 100%;
}
.mf input:focus, .mf select:focus, .mf textarea:focus { border-color: var(--az2); }
.mf select option { background: var(--navy2); }
.mf textarea { resize: vertical; min-height: 80px; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-note {
  font-size: 12px;
  color: rgba(255,255,255,.28);
  text-align: center;
  margin-top: 12px;
}

/* ── SCROLL ANIMATIONS ── */
.anim { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.anim.vis { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* ── SECTION BASE ── */
.sec { padding: 80px 48px; }
.sec-label {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}
.sec h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin-bottom: 14px; }
.sec-intro { font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.55); font-weight: 300; max-width: 580px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .trust-item { padding: 0 20px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-phone, .nav-right .btn-gold { display: none; }
  .hamburger { display: flex; }
  nav { padding: 0 20px; height: 60px; }
  .nav-logo-img { height: 38px; width: 38px; }
  .nav-logo-text { font-size: 18px; }
  .top-strip { padding: 8px 16px; }
  .top-strip span { display: none; }
  .sec { padding: 56px 20px; }
  .trust-bar { flex-direction: column; padding: 16px 20px; gap: 0; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(8,25,46,.15); padding: 12px 0; width: 100%; justify-content: flex-start; }
  .trust-item:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .mf-row { grid-template-columns: 1fr; }
  footer { padding: 40px 20px 20px; }
}
