/*
Theme Name: Smits Technologies
Theme URI: https://smits-technologies.com
Author: Smits Technologies
Author URI: https://smits-technologies.com
Description: A precision medical technology theme for Smits Technologies. Features a clean, clinical aesthetic with animated sections and a professional layout designed to showcase the company's medical aid fitting system.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smits-technologies
Tags: medical, technology, business, custom-colors, custom-logo, featured-images, full-width-template, one-page, responsive-layout
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --ink: #0d1117;
  --steel: #1b2a38;
  --teal: #0d7b6e;
  --teal-light: #12a08f;
  --mist: #e8f0ef;
  --cream: #f5f2ec;
  --white: #ffffff;
  --mid: #6b7f8c;
  --font-display: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --container: 1200px;
  --radius: 12px;
  --transition: 0.25s ease;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--teal-light); }

ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }

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

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.section-label.centered { justify-content: center; }

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--teal);
  flex-shrink: 0;
}

.section-label.centered::before,
.section-label.centered::after {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--teal);
}

.section-title { margin-bottom: 1rem; }
.section-title.centered { text-align: center; }

.section-sub {
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.75;
}

.section-sub.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn,
.wp-block-button__link {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(13,123,110,0.3);
}

.btn-primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background: var(--teal-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13,123,110,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-ghost::after { content: '→'; transition: margin var(--transition); }
.btn-ghost:hover { color: var(--teal); }
.btn-ghost:hover::after { margin-left: 4px; }

.btn-white {
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes shimmer {
  to { left: 200%; }
}

@keyframes scanMove {
  from { background-position: 0 0; }
  to { background-position: 0 100px; }
}

@keyframes scanLine {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { top: 100%; opacity: 0; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245,242,236,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,123,110,0.12);
  transition: box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: 0 4px 20px rgba(13,17,23,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

.site-branding { display: flex; align-items: center; }

.site-logo img { height: 40px; width: auto; }

.site-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-title span { color: var(--teal); }

/* Primary nav */
#primary-navigation { display: flex; align-items: center; gap: 2rem; }

#primary-navigation .nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

#primary-navigation .nav-menu li a {
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color var(--transition);
}

#primary-navigation .nav-menu li a:hover { color: var(--teal); }

.header-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.header-cta:hover {
  background: var(--teal-light) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 0 4rem;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

/* Centred single-column hero variant */
.hero-section--centered {
  grid-template-columns: 1fr;
  min-height: 80vh;
  padding: 10rem 0 6rem;
}

.hero-content--centered {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.hero-content--centered .hero-eyebrow { justify-content: center; }
.hero-content--centered .hero-description { margin-left: auto; margin-right: auto; }
.hero-actions--centered { justify-content: center; }

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(13,123,110,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(13,123,110,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--teal);
}

.hero-section h1 {
  margin-bottom: 1.5rem;
}

.hero-section h1 em {
  font-style: italic;
  color: var(--teal);
}

.hero-section .hero-description {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

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

/* Hero visual card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(13,17,23,0.1), 0 2px 8px rgba(13,17,23,0.06);
  width: 100%;
  max-width: 420px;
  position: relative;
  animation: float 5s ease-in-out infinite;
}

.card-badge {
  position: absolute;
  top: -16px;
  right: 24px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.4rem 1rem;
  border-radius: 20px;
}

.scan-bar {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.scan-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

.body-outline {
  width: 100%;
  height: 200px;
  background: var(--mist);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.body-svg { width: 80px; opacity: 0.35; }

.scan-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 8px,
    rgba(13,123,110,0.08) 8px, rgba(13,123,110,0.08) 9px
  );
  animation: scanMove 3s linear infinite;
}

.scan-highlight {
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.7;
  animation: scanLine 2.5s ease-in-out infinite;
  top: 0;
}

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

.metric {
  text-align: center;
  padding: 0.8rem;
  background: var(--cream);
  border-radius: 8px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--teal);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-section {
  background: var(--steel);
  padding: 4rem 0;
}

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

.stat-divider {
  border: none;
  border-left: 1px solid rgba(255,255,255,0.1);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  background: var(--white);
  padding: 7rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}

/* 3-column variant */
.steps-grid--three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.steps-grid--three::before { display: none; }

.steps-grid::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(12.5% + 2rem);
  right: calc(12.5% + 2rem);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--teal) 0, var(--teal) 8px,
    transparent 8px, transparent 16px
  );
  opacity: 0.3;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(13,17,23,0.08);
}

