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

:root {
  --navy: #0b1a2f;
  --navy-mid: #0e2040;
  --card-bg: #d8dde3;
  --card-bg-hover: #e2e7ec;
  --header-bg: #0b1a2f;
  --text-dark: #1c2a3a;
  --text-mid: #173b61;
  --text-light: #1d456f;
  --blue-accent: #2a5f9e;
  --blue-soft: #1e4066;
  --header-text: #c8d8ea;
  --header-muted: #7a9ec0;
  --radius: 22px;
  --radius-sm: 12px;
  --card-max: 1320px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  color: var(--text-dark);
}

button, input {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(168, 197, 232, 0.15);
  padding: 0 3vw;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(168, 197, 232, 0.2);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 58%),
    linear-gradient(145deg, #14365a, #0b1a2f);
  color: #e6eff8;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.logo-image {
  object-fit: cover;
  background: transparent;
  padding: 0;
}

.logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--header-text);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 0;
  align-items: center;
  flex: 1;
  justify-content: center;
}

nav a {
  color: var(--header-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.22s;
  cursor: pointer;
  padding: 0 1.2rem;
  border-right: 1px solid rgba(168, 197, 232, 0.12);
}

nav a:first-child { border-left: 1px solid rgba(168, 197, 232, 0.12); }
nav a:hover,
nav a.active,
nav a[aria-current="page"] { color: var(--header-text); }

.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(200, 216, 234, 0.45);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  color: var(--header-text);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
  background: transparent;
}

.search-icon {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

.search-btn:hover {
  border-color: rgba(200, 216, 234, 0.75);
  background: rgba(200, 216, 234, 0.08);
  color: #e4eef9;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: transparent;
  border: 0;
}

.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--header-text);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

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

main {
  padding-top: 64px;
}

.page { display: none; min-height: calc(100vh - 64px); }
.page.active { display: block; animation: pageFade 0.5s ease both; }

.content-card {
  background: var(--card-bg);
  background-image:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(11, 26, 47, 0.02));
  border-radius: var(--radius);
  max-width: var(--card-max);
  width: calc(100% - 2vw);
  margin: 2rem auto 0;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.28);
}

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 6vw 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(42, 95, 158, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 700px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-sub {
  margin-top: 1.5rem;
  color: var(--text-light);
  font-size: 0.95rem;
  max-width: 420px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.btn-primary {
  background: linear-gradient(145deg, #14365a, #0b1a2f);
  border-color: rgba(11, 26, 47, 0.9);
  color: #e6eff8;
  box-shadow: 0 6px 22px rgba(11, 26, 47, 0.28);
  gap: 0.55rem;
}

.btn-primary:hover {
  background: linear-gradient(145deg, #1a4271, #0e2342);
  border-color: rgba(11, 26, 47, 1);
  color: #f3f8ff;
  box-shadow: 0 8px 26px rgba(11, 26, 47, 0.34);
}

.btn-icon { flex-shrink: 0; }

.hero-phone {
  display: inline-block;
  margin-top: 1.8rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}

.hero-phone:hover { color: var(--blue-accent); }

.hero-hours {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text-light);
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
}

/* ── Floating call button (mobile) ───────────────────────── */
.call-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 95;
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #14365a, #0b1a2f);
  color: #e6eff8;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(168, 197, 232, 0.25);
}

.call-fab svg { flex-shrink: 0; }

.call-fab:active { transform: scale(0.95); }

@media (max-width: 700px) {
  .call-fab { display: inline-flex; }
}

.quick-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
}

.quick-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.55rem;
  border: 1px solid rgba(120, 165, 214, 0.58);
  border-radius: 999px;
  color: #416c9d;
  background: rgba(216, 231, 245, 0.72);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

.quick-btn:hover,
.btn:hover {
  background: rgba(202, 223, 242, 0.92);
  border-color: rgba(105, 151, 201, 0.72);
  color: #315a89;
  transform: translateY(-1px);
}

.btn:active,
.quick-btn:active {
  transform: scale(0.96);
  transition-duration: 0.08s;
}

.service-card:active {
  transform: scale(0.99);
  transition-duration: 0.08s;
}

.hero-services {
  width: 100%;
  max-width: none;
  margin-top: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.15s forwards;
}

.services-kicker {
  text-align: center;
  margin-bottom: 1.4rem;
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: #355f91;
}

.section,
.photos-section {
  padding: 5rem 5vw;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  position: relative;
}

.photos-section {
  padding-top: 3rem;
}

.section::before,
.photos-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5vw;
  right: 5vw;
  height: 1px;
  background: linear-gradient(90deg, rgba(42, 95, 158, 0), rgba(42, 95, 158, 0.22), rgba(42, 95, 158, 0));
}

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 0.9rem;
}

