:root {
  --bg: #f5f4f2;
  --bg-muted: #edebe7;
  --bg-strong: #13120f;
  --fg: #1f1e1b;
  --fg-muted: #4c4a43;
  --accent: #1b7f8a;
  --accent-strong: #0f5d6d;
  --accent-soft: rgba(27, 127, 138, 0.12);
  --surface: #ffffff;
  --border: rgba(19, 18, 15, 0.1);
  --font-sans: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --grid-gap: clamp(1.5rem, 3vw, 2.5rem);
  --radius-large: 1.75rem;
  --radius-medium: 1rem;
  --shadow-soft: 0 18px 40px rgba(19, 18, 15, 0.14);
  --shadow-card: 0 10px 32px rgba(19, 18, 15, 0.08);

  /* Enhanced vibrant accents */
  --accent-vibrant: #20a0b0;
  --accent-glow: rgba(32, 160, 176, 0.25);

  /* Gradient variations */
  --gradient-hero: linear-gradient(135deg, #1b7f8a 0%, #20a0b0 50%, #1ba09f 100%);
  --gradient-card: linear-gradient(160deg, rgba(32, 160, 176, 0.12), rgba(237, 235, 231, 0.95));
  --gradient-accent: linear-gradient(90deg, #1b7f8a, #20a0b0);

  /* Complementary warm accents */
  --accent-warm: #d47d45;
  --accent-warm-soft: rgba(212, 125, 69, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 12px 30px rgba(27, 127, 138, 0.25);
  }
  50% {
    box-shadow: 0 12px 40px rgba(32, 160, 176, 0.4);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

p {
  margin: 0 0 1rem;
  color: var(--fg-muted);
}

.page-wrap {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.2rem, 4vw, 3rem);
  padding: 0.6rem 5vw;
  max-width: max-width: none;
  width: 80%; #var(--max-width);
  margin: 0 auto;
  background-color: rgba(245, 244, 242, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(19, 18, 15, 0.05);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0;
}

.brand-logo img {
  display: block;
  height: 58px;
}

.primary-nav {
  display: flex;
  align-items: center;
  margin: 0 clamp(1rem, 3vw, 2.5rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.3rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.nav-links a:hover {
  color: var(--fg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  padding: 0.5rem;
  gap: 0.35rem;
}

.nav-toggle-line {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background-color: var(--fg);
  transition: transform 0.3s ease;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.cta-primary {
  background: var(--gradient-accent);
  color: #fdfdfb;
  box-shadow: 0 12px 30px rgba(27, 127, 138, 0.25);
  position: relative;
  overflow: hidden;
  animation: pulseGlow 3s ease-in-out infinite;
}

.cta-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-primary:hover::before {
  width: 300px;
  height: 300px;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(32, 160, 176, 0.35);
}

.cta-secondary {
  background: rgba(27, 127, 138, 0.12);
  color: var(--accent-strong);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-secondary:hover {
  background: rgba(27, 127, 138, 0.2);
  border-color: var(--accent);
  transform: translateY(-2px);
}

main {
  flex: 1 1 auto;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: center;
  padding: calc(3.5rem + 2vw) 5vw 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--bg-strong);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-rendering: optimizeLegibility;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent-strong);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2.5rem;
}

.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2px;
  background: var(--gradient-accent);
}

.lead {
  font-size: 1.1rem;
  max-width: 32rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-figure {
  position: relative;
  width: min(480px, 92vw);
  height: clamp(340px, 58vw, 520px);
  background: radial-gradient(circle at 30% 35%, rgba(27, 127, 138, 0.32), transparent 55%), linear-gradient(160deg, #fdfdfb, #ece8e0);
  border-radius: var(--radius-large);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  padding: clamp(1.4rem, 3vw, 2rem);
  overflow: hidden;
}

.hero-figure::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 63, 75, 0.18), rgba(12, 63, 75, 0.32));
  z-index: 1;
  mix-blend-mode: multiply;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) brightness(0.95);
  z-index: 0;
  object-position: center;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.hero-card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-medium);
  padding: 1.1rem 1.5rem;
  box-shadow: var(--shadow-card);
  min-width: 160px;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

.hero-card:nth-of-type(1) {
  top: 12%;
  left: 6%;
  animation-delay: 0s;
}

.hero-card:nth-of-type(2) {
  bottom: 12%;
  right: 6%;
  animation-delay: 1s;
}

.card-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.card-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.hero-ring {
  position: absolute;
  inset: 12%;
  border-radius: var(--radius-large);
  border: 1px solid rgba(27, 127, 138, 0.35);
  opacity: 0.7;
  z-index: 2;
}

.section {
  padding: 0 5vw 5.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
  color: var(--bg-strong);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.section-heading h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  margin-top: 1rem;
  border-radius: 2px;
}

.mission-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: var(--grid-gap);
  align-items: center;
}

.section-copy h2 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  margin-bottom: 1.5rem;
  color: var(--bg-strong);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: linear-gradient(160deg, rgba(27, 127, 138, 0.08), rgba(237, 235, 231, 0.85));
  padding: 2rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(19, 18, 15, 0.12);
}

.stat-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.solutions-section {
  background: linear-gradient(165deg, rgba(32, 160, 176, 0.06), rgba(237, 235, 231, 1));
  border-radius: var(--radius-large);
  padding-top: 5rem;
  padding-bottom: 5rem;
  margin-top: 4rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-top: 3rem;
}

.tech-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--grid-gap);
  align-items: start;
  margin-top: 4rem;
  padding-top: 5rem;
}

