/* ============================================
   STUDIO MUCCIARONE — Foglio stile principale
   Design by Marco Consiglio — 2026
   ============================================ */

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

/* ---- Tokens ---- */
:root {
  --deep-navy:   #0D1B2A;
  --sky-teal:    #3A7D8C;
  --soft-teal:   #5BA3B0;
  --pale-mint:   #E8F4F6;
  --warm-white:  #F9FBFC;
  --gold:        #C4963A;
  --gold-light:  #E8C97A;
  --ink:         #1C2B38;
  --mid-grey:    #6B7E8A;
  --light-grey:  #D6E4E8;
  --radius:      6px;
  --transition:  0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- TOPBAR ---- */
.topbar {
  background: var(--deep-navy);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 8px 0;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: var(--gold-light); }
.topbar a:hover { color: #fff; }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 2px solid var(--sky-teal);
  box-shadow: 0 2px 12px rgba(13,27,42,0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--sky-teal), var(--deep-navy));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}
.logo-text .studio { font-size: 0.7rem; color: var(--mid-grey); letter-spacing: 0.12em; text-transform: uppercase; }
.logo-text .name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--deep-navy); line-height: 1.1; }
.logo-text .spec { font-size: 0.7rem; color: var(--sky-teal); letter-spacing: 0.06em; }

nav { display: flex; align-items: center; gap: 32px; }
nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.03em;
  position: relative;
  transition: color var(--transition);
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sky-teal);
  transition: width var(--transition);
}
nav a:hover { color: var(--sky-teal); }
nav a:hover::after { width: 100%; }
nav a.active { color: var(--sky-teal); }
nav a.active::after { width: 100%; }

.btn-prenota {
  background: var(--sky-teal);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn-prenota:hover {
  background: var(--deep-navy) !important;
  transform: translateY(-1px);
}
.btn-prenota::after { display: none !important; }

/* ---- HAMBURGER (mobile) ---- */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #1a3a4f 60%, var(--sky-teal) 100%);
  color: #fff;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(58,125,140,0.18);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(196,150,58,0.10);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold);
  color: var(--deep-navy);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(8px);
}
.hero-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--gold-light);
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-item { text-align: center; }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.65); margin-top: 4px; line-height: 1.3; }
.hero-badges { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.badge {
  background: rgba(58,125,140,0.3);
  border: 1px solid rgba(58,125,140,0.5);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* ---- SEZIONE GENERICA ---- */
.section { padding: 80px 0; }
.section.bg-pale { background: var(--pale-mint); }
.section.bg-navy { background: var(--deep-navy); color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-head { text-align: center; margin-bottom: 60px; }
.section-head .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-teal);
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 14px;
  line-height: 1.2;
}
.section.bg-navy .section-head h2 { color: #fff; }
.section-head p { color: var(--mid-grey); max-width: 560px; margin: 0 auto; font-size: 1rem; }
.section.bg-navy .section-head p { color: rgba(255,255,255,0.7); }
.divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--sky-teal), var(--gold));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ---- SERVIZI GRID ---- */
.servizi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.servizio-card {
  background: #fff;
  border: 1px solid var(--light-grey);
  border-radius: 12px;
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.servizio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--sky-teal), var(--deep-navy));
  opacity: 0;
  transition: opacity var(--transition);
}
.servizio-card:hover { box-shadow: 0 8px 32px rgba(13,27,42,0.12); transform: translateY(-4px); border-color: var(--sky-teal); }
.servizio-card:hover::before { opacity: 1; }
.serv-icon { font-size: 2rem; margin-bottom: 16px; }
.servizio-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--deep-navy);
  margin-bottom: 10px;
}
.servizio-card p { font-size: 0.88rem; color: var(--mid-grey); line-height: 1.6; }
.serv-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky-teal);
  border: 1px solid var(--light-grey);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ---- CHI SIAMO ---- */
.chi-siamo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.chi-siamo-img {
  background: linear-gradient(135deg, var(--pale-mint), var(--light-grey));
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  border: 1px solid var(--light-grey);
  position: relative;
}
.chi-siamo-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky-teal), var(--gold));
}
.chi-siamo-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--deep-navy);
  margin-bottom: 20px;
  line-height: 1.2;
}
.chi-siamo-content .lead { font-size: 1.05rem; color: var(--sky-teal); margin-bottom: 20px; font-weight: 500; }
.chi-siamo-content p { color: var(--mid-grey); margin-bottom: 16px; font-size: 0.95rem; }
.info-list { margin: 28px 0; display: flex; flex-direction: column; gap: 12px; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--pale-mint);
  border-radius: 8px;
  border-left: 3px solid var(--sky-teal);
}
.info-item strong { color: var(--deep-navy); font-size: 0.85rem; }
.info-item span { font-size: 0.85rem; color: var(--mid-grey); }
.info-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* ---- SEDI ---- */
.sedi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.sede-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 36px 32px;
  transition: background var(--transition);
}
.sede-card:hover { background: rgba(255,255,255,0.1); }
.sede-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sede-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}
.sede-detail .icon { font-size: 1rem; color: var(--soft-teal); flex-shrink: 0; margin-top: 2px; }
.sede-detail strong { color: rgba(255,255,255,0.5); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.sede-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--soft-teal);
  border: 1px solid rgba(91,163,176,0.4);
  padding: 7px 16px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.sede-map-btn:hover { background: rgba(91,163,176,0.15); border-color: var(--soft-teal); }

/* ---- PREVENTIVO / CTA ---- */
.cta-band {
  background: linear-gradient(135deg, var(--sky-teal), var(--deep-navy));
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 14px;
}
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 1rem; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-gold {
  background: var(--gold);
  color: var(--deep-navy);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-white-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all var(--transition);
}
.btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ---- CONTATTI FORM ---- */
.contatti-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--deep-navy);
  margin-bottom: 24px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail .ci-icon {
  width: 40px; height: 40px;
  background: var(--pale-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 0.75rem; color: var(--mid-grey); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.contact-detail a, .contact-detail span { font-size: 0.95rem; color: var(--ink); }
.contact-detail a:hover { color: var(--sky-teal); }

.form-card {
  background: #fff;
  border: 1px solid var(--light-grey);
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(13,27,42,0.06);
}
.form-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--deep-navy);
  margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--ink); letter-spacing: 0.04em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--warm-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--sky-teal);
  box-shadow: 0 0 0 3px rgba(58,125,140,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.privacy-note { font-size: 0.78rem; color: var(--mid-grey); margin-bottom: 18px; line-height: 1.5; }
.btn-submit {
  width: 100%;
  background: var(--sky-teal);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-submit:hover { background: var(--deep-navy); transform: translateY(-1px); }

/* ---- FOOTER ---- */
footer {
  background: var(--deep-navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.82rem; line-height: 1.6; }
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--soft-teal); }
.footer-col p { font-size: 0.85rem; margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--soft-teal); }
.albo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(58,125,140,0.2);
  border: 1px solid rgba(58,125,140,0.4);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  color: var(--soft-teal);
  margin-top: 12px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .servizi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 16px 24px; border-bottom: 1px solid var(--light-grey); box-shadow: 0 8px 24px rgba(13,27,42,0.1); gap: 16px; }
  nav.open { display: flex; }
  .hamburger { display: flex; }
  .hero-inner, .chi-siamo-grid, .contatti-grid { grid-template-columns: 1fr; gap: 40px; }
  .chi-siamo-img { aspect-ratio: 16/9; font-size: 4rem; }
  .sedi-grid { grid-template-columns: 1fr; }
  .servizi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .hero-card { padding: 28px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .topbar-inner { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 1.8rem; }
}
