/* ═══════════════════════════════════════════
   Cristina Gessner — style.css
   Palette: bianco / verde salvia #8a9e6e / blu notte #1e3a50
═══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #fff;
  color: #2a3a30;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  padding-top: 104px; /* topbar 32px + navbar 72px */
}

/* ── Palette ── */
:root {
  --white:       #ffffff;
  --off-white:   #f8f9f7;
  --sage:        #8a9e6e;
  --sage-light:  #e8ede0;
  --sage-mid:    #6b8254;
  --slate:       #4a6878;
  --navy:        #1e3a50;
  --navy-deep:   #162d3e;
  --text-body:   #2a3a30;
  --text-muted:  #6a7a70;
  --border:      #dde5d8;
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
}

/* ── Tipografia ── */
h1, h2, h3 {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 0.85rem; letter-spacing: 0.2em; }
p  { font-size: 1rem; color: var(--text-body); line-height: 1.8; }
a  { color: var(--sage-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

.label {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 0.6rem;
}

/* ── Layout ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
section { padding: 7rem 0; }

/* ═══════════════════════════════════════════
   TOPBAR — soluzione A
   Banda 32px autonoma, sopra tutto
═══════════════════════════════════════════ */
#topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 32px;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.topbar-url {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
}

/* Selettore lingua nella topbar */
.lang-sw {
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-sm);
}
.lang-btn {
  display: block;
  padding: 0.22rem 0.65rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}
.lang-btn:hover { color: rgba(255,255,255,0.85); text-decoration: none; }
.lang-btn.active {
  background: var(--sage);
  color: #fff;
}

/* ═══════════════════════════════════════════
   NAVBAR — sotto la topbar
   top: 32px, height: 72px
═══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 32px; left: 0; right: 0;
  z-index: 199;
  height: 72px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s;
}
#navbar.scrolled {
  box-shadow: 0 2px 16px rgba(30,58,80,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  gap: 2rem;
}

/* Logo nella navbar — dimensioni controllate, no sovrapposizioni */
.nav-logo {
  flex-shrink: 0;
  display: block;
  line-height: 0;
}
.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
  max-width: 180px;
}

/* Link navigazione */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--navy); text-decoration: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.25s, opacity 0.25s;
}

/* ═══════════════════════════════════════════
   HERO — split 50/50
═══════════════════════════════════════════ */
#hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 104px);
  margin-top: 0;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem 5rem 4rem;
  background: var(--white);
}
.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--sage-light);
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-right::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--sage), var(--slate));
  z-index: 2;
}

.hero-tag {
  display: none;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--sage);
}
.hero-name {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 200;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 0.5rem;
}
.hero-name strong {
  display: block;
  font-weight: 700;
}
.hero-discipline {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 1.5rem 0 2.5rem;
}
.hero-discipline .dot { color: var(--slate); }
.hero-intro {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 400px;
  margin-bottom: 3rem;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--sage);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
  width: fit-content;
}
.hero-cta::after { content: '→'; font-size: 0.9rem; transition: transform 0.2s; }
.hero-cta:hover { color: var(--sage-mid); border-color: var(--sage-mid); text-decoration: none; }
.hero-cta:hover::after { transform: translateX(4px); }

/* ── Banda credenziali rapide ── */
.band {
  background: var(--navy);
  padding: 1.8rem 0;
}
.band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.band-item {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.band-item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage);
  display: block;
}
.band-item:first-child::before { display: none; }

/* ═══════════════════════════════════════════
   CHI SONO
═══════════════════════════════════════════ */
#chi-sono { background: var(--white); }
#chi-sono .layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 6rem;
  align-items: start;
}
.photo-frame { position: relative; }
.photo-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--r-md);
}
.photo-frame::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 60%; height: 60%;
  border: 2px solid var(--sage-light);
  border-radius: var(--r-md);
  z-index: -1;
}
.text-block h2 { margin-bottom: 1.5rem; }
.text-block p  { margin-bottom: 1.25rem; }

/* ═══════════════════════════════════════════
   SERVIZI
═══════════════════════════════════════════ */
#servizi { background: var(--off-white); }
#servizi .head { text-align: center; max-width: 560px; margin: 0 auto 4.5rem; }
#servizi .head h2 { margin-bottom: 0.75rem; }
#servizi .head p { color: var(--text-muted); font-size: 0.97rem; }

.servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: 3px solid var(--sage);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(30,58,80,0.1);
}
.card-img { aspect-ratio: 3/2; overflow: hidden; background: var(--sage-light); }
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s;
}
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.75rem; }
.card-body h3 {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.card-body p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.75; }
.card-footer {
  padding: 0 1.75rem 1.5rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ═══════════════════════════════════════════
   CITAZIONE
═══════════════════════════════════════════ */
.quote-band {
  background: var(--sage);
  padding: 5rem 0;
  text-align: center;
}
.quote-band blockquote {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--white);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.65;
  font-weight: normal;
}
.quote-band cite {
  display: block;
  margin-top: 1.5rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-style: normal;
}

/* ═══════════════════════════════════════════
   CREDENZIALI
═══════════════════════════════════════════ */
#credenziali { background: var(--white); }
#credenziali .layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 6rem;
  align-items: start;
}
.cred-list { list-style: none; }
.cred-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}
.cred-num {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sage);
  flex-shrink: 0;
  width: 22px;
  padding-top: 3px;
}
.cred-photo {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 2/3;
  background: var(--sage-light);
  position: sticky;
  top: 120px; /* topbar + navbar */
}
.cred-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ═══════════════════════════════════════════
   GALLERIA
═══════════════════════════════════════════ */
#galleria { background: var(--navy-deep); padding: 5.5rem 0; }
#galleria .label { color: var(--sage); }
#galleria h2 { color: var(--white); margin-bottom: 2.5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 280px 280px;
  gap: 8px;
}
.gi { overflow: hidden; border-radius: var(--r-sm); background: var(--slate); cursor: pointer; }
.gi img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.gi:hover img { transform: scale(1.06); }
.gi-1 { grid-column: 1 / 6;  grid-row: 1; }
.gi-2 { grid-column: 6 / 9;  grid-row: 1; }
.gi-3 { grid-column: 9 / 13; grid-row: 1 / 3; }
.gi-4 { grid-column: 1 / 4;  grid-row: 2; }
.gi-5 { grid-column: 4 / 7;  grid-row: 2; }
.gi-6 { grid-column: 7 / 9;  grid-row: 2; }

/* ═══════════════════════════════════════════
   CONTATTI
═══════════════════════════════════════════ */
#contatti { background: var(--off-white); }
#contatti .layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
#contatti h2 { margin-bottom: 1rem; }
#contatti .intro { color: var(--text-muted); margin-bottom: 2.5rem; }

.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-row   { display: flex; align-items: flex-start; gap: 1rem; }
.contact-ic {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--sage-light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem;
}
.contact-row a { color: var(--navy); font-size: 0.95rem; }
.contact-row a:hover { color: var(--sage-mid); text-decoration: none; }
.contact-row small {
  display: block;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.co-note {
  background: var(--sage-light);
  border-radius: var(--r-md);
  border-left: 3px solid var(--sage);
  padding: 2rem 2rem 2rem 1.75rem;
}
.co-note p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.co-note p:last-child { margin-bottom: 0; }
.co-note strong { color: var(--navy); }
.co-note .co-cta {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sage-mid);
  font-style: italic;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--navy-deep);
  padding: 3.5rem 0 2rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
/* .footer-logo rimosso */
.footer-info {
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  line-height: 1.9;
}
.footer-info a { color: rgba(255,255,255,0.4); }
.footer-info a:hover { color: var(--sage); text-decoration: none; }
.footer-links {
  display: flex; flex-direction: column;
  gap: 0.5rem; align-items: flex-end;
}
.footer-links a {
  color: rgba(255,255,255,0.35);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--sage); text-decoration: none; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  color: rgba(255,255,255,0.22);
  font-size: 0.65rem;
  line-height: 1.9;
}

/* ═══════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 500;
  background: var(--navy-deep);
  border-top: 3px solid var(--sage);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner p { flex: 1; line-height: 1.6; }
#cookie-banner a { color: var(--sage); text-decoration: underline; }
.ck-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }
.btn-ck-ok {
  background: var(--sage);
  color: #fff; border: none;
  padding: 0.55rem 1.4rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.2s;
}
.btn-ck-ok:hover { background: var(--sage-mid); }
.btn-ck-no {
  background: transparent;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-sm); cursor: pointer;
  font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ck-no:hover { border-color: rgba(255,255,255,0.45); color: rgba(255,255,255,0.75); }

/* ═══════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════ */
#lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 600;
  background: rgba(10,20,30,0.96);
  align-items: center; justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--r-sm); }
#lb-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none;
  color: rgba(255,255,255,0.55); font-size: 2rem;
  cursor: pointer; line-height: 1; transition: color 0.2s;
}
#lb-close:hover { color: #fff; }

