/* ==========================================================================
   DESIGN TOKENS & ROOT VARIABLES
   ========================================================================== */
:root {
  --bg-white: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-footer: #1e3a8a; /* Deep Cobalt Blue Footer */
  --bg-footer-subtle: rgba(255, 255, 255, 0.08);
  --border-light: #e2e8f0;
  --border-footer: rgba(255, 255, 255, 0.15);
  
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;

  --text-main: #0f172a;       /* Slate Charcoal */
  --text-body: #334155;       /* Medium Slate */
  --text-muted: #64748b;      /* Cool Gray */
  
  --text-footer: #ffffff;
  --text-footer-muted: #cbd5e1;
  --text-footer-faint: #94a3b8;

  --font-stack: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-stack);
  background-color: var(--bg-white);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  padding-top: 76px; /* Exactly offsets the fixed header's height */
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

main {
  flex: 1 0 auto;
  background-color: var(--bg-white);
  padding: 4rem 0 3rem !important;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, transform 0.1s ease;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-blue-hover);
}

.btn-primary:active {
  transform: translateY(1px);
}

/* ==========================================================================
   PERSISTENT FIXED HEADER & NAVIGATION
   ========================================================================== */
header.persistent-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light, #e2e8f0);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 90px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
  font-weight: 600;
}

.btn-nav-audit {
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  background-color: var(--accent-blue);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background-color 0.2s ease;
}

.btn-nav-audit:hover {
  background-color: var(--accent-blue-hover);
}

/* Hamburger Menu Icon (Hidden on Desktop by default) */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 10001;
}

.mobile-menu-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--text-main, #0f172a);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hamburger active transform into an "X" when open */
.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   TABLET & MOBILE MENU RESPONSIVE RULES (Screens <= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  /* Show hamburger button on mobile & tablets */
  .mobile-menu-btn {
    display: flex;
  }

  /* Transform horizontal links into a full-width overlay drawer */
  .nav-links {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 2px solid var(--border-light, #e2e8f0);
    box-shadow: 0 16px 24px -6px rgba(0, 0, 0, 0.1);
    z-index: 10000;
  }

  /* Display dropdown drawer when JavaScript toggles .open */
  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    font-size: 1.15rem;
    padding: 0.6rem 0;
  }

  .btn-nav-audit {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    margin-top: 0.5rem;
  }
}

/* ==========================================================================
   PERSISTENT FOOTER (<= 200PX)
   ========================================================================== */
footer.persistent-footer {
  flex-shrink: 0;
  background-color: var(--bg-footer);
  color: var(--text-footer);
  height: 200px;
  max-height: 200px;
  overflow-y: auto;
  border-top: 1px solid var(--border-footer);
  padding: 1rem 0 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.footer-col h4 {
  color: var(--text-footer);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-list li {
  font-size: 0.8rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.contact-list span.label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-footer-muted);
  width: 90px;
  flex-shrink: 0;
}

.contact-list a {
  color: var(--text-footer);
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: #93c5fd;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

details.faq-item {
  background-color: var(--bg-footer-subtle);
  border: 1px solid var(--border-footer);
  border-radius: 4px;
  padding: 0.35rem 0.65rem;
}

details.faq-item summary {
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-footer);
  list-style: none;
  position: relative;
  padding-right: 1.2rem;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 0.85rem;
  color: #93c5fd;
}

details.faq-item[open] summary::after {
  content: '−';
}

details.faq-item p {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--text-footer-muted);
  line-height: 1.3;
}

.footer-bottom {
  border-top: 1px solid var(--border-footer);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--text-footer-faint);
}

/* ==========================================================================
   HAMBURGER BUTTON & MOBILE/TABLET DRAWER
   ========================================================================== */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 10001;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-main, #0f172a);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Transform hamburger to 'X' when active */
.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Reveal Hamburger Button */
  .mobile-menu-btn {
    display: flex;
  }

  /* Hide default horizontal bar and format into mobile drawer */
  .nav-links {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 2px solid var(--border-light, #e2e8f0);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.12);
    z-index: 10000;
  }

  /* Display drawer when toggled */
  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    font-size: 1.15rem;
    padding: 0.5rem 0;
  }

  .btn-nav-audit {
    display: inline-block;
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    margin-top: 0.5rem;
  }
}
/* ==========================================================================
   GLOBAL PAGE HERO (Shared across all pages)
   ========================================================================== */
