:root {
  --primary: #0f766e;
  --secondary: #f97316;
  --accent: #2563eb;
  --deep: #102a43;
  --ink: #12212f;
  --muted: #627084;
  --paper: #fffaf3;
  --surface: #ffffff;
  --soft: #e0f7f2;
  --line: rgba(18, 33, 47, 0.13);
  --shadow: 0 28px 70px rgba(16, 42, 67, 0.18);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  --mouse-x: 0px;
  --mouse-y: 0px;
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.7)),
    radial-gradient(circle at 18% 16%, var(--soft), transparent 32rem),
    linear-gradient(145deg, var(--paper), #f5fbff 45%, #fff8ef);
  overflow-x: hidden;
  animation: page-rise 720ms ease both;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(18, 33, 47, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 33, 47, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

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

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

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, var(--primary), var(--accent)),
    var(--primary);
  box-shadow: 0 16px 36px rgba(18, 33, 47, 0.2);
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.nav-toggle svg {
  width: 21px;
  height: 21px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.nav-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.nav-action,
.primary-button {
  padding: 13px 18px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--primary), var(--accent)),
    var(--primary);
  box-shadow: 0 18px 38px rgba(18, 33, 47, 0.18);
}

.secondary-button {
  padding: 13px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.primary-button svg,
.secondary-button svg,
.nav-action svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 82px);
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -2;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 7% -8% auto auto;
  width: min(48vw, 620px);
  height: min(48vw, 620px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)),
    linear-gradient(45deg, color-mix(in srgb, var(--primary) 18%, transparent), transparent);
  clip-path: polygon(12% 0, 100% 16%, 88% 100%, 0 82%);
  transform: translate3d(var(--mouse-x), var(--mouse-y), 0) rotate(-8deg);
  filter: blur(0.2px);
}

.hero::after {
  inset: auto auto 3% -12%;
  width: min(42vw, 540px);
  height: min(38vw, 480px);
  background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--secondary) 24%, transparent) 0 12px, transparent 12px 26px);
  clip-path: polygon(0 10%, 76% 0, 100% 78%, 16% 100%);
  opacity: 0.42;
}

.hero-grid {
  position: relative;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 20px;
  color: var(--deep);
  font-size: clamp(2.45rem, 8vw, 5.95rem);
  line-height: 0.96;
  letter-spacing: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  overflow-wrap: break-word;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.hero-copy > p {
  max-width: 680px;
  color: #35465a;
  font-size: clamp(1.04rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  max-width: 720px;
  margin-top: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  min-height: 98px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 36px rgba(18, 33, 47, 0.08);
  backdrop-filter: blur(12px);
}

.stat strong {
  display: block;
  color: var(--deep);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 600px;
  perspective: 1200px;
  min-width: 0;
  max-width: 100%;
}

.cinematic-hero {
  overflow: hidden;
}

.page-hero {
  min-height: min(760px, calc(100vh - 72px));
  padding-top: clamp(42px, 6vw, 82px);
  padding-bottom: clamp(42px, 6vw, 82px);
}

.hero-visual-compact {
  min-height: 460px;
}

.portrait-panel {
  position: absolute;
  inset: 3% 0 5% 9%;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--primary) 28%, #ffffff), #ffffff 54%),
    #ffffff;
  box-shadow: var(--shadow);
  transform: translate3d(0, var(--depth-y, 0px), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0);
  transition: transform 220ms ease;
}

.portrait-panel::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(180deg, transparent 42%, rgba(9, 20, 31, 0.58)),
    linear-gradient(110deg, rgba(255, 255, 255, 0.34), transparent 28%);
  pointer-events: none;
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.03);
}

.depth-card {
  position: absolute;
  z-index: 4;
  width: min(250px, 56vw);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 52px rgba(18, 33, 47, 0.15);
  backdrop-filter: blur(14px);
  transform: translate3d(0, var(--depth-y, 0px), 0);
}

.depth-card strong {
  display: block;
  color: var(--deep);
  font-size: 0.98rem;
}

.depth-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.depth-card.one {
  top: 10%;
  left: 0;
}

.depth-card.two {
  right: -2%;
  bottom: 10%;
}

.depth-ribbon {
  position: absolute;
  z-index: 1;
  width: 68%;
  height: 26%;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--secondary), color-mix(in srgb, var(--accent) 72%, #ffffff));
  box-shadow: 0 28px 58px rgba(18, 33, 47, 0.16);
  opacity: 0.72;
  transform: translate3d(0, var(--depth-y, 0px), 0) rotate(var(--ribbon-rotation, 0deg));
}

.depth-ribbon.top {
  top: 1%;
  right: -7%;
  --ribbon-rotation: 9deg;
}

.depth-ribbon.bottom {
  bottom: 2%;
  left: 0;
  --ribbon-rotation: -9deg;
  opacity: 0.48;
}

.motif-band {
  position: absolute;
  z-index: 2;
  width: 72%;
  height: 16%;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--primary) 22%, transparent), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 2px, transparent 2px 16px);
  box-shadow: 0 22px 52px rgba(18, 33, 47, 0.12);
  transform: translate3d(0, var(--depth-y, 0px), 0) skewY(var(--band-skew, -5deg));
  animation: band-drift 7s ease-in-out infinite alternate;
}

.motif-band.band-one {
  top: 24%;
  left: -2%;
  --band-skew: -6deg;
}

.motif-band.band-two {
  right: -5%;
  bottom: 28%;
  --band-skew: 5deg;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--secondary) 28%, transparent), transparent 50%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0 2px, transparent 2px 14px);
  animation-delay: -2s;
}

.section {
  position: relative;
  padding: clamp(64px, 8vw, 108px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  margin-bottom: 30px;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.56fr);
  gap: 24px;
  align-items: end;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--deep);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.identity-strip {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, transparent), transparent 44%),
    linear-gradient(225deg, color-mix(in srgb, var(--secondary) 12%, transparent), transparent 42%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-panel {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68)),
    color-mix(in srgb, var(--soft) 42%, #ffffff);
  box-shadow: 0 18px 44px rgba(18, 33, 47, 0.09);
}

.feature-panel::after {
  position: absolute;
  right: -18px;
  bottom: -24px;
  content: attr(data-mark);
  width: 120px;
  height: 120px;
  border: 1px solid color-mix(in srgb, var(--primary) 24%, transparent);
  transform: rotate(14deg);
}

.feature-panel span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 900;
}

.feature-panel h3 {
  margin: 0 0 10px;
  color: var(--deep);
  font-size: 1.15rem;
}

.feature-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.split-showcase {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--deep) 6%, transparent), transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-grid,
.profile-grid,
.principle-grid,
.positioning-grid,
.journey-grid,
.hours-grid,
.testimonial-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.service-card,
.profile-card,
.principle-card,
.positioning-card,
.journey-step,
.hours-card,
.quote-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 36px rgba(18, 33, 47, 0.08);
}

.service-card,
.principle-card,
.positioning-card,
.journey-step,
.hours-card,
.quote-card {
  min-height: 180px;
  padding: 22px;
}

.service-card,
.feature-panel,
.principle-card,
.positioning-card,
.journey-step,
.quote-card {
  position: relative;
  overflow: hidden;
  --lift: 0px;
  transform: perspective(980px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift));
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.service-card::after,
.principle-card::after,
.positioning-card::after,
.journey-step::before,
.quote-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), color-mix(in srgb, var(--primary) 16%, transparent), transparent 36%);
  transition: opacity 180ms ease;
}

.service-card:hover,
.feature-panel:hover,
.principle-card:hover,
.positioning-card:hover,
.journey-step:hover,
.quote-card:hover {
  --lift: -6px;
  box-shadow: 0 24px 56px rgba(18, 33, 47, 0.13);
  border-color: color-mix(in srgb, var(--primary) 34%, var(--line));
}

.service-card:hover::after,
.principle-card:hover::after,
.positioning-card:hover::after,
.journey-step:hover::before,
.quote-card:hover::before {
  opacity: 1;
}

.icon-chip {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, var(--primary), var(--accent)),
    var(--primary);
  font-weight: 900;
}

.service-card h3,
.principle-card h3,
.positioning-card h3,
.profile-card h3,
.journey-step h3,
.hours-card h3,
.quote-card h3 {
  margin-bottom: 10px;
  color: var(--deep);
  font-size: 1.05rem;
  line-height: 1.25;
}

.service-card p,
.principle-card p,
.positioning-card p,
.profile-card p,
.journey-step p,
.hours-card p,
.quote-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.knowledge-band {
  background:
    linear-gradient(125deg, color-mix(in srgb, var(--soft) 72%, #ffffff), transparent 58%),
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--primary) 7%, transparent) 0 1px, transparent 1px 24px);
}

.principle-card {
  min-height: 260px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    color-mix(in srgb, var(--soft) 56%, #ffffff);
}

.principle-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent));
}

.principle-card span,
.positioning-card span {
  display: inline-flex;
  width: max-content;
  margin-bottom: 16px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--deep);
  background: color-mix(in srgb, var(--soft) 72%, #ffffff);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.positioning-section {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--deep) 5%, transparent), transparent 52%),
    linear-gradient(270deg, color-mix(in srgb, var(--accent) 9%, transparent), transparent 48%);
}

.positioning-card {
  min-height: 230px;
  background:
    linear-gradient(145deg, #ffffff, color-mix(in srgb, var(--soft) 36%, #ffffff));
}

.positioning-card span {
  color: #fff;
  background: linear-gradient(135deg, var(--deep), var(--primary));
}

.profile-grid {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
}

.profile-card {
  padding: clamp(24px, 4vw, 38px);
}

.doctor-card {
  display: grid;
  min-height: 100%;
  align-content: end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(9, 20, 31, 0.04), rgba(9, 20, 31, 0.78)),
    linear-gradient(135deg, var(--primary), var(--deep));
}

.doctor-card p,
.doctor-card h2,
.doctor-card h3 {
  color: #fff;
}

.doctor-card .profile-note {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.78);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pill {
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--deep);
  background: color-mix(in srgb, var(--soft) 78%, #ffffff);
  font-size: 0.84rem;
  font-weight: 800;
}

.approach-list {
  display: grid;
  gap: 14px;
}

.approach-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.approach-item:last-child {
  border-bottom: 0;
}

.approach-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  font-weight: 900;
}

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

.journey-step {
  position: relative;
  overflow: hidden;
}

.journey-step::after {
  position: absolute;
  right: 16px;
  bottom: -8px;
  counter-increment: journey;
  content: "0" counter(journey);
  color: color-mix(in srgb, var(--primary) 17%, transparent);
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1;
}

.hours-grid {
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr);
}

.hours-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.hours-list strong {
  color: var(--deep);
}

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

.wide-stats {
  max-width: none;
}

.wide-stats .stat {
  min-height: 122px;
}

.wide-stats .stat strong {
  font-size: clamp(1.1rem, 2.4vw, 2rem);
  overflow-wrap: anywhere;
}

.faq-layout {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(18, 33, 47, 0.08);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--deep);
  font-weight: 900;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.7;
}

.quote-card {
  min-height: 220px;
}

.quote-card blockquote {
  margin: 0 0 18px;
  color: #35465a;
  line-height: 1.7;
}

.quote-card cite {
  color: var(--deep);
  font-style: normal;
  font-weight: 900;
}

.appointment {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 16%, transparent), transparent 38%),
    linear-gradient(225deg, color-mix(in srgb, var(--secondary) 16%, transparent), transparent 42%);
}

.appointment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.9fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
}

.appointment-copy h2 {
  max-width: 620px;
  color: var(--deep);
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1.02;
}

