/* =========================================
   Bintech Consulting Group — Global Styles
   ========================================= */

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

:root {
  --navy:       #0D2545;
  --navy-light: #1A3D6B;
  --blue:       #1E62B5;
  --gold:       #C9A84C;
  --gold-light: #E8C96A;
  --white:      #FFFFFF;
  --off-white:  #F5F7FA;
  --gray-light: #E8ECF2;
  --gray:       #8A95A3;
  --text:       #1A202C;
  --text-muted: #4A5568;

  --font-sans:  'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;

  --max-w: 1160px;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(13, 37, 69, 0.10);
  --shadow-lg: 0 8px 40px rgba(13, 37, 69, 0.16);

  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { color: var(--text-muted); }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

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

section {
  padding: 5rem 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 37, 69, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo .logo-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo .logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 1px;
}

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

.nav-links a {
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-links .nav-cta {
  margin-left: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-radius: var(--radius);
}

.nav-links .nav-cta:hover {
  background: var(--gold-light);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(30, 98, 181, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(201, 168, 76, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

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

.hero-content { position: relative; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

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

.hero h1 span {
  color: var(--gold);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 500px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat .number {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat .number span {
  color: var(--gold);
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
}

/* Hero visual panel */
.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.hero-card-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition);
}

.service-item:last-child { margin-bottom: 0; }

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.service-item h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.service-item p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

/* =========================================
   SECTION: ABOUT PREVIEW / INTRO
   ========================================= */
.intro-section {
  background: var(--off-white);
}

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

.intro-text h2 {
  margin-bottom: 1.25rem;
}

.intro-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.intro-text .btn { margin-top: 1rem; }

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.pillar-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.pillar-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.pillar-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.pillar-card p {
  font-size: 0.82rem;
  line-height: 1.5;
}

/* =========================================
   SECTION: SERVICES OVERVIEW
   ========================================= */
.services-overview {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { font-size: 1.05rem; }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition), color var(--transition);
}

.service-card:hover .learn-more {
  gap: 0.65rem;
  color: var(--navy);
}

/* =========================================
   SECTION: WHY BINTECH
   ========================================= */
.why-section {
  background: var(--navy);
  color: var(--white);
}

.why-section .section-header h2 {
  color: var(--white);
}

.why-section .section-header p {
  color: rgba(255,255,255,0.65);
}

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

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  transition: background var(--transition), border-color var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(201, 168, 76, 0.3);
}

.why-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.why-card h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.why-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* =========================================
   CTA BAND
   ========================================= */
.cta-band {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--blue) 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 9rem 0 5rem;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

.about-intro {
  background: var(--white);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-intro-text h2 { margin-bottom: 1.25rem; }
.about-intro-text p  { margin-bottom: 1rem; line-height: 1.8; }

.about-accent-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.about-accent-box::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 1.5rem;
  font-size: 8rem;
  font-family: var(--font-serif);
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
}

.about-accent-box blockquote {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
  font-style: italic;
  position: relative;
}

.about-accent-box cite {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Values */
.values-section {
  background: var(--off-white);
}

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

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.value-card p  { font-size: 0.88rem; line-height: 1.7; }

/* Expertise */
.expertise-section { background: var(--white); }

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.expertise-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.expertise-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.4rem;
}

.expertise-item h4 { margin-bottom: 0.3rem; font-size: 1rem; }
.expertise-item p  { font-size: 0.88rem; line-height: 1.6; }

/* =========================================
   SERVICES PAGE
   ========================================= */
.services-intro { background: var(--off-white); }
.services-intro .section-header { margin-bottom: 0; text-align: left; max-width: none; }

.service-detail {
  padding: 5rem 0;
}

.service-detail:nth-child(odd) { background: var(--white); }
.service-detail:nth-child(even) { background: var(--off-white); }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-content h2 { margin-bottom: 1rem; }
.service-detail-content p  { margin-bottom: 1rem; line-height: 1.8; }

.service-highlights {
  margin-top: 1.5rem;
}

.service-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.service-highlight:last-child { border-bottom: none; }

.checkmark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 0.65rem;
  color: var(--navy);
  font-weight: 900;
}

.service-highlight p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-muted);
}

.service-detail-panel {
  background: var(--navy);
  border-radius: 12px;
  padding: 2.5rem;
  color: var(--white);
}

.service-detail-panel h4 {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.phase-list { display: flex; flex-direction: column; gap: 1rem; }

.phase {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.phase-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phase h5 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.phase p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-section { background: var(--off-white); }

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

.contact-info h2 { margin-bottom: 0.75rem; }
.contact-info > p { margin-bottom: 2rem; line-height: 1.75; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.2rem;
}

.contact-detail p {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-wrap h3 {
  margin-bottom: 1.75rem;
  font-size: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 98, 181, 0.12);
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A95A3' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-submit { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; }

.form-note {
  font-size: 0.78rem;
  color: var(--gray);
  text-align: center;
  margin-top: 0.75rem;
}

/* Success state */
.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: 0.5rem; }
.form-success p { font-size: 0.95rem; }

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

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

.footer-brand .logo-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}

.footer-brand .logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-top: 1px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--gold); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .hero-grid,
  .intro-grid,
  .about-intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual { display: none; }

  .services-grid,
  .why-grid,
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail-grid,
  .service-detail-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  section { padding: 3.5rem 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.75rem 1rem;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    text-align: center;
    margin-top: 0.5rem;
  }

  .nav-toggle { display: flex; }

  .services-grid,
  .why-grid,
  .values-grid,
  .expertise-grid,
  .pillars {
    grid-template-columns: 1fr;
  }

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

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }
