/* ================================================
   style.css
   Portfolio di Bashar IftuRahman — 2026
   Design: Neumorphic, tema chiaro/scuro
   Font: Cinzel (titoli) + Urbanist (tutto il resto)
================================================ */

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


/* ------------------------------------------------
   VARIABILI — modifica qui per cambiare i colori
------------------------------------------------ */
:root {
  --bg:             #e4e1dc;
  --bg-card:        #e8e5e0;
  --text:           #2a2724;
  --text-soft:      #5a564f;
  --text-faint:     #9a958d;
  --shadow-dark:    #bfbcb7;
  --shadow-light:   #ffffff;
  --sidebar-w:      230px;
  --radius:         16px;
  --loader-color:   #2a2724;

  --sh-out:   6px 6px 14px var(--shadow-dark), -6px -6px 14px var(--shadow-light);
  --sh-in:    inset 4px 4px 10px var(--shadow-dark), inset -4px -4px 10px var(--shadow-light);
  --sh-sm:    3px 3px 8px var(--shadow-dark), -3px -3px 8px var(--shadow-light);
}

[data-theme="dark"] {
  --bg:            #1e1c19;
  --bg-card:       #1b1916;
  --text:          #e8e4dc;
  --text-soft:     #a09b92;
  --text-faint:    #605c55;
  --shadow-dark:   #0b0b09;
  --shadow-light:  #312e2a;
  --loader-color:  #e8e4dc;

  --sh-out:  5px 5px 12px var(--shadow-dark), -5px -5px 12px var(--shadow-light);
  --sh-in:   inset 4px 4px 9px var(--shadow-dark), inset -4px -4px 9px var(--shadow-light);
  --sh-sm:   3px 3px 7px var(--shadow-dark), -3px -3px 7px var(--shadow-light);
}


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

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--bg);
  font-family: 'Urbanist', sans-serif;
  display: flex;
  color: var(--text);
  transition: background .3s, color .3s;
}


/* ================================================
   LOADER
   Appare solo alla prima visita (vedi main.js)
================================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  transition: opacity .7s ease, visibility .7s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* barra verticale — incollata al bordo sinistro */
.loader-bar-wrap {
  position: absolute;
  left: 2.5rem;
  top: 2rem;
  bottom: 2rem;
  width: 3px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  box-shadow: var(--sh-in);
}
.loader-bar-fill {
  width: 100%;
  height: 0%;
  background: var(--loader-color);
  border-radius: 4px;
  transition: height .05s linear;
}

/* tacchette a fianco della barra */
.loader-ticks {
  position: absolute;
  left: 3.5rem;
  top: 2rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0;
}
.loader-ticks span {
  width: 6px;
  height: 1px;
  display: block;
  background: var(--text-faint);
  opacity: .45;
}

/* contenuto centrale */
.loader-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

.loader-logo {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-family: 'Cinzel', serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: .25em;
  opacity: 0;
  animation: fadeUp .9s ease forwards .3s;
}
.loader-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
  padding: 5px;
  background: var(--text);
  filter: invert(1) brightness(2);
}

.loader-label {
  font-size: .58rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--text-faint);
  opacity: 0;
  animation: fadeUp .7s ease forwards .8s;
}

.loader-pct {
  font-family: 'Cinzel', serif;
  min-width: 80px;
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: .15em;
  padding: .6rem 1.2rem;
  border-radius: 8px;
  color: var(--text-soft);
  box-shadow: var(--sh-in);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}


/* ================================================
   SIDEBAR
================================================ */
#sidebar {
  width: var(--sidebar-w);
  height: 100vh;
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  background: var(--bg);
  box-shadow: var(--sh-out);
  transition: background .3s;
}

/* logo / link home */
.sb-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1rem;
  padding: 1.2rem 1.4rem;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--sh-out);
  transition: box-shadow .2s;
}
.sb-logo:hover {
  box-shadow: var(--sh-in);
}
.sb-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  padding: 5px;
  background: var(--text);
  filter: invert(1) brightness(2);
  flex-shrink: 0;
}
.sb-logo-name {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.sb-logo-sub {
  display: block;
  font-size: .54rem;
  color: var(--text-faint);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: .15rem;
}

/* nav links */
.sb-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: .5rem .8rem;
  overflow-y: auto;
}

.sb-section-label {
  padding: .6rem .6rem .2rem;
  font-size: .48rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--text-faint);
}

.sb-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem .9rem;
  text-decoration: none;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: .7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: box-shadow .2s, color .2s;
}
.sb-link .num {
  font-size: .48rem;
  letter-spacing: .15em;
  color: var(--text-faint);
}
.sb-link:hover  { box-shadow: var(--sh-in); color: var(--text); }
.sb-link.active { box-shadow: var(--sh-in); color: var(--text); font-weight: 600; }

/* barra progresso scroll */
.sb-scroll-track {
  height: 4px;
  border-radius: 4px;
  margin: .5rem 1rem;
  overflow: hidden;
  box-shadow: var(--sh-in);
}
.sb-scroll-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: var(--text-faint);
  transition: width .15s;
}

