/* ==========================================================================
   PT Bina Optima Maksima — Design System
   ========================================================================== */

:root {
  --navy-950: #070d1a;
  --navy-900: #0a1428;
  --navy-800: #0f1f3d;
  --navy-700: #16284d;
  --navy-600: #203764;
  --navy-500: #2d4a80;

  --gold-700: #a17d1f;
  --gold-600: #c19a2e;
  --gold-500: #d4af37;
  --gold-400: #e3c565;
  --gold-100: #f7ecc9;

  --white: #ffffff;
  --off-white: #f7f8fb;
  --gray-100: #eef0f4;
  --gray-300: #dde1e8;
  --gray-500: #8791a1;
  --gray-600: #626c7d;
  --gray-800: #2c3441;

  --font-head: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1240px;
  --radius: 14px;
  --radius-sm: 8px;

  --shadow-sm: 0 2px 10px rgba(10, 20, 40, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 20, 40, 0.1);
  --shadow-lg: 0 24px 60px rgba(10, 20, 40, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}

section {
  position: relative;
}

/* ---------- Type scale ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-top: 14px;
}

.section-lede {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 620px;
  margin-top: 16px;
}

.section-head {
  margin-bottom: 56px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head.center .section-lede {
  margin-inline: auto;
}

.text-gold { color: var(--gold-600); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: var(--navy-950);
  box-shadow: 0 10px 24px rgba(196, 155, 40, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(196, 155, 40, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy-800);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-900);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ---------- Navbar ---------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all 0.4s var(--ease);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar.scrolled {
  padding: 14px 0;
  background: rgba(10, 20, 40, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

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

.nav-links a {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
  opacity: 0.88;
  position: relative;
  padding-bottom: 4px;
  transition: opacity 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gold-500);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-cta {
  padding: 12px 26px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1200;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease);
}

/* dark-text variant for non-hero pages when not scrolled is not needed:
   navbar always sits on a dark hero, so text stays white by default */

/* ---------- Mobile nav ---------- */

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--navy-950);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.45s var(--ease);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 22px;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-950);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 13, 26, 0.97) 20%, rgba(7, 13, 26, 0.75) 50%, rgba(10, 20, 40, 0.55) 100%),
    linear-gradient(0deg, rgba(7, 13, 26, 0.9), rgba(7, 13, 26, 0.2) 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 110px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--gold-400);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 30px;
}

.hero-badge span.dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-950);
  font-size: 12px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(38px, 6vw, 74px);
  max-width: 820px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-400), var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  margin-top: 26px;
  max-width: 560px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
  margin-top: 44px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 100px;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 34px;
  max-width: 760px;
}

.hero-meta .item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 30px;
  color: var(--white);
}

.hero-meta .item span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue .line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
  position: relative;
}

.scroll-cue .line::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: var(--gold-500);
  animation: scrollcue 2.2s ease-in-out infinite;
}

@keyframes scrollcue {
  0% { top: -40px; }
  60% { top: 40px; }
  100% { top: 40px; }
}

/* ---------- Page header (inner pages) ---------- */

.page-header {
  position: relative;
  padding-top: 200px;
  padding-bottom: 110px;
  background: var(--navy-950);
  overflow: hidden;
}

.page-header .hero-bg img {
  opacity: 0.28;
}

.page-header .eyebrow { color: var(--gold-400); }

.page-header h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 58px);
  max-width: 760px;
}

.page-header p.lede {
  color: rgba(255, 255, 255, 0.68);
  max-width: 580px;
  margin-top: 20px;
  font-size: 17px;
}

.breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--gold-400); }

/* ---------- Sections / layout helpers ---------- */

.section {
  padding-block: 120px;
}

.section-sm { padding-block: 90px; }

.bg-off { background: var(--off-white); }
.bg-navy { background: var(--navy-950); color: rgba(255,255,255,0.8); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.team-teaser { gap: 20px; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ---------- About preview / image block ---------- */

.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.media-frame.tall img { aspect-ratio: 4/5; }
.media-frame.wide img { aspect-ratio: 16/10; }

.media-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 20, 40, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 14px;
}

.media-badge strong {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--gold-400);
  display: block;
}

.media-badge span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}

.media-frame-deco {
  position: absolute;
  top: -22px;
  right: -22px;
  width: 130px;
  height: 130px;
  border: 2px solid var(--gold-500);
  border-radius: var(--radius);
  z-index: -1;
}

.media-wrap { position: relative; }

/* ---------- Value list ---------- */

.value-list { margin-top: 34px; display: flex; flex-direction: column; gap: 20px; }

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-item .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--gold-600);
  border: 1px solid var(--gold-500);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-item h4 {
  font-size: 16.5px;
  margin-bottom: 4px;
}

