:root {
  --ink: #09090b;
  --graphite: #1f2937;
  --carbon: #334155;
  --paper: #ffffff;
  --surface: #f7fbff;
  --surface-strong: #edf6ff;
  --line: #dbe7f2;
  --muted: #5d6b7a;
  --accent: #00b8a9;
  --accent-strong: #07877f;
  --primary: #2563eb;
  --sky: #38bdf8;
  --violet: #7c3aed;
  --coral: #ff6b4a;
  --gold: #d4a72c;
  --danger: #b3261e;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow: 0 24px 80px rgba(37, 99, 235, 0.13);
  --font-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfdff 0%, #ffffff 32%, #f6fbff 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
.brand-text,
.site-nav,
.btn,
.header-cta,
label {
  font-family: var(--font-heading);
}

button {
  cursor: pointer;
}

::selection {
  color: var(--paper);
  background: var(--accent-strong);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 227, 232, 0.86);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 45px rgba(9, 9, 11, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand {
  flex: 0 1 238px;
}

.brand-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  overflow: hidden;
}

.brand-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.08;
}

.brand-text strong {
  font-size: 1.03rem;
  font-weight: 800;
}

.brand-text small {
  margin-top: 5px;
  color: var(--muted);
  max-width: 190px;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: var(--radius-sm);
  color: #2d3035;
  font-size: 0.94rem;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: var(--surface);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
}

.nav-appointment {
  display: none !important;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 750;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta {
  color: var(--paper);
  background: var(--ink);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn-ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.72);
}

.btn-light {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.btn-dark {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #050506 0%, #171719 62%, #0f1514 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

.hero::after,
.page-hero::after,
.dark-section::after,
.cta-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--paper), var(--accent));
  opacity: 0.9;
}

.hero-home {
  min-height: 680px;
  padding: 96px 0 62px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 64px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  max-width: 790px;
  margin: 18px 0 22px;
  font-size: 4rem;
  line-height: 1.02;
  font-weight: 800;
}

.lead,
.page-hero p,
.section-heading p,
.rich-text p,
.contact-info p {
  color: #4f5661;
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-copy .lead,
.page-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 56px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip div {
  padding: 20px;
  background: rgba(5, 5, 6, 0.56);
}

.trust-strip strong {
  display: block;
  color: var(--paper);
  font-size: 1.9rem;
}

.trust-strip span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.brand-stage {
  position: relative;
  min-height: 315px;
  display: grid;
  place-items: center;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.3);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}

.hero-logo {
  width: min(430px, 100%);
  filter: invert(1);
  opacity: 0.96;
}

.stage-corners::before,
.stage-corners::after {
  content: "";
  position: absolute;
  width: 68px;
  height: 68px;
  border-color: var(--accent);
  border-style: solid;
}

.stage-corners::before {
  top: 18px;
  left: 18px;
  border-width: 2px 0 0 2px;
}

.stage-corners::after {
  right: 18px;
  bottom: 18px;
  border-width: 0 2px 2px 0;
}

.system-frame {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(360px, 78%);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(9, 9, 11, 0.86);
  box-shadow: var(--shadow);
}

.frame-top {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}

.frame-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.frame-top span:nth-child(2) {
  background: var(--accent);
}

.frame-top span:nth-child(3) {
  background: #e7e9ee;
}

.code-line {
  height: 8px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.code-line.wide {
  width: 82%;
}

.code-line.medium {
  width: 62%;
}

.code-line.short {
  width: 42%;
  margin-bottom: 22px;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.68);
}

.metric-row strong {
  color: var(--paper);
}

.section {
  padding: 92px 0;
}

.intro-band {
  background: var(--surface);
}

.intro-grid,
.split-grid,
.process-grid,
.insight-grid,
.page-hero-grid,
.contact-layout,
.appointment-layout,
.timeline-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 64px;
  align-items: start;
}

.intro-grid p {
  margin: 0;
  color: #363b42;
  font-size: 1.13rem;
  line-height: 1.8;
}