.divider {
  width: 44px;
  height: 1px;
  background: rgba(42, 95, 158, 0.28);
  margin: 1.2rem 0 2.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
}

.stat-card {
  background: var(--card-bg);
  padding: 2.4rem 2rem;
  cursor: pointer;
  transition: background 0.22s;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-decoration: none;
}

.stat-card:hover { background: var(--card-bg-hover); }
.stat-card:hover .stat-arrow { opacity: 1; transform: translateX(4px); }
.stat-card.active { background: var(--card-bg-hover); }
.stat-card.active .stat-arrow { opacity: 1; transform: rotate(90deg); }

button.stat-card {
  width: 100%;
  text-align: left;
  border: none;
  color: inherit;
  outline: none;
}
button.stat-card:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(42, 95, 158, 0.5);
}

.stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1;
}

.stat-title {
  font-size: 1.25rem;
  padding-top: 0.4rem;
}

.stat-text {
  color: var(--text-mid);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.stat-arrow {
  margin-top: 0.4rem;
  color: var(--blue-soft);
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.2s, transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  aspect-ratio: 1;
  min-height: 0;
  padding: 1.75rem;
  border-radius: 22px;
  border: 1px solid rgba(120, 165, 214, 0.42);
  background: rgba(216, 231, 245, 0.68);
  text-decoration: none;
  color: #284d78;
  transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(105, 151, 201, 0.72);
  background: rgba(202, 223, 242, 0.92);
  box-shadow: 0 10px 28px rgba(78, 118, 163, 0.14);
}

.service-card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.48rem;
  line-height: 1.1;
  font-weight: 500;
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(83, 129, 177, 0.22);
  font-size: 0.9rem;
  color: #3e6999;
}

.compact-card {
  min-height: 0;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  background: rgba(216, 231, 245, 0.74);
}

.compact-card .service-card-title {
  font-size: 1.2rem;
}

.compact-card .service-card-cta {
  display: none;
}

.service-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(11, 26, 47, 0.09);
  border: 1px solid rgba(42, 95, 158, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--blue-soft);
  flex-shrink: 0;
  transition: background 0.2s;
}

.service-card:hover .service-card-icon {
  background: rgba(11, 26, 47, 0.14);
}

.service-card-desc {
  display: none;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(83, 129, 177, 0.18);
}

.service-card-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.62rem;
  border: 1px solid rgba(42, 95, 158, 0.28);
  border-radius: 999px;
  color: #3b6699;
  background: rgba(42, 95, 158, 0.05);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.compact-card .service-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  margin-bottom: 1rem;
}

.compact-card .service-card-tags {
  padding-top: 0.75rem;
}

.photos-wrapper {
  position: relative;
  height: 500px;
  max-width: 780px;
  margin: 2.5rem auto 0;
}

.stack-photo {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
  will-change: transform;
}

.stack-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.75);
  border-radius: var(--radius-sm);
}

.stack-photo .photo-label {
  position: absolute;
  bottom: 1.8rem;
  left: 1.8rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 300;
}

