/* =============================================
   COMPONENTS — Dott. Santolo D'Antonio
   ============================================= */

/* =============================================
   NAVIGATION
   ============================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--tr-base), box-shadow var(--tr-base), backdrop-filter var(--tr-base);
}

#navbar.scrolled {
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(200, 145, 122, 0.15), var(--sh-sm);
}

.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

/* Logo */
.nav__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--tr-fast), transform var(--tr-fast);
}
.nav__logo:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.nav__logo img {
  display: block;
  height: 60px;
  width: auto;
  transition: filter var(--tr-base);
}
@media (max-width: 640px) {
  .nav__logo img { height: 46px; }
}
/* Scrolled navbar is light: turn the white logo dark */
#navbar.scrolled .nav__logo img { filter: brightness(0); }

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
}

.nav__link {
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--c-dark);
  position: relative;
  padding-block: 4px;
  transition: color var(--tr-fast);
}

/* Rose gold animated underline */
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--c-rose);
  transition: width var(--tr-base);
  border-radius: var(--r-full);
}
.nav__link:hover       { color: var(--c-rose); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }
.nav__link.active      { color: var(--c-rose); font-weight: 500; }

/* On transparent nav (over hero), links are white */
#navbar:not(.scrolled) .nav__links .nav__link { color: rgba(255,255,255,0.85); }
#navbar:not(.scrolled) .nav__links .nav__link:hover { color: var(--c-gold); }
#navbar:not(.scrolled) .nav__links .nav__link::after { background: var(--c-gold); }
#navbar:not(.scrolled) .nav__logo { color: var(--c-gold); }
#navbar:not(.scrolled) .nav__logo span { color: rgba(255,255,255,0.6); }

/* Nav right: lang toggle + CTA */
.nav__right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  background: transparent;
  border: 1.5px solid rgba(200, 145, 122, 0.35);
  border-radius: var(--r-full);
  padding: 4px 6px;
  cursor: pointer;
  transition: var(--tr-fast);
  color: var(--c-rose);
}
.lang-toggle span {
  padding: 2px 6px;
  border-radius: var(--r-full);
  transition: var(--tr-fast);
}
.lang-toggle span.active {
  background: var(--c-rose);
  color: var(--c-white);
}
#navbar:not(.scrolled) .lang-toggle { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.8); }
#navbar:not(.scrolled) .lang-toggle span.active { background: var(--c-gold); color: var(--c-dark); }

/* Hamburger (mobile) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.nav__hamburger span {
  display: block;
  height: 1.5px;
  background: var(--c-dark);
  border-radius: var(--r-full);
  transition: var(--tr-base);
  transform-origin: center;
}
#navbar:not(.scrolled) .nav__hamburger span { background: var(--c-white); }

.nav__hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--sh-md);
  transform: translateY(-8px);
  opacity: 0;
  transition: transform var(--tr-base), opacity var(--tr-base);
  z-index: 999;
}
.nav__drawer.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.nav__drawer .nav__link {
  display: block;
  font-size: var(--fs-md);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-dark);
}
.nav__drawer .nav__link:hover,
.nav__drawer .nav__link.active { color: var(--c-rose-dark); }
.nav__drawer .btn { width: 100%; margin-top: var(--sp-5); justify-content: center; }

/* CTA button in nav (hide on very small) */
.nav__cta { flex-shrink: 0; }

@media (max-width: 960px) { .nav__links { display: none; } }
@media (max-width: 960px) {
  .nav__hamburger { display: flex; }
  .nav__cta       { display: none; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* Animated luxury dark gradient */
  background: linear-gradient(-45deg, #0D0A08, #1E1A17, #2C1E1A, #1A1410, #221C18);
  background-size: 400% 400%;
  animation: heroGradient 16s ease infinite;
}

/* Radial glow overlays */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 65vw;
  height: 65vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 145, 122, 0.12) 0%, transparent 65%);
  pointer-events: none;
  animation: fadeIn 2s ease 0.5s both;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 5%;
  left: -15%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.09) 0%, transparent 65%);
  pointer-events: none;
  animation: fadeIn 2s ease 0.8s both;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: var(--sp-5);
  padding-top: calc(var(--nav-h) + var(--sp-5));
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-rose-light);
  margin-bottom: var(--sp-5);
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--c-rose-light);
  opacity: 0.6;
}