.section-heading h2,
.insight-panel h2,
.contact-info h2,
.newsletter h2,
.appointment-side h2,
.cta-inner h2 {
  margin: 14px 0 0;
  font-size: 2.65rem;
  line-height: 1.12;
  font-weight: 800;
}

.section-heading.centered {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.centered .section-kicker {
  justify-content: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.value-card,
.blog-card {
  position: relative;
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.value-card:hover,
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 169, 157, 0.46);
  box-shadow: 0 20px 60px rgba(9, 9, 11, 0.09);
}

.service-index,
.value-card span,
.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  color: var(--accent-strong);
  background: rgba(0, 169, 157, 0.1);
  font-size: 0.84rem;
  font-weight: 800;
}

.service-card h3,
.value-card h3,
.process-step h3,
.blog-card h2 {
  margin: 22px 0 12px;
  font-size: 1.3rem;
  line-height: 1.22;
}

.service-card p,
.value-card p,
.process-step p,
.blog-card p,
.deliver-item span,
.score-grid span,
.side-note span,
.timeline-item p {
  color: var(--muted);
  line-height: 1.65;
}

.service-card a {
  position: absolute;
  left: 26px;
  bottom: 24px;
  color: var(--ink);
  font-weight: 800;
}

.dark-section,
.cta-section,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, #080809 0%, #171719 70%, #0b1c1b 100%);
  background-size: 78px 78px, 78px 78px, auto;
}

.dark-section .section-heading h2,
.dark-section .section-heading p,
.cta-section h2,
.page-hero h1 {
  color: var(--paper);
}

.dark-section .section-heading p {
  margin-top: 18px;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.process-step h3,
.process-step p {
  margin: 0;
}

.process-step p {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.7);
}

.insight-panel {
  padding: 34px;
  border-left: 4px solid var(--ink);
  background: var(--surface);
}

.insight-panel p {
  margin: 18px 0 0;
  color: #4f5661;
  line-height: 1.75;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.score-grid div,
.deliver-item {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.score-grid strong,
.deliver-item strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.16rem;
}

.cta-section {
  padding: 68px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-inner h2 {
  max-width: 760px;
}

.site-footer {
  padding: 58px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #050506;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 48px;
}

.footer-brand {
  color: var(--paper);
  font-weight: 850;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: invert(1);
}

.site-footer p {
  max-width: 380px;
  line-height: 1.7;
}

.site-footer p strong {
  display: block;
  margin-bottom: 4px;
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.site-footer h3 {
  margin: 0 0 16px;
  color: var(--paper);
  font-size: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 10px 0;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.footer-bottom span {
  line-height: 1.55;
}

.page-hero {
  padding: 92px 0 84px;
}

.page-hero-grid {
  align-items: end;
}

.page-hero h1 {
  font-size: 3.4rem;
}

.page-hero p {
  margin: 0;
  max-width: 520px;
}

.rich-text p:first-child {
  margin-top: 0;
}

.muted-section {
  background: var(--surface);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12px;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding: 0 0 22px 44px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 16px;
  height: 16px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--line);
}

.timeline-item span {
  display: block;
  color: var(--ink);
  font-weight: 850;
}

.timeline-item p {
  margin: 8px 0 0;
}

.service-detail-list {
  display: grid;
  gap: 18px;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.72fr 1fr 0.92fr;
  gap: 32px;
  align-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.service-detail h2 {
  margin: 18px 0 0;
  font-size: 2rem;
}

.service-detail p {
  margin: 0;
  color: #4f5661;
  line-height: 1.75;
}

.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #3e444c;
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 169, 157, 0.12);
}

.deliver-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--paper);
  font-weight: 750;
}

.filter-btn.is-active,
.filter-btn:hover {
  color: var(--paper);
  border-color: var(--ink);
  background: var(--ink);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-card {
  min-height: 310px;
}

.blog-card.featured {
  grid-column: span 2;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #09090b;
  background-size: 62px 62px, 62px 62px, auto;
}

.blog-card.featured p,
.blog-card.featured .blog-meta {
  color: rgba(255, 255, 255, 0.72);
}

.blog-category {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  color: var(--accent-strong);
  background: rgba(0, 169, 157, 0.1);
  font-size: 0.84rem;
  font-weight: 800;
}

.blog-card.featured .blog-category {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
}

.blog-meta {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.blog-card.is-hidden {
  display: none;
}

.newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.newsletter h2 {
  max-width: 620px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  width: min(480px, 100%);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
}

.contact-layout,
.appointment-layout {
  align-items: stretch;
}

.contact-info,
.appointment-side {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-info {
  padding: 28px;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.contact-list div:first-child,
.contact-list div:last-child {
  grid-column: 1 / -1;
}

.contact-list a,
.contact-list div,
.side-note {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.contact-list a,
.contact-list div {
  padding: 14px 16px;
}

.contact-list span,
.side-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.contact-list strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.36;
  overflow-wrap: anywhere;
}

.map-panel {
  min-height: 158px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 20px;
  color: var(--paper);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #09090b, #153331);
  background-size: 34px 34px, 34px 34px, auto;
}

.map-panel span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  font-weight: 850;
}

.map-panel strong {
  font-size: 1.55rem;
}

.map-panel em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.form-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 60px rgba(9, 9, 11, 0.07);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row.full {
  grid-column: 1 / -1;
}

label {
  color: #30343a;
  font-size: 0.92rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(0, 169, 157, 0.13);
}

.form-panel .btn {
  grid-column: 1 / -1;
  width: fit-content;
}

.appointment-form {
  grid-template-columns: repeat(2, 1fr);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.slot {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--surface);
  font-weight: 800;
}

.slot:hover,
.slot.is-selected {
  color: var(--paper);
  border-color: var(--ink);
  background: var(--ink);
}

.appointment-side {
  display: flex;
  flex-direction: column;
}

.appointment-side img {
  width: 260px;
  margin: 0 0 34px;
}

.appointment-side h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.appointment-side .check-list {
  margin-bottom: 20px;
}

.side-note {
  margin-top: auto;
}

.side-note strong {
  color: var(--muted);
}

.side-note span {
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 850;
}

.site-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  max-width: 360px;
  padding: 15px 18px;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

[data-reveal] {
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

.hero,
.page-hero,
.dark-section {
  isolation: isolate;
}

.hero::before,
.page-hero::before,
.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(0deg, rgba(0, 184, 169, 0.08) 0 1px, transparent 1px 82px);
  transform: translate3d(0, 0, 0);
  animation: gridDrift 18s linear infinite;
}

.hero > .container,
.page-hero > .container,
.dark-section > .container,
.cta-section > .container {
  position: relative;
  z-index: 2;
}

.hero,
.page-hero {
  color: var(--ink);
  background:
    linear-gradient(118deg, rgba(0, 184, 169, 0.16) 0 16%, transparent 16% 42%, rgba(37, 99, 235, 0.14) 42% 66%, transparent 66%),
    linear-gradient(24deg, transparent 0 54%, rgba(255, 107, 74, 0.12) 54% 70%, transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 58%, #eef8ff 100%);
}

.hero-copy h1,
.page-hero h1,
.dark-section .section-heading h2 {
  color: var(--ink);
}

.hero-copy .lead,
.page-hero p,
.dark-section .section-heading p {
  color: #4c5f71;
}

.hero::after,
.page-hero::after,
.dark-section::after,
.cta-section::after {
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--violet), var(--coral), var(--gold));
}

.header-cta,
.btn-primary,
.btn-dark,
.filter-btn.is-active,
.filter-btn:hover,
.slot:hover,
.slot.is-selected {
  color: var(--paper);
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 48%, var(--violet) 100%);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover,
.btn-dark:hover,
.header-cta:hover {
  background: linear-gradient(135deg, var(--coral) 0%, var(--primary) 52%, var(--accent) 100%);
}

.btn-ghost {
  color: var(--ink);
  border-color: rgba(37, 99, 235, 0.22);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.btn-ghost:hover {
  border-color: rgba(0, 184, 169, 0.56);
  background: var(--paper);
}

.site-nav a.is-active::after {
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--violet));
}

.trust-strip {
  border-color: rgba(37, 99, 235, 0.16);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.1);
}

