/* =================================================================
   Tea De Pasquale Lash Studio — Beige/cream luxe boutique
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&family=Italiana&display=swap');

:root {
  /* Beige & cream palette */
  --cream: #F5EFE7;
  --cream-soft: #FAF6F0;
  --cream-paper: #EFE7DA;
  --beige: #E5D8C5;
  --beige-deep: #C9B69A;
  --nude: #D9C4B0;
  --taupe: #8C7864;
  --taupe-dark: #5C4D3F;
  --espresso: #2A2017;
  --ink: #1B1410;
  --rose-soft: #E8C9B6;
  --rose-blush: #D9A28C;

  /* Type */
  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-display: 'Italiana', 'Cormorant Garamond', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 12vw, 144px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Type scale ────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--taupe);
}
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.h-section {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.h-section em {
  font-style: italic;
  color: var(--taupe);
}
.h-card {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.4;
  color: var(--taupe-dark);
}
.body-sans {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--taupe-dark);
}

/* ─── Layout helpers ────────────────────────────────────────────── */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow {
  max-width: 880px;
}
.section {
  padding: var(--section-y) 0;
}
.divider-thin {
  width: 1px;
  background: var(--beige-deep);
  align-self: stretch;
}
.rule {
  border: none;
  border-top: 1px solid var(--beige-deep);
  margin: 0;
  opacity: 0.7;
}

/* ─── Top bar / Nav ─────────────────────────────────────────────── */
.topbar {
  background: var(--espresso);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 400;
}
.topbar__items { display: flex; gap: 28px; opacity: 0.85; }
.topbar__items span { display: inline-flex; align-items: center; gap: 8px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 231, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(140, 120, 100, 0.18);
}
.nav__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav__links {
  display: flex;
  gap: 36px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  font-weight: 500;
}
.nav__links a {
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.3s var(--ease), left 0.3s var(--ease);
}
.nav__links a:hover::after { width: 100%; left: 0; }

.brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand__tag {
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--taupe);
  margin-top: 4px;
  text-transform: uppercase;
}

.nav__cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(140,120,100,0.3);
  background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.icon-btn:hover { background: var(--ink); color: var(--cream); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 0;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--cream {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.btn--cream:hover { background: transparent; color: var(--cream); border-color: var(--cream); }

.btn--whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: white;
}
.btn--whatsapp:hover { background: #128C7E; border-color: #128C7E; color: white; }

/* ─── HERO ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 0 0 var(--section-y);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(40px, 6vw, 80px) var(--gutter) 0;
  max-width: 1500px;
  margin: 0 auto;
  align-items: end;
}
.hero__copy {
  padding-bottom: clamp(40px, 8vw, 100px);
}
.hero__overline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero__overline::before {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--taupe);
}
.hero__title {
  margin: 0 0 32px;
}
.hero__title .script {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  display: block;
  font-size: 0.5em;
  color: var(--taupe);
  margin-bottom: -0.08em;
  letter-spacing: 0;
}
.hero__lede {
  max-width: 480px;
  margin: 0 0 40px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__actions .text-link {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  border-bottom: 1px solid var(--taupe);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hero__actions .text-link:hover { color: var(--ink); border-color: var(--ink); }

.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--beige);
  overflow: hidden;
}
.hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 8s var(--ease);
}
.hero:hover .hero__visual img { transform: scale(1.08); }
.hero__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--cream);
  padding: 14px 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--taupe-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #25D366;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

/* Marquee strip */
.marquee {
  background: var(--ink);
  color: var(--cream-paper);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee__track {
  display: flex;
  gap: 64px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee__track .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--rose-blush);
  display: inline-block;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ─── SERVIZI ───────────────────────────────────────────────────── */
.section--cream-paper { background: var(--cream-paper); }
.section--ink { background: var(--ink); color: var(--cream); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head__num {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--taupe);
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-head__num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--beige-deep);
}

.servizi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--beige-deep);
}
.servizio {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 24px;
  padding: 32px 28px;
  border-bottom: 1px solid var(--beige-deep);
  align-items: start;
  cursor: default;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
  position: relative;
}
.servizi-grid .servizio:nth-child(odd) { border-right: 1px solid var(--beige-deep); }
.servizio:hover { background: var(--cream-soft); padding-left: 40px; }
.servizio__num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--taupe);
  letter-spacing: 0.1em;
  padding-top: 6px;
}
.servizio__name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.15;
}
.servizio__desc {
  font-size: 14px;
  color: var(--taupe-dark);
  margin: 0;
  line-height: 1.6;
  font-weight: 300;
}
.servizio__price {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--taupe);
  font-size: 14px;
  white-space: nowrap;
  padding-top: 8px;
}

