/* ========================================
   SICO SA — Saudi Investment Company
   Swiss Modernism 2.0 × Luxury Finance
   ======================================== */

/* === Custom Properties === */
:root {
  --green: #1B4D3E;
  --green-dark: #143C30;
  --gold: #C9A84C;
  --gold-dark: #A8892F;
  --offwhite: #F8F6F1;
  --charcoal: #1C1C1C;
  --charcoal-light: #2C2C2C;
  --white: #FFFFFF;
  --border-gold: rgba(201, 168, 76, 0.18);
  --border-light: rgba(28, 28, 28, 0.1);

  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-height: 80px;
  --section-pad: clamp(64px, 9vw, 120px);
  --container-max: 1280px;
  --container-px: clamp(20px, 5vw, 80px);

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.18s ease;
  --t-med: 0.3s ease;
  --t-slow: 0.6s var(--ease-out);
}

/* === Reset === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1 !important; transform: none !important; }
}

body {
  font-family: var(--font-body);
  background-color: var(--offwhite);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* === Typography scale === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); }

p { line-height: 1.78; max-width: 66ch; }

/* === Container === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* === Navbar === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-height);
  overflow: hidden;
  background-color: rgba(27, 77, 62, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo img {
  height: 180px;
  width: auto;
  object-fit: contain;
  border: none;
  background: transparent;
}

.navbar__logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 44px;
}

.navbar__links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.78);
  cursor: pointer;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--t-fast);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--t-med);
}

.navbar__links a:hover { color: var(--gold); }
.navbar__links a:hover::after,
.navbar__links a.active::after { width: 100%; }
.navbar__links a.active { color: var(--gold); }

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--offwhite);
  transition: var(--t-med);
  transform-origin: center;
}

.navbar__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.navbar__mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--green-dark);
  border-bottom: 1px solid var(--border-gold);
  z-index: 199;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out), opacity 0.3s ease;
  opacity: 0;
}

.navbar__mobile-menu.open {
  max-height: 320px;
  opacity: 1;
}

.navbar__mobile-menu a {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.8);
  padding: 18px var(--container-px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
}

.navbar__mobile-menu a:last-child { border-bottom: none; }
.navbar__mobile-menu a:hover,
.navbar__mobile-menu a.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

/* === Sections === */
.section { padding: var(--section-pad) 0; }
.section--dark { background: var(--charcoal); color: var(--offwhite); }
.section--green { background: var(--green); color: var(--offwhite); }
.section--offwhite { background: var(--offwhite); }
.section--white { background: var(--white); }

/* Label */
.label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* Divider */
.divider {
  width: 44px;
  height: 1px;
  background: var(--gold);
  margin: 28px 0;
}

/* === Hero === */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  background-color: var(--green);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(20, 60, 48, 0.7) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero--page {
  min-height: 46vh;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) 0;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__heading {
  color: var(--offwhite);
  max-width: 18ch;
  margin-bottom: 28px;
}

.hero__heading em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  color: rgba(248, 246, 241, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.175rem);
  line-height: 1.72;
  max-width: 56ch;
  margin-bottom: 52px;
}

/* CTA Button */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 17px 40px;
  cursor: pointer;
  border: none;
  transition: background var(--t-fast), transform 0.2s var(--ease-out), box-shadow var(--t-fast);
  text-decoration: none;
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.22);
}

.btn-gold svg { transition: transform var(--t-fast); }
.btn-gold:hover svg { transform: translateX(4px); }

/* === Stats Section === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 64px 40px;
  text-align: center;
  border-right: 1px solid var(--border-gold);
  position: relative;
}

.stat:last-child { border-right: none; }

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.775rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.6);
}

/* === Intro Section === */
.intro-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.intro-sidebar {
  border-top: 1px solid var(--border-gold);
  padding-top: 28px;
}

.intro-sidebar h2 {
  font-size: 2.4rem;
  line-height: 1.15;
  color: var(--charcoal);
}

.intro-body { padding-top: 4px; }

.intro-body p {
  font-size: 1.0625rem;
  line-height: 1.82;
  color: rgba(28, 28, 28, 0.78);
}

/* === Cards Grid === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-gold);
  border: 1px solid var(--border-gold);
}

.card {
  background: var(--offwhite);
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
  transition: background var(--t-med);
}

.card:hover { background: var(--white); }

.card__bg-num {
  position: absolute;
  top: 16px;
  right: 28px;
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 300;
  color: rgba(201, 168, 76, 0.1);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

.card__icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 28px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 16px;
  line-height: 1.2;
}

.card__text {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: rgba(28, 28, 28, 0.66);
  max-width: none;
  margin-bottom: 32px;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  transition: gap var(--t-fast), color var(--t-fast);
}

.card__link:hover { gap: 16px; color: var(--gold-dark); }

/* === Partners Carousel === */
.partners-carousel {
  overflow: hidden;
  width: 100%;
  padding: 56px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: scroll-partners 30s linear infinite;
}

@keyframes scroll-partners {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.3;
  filter: grayscale(100%);
  transition: opacity var(--t-med), filter var(--t-med);
  cursor: default;
}

.partner-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  font-variant: small-caps;
  letter-spacing: 0.1em;
  color: #1B4D3E;
  text-align: center;
  line-height: 1;
}

.partner-item:hover {
  opacity: 0.85;
  filter: grayscale(0%);
}

.partner-item img {
  height: 60px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

.partner-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
}

/* === Team Grid === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-gold);
  border: 1px solid var(--border-gold);
}

.team-card {
  background: var(--offwhite);
  padding: 44px 38px;
  position: relative;
  transition: background var(--t-med);
  cursor: default;
}

.team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}

.team-card:hover { background: var(--white); }
.team-card:hover::after { opacity: 1; }

.team-initial {
  width: 50px;
  height: 50px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.team-initial span {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.team-title {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.team-email {
  display: block;
  font-size: 0.8125rem;
  color: rgba(28, 28, 28, 0.5);
  cursor: pointer;
  transition: color var(--t-fast);
  word-break: break-all;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.team-email:hover {
  color: var(--gold);
  text-decoration-color: rgba(201, 168, 76, 0.5);
}

/* === Team Bio Modal === */
.team-card[data-bio] { cursor: pointer; }

.bio-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 77, 62, 0.52);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.bio-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.bio-modal {
  background: var(--offwhite);
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--border-gold);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.bio-overlay.active .bio-modal {
  transform: translateY(0) scale(1);
}

.bio-modal__header {
  background: var(--green);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.bio-modal__initial {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(201, 168, 76, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bio-modal__initial span {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.bio-modal__name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--offwhite);
  margin-bottom: 5px;
  padding-right: 36px;
}

.bio-modal__title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.bio-modal__body {
  padding: 36px 40px;
}

.bio-modal__text {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: rgba(28, 28, 28, 0.72);
  margin: 0;
}

.bio-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  background: none;
  border: 1px solid rgba(201, 168, 76, 0.45);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  line-height: 1;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.bio-modal__close:hover {
  background: var(--gold);
  color: var(--green);
  border-color: var(--gold);
}

@media (max-width: 600px) {
  .bio-modal__header { padding: 28px 24px; }
  .bio-modal__body   { padding: 28px 24px; }
  .bio-modal__name   { font-size: 1.2rem; }
}

/* === What We Do === */
.service-block {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border-gold);
}

.service-block:last-child { border-bottom: none; }

.service-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}

.service-sticky {
  position: sticky;
  top: calc(var(--nav-height) + 40px);
}

.service-num {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(201, 168, 76, 0.2);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0;
}

.service-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 500;
  color: var(--charcoal);
  margin-top: 4px;
  margin-bottom: 0;
  line-height: 1.2;
}

.service-text {
  font-size: 1.0625rem;
  line-height: 1.82;
  color: rgba(28, 28, 28, 0.75);
  margin-bottom: 0;
  max-width: 60ch;
}

/* Sectors */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-gold);
  border: 1px solid var(--border-gold);
  margin-top: 44px;
}

.sector-item {
  background: var(--white);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: background var(--t-med), box-shadow var(--t-med);
}

.sector-item:hover { background: var(--offwhite); }

.sector-item.is-active {
  background: var(--offwhite);
  box-shadow: inset 0 3px 0 var(--gold);
}

.sector-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin: 0 auto 14px;
}