.trust-strip div {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.trust-strip strong {
  color: var(--ink);
}

.trust-strip span {
  color: var(--muted);
}

.hero-visual {
  animation: floatPanel 6s ease-in-out infinite;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 24px 18px 72px;
  z-index: 0;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(0, 184, 169, 0.16) 24% 25%, transparent 25% 58%, rgba(124, 58, 237, 0.14) 58% 59%, transparent 59%),
    linear-gradient(0deg, transparent 0 34%, rgba(37, 99, 235, 0.14) 34% 35%, transparent 35% 74%, rgba(255, 107, 74, 0.13) 74% 75%, transparent 75%);
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  animation: circuitShift 9s ease-in-out infinite;
}

.brand-stage {
  z-index: 1;
  overflow: hidden;
  border-color: rgba(37, 99, 235, 0.16);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 30px 90px rgba(37, 99, 235, 0.15);
  backdrop-filter: blur(16px);
}

.brand-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(112deg, transparent 0 26px, rgba(0, 184, 169, 0.14) 26px 27px, transparent 27px 54px),
    linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.24), transparent);
  transform: translateX(-28%);
  animation: dataSweep 5.8s ease-in-out infinite;
}

.brand-stage::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--primary), transparent);
  animation: scanLine 3.8s ease-in-out infinite;
}

.hero-logo,
.stage-corners {
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: min(390px, 92%);
  filter: none;
  opacity: 0.92;
}

.system-frame {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(500px, 92%);
  margin: 18px auto 0;
  padding: 16px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  border-color: rgba(37, 99, 235, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 251, 255, 0.9)),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 58px rgba(37, 99, 235, 0.14);
  backdrop-filter: blur(18px);
}

.frame-top {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.code-line {
  grid-column: 1 / -1;
  height: 6px;
  margin-bottom: 0;
  background: linear-gradient(90deg, rgba(0, 184, 169, 0.18), rgba(37, 99, 235, 0.34), rgba(124, 58, 237, 0.18));
  animation: codePulse 2.8s ease-in-out infinite;
}

.code-line.short {
  margin-bottom: 4px;
}

.metric-row {
  min-height: 72px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(0, 184, 169, 0.08), transparent 52%),
    rgba(255, 255, 255, 0.78);
}

.metric-row strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
}

.dark-section {
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92) 0 34%, rgba(0, 184, 169, 0.11) 34% 54%, rgba(37, 99, 235, 0.1) 54% 72%, rgba(255, 255, 255, 0.96) 72%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.process-step {
  border-color: rgba(37, 99, 235, 0.14);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(37, 99, 235, 0.08);
}

.process-step p {
  color: var(--muted);
}

.service-card,
.value-card,
.blog-card,
.deliver-item,
.score-grid div,
.form-panel,
.contact-info,
.appointment-side {
  border-color: rgba(37, 99, 235, 0.13);
  box-shadow: 0 14px 42px rgba(37, 99, 235, 0.07);
}

.service-card::before,
.value-card::before,
.deliver-item::before,
.score-grid div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.service-card,
.value-card,
.deliver-item,
.score-grid div {
  position: relative;
  overflow: hidden;
}

.service-card:nth-child(2)::before,
.value-card:nth-child(2)::before,
.deliver-item:nth-child(2)::before,
.score-grid div:nth-child(2)::before {
  background: linear-gradient(90deg, var(--primary), var(--violet));
}

.service-card:nth-child(3)::before,
.value-card:nth-child(3)::before,
.deliver-item:nth-child(3)::before,
.score-grid div:nth-child(3)::before {
  background: linear-gradient(90deg, var(--coral), var(--gold));
}

.service-card:nth-child(4)::before,
.value-card:nth-child(4)::before,
.deliver-item:nth-child(4)::before,
.score-grid div:nth-child(4)::before {
  background: linear-gradient(90deg, var(--violet), var(--accent));
}

