:root {
  --bg: #0c1222;
  --bg-2: #131a30;
  --surface: #ffffff;
  --surface-soft: #f6f8ff;
  --text: #1d2438;
  --muted: #69708a;
  --accent: #ff7a18;
  --accent-2: #ffae42;
  --accent-3: #4f73ff;
  --border: rgba(20, 30, 60, 0.1);
  --shadow: 0 14px 34px rgba(17, 26, 54, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 122, 24, 0.2), transparent 36%),
    radial-gradient(circle at 100% 10%, rgba(79, 115, 255, 0.2), transparent 32%),
    linear-gradient(180deg, #eef2ff 0%, #f8faff 30%, #edf2ff 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.bg-glow {
  position: fixed;
  inset: -35% -15% auto -15%;
  height: 420px;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 122, 24, 0.3), transparent 48%),
    radial-gradient(circle at 80% 45%, rgba(79, 115, 255, 0.25), transparent 52%);
  z-index: -1;
  filter: blur(36px);
  pointer-events: none;
  opacity: 0.95;
  animation: driftGlow 16s ease-in-out infinite alternate;
}

@keyframes driftGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 4%, 0) scale(1.08);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(247, 250, 255, 0.86);
  border-bottom: 1px solid rgba(18, 30, 64, 0.08);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand > div {
  margin-left: 1cm;
}

.logo {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  overflow: visible;
  filter: drop-shadow(0 0 18px rgba(79, 115, 255, 0.35));
  position: relative;
  --logo-position: center center;
}

.logo img {
  width: 156px;
  height: 156px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  object-position: var(--logo-position);
  max-width: none;
}

.logo.left {
  --logo-position: left center;
}

.brand-title {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  gap: 8px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(22, 33, 63, 0.08);
  padding: 8px;
  border-radius: 999px;
}

.nav a {
  color: #4a5472;
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
  font-weight: 600;
}

.nav a:hover {
  color: #fff;
  background: linear-gradient(130deg, rgba(79, 115, 255, 0.85), rgba(255, 122, 24, 0.85));
}

.nav a.active {
  color: #fff;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px rgba(255, 122, 24, 0.3);
}

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 11px 18px;
  border-radius: 12px;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 10px 24px rgba(255, 122, 24, 0.3);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.16) 35%, rgba(255, 255, 255, 0.42) 50%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(255, 122, 24, 0.34);
  filter: saturate(1.05);
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn.ghost {
  background: #fff;
  color: #334066;
  border: 1px solid rgba(34, 46, 79, 0.13);
  box-shadow: none;
}

.btn.full {
  width: 100%;
  text-align: center;
}

.topbar .container > a.btn {
  display: inline-flex;
  font-size: 13px;
  padding: 10px 16px;
}

#menuButton {
  display: none;
}

.hero {
  padding: 86px 0 46px;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 122, 24, 0.14), transparent 28%),
    radial-gradient(circle at left bottom, rgba(79, 115, 255, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 255, 0.96));
  border: 1px solid rgba(28, 42, 80, 0.08);
  box-shadow: 0 26px 48px rgba(17, 26, 54, 0.12);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #4f73ff 0%, #ff7a18 60%, #ffae42 100%);
  opacity: 0.95;
}

.page-hero {
  padding: 58px 0 18px;
}

.page-hero .container {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 122, 24, 0.16), transparent 28%),
    radial-gradient(circle at left center, rgba(79, 115, 255, 0.14), transparent 34%),
    linear-gradient(125deg, rgba(79, 115, 255, 0.08), rgba(255, 122, 24, 0.1));
  border: 1px solid rgba(28, 42, 80, 0.08);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.page-hero .container::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 174, 66, 0.26), transparent 68%);
  pointer-events: none;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.page-hero-copy,
.page-hero-aside {
  position: relative;
  z-index: 1;
}

.page-hero-aside {
  display: grid;
  gap: 12px;
}

.page-hero h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 10px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.page-hero .lead {
  margin-bottom: 0;
  max-width: 58ch;
}

.mini-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(28, 42, 80, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 24px rgba(17, 26, 54, 0.08);
}

.mini-panel strong {
  display: block;
  margin-top: 6px;
  color: #1f2d53;
  font-size: 16px;
  line-height: 1.4;
}