/* footer sidebar */
.sb-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 1rem 1.2rem;
}
.sb-year {
  font-size: .52rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--text-faint);
}

.theme-btn {
  width: 36px;
  height: 36px;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text-soft);
  box-shadow: var(--sh-sm);
  transition: box-shadow .2s, color .2s;
}
.theme-btn:hover { box-shadow: var(--sh-in); color: var(--text); }


/* ================================================
   AREA CONTENUTO PRINCIPALE
================================================ */
#main {
  flex: 1;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  margin-left: var(--sidebar-w);
  scroll-behavior: smooth;
}

#main::-webkit-scrollbar       { width: 4px; }
#main::-webkit-scrollbar-track { background: transparent; }
#main::-webkit-scrollbar-thumb { border-radius: 4px; background: var(--text-faint); }


/* ================================================
   HEADER PAGINA (condiviso)
================================================ */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 3.5rem 2.5rem;
}

/* sfondo a pois */
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--text-faint) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .07;
  pointer-events: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .56rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--text-faint);
}

.page-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.page-body {
  padding: 3rem 3.5rem 2rem;
}


/* ================================================
   ELEMENTI RIUTILIZZABILI
================================================ */

/* intestazione sezione */
.sec-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.sec-head-num {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: .52rem;
  letter-spacing: .25em;
  color: var(--text-faint);
}
.sec-head-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.sec-head-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--shadow-dark), transparent);
}

/* divisore con pallino */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0;
}
.divider::before {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to left, var(--shadow-dark), transparent);
}
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--shadow-dark), transparent);
}
.divider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: var(--sh-sm);
}

/* pulsanti */
.btn {
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--bg);
  color: var(--text);
  font-family: 'Urbanist', sans-serif;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .75rem 1.8rem;
  border-radius: 10px;
  box-shadow: var(--sh-out);
  transition: box-shadow .2s, color .2s;
}
.btn:hover, .btn:active { box-shadow: var(--sh-in); }

.btn-ghost       { color: var(--text-soft); }
.btn-ghost:hover { color: var(--text); }
.btn-full        { width: 100%; text-align: center; }

/* footer di pagina */
.page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 1.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--sh-in);
}
.page-footer span {
  font-size: .54rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* animazione reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.vis {
  opacity: 1;
  transform: none;
}


/* ================================================
   INDEX.HTML — HOME
================================================ */
.hero-header {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  font-size: clamp(3rem, 7vw, 6rem);
}

.hero-sub {
  margin-top: 1.2rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 440px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  padding: .5rem 1rem;
  border-radius: 20px;
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-faint);
  box-shadow: var(--sh-in);
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7a9a7a;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px #7a9a7a;
}

/* griglia statistiche */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.stat-card {
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  box-shadow: var(--sh-out);
  transition: box-shadow .2s;
}
.stat-card:hover { box-shadow: var(--sh-in); }
.stat-val {
  font-family: 'Cinzel', serif;
  font-size: 1.7rem;
  font-weight: 600;
}
.stat-lbl {
  font-size: .56rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--text-faint);
}

/* griglia progetti recenti */
.recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
}
.recent-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.6rem;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--sh-out);
  transition: box-shadow .2s, transform .15s;
}
.recent-card:hover { box-shadow: var(--sh-in); transform: scale(.99); }
.rc-num   { font-size: .54rem; letter-spacing: .2em; color: var(--text-faint); }
.rc-title { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 600; }
.rc-desc  { font-size: .85rem; color: var(--text-soft); line-height: 1.65; }
.rc-arrow { font-size: .7rem; color: var(--text-faint); margin-top: auto; padding-top: .5rem; }


/* ================================================
   PROJECTS.HTML
================================================ */

/* barra filtri */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .5rem 1.1rem;
  border: none;
  cursor: pointer;
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: var(--bg);
  color: var(--text-soft);
  border-radius: 20px;
  box-shadow: var(--sh-out);
  transition: box-shadow .2s, color .2s;
}
.filter-btn:hover,
.filter-btn.active { box-shadow: var(--sh-in); color: var(--text); }

/* griglia progetti */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.project-card {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--sh-out);
  transition: box-shadow .2s;
}
.project-card:hover {
  box-shadow: 4px 4px 10px var(--shadow-dark), -4px -4px 10px var(--shadow-light);
}

.prj-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.prj-num {
  font-size: .54rem;
  letter-spacing: .2em;
  color: var(--text-faint);
}
.prj-year {
  font-size: .54rem;
  letter-spacing: .1em;
  color: var(--text-faint);
  padding: .2rem .55rem;
  border-radius: 20px;
  box-shadow: var(--sh-in);
}
.prj-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
}
.prj-desc {
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.7;
  flex: 1;
}
.prj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.prj-tag {
  font-size: .54rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 20px;
  color: var(--text-faint);
  box-shadow: var(--sh-in);
}
.prj-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .5rem;
}
.prj-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  text-decoration: none;
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: .45rem .9rem;
  border-radius: 8px;
  box-shadow: var(--sh-sm);
  transition: box-shadow .2s, color .2s;
}
.prj-link:hover    { box-shadow: var(--sh-in); color: var(--text); }
.prj-link::after   { content: '→'; }
.prj-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: var(--sh-sm);
}
.prj-wip {
  font-size: .54rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: .4rem .9rem;
  border-radius: 20px;
  box-shadow: var(--sh-in);
}

