/* ========================================
   Good Governance Consulting — Style Sheet
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --yellow: #519CE1;
  --yellow-dark: #3d7fc4;
  --white: #FFFFFF;
  --black: #1B1B1B;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-500: #737373;
  --gray-700: #404040;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --container: 1200px;
  --section-padding: 6rem 0;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1), 0 8px 32px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.required {
  color: #c0392b;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1rem;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--yellow);
  margin: 0 auto 1.25rem;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn--primary {
  background: var(--yellow);
  color: var(--white);
  border-color: var(--yellow);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(81, 156, 225, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ========================================
   NAVIGATION
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(27, 27, 27, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(27, 27, 27, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--yellow);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 8px;
  letter-spacing: -0.5px;
}

.nav__logo-text {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: 0.01em;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav__link--cta {
  background: var(--yellow);
  color: var(--white);
  font-weight: 600;
  margin-left: 0.5rem;
}

.nav__link--cta:hover,
.nav__link--cta:focus-visible {
  background: var(--yellow-dark);
  color: var(--white);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav__toggle.active .nav__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active .nav__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #1B1B1B 0%, #2a2a2a 40%, #1B1B1B 100%);
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(81, 156, 225, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(81, 156, 225, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero__tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__intro {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 640px;
}

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

/* ========================================
   SERVICES
   ======================================== */
.services {
  padding: var(--section-padding);
  background: var(--gray-50);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--yellow);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  flex: 1;
}

.service-card__price {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
}

/* ========================================
   APPROACH
   ======================================== */
.approach {
  padding: var(--section-padding);
  background: var(--white);
}

.approach__intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.9;
}

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

.pillar {
  text-align: center;
  padding: 2.5rem 2rem;
}

.pillar__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.pillar__icon svg {
  width: 100%;
  height: 100%;
}

.pillar__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pillar__desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ========================================
   TEAM
   ======================================== */
.team {
  padding: var(--section-padding);
  background: var(--gray-50);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.team-card {
  display: flex;
  gap: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--yellow);
}

.team-card__photo {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__initials {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yellow);
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--yellow-dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.team-card__bio {
  list-style: none;
  padding: 0;
}

.team-card__bio li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 0.35rem;
}

.team-card__bio li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  background: var(--yellow);
  border-radius: 50%;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  padding: var(--section-padding);
  background: var(--black);
  color: var(--white);
}

.contact .section-title {
  color: var(--white);
}

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

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact__detail h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 0.25rem;
}

.contact__detail a,
.contact__detail p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.contact__detail a:hover {
  color: var(--yellow);
}

.contact__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  background: var(--yellow);
  color: var(--white);
  transform: translateY(-2px);
}

/* Contact Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  outline: none;
  transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(81, 156, 225, 0.15);
}

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

.contact__form .btn--primary:hover {
  box-shadow: 0 4px 16px rgba(81, 156, 225, 0.35);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #111111;
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0 2rem;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--yellow);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__bottom {
  text-align: center;
  font-size: 0.85rem;
}

.footer__bottom p {
  margin-bottom: 0.5rem;
}

.footer__ai-link a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__ai-link a:hover {
  color: var(--yellow-dark);
}

/* ========================================
   RESPONSIVE — TABLET
   ======================================== */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach__pillars {
    gap: 2rem;
  }
}

/* ========================================
   RESPONSIVE — MOBILE
   ======================================== */
@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
  }

  /* Nav */
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    transition: right 0.35s ease;
    box-shadow: -4px 0 30px rgba(0,0,0,0.3);
  }

  .nav__menu.open {
    right: 0;
  }

  .nav__link {
    font-size: 1.1rem;
    padding: 0.875rem 1rem;
    color: rgba(255, 255, 255, 0.85);
  }

  .nav__link--cta {
    text-align: center;
    margin-left: 0;
    margin-top: 1rem;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    text-align: center;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Approach */
  .approach__pillars {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Team */
  .team__grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-card__bio li {
    text-align: left;
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Footer */
  .footer__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .team-card {
    padding: 1.5rem;
  }

  .service-card {
    padding: 1.75rem 1.5rem;
  }
}