.appointment-copy p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.form-panel {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.appointment-form {
  display: grid;
  gap: 14px;
}

.field-group {
  display: grid;
  gap: 7px;
}

.field-group label {
  color: var(--deep);
  font-size: 0.88rem;
  font-weight: 900;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.field-group textarea {
  min-height: 118px;
  resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent);
}

.field-error {
  color: #b42318;
  font-size: 0.82rem;
  font-weight: 800;
}

.field-group [aria-invalid="true"] {
  border-color: #b42318;
}

.form-success {
  display: none;
  padding: 13px 14px;
  border: 1px solid color-mix(in srgb, var(--primary) 42%, #ffffff);
  border-radius: var(--radius);
  color: var(--deep);
  background: color-mix(in srgb, var(--soft) 70%, #ffffff);
  font-weight: 800;
}

.form-success.visible {
  display: block;
}

.site-footer {
  padding: 46px 0 20px;
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 22%, transparent), transparent 34%),
    linear-gradient(145deg, var(--deep), #07131f);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px);
  opacity: 0.7;
}

.footer-inner {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.footer-inner strong {
  color: #fff;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: start;
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(170px, 0.75fr));
  gap: 22px;
}

.footer-brand-block,
.footer-column {
  display: grid;
  gap: 10px;
}

.footer-brand-block strong {
  max-width: 420px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.02;
}

.footer-brand-block p,
.footer-column p,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.footer-kicker {
  color: color-mix(in srgb, var(--secondary) 70%, #ffffff);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-column h2 {
  margin: 0 0 4px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
}

.footer-links a {
  width: max-content;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.footer-links a:hover {
  color: #fff;
}

.footer-whatsapp,
.whatsapp-inline-button,
.whatsapp-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  color: #fff;
  background: #128c4a;
  box-shadow: 0 18px 44px rgba(18, 140, 74, 0.28);
  font-weight: 900;
}

.footer-whatsapp {
  width: max-content;
  min-height: 46px;
  margin-top: 8px;
  padding: 12px 15px;
}

.footer-whatsapp svg,
.whatsapp-inline-button svg,
.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
}

.whatsapp-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, #128c4a 28%, #ffffff);
  border-radius: var(--radius);
  background: color-mix(in srgb, #128c4a 8%, #ffffff);
}

.whatsapp-inline-button {
  min-height: 44px;
  padding: 11px 14px;
}

.whatsapp-inline span {
  color: var(--deep);
  font-weight: 900;
}

.whatsapp-float {
  display: inline-flex !important;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147483000;
  width: 52px;
  height: 52px;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  gap: 0;
  opacity: 1;
  visibility: visible;
  transform: translateZ(0);
  will-change: transform;
  transition: transform 180ms ease, box-shadow 180ms ease, outline-color 180ms ease;
}

.whatsapp-float::before {
  position: absolute;
  inset: -7px;
  content: "";
  border: 1px solid rgba(18, 140, 74, 0.28);
  border-radius: inherit;
  animation: whatsapp-pulse 2.6s ease-out infinite;
}

.whatsapp-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 24px 56px rgba(18, 140, 74, 0.36);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes band-drift {
  from {
    translate: -4px 0;
  }
  to {
    translate: 12px 10px;
  }
}

@keyframes whatsapp-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.88);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

.motion-reduced *,
.motion-reduced *::before,
.motion-reduced *::after {
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-action {
    display: none;
  }

  .hero-grid,
  .section-heading,
  .profile-grid,
  .hours-grid,
  .appointment-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 560px;
    order: -1;
  }

  .portrait-panel {
    inset: 0 8% 0 8%;
  }

  .service-grid,
  .feature-grid,
  .principle-grid,
  .positioning-grid,
  .journey-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    max-width: 100%;
    font-size: 2rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .brand span:last-child {
    max-width: 196px;
  }

  .hero-grid,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 460px;
    overflow: hidden;
  }

  .portrait-panel {
    inset: 0;
  }

  .depth-card {
    width: min(214px, 64vw);
    padding: 13px;
  }

  .depth-card.one {
    top: 5%;
  }

  .depth-card.two {
    right: 0;
    bottom: 5%;
  }

  .hero-stats,
  .service-grid,
  .feature-grid,
  .principle-grid,
  .positioning-grid,
  .journey-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .service-card,
  .journey-step,
  .hours-card,
  .quote-card {
    min-height: auto;
  }

  .hours-list li {
    display: grid;
    gap: 4px;
  }

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

  .footer-bottom {
    width: min(100% - 24px, 1180px);
    flex-direction: column;
    padding-bottom: 62px;
  }

  .footer-whatsapp,
  .whatsapp-inline-button {
    width: 100%;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    left: auto;
    width: 48px;
    height: 48px;
  }
}