.value-item p {
  font-size: 14.5px;
  color: var(--gray-600);
}

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: all 0.4s var(--ease);
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold-400);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card p {
  font-size: 14.5px;
  color: var(--gray-600);
}

.card .tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-700);
  background: var(--gold-100);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.card.featured {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  border-color: var(--navy-800);
}

.card.featured h3, .card.featured .eyebrow { color: var(--white); }
.card.featured p { color: rgba(255, 255, 255, 0.65); }
.card.featured .card-icon {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-700));
}
.card.featured .card-icon svg { stroke: var(--navy-950); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy-800);
}

.card.featured .card-link { color: var(--gold-400); }

.card-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Stats strip ---------- */

.stats-strip {
  background: var(--navy-950);
  border-radius: var(--radius);
  padding: 56px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.14), transparent 70%);
  top: -180px;
  right: -120px;
}

.stat {
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(30px, 3.4vw, 44px);
  color: var(--white);
}

.stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

/* ---------- Pillars (services) ---------- */

.pillar {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  padding-block: 90px;
  border-bottom: 1px solid var(--gray-100);
}

.pillar:last-child { border-bottom: none; }

.pillar:nth-child(even) .pillar-media { order: 2; }

.pillar-index {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.1em;
}

.pillar h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-top: 14px;
  margin-bottom: 18px;
}

.pillar p {
  color: var(--gray-600);
  font-size: 15.5px;
  max-width: 520px;
}

.pillar-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.pillar-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--gray-800);
}

.pillar-list svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5/4;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-media .glyph {
  width: 46%;
  height: 46%;
  stroke: var(--gold-400);
  opacity: 0.9;
}

.pillar-media .grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

/* ---------- Team ---------- */

.team-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  transition: all 0.4s var(--ease);
}

.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }

.team-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.team-card:hover .team-photo img { transform: scale(1.06); }

.team-info {
  padding: 24px 22px 28px;
}

.team-info h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-info span {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-600);
  letter-spacing: 0.03em;
}

/* ---------- Values grid (mission/why-us) ---------- */

.value-card {
  padding: 34px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  background: var(--white);
}

.value-card .num-lg {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: var(--gray-100);
  -webkit-text-stroke: 1.4px var(--gold-500);
  color: transparent;
  margin-bottom: 14px;
  display: block;
}

.value-card h4 { font-size: 17.5px; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--gray-600); }

/* ---------- Vision / Mission section ---------- */

.vm-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.vm-card {
  border-radius: var(--radius);
  padding: 44px 38px;
  position: relative;
  overflow: hidden;
}

.vm-card.vision {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: rgba(255,255,255,0.8);
}

.vm-card.vision h3 { color: var(--white); }

.vm-card.mission {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
}

.vm-card .icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.vm-card.vision .icon-badge { background: rgba(212, 175, 55, 0.16); }
.vm-card.mission .icon-badge { background: var(--gold-100); }

.vm-card .icon-badge svg { width: 24px; height: 24px; stroke: var(--gold-500); }

.vm-card h3 { font-size: 22px; margin-bottom: 16px; }

.vm-card p.lead {
  font-size: 15.5px;
  line-height: 1.7;
}

.vm-sub {
  margin-top: 26px;
  display: grid;
  gap: 16px;
}

.vm-sub .item {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.vm-card.mission .vm-sub .item { border-top-color: var(--gray-300); }

.vm-sub .item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 14.5px;
  margin-bottom: 4px;
}

.vm-card.vision .vm-sub .item strong { color: var(--gold-400); }
.vm-card.mission .vm-sub .item strong { color: var(--navy-800); }

.vm-sub .item p { font-size: 13.5px; opacity: 0.8; }

.mission-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 100%);
  border-radius: 24px;
  padding: 70px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 70%);
  right: -160px;
  top: -220px;
}

.cta-banner h2 { color: var(--white); font-size: clamp(26px, 3vw, 36px); max-width: 520px; }
.cta-banner p { color: rgba(255,255,255,0.65); margin-top: 12px; max-width: 460px; }
.cta-actions { display: flex; gap: 16px; flex-shrink: 0; position: relative; z-index: 1; }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.6);
  padding-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img { height: 40px; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; max-width: 320px; line-height: 1.7; }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.footer-social svg { width: 16px; height: 16px; stroke: var(--white); }

.footer h5 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 15px;
  margin-bottom: 22px;
}

.footer-links { display: flex; flex-direction: column; gap: 13px; }
.footer-links a { font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-400); }

