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

:root {
  --navy:    #0B1F3A;
  --navy-lt: #132C52;
  --gold:    #C9A84C;
  --gold-lt: #E2C074;
  --slate:   #4A5568;
  --light:   #F7F8FC;
  --white:   #FFFFFF;
  --border:  #E2E8F0;
  --text:    #1A202C;
  --muted:   #718096;
  --radius:  8px;
  --shadow:  0 4px 24px rgba(11,31,58,.10);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

.section-label {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-lt); }

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

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.25); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: center;
}
.nav-logo .logo-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.01em;
}
.nav-logo .logo-main span { color: var(--gold); }
.nav-logo .logo-sub {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta { margin-left: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .4rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(201,168,76,.08) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold-lt);
  font-size: .8rem;
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  letter-spacing: .04em;
}

.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--gold); }

.hero-sub {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat-item { }
.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: .1rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-float {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  color: var(--white);
}
.card-float-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}
.card-float-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(201,168,76,.2);
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.card-float-title { font-size: .85rem; font-weight: 600; }
.card-float-sub { font-size: .75rem; color: rgba(255,255,255,.5); }
.card-float-body { font-size: .82rem; color: rgba(255,255,255,.65); line-height: 1.5; }

.ai-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(201,168,76,.18);
  color: var(--gold-lt);
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 999px;
  margin-top: .75rem;
}

/* ===== SECTION SHARED ===== */
section { padding: 5rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-header p {
  color: var(--muted);
  margin-top: .75rem;
  font-size: 1.05rem;
}

/* ===== SERVICES ===== */
.services { background: var(--light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 { margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .9rem; }

.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(201,168,76,.1);
  color: #7a5f18;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .2rem .55rem;
  border-radius: 4px;
  margin-top: .75rem;
  text-transform: uppercase;
}

/* ===== WHY US ===== */
.why-us { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-content { }
.why-content h2 { margin-bottom: 1rem; }
.why-content > p { color: var(--muted); margin-bottom: 2rem; }

.why-list { display: flex; flex-direction: column; gap: 1.25rem; }
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201,168,76,.1);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.why-item-text h4 { margin-bottom: .25rem; }
.why-item-text p { color: var(--muted); font-size: .88rem; }

.why-visual {
  background: var(--navy);
  border-radius: 16px;
  padding: 2.5rem;
  color: var(--white);
}
.why-visual h3 { color: var(--gold); margin-bottom: 1.5rem; }
.ai-process { display: flex; flex-direction: column; gap: 1rem; }
.process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: .8rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.step-text h4 { font-size: .9rem; margin-bottom: .2rem; }
.step-text p { font-size: .8rem; color: rgba(255,255,255,.6); }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  padding: 4.5rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: .75rem; }
.cta-band p { color: rgba(255,255,255,.65); margin-bottom: 2rem; font-size: 1.05rem; max-width: 500px; margin-inline: auto; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== ARTICLES PAGE ===== */
.page-hero {
  background: var(--navy);
  padding: 7rem 0 3.5rem;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.65); font-size: 1.05rem; max-width: 520px; margin-inline: auto; }

.articles-section { padding: 4rem 0 6rem; }

.articles-filter {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--slate);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.article-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy), #1a3a6b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.article-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.article-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}
.article-tag {
  background: rgba(201,168,76,.12);
  color: #7a5f18;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .2rem .6rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.article-date { font-size: .78rem; color: var(--muted); }

.article-card h3 { margin-bottom: .5rem; font-size: 1.05rem; }
.article-card p { color: var(--muted); font-size: .88rem; flex: 1; }

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.article-author { font-size: .78rem; color: var(--muted); }
.read-more {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--transition);
}
.read-more:hover { gap: .6rem; color: var(--gold); }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 4rem 0 6rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: .75rem; }
.contact-info > p { color: var(--muted); margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text { }
.contact-item-text .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: .15rem; }
.contact-item-text a, .contact-item-text span { font-weight: 500; font-size: .95rem; color: var(--text); }
.contact-item-text a:hover { color: var(--gold); }

.social-links { display: flex; gap: .75rem; flex-wrap: wrap; }
.social-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.social-link:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.social-link svg { width: 16px; height: 16px; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { margin-bottom: .25rem; }
.contact-form-card > p { color: var(--muted); font-size: .9rem; margin-bottom: 1.75rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--slate); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit { width: 100%; justify-content: center; margin-top: .5rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}
.form-success .success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { margin-bottom: .5rem; }
.form-success p { color: var(--muted); }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a {
  font-size: .87rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.5rem 1.5rem 2rem;
    gap: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-cta { width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats { gap: 1.25rem; }

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

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
