/* ============================================================
   AUSTRALIUS — TRAM-C WEBSITE
   Style Sheet
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  --gold:         #fabb00;
  --gold-hover:   #e0a800;
  --blue:         #3b6691;
  --blue-hover:   #2d5077;
  --dark:         #1b2736;
  --dark-2:       #243347;
  --text:         #1e2b38;
  --text-mid:     #4a5668;
  --text-light:   #7a8898;
  --bg:           #f5f4ef;
  --bg-card:      #ffffff;
  --border:       #dbd9d0;
  --border-light: #eceae4;

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  --nav-h: 68px;
  --container: 1180px;
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;

  --shadow-card: 0 2px 16px rgba(30, 43, 56, 0.07);
  --shadow-card-hover: 0 6px 28px rgba(30, 43, 56, 0.12);

  --transition: 0.22s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ---- Scrollbar (subtle) ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }

p { color: var(--text-mid); line-height: 1.75; }

strong { font-weight: 600; color: var(--text); }

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

.section {
  padding: 100px 0;
}

.bg-white    { background: #ffffff; }
.bg-offwhite { background: var(--bg); }
.bg-dark     { background: var(--dark); }

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

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: #1a1a1a;
}
.btn-gold:hover {
  background: var(--gold-hover);
  box-shadow: 0 4px 16px rgba(250, 187, 0, 0.35);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: #fff;
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

#nav.scrolled {
  background: rgba(245, 244, 239, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

#nav:not(.scrolled) .nav-brand { color: #fff; }
#nav:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

#nav:not(.scrolled) .nav-link { color: rgba(255,255,255,0.8); }
#nav:not(.scrolled) .nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
#nav.scrolled .nav-link:hover { color: var(--text); background: var(--border-light); }

.nav-cta {
  padding: 9px 20px;
  background: var(--gold);
  color: #1a1a1a;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

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

/* Language toggle */
.lang-toggle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.75);
  background: transparent;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.lang-toggle:hover {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

#nav.scrolled .lang-toggle {
  border-color: var(--border);
  color: var(--text-mid);
}

#nav.scrolled .lang-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Burger button */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

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

#nav:not(.scrolled) .nav-burger span { background: #fff; }

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

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 64px) 40px 80px;
  position: relative;
  overflow: hidden;
}

/* Subtle background texture */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(59,102,145,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(250,187,0,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero text */
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

#hero h1 {
  color: #ffffff;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease both;
}

.hero-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.8;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-eyebrow { animation: fadeInUp 0.6s ease both; }

/* Hero diagram */
.hero-diagram {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 24px 24px 16px;
  box-shadow: 0 16px 64px rgba(0,0,0,0.3);
  animation: fadeInRight 0.8s ease 0.25s both;
}

.diag-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

.diag-row:last-of-type { border-bottom: none; }

.diag-row-outcome { margin-top: 2px; }

.diag-label {
  min-width: 118px;
  max-width: 118px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  padding-top: 5px;
  flex-shrink: 0;
  line-height: 1.3;
}

.diag-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.diag-node {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px 9px;
  font-size: 0.72rem;
  color: var(--text);
  white-space: nowrap;
}

.diag-node-loop {
  background: #fff8e0;
  border-color: var(--gold);
  color: #8a6500;
  font-weight: 500;
}

.diag-node-outcome {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1a1a;
  font-weight: 600;
}

.diag-arrow {
  text-align: left;
  padding-left: 118px;
  color: var(--blue);
  font-size: 1rem;
  opacity: 0.45;
  line-height: 1;
  margin: 0;
}

.diag-caption {
  font-size: 0.68rem;
  color: var(--text-light);
  margin-top: 14px;
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   WHO WE SERVE
   ============================================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.audience-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}

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

.audience-card-featured {
  background: var(--dark);
  border-color: var(--dark);
  color: rgba(255,255,255,0.85);
}

.audience-card-featured h3 { color: #fff; }
.audience-card-featured p  { color: rgba(255,255,255,0.72); }

.card-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--gold);
  color: #1a1a1a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 0 0 6px 6px;
}