.step-icon {
  width: 5rem;
  height: 5rem;
  background: var(--mist);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.8rem;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal), 0 4px 16px rgba(13,123,110,0.15);
}

.step-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

.step-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-section {
  background: var(--cream);
  padding: 7rem 0;
}

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

.benefits-visual {
  background: var(--steel);
  border-radius: 16px;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.benefits-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,123,110,0.3) 0%, transparent 70%);
  top: -50px;
  right: -50px;
  pointer-events: none;
}

.big-stat {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--teal-light);
  line-height: 1;
  position: relative;
}

.big-stat.secondary {
  font-size: 4rem;
  color: var(--white);
}

.big-stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  text-align: center;
  line-height: 1.5;
  max-width: 200px;
}

.stat-divider-line {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.2);
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

/* Centred single-column variant */
.benefit-list--centered {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border-radius: 10px;
  border-left: 3px solid var(--teal);
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(13,17,23,0.07);
}

.benefit-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.benefit-text h4 { margin-bottom: 0.2rem; }
.benefit-text p { font-size: 0.85rem; line-height: 1.5; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--teal);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
}

.cta-actions { position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--ink);
  padding: 5rem 0 0;
}

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

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand .footer-logo span { color: var(--teal-light); }

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

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.3);
  margin-left: 1.5rem;
  transition: color var(--transition);
}

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

/* ============================================================
   WORDPRESS CORE COMPATIBILITY
   ============================================================ */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--mid); text-align: center; margin-top: 0.5rem; }

.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1rem; }

/* ============================================================
   FOCUS AREAS SECTION
   ============================================================ */
.focus-section {
  background: var(--white);
  padding: 7rem 0;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.focus-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border-top: 3px solid var(--teal);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.focus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(13,17,23,0.08);
}

.focus-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.focus-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: var(--ink);
}

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

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page-section {
  padding: 8rem 0 6rem;
  background: var(--cream);
  min-height: 100vh;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-intro h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1.2rem;
}

.contact-intro p {
  line-height: 1.75;
}

.contact-details {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--mid);
}

.contact-detail-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-detail-item strong { color: var(--ink); display: block; margin-bottom: 0.2rem; }

/* Form card */
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(13,17,23,0.08);
}

/* Form elements */
.form-row { display: grid; gap: 1.2rem; }
.form-row--two { grid-template-columns: 1fr 1fr; }

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel);
  letter-spacing: 0.01em;
}

.form-group label span { color: var(--teal); }

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13,123,110,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #aab4bc; }

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #c0392b;
  background: #fff8f8;
}

.field-error {
  font-size: 0.8rem;
  color: #c0392b;
}

.form-note {
  font-size: 0.78rem;
  color: var(--mid);
  margin-top: 0.5rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  text-align: center;
}

/* Turnstile widget */
.turnstile-wrap {
  margin-bottom: 0.5rem;
}

/* Alerts */
.form-alert {
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-alert--error {
  background: #fff0f0;
  border-left: 3px solid #c0392b;
  color: #c0392b;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
}

.form-success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h2 { margin-bottom: 0.75rem; }
.form-success p { color: var(--mid); }
@media (max-width: 1024px) {
  .hero-section { padding: 6rem 0 3rem; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  #primary-navigation {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(13,123,110,0.12);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    z-index: 999;
  }

  #primary-navigation.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  #primary-navigation .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    width: 100%;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 6rem 0 3rem;
  }

  .hero-visual { display: none; }

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

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

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

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

  .contact-page-section { padding: 6rem 0 3rem; }
  .contact-form-wrap { padding: 1.5rem; }

  .benefits-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .benefits-visual { display: none; }

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