.hero__title {
  font-family: var(--f-serif);
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-white);
  margin-bottom: var(--sp-3);
  animation: fadeInUp 0.9s var(--ease-out) 0.5s both;
}

.hero__title em {
  font-style: italic;
  display: block;
  background: linear-gradient(120deg, var(--c-gold-light) 0%, var(--c-rose-light) 60%, var(--c-gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animated golden rule below title */
.hero__rule {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  margin: var(--sp-4) auto;
  animation: growLine 1.2s var(--ease-out) 1.0s both;
  max-width: 200px;
}

.hero__subtitle {
  font-family: var(--f-sans);
  font-size: var(--fs-lg);
  font-weight: 300;
  color: rgba(255,255,255,0.70);
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-6);
  animation: fadeInUp 0.9s var(--ease-out) 0.8s both;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  animation: fadeInUp 0.9s var(--ease-out) 1.1s both;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,0.45);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: fadeIn 1s ease 2s both;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: growLine 1s ease 2.5s both;
}

/* =============================================
   STATS STRIP
   ============================================= */
.stats {
  background: var(--c-dark);
  padding-block: var(--sp-6);
  border-top: 1px solid rgba(201, 169, 110, 0.20);
  border-bottom: 1px solid rgba(201, 169, 110, 0.20);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats__item {
  text-align: center;
  padding: var(--sp-4) var(--sp-5);
  position: relative;
}
.stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(201, 169, 110, 0.22);
}

.stats__number {
  font-family: var(--f-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--c-gold);
  display: block;
  margin-bottom: var(--sp-2);
}
.stats__suffix {
  font-size: 0.55em;
  vertical-align: super;
  color: var(--c-rose-light);
  margin-left: 2px;
}
.stats__label {
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.50);
}

@media (max-width: 640px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2)::after { display: none; }
}

/* =============================================
   ABOUT PREVIEW (homepage teaser)
   ============================================= */
.about-preview {
  background: var(--c-bg);
  overflow: hidden;
}

.about-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}

.about-preview__media {
  position: relative;
  min-height: 480px;
}
.about-preview__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center 32%;
}

/* Decorative gold frame corner */
.about-preview__media::before {
  content: '';
  position: absolute;
  top: var(--sp-5);
  left: var(--sp-5);
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--c-gold);
  border-left: 2px solid var(--c-gold);
  z-index: 2;
  pointer-events: none;
}
.about-preview__media::after {
  content: '';
  position: absolute;
  bottom: var(--sp-5);
  right: var(--sp-5);
  width: 60px;
  height: 60px;
  border-bottom: 2px solid var(--c-rose);
  border-right: 2px solid var(--c-rose);
  z-index: 2;
  pointer-events: none;
}

.about-preview__body {
  padding: var(--sp-8) var(--sp-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--c-bg-alt);
}

.about-preview__quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: var(--fs-2xl);
  font-weight: 300;
  line-height: 1.3;
  color: var(--c-dark);
  margin-bottom: var(--sp-5);
  position: relative;
}
.about-preview__quote::before {
  content: '"';
  position: absolute;
  top: -0.3em;
  left: -0.2em;
  font-size: 5em;
  line-height: 1;
  color: var(--c-gold);
  opacity: 0.18;
  pointer-events: none;
  font-style: normal;
}

.about-preview__text {
  font-size: var(--fs-md);
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
}

.about-preview__signature {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: var(--fs-xl);
  color: var(--c-rose);
  margin-bottom: var(--sp-5);
}

@media (max-width: 768px) {
  .about-preview__grid { grid-template-columns: 1fr; }
  .about-preview__body { padding: var(--sp-6) var(--sp-5); }
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services__header {
  text-align: center;
  margin-bottom: var(--sp-7);
}

.services__title {
  font-size: var(--fs-3xl);
  font-weight: 300;
  color: var(--c-dark);
  margin-bottom: var(--sp-4);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}

@media (max-width: 960px)  { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .services__grid { grid-template-columns: 1fr; } }

/* Service card */
.svc-card {
  background: var(--c-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: transform var(--tr-base), box-shadow var(--tr-base), border-color var(--tr-base);
  position: relative;
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
  border-color: rgba(200, 145, 122, 0.40);
}
/* Rose-gold left accent bar on hover */
.svc-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--c-rose);
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--tr-base);
}
.svc-card:hover::before { transform: scaleY(1); }