/* ─── GALLERIA ──────────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 90px;
  gap: 12px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--beige);
  cursor: pointer;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(27,20,16,0.55));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__caption {
  position: absolute;
  bottom: 16px; left: 18px; right: 18px;
  color: white;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.02em;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery__item:hover .gallery__caption { opacity: 1; transform: translateY(0); }
.gallery__caption em {
  display: block;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 4px;
}

/* span helpers */
.gi--lg { grid-column: span 6; grid-row: span 5; }
.gi--md { grid-column: span 4; grid-row: span 4; }
.gi--sm { grid-column: span 3; grid-row: span 3; }
.gi--tall { grid-column: span 4; grid-row: span 6; }
.gi--wide { grid-column: span 5; grid-row: span 3; }

/* Placeholder backgrounds for items without imagery */
.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--taupe-dark);
  text-align: center;
  padding: 24px;
  gap: 8px;
}
.placeholder--rose { background: linear-gradient(135deg, #E8C9B6 0%, #D9A28C 100%); color: var(--cream-soft); }
.placeholder--nude { background: linear-gradient(135deg, var(--nude) 0%, var(--beige-deep) 100%); color: var(--espresso); }
.placeholder--cream { background: var(--cream-paper); border: 1px solid var(--beige-deep); }
.placeholder--ink { background: var(--ink); color: var(--cream); }

.placeholder svg { opacity: 0.6; }

/* ─── CORSI ────────────────────────────────────────────────────── */
.section--ink .eyebrow { color: var(--rose-blush); }
.section--ink .h-section em { color: var(--rose-blush); }
.section--ink .lede { color: rgba(245, 239, 231, 0.7); }

.corsi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}
.corso {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245, 239, 231, 0.12);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.corso:hover { background: rgba(255,255,255,0.06); border-color: rgba(245, 239, 231, 0.25); }
.corso__visual {
  aspect-ratio: 16/10;
  margin: -48px -40px 32px;
  overflow: hidden;
}
.corso__visual img { width: 100%; height: 100%; object-fit: cover; }
.corso__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--rose-blush);
  color: var(--rose-blush);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 20px;
  align-self: flex-start;
}
.corso__status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose-blush); }
.corso__status--soon { color: var(--cream-paper); border-color: var(--cream-paper); }
.corso__status--soon .dot { background: var(--cream-paper); }
.corso h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.corso h3 em { font-style: italic; color: var(--rose-blush); }
.corso__desc {
  color: rgba(245, 239, 231, 0.7);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 28px;
  font-weight: 300;
}
.corso__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(245, 239, 231, 0.12);
  margin-bottom: 32px;
}
.corso__meta dl {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(245, 239, 231, 0.08);
}
.corso__meta dl:nth-child(odd) { border-right: 1px solid rgba(245, 239, 231, 0.12); padding-right: 16px; }
.corso__meta dl:nth-child(even) { padding-left: 16px; }
.corso__meta dt {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose-blush);
  margin-bottom: 4px;
  font-weight: 500;
}
.corso__meta dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--cream);
}
.corso__cta { margin-top: auto; }

