/*
 * Editorial redesign layer for the Alice children’s centre.
 * The original stylesheet remains intact beneath this layer so the redesign
 * is easy to review or remove without touching content or behaviour.
 */

:root {
  --editorial-ink: #38283d;
  --editorial-muted: #766b76;
  --editorial-plum: #63306f;
  --editorial-plum-dark: #47204f;
  --editorial-sage: #708c67;
  --editorial-sage-soft: #e7eee2;
  --editorial-apricot: #c97f62;
  --editorial-apricot-soft: #f4dfd3;
  --editorial-paper: #fffdf9;
  --editorial-canvas: #f6f0e9;
  --editorial-lavender: #efe6f0;
  --editorial-line: #ded2dc;
  --editorial-line-strong: #c9b8c7;
  --editorial-display: Georgia, "Times New Roman", serif;
  --editorial-body: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --editorial-container: 1240px;
  --editorial-gutter: clamp(20px, 5vw, 72px);
  --editorial-section: clamp(76px, 9vw, 132px);
  --editorial-radius: 18px;
  --editorial-shadow: 0 24px 80px rgba(74, 45, 74, 0.1);
}

html {
  scroll-padding-top: 132px;
}

body {
  overflow-x: clip;
  color: var(--editorial-ink);
  background: var(--editorial-paper);
  font-family: var(--editorial-body);
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  color: var(--editorial-plum-dark);
}

h1,
h2 {
  font-family: var(--editorial-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  overflow-wrap: normal;
  word-break: normal;
}

h3,
h4 {
  font-family: var(--editorial-body);
  font-weight: 650;
  letter-spacing: -0.015em;
}

p {
  text-wrap: pretty;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--editorial-sage);
  outline-offset: 4px;
}

/* Header and primary navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 92px;
  padding: 15px var(--editorial-gutter);
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid var(--editorial-line);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.brand {
  align-self: center;
}

.brand img {
  width: clamp(120px, 10vw, 158px);
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.45vw, 25px);
  min-width: 0;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--editorial-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--editorial-plum);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: 0;
}

.header-call,
.accessibility-toggle {
  min-height: 42px;
  padding: 10px 15px;
  color: var(--editorial-plum-dark);
  background: transparent;
  border: 1px solid var(--editorial-line-strong);
  border-radius: 8px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}

.header-call:hover,
.accessibility-toggle:hover {
  color: var(--editorial-plum-dark);
  background: var(--editorial-lavender);
  border-color: var(--editorial-plum);
}

.header-call:not(.secondary-call) {
  color: #fff;
  background: var(--editorial-plum);
  border-color: var(--editorial-plum);
}

.header-call:not(.secondary-call):hover {
  color: #fff;
  background: var(--editorial-plum-dark);
}

.vision-panel {
  position: sticky;
  top: 92px;
  z-index: 45;
  padding: 14px var(--editorial-gutter);
  color: var(--editorial-ink);
  background: var(--editorial-sage-soft);
  border-bottom: 1px solid var(--editorial-sage);
}

.vision-panel-inner {
  max-width: var(--editorial-container);
  margin: 0 auto;
}

/* Buttons and links */

.button,
.price-link {
  border-radius: 8px;
  box-shadow: none;
  font-family: var(--editorial-body);
  font-weight: 700;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button {
  min-height: 48px;
  padding: 13px 20px;
}

.button:hover,
.price-link:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--editorial-plum);
  border: 1px solid var(--editorial-plum);
}

.button.primary:hover {
  background: var(--editorial-plum-dark);
  border-color: var(--editorial-plum-dark);
}

.button.secondary {
  color: var(--editorial-plum-dark);
  background: transparent;
  border: 1px solid var(--editorial-line-strong);
}

.max-button {
  color: #3c633c;
  background: #f5faf2;
  border: 1px solid #a8bea1;
}

.price-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 15px;
  color: var(--editorial-plum-dark);
  background: transparent;
  border: 1px solid var(--editorial-line-strong);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(440px, 1.07fr);
  align-items: stretch;
  width: min(100%, 1480px);
  min-height: 720px;
  margin: 0 auto;
  padding: 0 var(--editorial-gutter);
  overflow: hidden;
  background: var(--editorial-canvas);
  border-bottom: 1px solid var(--editorial-line);
}

.hero::before {
  display: none;
}

.hero-media {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  min-height: 640px;
  margin: clamp(34px, 4vw, 58px) 0;
  overflow: hidden;
  border-radius: 220px 8px 8px 8px;
}

.hero-media::after {
  display: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% center;
  filter: saturate(0.9) contrast(0.97);
}

.hero-content {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 100%;
  min-width: 0;
  max-width: 670px;
  margin: 0;
  padding: clamp(60px, 7vw, 104px) clamp(24px, 3vw, 44px) clamp(60px, 7vw, 104px) 0;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--editorial-plum);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(50px, 4.5vw, 68px);
  line-height: 0.99;
}

.hero-subtitle {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--editorial-plum);
  font-family: var(--editorial-display);
  font-size: clamp(23px, 2.1vw, 32px);
  line-height: 1.17;
}

.hero-text {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--editorial-ink);
  font-size: 16px;
  line-height: 1.65;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid var(--editorial-line);
  border-radius: 12px;
  box-shadow: none;
}