.service-index,
.value-card span,
.process-step span,
.blog-category {
  color: var(--primary);
  background: linear-gradient(135deg, rgba(0, 184, 169, 0.13), rgba(37, 99, 235, 0.12));
}

.service-card:hover,
.value-card:hover,
.blog-card:hover {
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 22px 68px rgba(37, 99, 235, 0.14);
}

.insight-panel {
  border-left-color: var(--primary);
  background:
    linear-gradient(135deg, rgba(0, 184, 169, 0.1), transparent 38%),
    var(--surface);
}

.cta-section {
  color: var(--paper);
  background:
    linear-gradient(115deg, #075985 0%, #2563eb 36%, #7c3aed 68%, #ff6b4a 100%);
}

.cta-section h2 {
  color: var(--paper);
}

.blog-card.featured {
  background:
    linear-gradient(118deg, rgba(0, 184, 169, 0.9) 0%, rgba(37, 99, 235, 0.92) 48%, rgba(124, 58, 237, 0.9) 100%);
}

.map-panel {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, #0891b2 0%, #2563eb 48%, #7c3aed 100%);
}

.site-footer {
  background:
    linear-gradient(120deg, #0b1220 0%, #0f2f3f 46%, #111827 100%);
}

.ai-node-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ai-node-field span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 9px;
  height: 9px;
  border: 2px solid rgba(37, 99, 235, 0.45);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 7px rgba(56, 189, 248, 0.12), 0 0 28px rgba(37, 99, 235, 0.24);
  animation: nodePulse 4.8s ease-in-out infinite;
  animation-delay: var(--delay);
}

.ai-node-field span::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 3px;
  width: var(--line-width);
  height: 1px;
  transform: rotate(var(--angle));
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.5), rgba(0, 184, 169, 0.24), transparent);
  clip-path: inset(0 38% 0 0);
  animation: signalFlow 4.8s ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes gridDrift {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 82px 0, 0 82px;
  }
}

@keyframes dataSweep {
  0%,
  100% {
    transform: translateX(-28%);
    opacity: 0.38;
  }

  50% {
    transform: translateX(22%);
    opacity: 0.72;
  }
}

@keyframes scanLine {
  0%,
  100% {
    transform: translateY(-86px);
    opacity: 0.18;
  }

  50% {
    transform: translateY(86px);
    opacity: 0.78;
  }
}

@keyframes circuitShift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(14px);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes codePulse {
  0%,
  100% {
    filter: saturate(1);
  }

  50% {
    filter: saturate(1.75);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.46;
  }

  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes signalFlow {
  0%,
  100% {
    opacity: 0.18;
    clip-path: inset(0 38% 0 0);
  }

  50% {
    opacity: 0.7;
    clip-path: inset(0 0 0 0);
  }
}

.hero-copy h1 {
  max-width: 700px;
  font-size: 2.82rem;
  line-height: 1.06;
}

.page-hero h1 {
  max-width: 680px;
  font-size: 2.24rem;
  line-height: 1.12;
}

.section-heading h2,
.insight-panel h2,
.contact-info h2,
.newsletter h2,
.appointment-side h2,
.cta-inner h2,
.lab-copy h2 {
  font-size: 1.86rem;
  line-height: 1.18;
}

.service-card h3,
.value-card h3,
.process-step h3,
.blog-card h2 {
  font-size: 1.14rem;
}

.service-detail h2 {
  font-size: 1.58rem;
  line-height: 1.16;
}

.solution-section {
  background:
    linear-gradient(135deg, rgba(0, 184, 169, 0.08), transparent 34%),
    linear-gradient(45deg, transparent 52%, rgba(124, 58, 237, 0.08) 52% 68%, transparent 68%),
    var(--paper);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.solution-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 56px rgba(37, 99, 235, 0.09);
}

.solution-media img,
.service-media img,
.detail-media img,
.blog-image img,
.lab-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-media {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
  background:
    linear-gradient(135deg, rgba(0, 184, 169, 0.12), rgba(37, 99, 235, 0.08)),
    var(--surface-strong);
}

.solution-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(8, 17, 31, 0.16)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: auto, 42px 42px;
  pointer-events: none;
}