/* ─── CHI SONO ─────────────────────────────────────────────────── */
.bio {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}
.bio__visual {
  aspect-ratio: 4/5;
  background: var(--beige);
  overflow: hidden;
  position: relative;
}
.bio__visual::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 80px; height: 80px;
  border-top: 1px solid var(--taupe);
  border-left: 1px solid var(--taupe);
}
.bio__visual::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 80px; height: 80px;
  border-bottom: 1px solid var(--taupe);
  border-right: 1px solid var(--taupe);
}
.bio__sig {
  font-family: 'Italiana', serif;
  font-size: 56px;
  color: var(--taupe-dark);
  margin-top: 32px;
  font-style: italic;
  letter-spacing: 0.02em;
}
.bio__sig small {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 8px;
}
.bio__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  border-top: 1px solid var(--beige-deep);
  padding-top: 32px;
}
.bio__values div h4 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 8px;
}
.bio__values div p {
  margin: 0;
  font-size: 13px;
  color: var(--taupe-dark);
  line-height: 1.6;
}

/* ─── CONTATTI ─────────────────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 96px);
}
.contact__info { padding-top: 8px; }
.contact__details {
  display: grid;
  gap: 32px;
  margin: 56px 0 48px;
}
.contact__details > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--beige-deep);
}
.contact__details dt {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 500;
  padding-top: 4px;
}
.contact__details dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ink);
  line-height: 1.4;
}
.contact__details dd small {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--taupe-dark);
  margin-top: 4px;
}

.contact__card {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.contact__card::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(217,162,140,0.25), transparent 70%);
  pointer-events: none;
}
.contact__card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  position: relative;
}
.contact__card h3 em { color: var(--rose-blush); font-style: italic; }
.contact__card p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 239, 231, 0.75);
  margin: 0 0 32px;
  position: relative;
}
.contact__card .btn { position: relative; }

/* Hours table */
.hours {
  margin: 0; padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  position: relative;
}
.hours li {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(245, 239, 231, 0.1);
}
.hours li.closed { color: rgba(245, 239, 231, 0.4); }
.hours li.closed span:last-child { font-style: italic; }
.hours-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose-blush);
  margin-bottom: 16px;
  font-weight: 500;
}

/* ─── FOOTER ───────────────────────────────────────────────────── */
.footer {
  background: var(--cream-paper);
  padding: 72px 0 32px;
  border-top: 1px solid var(--beige-deep);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer__top h4 {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer__top ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--ink);
}
.footer__top ul a:hover { color: var(--taupe); }
.footer__brand .brand__name { font-size: 36px; }
.footer__brand p {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--taupe-dark);
  font-size: 17px;
  line-height: 1.5;
  margin: 16px 0 24px;
  max-width: 360px;
}
.footer__socials {
  display: flex;
  gap: 12px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--beige-deep);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ─── Floating WhatsApp ────────────────────────────────────────── */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 60px; height: 60px;
  border-radius: 999px;
  background: #25D366;
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  border: 0;
  transition: transform 0.3s var(--ease);
}
.fab:hover { transform: scale(1.06); }
.fab::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid #25D366;
  opacity: 0.5;
  animation: fab-ring 2s infinite;
}
@keyframes fab-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ───────────────────────────────────────────────── */