.hero-trust span {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 14px 18px;
  color: var(--editorial-plum-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-trust span:nth-child(odd) {
  border-right: 1px solid var(--editorial-line);
}

.hero-trust span:nth-child(-n + 2) {
  border-bottom: 1px solid var(--editorial-line);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

/* Shared editorial sections */

.section,
.center-space,
.band,
.quality,
.faq,
.map-section,
.contacts {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.section,
.center-space {
  padding: var(--editorial-section) var(--editorial-gutter);
}

.section > *,
.center-space > *,
.contacts > *,
.map-section > * {
  position: relative;
}

.section-heading,
.service-grid,
.more-services,
.space-feature,
.space-grid,
.space-video,
.equipment-block,
.payment-layout,
.paid-services-details,
.team-grid,
.documents-panel,
.quality-grid,
.faq-list {
  width: min(100%, var(--editorial-container));
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 1.08fr);
  column-gap: clamp(40px, 8vw, 128px);
  align-items: start;
  margin-bottom: clamp(42px, 6vw, 82px);
}

.section-heading .eyebrow,
.section-heading h2 {
  grid-column: 1;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 4.15vw, 60px);
  line-height: 1.02;
}

.section-heading > p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 650px;
  margin: 36px 0 0;
  color: var(--editorial-muted);
  font-size: 18px;
  line-height: 1.72;
}

.band {
  padding: clamp(58px, 7vw, 92px) var(--editorial-gutter);
  color: #fff;
  background: var(--editorial-plum-dark);
}

.section-inner {
  width: min(100%, var(--editorial-container));
  margin: 0 auto;
}

.two-column {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(42px, 9vw, 140px);
}

.band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(37px, 4vw, 58px);
  line-height: 1.07;
}

.band .eyebrow {
  color: #d7c5d9;
}

.band p {
  color: #f6eef4;
  font-size: 18px;
}

/* Services */

#services {
  background: var(--editorial-paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--editorial-line-strong);
}

.service-card {
  min-height: 320px;
  padding: 32px 28px 38px 0;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--editorial-line);
  border-radius: 0;
  box-shadow: none;
}

.service-card + .service-card {
  padding-left: 28px;
}

.service-card:last-child {
  border-right: 0;
}

.service-card > span {
  display: block;
  margin-bottom: 42px;
  color: var(--editorial-apricot);
  font-family: var(--editorial-display);
  font-size: 30px;
  font-weight: 400;
}

.service-card h3 {
  margin: 0 0 18px;
  color: var(--editorial-plum-dark);
  font-family: var(--editorial-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
}

.service-card p {
  margin: 0;
  color: var(--editorial-muted);
  font-size: 15px;
  line-height: 1.65;
}

.more-services {
  margin-top: 32px;
  border: 0;
}

.more-services > summary,
.paid-services-details > summary {
  display: inline-flex;
  width: auto;
  min-height: 46px;
  padding: 11px 18px;
  color: var(--editorial-plum-dark);
  background: transparent;
  border: 1px solid var(--editorial-line-strong);
  border-radius: 8px;
  box-shadow: none;
  font-size: 14px;
}

.more-services > summary::after,
.paid-services-details > summary::after {
  margin-left: 14px;
}

.more-services .service-grid {
  margin-top: 32px;
}

/* Centre spaces and authentic imagery */

.center-space {
  background: var(--editorial-canvas);
}

.space-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  margin-bottom: 74px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.space-feature .image-link {
  overflow: hidden;
  border-radius: 180px 8px 8px 8px;
}

.space-feature .image-link img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.space-feature h3,
.space-video h3,
.equipment-block h3 {
  font-family: var(--editorial-display);
  font-size: clamp(32px, 3.2vw, 50px);
  font-weight: 500;
  line-height: 1.08;
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--editorial-line);
  border: 1px solid var(--editorial-line);
  border-radius: var(--editorial-radius);
}

.space-grid article {
  padding: 0 0 26px;
  background: var(--editorial-paper);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.space-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}

.space-grid article > div {
  padding: 22px 24px 0;
}

.space-grid h3 {
  margin: 0 0 10px;
  font-family: var(--editorial-display);
  font-size: 25px;
  font-weight: 500;
}

.space-grid p {
  margin: 0;
  color: var(--editorial-muted);
  font-size: 14px;
}

.space-video,
.equipment-block {
  margin-top: 74px;
  padding: clamp(30px, 4vw, 54px);
  background: var(--editorial-paper);
  border: 1px solid var(--editorial-line);
  border-radius: var(--editorial-radius);
  box-shadow: none;
}

.space-video {
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(32px, 5vw, 70px);
}

.space-video video {
  width: 100%;
  border-radius: 12px;
  box-shadow: none;
}

.equipment-block {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 86px);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--editorial-line);
}

.equipment-grid article {
  padding: 26px 24px 26px 0;
  border-bottom: 1px solid var(--editorial-line);
}

.equipment-grid article:nth-child(even) {
  padding-right: 0;
  padding-left: 24px;
  border-left: 1px solid var(--editorial-line);
}

/* Payment and paid services */

#payment {
  background: var(--editorial-paper);
}

.payment-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--editorial-line);
  border: 1px solid var(--editorial-line);
  border-radius: var(--editorial-radius);
}

.info-panel {
  min-height: 240px;
  padding: clamp(30px, 4vw, 48px);
  background: var(--editorial-paper);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.info-panel h3 {
  font-family: var(--editorial-display);
  font-size: 30px;
  font-weight: 500;
}

.info-panel.muted {
  color: var(--editorial-ink);
  background: var(--editorial-apricot-soft);
}

.paid-services {
  background: var(--editorial-lavender);
}

.paid-services-details {
  border: 0;
}

.paid-services-details[open] > summary {
  color: #fff;
  background: var(--editorial-plum);
}

.paid-services-details .price-note {
  max-width: 820px;
  margin: 32px 0;
  padding: 0 0 0 24px;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--editorial-apricot);
  border-radius: 0;
}