.tech-aside {
  display: grid;
  gap: 1.5rem;
}

.tech-copy h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--bg-strong);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.tech-figure {
  margin: 0;
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.tech-figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(19, 18, 15, 0.16);
}

.tech-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.tech-figure:hover img {
  transform: scale(1.05);
  filter: saturate(1.15) brightness(1.02);
}

.tech-figure--wide img {
  aspect-ratio: 16 / 9;
}

.tech-copy .tech-figure {
  margin-top: 2rem;
}

.tech-gallery {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(1.2rem, 3vw, 2.2rem);
}

.tech-gallery .tech-figure {
  width: clamp(320px, 65vw, 520px);
}

.tech-figure figcaption {
  padding: 0.9rem 1.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: rgba(27, 127, 138, 0.08);

}

.tech-highlights {
  margin: 0;
  padding: 2.5rem;
  list-style: none;
  display: grid;
  gap: 1.5rem;
  border-radius: var(--radius-large);
  background: linear-gradient(160deg, rgba(27, 127, 138, 0.08), rgba(237, 235, 231, 0.85));
  box-shadow: var(--shadow-card);
}

.tech-highlights li {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.tech-highlights span {
  display: block;
  font-weight: 700;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 0.35rem;
}

.values-section {
  margin-top: 4rem;
  padding-top: 5rem;
  position: relative;
}

.values-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: radial-gradient(ellipse at top, rgba(32, 160, 176, 0.08), transparent);
  pointer-events: none;
}

.values-media {
  margin: 2.5rem auto;
  max-width: min(720px, 100%);
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.values-photo {
  display: block;
  width: 100%;
  height: clamp(240px, 40vw, 420px);
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05);
  transition: transform 0.5s ease, filter 0.4s ease;
}

.values-media:hover .values-photo {
  transform: scale(1.03);
  filter: saturate(1.12) brightness(1.02);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-top: 3rem;
}

.value-card {
  background: var(--surface);
  border-radius: var(--radius-medium);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.value-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(19, 18, 15, 0.12);
  border-color: rgba(27, 127, 138, 0.2);
}

.value-card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--bg-strong);
}

.value-card p {
  margin: 0;
}

.solution-card {
  background: var(--surface);
  border-radius: var(--radius-medium);
  padding: 2.4rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(19, 18, 15, 0.14);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(32, 160, 176, 0.04));
}

.solution-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.solution-card li {
  font-size: 0.95rem;
  padding-left: 1.2rem;
  position: relative;
  color: var(--fg);
}

.solution-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.process-section {
  padding-top: 5rem;
}