.mini-panel p {
  margin-top: 6px;
  color: #5e6784;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
}

.hero-copy {
  display: grid;
  align-content: start;
}

.hero-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.proof-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(16, 27, 55, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 28px rgba(11, 20, 40, 0.14);
}

.proof-item span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(234, 240, 255, 0.72);
}

.proof-item strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
}

.hero h1 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero h1 span {
  background: linear-gradient(135deg, #243867 0%, #4f73ff 45%, #ff7a18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 18px 0 26px;
  color: var(--muted);
  max-width: 62ch;
  font-size: 17px;
}

.pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 122, 24, 0.16);
  color: #b65208;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.ip-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.hero-trust > div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 45, 83, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 10px 24px rgba(17, 26, 54, 0.08);
}

.hero-trust strong {
  display: block;
  color: #1f2d53;
  margin-bottom: 4px;
  font-size: 15px;
}

.hero-trust span {
  color: #5c6480;
  font-size: 14px;
}

.hero-visual-stack {
  display: grid;
  gap: 16px;
}

.hero-photo-card {
  position: relative;
  margin: 0;
  min-height: 460px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(27, 41, 78, 0.08);
  box-shadow: 0 24px 40px rgba(17, 26, 54, 0.16);
  background: #dfe7ff;
}

.hero-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.02) 35%, rgba(10, 18, 34, 0.65) 100%);
}

.hero-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
}

.hero-photo-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 16px 18px;
  border-radius: 16px;
  color: #fff;
  background: rgba(11, 20, 40, 0.58);
  backdrop-filter: blur(10px);
}

.hero-badge-kicker {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero-photo-badge strong {
  display: block;
  font-size: 20px;
  line-height: 1.3;
}

.hero-mini-proof {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-mini-proof img {
  width: 100%;
  height: 130px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
}

.hero-mini-proof h2 {
  font-size: 22px;
  margin: 4px 0 8px;
  color: #1f2d53;
}

.hero-mini-proof p {
  color: #59617c;
}

.signature-showcase {
  padding-top: 18px;
}

.signature-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 28px;
  align-items: center;
}

.signature-copy p {
  color: #5e6784;
  margin-bottom: 16px;
}

.signature-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.signature-visual {
  display: grid;
  gap: 14px;
}

.signature-main-photo,
.signature-mini-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(27, 41, 78, 0.1);
  box-shadow: 0 20px 40px rgba(17, 26, 54, 0.14);
  background: #dfe7ff;
}

.signature-main-photo img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.signature-mini-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 14px;
}

.signature-mini-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.signature-note {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(28, 42, 80, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.98));
  box-shadow: var(--shadow);
}

.signature-note h3 {
  margin: 6px 0 8px;
  color: #1f2d53;
  font-size: 22px;
  line-height: 1.25;
}

.signature-note p {
  color: #5d6783;
}

.impact-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.impact-item {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(28, 42, 80, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 24px rgba(17, 26, 54, 0.08);
}

.impact-item span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a7390;
}

.impact-item strong {
  display: block;
  color: #1f2d53;
  line-height: 1.45;
}

.label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.value {
  font-weight: 800;
  color: #1f2c52;
  font-size: 16px;
  margin-top: 5px;
}

.about-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-card h2 {
  font-size: 28px;
  margin-bottom: 12px;
  color: #1f2d53;
}

.about-card p {
  color: #59617c;
  margin-bottom: 12px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.check-list li {
  color: #1f2d53;
  font-weight: 600;
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(215, 224, 255, 0.38), rgba(243, 246, 255, 0.6));
}

.section-title {
  margin-bottom: 34px;
}

.section-title h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  height: 100%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 115, 255, 0.05), transparent 45%, rgba(255, 122, 24, 0.08));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 38px rgba(17, 26, 54, 0.16);
  border-color: rgba(79, 115, 255, 0.18);
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  margin-bottom: 7px;
  color: #1e2d53;
}

.card p {
  color: #5c6480;
}

#features .card,
#contact .card,
#team .card,
#highlights .card {
  border-top: 4px solid transparent;
  border-image: linear-gradient(120deg, var(--accent), var(--accent-3)) 1;
}