.birthday,
.paid-services-details .birthday {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1.14fr);
  gap: clamp(38px, 6vw, 82px);
  margin-top: 42px;
  padding: clamp(34px, 5vw, 66px);
  background: var(--editorial-paper);
  border: 1px solid var(--editorial-line);
  border-radius: var(--editorial-radius);
  box-shadow: none;
}

.birthday > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 160px 8px 8px 8px;
}

.birthday-copy h2 {
  font-size: clamp(40px, 4vw, 58px);
}

.birthday-offer,
.birthday-stat {
  color: var(--editorial-plum-dark);
}

.birthday-program,
.birthday-gallery {
  grid-column: 1 / -1;
}

.birthday-program {
  background: var(--editorial-canvas);
  border: 0;
  border-radius: 12px;
}

.birthday-gallery {
  gap: 16px;
}

.birthday-gallery img {
  border-radius: 12px;
}

/* Specialists */

#specialists {
  background: var(--editorial-paper);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 54px;
}

.team-grid > .specialist-card {
  min-height: 0;
  padding: 30px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--editorial-line);
  border-radius: 0;
  box-shadow: none;
}

.team-grid > .specialist-card:not(.owner-card) {
  min-height: 0;
}

.team-grid > .specialist-card > span {
  color: var(--editorial-apricot);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-grid > .specialist-card h3 {
  margin: 11px 0 14px;
  font-family: var(--editorial-display);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.12;
}

.team-grid > .specialist-card p {
  color: var(--editorial-muted);
}

.owner-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(36px, 7vw, 96px);
  margin-bottom: 34px;
  padding: clamp(34px, 5vw, 62px) !important;
  background: var(--editorial-canvas) !important;
  border: 0 !important;
  border-radius: var(--editorial-radius) !important;
}

.owner-photo {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 140px 8px 8px 8px;
}

.owner-copy {
  align-self: center;
}

.specialist-details {
  margin-top: 22px;
  border-top: 1px solid var(--editorial-line);
}

.specialist-details summary {
  padding: 17px 0;
  color: var(--editorial-plum-dark);
  background: transparent;
  border: 0;
  font-size: 14px;
}

.specialist-details summary::after {
  color: var(--editorial-plum-dark);
  background: transparent;
  border: 1px solid var(--editorial-line-strong);
}

.specialist-details > div {
  padding: 8px 0 10px;
}

/* Official information */

.documents {
  color: var(--editorial-ink);
  background: var(--editorial-plum-dark);
}

.documents .section-heading h2,
.documents .section-heading > p:not(.eyebrow) {
  color: #fff;
}

.documents .eyebrow {
  color: #d9c7db;
}

.documents-panel {
  overflow: hidden;
  background: var(--editorial-paper);
  border: 0;
  border-radius: var(--editorial-radius);
  box-shadow: var(--editorial-shadow);
}

.documents-panel > summary {
  padding: 30px 34px;
  color: var(--editorial-plum-dark);
  background: var(--editorial-canvas);
  border: 0;
  border-bottom: 1px solid var(--editorial-line);
}

.documents-panel > summary > span {
  font-family: var(--editorial-display);
  font-size: 28px;
  font-weight: 500;
}

.documents-panel > summary small {
  color: var(--editorial-muted);
}

.documents-panel .document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0 34px 34px;
  background: transparent;
}

.document-grid > article {
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
  box-shadow: none;
}

.document-grid > article:nth-child(odd) {
  padding-right: 26px;
}

.document-grid > article:nth-child(even) {
  padding-left: 26px;
  border-left: 1px solid var(--editorial-line);
}

.document-grid > article > details > summary {
  min-height: 78px;
  padding: 22px 0;
  color: var(--editorial-plum-dark);
  background: transparent;
  border: 0;
}

.document-grid details > p,
.document-grid details > .document-links,
.document-grid details > ul,
.document-grid details > a {
  margin-right: 0;
  margin-left: 0;
}

.document-links {
  gap: 8px;
  padding-bottom: 22px;
}

.document-links a {
  color: var(--editorial-plum-dark);
  background: var(--editorial-lavender);
  border: 0;
  border-radius: 6px;
}

/* Quality, FAQ, map and contacts */

.quality {
  background: var(--editorial-canvas);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--editorial-line-strong);
}

.quality-grid article {
  min-height: 330px;
  padding: 32px 28px 38px 0;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--editorial-line);
  border-radius: 0;
  box-shadow: none;
}

.quality-grid article + article {
  padding-left: 28px;
}

.quality-grid article:last-child {
  border-right: 0;
}

.quality-grid > article > span {
  color: var(--editorial-apricot);
  font-family: var(--editorial-display);
  font-size: 30px;
}

.quality-grid h3 {
  margin-top: 42px;
  font-family: var(--editorial-display);
  font-size: 29px;
  font-weight: 500;
}

.quality-grid .price-link {
  margin-top: auto;
}

.faq {
  background: var(--editorial-paper);
}

.faq-list {
  max-width: 940px;
}

.faq-list details {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--editorial-line);
  border-radius: 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--editorial-line);
}

.faq-list summary {
  min-height: 76px;
  padding: 22px 0;
  color: var(--editorial-plum-dark);
  font-family: var(--editorial-display);
  font-size: 24px;
  font-weight: 500;
}

.faq-list p {
  max-width: 760px;
  padding: 0 0 28px;
  color: var(--editorial-muted);
}

