:root {
  --background: #ffffff;
  --foreground: #1a2430;
  --card: #ffffff;
  --primary: #243a52;
  --deep: #243a52;
  --secondary: #f1efec;
  --muted: #f6f5f3;
  --muted-foreground: #505860;
  --border: #e7e1da;
  --gold: #c89538;
  --sky: #eaf7f8;
  --sky-border: #cde9ee;
  --soft-shadow: 0 18px 50px rgba(26,36,48,.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Open Sans", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, .brand-title {
  margin: 0;
  font-family: "Open Sans Condensed", "Open Sans", system-ui, sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
h1 { font-size: clamp(48px, 7vw, 82px); color: var(--deep); }
h2 { font-size: clamp(38px, 5vw, 64px); color: var(--deep); }
h3 { font-size: clamp(24px, 3vw, 34px); color: var(--deep); }
em { color: var(--primary); font-style: italic; }
p { overflow-wrap: anywhere; }

.page h1 {
  font-size: clamp(38px, 3.8vw, 54px);
  line-height: 1.08;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}
.section { padding: 96px 0; }
.page { padding-top: 144px; }
.muted { background: rgba(246, 245, 243, 0.72); }
.soft { background: #f7fbfb; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lead, .section-copy {
  color: var(--muted-foreground);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.85;
}
.lead { max-width: 720px; margin: 26px 0 0; }
.narrow { max-width: 820px; }
.spacious { margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--primary);
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(36,58,82,.12);
  transition: 180ms ease;
}
.button:hover { background: #1f3145; box-shadow: 0 18px 40px rgba(36, 58, 82, .18); transform: translateY(-1px); }
.button.outline {
  background: transparent;
  color: var(--deep);
  border-color: rgba(36, 58, 82, .45);
  box-shadow: none;
}
.button.outline:hover, .button.ghost:hover { background: var(--deep); color: #fff; }
.button.dark { background: var(--deep); }
.button.light { background: #fff; color: var(--deep); border-color: #fff; }
.button.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.button.whatsapp-button {
  border-color: #187744;
  background: #187744;
  color: #fff;
}
.button.whatsapp-button:hover { background: #0f6b3a; }
.button.whatsapp-button.ghost {
  border-color: rgba(255,255,255,.45);
  background: transparent;
}
.button.whatsapp-button.ghost:hover { background: #fff; color: var(--deep); }
.centered { display: flex; justify-content: center; margin-top: 48px; }
.centered-actions { justify-content: center; margin-top: 24px; }
.actions.compact { margin-top: 28px; }
.icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: .9;
}
.star { color: var(--gold); }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #187744;
  color: #fff;
  box-shadow: 0 14px 36px rgba(24,119,68,.28);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.whatsapp-float .icon { width: 19px; height: 19px; margin-right: 8px; }
.whatsapp-float:hover { background: #0f6b3a; }

.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  background: #fff;
  transition: 300ms ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(231,225,218,.72);
  box-shadow: 0 8px 30px rgba(26,36,48,.06);
  backdrop-filter: blur(20px) saturate(140%);
}
.nav-inner {
  width: min(1280px, calc(100% - 48px));
  height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-align: center;
}
.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-copy {
  display: block;
  min-width: 0;
}
.brand-title {
  display: block;
  color: var(--deep);
  font-size: 28px;
  letter-spacing: 0.055em;
  line-height: 1;
}
.brand-subtitle {
  display: block;
  margin-top: 5px;
  color: var(--muted-foreground);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  color: rgba(26,36,48,.76);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.phone-link { display: inline-flex; align-items: center; gap: 8px; color: var(--deep) !important; letter-spacing: 0 !important; text-transform: none !important; }
.nav-cta { min-height: 42px; padding: 0 22px; color: #fff !important; }
.nav-dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: 290px;
  padding: 10px 0;
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(26,36,48,.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 180ms ease;
}
.nav-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a {
  display: block;
  padding: 10px 20px;
  color: var(--foreground);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
.dropdown-panel a:hover { background: var(--secondary); }
.menu-toggle, .mobile-menu { display: none; }

.hero { padding: 136px 0 72px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { font-size: clamp(46px, 6vw, 68px); }
.hero .lead { max-width: 620px; }
.hero .actions { margin-top: 36px; }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center center;
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
  filter: brightness(1.04) contrast(.96) saturate(1.03);
}
.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp .8s ease-out forwards; }
.delay { animation-delay: .2s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.section-split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: start;
}
.feature-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: start;
}
.heading-gap { margin-bottom: 56px; }

.trust-strip {
  padding: 26px 0;
  background: var(--deep);
  color: #fff;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.16);
}
.trust-grid article {
  padding: 24px;
  background: var(--deep);
  border-top: 2px solid rgba(200,149,56,.65);
}
.trust-grid strong {
  display: block;
  color: #fff;
  font-family: "Open Sans Condensed", "Open Sans", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 300;
}
.trust-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}
.service-card .duotone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.service-card .duotone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.duotone {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--deep);
}
.duotone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.35) contrast(.95) brightness(1.05) saturate(1.03);
  transition: transform 700ms ease;
}
.duotone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  mix-blend-mode: color;
  opacity: .55;
  pointer-events: none;
}
.service-card:hover img, .treatment-row:hover img, .other-grid a:hover img { transform: scale(1.05); }
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36,58,82,.18), rgba(36,58,82,.62));
  transition: background 350ms ease;
}
.service-card:hover .service-overlay { background: linear-gradient(180deg, rgba(36,58,82,.08), rgba(36,58,82,.50)); }
.service-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  text-shadow: 0 2px 12px rgba(0,0,0,.22);
}
.service-content strong {
  font-family: "Open Sans Condensed", "Open Sans", system-ui, sans-serif;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 300;
  line-height: 1.04;
}
.service-content span { margin-top: 12px; font-size: 14px; font-weight: 300; line-height: 1.7; }
.service-content em { margin-top: 18px; color: #fff; font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
}
.about-image { position: relative; }
.about-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center 34%;
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
  filter: brightness(1.04) contrast(.96) saturate(1.03);
}
.value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.value-list li { display: flex; gap: 12px; font-size: 14px; font-weight: 300; line-height: 1.7; }
.value-list span { color: var(--primary); font-weight: 700; }
.director-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding: 28px;
  background: linear-gradient(135deg, #fff 0%, var(--sky) 100%);
  border: 1px solid var(--sky-border);
  border-left: 3px solid var(--gold);
  border-radius: 18px;
}
.director-card .experience-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  place-items: center;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  font-family: "Open Sans Condensed", "Open Sans", system-ui, sans-serif;
  line-height: 1;
}
.director-card small {
  display: block;
  color: var(--muted-foreground);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.director-card strong {
  display: block;
  margin-top: 6px;
  color: var(--deep);
  font-family: "Open Sans Condensed", "Open Sans", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 300;
}
.director-card .experience-mark strong {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}
.director-card .experience-mark small {
  margin-top: 3px;
  color: rgba(255,255,255,.78);
  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 1;
}
.experience-card {
  gap: 22px;
}
.experience-card .experience-mark {
  width: 82px;
  height: 82px;
  flex-basis: 82px;
}
.experience-card .experience-mark strong {
  font-size: 31px;
}
.experience-card .experience-mark small {
  margin-top: 5px;
  font-size: 10px;
}
.director-duty {
  display: block;
  margin-top: 7px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}
.experience-card strong {
  margin-top: 6px;
  font-size: 27px;
}
.experience-card p {
  margin: 12px 0 0;
  color: rgba(26,36,48,.76);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}
.safety-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 2px solid var(--primary);
  background: rgba(241,239,236,.65);
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 300;
}