.audience-icon {
  width: 52px;
  height: 52px;
  background: var(--border-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.audience-card-featured .audience-icon {
  background: rgba(255,255,255,0.1);
}

.audience-card h3 { margin-bottom: 12px; }

/* ============================================================
   THE PROBLEM (dark section)
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.problem-text h2 {
  color: #ffffff;
  margin-bottom: 24px;
}

.problem-text p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  font-size: 1rem;
}

.problem-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem-list li {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  padding-left: 18px;
  position: relative;
}

.problem-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.problem-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 8px;
}

.stat-item {
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-bottom: none; }

.stat-num {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ============================================================
   THE METHOD
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.feature-icon {
  width: 46px;
  height: 46px;
  background: #fff8e0;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Process block */
.process-block {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 56px 52px;
  margin-bottom: 40px;
}

.process-block h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 40px;
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.process-grid::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  z-index: 0;
}

.process-step {
  padding: 0 20px 0;
  position: relative;
  z-index: 1;
}

.process-step:nth-child(3n+1) { padding-left: 0; }
.process-step:nth-child(3n)   { padding-right: 0; }

.step-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.process-step h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* Credential bar */
.credential-bar {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

.credential-bar p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 620px;
}

.credential-bar strong { color: #fff; }

.credential-bar .btn-outline-blue {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
  white-space: nowrap;
  flex-shrink: 0;
}

.credential-bar .btn-outline-blue:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
  border-top: 3px solid var(--border-light);
}

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

.service-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 16px;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.service-card p {
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.75;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid var(--border-light);
}

.service-list li {
  font-size: 0.85rem;
  color: var(--text-mid);
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text h2 {
  margin-bottom: 20px;
}

.contact-text p {
  margin-bottom: 18px;
  font-size: 1rem;
}

.contact-bio {
  margin-top: 40px;
  padding: 24px 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.contact-bio-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-bio-title {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.contact-bio-email {
  font-size: 0.9rem;
  color: var(--blue);
  font-weight: 500;
  transition: color var(--transition);
}

.contact-bio-email:hover { color: var(--blue-hover); }

/* Form */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.req { color: var(--blue); margin-left: 2px; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-field 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='%237a8898' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-field textarea { resize: vertical; min-height: 100px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,102,145,0.12);
  background: #fff;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-light);
}

.form-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: center;
}

.form-success {
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: #edf4fb;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--blue);
  font-weight: 500;
}

/* Only flex when the hidden attribute is absent */
.form-success:not([hidden]) {
  display: flex;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--dark);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 4px auto 0;
}

.footer-legal {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.22);
  line-height: 1.6;
  text-align: center;
}

.footer-legal a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.6);
}

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

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Scroll-reveal — elements start invisible, JS adds .visible */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.audience-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.audience-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.features-grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.21s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.28s; }
.features-grid .reveal:nth-child(6) { transition-delay: 0.35s; }

.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.05s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.15s; }

/* ============================================================
   RESPONSIVE — TABLET (≤ 960px)
   ============================================================ */
@media (max-width: 960px) {
  .container { padding: 0 28px; }
  .nav-inner  { padding: 0 28px; }
  #hero       { padding-left: 28px; padding-right: 28px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-diagram {
    max-width: 480px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .process-grid::after { display: none; }

  .credential-bar {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    padding: 36px 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  .container { padding: 0 20px; }
  .nav-inner  { padding: 0 20px; }
  #hero       { padding-left: 20px; padding-right: 20px; padding-top: calc(var(--nav-h) + 48px); }

  .section { padding: 72px 0; }

  /* Mobile nav */
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 4px;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }

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

  .nav-link {
    padding: 12px 14px;
    color: var(--text-mid);
    width: 100%;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
    padding: 12px 20px;
  }

  .nav-burger { display: flex; }

  .hero-inner { gap: 40px; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

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

  .process-block {
    padding: 40px 28px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .credential-bar {
    padding: 32px 24px;
  }

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

  .contact-form-wrap {
    padding: 32px 24px;
  }

  .section-header { margin-bottom: 44px; }
}