/* Tablet — max 960px */
@media (max-width: 960px) {
  .topbar__items span:nth-child(2) { display: none; }
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__cta .icon-btn:first-child { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { aspect-ratio: 4/3; max-height: 400px; }
  .hero__copy { padding-bottom: 0; }
  .servizi-grid { grid-template-columns: 1fr; }
  .servizi-grid .servizio:nth-child(odd) { border-right: none; }
  .corsi-grid { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; }
  .bio__values { grid-template-columns: 1fr; gap: 20px; }
  .contact { grid-template-columns: 1fr; }
  .contact__card { margin-top: 24px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 80px; }
  .gi--lg, .gi--md, .gi--sm, .gi--tall, .gi--wide { grid-column: span 3; grid-row: span 3; }
}

/* Mobile — max 640px */
@media (max-width: 640px) {
  :root {
    --section-y: 48px;
    --gutter: 16px;
  }

  /* Top bar */
  .topbar {
    flex-direction: column;
    gap: 4px;
    padding: 8px 16px;
    text-align: center;
  }
  .topbar__items { gap: 16px; justify-content: center; }

  /* Nav */
  .nav__inner {
    padding: 14px 16px;
    gap: 12px;
  }
  .brand__name { font-size: 20px; }
  .brand__tag { font-size: 8px; letter-spacing: 0.3em; }
  .btn {
    padding: 14px 22px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  /* Hero */
  .hero { padding: 0 0 32px; }
  .hero__inner {
    padding: 24px 16px 0;
    gap: 24px;
  }
  .hero__overline { margin-bottom: 16px; }
  .hero__overline::before { width: 24px; }
  .h-display {
    font-size: clamp(36px, 10vw, 56px);
    line-height: 0.95;
  }
  .hero__title { margin: 0 0 20px; }
  .hero__title .script { font-size: 0.45em; }
  .hero__lede { margin: 0 0 24px; }
  .lede {
    font-size: clamp(17px, 4vw, 22px);
    line-height: 1.45;
  }
  .hero__visual {
    aspect-ratio: 3/4;
    max-height: 360px;
    margin: 0 -16px;
    width: calc(100% + 32px);
  }
  .hero__badge {
    bottom: 12px;
    left: 12px;
    padding: 10px 14px;
    font-size: 12px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__actions .text-link { text-align: center; }

  /* Marquee */
  .marquee { padding: 14px 0; }
  .marquee__track {
    font-size: 16px;
    gap: 32px;
  }
  .marquee__track span { gap: 32px; }

  /* Sections */
  .h-section {
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.1;
  }
  .section-head { margin-bottom: 28px; }
  .eyebrow { font-size: 10px; letter-spacing: 0.2em; }

  /* Servizi */
  .servizio {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 16px;
  }
  .servizio__num {
    font-size: 11px;
    padding-top: 0;
  }
  .servizio__name { font-size: 20px; }
  .servizio__desc { font-size: 13px; }
  .servizio__price {
    font-size: 16px;
    margin-top: 4px;
  }
  .servizio:hover { padding-left: 16px; }

  /* Gallery */
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 6px;
  }
  .gi--lg, .gi--md, .gi--sm, .gi--tall, .gi--wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gi--lg { grid-column: span 2; grid-row: span 2; }
  .gallery__caption { font-size: 14px; bottom: 10px; left: 12px; right: 12px; }
  .gallery__caption em { font-size: 9px; }

  /* Corsi */
  .corso { padding: 28px 20px; }
  .corso__visual { margin: -28px -20px 24px; }
  .corso h3 { font-size: clamp(24px, 5vw, 32px); }
  .corso__desc { font-size: 14px; }
  .corso__meta { grid-template-columns: 1fr; }
  .corso__meta dl:nth-child(odd) { border-right: none; padding-right: 0; }
  .corso__meta dl:nth-child(even) { padding-left: 0; }

  /* Bio / Chi sono */
  .bio__visual {
    aspect-ratio: 1/1;
    max-height: 320px;
  }
  .bio__visual::before,
  .bio__visual::after { display: none; }
  .bio__sig {
    font-size: 40px;
    margin-top: 24px;
  }
  .bio__values {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
  }
  .bio__values div h4 { font-size: 19px; }
  .bio__values div p { font-size: 13px; }

  /* Contatti */
  .contact__details {
    gap: 20px;
    margin: 32px 0;
  }
  .contact__details > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-bottom: 16px;
  }
  .contact__details dt {
    font-size: 10px;
    padding-top: 0;
  }
  .contact__details dd {
    font-size: 17px;
  }
  .contact__details dd small {
    font-size: 12px;
  }
  .contact__card {
    padding: 28px 20px;
    margin-top: 16px;
  }
  .contact__card h3 {
    font-size: clamp(24px, 6vw, 34px);
  }
  .contact__card p { font-size: 14px; margin: 0 0 24px; }
  .hours li { font-size: 14px; padding: 6px 0; }

  /* Footer */
  .footer { padding: 40px 0 24px; }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  .footer__brand .brand__name { font-size: 28px; }
  .footer__brand p { font-size: 15px; }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 10px;
  }

  /* FAB WhatsApp */
  .fab {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
  .fab svg { width: 22px; height: 22px; }
}