.svc-card__image {
  display: block;
  height: auto;
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.svc-card__image--contain {
  object-fit: contain;
  background: #f7f1e8;
}

.svc-card__body {
  padding: var(--sp-5);
}

.svc-card__icon {
  width: 42px;
  height: 42px;
  margin-bottom: var(--sp-3);
  color: var(--c-rose);
}

.svc-card__title {
  font-family: var(--f-serif);
  font-size: var(--fs-xl);
  font-weight: 400;
  color: var(--c-dark);
  margin-bottom: var(--sp-2);
}

.svc-card__subtitle {
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-rose);
  margin-bottom: var(--sp-3);
}

.svc-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.70;
  margin-bottom: var(--sp-4);
}

.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-rose);
  transition: gap var(--tr-fast), color var(--tr-fast);
}
.svc-card__link:hover { gap: 12px; color: var(--c-rose-dark); }

/* =============================================
   PHILOSOPHY / FULL-WIDTH DARK BAND
   ============================================= */
.philosophy {
  background: var(--c-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: var(--sp-9);
}
.philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200, 145, 122, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(201, 169, 110, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

.philosophy__quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: var(--fs-3xl);
  font-weight: 300;
  color: var(--c-white);
  line-height: 1.2;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
  position: relative;
}
.philosophy__attr {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-gold);
}

/* =============================================
   BEFORE / AFTER
   ============================================= */
.ba {
  background: var(--c-bg-alt);
}

.ba__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}

.ba__card {
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 480px;
  position: relative;
  box-shadow: var(--sh-lg);
  cursor: pointer;
  /* shimmer border */
  border: 1px solid transparent;
  background: linear-gradient(var(--c-bg-alt), var(--c-bg-alt)) padding-box,
              linear-gradient(135deg, var(--c-gold), var(--c-rose), var(--c-gold)) border-box;
  transition: box-shadow var(--tr-base);
}
.ba__card:hover { box-shadow: 0 24px 80px rgba(30, 26, 23, 0.22); }

.ba__before {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2C2520 0%, #4A3830 60%, #3D302A 100%);
}

.ba__after {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--c-rose-light) 0%, var(--c-gold-light) 60%, #E0C4A8 100%);
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.9s var(--ease-out);
}
.ba__card:hover .ba__after { clip-path: inset(0 0% 0 0); }

.ba__label {
  position: absolute;
  z-index: 2;
  bottom: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 5px 14px;
  border-radius: var(--r-full);
}
.ba__label--before {
  left: var(--sp-4);
  background: rgba(30,26,23,0.70);
  color: rgba(255,255,255,0.80);
  backdrop-filter: blur(8px);
}
.ba__label--after {
  right: var(--sp-4);
  background: rgba(201, 169, 110, 0.85);
  color: var(--c-dark);
  backdrop-filter: blur(8px);
}

/* Divider line */
.ba__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--c-white);
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  transition: opacity var(--tr-base);
}
.ba__card:hover .ba__divider { opacity: 1; }

.ba__body { display: flex; flex-direction: column; justify-content: center; }
.ba__title { font-size: var(--fs-3xl); font-weight: 300; color: var(--c-dark); margin-bottom: var(--sp-4); }
.ba__text  { font-size: var(--fs-md); color: var(--c-text-muted); line-height: 1.75; margin-bottom: var(--sp-6); }

@media (max-width: 768px) {
  .ba__grid { grid-template-columns: 1fr; }
  .ba__card { height: 320px; }
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  background: var(--c-dark);
  overflow: hidden;
}

.testimonials__header { text-align: center; margin-bottom: var(--sp-7); }
.testimonials__title  { font-size: var(--fs-3xl); font-weight: 300; color: var(--c-white); }
.testimonials__sub    { color: rgba(255,255,255,0.50); margin-top: var(--sp-3); }

.testimonials__track {
  display: flex;
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--sp-2);
}
.testimonials__track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 calc(33.33% - var(--sp-4));
  min-width: 300px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  scroll-snap-align: start;
  position: relative;
  transition: background var(--tr-base), border-color var(--tr-base);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(200, 145, 122, 0.25);
}

/* Giant quote mark */
.testimonial-card__quote-icon {
  font-family: var(--f-serif);
  font-size: 7rem;
  line-height: 0.7;
  color: var(--c-rose);
  opacity: 0.30;
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-5);
  pointer-events: none;
  user-select: none;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--sp-4);
  color: var(--c-gold);
  font-size: 0.9rem;
}

