/* Pro Property Management - premium light system */
:root {
  --bg: #f7f4ee;
  --bg-soft: #fffaf2;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --ink: #111827;
  --navy: #071b32;
  --muted: #667085;
  --line: rgba(17, 24, 39, 0.1);
  --line-strong: rgba(7, 27, 50, 0.18);
  --accent: #f2a100;
  --accent-dark: #c97f00;
  --accent-soft: #fff0c7;
  --success: #087443;
  --danger: #b42318;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 60px rgba(7, 27, 50, 0.09);
  --shadow-soft: 0 12px 34px rgba(7, 27, 50, 0.07);
  --max-w: 1180px;
  --nav-h: 78px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050607;
  --bg-soft: #0b0d10;
  --surface: rgba(18, 21, 26, 0.78);
  --surface-solid: #111419;
  --ink: #f7f8fb;
  --navy: #f7f8fb;
  --muted: #aeb7c4;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #f2a100;
  --accent-dark: #ffc247;
  --accent-soft: rgba(242, 161, 0, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 16px 44px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(242, 161, 0, 0.14), transparent 30rem),
    linear-gradient(180deg, #fffaf2 0%, var(--bg) 46%, #ffffff 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

[data-theme="dark"] body {
  background:
    radial-gradient(circle at 82% 8%, rgba(242, 161, 0, 0.16), transparent 30rem),
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.06), transparent 28rem),
    linear-gradient(180deg, #050607 0%, #090b0f 46%, #050607 100%);
}

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

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

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

button {
  border: 0;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 40px, var(--max-w));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 250, 242, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(7, 27, 50, 0.08);
}

.site-header nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 62px;
}

.logo img {
  width: auto;
  height: 58px;
  object-fit: contain;
  border-radius: 0;
}

.logo-text {
  display: none;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.logo-text span {
  color: var(--accent-dark);
}

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

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(17, 24, 39, 0.68);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: rgba(7, 27, 50, 0.06);
}

.nav-links .portal-link,
.mobile-nav .portal-link {
  background: var(--navy);
  color: #ffffff;
}

.nav-links .portal-link:hover,
.nav-links .portal-link.active {
  color: #ffffff;
  background: #0d2b4e;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(7, 27, 50, 0.06);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: #ffffff;
  border-color: var(--line-strong);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 999px;
  background: rgba(7, 27, 50, 0.06);
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 16px;
  right: 16px;
  z-index: 999;
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.mobile-nav.open {
  display: grid;
  gap: 6px;
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--navy);
  font-weight: 750;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: rgba(242, 161, 0, 0.12);
}

[data-theme="dark"] .site-header {
  background: rgba(5, 6, 7, 0.74);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .site-header.scrolled {
  background: rgba(8, 10, 13, 0.9);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.36);
}

[data-theme="dark"] .nav-links a {
  color: rgba(247, 248, 251, 0.7);
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active,
[data-theme="dark"] .mobile-nav a:hover,
[data-theme="dark"] .mobile-nav a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nav-links .portal-link,
[data-theme="dark"] .mobile-nav .portal-link {
  color: #121212;
  background: var(--accent);
}

[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: none;
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .hamburger {
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hamburger span {
  background: #ffffff;
}

[data-theme="dark"] .mobile-nav {
  background: rgba(12, 14, 18, 0.94);
}

.section {
  padding: clamp(70px, 9vw, 120px) 0;
}

.section-tight {
  padding: clamp(44px, 7vw, 84px) 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-kicker,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker::before,
.section-label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  max-width: 980px;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  font-size: clamp(1.06rem, 1.7vw, 1.32rem);
  line-height: 1.7;
}

.accent-text {
  color: var(--accent-dark);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 46px) 0 54px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 35%, rgba(255, 255, 255, 0.72), transparent 22rem),
    radial-gradient(circle at 82% 58%, rgba(242, 161, 0, 0.1), transparent 26rem);
  pointer-events: none;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
  pointer-events: none;
}

.hero-rings {
  position: absolute;
  top: 52%;
  right: max(-9vw, -120px);
  z-index: 0;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  transform-style: preserve-3d;
  pointer-events: none;
  opacity: 0.92;
}

.ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(242, 161, 0, 0.34);
  border-radius: 999px;
  box-shadow: inset 0 0 74px rgba(242, 161, 0, 0.09), 0 0 42px rgba(242, 161, 0, 0.06);
  animation: ringFloat 14s ease-in-out infinite;
}

