:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-soft: #edf2ff;
  --ink: #112246;
  --ink-soft: #55627d;
  --primary: #1f4fd1;
  --primary-strong: #183ea6;
  --line: #d8e0f0;
  --radius: 16px;
  --shadow-sm: 0 6px 18px rgba(10, 27, 76, 0.08);
  --shadow-md: 0 16px 34px rgba(10, 27, 76, 0.1);
  --header-bg: rgba(244, 246, 251, 0.9);
  --footer-bg: #102448;
  --footer-ink: #ffffff;
  --footer-label: #dce7ff;
  --footer-status: #ccf7d1;
  --chip-bg: #eaf0ff;
  --chip-border: #cddaff;
  --chip-ink: #24418e;
  --service-border: #d3ddf4;
  --service-hover-border: #bcccf0;
  --service-icon-bg: linear-gradient(160deg, #eff4ff 0%, #dfe9ff 100%);
  --service-icon-border: #cad8fa;
  --hero-glow: radial-gradient(1100px 500px at 85% -10%, #e2eaff 0%, rgba(226, 234, 255, 0) 55%);
}

html[data-theme="dark"] {
  --bg: #0f1828;
  --surface: #152033;
  --surface-soft: #18253a;
  --ink: #edf3ff;
  --ink-soft: #b2c0dc;
  --primary: #86a9ff;
  --primary-strong: #7298f8;
  --line: #2a3a56;
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 16px 34px rgba(0, 0, 0, 0.35);
  --header-bg: rgba(15, 24, 40, 0.9);
  --footer-bg: #0b1424;
  --footer-ink: #edf3ff;
  --footer-label: #b8c8e7;
  --footer-status: #bde9c4;
  --chip-bg: #1a2a47;
  --chip-border: #334a78;
  --chip-ink: #cddcff;
  --service-border: #2f4366;
  --service-hover-border: #3f5886;
  --service-icon-bg: linear-gradient(160deg, #1e3154 0%, #172844 100%);
  --service-icon-border: #35507f;
  --hero-glow: radial-gradient(1100px 500px at 85% -10%, rgba(134, 169, 255, 0.18) 0%, rgba(134, 169, 255, 0) 55%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--hero-glow), var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

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

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

a:hover {
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section {
  padding: 5.3rem 0;
}

h1,
h2,
h3 {
  margin: 0 0 0.9rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.06rem;
}

p {
  margin: 0;
}

.section-copy {
  max-width: 66ch;
  margin-bottom: 2rem;
  color: var(--ink-soft);
}

.privacy-note {
  margin-top: -1.45rem;
  margin-bottom: 2rem;
  color: #4f4f4f;
  font-size: 0.92rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.brand img {
  width: 84px;
}

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

.theme-switch {
  --switch-width: 64px;
  --switch-height: 34px;
  --switch-pad: 3px;
  position: absolute;
  left: clamp(180px, 27vw, 360px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: var(--switch-width);
  height: var(--switch-height);
  border: 1px solid rgba(120, 91, 35, 0.3);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd66f 0%, #ffaf47 100%);
  color: #17294a;
  padding: 0 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(10, 27, 76, 0.18);
  transition: background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.2s ease;
}

.theme-switch:hover {
  transform: translateY(-50%) scale(1.03);
  box-shadow: 0 10px 22px rgba(10, 27, 76, 0.25);
}

.theme-switch__icon {
  position: relative;
  z-index: 1;
  font-size: 13px;
  line-height: 1;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.theme-switch__icon--sun {
  opacity: 1;
}

.theme-switch__icon--moon {
  opacity: 0.48;
  transform: translateX(1px);
}

.theme-switch__thumb {
  position: absolute;
  z-index: 2;
  top: var(--switch-pad);
  left: var(--switch-pad);
  width: calc(var(--switch-height) - (var(--switch-pad) * 2));
  height: calc(var(--switch-height) - (var(--switch-pad) * 2));
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(15, 29, 64, 0.3);
  pointer-events: none;
  transition: transform 0.24s ease, background 0.24s ease;
}

.theme-switch[aria-pressed="true"] {
  border-color: rgba(159, 186, 255, 0.42);
  background: linear-gradient(135deg, #20365f 0%, #324f82 100%);
  color: #e9f1ff;
}

.theme-switch[aria-pressed="true"] .theme-switch__icon--sun {
  opacity: 0.42;
}

.theme-switch[aria-pressed="true"] .theme-switch__icon--moon {
  opacity: 1;
}

.theme-switch[aria-pressed="true"] .theme-switch__thumb {
  transform: translateX(calc(var(--switch-width) - var(--switch-height)));
  background: #dce7ff;
}

.theme-switch:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

html[data-theme="dark"] .theme-switch {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .theme-switch:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a.active {
  color: var(--ink);
  position: relative;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.site-nav .nav-book-btn {
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  line-height: 1;
}

.site-nav .nav-book-btn:hover {
  color: #fff;
  background: var(--primary-strong);
  border-color: var(--primary-strong);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  padding-top: 6.2rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.subhead {
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: var(--primary);
}

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

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.btn-ghost:hover {
  border-color: #b7c4e3;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.2rem;
}

.hero-panel h2 {
  font-size: 1.2rem;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  color: var(--ink-soft);
}

.check-list li::before {
  content: "•";
  color: var(--primary);
  margin-right: 0.55rem;
}

.section-blue {
  background: #354eab;
  color: #fff;
}

.section-blue .section-copy,
.section-blue li {
  color: #dbe5ff;
}

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

.work-showcase {
  padding-top: 1.25rem;
}

.work-carousel {
  position: relative;
  border-radius: 18px;
}

.work-carousel-viewport {
  overflow: hidden;
  border-radius: 18px;
}

/* Carousel Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(10, 27, 76, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  opacity: 0.92;
}

.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(31, 79, 209, 0.3);
  transform: translateY(-60%) scale(1.08);
  opacity: 1;
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.carousel-btn--prev {
  left: 10px;
}

.carousel-btn--next {
  right: 10px;
}

/* Carousel Dot Indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.carousel-dot:hover {
  background: var(--ink-soft);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.15);
}

.work-track {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  will-change: transform;
}

.work-slide {
  flex: 0 0 calc((100% - 2rem) / 3);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 0.8rem 0.8rem 1rem;
}

.work-image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface-soft);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.work-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.work-slide h3 {
  margin-bottom: 0.45rem;
}

.work-slide p {
  color: var(--ink-soft);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.feature-list {
  margin: 0;
  padding: 1.1rem 1.3rem;
  list-style-position: outside;
  padding-left: 2.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(10, 27, 76, 0.2);
}

.feature-list li+li {
  margin-top: 0.35rem;
}

.card,
.member-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card {
  padding: 1.25rem;
}

.card img {
  width: 56px;
  margin-bottom: 0.8rem;
}

.card p {
  color: var(--ink-soft);
}

.services-section {
  position: relative;
}

.services-strip {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.services-strip span {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  color: var(--chip-ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.services-grid {
  gap: 1.15rem;
}

.service-card {
  padding: 1.1rem;
  border-color: var(--service-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(10, 27, 76, 0.12);
  border-color: var(--service-hover-border);
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--service-icon-bg);
  border: 1px solid var(--service-icon-border);
  margin-bottom: 0.8rem;
}

.service-card img {
  width: 36px;
  margin-bottom: 0;
}

.service-points {
  margin: 0.75rem 0 0;
  padding-left: 1.05rem;
}

.service-points li {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.service-points li+li {
  margin-top: 0.25rem;
}

.process-section {
  position: relative;
}

.process-offers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.process-card {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border-color: #c7d5f2;
  background: linear-gradient(165deg, rgba(31, 79, 209, 0.09) 0%, rgba(31, 79, 209, 0.03) 48%, var(--surface) 100%);
}

.process-card::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(31, 79, 209, 0.82) 0%, rgba(31, 79, 209, 0.35) 100%);
}

.process-label {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.52rem;
  margin-bottom: 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--chip-ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.process-card h3 {
  margin-bottom: 0.34rem;
  font-size: 1.03rem;
}

.process-card p {
  color: var(--ink-soft);
}

.process-points {
  margin: 0.7rem 0 0;
  padding-left: 1.05rem;
}

.process-points li {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.process-points li+li {
  margin-top: 0.24rem;
}

.process-flow {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 0.86rem;
}

.process-flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.72rem;
}

.process-flow-head h3 {
  margin: 0;
  font-size: 1rem;
}

.process-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--chip-ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.58rem;
  counter-reset: process-step;
}

.process-steps li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  padding: 0.78rem 0.62rem 0.62rem;
}

.process-steps li::before {
  counter-increment: process-step;
  content: counter(process-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 0.36rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.process-steps h4 {
  margin: 0 0 0.2rem;
  font-size: 0.92rem;
  line-height: 1.25;
}

.process-steps p {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.35;
}

html[data-theme="dark"] .process-card {
  border-color: #355283;
  background: linear-gradient(165deg, rgba(134, 169, 255, 0.17) 0%, rgba(134, 169, 255, 0.07) 48%, var(--surface) 100%);
}

html[data-theme="dark"] .process-card::before {
  background: linear-gradient(90deg, rgba(134, 169, 255, 0.86) 0%, rgba(134, 169, 255, 0.36) 100%);
}

.team-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: 0.85rem;
  align-items: stretch;
}

.team-grid .member-card {
  text-align: center;
  padding: 0.82rem 0.78rem 0.76rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.team-grid .member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(10, 27, 76, 0.12);
  border-color: #c2d0ee;
}

.team-grid .member-card img {
  width: 122px;
  height: 122px;
  margin: 0 auto 0.5rem;
  object-fit: cover;
  border-radius: 50%;
}

.team-grid .member-card h3 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.team-grid .member-card p {
  color: var(--ink-soft);
  margin-bottom: 0.42rem;
}

.member-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.33rem;
  margin-bottom: 0.5rem;
}

.member-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.2;
}

.member-about {
  color: var(--ink-soft);
  font-size: 0.83rem;
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 0.42rem;
  flex-wrap: wrap;
}

.social-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.62rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.social-row a:hover {
  color: var(--ink);
  border-color: #bac8e8;
}

.team-story {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 0;
  min-height: 100%;
  padding: 1.05rem 1rem;
  border: 1px solid #bfd0f3;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(31, 79, 209, 0.12) 0%, rgba(31, 79, 209, 0.04) 45%, var(--surface) 100%);
  box-shadow: 0 14px 30px rgba(10, 27, 76, 0.12);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.team-story::before {
  content: "";
  position: absolute;
  left: -24%;
  right: -24%;
  bottom: -78px;
  height: 165px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(31, 79, 209, 0.18), rgba(31, 79, 209, 0));
}

.team-story:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(10, 27, 76, 0.16);
  border-color: #a8bfed;
}

.team-story h3 {
  margin-bottom: 0.38rem;
  font-size: 1.04rem;
}

.team-story p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 31ch;
}

.team-story p+p {
  margin-top: 0.72rem;
}

html[data-theme="dark"] .team-grid .member-card:hover {
  border-color: #4a6496;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .team-story {
  border-color: #375486;
  background: linear-gradient(160deg, rgba(134, 169, 255, 0.2) 0%, rgba(134, 169, 255, 0.08) 42%, var(--surface) 100%);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .team-story::before {
  background: radial-gradient(closest-side, rgba(134, 169, 255, 0.2), rgba(134, 169, 255, 0));
}

html[data-theme="dark"] .team-story:hover {
  border-color: #4e71ac;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
}


.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 1.75rem 0 1.55rem;
}

.site-footer .container {
  width: min(980px, 92%);
}

.site-footer h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  margin-bottom: 0.65rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 0.9rem;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.65rem;
  max-width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(195, 212, 245, 0.45);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  box-shadow: 0 12px 28px rgba(3, 10, 28, 0.2);
}

.form-field {
  display: grid;
  gap: 0.24rem;
}

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

.contact-form label {
  font-size: 0.86rem;
  color: var(--footer-label);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #bccbf0;
  padding: 0.58rem 0.72rem;
  font: inherit;
  color: #102448;
  background: #ffffff;
}

.contact-form input {
  height: 38px;
}

.contact-form textarea {
  height: 72px;
  min-height: 72px;
  resize: vertical;
  line-height: 1.35;
}

.contact-form textarea::placeholder {
  color: #6b7898;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #8ea8ff;
  outline-offset: 1px;
  border-color: transparent;
}

.contact-form .btn {
  margin-top: 0;
  padding: 0.58rem 1.02rem;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0;
}

.form-status {
  min-height: 0;
  margin-top: 0;
  color: var(--footer-status);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-connect {
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(195, 212, 245, 0.35);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.connect-lead {
  color: var(--footer-label);
  font-size: 0.88rem;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}

.connect-links {
  display: grid;
  gap: 0.36rem;
}

.connect-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(195, 212, 245, 0.4);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.connect-link:hover {
  border-color: rgba(255, 255, 255, 0.86);
  transform: translateX(2px);
}

.hero-case-study {
  background-image: linear-gradient(rgba(16, 36, 72, 0.7), rgba(16, 36, 72, 0.7)), url("../images/lake.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero-case-study .subhead {
  color: #dbe6ff;
}

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

.shots-grid img {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 980px) {

  .hero-layout,
  .three-cols,
  .shots-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-slide {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .hero-layout> :first-child {
    grid-column: 1 / -1;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
    gap: 0.75rem;
  }

  .process-offers {
    grid-template-columns: 1fr;
  }

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

  .team-story {
    min-height: auto;
    padding: 0.92rem 0.9rem;
  }
}

@media (min-width: 981px) {
  .site-header .nav-wrap {
    min-height: 66px;
  }

  .hero.section {
    padding-top: 4.3rem;
    padding-bottom: 2.1rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    margin-bottom: 0.55rem;
  }

  .hero .subhead {
    margin-bottom: 1.05rem;
  }

  .hero-panel {
    padding: 0.95rem 1rem;
  }

  .work-showcase.section {
    padding-top: 1.1rem;
    padding-bottom: 1.35rem;
  }

  .work-showcase .section-copy {
    margin-bottom: 1rem;
  }

  .work-slide {
    padding: 0.65rem 0.65rem 0.75rem;
  }

  .work-image-frame {
    aspect-ratio: 16 / 9;
    margin-bottom: 0.55rem;
  }

  .work-slide h3 {
    margin-bottom: 0.22rem;
    font-size: 0.95rem;
  }

  .work-slide p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .section-blue.section {
    padding-top: 1.7rem;
    padding-bottom: 1.9rem;
  }

  .section-blue .section-copy {
    margin-bottom: 1rem;
  }

  .feature-list {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  #team.section {
    padding-top: 2rem;
    padding-bottom: 1.8rem;
  }

  #team .section-copy {
    margin-bottom: 1rem;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 3.6rem 0;
  }

  .hero {
    padding-top: 4.6rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.95rem 4%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-book-btn {
    margin-top: 0.15rem;
  }

  .theme-switch {
    left: 102px;
    top: 50%;
    transform: translateY(-50%);
    --switch-width: 58px;
    --switch-height: 32px;
  }

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

  .hero-layout,
  .two-cols,
  .three-cols,
  .team-grid,
  .footer-grid,
  .shots-grid {
    grid-template-columns: 1fr;
  }

  .work-slide {
    flex-basis: 100%;
  }

  .services-strip {
    gap: 0.45rem;
  }

  .services-strip span {
    font-size: 0.82rem;
  }

  .site-footer {
    padding: 1.5rem 0 1.35rem;
  }

  .process-card {
    padding: 0.9rem 0.85rem;
  }

  .process-flow {
    padding: 0.72rem;
  }

  .process-flow-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.62rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 0.75rem;
  }

  .form-actions {
    gap: 0.45rem;
  }

  .form-status {
    width: 100%;
  }

  .footer-connect {
    padding: 0.72rem 0.8rem;
  }

  #team.section {
    padding-top: 2.2rem;
    padding-bottom: 2rem;
  }

  .team-grid .member-card {
    padding: 0.85rem 0.8rem 0.8rem;
  }

  .team-grid .member-card img {
    width: 118px;
    height: 118px;
  }

  .member-meta {
    gap: 0.28rem;
  }

  .team-story {
    margin-top: 0;
    padding: 0.65rem 0.74rem;
  }

}

/* =======================================
   SCROLL-REVEAL ANIMATIONS
   ======================================= */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger>*:nth-child(1) {
  transition-delay: 0s;
}

.reveal-stagger>*:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal-stagger>*:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal-stagger>*:nth-child(4) {
  transition-delay: 0.3s;
}

.reveal-stagger>*:nth-child(5) {
  transition-delay: 0.4s;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =======================================
   HERO ENTRANCE ANIMATION
   ======================================= */

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPanelSlide {
  from {
    opacity: 0;
    transform: translateX(36px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-layout>div {
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-panel {
  animation: heroPanelSlide 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

/* Animated gradient mesh behind hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: -2;
  background:
    radial-gradient(600px 400px at 20% 30%, rgba(31, 79, 209, 0.12) 0%, transparent 70%),
    radial-gradient(500px 350px at 75% 60%, rgba(100, 140, 255, 0.1) 0%, transparent 70%),
    radial-gradient(400px 300px at 50% 10%, rgba(31, 79, 209, 0.08) 0%, transparent 70%);
  animation: meshDrift 18s ease-in-out infinite alternate;
}

@keyframes meshDrift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -20px) rotate(1deg);
  }

  66% {
    transform: translate(-20px, 15px) rotate(-1deg);
  }

  100% {
    transform: translate(10px, -10px) rotate(0.5deg);
  }
}

/* Floating decorative circles */
.hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  top: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 79, 209, 0.08) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: floatCircle 12s ease-in-out infinite alternate;
}

@keyframes floatCircle {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-20px, 15px) scale(1.08);
  }

  100% {
    transform: translate(10px, -10px) scale(0.95);
  }
}

html[data-theme="dark"] .hero::before {
  background:
    radial-gradient(600px 400px at 20% 30%, rgba(134, 169, 255, 0.1) 0%, transparent 70%),
    radial-gradient(500px 350px at 75% 60%, rgba(100, 140, 255, 0.08) 0%, transparent 70%),
    radial-gradient(400px 300px at 50% 10%, rgba(134, 169, 255, 0.06) 0%, transparent 70%);
}

html[data-theme="dark"] .hero::after {
  background: radial-gradient(circle, rgba(134, 169, 255, 0.08) 0%, transparent 70%);
}

@media (prefers-reduced-motion: reduce) {

  .hero-layout>div,
  .hero-panel {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero::before,
  .hero::after {
    animation: none;
  }
}

/* =======================================
   SOCIAL PROOF / STATS BAR
   ======================================= */

.stats-bar {
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-item {
  position: relative;
  text-align: center;
  padding: 1.3rem 0.8rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(31, 79, 209, 0.3), rgba(100, 140, 255, 0.1), rgba(31, 79, 209, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.stat-label {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

html[data-theme="dark"] .stat-item::before {
  background: linear-gradient(135deg, rgba(134, 169, 255, 0.35), rgba(100, 140, 255, 0.1), rgba(134, 169, 255, 0.35));
}

@media (max-width: 760px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =======================================
   CAROUSEL CONTROLS
   ======================================= */

.work-carousel {
  position: relative;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 1.1rem;
  transition: all 0.2s ease;
  padding: 0;
}

.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-50%) scale(1.06);
}

.carousel-btn--prev {
  left: -22px;
}

.carousel-btn--next {
  right: -22px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  padding: 0;
  list-style: none;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(31, 79, 209, 0.4);
}

.carousel-dot:hover:not(.active) {
  background: var(--ink-soft);
}

html[data-theme="dark"] .carousel-dot.active {
  box-shadow: 0 0 10px rgba(134, 169, 255, 0.4);
}

@media (max-width: 760px) {
  .carousel-btn {
    display: none;
  }
}

/* =======================================
   MICRO-INTERACTIONS & POLISH
   ======================================= */

/* CTA Button shimmer */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.2) 50%,
      transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 125%;
}

/* Nav link underline animation */
.site-nav a:not(.nav-book-btn) {
  position: relative;
}

.site-nav a:not(.nav-book-btn)::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease, left 0.3s ease;
}

.site-nav a:not(.nav-book-btn):hover::after,
.site-nav a:not(.nav-book-btn).active::after {
  width: 100%;
  left: 0;
}

.site-nav a.active {
  color: var(--primary);
}

/* Service card enhanced hover */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--primary), rgba(100, 140, 255, 0.4), var(--primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.08);
}

.service-icon-wrap {
  transition: transform 0.3s ease;
}

/* Process steps connecting line */
@media (min-width: 761px) {
  .process-steps {
    position: relative;
  }

  .process-steps li {
    position: relative;
  }

  .process-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 12px;
    right: -0.29rem;
    width: calc(0.58rem);
    height: 2px;
    background: var(--primary);
    opacity: 0.35;
    z-index: 1;
  }
}

/* Enhanced form focus states */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(134, 169, 255, 0.6);
  outline-offset: 2px;
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(31, 79, 209, 0.12);
  transition: all 0.2s ease;
}

.contact-form label {
  transition: color 0.2s ease;
}

.form-field:focus-within label {
  color: #fff;
}

/* =======================================
   BACK-TO-TOP BUTTON
   ======================================= */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s ease;
  padding: 0;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(31, 79, 209, 0.3);
}

html[data-theme="dark"] .back-to-top:hover {
  box-shadow: 0 8px 24px rgba(134, 169, 255, 0.2);
}

@media (max-width: 760px) {
  .back-to-top {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}

/* =======================================
   LOGIN PAGE
   ======================================= */

.login-page {
  min-height: 100vh;
}

.login-main {
  padding: 5.4rem 0 2.8rem;
}

.login-shell {
  width: min(560px, 92%);
  margin: 0 auto;
}

.login-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 1.3rem;
}

.login-card h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.45rem;
}

.login-copy {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.login-form {
  display: grid;
  gap: 0.6rem;
}

.login-form .form-field {
  gap: 0.28rem;
}

.login-form .form-field[hidden] {
  display: none !important;
}

.login-form label {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.login-form input {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.login-form input:focus {
  outline: 2px solid rgba(134, 169, 255, 0.6);
  outline-offset: 1px;
  border-color: transparent;
}

.login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.login-actions .btn {
  min-width: 150px;
}

.login-status {
  min-height: 1.5rem;
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.login-status.is-error {
  color: #b23939;
}

.login-status.is-success {
  color: #1f7f44;
}

.auth-switch-copy {
  margin: 0.65rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

#auth-switch-btn,
.auth-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  min-height: 36px;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #eef3ff 100%);
  color: var(--primary-strong);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(10, 27, 76, 0.08);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#auth-switch-btn:hover,
.auth-switch-btn:hover {
  background: linear-gradient(180deg, #2c61e0 0%, #1f4fd1 100%);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(31, 79, 209, 0.28);
}

#auth-switch-btn:active,
.auth-switch-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(31, 79, 209, 0.2);
}

#auth-switch-btn:focus-visible,
.auth-switch-btn:focus-visible {
  outline: 2px solid rgba(134, 169, 255, 0.6);
  outline-offset: 2px;
  border-radius: 999px;
}

#auth-switch-btn:disabled,
.auth-switch-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

html[data-theme="dark"] #auth-switch-btn,
html[data-theme="dark"] .auth-switch-btn {
  background: linear-gradient(180deg, #233a63 0%, #1c2f50 100%);
  border-color: #35507f;
  color: #d7e4ff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] #auth-switch-btn:hover,
html[data-theme="dark"] .auth-switch-btn:hover {
  background: linear-gradient(180deg, #3a66c5 0%, #2b53ac 100%);
  border-color: #4b73cf;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(9, 20, 42, 0.55);
}

.session-panel {
  margin-top: 0.85rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.session-panel[hidden] {
  display: none;
}

.session-panel p {
  color: var(--ink-soft);
}

.login-nav {
  margin-left: auto;
}

.login-page .site-nav.login-nav {
  position: static;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  padding: 0;
  border-bottom: 0;
  background: transparent;
}

.login-form button:disabled,
.session-panel button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 760px) {
  .login-main {
    padding-top: 4.9rem;
  }

  .login-card {
    padding: 1rem;
  }

  .login-actions .btn {
    width: 100%;
  }

  .session-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .login-page .site-nav.login-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    margin-left: auto;
    gap: 0.55rem;
    padding: 0;
  }
}

.form-note {
  margin: 0.1rem 0 0.05rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* =======================================
   CLIENT AREA
   ======================================= */

.client-page {
  min-height: 100vh;
}

.client-main {
  padding: 5.4rem 0 2.8rem;
}

.client-shell {
  width: min(980px, 92%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

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

.client-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}

.client-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.client-card--hero {
  padding: 1.2rem;
}

.client-card--hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.45rem;
}

.client-meta {
  display: grid;
  gap: 0.45rem;
}

.client-meta p {
  color: var(--ink-soft);
}

.client-meta strong {
  color: var(--ink);
}

.client-list {
  margin: 0 0 0.9rem;
  padding-left: 1.1rem;
}

.client-list li {
  color: var(--ink-soft);
}

.client-list li+li {
  margin-top: 0.24rem;
}

.client-muted {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.client-muted+.client-muted {
  margin-top: 0.55rem;
}

.client-nav-signout {
  border-radius: 10px;
  padding: 0.45rem 0.85rem;
}

.client-nav-signout:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

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

  .client-grid .client-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .client-main {
    padding-top: 4.9rem;
  }

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

  .client-nav-signout {
    padding: 0.38rem 0.7rem;
  }
}