.testimonial-card__text {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: var(--fs-lg);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  margin-bottom: var(--sp-5);
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-rose-light);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-card__author span {
  font-weight: 400;
  color: rgba(255,255,255,0.40);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Scroll dots */
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--sp-6);
}
.testimonials__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
  border: none;
  cursor: pointer;
  transition: var(--tr-fast);
  padding: 0;
}
.testimonials__dot.active {
  background: var(--c-rose);
  width: 22px;
  border-radius: var(--r-full);
}

/* =============================================
   PRESS LOGOS
   ============================================= */
.press {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--sp-5);
}

.press__label {
  text-align: center;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--c-text-light);
  margin-bottom: var(--sp-5);
}

.press__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  flex-wrap: wrap;
}

.press__logo {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.0rem, 2.5vw, 1.5rem);
  color: var(--c-text-light);
  opacity: 0.55;
  transition: opacity var(--tr-fast), color var(--tr-fast);
  white-space: nowrap;
}
.press__logo:hover { opacity: 1; color: var(--c-rose); }

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  background: linear-gradient(135deg, var(--c-rose-dark) 0%, var(--c-rose) 50%, #D4A090 100%);
  text-align: center;
  padding-block: var(--sp-8);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band__title {
  font-size: var(--fs-3xl);
  font-weight: 300;
  color: var(--c-white);
  margin-bottom: var(--sp-3);
}
.cta-band__subtitle {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.80);
  margin-bottom: var(--sp-6);
}
.cta-band__btn {
  background: var(--c-white);
  color: var(--c-rose-dark);
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}
.cta-band__btn:hover {
  background: var(--c-gold-pale);
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.22);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--c-dark);
  border-top: 1px solid rgba(201, 169, 110, 0.20);
  padding-top: var(--sp-8);
  padding-bottom: calc(var(--sp-5) + env(safe-area-inset-bottom));
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__brand .nav__logo { font-size: 1.6rem; display: inline-block; margin-bottom: var(--sp-3); }
.footer__brand p { font-size: var(--fs-sm); color: rgba(255,255,255,0.42); line-height: 1.70; margin-bottom: var(--sp-5); }

.footer__socials {
  display: flex;
  gap: var(--sp-3);
}
.footer__social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.50);
  transition: var(--tr-fast);
  font-size: 0.85rem;
}
.footer__social:hover {
  border-color: var(--c-rose);
  color: var(--c-rose);
  background: rgba(200, 145, 122, 0.10);
}

.footer__col h4 {
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--sp-4);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer__col a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.45);
  transition: color var(--tr-fast);
  line-height: 1.5;
}
.footer__col a:hover { color: var(--c-rose-light); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--sp-3);
  line-height: 1.5;
}
.footer__addresses {
  display: flex;
  flex-direction: column;
}
.footer__contact-icon { color: var(--c-rose); flex-shrink: 0; margin-top: 2px; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding-top: var(--sp-5);
}
.footer__copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.28);
}
.footer__legal {
  display: flex;
  gap: var(--sp-4);
}
.footer__legal a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.28);
  transition: color var(--tr-fast);
}
.footer__legal a:hover { color: var(--c-rose-light); }

@media (max-width: 960px)  { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px)  {
  .footer__grid  { grid-template-columns: 1fr; }
  .footer__bottom{ flex-direction: column; align-items: flex-start; }
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.wa-float {
  position: fixed;
  bottom: calc(var(--sp-5) + env(safe-area-inset-bottom));
  right: var(--sp-5);
  z-index: 800;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.42);
  animation: bounceIn 0.6s var(--ease-out) 1.5s both;
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.52);
}
/* Pulse ring */
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: pulseRing 2.2s ease-out infinite;
}
.wa-float svg { position: relative; z-index: 1; }

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: calc(var(--sp-4) + env(safe-area-inset-bottom));
  left: var(--sp-4);
  right: var(--sp-4);
  max-width: 460px;
  max-height: calc(100vh - 2 * var(--sp-4));
  overflow-y: auto;
  background: var(--c-bg);
  color: var(--c-text);
  border: 1px solid var(--c-border-gold);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  z-index: 900;
  box-shadow: var(--sh-lg);
  display: none;
  flex-direction: column;
  gap: var(--sp-3);
}
.cookie-banner.visible { display: flex; animation: fadeInUp 0.5s var(--ease-out) both; }