/* box "in arrivo" */
.coming-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--sh-in);
}
.coming-num {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-faint);
  opacity: .4;
}
.coming-text p { font-size: .95rem; color: var(--text-soft); line-height: 1.8; }


/* ================================================
   INFORMATIONS.HTML
================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.about-text p       { font-size: 1rem; color: var(--text-soft); line-height: 1.85; margin-bottom: 1rem; }
.about-text p.lead  { font-size: 1.1rem; color: var(--text); font-style: italic; }

.quote-box {
  padding: 1.8rem 2rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  box-shadow: var(--sh-in);
}
.quote-box blockquote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.8;
}
.quote-box cite {
  display: block;
  margin-top: .8rem;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* tabella dati personali */
.data-table {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1rem;
  border-radius: 10px;
  box-shadow: var(--sh-in);
}
.data-label {
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.data-value {
  font-family: 'Cinzel', serif;
  font-size: .88rem;
  color: var(--text);
}

/* griglia competenze */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}
.skill-card {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--sh-out);
  transition: box-shadow .2s;
}
.skill-card:hover { box-shadow: var(--sh-in); }
.skill-name {
  font-family: 'Cinzel', serif;
  font-size: .85rem;
  font-weight: 600;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.skill-tag {
  font-size: .56rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .55rem;
  border-radius: 20px;
  color: var(--text-soft);
  box-shadow: var(--sh-in);
}
.skill-bar-wrap {
  margin-top: .4rem;
}
.skill-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: .54rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: .4rem;
}
.skill-bar-track {
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--sh-in);
}
.skill-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--text-faint);
  transition: width 1.2s ease;
}

/* timeline */
.timeline {
  display: flex;
  flex-direction: column;
}
.tl-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.2rem 0;
}
.tl-item + .tl-item {
  border-top: 1px solid rgba(128,128,128,.08);
}
.tl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  width: 60px;
  flex-shrink: 0;
}
.tl-year  { font-family: 'Cinzel', serif; font-size: .72rem; font-weight: 600; color: var(--text-soft); }
.tl-dot   { width: 10px; height: 10px; border-radius: 50%; box-shadow: var(--sh-sm); }
.tl-title { font-family: 'Cinzel', serif; font-size: .9rem; font-weight: 600; margin-bottom: .3rem; }
.tl-desc  { font-size: .85rem; color: var(--text-soft); line-height: 1.65; }


/* ================================================
   CONTACTME.HTML
================================================ */
.contact-intro {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* colonna sinistra: canali */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.channel-link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  text-decoration: none;
  color: var(--text);
  border-radius: 14px;
  box-shadow: var(--sh-out);
  transition: box-shadow .2s, transform .15s;
}
.channel-link:hover { box-shadow: var(--sh-in); transform: scale(.99); }
.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--sh-in);
}
.channel-info   { flex: 1; }
.channel-label  { font-size: .54rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); }
.channel-value  { font-size: .9rem; color: var(--text-soft); margin-top: .15rem; }
.channel-arrow  { font-size: .8rem; color: var(--text-faint); }

.avail-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  box-shadow: var(--sh-out);
}
.avail-dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #7a9a7a;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #7a9a7a;
}
.avail-title {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .2rem;
}
.avail-desc { font-size: .8rem; color: var(--text-soft); line-height: 1.6; }

/* colonna destra: form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-label {
  font-size: .54rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  appearance: none;
  background: var(--bg);
  color: var(--text);
  font-family: 'Urbanist', sans-serif;
  font-size: .9rem;
  padding: .8rem 1rem;
  border-radius: 10px;
  box-shadow: var(--sh-in);
  transition: box-shadow .2s;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-faint); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  box-shadow: inset 5px 5px 12px var(--shadow-dark), inset -5px -5px 12px var(--shadow-light);
}
.form-textarea { height: 130px; }

.form-feedback {
  display: none;
  padding: .8rem 1rem;
  border-radius: 10px;
  text-align: center;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-soft);
  box-shadow: var(--sh-in);
  margin-top: .4rem;
}
.form-feedback.show { display: block; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--sh-out);
}
.faq-question {
  width: 100%;
  border: none;
  background: none;
  font-family: 'Urbanist', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  padding: 1.1rem 1.3rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-icon {
  font-size: .7rem;
  color: var(--text-faint);
  transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner {
  padding: 0 1.3rem 1.1rem;
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 200px; }


/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 900px) {
  .about-grid    { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --sidebar-w: 0px; }

  #sidebar {
    width: 230px;
    transform: translateX(-230px);
    transition: transform .3s ease;
  }
  #sidebar.open  { transform: none; }
  #main          { margin-left: 0; }

  .page-header   { padding: 3rem 1.5rem 1.5rem; }
  .page-body     { padding: 2rem 1.5rem; }
  .page-footer   { margin: .5rem; padding: .8rem 1.2rem; }
}