.team-intro-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 64px;
  align-items: center;
}
.team-intro .actions { margin-top: 34px; }
.team-intro-photo,
.team-portrait,
.lab-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.team-intro-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 36%;
  filter: brightness(1.03) contrast(.97) saturate(1.02);
}
.director-feature {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 56px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--sky-border);
  border-radius: 26px;
  background: linear-gradient(135deg, #fff 0%, var(--sky) 100%);
}
.team-portrait {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
}
.team-portrait img,
.lab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.03) contrast(.97) saturate(1.02);
}
.director-portrait {
  min-height: 520px;
  border-radius: 20px;
}
.director-copy { padding: 34px 34px 34px 0; }
.team-role {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.45;
  text-transform: uppercase;
}
.team-points {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.team-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
}
.team-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.compact-card {
  max-width: 440px;
  margin-top: 34px;
  padding: 22px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.team-card {
  display: grid;
  gap: 20px;
  padding: 16px 16px 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(26,36,48,.06);
}
.team-card .team-portrait {
  aspect-ratio: 4 / 4.6;
  border-radius: 16px;
  box-shadow: none;
}
.team-card h3,
.lab-people h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.08;
}
.team-card p:not(.team-role),
.lab-people p:not(.team-role) {
  margin: 14px 0 0;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
}
.team-card .team-points { margin-top: 18px; }
.lab-feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
}
.lab-photo {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
}
.lab-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.lab-people article {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}
.lab-people p:not(.team-role) {
  max-width: 58ch;
  line-height: 1.72;
}