.solution-card:nth-child(2) .solution-media img {
  object-position: center 48%;
}

.solution-content {
  flex: 1;
  padding: 22px;
}

.solution-card span,
.lab-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: var(--radius-sm);
  color: var(--primary);
  background: rgba(37, 99, 235, 0.09);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
}

.solution-card h3 {
  margin: 14px 0 9px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.solution-card p,
.lab-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-card {
  display: flex;
  min-height: 0;
  padding: 0;
  flex-direction: column;
}

.service-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface-strong);
}

.service-card .service-index {
  margin: 22px 24px 0;
}

.service-card h3 {
  margin: 16px 24px 10px;
}

.service-card p {
  margin: 0 24px 20px;
}

.service-card a {
  position: static;
  margin: auto 24px 24px;
}

.detail-media {
  height: 178px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
}

.service-detail {
  grid-template-columns: minmax(190px, 0.78fr) minmax(150px, 0.58fr) minmax(0, 1fr) minmax(220px, 0.86fr);
  gap: 24px;
  align-items: center;
}

.blog-card {
  display: flex;
  min-height: 0;
  padding: 0;
  flex-direction: column;
  overflow: hidden;
}

.blog-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-strong);
}

.blog-card .blog-category {
  width: fit-content;
  margin: 22px 22px 0;
}

.blog-card h2 {
  margin: 16px 22px 10px;
}

.blog-card p {
  margin: 0 22px 22px;
}

.blog-meta {
  position: static;
  margin: auto 22px 22px;
}

.blog-card.featured .blog-image {
  aspect-ratio: 21 / 8;
}

.lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.lab-visual {
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: var(--radius);
  box-shadow: 0 22px 72px rgba(37, 99, 235, 0.12);
}

.lab-visual img {
  aspect-ratio: 16 / 11;
}

.lab-copy p {
  margin-top: 16px;
}

.lab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: start;
  gap: 46px;
}

.contact-info,
.form-panel {
  min-width: 0;
}

.contact-info {
  padding: 26px;
}

.contact-info h2 {
  margin-bottom: 10px;
  font-size: 1.62rem;
  line-height: 1.16;
}