#features .card h3,
#team .card h3,
#contact .card .label {
  position: relative;
}

#features .card h3::before,
#team .card h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-3));
  display: inline-block;
  margin-right: 8px;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  width: 100%;
  padding: 17px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #23325d;
  cursor: pointer;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.accordion-item:hover {
  transform: translateY(-2px);
}

.accordion-panel {
  display: none;
  padding: 16px 20px;
  background: var(--surface-soft);
  border-radius: 14px;
  border: 1px solid var(--border);
  color: #58617e;
}

.accordion-item.active + .accordion-panel {
  display: block;
}

.gallery {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.before-after-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.before-after-card h3 {
  margin-bottom: 16px;
  color: #1e2d53;
}

.before-after-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.photo-slot {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(28, 42, 80, 0.12);
  background: linear-gradient(140deg, rgba(79, 115, 255, 0.1), rgba(255, 122, 24, 0.12));
}

.photo-slot img {
  display: block;
  width: 100%;
  height: clamp(280px, 34vw, 430px);
  object-fit: contain;
  object-position: center;
  background: #f7f9ff;
}

.photo-missing {
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(280px, 34vw, 430px);
  padding: 14px;
  text-align: center;
  font-weight: 700;
  color: #2d3f74;
  background: linear-gradient(140deg, rgba(79, 115, 255, 0.14), rgba(255, 122, 24, 0.16));
}

.photo-slot img[src$=".jpg"],
.photo-slot img[src$=".jpeg"],
.photo-slot img[src$=".png"],
.photo-slot img[src$=".webp"] {
  background: rgba(79, 115, 255, 0.08);
}

.photo-slot figcaption {
  padding: 10px 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #1f2d53;
  background: rgba(255, 255, 255, 0.86);
}

@media (max-width: 1100px) {
  .photo-slot img,
  .photo-missing {
    height: 360px;
  }
}

.gallery-tile {
  height: 190px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow);
  text-align: center;
  padding: 0 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 34px rgba(22, 33, 63, 0.25);
}

.gallery-tile:nth-child(1),
.gallery-tile:nth-child(6) {
  background: linear-gradient(140deg, #ff7a18, #ffaf45);
}

.gallery-tile:nth-child(2),
.gallery-tile:nth-child(5) {
  background: linear-gradient(140deg, #4f73ff, #7e96ff);
}

.gallery-tile:nth-child(3),
.gallery-tile:nth-child(4) {
  background: linear-gradient(140deg, #253966, #3d5aa1);
}

.team {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-profile .label {
  margin-bottom: 10px;
}

.team-profile h3 {
  margin-bottom: 8px;
}

.partner-section {
  padding: 24px 0 40px;
}

.partner-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: center;
  padding: 26px;
  border-radius: 18px;
  background: linear-gradient(120deg, #243867, #2d4e8b 58%, #ff7a18 140%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 35px rgba(34, 48, 88, 0.22);
  color: #eef3ff !important;
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 28%);
  pointer-events: none;
}

.partner-card h2 {
  margin: 6px 0 10px;
  font-size: clamp(24px, 2.6vw, 32px);
  color: #fff;
  position: relative;
  z-index: 1;
}

.partner-card p {
  color: rgba(238, 243, 255, 0.88) !important;
  position: relative;
  z-index: 1;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.1em;
  box-shadow: 0 10px 20px rgba(8, 16, 34, 0.16);
}

.partner-meta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.partner-meta p {
  margin: 0;
}

.partner-meta strong {
  color: #fff;
}

.partner-meta a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--accent-3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(17, 26, 54, 0.12);
}

.faq-item h3 {
  margin-bottom: 8px;
  color: #1f2d53;
}

.faq-item p {
  color: #58617e;
}

#contact .cards {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

#contact .card p a {
  color: #1f2d53;
  font-weight: 700;
}

.contact-plain-list span {
  color: #1f2d53;
  font-weight: 600;
}

#contact .card .btn {
  margin-top: 12px;
}

.join {
  padding: 44px 0 80px;
}

.join-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  background: linear-gradient(120deg, #243867, #2d4e8b 58%, #ff7a18 140%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #eaf0ff;
  box-shadow: 0 20px 35px rgba(34, 48, 88, 0.28);
}