.photo-nav {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.photo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(42, 95, 158, 0.22);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.photo-dot.active {
  background: var(--blue-soft);
  transform: scale(1.2);
}

.article-inner {
  padding: 4rem 5vw 5rem;
}

.article-inner-wide {
  max-width: none;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-light);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 2.8rem;
  transition: color 0.2s;
  text-decoration: none;
}

.back:hover { color: var(--blue-accent); }

.article-inner h1,
.article-inner h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.08;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.article-inner h1::after,
.article-inner h2::after {
  content: "";
  display: block;
  width: min(220px, 48%);
  height: 1px;
  background: rgba(108, 120, 133, 0.45);
  margin: 0.9rem auto 0;
}

.article-body {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.95;
}

.article-body p + p { margin-top: 1rem; }
.article-body p { max-width: 66ch; }

.article-note {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(42, 95, 158, 0.28);
  background: rgba(42, 95, 158, 0.06);
  color: #123a63;
}

.page-cta {
  margin: 0 5vw 5rem;
  padding: 4.5rem 3rem;
  background: var(--navy);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(42, 95, 158, 0.28) 0%, transparent 65%);
  pointer-events: none;
}

.page-cta-label {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--header-muted);
  margin-bottom: 1.1rem;
  position: relative;
}

.page-cta h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  color: #e6eff8;
  line-height: 1.15;
  margin-bottom: 0.9rem;
  position: relative;
}

.page-cta p {
  font-size: 1rem;
  color: var(--header-muted);
  max-width: 42ch;
  margin: 0 auto 2.2rem;
  line-height: 1.8;
  position: relative;
}

.page-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2.4rem;
  background: #e6eff8;
  color: var(--navy);
  border-radius: 100px;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.15s ease;
  position: relative;
}

.page-cta-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.page-cta-btn:active {
  transform: scale(0.97);
  transition-duration: 0.08s;
}

.page-cta-actions {
  position: relative;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}

.page-cta-btn--call {
  gap: 0.55rem;
  font-size: 1.02rem;
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.02em;
  padding: 0.92rem 2rem;
}

.page-cta-btn--call svg { flex-shrink: 0; }

.page-cta-btn--ghost {
  background: transparent;
  color: #e6eff8;
  border: 1px solid rgba(200, 216, 234, 0.45);
}

.page-cta-btn--ghost:hover {
  background: rgba(200, 216, 234, 0.1);
  color: #ffffff;
}

@media (max-width: 540px) {
  .page-cta-actions { flex-direction: column; }
  .page-cta-btn--call,
  .page-cta-btn--ghost { justify-content: center; width: 100%; }
}

/* ── Inline CTA banner ────────────────────────────────────── */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  flex-wrap: wrap;
  margin: 2.4rem 0;
}

.cta-banner-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 0.35rem;
}

.cta-banner-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark);
}

.cta-banner-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cta-banner-call,
.cta-banner-book {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 100px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease, color 0.2s ease;
}

.cta-banner-call {
  background: linear-gradient(145deg, #14365a, #0b1a2f);
  color: #e6eff8;
  border: 1px solid rgba(11, 26, 47, 0.9);
  box-shadow: 0 6px 22px rgba(11, 26, 47, 0.22);
}

.cta-banner-call:hover {
  background: linear-gradient(145deg, #1a4271, #0e2342);
  color: #f3f8ff;
  transform: translateY(-2px);
}

.cta-banner-book {
  background: rgba(216, 231, 245, 0.6);
  color: #355f91;
  border: 1px solid rgba(120, 165, 214, 0.55);
}

.cta-banner-book:hover {
  background: rgba(202, 223, 242, 0.9);
  border-color: rgba(105, 151, 201, 0.72);
  color: #2a5280;
}

.cta-banner-call:active,
.cta-banner-book:active {
  transform: scale(0.97);
  transition-duration: 0.08s;
}

@media (max-width: 680px) {
  .cta-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cta-banner-actions { flex-direction: column; }
  .cta-banner-call,
  .cta-banner-book { justify-content: center; }
}

.article-media {
  margin-top: 1.4rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.article-media img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 4%, black 96%, transparent 100%);
  mask-composite: intersect;
}

.article-link {
  color: #1c4f83;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-lead {
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-overview-section + .service-overview-section {
  margin-top: 3rem;
}

.service-overview-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  text-align: center;
}

#page-article-clients .article-body,
#page-article-experience .article-body,
#page-article-prof .article-body,
#page-article-consult .article-body {
  font-size: 1.12rem;
  line-height: 2.02;
}