.page-hero {
  position: relative;
  background-color: var(--bg-subtle, #f8fafc);
  border-bottom: 1px solid var(--border-light, #e2e8f0);
  padding: 2.75rem 0 2.25rem;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue, #2563eb);
  background-color: rgba(37, 99, 235, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  max-width: 800px;
}

.lede {
  font-size: 1.15rem;
  color: var(--text-body, #334155);
  max-width: 100%;
  line-height: 1.6;
}

/* ==========================================================================
   HOMEPAGE (INDEX.HTML) SPECIFIC STYLES
   ========================================================================== */
.hero-title {
  color: var(--text-main);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-title .hero-title-indent {
  display: inline-block;
  font-style: italic;
  padding-left: 2rem;
}

.content-lead p {
  display: block;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-body);
  margin-top: 0;
  margin-bottom: 1rem !important;
}

.content-lead + .btn,
main .btn-primary {
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 1rem !important;
}

.hero-split-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2.5rem;
  align-items: start;
}

.hero-content-col {
  width: 100%;
}

.hero-visual-col {
  width: 100%;
  position: sticky;
  top: 96px;
}

.hero-visual-col img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  display: block;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: grid;
  gap: 1rem;
}

.feature-card {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
}

.feature-title {
  color: var(--text-main);
  display: block;
  margin-bottom: 0.25rem;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.callout-banner {
  background-color: #eff6ff;
  border-left: 4px solid var(--accent-blue);
  padding: 1rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.25rem;
}

.callout-banner p {
  margin: 0;
  font-size: 0.95rem;
  color: #1e40af;
}

@media (max-width: 900px) {
  .hero-split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-visual-col {
    position: static;
  }
}

/* ==========================================================================
   ABOUT PAGE (ABOUT.HTML) SPECIFIC STYLES
   ========================================================================== */
.narrative-block {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.narrative-block h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  margin: 0.5rem 0 1.25rem;
}

.bg-light {
  background-color: var(--bg-subtle, #f8fafc);
  border-top: 1px solid var(--border-light, #e2e8f0);
  border-bottom: 1px solid var(--border-light, #e2e8f0);
  padding: 4rem 0;
}

.section-head.center {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head.center h2 {
  font-size: 2.15rem;
  color: var(--text-main, #0f172a);
  font-weight: 800;
  margin-top: 0.5rem;
}

.bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}

.bio-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 12px;
  padding: 2.25rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.bio-photo {
  width: 130px;
  height: 130px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-blue, #2563eb);
  flex-shrink: 0;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bio-card-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.bio-card h3 {
  font-size: 1.45rem;
  color: var(--text-main, #0f172a);
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.bio-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-blue, #2563eb);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.bio-text {
  flex: 1 1 auto;
}

.bio-text p {
  font-size: 0.95rem;
  color: var(--text-body, #334155);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.team-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 1rem 0.5rem;
  background: var(--bg-subtle, #f8fafc);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 8px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-blue, #2563eb);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  margin-top: 0.25rem;
  line-height: 1.25;
}

.team-quote {
  border-left: 3px solid var(--accent-blue, #2563eb);
  padding-left: 0.85rem;
  margin-top: auto;
  padding-top: 0.25rem;
  margin-bottom: 0;
  font-style: italic;
  color: var(--text-body, #334155);
  font-size: 0.88rem;
  line-height: 1.5;
}

.team-quote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--text-muted, #64748b);
  margin-top: 0.4rem;
}

/* ==========================================================================
   GLOBAL CALLOUT / CTA BAND
   ========================================================================== */
.cta-band {
  background-color: var(--bg-subtle, #f8fafc);
  border-top: 1px solid var(--border-light, #e2e8f0);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 2.1rem;
  color: var(--text-main, #0f172a);
  margin-bottom: 1rem;
  font-weight: 800;
}

.cta-band .btn-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================================================
   CAPABILITIES PAGE ONLY
   ========================================================================== */
body.capabilities-page main {
  padding-top: 2rem !important;
  padding-bottom: 0.75rem !important;
}

body.capabilities-page .phase-block {
  margin-bottom: 2.25rem;
}

body.capabilities-page .phase-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  border-bottom: 2px solid var(--border-light, #e2e8f0);
  padding-bottom: 0.4rem;
}

body.capabilities-page .phase-number {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-blue, #2563eb);
}

body.capabilities-page .phase-head h2 {
  font-size: 1.4rem;
  color: var(--text-main, #0f172a);
  font-weight: 700;
}

body.capabilities-page .phase-sub {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
  margin-bottom: 1rem;
}

body.capabilities-page .offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

/* Tablet: 2x2 grid */
@media (max-width: 1024px) {
  body.capabilities-page .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: single stacked column */
@media (max-width: 640px) {
  body.capabilities-page .offer-grid {
    grid-template-columns: 1fr;
  }
}

body.capabilities-page .offer-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 6px;
  padding: 1.15rem 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

body.capabilities-page .offer-card:hover {
  border-color: var(--accent-blue, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px -3px rgba(0, 0, 0, 0.06);
}

body.capabilities-page .offer-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main, #0f172a);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

body.capabilities-page .offer-card p {
  font-size: 0.85rem;
  color: var(--text-body, #334155);
  line-height: 1.45;
  margin-bottom: 0;
}

body.capabilities-page .offer-card p strong {
  color: var(--text-main, #0f172a);
  font-weight: 600;
}

body.capabilities-page .cta-band {
  padding: 1.15rem 0 2.5rem;
}

body.capabilities-page .cta-band h2 {
  font-size: 1.85rem;
  margin-bottom: 0.4rem;
}

body.capabilities-page .cta-band .lede {
  font-size: 1.05rem;
  margin: 0 auto 0.35rem;
  font-weight: 600;
}

body.capabilities-page .cta-band p {
  font-size: 0.95rem;
  color: var(--text-body, #334155);
  margin-bottom: 0;
}

body.capabilities-page .cta-band .btn-row {
  padding-top: 12px;
}

/* ==========================================================================
   CLIENTS PAGE STYLING
   ========================================================================== */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  text-align: center;
}

.stat-cell .num {
  display: block;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-blue, #2563eb);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-cell .label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-padding {
  padding: 4.5rem 0;
}

.clients-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

.client-tag-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main, #0f172a);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 65px;
}

.client-tag-card:hover {
  border-color: var(--accent-blue, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px -3px rgba(0, 0, 0, 0.06);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 8px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card .quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-body, #334155);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card .attribution {
  font-weight: 700;
  color: var(--text-main, #0f172a);
  font-size: 0.9rem;
}

.testimonial-card .attribution span {
  display: block;
  font-weight: 500;
  color: var(--text-muted, #64748b);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .stat-strip {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .clients-category-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

body.clients-page .page-hero h1 {
  max-width: 100%;
}

body.clients-page .section-padding.clients-sectors-section {
  padding-top: 2rem;
  padding-bottom: 14px;
}

body.clients-page .section-padding.clients-sectors-section .section-head {
  margin-bottom: 1.75rem;
}

body.clients-page .stat-strip {
  padding: 14px 0;
}

/* ==========================================================================
   CONTACT PAGE & AUDIT FORM STYLING
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  padding: 4rem 1.5rem;
}

.contact-info h2 {
  font-size: 1.85rem;
  color: var(--text-main, #0f172a);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.info-row {
  margin-bottom: 1.25rem;
}

.info-row strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted, #64748b);
  margin-bottom: 0.25rem;
}

.info-row p,
.info-row a {
  color: var(--text-main, #0f172a);
  font-size: 1rem;
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background-color: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main, #0f172a);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main, #0f172a);
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-blue, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.hidden-field {
  display: none;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
  margin-top: 0.5rem;
}

.contact-form .btn-submit {
  align-self: flex-start;
}

@media (max-width: 850px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}