.cookie-banner__title { font-family: var(--f-serif); font-size: var(--fs-xl); font-weight: 500; }
.cookie-banner__text { font-size: var(--fs-sm); color: var(--c-text-muted); line-height: 1.6; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.cookie-banner__actions .btn { flex: 1 1 auto; justify-content: center; }
.cookie-banner__more { font-size: var(--fs-xs); text-align: center; }
.cookie-banner__more a { color: var(--c-rose-dark); text-decoration: underline; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-3) 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.cookie-banner__prefs[hidden] { display: none; }
.cookie-pref { display: flex; align-items: flex-start; gap: var(--sp-3); cursor: pointer; }
.cookie-pref input { margin-top: 4px; accent-color: var(--c-rose); width: 18px; height: 18px; flex-shrink: 0; }
.cookie-pref strong { display: block; font-size: var(--fs-sm); font-weight: 600; }
.cookie-pref small { display: block; font-size: var(--fs-xs); color: var(--c-text-light); line-height: 1.5; }
.footer__cookie-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.footer__cookie-btn:hover { color: var(--c-rose-light); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, #1A1410 0%, #2C2520 40%, #3D302A 70%, #2C2520 100%);
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--sp-7);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(200, 145, 122, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero__content { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + var(--sp-7)); }
.page-hero__title {
  font-size: var(--fs-4xl);
  font-weight: 300;
  color: var(--c-white);
  line-height: 1.1;
  margin-bottom: var(--sp-3);
}
.page-hero__title em {
  font-style: italic;
  color: var(--c-gold-light);
}
.page-hero__sub {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.55);
  max-width: 560px;
}
@media (max-width: 768px) {
  .page-hero .eyebrow {
    display: flex;
    max-width: 100%;
    align-items: flex-start;
    line-height: 1.5;
    letter-spacing: 0.12em;
  }
  .page-hero .eyebrow::before { display: none; }
}

/* =============================================
   SERVICE DETAIL CARDS (inner pages)
   ============================================= */
.service-detail {
  display: block;
  padding-block: var(--sp-8);
  border-bottom: 1px solid var(--c-border);
}
.service-detail:last-child { border-bottom: none; }

.service-detail__image {
  height: 380px;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.service-detail__body { max-width: 960px; margin-inline: auto; }
.service-detail__number {
  font-family: var(--f-serif);
  font-size: 5rem;
  font-weight: 300;
  color: var(--c-rose);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: calc(-2rem);
  display: block;
}
.service-detail__title { font-size: var(--fs-2xl); font-weight: 400; margin-bottom: var(--sp-2); }
.service-detail__tagline {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-rose);
  margin-bottom: var(--sp-4);
}
.service-detail__text { font-size: var(--fs-md); color: var(--c-text-muted); line-height: 1.75; margin-bottom: var(--sp-5); }

.aesth-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: center;
  margin-top: var(--sp-4);
}
.aesth-detail-layout__description {
  min-width: 0;
}
.aesth-compare {
  min-width: 0;
}
.aesth-compare__card.ba__card {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  cursor: pointer;
}
.aesth-compare__before,
.aesth-compare__after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.82);
  font-size: var(--fs-sm);
  text-align: center;
}
.aesth-compare__before img,
.aesth-compare__after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-detail#filler-labbra .aesth-compare__card.ba__card {
  aspect-ratio: 3 / 4;
}
.service-detail#mastoplastica-additiva .aesth-compare__card.ba__card,
.service-detail#mastoplastica-riduttiva .aesth-compare__card.ba__card {
  aspect-ratio: 1 / 1;
  max-width: 420px;
}
.aesth-compare__before {
  background:
    radial-gradient(ellipse at 30% 25%, rgba(255,255,255,0.09), transparent 45%),
    linear-gradient(145deg, #332923, #59463b);
}
.aesth-compare__after {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.30), transparent 46%),
    linear-gradient(145deg, #c99a83, #e8ceb0);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s var(--ease-out);
}
.aesth-compare__before span,
.aesth-compare__after span {
  position: absolute;
  width: 100%;
  padding: var(--sp-3);
}
.aesth-compare__card:hover .aesth-compare__after,
.aesth-compare__card:focus-visible .aesth-compare__after {
  clip-path: inset(0);
}
.aesth-compare__card:hover .ba__divider,
.aesth-compare__card:focus-visible .ba__divider {
  opacity: 0;
}
.aesth-compare__card:focus-visible {
  outline: 3px solid var(--c-gold);
  outline-offset: 4px;
}

