/* ============================================================
   THIBITI — style.css
   Brand variables are at the top of this file.
   Edit the :root section to change colors, fonts, and spacing
   site-wide without touching individual rules.
   ============================================================ */

/* ── BRAND TOKENS — edit these to change the whole site ── */
:root {
  /* Colors */
  --color-navy:        #1A3A6B;   /* Primary brand blue */
  --color-navy-dark:   #0F2850;   /* Deep navy — hero bg */
  --color-teal:        #0D7A6B;   /* Secondary brand teal */
  --color-teal-bright: #0EB89A;   /* Checkmark / verified teal */
  --color-gold:        #C9A84C;   /* Accent gold */
  --color-gold-light:  #E8C96A;   /* Light gold highlight */
  --color-white:       #FFFFFF;
  --color-off-white:   #F4F8FC;
  --color-text:        #1C2B3A;   /* Body text */
  --color-text-muted:  #5A6A7E;   /* Secondary text */
  --color-border:      #D5E0EC;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;  /* Headlines */
  --font-body:    'DM Sans', system-ui, sans-serif;       /* Body text */

  /* Sizing */
  --radius:    8px;
  --radius-lg: 16px;
  --max-width: 1160px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(15, 40, 80, 0.10);
  --shadow-lift: 0 12px 40px rgba(15, 40, 80, 0.18);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--color-teal-bright);
  color: var(--color-white);
  border-color: var(--color-teal-bright);
}
.btn--primary:hover {
  background: var(--color-teal);
  border-color: var(--color-teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 184, 154, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-navy-dark);
  font-weight: 600;
}
.btn--gold:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

.btn--outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 68px;
  background: rgba(10, 22, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.12em;
}

.nav__cta {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 0.06em;
  border: 1px solid var(--color-gold);
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.nav__cta:hover {
  background: var(--color-gold);
  color: var(--color-navy-dark);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--color-navy-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 120px 80px 80px;
  overflow: hidden;
}

/* Subtle geometric background pattern */
.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Radial glow behind the shield */
.hero::after {
  content: '';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(13,122,107,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s ease forwards 0.2s;
}

.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 24px;
}

.hero__sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero shield */
.hero__logo-wrap {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 0.6s;
}

.hero__shield {
  width: clamp(220px, 22vw, 320px);
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(14,184,154,0.25));
  animation: float 6s ease-in-out infinite;
}

.hero__glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(14,184,154,0.12) 0%, transparent 65%);
  pointer-events: none;
  border-radius: 50%;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--color-gold);
  color: var(--color-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 32px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  text-transform: uppercase;
}

.trust-bar__dot {
  font-size: 0.5rem;
  opacity: 0.5;
}

/* ── SECTIONS ── */
.section {
  padding: 96px 0;
}

.section--dark {
  background: var(--color-navy-dark);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal-bright);
  margin-bottom: 14px;
}
.section__label--light { color: var(--color-gold); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
  margin-bottom: 16px;
}
.section__title--light { color: var(--color-white); }

.section__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* ── CAPABILITY CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-navy), var(--color-teal-bright));
  opacity: 0;
  transition: opacity 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(13,122,107,0.2);
}
.card:hover::before { opacity: 1; }

.card__icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.card__body {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* ── SPLIT SECTION ── */
.split {
  display: flex;
  align-items: center;
  gap: 80px;
}

.split__text {
  flex: 1;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.split__text.visible {
  opacity: 1;
  transform: translateX(0);
}

.split__para {
  font-size: 0.97rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.68);
  margin-bottom: 20px;
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(201,168,76,0.25);
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
}

.stat__label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

/* Shield visual */
.split__visual {
  flex-shrink: 0;
  width: 280px;
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}
.split__visual.visible {
  opacity: 1;
  transform: scale(1);
}

.split__shield {
  width: 180px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 32px rgba(14,184,154,0.3));
}

.split__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.18);
  animation: pulse 3s ease-in-out infinite;
}
.split__ring--1 { width: 200px; height: 200px; animation-delay: 0s; }
.split__ring--2 { width: 250px; height: 250px; animation-delay: 0.6s; }
.split__ring--3 { width: 300px; height: 300px; animation-delay: 1.2s; }

/* ── CLIENTS ── */
.clients {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.client-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-off-white);
  text-align: center;
  transition: all 0.2s ease;
  cursor: default;
}

.client-tile:hover {
  border-color: var(--color-teal);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.client-tile__icon { font-size: 1.8rem; }

.client-tile__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  padding: 96px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
}

.cta-section__body {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-section__contact {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

/* ── FOOTER ── */
.footer {
  background: #060F1E;
  padding: 32px;
  border-top: 1px solid rgba(201,168,76,0.2);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.9;
}

.footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--color-white);
}

.footer__tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}

.footer__legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  text-align: right;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.18; transform: scale(1); }
  50% { opacity: 0.06; transform: scale(1.04); }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 32px 64px;
    min-height: auto;
  }
  .hero__actions { justify-content: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__logo-wrap { order: -1; margin-top: 0; }
  .hero__shield { width: 160px; }
  .split { flex-direction: column; gap: 48px; }
  .split__visual { width: 200px; height: 200px; }
  .stats { gap: 24px; }
  .nav { padding: 0 20px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__legal { text-align: left; }
}

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { gap: 10px; font-size: 0.7rem; }
  .trust-bar__dot { display: none; }
}

/* ── LANGUAGE TOGGLE ── */
.nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 100px;
  padding: 7px 14px;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.lang-toggle:hover {
  background: rgba(201,168,76,0.15);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.lang-toggle--active {
  background: rgba(13,122,107,0.2);
  border-color: var(--color-teal-bright);
  color: var(--color-teal-bright);
}

.lang-toggle__globe {
  font-size: 0.9rem;
  line-height: 1;
}

.lang-toggle__label {
  font-weight: 500;
}

@media (max-width: 600px) {
  .lang-toggle__label { display: none; }
  .lang-toggle { padding: 7px 10px; }
}