.footer-contact { display: flex; flex-direction: column; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; font-size: 13.5px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; stroke: var(--gold-400); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  padding-block: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Contact page ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-info-card {
  background: var(--navy-950);
  border-radius: var(--radius);
  padding: 44px 36px;
  color: rgba(255, 255, 255, 0.75);
}

.contact-info-card h3 { color: var(--white); margin-bottom: 30px; font-size: 20px; }

.contact-info-list { display: flex; flex-direction: column; gap: 26px; }

.contact-info-list li { display: flex; gap: 16px; align-items: flex-start; }

.contact-info-list .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-list .icon svg { width: 20px; height: 20px; stroke: var(--gold-400); }

.contact-info-list strong { display: block; color: var(--white); font-size: 14.5px; margin-bottom: 4px; }
.contact-info-list span { font-size: 13.5px; line-height: 1.6; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 44px 40px;
}

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

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy-800);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.3s;
  background: var(--off-white);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
  border: 1px solid var(--gray-100);
  height: 380px;
}

.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Reveal animation ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }

.back-to-top {
  position: fixed;
  bottom: 102px;
  right: 35px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-md);
}

.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; stroke: var(--gold-400); }

/* ==========================================================================
   Responsive
   ========================================================================== */

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

@media (max-width: 960px) {
  .grid-2, .contact-wrap, .vm-wrap { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 1fr; gap: 36px; }
  .pillar:nth-child(even) .pillar-media { order: 0; }
  .mission-grid, .grid-3 { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-banner::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding-inline: 22px; }
  .section { padding-block: 80px; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; padding: 40px 26px; gap: 32px; }
  .hero-meta { gap: 32px; margin-top: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-header { padding-top: 150px; padding-bottom: 70px; }
  .cta-banner { padding: 46px 28px; }
  .contact-info-card, .contact-form { padding: 32px 24px; }
}

/* ==========================================================================
   Preloader
   ========================================================================== */

body.is-loading {
  overflow: hidden;
  height: 100vh;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-950);
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

.preloader::before {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.14), transparent 70%);
  animation: preloaderGlow 3.2s ease-in-out infinite;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.preloader-logo {
  width: 150px;
  opacity: 0;
  transform: scale(0.85);
  animation: preloaderIn 0.9s var(--ease) forwards, preloaderPulse 2.2s ease-in-out 0.9s infinite;
}

.preloader-logo img {
  width: 100%;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
  transition: width 0.25s linear;
}

.preloader-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.preloader-percent {
  color: var(--gold-400);
  font-variant-numeric: tabular-nums;
  min-width: 34px;
}

@keyframes preloaderIn {
  from { opacity: 0; transform: scale(0.85) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes preloaderPulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(212, 175, 55, 0)); }
  50% { filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.45)); }
}

@keyframes preloaderGlow {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader, .preloader-logo, .preloader-bar span {
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   WhatsApp floating widget
   ========================================================================== */

.wa-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.wa-fab {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  flex-shrink: 0;
}

.wa-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.5);
}

.wa-fab svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.wa-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2.4s ease-out infinite;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.wa-fab .wa-close-icon { display: none; }
.wa-widget.open .wa-fab .wa-chat-icon { display: none; }
.wa-widget.open .wa-fab .wa-close-icon { display: block; }
.wa-widget.open .wa-fab::before { animation: none; opacity: 0; }
.wa-widget.open .wa-fab { background: var(--navy-800); box-shadow: var(--shadow-md); }

.wa-panel {
  width: 320px;
  max-width: calc(100vw - 60px);
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.35s var(--ease);
}

.wa-widget.open .wa-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wa-panel-head {
  background: var(--navy-950);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.wa-panel-head::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.22), transparent 70%);
  top: -120px;
  right: -70px;
}

.wa-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  padding: 5px;
}

.wa-avatar img { width: 100%; height: auto; }

.wa-avatar .wa-online {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid var(--navy-950);
}

.wa-panel-head-text { position: relative; z-index: 1; }

.wa-panel-head-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--white);
}

.wa-panel-head-text span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.wa-panel-body {
  padding: 26px 22px;
  background: #e5ddd5;
  background-image: linear-gradient(rgba(229, 221, 213, 0.9), rgba(229, 221, 213, 0.9));
}

.wa-bubble {
  background: var(--white);
  border-radius: 4px 12px 12px 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--gray-800);
  line-height: 1.6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  max-width: 90%;
}

.wa-bubble .wa-name {
  display: block;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--navy-800);
  margin-bottom: 3px;
}

.wa-bubble .wa-time {
  display: block;
  text-align: right;
  font-size: 10.5px;
  color: var(--gray-500);
  margin-top: 4px;
}

.wa-panel-foot {
  padding: 16px 20px 20px;
  background: var(--white);
}

.wa-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  transition: background 0.3s;
}

.wa-cta:hover { background: #1fbb58; }
.wa-cta svg { width: 20px; height: 20px; fill: #fff; }

@media (max-width: 640px) {
  .wa-widget { bottom: 22px; right: 22px; }
  .wa-fab { width: 54px; height: 54px; }
  .wa-fab svg { width: 29px; height: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab::before { animation: none; }
}
