@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Barlow+Condensed:wght@400;500;600;700&family=Barlow:wght@300;400;500;600&display=swap');

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg:          #F0EBE1;
  --bg-alt:      #E7E1D6;
  --bg-dark:     #0C1020;
  --bg-dark-alt: #111828;
  --accent:      #12F5A3;
  --accent-dark: #0DD48E;
  --cta:         #00ffff;
  --cta-dark:    #00CCCC;
  --steel:       #4A9FD6;
  --steel-light: #6AB4E4;
  --text:        #1A1815;
  --text-muted:  #67594C;
  --border:      #C8BFB0;
  --border-dark: #1C2848;

  --purple:      #4A2080;
  --purple-light: #5D30A0;

  /* legacy alias so existing --rust references still work */
  --rust:        var(--accent);
  --rust-dark:   var(--accent-dark);

  --font-display:   'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-ui:        'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:      'Barlow', system-ui, -apple-system, sans-serif;

  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--bg-dark);
  flex-shrink: 0;
}

/* Green label — only on dark backgrounds */
.hero .section-label,
.service-detail--featured .section-label {
  color: var(--accent);
}
.hero .section-label::before,
.service-detail--featured .section-label::before {
  background: var(--accent);
}

.section-label--muted {
  color: #8A9BA8;
}
.section-label--muted::before {
  background: #8A9BA8;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 0.875rem;
}
.section-heading em {
  color: var(--purple);
  font-weight: 400;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.875rem 1.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--cta);
  color: var(--bg-dark);
}
.btn-primary:hover {
  background: var(--cta-dark);
  color: var(--bg-dark);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--text);
}

.btn-white {
  background: #fff;
  color: var(--bg-dark);
}
.btn-white:hover {
  background: var(--bg);
  color: var(--bg-dark);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

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

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

.nav-logo-name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-logo-sub {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--bg-dark);
}

.nav-links .nav-cta-link a {
  background: var(--cta);
  color: var(--bg-dark);
  padding: 0.5rem 1.125rem;
  transition: background 0.15s;
}
.nav-links .nav-cta-link a:hover {
  background: var(--cta-dark);
  color: var(--bg-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(18,245,163,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(0,255,255,0.07) 0%, transparent 55%),
    var(--bg-dark);
  color: #fff;
  padding: 5.5rem 2rem 5rem;
  border-bottom: 1px solid var(--border-dark);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.hero-eyebrow {
  margin-bottom: 1.75rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 16ch;
  margin-bottom: 1.75rem;
}
.hero-headline em {
  font-weight: 400;
  color: var(--rust);
}

.hero-body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.175rem);
  font-weight: 400;
  color: #7A8A9A;
  max-width: 50ch;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

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

.hero-rule {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
}

.hero-rule-item {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4A5A6A;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-rule-item::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--accent);
}
.hero-rule-sep {
  width: 1px;
  height: 1.5rem;
  background: var(--border-dark);
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem {
  background: var(--bg-alt);
  padding: 6rem 2rem;
  border-bottom: 1px solid var(--border);
}

.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.problem-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 28ch;
  margin-top: 0.875rem;
  margin-bottom: 3.5rem;
}
.problem-heading em {
  color: var(--purple);
  font-weight: 400;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}

.problem-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
}
.problem-card:last-child {
  border-right: none;
}

.problem-card-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--bg-dark);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.875rem;
  color: var(--text);
}

.problem-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ============================================================
   ABOUT / WHO I AM
   ============================================================ */
.about {
  background:
    radial-gradient(ellipse at 90% 20%, rgba(18,245,163,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(0,255,255,0.05) 0%, transparent 55%),
    var(--bg-dark);
  color: #fff;
  padding: 6rem 2rem;
  border-bottom: 1px solid var(--border-dark);
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 7rem;
  align-items: start;
}

.about-lead {
  position: sticky;
  top: 5rem;
}

.about-lead .section-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 18ch;
}

.about-callout {
  margin-top: 2.5rem;
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.04);
}
.about-callout p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.55;
  color: #CCD6E0;
}

.about-body p {
  font-size: 1.05rem;
  color: #7A8A9A;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.about-body p:last-child {
  margin-bottom: 0;
}
.about-body strong {
  color: #CCD6E0;
  font-weight: 600;
}

/* Section label and heading overrides for dark about section */
.about .section-label {
  color: var(--accent);
}
.about .section-label::before {
  background: var(--accent);
}
.about .section-heading em {
  color: var(--accent);
}

