/* ========================================
   TIMIEBIMAX — Brand Tokens
   ======================================== */
:root {
  --forest-dark:  #0B3B2C;
  --forest:       #14563F;
  --forest-mid:   #1F7A54;
  --forest-light: #33A06A;
  --ink:          #10151A;
  --ink-soft:     #4B5560;
  --paper:        #FFFFFF;
  --paper-soft:   #F6F8F7;
  --border:       #E4E9E6;

  --text:         #F3F6FA;
  --text-soft:    rgba(255,255,255,0.68);
  --text-muted:   rgba(255,255,255,0.45);
  --surface:      rgba(255,255,255,0.06);
  --surface-border: rgba(255,255,255,0.14);

  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --radius: 12px;
  --shadow-soft: 0 4px 24px rgba(0,0,0,0.25);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  background-image: url('../assets/images/laptop-hero.png');
  background-size: auto 130%;
  background-position: center 0%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  animation: panBackground 25s ease-in-out infinite;
}

@keyframes panBackground {
  0%   { background-position: center 0%; }
  50%  { background-position: center 100%; }
  100% { background-position: center 0%; }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,12,34,0.88) 0%, rgba(6,12,34,0.80) 40%, rgba(6,12,34,0.92) 100%),
    radial-gradient(750px circle at 85% 15%, rgba(108, 140, 255, 0.25), transparent 60%),
    radial-gradient(700px circle at 10% 80%, rgba(59, 95, 204, 0.22), transparent 60%);
}

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