#page-grafik .article-body {
  font-size: 1.08rem;
  line-height: 2;
}

#page-grafik .article-lead {
  font-size: 1.3rem;
}

#page-vidguky .article-body {
  font-size: 1.16rem;
  line-height: 2.05;
}

#page-vidguky .article-lead {
  font-size: 1.34rem;
  max-width: 42rem;
}

.phone-highlight {
  display: inline-block;
  font-size: 1.18rem;
  font-weight: 500;
  color: #0f2f53;
  border-bottom: 1px solid rgba(15, 47, 83, 0.35);
  line-height: 1.35;
  text-decoration: none;
}

.notice-title {
  margin-top: 1.2rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f2f53;
  font-weight: 500;
  font-size: 0.86rem;
}

.article-placeholder {
  border: 1px dashed rgba(42, 95, 158, 0.25);
  border-radius: var(--radius-sm);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.18);
  max-width: none;
}

.site-footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(168, 197, 232, 0.1);
  padding: 3rem 5vw;
  margin-top: 2.5rem;
}

.footer-inner {
  max-width: var(--card-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  color: #c0d4ec;
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.78rem;
  color: #5a7a9c;
  letter-spacing: 0.05em;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: right;
}

.footer-contacts a,
.footer-contacts span {
  font-size: 0.8rem;
  color: #5a7a9c;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

.footer-contacts a:hover { color: #c0d4ec; }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(168, 197, 232, 0.07);
  font-size: 0.72rem;
  color: rgba(90, 122, 156, 0.45);
  text-align: center;
}

.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 33, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.22s;
}

.search-modal.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
}

.search-dialog {
  width: min(720px, 100%);
  max-height: 80vh;
  overflow: auto;
  background: #eef2f6;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}

.search-modal.open .search-dialog {
  transform: none;
  opacity: 1;
}

.search-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.search-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.1;
}

.search-close {
  background: transparent;
  border: 0;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
}

.search-field {
  display: block;
}

.search-field span {
  display: block;
  color: var(--text-light);
  font-size: 0.8rem;
  margin-bottom: 0.45rem;
  letter-spacing: 0.04em;
}

.search-field input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(23, 59, 97, 0.18);
  padding: 0.95rem 1rem;
  background: #fff;
  color: var(--text-dark);
  outline: none;
}

.search-field input:focus {
  border-color: rgba(42, 95, 158, 0.48);
  box-shadow: 0 0 0 4px rgba(42, 95, 158, 0.08);
}