.contact-info p {
  margin: 10px 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

.contact-list {
  margin: 18px 0;
}

.contact-list a,
.contact-list div {
  padding: 12px 14px;
}

.contact-list span {
  margin-bottom: 5px;
  font-size: 0.78rem;
}

.contact-list strong {
  font-size: 0.92rem;
  line-height: 1.28;
}

.map-panel {
  min-height: 112px;
  grid-template-columns: auto 1fr;
  align-content: center;
  align-items: center;
  column-gap: 14px;
  row-gap: 2px;
  padding: 18px;
  border-radius: var(--radius-sm);
}

.map-panel span {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
}

.map-panel strong {
  font-size: 1.32rem;
}

.map-panel em {
  font-size: 0.92rem;
}

.form-panel {
  width: 100%;
  align-content: start;
}

.form-row,
input,
select,
textarea {
  min-width: 0;
}

@media (max-width: 1060px) {
  .hero-grid,
  .intro-grid,
  .split-grid,
  .process-grid,
  .insight-grid,
  .page-hero-grid,
  .contact-layout,
  .appointment-layout,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .hero-home {
    min-height: auto;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.08rem;
  }

  .hero-visual {
    min-height: 470px;
  }

  .service-grid,
  .values-grid,
  .deliver-grid,
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .service-detail {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .header-inner {
    min-height: 70px;
  }

  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 58px);
  }

  .brand-text small {
    max-width: 180px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 78px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .nav-appointment {
    display: inline-flex !important;
  }

  .header-cta {
    display: none;
  }

  .newsletter,
  .cta-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 66px 0;
  }

  .hero-home,
  .page-hero {
    padding: 68px 0 58px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 1.72rem;
  }

  .section-heading h2,
  .insight-panel h2,
  .contact-info h2,
  .newsletter h2,
  .appointment-side h2,
  .cta-inner h2 {
    font-size: 1.48rem;
  }

  .hero-actions,
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-layout .form-panel {
    order: -1;
  }

  .trust-strip,
  .score-grid,
  .service-grid,
  .solution-grid,
  .values-grid,
  .deliver-grid,
  .blog-grid,
  .form-panel,
  .appointment-form {
    grid-template-columns: 1fr;
  }

  .form-panel .btn,
  .newsletter-form .btn {
    width: 100%;
  }

  .blog-card.featured {
    grid-column: span 1;
  }

  .blog-meta {
    position: static;
    margin-top: 28px;
    flex-direction: column;
  }

  .service-card,
  .value-card,
  .blog-card {
    min-height: auto;
  }

  .service-card a {
    position: static;
    display: inline-flex;
    margin-top: 12px;
  }

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

  .hero-visual {
    min-height: auto;
  }

  .brand-stage {
    min-height: 250px;
    padding: 24px;
  }

  .system-frame {
    width: 100%;
    margin-top: 14px;
    padding: 14px;
  }

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

@media (max-width: 480px) {
  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text small {
    max-width: 154px;
    font-size: 0.58rem;
    line-height: 1.16;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
  }

  .hero-logo {
    width: min(320px, 92%);
  }

  .system-frame {
    gap: 8px;
  }

  .metric-row {
    min-height: 60px;
    padding: 10px 9px;
  }

  .metric-row span {
    font-size: 0.82rem;
  }

  .metric-row strong {
    font-size: 0.84rem;
    overflow-wrap: anywhere;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 1.5rem;
  }

  .lead,
  .page-hero p,
  .section-heading p,
  .rich-text p,
  .contact-info p {
    font-size: 1rem;
  }

  .form-panel,
  .contact-info,
  .appointment-side,
  .insight-panel,
  .service-detail {
    padding: 22px;
  }

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

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

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 34px 0 24px;
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, #08111f 0%, #0b2a35 48%, #111827 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(0, 184, 169, 0.2), transparent 28%),
    linear-gradient(32deg, transparent 55%, rgba(37, 99, 235, 0.18) 55% 72%, transparent 72%);
  pointer-events: none;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.footer-contact-card {
  display: grid;
  gap: 5px;
  min-height: 104px;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 58px rgba(5, 18, 32, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.footer-contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 184, 169, 0.44);
  box-shadow: 0 28px 70px rgba(37, 99, 235, 0.18);
}

.footer-contact-card span {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
}

.footer-contact-card strong {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.footer-grid {
  grid-template-columns: minmax(260px, 1.35fr) minmax(145px, 0.7fr) minmax(180px, 0.8fr) minmax(240px, 1fr);
  gap: 34px;
  padding-top: 4px;
}

.footer-company {
  min-width: 0;
}

.footer-brand {
  margin-bottom: 18px;
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 850;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  padding: 7px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.95);
  filter: none;
}

.site-footer p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p strong {
  color: var(--paper);
  font-size: 0.96rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.footer-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
}

.footer-col {
  min-width: 0;
}

.site-footer h3 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 12px;
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 800;
}

.site-footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.site-footer a,
.site-footer span {
  margin: 0;
}

.footer-col a,
.footer-address span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.footer-col a + a,
.footer-address a,
.footer-address span + a {
  margin-top: 10px;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-address span {
  overflow-wrap: anywhere;
}

.footer-bottom {
  align-items: center;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
}

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

@media (max-width: 720px) {
  .site-footer {
    padding-top: 28px;
    padding-bottom: 18px;
  }

  .footer-contact-strip {
    grid-template-columns: 1fr;
    margin-bottom: 22px;
  }

  .footer-contact-card {
    min-height: auto;
    padding: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 8px;
  }

  .footer-bottom {
    align-items: flex-start;
    gap: 10px;
    margin-top: 30px;
  }
}

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

  [data-reveal] {
    transform: none;
    opacity: 1;
  }
}