.sector-label {
  font-size: 0.775rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  line-height: 1.4;
}

/* Instruments */
.instruments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.instrument-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  cursor: pointer;
}

.instrument-pill:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

/* Expand panels */
.expand-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.expand-panel.is-open { max-height: 400px; }

.expand-panel.is-open .expand-panel__content {
  opacity: 1;
  transform: translateY(0);
}

.instrument-pill.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.expand-panel__inner {
  min-height: 0;
}

.expand-panel__content {
  padding: 22px 28px;
  border-left: 3px solid var(--gold);
  background: var(--offwhite);
  margin-top: 14px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease 0.08s, transform 0.3s ease 0.08s;
}

.expand-panel__name {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.expand-panel__text {
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.72;
  max-width: 72ch;
  margin: 0;
}

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-col-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-gold);
}

.contact-detail {
  margin-bottom: 28px;
}

.contact-detail-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-detail-val {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: rgba(28, 28, 28, 0.75);
  max-width: none;
}

.contact-detail-val a {
  color: var(--green);
  cursor: pointer;
  transition: color var(--t-fast);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.contact-detail-val a:hover {
  color: var(--gold);
  text-decoration-color: rgba(201, 168, 76, 0.5);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(28, 28, 28, 0.55);
}

.form-input,
.form-textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid rgba(28, 28, 28, 0.14);
  padding: 14px 18px;
  width: 100%;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-textarea {
  resize: vertical;
  min-height: 148px;
  line-height: 1.65;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(28, 28, 28, 0.3);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  transition: background var(--t-fast), transform 0.2s var(--ease-out);
}

.btn-submit:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

/* === Legal Pages === */
.legal-wrapper {
  max-width: 820px;
}

.legal-updated {
  font-size: 0.875rem;
  color: rgba(28, 28, 28, 0.45);
  font-style: italic;
  margin-bottom: 60px;
}

.legal-block {
  margin-bottom: 52px;
}

.legal-block-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
}

.legal-block-text {
  font-size: 0.9375rem;
  line-height: 1.88;
  color: rgba(28, 28, 28, 0.72);
  max-width: none;
}

.legal-item {
  margin-bottom: 24px;
}

.legal-item-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.legal-item-value {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(28, 28, 28, 0.78);
  max-width: none;
}

/* === Footer === */
.footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr 1fr;
  gap: 60px;
  padding: 80px 0 56px;
  align-items: start;
}

.footer__logo-wrap {
  margin-bottom: 22px;
}

.footer__logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__addr {
  font-size: 0.85rem;
  line-height: 1.85;
  color: rgba(248, 246, 241, 0.45);
  max-width: none;
}

.footer__center-addr {
  font-size: 0.85rem;
  line-height: 1.85;
  color: rgba(248, 246, 241, 0.42);
  text-align: center;
  max-width: none;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.footer__nav a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.5);
  cursor: pointer;
  transition: color var(--t-fast);
}

.footer__nav a:hover,
.footer__nav a.active { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid rgba(248, 246, 241, 0.07);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(248, 246, 241, 0.3);
  max-width: none;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__legal a {
  font-size: 0.74rem;
  color: rgba(248, 246, 241, 0.38);
  cursor: pointer;
  transition: color var(--t-fast);
}

.footer__legal a:hover { color: var(--gold); }

/* === Fade In Animation === */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.45s; }
.delay-5 { transition-delay: 0.55s; }

/* Focus states — keyboard nav */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Cursor pointer on interactive elements */
a, button, [role="button"], label[for] { cursor: pointer; }

/* === Responsive — 1024px === */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid var(--border-gold); }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

  .service-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .service-sticky { position: static; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__center-addr { text-align: left; }
}

/* === Responsive — 768px === */
@media (max-width: 768px) {
  :root { --section-pad: 56px; }

  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }

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

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

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

  .footer__main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px 0 40px;
  }

  .footer__nav {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 28px;
  }

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

  .form-row { grid-template-columns: 1fr; }
}

/* === Responsive — 480px === */
@media (max-width: 480px) {
  :root { --section-pad: 48px; --container-px: 20px; }

  .stat { padding: 44px 16px; }

  .partners-row { gap: 28px; }

  .footer__legal { gap: 14px; flex-wrap: wrap; }

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