/* ============================================================
   SERVICES OVERVIEW
   ============================================================ */
.services-overview {
  padding: 6rem 2rem;
  border-bottom: 1px solid var(--border);
}

.services-overview-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.services-overview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.services-overview-header .section-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.services-overview-note {
  font-size: 0.925rem;
  color: var(--text-muted);
  max-width: 30ch;
  text-align: right;
  line-height: 1.6;
  flex-shrink: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--bg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: background 0.15s;
}
.service-card:hover {
  background: var(--bg-alt);
}

.service-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card-num {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--border);
}

.service-card-tag {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg-dark);
  border: 1px solid var(--bg-dark);
  padding: 0.175rem 0.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.service-card-link {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.77rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap 0.15s;
  align-self: flex-start;
}
.service-card-link::after {
  content: '→';
  font-family: var(--font-body);
}
.service-card-link:hover {
  gap: 0.625rem;
}

/* Featured card — Process Mapping */
.service-card--featured {
  background: var(--bg-dark);
  border-left: 3px solid var(--accent);
}
.service-card--featured:hover {
  background: var(--bg-dark-alt);
}
.service-card--featured .service-card-num {
  color: rgba(18,245,163,0.2);
}
.service-card--featured .service-card-tag {
  color: var(--accent);
  border-color: rgba(18,245,163,0.4);
}
.service-card--featured h3 {
  color: #CCD6E0;
}
.service-card--featured p {
  color: #7A8A9A;
}
.service-card--featured .service-card-link {
  color: var(--cta);
}
.service-card--featured .service-card-link:hover {
  color: var(--cta-dark);
}

/* ============================================================
   CREDIBILITY STRIP
   ============================================================ */
.cred {
  padding: 6rem 2rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.cred-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.cred-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-top: 3.5rem;
}

.cred-point-bar {
  width: 2.25rem;
  height: 3px;
  background: var(--bg-dark);
  margin-bottom: 1.5rem;
}

.cred-point h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.cred-point p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background:
    radial-gradient(ellipse at 75% 80%, rgba(18,245,163,0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 15%, rgba(74,159,214,0.07) 0%, transparent 55%),
    var(--bg-dark);
  color: #fff;
  padding: 6rem 2rem;
}

.cta-banner-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.cta-banner h2 em {
  color: var(--rust);
  font-weight: 400;
}

.cta-banner p {
  font-size: 1.05rem;
  color: #7A8A9A;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background:
    radial-gradient(ellipse at 95% 50%, rgba(18,245,163,0.05) 0%, transparent 50%),
    var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 3.5rem 2rem 2.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.footer-brand .nav-logo-sub {
  color: var(--accent);
}

.footer-brand .nav-logo-name {
  color: #CCD6E0;
}

.footer-brand .nav-logo-sub {
  margin-top: 0.3rem;
  display: block;
}

.footer-brand p {
  font-size: 0.875rem;
  color: #4A5A6A;
  margin-top: 1.25rem;
  max-width: 26ch;
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: flex-start;
  padding-top: 0.25rem;
}

.footer-nav a {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4A5A6A;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #CCD6E0;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #2E3D4D;
}

.footer-bottom a {
  color: var(--steel);
  transition: color 0.15s;
}
.footer-bottom a:hover {
  color: var(--steel-light);
}

/* ============================================================
   PAGE HEADER (Services / Contact)
   ============================================================ */
.page-header {
  padding: 5rem 2rem 4rem;
  border-bottom: 1px solid var(--border);
}

.page-header.page-header--dark {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(18,245,163,0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(0,255,255,0.09) 0%, transparent 55%),
    var(--bg-dark);
  border-bottom-color: var(--border-dark);
  color: #fff;
}
.page-header.page-header--dark .section-label {
  color: var(--accent);
}
.page-header.page-header--dark .section-label::before {
  background: var(--accent);
}
.page-header.page-header--dark h1 em {
  color: var(--accent);
  font-weight: 400;
}
.page-header.page-header--dark p {
  color: #7A8A9A;
}

.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-top: 1rem;
}
.page-header h1 em {
  color: var(--purple);
  font-weight: 400;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 50ch;
  line-height: 1.75;
  margin-top: 1.5rem;
}

/* ============================================================
   SERVICES PAGE — FULL DETAIL BLOCKS
   ============================================================ */
