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

:root {
  --navy: #1B2A4A;
  --navy-light: #2C3E5A;
  --blue: #2E86AB;
  --blue-light: #3A9BC7;
  --blue-pale: #E8F4F8;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --warm: #E8DDD3;
  --warm-dark: #D4C4B0;
  --green: #28A745;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--navy); }

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ——— UTILITY ——— */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-navy { color: var(--navy); }
.text-gray { color: var(--gray-600); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.section {
  padding: 80px 0;
}
.section--gray {
  background: var(--off-white);
}
.section--navy {
  background: var(--navy);
  color: var(--white);
}
.section--navy h2,
.section--navy h3 { color: var(--white); }

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section--navy .section-label { color: var(--blue-light); }

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.7;
}
.section-subtitle.centered {
  margin-left: auto;
  margin-right: auto;
}
.section--navy .section-subtitle { color: var(--gray-400); }

/* ——— BUTTONS ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}
.btn--white {
  background: var(--white);
  color: var(--navy);
}
.btn--white:hover {
  background: var(--off-white);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}
.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ——— HEADER / NAV ——— */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.header__logo {
  display: flex;
  flex-direction: column;
}
.header__logo-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.2;
  text-decoration: none;
}
.header__logo-name:hover { color: var(--navy); }
.header__logo-sub {
  font-size: 0.7rem;
  color: var(--gray-500);
  letter-spacing: 0.5px;
  font-weight: 500;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: none;
}
.nav__link:hover,
.nav__link--active {
  color: var(--blue);
  background: var(--blue-pale);
}
.nav__cta {
  margin-left: 12px;
}
.nav__lang {
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--gray-600);
  text-decoration: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav__lang:hover {
  background: var(--blue-pale);
  color: var(--navy);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* ——— HERO ——— */
.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(27,42,74,0.92) 0%,
    rgba(27,42,74,0.80) 40%,
    rgba(27,42,74,0.45) 70%,
    rgba(27,42,74,0.2) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 140px 0 80px;
  max-width: 560px;
}
.hero__content { position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.hero__title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 20px;
  line-height: 1.15;
  color: var(--white);
}
.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero .btn--primary {
  background: var(--white);
  color: var(--navy);
}
.hero .btn--primary:hover {
  background: var(--off-white);
  color: var(--navy);
}
.hero .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.hero .btn--outline:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

/* ——— STATS BAR ——— */
.stats-bar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-md);
}
.stat {
  text-align: center;
}
.stat__number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ——— SPECIALTIES GRID ——— */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.specialty-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.specialty-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.specialty-card__img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: var(--off-white);
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 8px;
}
.specialty-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.specialty-card__desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}
.specialty-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.specialty-card__link:hover { gap: 8px; }
.specialty-card__link svg {
  width: 14px;
  height: 14px;
  transition: var(--transition);
}

/* ——— ABOUT PREVIEW ——— */
.about-preview {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.about-preview__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--off-white);
}
.about-preview__image img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-preview__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 24px;
}
.credential {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--blue-pale);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
}
.credential svg {
  width: 14px;
  height: 14px;
  color: var(--blue);
}

/* ——— TESTIMONIALS ——— */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.section--gray .testimonial-card {
  background: var(--white);
}
.testimonial-card__quote {
  font-size: 2rem;
  color: var(--blue);
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1;
  margin-bottom: 12px;
}
.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial-card__author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.testimonial-card__stars {
  color: #F59E0B;
  font-size: 0.85rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

/* ——— CONTACT INFO ——— */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.contact-card__icon {
  width: 56px;
  height: 56px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue);
}
.contact-card__icon svg {
  width: 24px;
  height: 24px;
}
.contact-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-card__detail {
  font-size: 0.9rem;
  color: var(--gray-600);
}
.contact-card__detail a {
  color: var(--blue);
  font-weight: 500;
}

/* ——— CTA BANNER ——— */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46,134,171,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}
.cta-banner p {
  color: var(--gray-400);
  margin-bottom: 28px;
  position: relative;
}
.cta-banner .btn { position: relative; }

/* ——— QUOTE BANNER ——— */
.quote-banner {
  padding: 60px 0;
  background: var(--navy);
  text-align: center;
}
.quote-banner__text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-style: italic;
  opacity: 0.9;
}
.quote-banner__author {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ——— PAGE HERO ——— */
.page-hero {
  padding: 130px 0 60px;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--blue-pale) 100%);
  text-align: center;
}
.page-hero__title {
  margin-bottom: 12px;
}
.page-hero__subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

/* ——— ABOUT PAGE ——— */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.about-section--reverse {
  grid-template-columns: 1.3fr 1fr;
}
.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
  background: var(--off-white);
}
.about-image img {
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.about-content h2 {
  margin-bottom: 24px;
}
.about-content p {
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* ——— TIMELINE ——— */
.timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.timeline__item {
  position: relative;
  padding-bottom: 28px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--blue-pale);
}
.timeline__year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.timeline__text {
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* ——— FOOTER ——— */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 48px 0 24px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.footer__brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 8px;
}
.footer__tagline {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.footer__heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer__links {
  list-style: none;
}
.footer__links li { margin-bottom: 8px; }
.footer__links a {
  color: var(--gray-400);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  text-align: center;
  padding-top: 24px;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ——— DEMO BANNER ——— */
.demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #E53E3E;
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.demo-banner ~ .header {
  top: 36px;
}
.demo-banner ~ .header ~ .hero { padding-top: 36px; }
.demo-banner ~ .header ~ .page-hero { padding-top: 166px; }
.demo-banner ~ .header ~ .hero .hero__inner { padding-top: 176px; }

/* ——— ANIMATIONS ——— */
.animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate.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.4s; }

/* ——— RESPONSIVE ——— */
@media (max-width: 900px) {
  .hero { min-height: 400px; }
  .hero__inner { padding: 110px 0 60px; }
  .hero__actions { justify-content: center; }
  .hero__subtitle { text-align: center; }
  .hero__content { text-align: center; }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px;
    gap: 20px;
  }

  .about-preview,
  .about-section,
  .about-section--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-banner { padding: 40px 24px; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px;
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .nav--open .nav__link {
    display: block;
    padding: 12px 16px;
  }
  .nav--open .nav__cta {
    margin-left: 0;
    margin-top: 8px;
  }
  .nav-toggle { display: block; }

  .section { padding: 56px 0; }
  .hero { padding: 110px 0 60px; }
  .page-hero { padding: 110px 0 48px; }

  .specialties-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