.map-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.66fr) minmax(0, 1.34fr);
  gap: clamp(42px, 7vw, 96px);
  padding: var(--editorial-section) var(--editorial-gutter);
  color: var(--editorial-ink);
  background: var(--editorial-sage-soft);
}

.map-copy,
.map-frame {
  width: 100%;
  max-width: calc(var(--editorial-container) * 0.5);
}

.map-copy {
  justify-self: end;
}

.map-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(40px, 3.6vw, 52px);
  line-height: 1.05;
}

.map-frame {
  align-self: center;
  justify-self: center;
  max-width: 760px;
  overflow: hidden;
  border: 1px solid #b8c9b1;
  border-radius: var(--editorial-radius);
  box-shadow: none;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(42px, 7vw, 96px);
  padding: var(--editorial-section) max(var(--editorial-gutter), calc((100vw - var(--editorial-container)) / 2));
  color: #fff;
  background: var(--editorial-plum-dark);
}

.contacts h2,
.contacts p,
.contacts .eyebrow {
  color: #fff;
}

.contacts h2 {
  font-size: clamp(42px, 4.5vw, 64px);
}

.contact-list {
  gap: 18px;
}

.contact-list article {
  display: grid;
  grid-template-columns: minmax(150px, 0.58fr) minmax(190px, 0.72fr) minmax(240px, 1fr);
  gap: 16px 24px;
  padding: 28px;
  color: var(--editorial-ink);
  background: var(--editorial-paper);
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}

.contact-list .phone {
  color: var(--editorial-plum-dark);
  font-family: var(--editorial-display);
  font-size: 27px;
}

.contact-hint {
  grid-column: 3;
  color: var(--editorial-muted) !important;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--editorial-gutter);
  color: #e8dfe8;
  background: #2e1b32;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