.join-card p {
  color: rgba(236, 243, 255, 0.86);
}

.join-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.join-card .btn.ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 12, 24, 0.78);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox-dialog {
  position: relative;
  width: min(960px, 100%);
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 55px rgba(10, 18, 34, 0.35);
}

.gallery-lightbox-dialog img {
  display: block;
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 14px;
  background: #f7f9ff;
}

.gallery-lightbox-caption {
  margin-top: 10px;
  color: #3b4768;
  font-weight: 700;
}

.gallery-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(17, 26, 54, 0.82);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.footer {
  padding: 42px 0;
  border-top: none;
  background: linear-gradient(135deg, #162443, #1f3159);
  color: #eef3ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.footer .brand-title {
  color: #fff;
}

.footer .label {
  color: rgba(238, 243, 255, 0.72);
}

.footer p {
  color: rgba(238, 243, 255, 0.88);
}

.footer-links {
  display: grid;
  gap: 6px;
  color: rgba(238, 243, 255, 0.88);
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #1d2a4f;
  color: #fff;
  box-shadow: 0 10px 24px rgba(24, 34, 66, 0.26);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .hero-grid,
  .page-hero-grid,
  .partner-card,
  .signature-grid,
  .signature-mini-grid,
  .hero-proof-strip,
  .impact-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .topbar .container {
    padding: 10px 0;
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand > div {
    margin-left: 0.4cm;
  }

  .logo {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .logo img {
    width: 120px;
    height: 120px;
  }

  .brand-title {
    font-size: 16px;
  }

  .brand-sub {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .btn.ghost {
    padding: 9px 14px;
  }

  .nav {
    position: absolute;
    top: 74px;
    left: 4%;
    right: 4%;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(22, 33, 63, 0.1);
    padding: 14px;
    border-radius: 16px;
    display: none;
  }

  .nav a {
    border-radius: 10px;
  }

  .nav.open {
    display: flex;
  }

  .topbar .container {
    flex-wrap: wrap;
  }

  .join-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero .container {
    padding: 22px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-shell {
    padding: 20px;
  }

  .hero-trust,
  .hero-mini-proof {
    grid-template-columns: 1fr;
  }

  .hero-photo-card,
  .hero-photo-card img,
  .signature-main-photo img {
    min-height: 360px;
  }

  .hero h1 {
    font-size: clamp(30px, 7vw, 42px);
  }

  .lead {
    margin: 14px 0 20px;
  }

  .ip-card,
  .cards,
  .team,
  .gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .photo-slot img,
  .photo-missing {
    height: 460px;
  }

  .section {
    padding: 48px 0;
  }

  #menuButton {
    display: block;
  }

  .topbar .container > a.btn {
    display: none;
  }
}

@media (max-width: 760px) {
  .before-after-photos {
    grid-template-columns: 1fr;
  }

  .photo-slot img,
  .photo-missing {
    height: 360px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(1140px, 94%);
  }

  .brand-sub {
    display: none;
  }

  .brand > div {
    margin-left: 0.2cm;
  }

  .logo {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .logo img {
    width: 98px;
    height: 98px;
  }

  .nav {
    top: 66px;
  }

  .page-hero {
    padding: 36px 0 14px;
  }

  .page-hero .container {
    padding: 18px;
  }

  .page-hero h1 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .hero {
    padding: 28px 0 20px;
  }

  .hero-shell {
    padding: 16px;
    border-radius: 22px;
  }

  .hero-photo-card,
  .hero-photo-card img,
  .signature-main-photo img {
    min-height: 280px;
  }

  .hero-photo-badge strong,
  .signature-note h3 {
    font-size: 18px;
  }

  .pill {
    font-size: 11px;
    padding: 7px 11px;
  }

  .hero-actions,
  .join-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .join-actions .btn {
    width: 100%;
    text-align: center;
  }

  .before-after-card {
    padding: 18px;
  }

  .photo-slot img,
  .photo-missing {
    height: 300px;
  }

  .card,
  .faq-item,
  .about-card,
  .join-card {
    padding: 18px;
  }

  .gallery-tile {
    height: 160px;
  }
}