.service-detail {
  padding: 5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.service-detail--alt {
  background: var(--bg-alt);
}

.service-detail--featured {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(18,245,163,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(74,159,214,0.06) 0%, transparent 55%),
    var(--bg-dark);
  color: #fff;
}

.service-detail-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
}

.service-detail-sidebar {
  position: sticky;
  top: 5rem;
}

.service-detail-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.service-detail--featured .service-detail-num {
  color: var(--border-dark);
}

.service-detail-sidebar h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.service-detail--featured .service-detail-sidebar h2 {
  color: #CCD6E0;
}

.service-detail-price {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.service-detail--featured .service-detail-price {
  color: #5A9FCA;
  border-top-color: var(--border-dark);
}

.service-detail-content > p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.service-detail--featured .service-detail-content > p {
  color: #7A8A9A;
}

.service-detail-content > p:last-of-type {
  margin-bottom: 0;
}

.service-deliverables-heading {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.service-detail--featured .service-deliverables-heading {
  color: #8AA0B8;
}

.service-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-deliverables li {
  font-size: 0.975rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  line-height: 1.55;
}

.service-detail--featured .service-deliverables li {
  color: #A8BED0;
}

.service-deliverables li::before {
  content: '—';
  color: var(--bg-dark);
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-ui);
}

.service-for-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--steel);
  padding: 1.5rem;
  margin-top: 2.5rem;
}

.service-detail--featured .service-for-box {
  background: rgba(255,255,255,0.04);
  border-left-color: var(--steel);
}

.service-for-box h4 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.625rem;
}

.service-for-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.service-detail--featured .service-for-box p {
  color: #6A7A8A;
}

/* ============================================================
   SERVICES CTA
   ============================================================ */
.services-cta {
  background:
    radial-gradient(ellipse at 90% 50%, rgba(18,245,163,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 50%, rgba(74,159,214,0.07) 0%, transparent 55%),
    var(--bg-dark);
  padding: 5rem 2rem;
}

.services-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.services-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  max-width: 30ch;
}
.services-cta h2 em {
  font-weight: 400;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 64px);
}

.contact-info-side {
  padding: 5rem 3rem 5rem 2rem;
  border-right: 1px solid var(--border);
}

.contact-info-side-inner {
  max-width: 460px;
  margin-left: auto;
}

.contact-info-side h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.5rem;
}

.contact-info-side > .contact-info-side-inner > .contact-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}

.contact-detail-item h4 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.375rem;
}

.contact-detail-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.contact-form-side {
  background: var(--bg-alt);
  padding: 5rem 2rem 5rem 3rem;
}

.contact-form-side-inner {
  max-width: 480px;
}

.contact-form-heading {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.contact-form-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.975rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.5;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(74,159,214,0.12);
}

input::placeholder,
textarea::placeholder {
  color: #A89C8E;
}

textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.65;
}

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

.form-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 1rem;
}

.form-success {
  display: none;
  background: #E8F4ED;
  border: 1px solid #7BC4A0;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.form-success p {
  font-size: 0.95rem;
  color: #2A6B4A;
  line-height: 1.65;
}

.form-error {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #B83A1A;
  margin-top: 0.375rem;
  display: none;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 960px)
   ============================================================ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav-links.open .nav-cta-link {
    display: none;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-lead {
    position: static;
  }

  .services-overview-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-overview-note {
    text-align: left;
  }

  .cred-points {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-detail-sidebar {
    position: static;
  }

  .services-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-info-side {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 4rem 2rem;
  }
  .contact-info-side-inner {
    max-width: 100%;
  }
  .contact-form-side {
    padding: 4rem 2rem;
  }
  .contact-form-side-inner {
    max-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  .hero { padding: 3.5rem 1.5rem 3rem; }
  .hero-rule { flex-wrap: wrap; }

  .problem { padding: 4rem 1.5rem; }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .problem-card {
    border-right: none;
    border-bottom: 1px solid var(--border-dark);
  }
  .problem-card:last-child { border-bottom: none; }

  .about { padding: 4rem 1.5rem; }
  .services-overview { padding: 4rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .cred { padding: 4rem 1.5rem; }
  .cred-points { grid-template-columns: 1fr; }
  .cta-banner { padding: 4rem 1.5rem; }

  .page-header { padding: 3rem 1.5rem 2.5rem; }
  .service-detail { padding: 3.5rem 1.5rem; }
  .services-cta { padding: 3.5rem 1.5rem; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }

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

  .site-footer { padding: 3rem 1.5rem 2rem; }
}