/* ═══════════════════════════════════════════
   POLICY OVERLAY
═══════════════════════════════════════════ */
.policy-ov {
  display: none;
  position: fixed; inset: 0; z-index: 700;
  background: var(--white); overflow-y: auto;
}
.policy-ov.open { display: block; }
.policy-inner { max-width: 720px; margin: 0 auto; padding: 5rem 2rem; }
.policy-inner h1 {
  font-size: 1.8rem; text-transform: none;
  letter-spacing: 0.02em; margin-bottom: 0.4rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300; color: var(--navy);
}
.pol-date {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.68rem; color: var(--text-muted);
  letter-spacing: 0.12em; margin-bottom: 2.5rem;
}
.policy-inner h2 {
  font-size: 0.95rem; text-transform: none;
  letter-spacing: 0.05em; margin: 2rem 0 0.6rem;
  font-weight: 600;
}
.policy-inner p, .policy-inner li {
  font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0.7rem;
}
.policy-inner ul { padding-left: 1.25rem; }
.policy-inner a { color: var(--sage-mid); }
.pol-close {
  position: fixed; top: 1.5rem; right: 1.5rem;
  background: var(--navy); color: #fff;
  border: none; border-radius: 50%;
  width: 40px; height: 40px; font-size: 1.1rem;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  z-index: 701;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 960px) {
  /* ── Hero mobile: colonna singola, immagine sotto il testo ── */
  #hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }
  .hero-left {
    order: 1;
    padding: 0.5rem 2rem 2rem;
    justify-content: flex-start;
  }
  .hero-right {
    order: 2;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: var(--sage-light);
  }
  .hero-right img {
    width: 100%;
    height: auto;
    max-height: 60vw;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  .hero-right::before { display: none; }
  #chi-sono .layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .photo-frame::after { display: none; }
  .photo-frame img { aspect-ratio: 16/9; max-height: 300px; }
  #credenziali .layout { grid-template-columns: 1fr; }
  .cred-photo { display: none; }
  .servizi-grid { grid-template-columns: 1fr 1fr; }
  #contatti .layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gi { grid-column: auto !important; grid-row: auto !important; }
  .gi img { aspect-ratio: 3/2; height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* .footer-logo rimosso */
}

@media (max-width: 640px) {
  body { padding-top: 96px; } /* topbar 32px + navbar 64px */
  #navbar { height: 64px; top: 32px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed;
    top: 96px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem; gap: 1.25rem; z-index: 198;
  }
  .nav-toggle { display: flex; }
  .nav-logo img { height: 38px; }
  .servizi-grid { grid-template-columns: 1fr; }
  section { padding: 4.5rem 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
  .band-inner { gap: 1.2rem; }
  #cookie-banner { flex-direction: column; padding: 1rem; }
  .ck-btns { width: 100%; }
  .btn-ck-ok, .btn-ck-no { flex: 1; text-align: center; }
  .topbar-url { display: none; }
}

@media (max-width: 400px) {
  .hero-name { font-size: 2rem; }
  .hero-left { padding: 1.5rem 1.25rem 2.5rem; }
}


/* ═══════════════════════════════════════════
   RESPONSIVE FIXES — mobile/tablet
   (revisione giugno 2026)
═══════════════════════════════════════════ */

/* Topbar: nessun elemento figlio esce dal contenitore */
#topbar { overflow: hidden; }
.lang-sw { flex-shrink: 0; align-self: center; }
.lang-btn { display: inline-block !important; vertical-align: middle; }

/* Nessun scroll orizzontale */
body { overflow-x: hidden; }

@media (max-width: 640px) {
  /* Hero testo: dimensioni mobile */
  .hero-name  { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .hero-intro { font-size: 0.9rem; max-width: 100%; margin-bottom: 2rem; }
  .hero-left  { padding: 1.25rem 1.25rem 2rem; }
  .hero-right img { max-height: 55vw; }
}

@media (max-width: 400px) {
  .hero-name  { font-size: 1.85rem; }
  .hero-left  { padding: 1rem 1rem 1.5rem; }
  .hero-right img { max-height: 58vw; }
}

/* Contact links: no overflow su mobile */
.contact-row           { min-width: 0; }
.contact-row > div     { min-width: 0; flex: 1; }
.contact-row a         { word-break: break-all; overflow-wrap: anywhere; display: block; }
.contact-ic            { flex-shrink: 0 !important; }