.timeline {
  margin-top: 3rem;
  border-left: 1px solid rgba(27, 127, 138, 0.25);
  padding-left: 2.5rem;
  position: relative;
}

.timeline-stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  position: relative;
}

.timeline-stage::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 2rem;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--accent);
}

.timeline-stage:not(:last-child)::after {
  content: '';
  position: absolute;
  left: -2.0rem;
  top: calc(50% + 1rem);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.stage-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(27, 127, 138, 0.1);
  color: var(--accent-strong);
  letter-spacing: 0.08em;
}

.stories-section {
  padding-top: 5rem;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-top: 3rem;
}

.story-card {
  background: var(--surface);
  border-radius: var(--radius-medium);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-tag {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0;
}

.story-link {
  font-weight: 600;
  color: var(--accent-strong);
}

.cta-section {
  padding-top: 0;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--grid-gap);
  background: var(--bg-strong);
  color: var(--surface);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

.cta-panel h2 {
  color: inherit;
  margin: 0;
}

.contact-section {
  padding-top: 5rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--grid-gap);
  padding: 3.2rem;
  border-radius: var(--radius-large);
  background: linear-gradient(135deg, rgba(32, 160, 176, 0.14), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-soft);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(31, 30, 27, 0.2);
  border-radius: 0.8rem;
  padding: 0.85rem 1rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27, 127, 138, 0.16);
}

.form-note {
  font-size: 0.85rem;
  margin: 0;
  color: var(--fg-muted);
}

/* Form validation states */
.contact-form input.valid,
.contact-form textarea.valid {
  border-color: #28a745;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2328a745' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.contact-form input.error,
.contact-form textarea.error {
  border-color: #dc3545;
  background-color: rgba(220, 53, 69, 0.05);
}

/* Form messages */
.form-message {
  padding: 1rem 1.5rem;
  border-radius: 0.8rem;
  margin-top: 1rem;
  animation: fadeInUp 0.5s ease;
}

.form-success {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #155724;
}

.form-error {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #721c24;
}

.form-message p {
  margin: 0;
  color: inherit;
}

/* Hidden honeypot field */
.hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Submit button loading state */
.cta-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  animation: none;
}

.site-footer {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 5vw 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(19, 18, 15, 0.08);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  color: var(--fg-muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0;
}

.footer-brand img {
  display: block;
  height: 38px;
}

.footer-note {
  color: var(--fg-muted);
  text-align: right;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Scroll Animation Utilities */
.animate-on-scroll {
  opacity: 0;
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease forwards;
}

.animate-slideInRight {
  animation: slideInRight 0.8s ease forwards;
}

.animate-scaleIn {
  animation: scaleIn 0.7s ease forwards;
}

/* Stagger delays for grid items */
.animate-on-scroll:nth-child(1) { animation-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { animation-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { animation-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { animation-delay: 0.4s; }

@media (max-width: 1024px) {
  .solutions-grid,
  .stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-section {
    grid-template-columns: 1fr;
  }

  .tech-section {
    grid-template-columns: 1fr;
  }

  .tech-gallery {
    grid-template-columns: 1fr;
  }

  .tech-highlights {
    padding: 2rem;
  }

  .values-photo {
    height: clamp(220px, 45vw, 360px);
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: auto;
    justify-items: center;
    text-align: center;
  }

  .footer-nav {
    order: 3;
  }

  .footer-note {
    order: 2;
    text-align: center;
  }
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media {
    order: 1;
  }

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

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 5vw;
    margin-top: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    display: none;
  }

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

  .site-header {
    gap: 1rem;
  }

  .site-header .cta-primary {
    display: none;
  }

  .hero-card:nth-of-type(1) {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-card:nth-of-type(2) {
    right: auto;
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
  }

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

  .solutions-grid,
  .stories-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    text-align: center;
  }

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

  .values-media {
    margin: 2rem 0;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 0.95rem;
  }

  .site-header {
    padding: 1.2rem 1.5rem;
  }

  .hero {
    padding: 4rem 1.5rem 4.5rem;
    gap: 2.5rem;
  }

  .section {
    padding: 0 1.5rem 4rem;
  }

}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
