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

:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --text: #ffffff;
  --text-muted: #999999;
  --text-dim: #555555;
  --accent: #d42027;
  --accent-hover: #e8333a;
  --border: #1c1c1c;
  --border-light: #2a2a2a;
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  /* Emil Kowalski's recommended strong easing curves */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.red {
  color: var(--accent);
}

/* ===== SKIP LINK — Accessibility P1 ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 0;
}

/* Required field indicator */
.required {
  color: var(--accent);
  font-weight: 600;
}

/* Touch action — reduce 300ms tap delay */
a, button, input, select, textarea, [role="button"] {
  touch-action: manipulation;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  display: block;
  margin-bottom: 2rem;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-progress {
  height: 100%;
  width: 0;
  background: var(--accent);
  animation: preload 1.2s var(--ease-out) forwards;
}

@keyframes preload {
  to { width: 100%; }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 4vw, 60px);
  transition: background-color 0.25s var(--ease-out), padding 0.25s var(--ease-out);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-top: 16px;
  padding-bottom: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text);
}

.header-divider {
  width: 1px;
  height: 20px;
  background: var(--border-light);
}

.header-cta {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  transition: color 0.15s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .header-cta:hover {
    color: var(--accent);
  }
}

.nav-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  transition: transform 0.15s var(--ease-out);
}

.nav-toggle:active {
  transform: scale(0.97);
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 5px);
  gap: 3px;
}

.nav-grid i {
  width: 5px;
  height: 5px;
  background: var(--text);
  transition: background-color 0.15s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav-toggle:hover .nav-grid i {
    background: var(--accent);
  }
}

/* ===== NAV OVERLAY ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 10, 10, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-links {
  list-style: none;
  text-align: center;
}

.nav-links li {
  overflow: hidden;
}

.nav-links a {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 400;
  padding: 0.3em 0;
  transform: translateY(110%);
  transition: transform 0.5s var(--ease-out), color 0.15s var(--ease-out);
}

.nav-overlay.active .nav-links a {
  transform: translateY(0);
}

/* Stagger: 50ms per item (Emil: 30-80ms) */
.nav-links li:nth-child(1) a { transition-delay: 0.05s; }
.nav-links li:nth-child(2) a { transition-delay: 0.1s; }
.nav-links li:nth-child(3) a { transition-delay: 0.15s; }
.nav-links li:nth-child(4) a { transition-delay: 0.2s; }
.nav-links li:nth-child(5) a { transition-delay: 0.25s; }

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    color: var(--accent);
  }
}

/* ===== BUTTONS ===== */
.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid var(--text);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}

.btn-outline:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text);
  }
}

.btn-solid {
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent);
  color: var(--text);
  border: none;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}

.btn-solid:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover {
    background: var(--accent-hover);
  }
}

/* ===== HERO — scroll-driven video ===== */
.hero-scroll-container {
  height: 400vh;
  position: relative;
}

.hero {
  position: sticky;
  top: 0;
  height: 100dvh;
  height: 100vh; /* fallback */
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.35) 50%, rgba(10,10,10,0.15) 100%),
    linear-gradient(to top, rgba(10,10,10,0.95) 0%, transparent 30%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-left: clamp(20px, 8vw, 120px);
  max-width: 700px;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.hero-content.faded {
  opacity: 0;
  transform: translateY(-20px);
}

/* Staggered entrance — 50ms per element */
.anim-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: motionFadeUp 0.5s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes motionFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.hero-title-line {
  display: block;
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.hero-title-line.italic {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.06);
  z-index: 3;
}

.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  will-change: width;
}

/* ===== MOTION-IN (whileInView equivalent) ===== */
/* Animate with transform + opacity only (GPU) */
/* Start from scale(0.97) + opacity — never scale(0) */
.motion-in {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition:
    opacity 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}

.motion-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger: 50ms between siblings */
.motion-in:nth-child(1) { transition-delay: 0s; }
.motion-in:nth-child(2) { transition-delay: 0.05s; }
.motion-in:nth-child(3) { transition-delay: 0.1s; }
.motion-in:nth-child(4) { transition-delay: 0.15s; }
.motion-in:nth-child(5) { transition-delay: 0.2s; }
.motion-in:nth-child(6) { transition-delay: 0.25s; }

/* ===== SECTION COMMON ===== */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1rem;
}

.label-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--accent);
}