/* Responsive behaviour */

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px 24px;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  }

  .hero h1 {
    font-size: clamp(46px, 5.8vw, 66px);
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card:nth-child(2) {
    border-right: 0;
  }

  .service-card:nth-child(n + 3) {
    border-top: 1px solid var(--editorial-line);
  }

  .service-card:nth-child(3) {
    padding-left: 0;
  }

  .space-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-list article {
    grid-template-columns: 1fr 1fr;
  }

  .contact-hint {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 154px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .hero-media {
    grid-column: 1;
    grid-row: 1;
    min-height: 480px;
    margin: 0;
    border-radius: 160px 8px 8px 8px;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    padding: 52px 0 68px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow,
  .section-heading h2,
  .section-heading > p:not(.eyebrow) {
    grid-column: 1;
    grid-row: auto;
  }

  .section-heading > p:not(.eyebrow) {
    margin-top: 26px;
  }

  .two-column,
  .space-feature,
  .space-video,
  .equipment-block,
  .birthday,
  .paid-services-details .birthday,
  .owner-card,
  .map-section,
  .contacts {
    grid-template-columns: 1fr;
  }

  .space-feature .image-link {
    border-radius: 120px 8px 8px 8px;
  }

  .space-video,
  .equipment-block {
    gap: 26px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .owner-card {
    grid-column: 1;
  }

  .documents-panel .document-grid {
    grid-template-columns: 1fr;
  }

  .document-grid > article:nth-child(odd),
  .document-grid > article:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .quality-grid {
    grid-template-columns: 1fr;
  }

  .quality-grid article,
  .quality-grid article + article {
    min-height: 0;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--editorial-line);
  }

  .quality-grid h3 {
    margin-top: 24px;
  }

  .map-copy,
  .map-frame {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 620px) {
  :root {
    --editorial-gutter: 18px;
    --editorial-section: 72px;
  }

  html {
    scroll-padding-top: 184px;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand,
  .header-actions,
  .main-nav {
    grid-column: 1;
    grid-row: auto;
  }

  .brand img {
    width: 126px;
    height: 48px;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: stretch;
    width: 100%;
  }

  .header-call,
  .accessibility-toggle {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 9px 10px;
    font-size: 11px;
    text-align: center;
  }

  .accessibility-toggle {
    flex-basis: 100%;
  }

  .header-call {
    flex-basis: calc(50% - 5px);
  }

  .main-nav {
    width: 100%;
    gap: 19px;
    padding-bottom: 4px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .vision-panel {
    top: 174px;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 330px;
    border-radius: 100px 8px 8px 8px;
  }

  .hero-content {
    width: 100%;
    min-width: 0;
    padding: 42px 0 62px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 52px);
    line-height: 0.98;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .hero-trust span,
  .hero-trust span:nth-child(odd),
  .hero-trust span:nth-child(-n + 2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--editorial-line);
  }

  .hero-trust span:last-child {
    border-bottom: 0;
  }

  .hero-actions .button {
    width: 100%;
  }

  .two-column {
    gap: 28px;
  }

  .band p {
    font-size: 16px;
  }

  .section-heading h2 {
    font-size: 43px;
  }

  .section-heading > p:not(.eyebrow) {
    font-size: 16px;
  }

  .service-grid,
  .space-grid,
  .payment-layout,
  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card + .service-card,
  .service-card:nth-child(3) {
    min-height: 0;
    padding: 28px 0 32px;
    border-right: 0;
    border-bottom: 1px solid var(--editorial-line);
  }

  .service-card > span {
    margin-bottom: 20px;
  }

  .space-feature {
    margin-bottom: 48px;
  }

  .space-grid {
    border-radius: 12px;
  }

  .space-video,
  .equipment-block,
  .birthday,
  .paid-services-details .birthday,
  .owner-card {
    margin-top: 48px;
    padding: 24px !important;
    border-radius: 12px !important;
  }

  .equipment-grid article,
  .equipment-grid article:nth-child(even) {
    padding: 22px 0;
    border-left: 0;
  }

  .birthday > img {
    min-height: 300px;
    border-radius: 90px 8px 8px 8px;
  }

  .team-grid > .specialist-card h3 {
    font-size: 26px;
  }

  .owner-photo {
    min-height: 300px;
    border-radius: 90px 8px 8px 8px;
  }

  .documents-panel > summary {
    padding: 24px 20px;
  }

  .documents-panel .document-grid {
    padding: 0 20px 24px;
  }

  .documents-panel > summary > span {
    font-size: 23px;
  }

  .faq-list summary {
    padding-right: 48px;
    font-size: 21px;
  }

  .map-section,
  .contacts {
    gap: 42px;
  }

  .contact-list article {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .contact-hint {
    grid-column: 1;
  }

  .contact-buttons {
    flex-wrap: wrap;
  }

  .site-footer {
    display: block;
  }
}

/* Responsive stabilization: full-bleed sections and content-driven reflow */

main > .section,
main > .center-space,
main > .map-section,
main > .contacts {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

.site-header {
  padding-right: max(var(--editorial-gutter), calc((100vw - 1600px) / 2));
  padding-left: max(var(--editorial-gutter), calc((100vw - 1600px) / 2));
}

.section-heading,
.service-grid,
.more-services,
.space-feature,
.space-grid,
.space-video,
.equipment-block,
.payment-layout,
.paid-services-details,
.team-grid,
.documents-panel,
.quality-grid,
.faq-list {
  max-width: var(--editorial-container);
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.space-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.payment-layout {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.quality-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
}

.service-card,
.space-grid article,
.info-panel,
.quality-grid article,
.team-grid > .specialist-card,
.document-grid > article,
.contact-list article,
.owner-copy,
.birthday-copy {
  min-width: 0;
}

.documents a,
.contact-list a {
  overflow-wrap: anywhere;
}

video,
iframe {
  max-width: 100%;
}

@media (max-width: 1299px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 24px;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }
}

@media (max-width: 820px) {
  .team-grid > .specialist-card:not(.owner-card) {
    display: block;
  }

  .team-grid > .specialist-card:not(.owner-card) > h3 {
    max-width: 580px;
    margin: 8px 0 14px;
  }

  .team-grid > .specialist-card:not(.owner-card) > p {
    max-width: 680px;
  }

  .team-grid > .specialist-card:not(.owner-card) > .specialist-details {
    margin-top: 18px;
  }

  .owner-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .owner-photo {
    width: min(100%, 420px);
    max-width: 420px;
  }

  .owner-copy {
    max-width: 680px;
  }
}

/* High-priority QA fixes: responsive media, accessible video and mobile navigation. */

.mobile-menu-toggle {
  display: none;
}

.responsive-picture {
  display: block;
  width: 100%;
}

.hero-media > .responsive-picture,
.hero-media > .responsive-picture img {
  width: 100%;
  height: 100%;
}

.image-link > .responsive-picture {
  width: 100%;
}

.birthday > .responsive-picture {
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border-radius: 160px 8px 8px 8px;
}

.birthday > .responsive-picture img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
}

.birthday-gallery > .responsive-picture {
  overflow: hidden;
  border-radius: 12px;
}

.birthday-gallery > .responsive-picture img {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: inherit;
  box-shadow: var(--editorial-shadow);
}

.birthday-gallery > .responsive-picture:first-child img {
  aspect-ratio: 16 / 9;
}

.video-transcript {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding-top: 24px;
  border-top: 1px solid var(--editorial-line);
}

.video-transcript > summary {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  color: var(--editorial-plum-dark);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.video-transcript > div {
  max-width: 900px;
  padding: 8px 0 4px;
}

.video-transcript p {
  margin: 0 0 12px;
  color: var(--editorial-muted);
  font-size: 16px;
  line-height: 1.65;
}

body.vision-mode .birthday > .responsive-picture {
  border-radius: 0;
}

body.vision-mode.vision-hide-images .birthday > .responsive-picture {
  display: none;
}

@media (max-width: 767px) {
  .site-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto;
    gap: 8px 12px;
    min-height: 68px;
    padding: 10px max(18px, env(safe-area-inset-right)) 10px max(18px, env(safe-area-inset-left));
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .brand img {
    width: 110px;
    height: 46px;
  }

  .js .mobile-menu-toggle {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-width: 88px;
    min-height: 44px;
    padding: 9px 14px;
    color: var(--editorial-plum-dark);
    background: var(--editorial-paper);
    border: 1px solid var(--editorial-line-strong);
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
  }

  .js .main-nav,
  .js .header-actions {
    display: none;
  }

  .site-header.menu-open .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    padding: 4px 0 0;
    overflow: visible;
    border-top: 1px solid var(--editorial-line);
  }

  .site-header.menu-open .main-nav a {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 44px;
    padding: 10px 8px 10px 0;
    font-size: 14px;
    white-space: normal;
  }

  .site-header.menu-open .main-nav a::after {
    display: none;
  }

  .site-header.menu-open .header-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    padding-top: 4px;
  }

  .site-header.menu-open .accessibility-toggle,
  .site-header.menu-open .header-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 9px 10px;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
  }

  .site-header.menu-open .accessibility-toggle {
    grid-column: 1 / -1;
  }

  .birthday > .responsive-picture,
  .birthday > .responsive-picture img {
    min-height: 300px;
  }

  .birthday > .responsive-picture {
    border-radius: 90px 8px 8px 8px;
  }
}

@media (max-width: 360px) {
  .site-header.menu-open .main-nav {
    grid-template-columns: 1fr;
  }
}

/* Alignment and legibility correction from full-page visual QA. */

:root {
  --editorial-muted: #635965;
  --editorial-copy: 900px;
}

.eyebrow {
  font-size: 13px;
  line-height: 1.35;
}

h3,
h4 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero-trust span {
  justify-content: flex-start;
  padding: 16px 20px;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.35;
  text-align: left;
}

.band .intro-layout > p:last-child {
  color: #f8f2f8;
  opacity: 1;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.75;
}

.band .eyebrow {
  color: #eaddec;
}

.section-heading {
  width: min(100%, var(--editorial-container));
  max-width: var(--editorial-container);
  text-align: left;
}

.section-heading h2 {
  max-width: 980px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.section-heading > p:not(.eyebrow) {
  max-width: var(--editorial-copy);
  color: var(--editorial-muted);
}

.service-card,
.space-grid article > div,
.equipment-grid article,
.info-panel,
.quality-grid article,
.owner-copy {
  text-align: left;
}

.space-grid article > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.space-grid h3,
.space-grid p {
  width: 100%;
  max-width: none;
  text-align: left;
}

.space-grid p {
  color: var(--editorial-muted);
  font-size: 16px;
  line-height: 1.65;
}

.equipment-block {
  grid-template-columns: minmax(440px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 4vw, 56px);
  align-items: start;
}

.equipment-block > div:first-child {
  min-width: 0;
}

.equipment-block h3 {
  max-width: 540px;
  font-size: clamp(38px, 3vw, 46px);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.equipment-block > div > p:last-child {
  max-width: 620px;
  color: var(--editorial-muted);
  font-size: 17px;
  line-height: 1.68;
}

.equipment-grid {
  align-self: stretch;
}

.equipment-grid article {
  padding: 28px 26px 30px 0;
}

.equipment-grid article:nth-child(even) {
  padding-right: 0;
  padding-left: 26px;
}

.equipment-grid h4 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.3;
}

.equipment-grid p {
  color: var(--editorial-muted);
  font-size: 16px;
  line-height: 1.65;
}

.document-grid details > p,
.document-grid details > ul {
  color: var(--editorial-muted);
  font-size: 16px;
  line-height: 1.65;
}

.document-grid details > a.price-link {
  margin-top: 20px;
  margin-bottom: 30px;
}

.quality-grid article,
.quality-grid article + article {
  align-items: flex-start;
}

.quality-grid > article > span {
  margin: 0;
}

.quality-grid h3 {
  max-width: 340px;
  margin: 28px 0 14px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.quality-grid p {
  margin: 0 0 28px;
  color: var(--editorial-muted);
  font-size: 16px;
  line-height: 1.65;
}

.quality-grid .price-link {
  align-self: flex-start;
  margin-top: auto;
}

@media (max-width: 1279px) {
  .equipment-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .equipment-block h3,
  .equipment-block > div > p:last-child {
    max-width: 780px;
  }
}

@media (max-width: 760px) {
  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .equipment-grid article,
  .equipment-grid article:nth-child(even) {
    padding: 24px 0;
    border-left: 0;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 20px;
  }

  .site-header {
    position: relative;
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 10px max(18px, env(safe-area-inset-right)) 10px max(18px, env(safe-area-inset-left));
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .brand img {
    width: 126px;
    height: 48px;
  }

  .main-nav {
    grid-column: 1;
    grid-row: 2;
    gap: 19px;
    padding-bottom: 4px;
  }

  .header-actions {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
  }

  .accessibility-toggle,
  .header-call {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
  }

  .accessibility-toggle {
    flex-basis: auto;
  }

  .vision-panel {
    top: 0;
  }

  .section,
  .center-space,
  .map-section,
  .contacts {
    padding-right: max(var(--editorial-gutter), env(safe-area-inset-right));
    padding-left: max(var(--editorial-gutter), env(safe-area-inset-left));
  }

  .owner-card {
    margin-top: 0;
  }
}

@media (max-width: 460px) {
  .header-actions {
    flex-wrap: wrap;
  }

  .accessibility-toggle {
    flex-basis: 100%;
  }

  .header-call {
    flex-basis: calc(50% - 5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav a::after,
  .button,
  .price-link {
    transition: none;
  }
}

/* Preserve the original high-contrast mode over the editorial theme. */

body.vision-mode {
  font-family: Arial, sans-serif;
}

body.vision-mode h1,
body.vision-mode h2,
body.vision-mode h3,
body.vision-mode h4,
body.vision-mode .hero-subtitle,
body.vision-mode .contact-list .phone {
  font-family: Arial, sans-serif;
}

body.vision-mode .hero,
body.vision-mode .center-space,
body.vision-mode .paid-services,
body.vision-mode .quality,
body.vision-mode .map-section {
  background: #fff;
}

body.vision-mode .documents,
body.vision-mode .contacts {
  color: #000;
  background: #fff;
}

body.vision-mode .documents .section-heading h2,
body.vision-mode .documents .section-heading > p:not(.eyebrow),
body.vision-mode .contacts h2,
body.vision-mode .contacts p,
body.vision-mode .contacts .eyebrow {
  color: #000;
}

body.vision-mode .hero-media,
body.vision-mode .space-feature .image-link,
body.vision-mode .birthday > img,
body.vision-mode .owner-photo {
  border-radius: 0;
}

/* Refinement pass: strict alignment, readable cards and stable disclosure rows */

:root {
  --editorial-section: clamp(72px, 7.5vw, 108px);
  --editorial-card-pad: clamp(26px, 3vw, 40px);
}

.section-heading {
  display: block;
  max-width: 900px;
  margin-bottom: clamp(38px, 5vw, 60px);
}

.section-heading h2 {
  max-width: 860px;
  font-size: clamp(40px, 3.8vw, 56px);
  line-height: 1.06;
}

.section-heading > p:not(.eyebrow) {
  max-width: 780px;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.7;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--editorial-line);
  border: 1px solid var(--editorial-line);
  border-radius: var(--editorial-radius);
}

.service-card,
.service-card + .service-card,
.service-card:nth-child(3) {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: var(--editorial-card-pad);
  background: var(--editorial-paper);
  border: 0;
}

.service-card > span {
  margin-bottom: 34px;
}

.service-card h3 {
  max-width: 440px;
  margin-bottom: 14px;
  font-size: clamp(24px, 2vw, 28px);
  line-height: 1.18;
}

.service-card p {
  max-width: 500px;
  font-size: 16px;
  line-height: 1.65;
}

.space-grid article {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

.space-grid article > div {
  flex: 1;
  padding: 24px 24px 28px;
}

.space-grid h3 {
  line-height: 1.18;
}

.space-grid p {
  font-size: 15px;
  line-height: 1.6;
}

.space-video,
.equipment-block,
.birthday,
.paid-services-details .birthday {
  padding: var(--editorial-card-pad);
}

.payment-layout {
  align-items: stretch;
}

.info-panel {
  min-height: 0;
  padding: var(--editorial-card-pad);
}

.info-panel h3 {
  margin: 0 0 14px;
  line-height: 1.18;
}

.info-panel p:last-child {
  margin-bottom: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.team-grid > .specialist-card:not(.owner-card) {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1.42fr);
  column-gap: clamp(42px, 6vw, 86px);
  row-gap: 8px;
  align-items: start;
  width: 100%;
  padding: 34px 0;
  border-top: 1px solid var(--editorial-line);
}

.team-grid > .specialist-card:not(.owner-card) > span {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.team-grid > .specialist-card:not(.owner-card) > h3 {
  grid-column: 1;
  grid-row: 2 / span 2;
  max-width: 360px;
  margin: 4px 0 0;
}

.team-grid > .specialist-card:not(.owner-card) > p {
  grid-column: 2;
  grid-row: 1;
  max-width: 720px;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.team-grid > .specialist-card:not(.owner-card) > .specialist-details {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  margin-top: 12px;
}

.owner-card {
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: start;
  margin-bottom: 34px;
  padding: var(--editorial-card-pad) !important;
}

.owner-photo {
  align-self: start;
  width: 100%;
  max-width: 340px;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}

.owner-copy {
  align-self: center;
  max-width: 720px;
}

.specialist-details summary {
  min-height: 50px;
  padding: 14px 0;
}

.specialist-details > div {
  max-width: 760px;
  padding: 20px 0 8px;
}

.specialist-details > div > :first-child {
  margin-top: 0;
}

.documents-panel .document-grid {
  grid-template-columns: 1fr;
}

.document-grid > article:nth-child(odd),
.document-grid > article:nth-child(even) {
  padding-right: 0;
  padding-left: 0;
  border-left: 0;
}

.document-grid > article > details > summary {
  min-height: 0;
  padding: 22px 0;
}

.quality-grid {
  gap: 1px;
  overflow: hidden;
  background: var(--editorial-line);
  border: 1px solid var(--editorial-line);
  border-radius: var(--editorial-radius);
}

.quality-grid article,
.quality-grid article + article {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: var(--editorial-card-pad);
  background: var(--editorial-paper);
  border: 0;
}

.quality-grid h3 {
  margin: 32px 0 14px;
  line-height: 1.18;
}

@media (max-width: 860px) {
  .team-grid > .specialist-card:not(.owner-card) {
    grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
    column-gap: 32px;
  }

  .owner-card {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2 {
    font-size: clamp(36px, 11vw, 44px);
  }

  .section-heading > p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 16px;
  }

  .service-grid {
    gap: 1px;
    border-radius: 12px;
  }

  .service-card,
  .service-card + .service-card,
  .service-card:nth-child(3) {
    min-height: 0;
    padding: 26px 22px 30px;
    border: 0;
  }

  .service-card > span {
    margin-bottom: 22px;
  }

  .team-grid > .specialist-card:not(.owner-card) {
    display: block;
    padding: 28px 0;
  }

  .team-grid > .specialist-card:not(.owner-card) > h3 {
    max-width: none;
    margin: 8px 0 14px;
  }

  .team-grid > .specialist-card:not(.owner-card) > p {
    max-width: none;
  }

  .team-grid > .specialist-card:not(.owner-card) > .specialist-details {
    margin-top: 18px;
  }

  .owner-card {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 0;
    padding: 22px !important;
  }

  .owner-photo {
    max-width: none;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 10px;
  }

  .quality-grid article,
  .quality-grid article + article {
    min-height: 0;
    padding: 28px 22px;
    border: 0;
  }
}

/* Final cascade guard for content-driven layouts. */

.section-heading {
  width: min(100%, var(--editorial-container));
  max-width: var(--editorial-container);
}

.space-grid p {
  font-size: 16px;
  line-height: 1.65;
}

.quality-grid h3 {
  max-width: 100%;
}

.equipment-grid article,
.equipment-grid article:nth-child(even) {
  padding: clamp(24px, 2vw, 30px);
}

@media (max-width: 860px) {
  .birthday-program,
  .birthday-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .equipment-block h3 {
    max-width: 100%;
    font-size: clamp(23px, 7.2vw, 36px);
    letter-spacing: -0.02em;
  }
}

@media (max-width: 760px) {
  .equipment-grid article,
  .equipment-grid article:nth-child(even) {
    padding: 24px 20px;
  }
}

@media (max-width: 360px) {
  .info-panel h3 {
    font-size: 28px;
  }

  .birthday-copy h2 {
    font-size: 36px;
  }
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.space-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quality-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1099px) {
  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quality-grid > article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1023px) {
  .space-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .quality-grid > article:last-child {
    grid-column: auto;
  }
}

@media (max-width: 639px) {
  .space-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .team-grid > .specialist-card:not(.owner-card) {
    display: block;
  }

  .team-grid > .specialist-card:not(.owner-card) > h3 {
    max-width: 580px;
    margin: 8px 0 14px;
  }

  .team-grid > .specialist-card:not(.owner-card) > p {
    max-width: 680px;
  }

  .team-grid > .specialist-card:not(.owner-card) > .specialist-details {
    margin-top: 18px;
  }

  .owner-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .owner-photo {
    width: min(100%, 420px);
    max-width: 420px;
  }

  .owner-copy {
    max-width: 680px;
  }
}

/* Final mobile-header cascade guard. */

@media (max-width: 767px) {
  .site-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto;
    gap: 8px 12px;
    min-height: 68px;
    padding: 10px max(18px, env(safe-area-inset-right)) 10px max(18px, env(safe-area-inset-left));
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .brand img {
    width: 110px;
    height: 46px;
  }

  .mobile-menu-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .js .site-header:not(.menu-open) .main-nav,
  .js .site-header:not(.menu-open) .header-actions {
    display: none;
  }

  .site-header.menu-open .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-header.menu-open .header-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-header.menu-open .accessibility-toggle {
    grid-column: 1 / -1;
  }
}

/* Progressive enhancement and medium-priority interaction hardening. */

.document-links a,
.contact-list .phone {
  min-height: 44px;
}

.contact-list .phone {
  max-width: 100%;
  font-size: clamp(22px, 6.4vw, 27px);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 8px;
}

.accessibility-toggle,
.header-call:not(.secondary-call) {
  min-height: 44px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 767px) {
  html:not(.js) .site-header {
    grid-template-columns: 1fr;
  }

  html:not(.js) .mobile-menu-toggle {
    display: none;
  }

  html:not(.js) .main-nav {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    padding-top: 4px;
    overflow: visible;
    border-top: 1px solid var(--editorial-line);
  }

  html:not(.js) .main-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 8px 10px 0;
    font-size: 14px;
    white-space: normal;
  }

  html:not(.js) .main-nav a::after {
    display: none;
  }

  html:not(.js) .header-actions {
    grid-column: 1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    padding-top: 4px;
  }

  html:not(.js) .accessibility-toggle {
    display: none;
  }
}

@media (max-width: 360px) {
  html:not(.js) .main-nav {
    grid-template-columns: 1fr;
  }
}

/* Wide-screen hero surface and uncropped centre photo cards. */

.hero {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: transparent;
  border-bottom: 0;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  display: block;
  width: 100vw;
  background: var(--editorial-canvas);
  border-bottom: 1px solid var(--editorial-line);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.space-feature .image-link {
  padding: 10px;
  overflow: hidden;
  background: var(--editorial-paper);
  border: 1px solid var(--editorial-line);
  border-radius: 16px;
  box-shadow: none;
}

.space-feature .responsive-picture,
.space-grid .responsive-picture {
  overflow: hidden;
  background: var(--editorial-canvas);
  border-radius: 11px;
}

.space-feature .image-link img,
.space-grid img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 11px;
}

.space-grid {
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.space-grid article {
  padding: 8px 8px 0;
  overflow: hidden;
  background: var(--editorial-paper);
  border: 1px solid var(--editorial-line);
  border-radius: 16px;
  box-shadow: none;
}

.space-grid article > .image-link {
  overflow: hidden;
  border-radius: 11px;
}

.space-grid article > div {
  padding: 22px 16px 26px;
}

.space-feature .image-link:hover img,
.space-grid .image-link:hover img {
  filter: saturate(1.03);
  transform: none;
}

/* Contact cards: reserve the full phone width before placing actions. */

@media (min-width: 861px) {
  .contact-list article {
    grid-template-columns: minmax(260px, 0.82fr) minmax(190px, 1.18fr);
    align-items: center;
  }

  .contact-list article > span {
    align-self: start;
  }

  .contact-list .phone {
    justify-self: start;
  }

  .contact-buttons {
    align-self: center;
  }

  .contact-hint {
    grid-column: 1 / -1;
    max-width: 720px;
  }
}

@media (max-width: 1024px) {
  .contacts {
    grid-template-columns: 1fr;
  }

  .contacts > div:first-child {
    max-width: 620px;
  }
}

/* Header logo: crop the source PNG's transparent canvas without altering the artwork. */

.brand {
  display: block;
  width: clamp(164px, 12vw, 184px);
  aspect-ratio: 242 / 109;
  overflow: hidden;
  line-height: 0;
}

.brand img {
  width: 132.25%;
  max-width: none;
  height: auto;
  transform: translate(-11.875%, -25.48%);
}

@media (max-width: 767px) {
  .brand {
    width: 136px;
  }
}