.aesth-gallery {
  margin-top: var(--sp-7);
  padding: var(--sp-5);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-card);
}
.aesth-gallery__title {
  margin-bottom: var(--sp-4);
  font-family: var(--f-serif);
  font-size: var(--fs-xl);
  font-weight: 400;
}
.aesth-gallery__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: var(--sp-3);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 4px;
}
.aesth-gallery__link {
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
}
.aesth-gallery__link:focus-visible {
  outline: 3px solid var(--c-gold);
  outline-offset: 3px;
}
.aesth-gallery__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
}
.aesth-gallery__item {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3);
  border: 1px dashed var(--c-border-gold);
  border-radius: var(--r-md);
  background:
    radial-gradient(ellipse at 80% 10%, rgba(201,169,110,0.12), transparent 48%),
    linear-gradient(145deg, var(--c-bg), var(--c-gold-pale));
  color: var(--c-text-light);
  text-align: center;
}
.aesth-gallery__item svg { width: 28px; height: 28px; color: var(--c-rose); }
.aesth-gallery__item span {
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
}

.gallery-lightbox {
  width: min(96vw, 1100px);
  max-width: none;
  max-height: 96vh;
  max-height: 96dvh;
  margin: auto;
  padding: var(--sp-2);
  border: 0;
  border-radius: var(--r-lg);
  background: #1a1410;
  color: #fff;
}
.gallery-lightbox::backdrop { background: rgba(15, 11, 9, 0.85); }
.gallery-lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-2);
}
.gallery-lightbox__content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-2);
}
.gallery-lightbox__image {
  display: block;
  width: 100%;
  max-height: calc(96vh - 75px);
  max-height: calc(96dvh - 75px);
  object-fit: contain;
  touch-action: pan-y;
}
.gallery-lightbox button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.gallery-lightbox button:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
}

.service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: var(--sp-2) var(--sp-3);
  background: var(--c-gold-pale);
  border: 1px solid var(--c-border-gold);
  border-radius: var(--r-md);
  min-width: 80px;
}
.badge__label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-text-light);
  margin-bottom: 2px;
}
.badge__value {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--c-dark);
  line-height: 1.2;
}

@media (max-width: 768px) {
  .service-detail__image { height: 260px; }
  .aesth-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-5);
  }
}
@media (max-width: 540px) {
  .aesth-gallery { padding: var(--sp-3); }
  .gallery-lightbox__content { grid-template-columns: 1fr 1fr; }
  .gallery-lightbox__image {
    grid-column: 1 / -1;
    grid-row: 1;
    max-height: calc(96vh - 130px);
    max-height: calc(96dvh - 130px);
  }
  .gallery-lightbox__prev { justify-self: end; }
  .gallery-lightbox__next { justify-self: start; }
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-7);
  align-items: start;
}

.contact-info__title { font-size: var(--fs-2xl); font-weight: 300; margin-bottom: var(--sp-4); }
.contact-info__intro { font-size: var(--fs-md); color: var(--c-text-muted); line-height: 1.75; margin-bottom: var(--sp-6); }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.contact-detail__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--c-gold-pale);
  border: 1px solid var(--c-border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-rose);
  flex-shrink: 0;
}
.contact-detail__text strong { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: 2px; }
.contact-detail__text span   { font-size: var(--fs-sm); color: var(--c-text-muted); }
.contact-detail__text .contact-address { display: block; }

