/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: #2D2D2D;
  background: #FAFBFC;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== VARIABLES ===== */
:root {
  --blue-deep: #0A1F33;
  --blue-mid: #12304D;
  --blue-accent: #1A4A73;
  --silver: #B0B8C1;
  --silver-light: #D6DCE2;
  --charcoal: #1E1E1E;
  --gray-700: #3A3A3A;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-100: #F3F4F6;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(10,31,51,0.08);
  --shadow-md: 0 4px 16px rgba(10,31,51,0.10);
  --shadow-lg: 0 12px 40px rgba(10,31,51,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Merriweather', serif; color: var(--blue-deep); font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { color: var(--gray-700); }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 20px; }
.section-subtitle { font-size: 1.05rem; color: var(--gray-500); max-width: 640px; margin-bottom: 48px; }
.divider { width: 48px; height: 3px; background: var(--blue-accent); margin-bottom: 24px; }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}
.navbar.scrolled .nav-logo { color: var(--blue-deep); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue-accent);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.navbar.scrolled .nav-links a { color: var(--gray-700); }
.navbar.scrolled .nav-links a:hover { color: var(--blue-deep); }
.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 24px;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.nav-cta:hover { background: var(--white); color: var(--blue-deep); }
.navbar.scrolled .nav-cta {
  border-color: var(--blue-deep);
  color: var(--blue-deep);
}
.navbar.scrolled .nav-cta:hover {
  background: var(--blue-deep);
  color: var(--white);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--blue-deep); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 60%, var(--blue-accent) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=80') center/cover;
  opacity: 0.1;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,31,51,0.4) 100%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content { max-width: 580px; }
.hero-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 24px;
  padding: 8px 16px;
  border: 1px solid rgba(176,184,193,0.3);
  border-radius: 2px;
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 em {
  font-style: italic;
  color: var(--silver-light);
  display: block;
  margin-top: 8px;
  font-size: 0.85em;
}
.hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.75); margin-bottom: 40px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--white);
  color: var(--blue-deep);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary:hover { background: var(--silver-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.hero-image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img { width: 100%; height: 480px; object-fit: cover; display: block; }
.hero-image::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
}

/* ===== AREAS (3 columns) ===== */
.areas { padding: 100px 0; background: var(--white); }
.areas-header { text-align: center; }
.areas-header .section-subtitle { margin: 0 auto 48px; }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.area-card {
  padding: 40px 32px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--blue-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.area-card:hover { border-color: var(--blue-accent); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.area-card:hover::before { transform: scaleX(1); }
.area-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100);
  border-radius: 8px;
  margin-bottom: 24px;
  transition: background var(--transition);
}
.area-card:hover .area-icon { background: rgba(26,74,115,0.08); }
.area-icon svg { width: 28px; height: 28px; color: var(--blue-accent); }
.area-card h3 { margin-bottom: 12px; }
.area-card p { font-size: 0.92rem; color: var(--gray-500); }

/* ===== SERVICES ===== */
.services { padding: 100px 0; background: var(--gray-100); }
.services-header { margin-bottom: 56px; }
.service-block { margin-bottom: 56px; }
.service-block:last-child { margin-bottom: 0; }
.service-block-inner {
  background: var(--white);
  border-radius: 8px;
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow var(--transition);
}
.service-block-inner:hover { box-shadow: var(--shadow-md); }
.service-block-header { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.service-block-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-deep);
  border-radius: 6px;
  flex-shrink: 0;
}
.service-block-icon svg { width: 22px; height: 22px; color: var(--white); }
.service-block h3 { font-size: 1.25rem; }
.service-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.service-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.6;
}
.service-list li::before {
  content: '';
  position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px;
  background: var(--blue-accent);
  border-radius: 50%;
}
.service-highlight {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(26,74,115,0.04);
  border-left: 3px solid var(--blue-accent);
  border-radius: 0 4px 4px 0;
  font-size: 0.88rem;
  color: var(--blue-mid);
  font-style: italic;
}

/* ===== ABOUT ===== */
.about { padding: 100px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text .section-subtitle { margin-bottom: 24px; }
.about-text p { margin-bottom: 16px; font-size: 0.95rem; }
.about-text p:last-of-type { margin-bottom: 0; }
.about-image { border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-md); }
.about-image img { width: 100%; height: 400px; object-fit: cover; display: block; }

/* ===== APPROACH ===== */
.approach { padding: 100px 0; background: var(--blue-deep); }
.approach .section-label { color: var(--silver); }
.approach .section-title { color: var(--white); }
.approach .section-subtitle { color: rgba(255,255,255,0.6); }
.approach-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.approach-item {
  text-align: center;
  padding: 32px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  transition: all var(--transition);
}
.approach-item:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.15); }
.approach-number {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.15);
  margin-bottom: 16px;
}
.approach-icon { margin-bottom: 16px; }
.approach-icon svg { width: 32px; height: 32px; color: var(--silver); }
.approach-item h3 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.approach-item p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue-deep) 100%);
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 1.05rem; }
.cta-section .btn-primary { font-size: 0.95rem; padding: 16px 40px; }

/* ===== FOOTER ===== */
.footer { padding: 60px 0 32px; background: var(--charcoal); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { color: var(--white); display: inline-block; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); max-width: 320px; }
.footer h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-contact-item svg { width: 18px; height: 18px; color: var(--silver); flex-shrink: 0; }
.footer-contact-item a,
.footer-contact-item span { font-size: 0.85rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-confidential {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  max-width: 500px;
  text-align: right;
  line-height: 1.5;
}

/* ===== MOBILE CTA STICKY ===== */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 999;
  padding: 12px 16px;
  background: var(--blue-deep);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.mobile-cta a {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--white);
  color: var(--blue-deep);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .approach-grid { grid-template-columns: repeat(3, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-content { max-width: 100%; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.active a { color: var(--gray-700); }
  .areas-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .service-block-inner { padding: 28px 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .approach-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-confidential { text-align: center; }
  .mobile-cta { display: block; }
  body { padding-bottom: 68px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .approach-grid { grid-template-columns: 1fr; }
}