.search-results {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.search-result {
  border: 1px solid rgba(42, 95, 158, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  padding: 1rem 1.1rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.search-result:hover {
  background: #fff;
  border-color: rgba(42, 95, 158, 0.32);
  transform: translateY(-1px);
}

.search-result-title {
  display: block;
  color: var(--text-dark);
  font-weight: 500;
}

.search-result-meta,
.search-empty {
  display: block;
  color: var(--text-light);
  font-size: 0.88rem;
}

.search-hit {
  background: rgba(42, 95, 158, 0.24);
  color: #0a2542;
  border-radius: 4px;
  padding: 0 0.08em;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes navLinkIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: none; }
}

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

.is-leaving .content-card {
  animation: pageExit 0.2s cubic-bezier(0.4, 0, 1, 1) forwards;
  pointer-events: none;
}

/* ── Stats islands ───────────────────────────────────────── */
.stats-islands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-island {
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: border-color 0.25s;
}

.stat-island:has(.stat-card.active) {
  border-color: rgba(42, 95, 158, 0.38);
}

.stat-island .stat-card {
  border-radius: 0;
}

.stat-panel-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-panel-wrap.open {
  grid-template-rows: 1fr;
}

.stat-panel-inner {
  overflow: hidden;
}

.stat-panel {
  background: var(--card-bg-hover);
  padding: 1.6rem 2rem 1.8rem;
  color: var(--text-mid);
  font-size: 0.97rem;
  line-height: 1.88;
  border-top: 1.5px solid rgba(42, 95, 158, 0.12);
}

.stat-panel p + p {
  margin-top: 0.75rem;
}

/* ── Page Loader ─────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

/* Заставка вже показувалась у цій сесії — не показуємо знову */
html.loader-seen #page-loader {
  display: none;
}

#page-loader.loader-out {
  opacity: 0;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.loader-logo {
  width: 60px;
  height: 60px;
  border-radius: 13px;
  border: 1px solid rgba(168, 197, 232, 0.18);
  opacity: 0;
  transform: scale(0.88);
  animation: loader-pop 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.loader-divider {
  width: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(200, 216, 234, 0.55),
    transparent
  );
  margin: 1.8rem 0 1.6rem;
  animation: loader-expand 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.loader-pretitle {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--header-muted);
  opacity: 0;
  transform: translateY(7px);
  animation: loader-up 0.35s ease 0.4s forwards;
}

.loader-name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  color: var(--header-text);
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(12px);
  animation: loader-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.loader-tagline {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 1rem;
  font-style: italic;
  color: rgba(122, 158, 192, 0.75);
  margin-top: 1rem;
  opacity: 0;
  animation: loader-fade 0.4s ease 0.7s forwards;
}

.loader-bar-track {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 1px;
  background: rgba(200, 216, 234, 0.1);
  border-radius: 1px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(
    to right,
    rgba(122, 158, 192, 0.4),
    rgba(200, 216, 234, 0.85)
  );
  border-radius: 1px;
  animation: loader-progress 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s forwards;
}

@keyframes loader-pop {
  to { opacity: 1; transform: scale(1); }
}

@keyframes loader-expand {
  to { width: 110px; }
}

@keyframes loader-up {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loader-fade {
  to { opacity: 1; }
}

@keyframes loader-progress {
  to { width: 100%; }
}

@media (max-width: 900px) {
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-card {
    aspect-ratio: auto;
    min-height: 200px;
  }
}

@media (max-width: 700px) {
  nav {
    flex: none;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    padding: 1.8rem 5vw;
    gap: 1.4rem;
    border-bottom: 1px solid rgba(168, 197, 232, 0.15);
    z-index: 99;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s 0.22s;
  }

  nav.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s 0s;
  }

  nav a { border: none; padding: 0; opacity: 0; transform: translateX(-8px); }

  nav.open a { animation: navLinkIn 0.24s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  nav.open a:nth-child(1) { animation-delay: 0.06s; }
  nav.open a:nth-child(2) { animation-delay: 0.10s; }
  nav.open a:nth-child(3) { animation-delay: 0.14s; }
  nav.open a:nth-child(4) { animation-delay: 0.18s; }
  nav.open a:nth-child(5) { animation-delay: 0.22s; }

  .burger { display: flex; }
  .hero h1 { font-size: 2.1rem; }
  .photos-wrapper { height: 300px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contacts { text-align: left; }
  .footer-contacts a, .footer-contacts span { justify-content: flex-start; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-islands { grid-template-columns: 1fr; }
  .content-card { width: calc(100% - 2vw); margin: 1.5rem auto 0; border-radius: var(--radius-sm); }
  .search-btn { padding: 0.28rem 0.62rem; font-size: 0.68rem; }
  .quick-actions { gap: 0.55rem; }
  .quick-btn, .btn { font-size: 0.96rem; padding: 0.68rem 1.2rem; }
  .site-footer { margin-top: 1.5rem; }
  .search-dialog { padding: 1.1rem; }
  .service-card { min-height: 180px; }
}

@media (max-width: 540px) {
  .compact-grid,
  .service-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .header-left .logo-text { display: none; }
  .article-inner { padding: 3rem 1.1rem 3.5rem; }
  .article-inner h1,
  .article-inner h2 { font-size: 2rem; }
}

/* ── Contact Form ─────────────────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(42, 95, 158, 0.32);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 1.8rem;
}

.contact-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.08;
  margin-bottom: 1.4rem;
}

.article-inner .contact-heading {
  text-align: left;
  padding-bottom: 0;
}

.article-inner .contact-heading::after {
  display: none;
}

.contact-desc {
  color: var(--text-light);
  font-size: 0.97rem;
  line-height: 1.8;
  max-width: 34ch;
  margin-bottom: 1.8rem;
}

.contact-phone-row {
  margin-bottom: 1.6rem;
}

.contact-phone-row .notice-title {
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.contact-form-wrap {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(42, 95, 158, 0.12);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.07);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.form-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

.form-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(23, 59, 97, 0.18);
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-dark);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: rgba(23, 59, 97, 0.36);
}

.form-input:focus {
  border-color: rgba(42, 95, 158, 0.45);
  box-shadow: 0 0 0 4px rgba(42, 95, 158, 0.08);
  background: #fff;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%231e4066' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}

.form-textarea {
  min-height: 108px;
  resize: vertical;
  line-height: 1.65;
}

.form-submit {
  margin-top: 0.5rem;
  width: 100%;
  background: var(--navy);
  color: #c8d8ea;
  border: 1px solid rgba(168, 197, 232, 0.2);
  border-radius: 999px;
  padding: 0.82rem 1.55rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.form-submit:hover {
  background: #0d2648;
  color: #e0edf8;
  transform: translateY(-1px);
}

.form-submit:active {
  transform: scale(0.97);
  transition-duration: 0.08s;
}

.form-note {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-light);
  text-align: center;
}

.form-note svg {
  flex-shrink: 0;
  stroke: var(--blue-accent);
}

.contact-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
  margin: 1.4rem 0 0.4rem;
  padding: 0;
}

.contact-trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--text-mid);
}

.contact-trust li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath d='M1 7l5.5 5.5L17 1' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath d='M1 7l5.5 5.5L17 1' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ── Testimonials ─────────────────────────────────────────── */
.tcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

.tcard {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.8rem 1.7rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(11, 26, 47, 0.08);
  box-shadow: 0 6px 22px rgba(11, 26, 47, 0.06);
}

.tcard-stars {
  color: #d99a1f;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.tcard-quote {
  flex: 1;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text-dark);
  position: relative;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
}

.tcard-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(145deg, #2a5f9e, #143a66);
}

.tcard:nth-child(4n+1) .tcard-avatar { background: linear-gradient(145deg, #7b4bc4, #532a92); }
.tcard:nth-child(4n+2) .tcard-avatar { background: linear-gradient(145deg, #c4794b, #92532a); }
.tcard:nth-child(4n+3) .tcard-avatar { background: linear-gradient(145deg, #2a5f9e, #143a66); }
.tcard:nth-child(4n+4) .tcard-avatar { background: linear-gradient(145deg, #2f9e6f, #1f6e4f); }

.tcard-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.tcard-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.tcard-role {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--text-light);
}

.home-reviews-cta {
  margin-top: 1.8rem;
  text-align: center;
}

/* ── Booking steps ────────────────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.step-item {
  position: relative;
  padding: 1.9rem 1.7rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(11, 26, 47, 0.08);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #14365a, #0b1a2f);
  color: #e6eff8;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.step-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 0.55rem;
}

.step-text {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ── Accent booking notice ────────────────────────────────── */
.article-note--accent {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(42, 95, 158, 0.08);
  border-left: 3px solid var(--blue-accent);
}

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

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

.form-input-error {
  border-color: rgba(165, 40, 40, 0.46) !important;
  box-shadow: 0 0 0 4px rgba(165, 40, 40, 0.07) !important;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error-note {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
  color: #a52828;
}

.form-error-note a {
  color: var(--blue-soft);
  font-weight: 500;
  white-space: nowrap;
}

.contact-success {
  text-align: center;
  padding: 2rem 1rem 0.5rem;
}

.contact-success-icon {
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(42, 95, 158, 0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  color: var(--blue-soft);
}

.contact-success-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  color: var(--text-dark);
  font-weight: 300;
  line-height: 1.4;
  margin: 0 auto 0.7rem;
}

.contact-success-sub {
  font-size: 0.88rem;
  color: var(--text-light);
}

@media (max-width: 820px) {
  .contact-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 540px) {
  .contact-form-wrap {
    padding: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  nav, nav.open,
  .search-modal, .search-modal.open {
    transition-delay: 0s !important;
  }

  .hero-tag, .hero h1, .hero-sub, .hero-cta, .hero-phone, .hero-hours, .quick-actions, .hero-services {
    opacity: 1;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  nav.open a {
    opacity: 1;
    transform: none;
  }

  .is-leaving .content-card {
    animation: none;
  }
}

/* ── Service Info Grid ───────────────────────────────────── */
.service-info-grid {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.service-info-block {
  padding: 2.4rem 2.6rem 2.8rem;
  background: rgba(216, 231, 245, 0.38);
  border: 1px solid rgba(120, 165, 214, 0.28);
  border-radius: var(--radius-sm);
}

.service-info-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(120, 165, 214, 0.22);
}

.service-info-body {
  color: var(--text-mid);
  font-size: 1.08rem;
  line-height: 2;
}

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

/* ── Дод. інформація: окремі картки на синьому фоні ───────── */
.info-page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 4.5rem 5vw 6rem;
  overflow-x: clip;
}

.info-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--header-muted);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 2.8rem;
  transition: color 0.2s;
}

.info-back:hover { color: var(--header-text); }

.info-head {
  text-align: center;
  margin-bottom: 1rem;
}

.info-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--header-muted);
  margin-bottom: 1rem;
}

.info-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 300;
  color: #e6eff8;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.info-lead {
  max-width: 60ch;
  margin: 1.4rem auto 0;
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--header-muted);
}

.info-cards {
  margin-top: 3.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
}

.info-card {
  width: 100%;
  max-width: 920px;
  padding: 3rem 3.2rem 3.2rem;
  background: var(--card-bg);
  background-image:
    radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(11, 26, 47, 0.02));
  border-radius: var(--radius);
  box-shadow: 0 10px 38px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card:nth-child(odd) { align-self: flex-start; }
.info-card:nth-child(even) { align-self: flex-end; }

.info-card:hover {
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.36);
  border-color: rgba(168, 197, 232, 0.18);
}

/* Виїзд карток з-за боків екрана (нечётні — зліва, чётні — справа) */
.reveal.info-card {
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.25s ease;
}

.reveal.info-card:nth-child(odd) { opacity: 0; transform: translateX(-110px); }
.reveal.info-card:nth-child(even) { opacity: 0; transform: translateX(110px); }
.reveal.info-card.visible { opacity: 1; transform: none; }

.info-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(120, 165, 214, 0.28);
}

.info-card-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 26, 47, 0.08);
  border: 1px solid rgba(42, 95, 158, 0.16);
  color: var(--blue-soft);
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.info-card-icon svg { width: 26px; height: 26px; }

.info-card:hover .info-card-icon {
  background: rgba(11, 26, 47, 0.13);
  transform: translateY(-2px);
}

.info-card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.14;
  color: var(--text-dark);
}

.info-card-body {
  color: var(--text-mid);
  font-size: 1.14rem;
  line-height: 1.95;
}

.info-card-body strong {
  color: var(--text-dark);
  font-weight: 500;
}

@media (max-width: 820px) {
  .info-card {
    max-width: 100%;
  }
  .info-card:nth-child(odd),
  .info-card:nth-child(even) { align-self: stretch; }
  /* На мобільному — без горизонтального виїзду (щоб не було скролу): легкий fade-up */
  .reveal.info-card:nth-child(odd),
  .reveal.info-card:nth-child(even) { transform: translateY(34px); }
  .reveal.info-card.visible { transform: none; }
}

@media (max-width: 540px) {
  .info-card { padding: 1.8rem 1.6rem 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal.info-card,
  .reveal.info-card:nth-child(odd),
  .reveal.info-card:nth-child(even) {
    opacity: 1;
    transform: none;
  }
}

/* ── Кнопки дзвінка та заявки ─────────────────────────────── */
/* Пункт меню «Замовити дзвінок» — виділений як кнопка */
nav a.nav-cta {
  color: var(--header-text);
  font-weight: 500;
  border: 1px solid rgba(200, 216, 234, 0.45);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  margin-right: 0.9rem;
  transition: color 0.22s, background 0.22s, border-color 0.22s;
}

nav a.nav-cta:hover {
  background: rgba(200, 216, 234, 0.12);
  border-color: rgba(200, 216, 234, 0.7);
}

/* Головні кнопки: крупніші й помітніші */
.btn {
  min-height: 52px;
  padding: 0.8rem 1.8rem;
  gap: 0.55rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.btn-primary { padding-inline: 2.1rem; }

.cta-banner-call,
.cta-banner-book {
  min-height: 52px;
  justify-content: center;
  font-size: 1.1rem;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 54px;
  color: #e6eff8;
  font-size: 1.2rem;
  font-weight: 600;
}

.form-optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  opacity: 0.7;
}

.call-fab {
  min-height: 56px;
  padding: 0 1.5rem;
  bottom: max(18px, env(safe-area-inset-bottom));
  font-size: 1.15rem;
}

.call-fab svg { width: 20px; height: 20px; }

/* Банер-картка на темному фоні (Додаткова інформація) */
.cta-banner--card {
  max-width: 920px;
  margin: 3rem auto 0;
  padding: 2rem 2.4rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 10px 38px rgba(0, 0, 0, 0.3);
}

/* Якір форми під фіксованою шапкою */
#callback { scroll-margin-top: 80px; }

@media (max-width: 700px) {
  nav a.nav-cta {
    align-self: flex-start;
    margin-right: 0;
    padding: 0.7rem 1.4rem;
  }
}

@media (max-width: 540px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }
  .cta-banner--card { padding: 1.6rem 1.2rem; }
}

/* ── Сторінки послуг: «Як проходить оформлення» і «Часті запитання» ── */
.service-extra {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.service-extra-block {
  padding: 2.4rem 2.6rem 2.6rem;
  background: rgba(216, 231, 245, 0.38);
  border: 1px solid rgba(120, 165, 214, 0.28);
  border-radius: var(--radius-sm);
}

.article-inner .service-extra-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  color: var(--text-dark);
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(120, 165, 214, 0.22);
}

.article-inner .service-extra-title::after { display: none; }

.service-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.service-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  color: var(--text-mid);
  font-size: 1.02rem;
  line-height: 1.7;
}

.service-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #e6eff8;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 600;
}

.service-faq { display: grid; gap: 0.6rem; }

.service-faq-item {
  border-bottom: 1px solid rgba(120, 165, 214, 0.22);
  padding-bottom: 0.6rem;
}

.service-faq-item:last-child { border-bottom: none; }

.service-faq-item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 0.5rem 2rem 0.5rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--text-dark);
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.45;
}

.service-faq-item summary::-webkit-details-marker { display: none; }

.service-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--blue-accent);
  transition: transform 0.2s;
}

.service-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.service-faq-item p {
  padding: 0.2rem 0 0.4rem;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.75;
}

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

@media (max-width: 540px) {
  .service-extra-block { padding: 1.8rem 1.3rem 2rem; }
}