.ring-two {
  inset: 13%;
  border-color: rgba(7, 27, 50, 0.23);
  animation-delay: -4s;
}

.ring-three {
  inset: 27%;
  border-color: rgba(242, 161, 0, 0.44);
  animation-delay: -8s;
}

@keyframes ringFloat {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(10deg) scale(1.04);
  }
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  margin-bottom: 22px;
  border: 1px solid rgba(242, 161, 0, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(242, 161, 0, 0.11);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-subtitle {
  max-width: 680px;
  margin-top: 24px;
}

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

.btn-primary,
.btn-secondary,
.btn-outline,
.btn-link,
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn-primary,
.btn-submit {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(7, 27, 50, 0.2);
}

.btn-primary:hover,
.btn-submit:hover {
  transform: translateY(-2px);
  background: #0d2b4e;
  box-shadow: 0 22px 48px rgba(7, 27, 50, 0.24);
}

.btn-secondary {
  background: var(--accent);
  color: var(--navy);
  box-shadow: 0 16px 36px rgba(242, 161, 0, 0.24);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: #ffb52b;
}

.btn-outline {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-link {
  min-height: auto;
  padding: 0;
  color: var(--navy);
}

.hero-visual {
  position: relative;
}

.hero-image-card {
  overflow: hidden;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(7, 27, 50, 0.16);
}

.hero-image-card img {
  width: 100%;
  height: min(64vh, 620px);
  min-height: 460px;
  object-fit: cover;
}

.hero-panel {
  position: absolute;
  left: -42px;
  bottom: 32px;
  width: min(310px, 72%);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.hero-panel strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1.1rem;
}

.stats-grid,
.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.hero-stats {
  margin-top: 36px;
  max-width: 760px;
}

.stat-card,
.stat-item {
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 22px rgba(7, 27, 50, 0.05);
}

.stat-number,
.stat-suffix {
  display: inline;
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.25;
}

.trust-band {
  padding: 34px 0;
  background: rgba(255, 255, 255, 0.56);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-profile-section {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.company-profile-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: start;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 250, 242, 0.76)),
    var(--surface-solid);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.company-profile-heading {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
}

.company-profile-heading p {
  margin-top: 18px;
  font-size: 1.02rem;
}

.company-profile-copy {
  display: grid;
  gap: 18px;
}

.company-profile-copy p {
  color: rgba(102, 112, 133, 0.96);
  font-size: 1.01rem;
  line-height: 1.82;
}

[data-theme="dark"] .hero::before {
  background:
    radial-gradient(circle at 18% 35%, rgba(255, 255, 255, 0.06), transparent 22rem),
    radial-gradient(circle at 82% 58%, rgba(242, 161, 0, 0.16), transparent 26rem);
}

[data-theme="dark"] #hero-canvas {
  opacity: 0.48;
}

[data-theme="dark"] .ring {
  border-color: rgba(242, 161, 0, 0.42);
  box-shadow: inset 0 0 82px rgba(242, 161, 0, 0.11), 0 0 74px rgba(242, 161, 0, 0.08);
}

[data-theme="dark"] .ring-two {
  border-color: rgba(255, 255, 255, 0.22);
}

[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-submit {
  background: var(--accent);
  color: #101010;
  box-shadow: 0 18px 44px rgba(242, 161, 0, 0.2);
}

[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .btn-submit:hover {
  background: #ffc247;
  box-shadow: 0 22px 54px rgba(242, 161, 0, 0.24);
}

[data-theme="dark"] .btn-outline,
[data-theme="dark"] .hero-panel,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .stat-item {
  background: rgba(18, 21, 26, 0.72);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

[data-theme="dark"] .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .hero-image-card,
[data-theme="dark"] .image-shell {
  background: #111419;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

[data-theme="dark"] .trust-band {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .company-profile-card {
  background:
    linear-gradient(135deg, rgba(18, 21, 26, 0.9), rgba(8, 10, 13, 0.82)),
    var(--surface-solid);
}

[data-theme="dark"] .company-profile-copy p {
  color: rgba(247, 248, 251, 0.74);
}

.card-grid,
.service-grid,
.blog-grid,
.team-grid,
.feature-grid,
.scheme-grid {
  display: grid;
  gap: 18px;
}

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

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

.why-section {
  padding-top: clamp(56px, 7vw, 96px);
}

.why-header {
  max-width: 880px;
  margin-bottom: 34px;
}

.why-header h2 {
  max-width: 800px;
  margin: 0 auto;
}

.why-header .lead {
  max-width: 760px;
  margin: 20px auto 0;
}

.why-feature-grid {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  align-items: stretch;
}

.why-feature-grid .feature-card {
  min-height: 214px;
  padding: clamp(24px, 3vw, 34px);
}

.why-feature-grid .feature-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.why-feature-grid .feature-card p {
  line-height: 1.68;
}

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

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

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

.card,
.glass-card,
.service-card,
.blog-card,
.team-card,
.feature-card,
.legal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.card,
.glass-card,
.service-card,
.feature-card,
.legal-card {
  padding: 28px;
}

.service-card,
.blog-card,
.team-card,
.feature-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover,
.blog-card:hover,
.team-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 161, 0, 0.35);
  box-shadow: var(--shadow);
}

.card-icon,
.service-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 900;
}

.service-card h3,
.feature-card h3,
.blog-card h3,
.team-card h3,
.legal-card h3 {
  margin-bottom: 12px;
}

.service-card p,
.feature-card p,
.blog-card p,
.team-card p {
  font-size: 0.96rem;
}

.card-link,
.blog-read-more {
  display: inline-flex;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.image-shell {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
  background: #ffffff;
}

.image-shell img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.list-stack {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.check-item,
.info-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.check-item::before,
.info-row::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: inset 0 0 0 7px var(--accent-soft);
}

.panel-section {
  border-radius: 36px;
  padding: clamp(34px, 6vw, 70px);
  background:
    linear-gradient(135deg, rgba(7, 27, 50, 0.95), rgba(13, 43, 78, 0.9)),
    var(--navy);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.panel-section h2,
.panel-section h3,
.panel-section .section-kicker {
  color: #ffffff;
}

.panel-section p {
  color: rgba(255, 255, 255, 0.72);
}

.panel-section .section-kicker::before {
  background: var(--accent);
}

.portal-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.software-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
}

.software-visual {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 240, 199, 0.44));
}

.software-visual span {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface-solid);
  color: var(--navy);
  font-weight: 850;
  box-shadow: var(--shadow-soft);
}

[data-theme="dark"] .software-visual {
  background: rgba(18, 21, 26, 0.72);
}

[data-theme="dark"] .software-visual span {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.partner-card {
  min-height: 142px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.partner-card strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}

.partner-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 800;
}

.page-hero {
  padding: calc(var(--nav-h) + 74px) 0 76px;
  background:
    radial-gradient(circle at 84% 14%, rgba(242, 161, 0, 0.17), transparent 25rem),
    linear-gradient(180deg, #fffaf2, #f7f4ee);
}

.page-hero .container {
  max-width: 900px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--navy);
}

.page-hero p {
  max-width: 720px;
  margin-top: 24px;
}

.team-page-hero {
  padding: calc(var(--nav-h) + 78px) 0 88px;
  background:
    radial-gradient(circle at 82% 0%, rgba(242, 161, 0, 0.16), transparent 24rem),
    radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.94), transparent 26rem),
    linear-gradient(180deg, #fffaf2 0%, #f7f4ee 100%);
  border-bottom: 1px solid var(--line);
}