.label-text {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

/* ===== SERVICES ===== */
.services {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.services .section-title {
  margin-bottom: 4rem;
}

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

.services-grid--two {
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.services-grid--single {
  grid-template-columns: minmax(0, calc(50% - 1.5px));
  justify-content: center;
  gap: 3px;
}

.service-card {
  background: var(--bg-card);
  padding: 48px 32px;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
  }
}

.service-icon {
  color: var(--accent);
  margin-bottom: 1.5rem;
  transition: transform 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-icon {
    transform: scale(1.1);
  }
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

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

/* ===== PORTFOLIO ===== */
.portfolio {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

/* Marquee — constant motion = linear easing */
.portfolio-marquee {
  overflow: hidden;
  margin: 4rem 0;
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-item {
  width: 280px;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  flex-shrink: 0;
  filter: grayscale(40%);
  transition: filter 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .marquee-item:hover {
    filter: grayscale(0%);
    transform: scale(1.03);
  }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 16px;
  margin-top: 4rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-light);
  border-radius: 6px;
}

.portfolio-item--tall {
  grid-row: span 2;
}

.portfolio-item--wide {
  grid-column: span 2;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
  }
}

.portfolio-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(10,10,10,0.85), transparent);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-item:hover .portfolio-caption {
    transform: translateY(0);
  }
}

/* Touch: always show captions */
@media (hover: none) {
  .portfolio-caption {
    transform: translateY(0);
  }
}

.portfolio-caption span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.portfolio-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 4px;
}

/* ===== TESTIMONIALS - scrolling columns ===== */
.testimonials {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.testimonials-rating {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.testimonials-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  height: 600px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
  margin-top: 3rem;
}

.testimonials-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  will-change: transform;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px;
  flex-shrink: 0;
  transition: border-color 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .testimonial-card:hover {
    border-color: var(--accent);
  }
}

.testimonial-stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
}

.testimonial-author span {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ===== CONTACT ===== */
.contact {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

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

.contact-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 1.5rem 0 3rem;
  max-width: 50ch; /* P6 line-length: ~60-75 chars */
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-detail span:last-child,
.contact-link {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-link {
  text-decoration: none;
  transition: color 0.15s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .contact-link:hover {
    color: var(--accent);
  }
}

/* Form — animate border-color only (GPU friendly) */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem; /* P5: min 16px avoids iOS auto-zoom */
  font-weight: 300;
  padding: 14px 16px;
  min-height: 48px; /* P2: touch-friendly input height */
  transition: border-color 0.15s var(--ease-out);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-card);
}

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

.contact-form .btn-solid {
  align-self: flex-start;
  margin-top: 8px;
}

/* P8: disabled-states — reduced opacity + no pointer */
.btn-solid:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 280px;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.15s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .footer-nav a:hover {
    color: var(--accent);
  }
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.15s var(--ease-out), color 0.15s var(--ease-out), transform 0.12s var(--ease-out);
}

.footer-social a:active {
  transform: scale(0.95);
}

@media (hover: hover) and (pointer: fine) {
  .footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .anim-fade-up {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .motion-in {
    transition: opacity 0.2s ease;
    transform: none;
  }

  .motion-in.visible {
    transform: none;
  }

  .nav-links a {
    transform: none;
    transition: color 0.15s ease;
  }

  .nav-overlay.active .nav-links a {
    transform: none;
  }

  .hero-content {
    transition: opacity 0.2s ease;
  }

  .hero-content.faded {
    transform: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid,
  .services-grid--two {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .testimonials-col--hide-mobile {
    display: none;
  }

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

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }

  .portfolio-item--tall {
    grid-row: span 2;
  }

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

  .footer-top {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .header-cta,
  .header-divider {
    display: none;
  }

  .nav-toggle span {
    display: none;
  }

  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .services-grid,
  .services-grid--two,
  .services-grid--single {
    grid-template-columns: 1fr;
  }

  .testimonials-columns {
    grid-template-columns: 1fr;
    height: 500px;
  }

  .service-card {
    padding: 36px 24px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .portfolio-item--tall {
    grid-row: auto;
  }

  .portfolio-item--wide {
    grid-column: auto;
  }

  .portfolio-caption {
    transform: translateY(0);
  }

  .marquee-item {
    width: 220px;
    height: 140px;
  }

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

  .contact-form .btn-solid {
    width: 100%;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .testimonial-cards {
    min-height: 380px;
  }

  .testimonial-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 600px;
  }

  .hero-desc br {
    display: none;
  }

  .testimonial-cards {
    min-height: 420px;
  }
}