.lab-collaboration-section .section-copy { max-width: 66ch; }
.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.lab-card h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.08;
}
.lab-visual {
  aspect-ratio: 4 / 4.6;
  border-radius: 16px;
  box-shadow: none;
}
.lab-card p:not(.team-role) {
  margin: 14px 0 0;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
}
.lab-note {
  max-width: 780px;
  margin: 34px auto 0;
  padding: 18px 22px;
  border: 1px solid var(--sky-border);
  border-left: 3px solid var(--gold);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
}

.studio-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 8px auto 0;
}
.studio-gallery figure {
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(26,36,48,.08);
}
.studio-gallery img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  filter: brightness(1.03) contrast(.97) saturate(1.02);
}

.reviews-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.reviews-simple {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}
.reviews-simple .actions {
  justify-content: flex-end;
}
.rating {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid var(--border);
}
.rating strong {
  display: block;
  color: var(--deep);
  font-family: "Open Sans Condensed", "Open Sans", system-ui, sans-serif;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}
.rating small {
  display: block;
  max-width: 190px;
  padding-left: 20px;
  border-left: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
}
.star { color: var(--gold); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.reviews-grid article {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  transition: box-shadow 180ms ease;
}
.reviews-grid article:hover { box-shadow: 0 18px 40px rgba(26,36,48,.08); }
.reviews-grid p { flex: 1; color: rgba(26,36,48,.84); font-weight: 300; line-height: 1.75; }
.reviews-grid footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.reviews-grid footer span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: var(--deep);
  font-family: "Open Sans Condensed", "Open Sans", system-ui, sans-serif;
  font-size: 22px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.breadcrumb strong { color: var(--deep); }
.treatment-list { margin-top: 64px; border-top: 1px solid var(--border); }
.need-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 36px;
}
.need-grid span {
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: rgba(246,245,243,.72);
  color: var(--deep);
  font-size: 13px;
  font-weight: 600;
}
.treatment-row {
  display: grid;
  grid-template-columns: 80px 320px minmax(0, 1fr) 140px;
  gap: 40px;
  align-items: center;
  padding: 40px 8px;
  border-bottom: 1px solid var(--border);
  transition: background 180ms ease;
}
.treatment-row:hover { background: rgba(246,245,243,.65); }
.num {
  color: rgba(36,58,82,.28);
  font-family: "Open Sans Condensed", "Open Sans", system-ui, sans-serif;
  font-size: 54px;
  font-weight: 300;
}
.row-img {
  height: 205px;
  border-radius: 18px;
}
.treatment-row strong {
  display: block;
  color: var(--deep);
  font-family: "Open Sans Condensed", "Open Sans", system-ui, sans-serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.1;
}
.treatment-row em {
  display: block;
  margin-top: 8px;
  color: var(--muted-foreground);
  font-style: normal;
  line-height: 1.7;
}
.treatment-row small {
  display: block;
  margin-top: 12px;
  color: var(--muted-foreground);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.treatment-row b {
  color: var(--primary);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.detail-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 124px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fafaf8;
  overflow: hidden;
}
.sidebar-title { margin: 0; padding: 22px 22px 12px; color: var(--deep); font-size: 26px; }
.sidebar a {
  display: block;
  padding: 13px 22px;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 14px;
}
.sidebar a:hover, .sidebar a.active { color: var(--primary); background: var(--secondary); }
.sidebar-cta {
  margin: 20px;
  padding: 20px;
  border-radius: 14px;
  border-top: 3px solid var(--gold);
  background: var(--deep);
  color: #fff;
}
.sidebar-cta strong { display: block; font-family: "Open Sans Condensed", "Open Sans", system-ui, sans-serif; font-size: 24px; font-weight: 300; }
.sidebar-cta p { color: rgba(255,255,255,.78); font-size: 14px; }
.sidebar-cta a { border: 0; padding: 0; color: #fff; background: transparent; }
.detail-hero {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  align-items: start;
}
.detail-image {
  height: 420px;
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags span {
  padding: 7px 12px;
  border: 1px solid var(--border);
  background: rgba(241,239,236,.45);
  color: var(--muted-foreground);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.long-sections { margin-top: 64px; }
.long-sections section {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 36px;
  padding: 0 0 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(231,225,218,.75);
}
.long-sections span {
  color: rgba(36,58,82,.18);
  font-family: "Open Sans Condensed", "Open Sans", system-ui, sans-serif;
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
}
.long-sections h2 { margin-top: 12px; font-size: 34px; }
.long-sections p { margin: 0; color: rgba(26,36,48,.86); font-size: 18px; font-weight: 300; line-height: 1.85; }
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: 64px;
  padding: 42px 48px;
  background: var(--deep);
  color: #fff;
  border-radius: 18px;
  border-top: 3px solid var(--gold);
}
.cta-band h2 { color: #fff; font-size: clamp(32px, 4vw, 50px); }
.cta-band p { color: rgba(255,255,255,.75); font-weight: 300; }
.cta-band > div:last-child { display: grid; gap: 12px; }
.other-treatments { margin-top: 64px; }
.other-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.other-grid .duotone { height: 180px; margin-bottom: 14px; }
.other-grid strong {
  display: block;
  color: var(--deep);
  font-family: "Open Sans Condensed", "Open Sans", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 300;
}
.other-grid em { display: inline-block; margin-top: 8px; font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.faq-block {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.faq-block h2 { font-size: clamp(32px, 4vw, 46px); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.faq-grid article {
  padding: 26px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(26,36,48,.04);
}
.faq-grid h3 { font-size: 24px; }
.steps-grid h2,
.two-cards h2,
.convenzioni-grid h2,
.info-stack h2 { font-size: clamp(24px, 3vw, 34px); }
.faq-grid p {
  margin-bottom: 0;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
}
.first-faq .faq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.first-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: start;
}
.first-grid img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center center;
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
  filter: brightness(1.05) contrast(.95) saturate(1.02);
}
.first-grid .actions { margin-top: 32px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 80px;
}
.steps-grid article {
  padding: 38px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(26,36,48,.04);
  transition: background 180ms ease;
}
.steps-grid article:hover { background: rgba(246,245,243,.72); }
.steps-grid span {
  color: rgba(36,58,82,.28);
  font-family: "Open Sans Condensed", "Open Sans", system-ui, sans-serif;
  font-size: 54px;
  font-weight: 300;
}
.steps-grid p { color: var(--muted-foreground); font-size: 14px; font-weight: 300; line-height: 1.85; }
.two-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 64px;
}
.two-cards article { padding: 42px; background: var(--secondary); border-radius: 18px; }
.two-cards .dark-card { background: var(--deep); color: #fff; border-top: 3px solid var(--gold); }
.two-cards .dark-card h2 { color: #fff; }
.two-cards p { color: var(--muted-foreground); font-weight: 300; }
.two-cards .dark-card p { color: rgba(255,255,255,.78); }
.convenzioni-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  gap: 0;
  margin-top: 56px;
}
.convenzioni-grid article {
  padding: 44px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}
.convenzioni-grid article:only-child { grid-column: 1 / -1; }
.convenzioni-grid article > div {
  height: 145px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.convenzioni-grid img { max-height: 100px; width: auto; }
.placeholder { color: rgba(98,107,117,.35); font-size: 48px; border-style: dashed !important; background: rgba(246,245,243,.7) !important; }
.convenzioni-grid p { color: var(--muted-foreground); font-size: 14px; font-weight: 300; line-height: 1.85; }

.contact-heading { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.contact-heading p:not(.eyebrow) { color: var(--muted-foreground); font-size: 18px; }
.contact-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
}
.contact-form, .info-stack article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(26,36,48,.05);
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 40px;
}
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--foreground);
  font-size: 14px;
  font-weight: 600;
}
.contact-form .form-wide,
.contact-form button,
.form-note,
.privacy-hint { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--foreground);
  outline-color: var(--sky-border);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--sky-border);
  outline: 2px solid rgba(205,233,238,.85);
}
textarea { resize: vertical; }
.privacy-hint {
  margin: -10px 0 0;
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.6;
}
.form-note { min-height: 24px; margin: 0; color: var(--muted-foreground); font-size: 12px; }
.form-note.success { color: #117a4a; }
.form-note.error { color: #b42318; }
.info-stack { display: grid; gap: 20px; align-content: start; }
.info-stack article { padding: 32px; }
.info-stack p { display: flex; gap: 14px; align-items: flex-start; color: var(--muted-foreground); }
.info-stack a:hover { color: var(--primary); }
.info-stack dl { margin: 0; }
.info-stack dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.info-stack dt { font-weight: 600; }
.info-stack dd { margin: 0; color: var(--muted-foreground); }
.map {
  width: 100%;
  height: 420px;
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

.footer {
  background: var(--deep);
  color: #fff;
  padding: 72px 0 104px;
}
.footer-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: 48px;
}
.footer p, .footer li, .footer a { color: rgba(255,255,255,.72); font-weight: 300; }
.footer a:hover { color: #fff; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-heading {
  margin-top: 0;
  margin-bottom: 20px;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.footer-brand .footer-brand-mark {
  width: 61px;
  height: 61px;
  flex: 0 0 61px;
  padding: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 10px 28px rgba(0,0,0,.18);
}
.footer-brand .footer-brand-mark img {
  width: 40px;
  height: 40px;
  filter: none;
}
.footer-brand .brand-copy { text-align: left; }
.footer .brand-title { color: #fff; font-size: 28px; }
.footer .brand-subtitle { color: rgba(255,255,255,.6); }
.footer section:last-of-type li a {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}
.footer section:last-of-type li a .icon {
  margin-right: 0;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.socials a {
  min-height: 44px;
  min-width: 118px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.socials a:hover {
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.16);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  transform: translateY(-1px);
}
.socials a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-color: #fff;
  background: rgba(255,255,255,.18);
}
.footer-legal {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 18px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.62);
  font-size: 13px;
}
.footer-legal div:last-child { text-align: right; align-self: end; }

@media (max-width: 1180px) {
  .nav-inner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 0;
  }
  .brand {
    grid-column: 2;
    justify-self: center;
  }
  .nav-links { display: none; }
  .menu-toggle {
    grid-column: 3;
    justify-self: end;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--muted);
    color: var(--deep);
    cursor: pointer;
  }
  .mobile-menu {
    display: none;
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid var(--border);
  }
  .mobile-menu.open { display: grid; gap: 12px; }
  .mobile-menu a { padding: 8px 0; font-weight: 600; }
  .mobile-subnav { display: grid; gap: 4px; padding-left: 18px; }
  .mobile-subnav a { color: var(--muted-foreground); font-size: 14px; }
  .hero-grid, .about-grid, .section-split, .detail-hero, .first-grid, .contact-layout, .team-intro-grid, .director-feature, .lab-feature, .reviews-simple { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { max-width: 620px; }
  .about-image img { object-position: center 14%; }
  .team-intro-photo img { object-position: center 34%; }
  .director-copy { padding: 24px; }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .treatment-row { grid-template-columns: 70px 210px 1fr; }
  .treatment-row b { grid-column: 3; }
}

@media (max-width: 820px) {
  .container, .nav-inner, .mobile-menu, .footer-inner { width: min(100% - 32px, 1280px); }
  .section { padding: 72px 0; }
  .page { padding-top: 122px; }
  .brand { gap: 10px; }
  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .brand-title { font-size: 25px; }
  .brand-subtitle { display: none; }
  .hero { padding-top: 118px; }
  .hero-photo img, .about-image img, .team-intro-photo img { height: 340px; }
  .experience-card .experience-mark {
    width: 74px;
    height: 74px;
    flex-basis: 74px;
  }
  .experience-card .experience-mark strong { font-size: 28px; }
  .director-portrait { min-height: 0; }
  .first-grid img, .detail-image { height: 280px; }
  .service-grid, .reviews-grid, .other-grid, .convenzioni-grid, .trust-grid, .studio-gallery, .faq-grid, .need-grid, .team-grid, .lab-grid, .lab-people { grid-template-columns: 1fr; }
  .first-faq .faq-grid { grid-template-columns: 1fr; }
  .value-list, .steps-grid, .two-cards, .contact-form, .footer-inner, .footer-legal { grid-template-columns: 1fr; }
  .contact-form .form-wide, .contact-form button, .form-note, .privacy-hint { grid-column: auto; }
  .reviews-head { margin-inline: auto; text-align: center; }
  .reviews-simple { text-align: center; }
  .reviews-simple .actions { justify-content: center; }
  .treatment-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 32px 0;
  }
  .treatment-row b { grid-column: auto; }
  .row-img { height: 220px; }
  .studio-gallery img { height: 220px; }
  .map { height: 340px; }
  .long-sections section, .cta-band { grid-template-columns: 1fr; }
  .footer-inner,
  .footer section,
  .footer p,
  .footer-heading,
  .footer ul,
  .footer li,
  .footer a,
  .footer-legal,
  .footer-legal div,
  .footer-legal div:last-child {
    text-align: center;
  }
  .footer-brand,
  .socials {
    justify-content: center;
  }
  .footer-brand .brand-copy { text-align: center; }
  .socials {
    flex-direction: column;
    align-items: center;
  }
  .socials a {
    width: min(220px, 100%);
  }
  .footer ul {
    justify-items: center;
  }
  .footer li a {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  h1 { font-size: 44px; }
  h2 { font-size: 36px; }
  .page h1 { font-size: 38px; }
  .brand-title { font-size: 23px; }
  .actions, .button { width: 100%; }
  .hero-photo img, .about-image img, .team-intro-photo img { height: 300px; }
  .first-grid img, .detail-image { height: 270px; }
  .director-feature { padding: 12px; border-radius: 20px; }
  .director-copy { padding: 12px; }
  .service-card { aspect-ratio: 16 / 10; min-height: 220px; }
  .service-content { padding: 24px; }
  .contact-form, .info-stack article, .steps-grid article, .two-cards article, .convenzioni-grid article, .lab-people article { padding: 26px; }
  .info-stack dl div { grid-template-columns: 1fr; gap: 2px; }
  .map { height: 320px; }
}

@media (max-width: 390px) {
  .experience-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