.team-page-hero .container {
  max-width: 820px;
}

.team-page-hero h1 {
  color: var(--navy);
  font-size: clamp(3.2rem, 7vw, 5.4rem);
}

.team-page-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.55;
}

[data-theme="dark"] .team-page-hero {
  background:
    radial-gradient(circle at 82% 0%, rgba(242, 161, 0, 0.14), transparent 24rem),
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.06), transparent 24rem),
    linear-gradient(180deg, #050607 0%, #0b0d10 100%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .team-page-hero h1 {
  color: #ffffff;
}

[data-theme="dark"] .team-page-hero p {
  color: rgba(247, 248, 251, 0.76);
}

.content-stack {
  display: grid;
  gap: 18px;
}

.service-detail {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.service-detail ul,
.legal-card ul {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.service-detail li,
.legal-card li {
  color: var(--muted);
}

.service-detail li::before,
.legal-card li::before {
  content: "- ";
  color: var(--accent-dark);
  font-weight: 900;
}

.blog-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.article-hero-media {
  width: 100%;
  max-height: 460px;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.article-shell {
  display: grid;
  gap: 30px;
  max-width: 900px;
}

.article-body {
  display: grid;
  gap: 22px;
  font-size: 1.04rem;
  line-height: 1.78;
}

.article-body h2,
.article-body h3 {
  margin-top: 10px;
}

.article-body p {
  color: var(--muted);
}

.article-body .lead {
  color: var(--muted);
}

.article-source {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--accent-dark);
  font-weight: 850;
}

.blog-card-body {
  padding: 24px;
}

.blog-category,
.scheme-badge,
.team-role {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-card {
  padding: 24px;
  text-align: center;
}

.team-card img,
.team-avatar-initials {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 999px;
  object-fit: cover;
}

.team-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff0c7, #ffffff);
  color: var(--navy);
  font-weight: 900;
  letter-spacing: -0.03em;
  border: 1px solid rgba(242, 161, 0, 0.34);
}

.team-section-title {
  margin: 46px 0 18px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-structure {
  padding-top: clamp(58px, 8vw, 102px);
}

.team-group {
  margin-top: clamp(44px, 7vw, 78px);
}

.team-group-header {
  display: grid;
  max-width: 760px;
  margin-bottom: 22px;
  gap: 8px;
}

.team-group-header h2 {
  margin: 0;
}

.team-group-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.team-md-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 26px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.team-md-card img {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center 25%;
}

.team-card .team-photo {
  width: 100%;
  height: 246px;
  margin: 0 0 18px;
  border-radius: 22px;
  object-fit: cover;
  /* Bias the cover-crop toward the top so headshots don't lose the top of the head. */
  object-position: center 20%;
  box-shadow: inset 0 0 0 1px var(--line);
}

.team-md-card .team-photo {
  width: 140px;
  height: 140px;
  margin: 0;
  border-radius: 30px;
}

.team-contact {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.team-contact a {
  color: var(--navy);
  font-weight: 750;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.contact-info-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 26px rgba(7, 27, 50, 0.05);
}

.contact-info-card + .contact-info-card {
  margin-top: 14px;
}

.contact-info-card h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.contact-info-card a {
  color: var(--navy);
  font-weight: 800;
}

.form-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

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

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 850;
}

.form-control {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-control:focus {
  background: #ffffff;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 4px rgba(242, 161, 0, 0.16);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.file-drop {
  display: block;
  padding: 22px;
  border: 1px dashed rgba(7, 27, 50, 0.28);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.72);
  color: var(--muted);
  cursor: pointer;
}

.file-drop strong {
  color: var(--navy);
}

.form-success,
.form-error {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 750;
}

.form-success {
  color: var(--success);
  background: rgba(8, 116, 67, 0.1);
  border: 1px solid rgba(8, 116, 67, 0.22);
}

.form-error {
  color: var(--danger);
  background: rgba(180, 35, 24, 0.1);
  border: 1px solid rgba(180, 35, 24, 0.22);
}

.map-wrapper {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
}

.cta-section {
  padding: clamp(70px, 9vw, 120px) 0;
}

.cta-inner {
  padding: clamp(36px, 7vw, 82px);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(7, 27, 50, 0.96), rgba(13, 43, 78, 0.92)),
    var(--navy);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-inner h2 {
  color: #ffffff;
}

.cta-inner p {
  max-width: 650px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta-inner .section-kicker {
  color: var(--accent);
}

.cta-inner .cta-actions {
  justify-content: center;
}

.cta-inner .btn-outline {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.site-footer {
  padding-top: 60px;
  background: #071b32;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: 34px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 92px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
}

.footer-logo-text {
  display: none;
  color: #ffffff;
  font-weight: 850;
  line-height: 1.1;
}

.footer-tagline,
.footer-contact-item {
  color: rgba(255, 255, 255, 0.64);
}

.footer-col h4 {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-contact-item {
  margin-bottom: 12px;
}

.footer-contact-item strong {
  display: block;
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 46px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p,
.footer-legal a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  gap: 18px;
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal,
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .hero-layout,
  .split,
  .company-profile-card,
  .software-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .company-profile-heading {
    position: static;
  }

  .hero-image-card img {
    height: 500px;
  }

  .hero-panel {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .hero-rings {
    right: -180px;
    width: 640px;
    opacity: 0.72;
  }

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

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

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max-w));
  }

  .logo img {
    height: 50px;
  }

  .theme-toggle {
    min-height: 40px;
    padding: 0 11px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-rings {
    right: -240px;
    top: 36%;
    width: 520px;
    opacity: 0.5;
  }

  .hero-stats,
  .stats-grid,
  .service-grid,
  .feature-grid,
  .scheme-grid,
  .blog-grid,
  .team-grid,
  .partner-grid,
  .footer-grid,
  .form-row,
  .portal-card,
  .company-profile-card,
  .software-card,
  .team-md-card {
    grid-template-columns: 1fr;
  }

  .hero-image-card img {
    min-height: 320px;
    height: 380px;
  }

  .team-card .team-photo {
    height: 320px;
  }

  .team-md-card .team-photo {
    width: 100%;
    height: 340px;
    border-radius: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ----------------------------------------------------------------------
   Dark-mode fixes (2026-06-15): secondary-page heroes + cards/forms that
   were hardcoded to light surfaces and so stayed light in dark mode,
   hiding their (white) text. Light mode is unchanged (dark-only rules).
   --------------------------------------------------------------------- */
[data-theme="dark"] .page-hero {
  background:
    radial-gradient(circle at 84% 14%, rgba(242, 161, 0, 0.14), transparent 25rem),
    linear-gradient(180deg, #050607, #0b0d10);
}

[data-theme="dark"] .service-detail,
[data-theme="dark"] .legal-card,
[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .team-md-card,
[data-theme="dark"] .form-card {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

[data-theme="dark"] .hero-badge {
  background: rgba(242, 161, 0, 0.12);
  border-color: rgba(242, 161, 0, 0.4);
  color: var(--accent-dark);
}

[data-theme="dark"] .form-control {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
  color: var(--ink);
}

[data-theme="dark"] .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(242, 161, 0, 0.18);
}

[data-theme="dark"] .form-control::placeholder {
  color: rgba(247, 248, 251, 0.4);
}

[data-theme="dark"] .file-drop {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--muted);
}

[data-theme="dark"] .team-avatar-initials {
  background: linear-gradient(135deg, rgba(242, 161, 0, 0.22), rgba(255, 255, 255, 0.06));
  color: var(--accent-dark);
}