.container { max-width: 1680px; margin: 0 auto; padding: 0 48px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.accent { color: #6C8CFF; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6C8CFF;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--forest-dark); color: #fff; }
.btn-primary:hover { background: var(--forest); box-shadow: var(--shadow-soft); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--surface-border); }
.btn-secondary:hover { border-color: #6C8CFF; }
.btn-secondary svg { transition: transform 0.2s ease; }
.btn-secondary:hover svg { transform: translateX(3px); }
.btn-light { background: #fff; color: var(--forest-dark); }
.btn-light:hover { box-shadow: var(--shadow-soft); }

/* Header intentionally left unchanged — stays light, per request */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; padding: 20px 48px; max-width: 1680px; margin: 0 auto;
}
.logo-link { display: flex; align-items: center; }
.logo-link img { height: 80px; width: auto; }
.nav-actions { display: flex; align-items: center; gap: 56px; }
.nav-actions .btn {
  padding: 9px 18px;
  background: #3B5FCC;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #3B5FCC;
}
.nav-actions .btn:hover {
  background: #1B3B8C;
  box-shadow: 0 0 0 1px #1B3B8C;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}
.btn-pulse { animation: pulse-ring 2.2s infinite; }

nav.main-nav { display: flex; align-items: center; gap: 32px; }
nav.main-nav ul { display: flex; align-items: center; gap: 36px; list-style: none; }
nav.main-nav a {
  font-size: 15px; font-weight: 500; color: var(--ink);
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--forest-dark); border-bottom-color: var(--forest-mid); }
.mobile-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-nav-toggle svg { width: 24px; height: 24px; }

.hero { padding: 88px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 52px; line-height: 1.08; margin: 18px 0 22px; }
.hero p.lede { font-size: 18px; color: var(--text-soft); max-width: 480px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-badges .badge { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-soft); font-weight: 500; }
.hero-badges svg { width: 18px; height: 18px; color: #6C8CFF; flex-shrink: 0; }

/* Dashboard mockup stays a bright white "screenshot" card */
.dashboard-mockup {
  display: flex; background: rgba(255,255,255,0.06); border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(16px);
}
.dash-sidebar { width: 160px; flex-shrink: 0; background: rgba(0,0,0,0.25); color: #fff; padding: 28px 16px; }
.dash-logo { margin-bottom: 22px; padding-left: 6px; }
.dash-logo img { height: 26px; width: auto; filter: brightness(0) invert(1); }
.dash-nav a {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.68); margin-bottom: 4px;
}
.dash-nav a svg { width: 16px; height: 16px; flex-shrink: 0; }
.dash-nav a.active { background: rgba(255,255,255,0.14); color: #fff; font-weight: 600; }
.dash-main { flex: 1; padding: 28px 28px 30px; min-width: 0; }
.dash-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.dash-header h4 { font-size: 20px; margin-bottom: 4px; color: #fff; }
.dash-header .dash-sub { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.6); }
.dash-header .dash-sub .dot { width: 6px; height: 6px; border-radius: 50%; background: #6C8CFF; }
.dash-period { font-size: 11.5px; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 5px 10px; color: rgba(255,255,255,0.75); white-space: nowrap; }
.dash-header-right { display: flex; align-items: center; gap: 10px; }
.dash-avatar { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.15); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 11px; font-weight: 700; flex-shrink: 0; }
.dash-avatar img { height: 16px; width: auto; filter: brightness(0) invert(1); }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.dash-card { border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; padding: 16px; background: rgba(255,255,255,0.05); }
.dash-label { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.dash-status { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; margin-bottom: 10px; color: #fff; }
.dash-status .dot { width: 5px; height: 5px; border-radius: 50%; background: #6C8CFF; flex-shrink: 0; }
.dash-status.muted { color: rgba(255,255,255,0.55); font-weight: 500; }
.dash-note { font-size: 11px; color: rgba(255,255,255,0.5); }
.dash-chat-bubble { background: rgba(255,255,255,0.08); border-radius: 8px; padding: 10px 12px; font-size: 12.5px; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.dash-stat-label { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 3px; }
.dash-stat-value { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 9px; }
.dash-stat-value.small { font-size: 15px; }
.dash-msg-list { list-style: none; margin-bottom: 6px; }
.dash-msg-list li { display: flex; justify-content: space-between; gap: 6px; font-size: 9.5px; color: #fff; margin-bottom: 5px; }
.dash-msg-list li span { color: rgba(255,255,255,0.5); flex-shrink: 0; }
.dash-bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 4px; }
.dash-bars div { flex: 1; background: var(--forest-mid); border-radius: 2px 2px 0 0; opacity: 0.85; }
.dash-sparkline { margin-top: 4px; }
.dash-sparkline svg { width: 100%; height: 28px; display: block; }
.dash-browser { border-radius: 6px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 6px; }
.dash-browser-bar { display: flex; align-items: center; gap: 4px; background: var(--paper-soft); padding: 5px 7px; border-bottom: 1px solid var(--border); }
.dash-browser-bar span { width: 5px; height: 5px; border-radius: 50%; background: var(--border); }
.dash-browser-body { height: 34px; background: linear-gradient(135deg, var(--forest-dark), var(--forest-mid)); display: flex; align-items: center; padding: 0 8px; gap: 4px; }
.dash-browser-body span { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.5); }
.dash-browser-img { height: 200px; overflow: hidden; background: #fff; cursor: pointer; }
.dash-browser-img img { width: 100%; height: auto; display: block; object-fit: cover; object-position: top; }

@media (max-width: 900px) {
  .dashboard-mockup { flex-direction: column; }
  .dash-sidebar { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
  .dash-nav { display: none; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
}

.proof-strip {
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 28px 0;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
}
.proof-marquee {
  width: 100%;
  overflow: hidden;
}
.proof-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: proofMarquee 18s linear infinite;
}
@keyframes proofMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.proof-track .eyebrow { flex-shrink: 0; white-space: nowrap; }
.proof-client {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; color: var(--text);
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.featured-work { padding: 80px 0; }
.section-heading { margin-bottom: 40px; }
.section-heading h2 { font-size: 34px; margin-top: 10px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.work-card {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.work-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); border-color: #6C8CFF; }
.work-card .eyebrow { display: block; margin-bottom: 10px; }
.work-card h3 { font-size: 24px; margin-bottom: 6px; }
.work-card .work-sub { color: #6C8CFF; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.work-card p.desc { color: var(--text-soft); font-size: 15px; margin-bottom: 20px; }
.work-card .work-thumb {
  border-radius: 10px; overflow: hidden; margin-bottom: 20px;
  border: 1px solid var(--surface-border);
  background: rgba(255,255,255,0.04);
  min-height: 180px;
  display: block;
  cursor: pointer;
}
.work-card .work-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.work-card ul.checklist { list-style: none; margin-bottom: 22px; }
.work-card ul.checklist li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-soft); margin-bottom: 8px; }
.work-card ul.checklist svg { width: 16px; height: 16px; color: #6C8CFF; flex-shrink: 0; }

.cta-banner {
  background: rgba(255,255,255,0.05);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 40px 0;
}
.cta-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-banner-text { display: flex; align-items: center; gap: 18px; }
.cta-banner-text .icon-bubble {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cta-banner-text .icon-bubble svg { width: 22px; height: 22px; color: #fff; }
.cta-banner-text h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.cta-banner-text p { color: var(--text-soft); font-size: 14px; }

footer.site-footer {
  background: rgba(0,0,0,0.35);
  border-top: 1px solid var(--surface-border);
  color: var(--text-soft);
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 60px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 260px; color: var(--text-muted); }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--text-muted); font-size: 13px;
}

@media (max-width: 900px) {
  body { background-attachment: scroll; }
  body::before { position: absolute; height: 100%; }

  nav.main-nav { display: none; }
  .mobile-nav-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .work-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner .container { flex-direction: column; align-items: flex-start; }
}

/* ========================================
   CASE STUDY PAGE
   ======================================== */
.case-hero { padding: 48px 0 20px; }
.case-hero h1 { font-size: 32px; margin: 12px 0 16px; max-width: 780px; }
.case-hero .lede { margin-bottom: 24px; font-size: 15px; }

.case-image {
  display: block;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-card);
  margin: 0 0 28px;
  height: 320px;
}
.case-image img { width: 100%; display: block; object-fit: cover; object-position: center; height: 100%; }

.case-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 0 0 32px;
}
.meta-row { display: flex; align-items: center; gap: 10px; }
.meta-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--forest-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.meta-icon svg { width: 14px; height: 14px; color: #fff; }
.meta-row-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: #6C8CFF; margin-bottom: 3px;
}
.meta-row-value { font-size: 15px; font-weight: 500; color: #fff; }
.meta-row-value a { color: #fff; }
.meta-row-value a:hover { color: #6C8CFF; }

.stats-bar {
  background: var(--forest-dark);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stats-bar .stat-icon { color: var(--forest-light); margin-bottom: 8px; }
.stats-bar .stat-icon svg { width: 16px; height: 16px; }
.stats-bar h4 { color: var(--forest-light); font-size: 13px; margin-bottom: 5px; }
.stats-bar p { color: rgba(255,255,255,0.75); font-size: 12.5px; line-height: 1.45; margin: 0; }

.case-section { padding: 36px 0; border-top: 1px solid var(--surface-border); }
.case-section:first-of-type { border-top: none; }
.case-section h2 { font-size: 22px; margin-bottom: 16px; }
.case-section p { color: var(--text-soft); font-size: 15px; margin-bottom: 14px; max-width: 720px; line-height: 1.65; }

.case-list { list-style: none; margin: 20px 0; display: grid; gap: 14px; max-width: 780px; }
.case-list li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--text-soft); font-size: 15px; line-height: 1.5;
}
.case-list li svg { width: 18px; height: 18px; color: #6C8CFF; flex-shrink: 0; margin-top: 2px; }

.section-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.section-split h2 { font-size: 24px; }
.section-split h2 em { color: var(--forest-light); font-style: normal; }
.split-callout {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 16px;
}
.split-callout .icon-box {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(51,160,106,0.15);
  color: var(--forest-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.split-callout .icon-box svg { width: 20px; height: 20px; }
.split-callout p { color: var(--text-soft); font-size: 14px; margin: 0; }

.quote-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}
.quote-card p.quote-text {
  font-size: 17px; font-style: italic; color: #fff;
  margin-bottom: 20px; line-height: 1.6; max-width: none;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.quote-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest-mid); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-display); flex-shrink: 0;
}
.quote-author-info strong { display: block; color: #fff; font-size: 14px; }
.quote-author-info span { color: var(--text-muted); font-size: 12.5px; }

.case-cta {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0 20px;
  text-align: center;
}
.case-cta h3 { font-size: 20px; margin-bottom: 8px; }
.case-cta p { color: var(--text-soft); max-width: 560px; margin: 0 auto 20px; font-size: 14px; }

@media (max-width: 900px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .section-split { grid-template-columns: 1fr; }
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.service-card {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(51,160,106,0.15);
  color: var(--forest-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.service-card .desc { color: var(--text-soft); font-size: 14.5px; line-height: 1.6; margin-bottom: 20px; }

.service-price-block { margin-bottom: 20px; }
.service-price { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: #fff; }
.service-price span { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.service-price-note { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.service-price-sub { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--surface-border); }
.service-price-sub .service-price { font-size: 18px; }

.service-features { list-style: none; margin-bottom: 24px; flex-grow: 1; }
.service-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; color: var(--text-soft);
  margin-bottom: 9px; line-height: 1.4;
}
.service-features li svg { width: 15px; height: 15px; color: #6C8CFF; flex-shrink: 0; margin-top: 2px; }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 20px; }
.about-story .story-text p { margin-bottom: 16px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.value-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: 26px;
}
.value-card .icon-box {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(51,160,106,0.15);
  color: var(--forest-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.value-card .icon-box svg { width: 20px; height: 20px; }
.value-card h4 { font-size: 16px; margin-bottom: 8px; color: #fff; }
.value-card p { color: var(--text-soft); font-size: 14px; line-height: 1.55; margin: 0; }

@media (max-width: 900px) {
  .about-story { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }

.contact-form { background: var(--surface); border: 1px solid var(--surface-border); border-radius: 16px; padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-soft); margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: border-color 0.15s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus { border-color: #6C8CFF; }
.form-group textarea { resize: vertical; min-height: 140px; }

.contact-form .btn { width: 100%; justify-content: center; padding: 13px 20px; font-size: 15.5px; }

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
}
.contact-info-card h4 { font-size: 15px; margin-bottom: 14px; color: #fff; }
.contact-info-row {
  display: flex; align-items: center; gap: 12px;
  font-size: 14.5px; color: var(--text-soft);
  margin-bottom: 12px;
}
.contact-info-row:last-child { margin-bottom: 0; }
.contact-info-row .icon-box {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(51,160,106,0.15); color: var(--forest-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-row .icon-box svg { width: 16px; height: 16px; }
.contact-info-row a { color: #fff; }
.contact-info-row a:hover { color: #6C8CFF; }

.next-steps-list { list-style: none; }
.next-steps-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--text-soft);
  margin-bottom: 12px; line-height: 1.5;
}
.next-steps-list li span.step-num {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(108,140,255,0.2); color: #6C8CFF;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-content { max-width: 820px; }
.legal-content h2 { font-size: 22px; margin: 36px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-soft); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.legal-content ul { list-style: none; margin: 12px 0 18px; }
.legal-content ul li {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--text-soft); font-size: 15px; line-height: 1.6; margin-bottom: 8px;
}
.legal-content ul li svg { width: 16px; height: 16px; color: #6C8CFF; flex-shrink: 0; margin-top: 4px; }
.legal-updated { color: var(--text-muted); font-size: 13px; margin-bottom: 32px; }
.legal-notice {
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: 12px; padding: 18px 22px; margin-bottom: 32px;
  font-size: 13.5px; color: var(--text-muted); line-height: 1.6;
}

@media (max-width: 900px) {
  .header-inner { position: relative; }
  nav.main-nav.mobile-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 60;
  }
  nav.main-nav.mobile-open ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}