.contact-form { background: var(--c-card); border-radius: var(--r-xl); padding: var(--sp-6); border: 1px solid var(--c-border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

.form-group { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.form-group label {
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75em 1em;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: var(--fs-base);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--c-rose);
  box-shadow: 0 0 0 3px rgba(200, 145, 122, 0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.form-privacy input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--c-rose); flex-shrink: 0; margin-top: 2px; }
.form-privacy label { font-size: var(--fs-xs); color: var(--c-text-muted); line-height: 1.5; }
.form-privacy a { color: var(--c-rose); text-decoration: underline; }

.contact-maps {
  display: grid;
  gap: var(--sp-4);
}
.contact-map {
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-card);
}
.contact-map h3 {
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}
.contact-map__frame {
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  text-align: center;
  background: var(--c-bg);
}
.contact-map__frame p {
  font-size: var(--fs-xs);
  color: var(--c-text-light);
  max-width: 34ch;
}
.contact-map__frame iframe { height: 100%; }

/* =============================================
   LEGAL PAGES (privacy / cookie)
   ============================================= */
[data-lang="it"] .lang-en,
[data-lang="en"] .lang-it { display: none; }
.legal { padding: var(--sp-8) 0; background: var(--c-bg); }
.legal__updated { font-size: var(--fs-sm); color: var(--c-text-light); margin-bottom: var(--sp-6); }
.legal h2 { font-size: var(--fs-xl); margin: var(--sp-7) 0 var(--sp-3); }
.legal p, .legal li { font-size: var(--fs-base); color: var(--c-text-muted); line-height: 1.75; }
.legal p { margin-bottom: var(--sp-3); }
.legal ul { margin: 0 0 var(--sp-3) var(--sp-5); list-style: disc; }
.legal a { color: var(--c-rose-dark); text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin: var(--sp-3) 0 var(--sp-4); font-size: var(--fs-sm); }
.legal th, .legal td { text-align: left; padding: var(--sp-2) var(--sp-3); border: 1px solid var(--c-border); color: var(--c-text-muted); vertical-align: top; }
.legal th { background: var(--c-bg-alt); color: var(--c-text); }
.legal__table-wrap { overflow-x: auto; }
.contact-map a {
  display: inline-block;
  padding: var(--sp-3) var(--sp-4);
  color: var(--c-rose);
  font-size: var(--fs-xs);
  text-decoration: underline;
}

@media (max-width: 900px)  { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 540px)  { .form-row { grid-template-columns: 1fr; } }

/* =============================================
   CHI SONO PAGE
   ============================================= */
.bio-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--sp-8);
  align-items: start;
}
.bio-section__photo {
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-4));
}
.bio-section__photo-frame {
  height: 580px;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--sh-lg);
}
.bio-section__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.bio-section__photo-frame::before {
  content: '';
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  width: 50px;
  height: 50px;
  border-top: 2px solid var(--c-gold);
  border-left: 2px solid var(--c-gold);
  z-index: 2;
  pointer-events: none;
}
.bio-section__photo-frame::after {
  content: '';
  position: absolute;
  bottom: var(--sp-4);
  right: var(--sp-4);
  width: 50px;
  height: 50px;
  border-bottom: 2px solid var(--c-rose);
  border-right: 2px solid var(--c-rose);
  z-index: 2;
  pointer-events: none;
}

.bio-section__content { padding-block: var(--sp-6); }
.bio-section__intro { font-family: var(--f-serif); font-style: italic; font-size: var(--fs-xl); color: var(--c-dark); line-height: 1.45; margin-bottom: var(--sp-6); }
.bio-section__text  { font-size: var(--fs-md); color: var(--c-text-muted); line-height: 1.80; margin-bottom: var(--sp-5); }
.bio-publications__list {
  display: grid;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.65;
}
.bio-publications__list a {
  color: var(--c-dark);
  text-decoration: underline;
  text-decoration-color: var(--c-rose);
  text-underline-offset: 3px;
}
.bio-publications__list a:hover { color: var(--c-rose-dark); }

/* Timeline */
.timeline { margin-block: var(--sp-6); }
.timeline__title { font-family: var(--f-sans); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--c-rose); margin-bottom: var(--sp-5); }
.timeline__item { display: grid; grid-template-columns: 90px 1fr; gap: var(--sp-4); padding-bottom: var(--sp-5); position: relative; }
.timeline__item::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 80px;
  width: 1px;
  height: 100%;
  background: var(--c-border);
}
.timeline__year {
  font-family: var(--f-serif);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--c-gold);
  line-height: 1;
  padding-top: 2px;
  text-align: right;
}
.timeline__desc strong { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--c-dark); margin-bottom: 3px; }
.timeline__desc span   { font-size: var(--fs-sm); color: var(--c-text-muted); }

/* Credentials badges */
.credentials { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-block: var(--sp-6); }
.credential-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--c-card);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  transition: var(--tr-fast);
}
.credential-badge:hover { border-color: var(--c-rose); color: var(--c-rose); }
.credential-badge::before { content: '✦'; color: var(--c-gold); font-size: 0.6em; }

@media (max-width: 900px) {
  .bio-section { grid-template-columns: 1fr; }
  .bio-section__photo { position: relative; top: 0; }
  .bio-section__photo-frame { height: 380px; }
}
