:root {
  --black: #050506;
  --ink: #111116;
  --text: #24222c;
  --muted: #6d6878;
  --white: #ffffff;
  --soft: #f6f3ee;
  --line: rgba(20, 15, 28, 0.12);
  --purple: #5a16a8;
  --purple-bright: #8b32ff;
  --gold: #d6a642;
  --gold-soft: #f3d482;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(7, 5, 11, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

body.dark-theme {
  --ink: #f8f5ff;
  --text: #ece8f4;
  --muted: #c3bdcf;
  --soft: #111018;
  --line: rgba(255, 255, 255, 0.14);
  color: var(--text);
  background: #08070b;
}

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

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

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  width: min(calc(100% - 32px), var(--max));
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(18px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 15, 28, 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(7, 5, 11, 0.08);
}

.brand {
  width: min(190px, 48vw);
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.45vw, 22px);
  margin-left: auto;
  color: rgba(17, 17, 22, 0.72);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--black);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle,
.theme-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--black);
  background: rgba(17, 17, 22, 0.04);
  border: 1px solid rgba(17, 17, 22, 0.12);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none !important;
}

.theme-toggle {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  border-radius: 12px;
  background: rgba(248, 250, 255, 0.72);
  border-color: rgba(17, 17, 22, 0.1);
  box-shadow: 0 10px 26px rgba(21, 15, 32, 0.08);
  appearance: none;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(90, 22, 168, 0.18);
  box-shadow: 0 14px 32px rgba(21, 15, 32, 0.12);
}

.theme-toggle-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, #111832 0 50%, transparent 50% 100%);
  border: 2px solid #111832;
  box-shadow: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.dark-theme .theme-toggle-icon {
  background:
    linear-gradient(90deg, #f8f5ff 0 50%, transparent 50% 100%);
  border-color: #f8f5ff;
}

.theme-toggle:focus-visible {
  outline: 2px solid rgba(214, 166, 66, 0.72);
  outline-offset: 3px;
}

body.dark-theme .site-header {
  background: rgba(12, 10, 17, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

body.dark-theme .site-nav {
  color: rgba(255, 255, 255, 0.72);
}

body.dark-theme .site-nav a:hover,
body.dark-theme .site-nav a[aria-current="page"] {
  color: #fff;
}

body.dark-theme .nav-toggle,
body.dark-theme .theme-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

body.dark-theme .nav-toggle {
  background: rgba(255, 255, 255, 0.08);
}

body.dark-theme .theme-toggle {
  background: rgba(90, 22, 168, 0.32);
  border-color: rgba(214, 166, 66, 0.24);
  box-shadow: 0 12px 30px rgba(90, 22, 168, 0.22);
}

body.dark-theme .theme-toggle:hover {
  background: rgba(90, 22, 168, 0.44);
  border-color: rgba(214, 166, 66, 0.34);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 24% 20%, rgba(90, 22, 168, 0.38), transparent 34%),
    radial-gradient(circle at 80% 10%, rgba(214, 166, 66, 0.22), transparent 28%),
    linear-gradient(135deg, #030304 0%, #0c0712 54%, #050506 100%);
}

.section-light {
  background: var(--white);
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(246, 243, 238, 0.92), rgba(255, 255, 255, 1));
}

body.dark-theme .section-light {
  background: #08070b;
}

body.dark-theme .section-soft {
  background: linear-gradient(180deg, rgba(17, 14, 24, 0.96), rgba(8, 7, 11, 1));
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: clamp(74px, 9vw, 124px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  color: var(--ink);
  background: #ffffff;
}

body.dark-theme .hero {
  color: #fff;
  background: #08070b;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.72) 48%, rgba(255, 255, 255, 0.32) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.62));
  z-index: 1;
}

body.dark-theme .hero::before {
  background:
    linear-gradient(90deg, rgba(8, 7, 11, 0.92) 0%, rgba(8, 7, 11, 0.76) 48%, rgba(8, 7, 11, 0.38) 100%),
    linear-gradient(180deg, rgba(8, 7, 11, 0.18), rgba(8, 7, 11, 0.72));
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.58));
  z-index: 1;
}

body.dark-theme .hero::after {
  background: linear-gradient(180deg, transparent, rgba(8, 7, 11, 0.72));
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  justify-items: start;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: var(--gold-soft);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.4rem, 5vw, 5.1rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.1rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 750;
}

.hero-text,
.page-hero p,
.cta p {
  max-width: 760px;
  color: rgba(17, 17, 22, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.24rem);
}

.section-dark.page-hero p,
.section-dark.cta p {
  color: rgba(255, 255, 255, 0.76);
}

body.dark-theme .hero-text,
body.dark-theme .page-hero p,
body.dark-theme .cta p {
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #120d05;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 18px 42px rgba(214, 166, 66, 0.24);
}

.btn-secondary {
  color: var(--ink);
  border-color: rgba(17, 17, 22, 0.18);
  background: rgba(255, 255, 255, 0.68);
}

body.dark-theme .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.section-dark .btn-secondary,
.cta .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.section,
.cta,
.page-hero {
  padding: clamp(72px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.split-section,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.section > *,
.cta-inner,
.page-hero > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.split-section > *,
.youth-panel > *,
.contact-layout > * {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.section-heading {
  text-align: center;
  max-width: 850px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-heading .eyebrow,
.split-section .eyebrow {
  color: var(--purple);
}

body.dark-theme .section-heading .eyebrow,
body.dark-theme .split-section .eyebrow {
  color: var(--gold-soft);
}

.rich-text {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
}

.rich-text p:first-child {
  margin-top: 0;
}

.card-grid,
.portfolio-grid,
.why-grid,
.blog-grid,
.innovation-steps {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.portfolio-card,
.blog-card,
.step-card,
.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 50px rgba(21, 15, 32, 0.08);
}

body.dark-theme .service-card,
body.dark-theme .portfolio-card,
body.dark-theme .blog-card,
body.dark-theme .step-card,
body.dark-theme .contact-panel,
body.dark-theme .contact-form,
body.dark-theme .mission-strip > div,
body.dark-theme .why-item {
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.service-card {
  min-height: 270px;
  padding: 30px;
}

.service-card svg,
.why-item svg,
.mission-strip svg,
.contact-detail svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
  stroke-width: 1.8;
}

.service-card h2,
.service-card h3,
.portfolio-card h2,
.portfolio-card h3,
.blog-card h2,
.step-card h2 {
  margin-top: 22px;
  font-size: clamp(1.18rem, 1.7vw, 1.45rem);
}

.service-card p,
.portfolio-card p,
.blog-card p,
.step-card p,
.contact-panel p {
  color: var(--muted);
}

.youth-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(34px, 6vw, 84px);
}

.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-item {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 800;
}

body.dark-theme .why-item {
  background: rgba(255, 255, 255, 0.055);
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-grid.large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-card {
  position: relative;
  min-height: 235px;
  padding: 30px;
  overflow: hidden;
}

.portfolio-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--purple), var(--gold));
}

.portfolio-card span,
.step-card span {
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 900;
}

.cta {
  text-align: center;
  padding-top: clamp(52px, 6vw, 84px);
  padding-bottom: clamp(52px, 6vw, 84px);
}

.cta p {
  margin: 22px auto 30px;
}

.page-hero {
  min-height: 430px;
  display: grid;
  align-content: center;
}

.page-hero .eyebrow {
  width: min(100%, var(--max));
  max-width: var(--max);
}

.page-hero h1,
.page-hero p {
  width: min(100%, var(--max));
}

.page-hero > p:not(.eyebrow) {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.mission-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mission-strip > div {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.innovation-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  min-height: 260px;
  padding: 32px;
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  min-height: 280px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.blog-card > p {
  color: var(--purple);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.blog-card a {
  margin-top: auto;
  color: var(--purple);
  font-weight: 900;
}

.careers-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: clamp(84px, 10vw, 138px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

.careers-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.88), rgba(5, 5, 6, 0.58)),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  z-index: 0;
}

.careers-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 26%, rgba(139, 50, 255, 0.28), transparent 26%),
    radial-gradient(circle at 72% 22%, rgba(214, 166, 66, 0.22), transparent 24%),
    radial-gradient(circle at 62% 76%, rgba(90, 22, 168, 0.26), transparent 28%);
  z-index: 1;
}

.careers-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.careers-hero h1 {
  max-width: 1060px;
}

.careers-hero p:not(.eyebrow) {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
}

.career-card-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.career-card {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(21, 15, 32, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.career-card:hover,
.career-why:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 166, 66, 0.42);
  box-shadow: 0 24px 58px rgba(21, 15, 32, 0.14);
}

.career-card svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
  stroke-width: 1.8;
}

.career-card h3 {
  margin-top: 22px;
  font-size: 1rem;
  line-height: 1.22;
}

body.dark-theme .career-card {
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.section-note {
  width: min(100%, var(--max));
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-weight: 700;
  text-align: center;
}

.quote-card {
  margin: 34px 0 0;
  padding: clamp(24px, 4vw, 40px);
  color: var(--white);
  border: 1px solid rgba(214, 166, 66, 0.36);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 18%, rgba(214, 166, 66, 0.2), transparent 32%),
    rgba(255, 255, 255, 0.065);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
}

.career-why {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.career-form {
  width: min(100%, 960px);
  margin: 0 auto;
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(21, 15, 32, 0.08);
}

body.dark-theme .career-form {
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.career-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.career-form input,
.career-form select,
.career-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
}

.career-form textarea {
  resize: vertical;
}

.career-form input[type="file"] {
  padding: 11px 14px;
  color: var(--muted);
}

body.dark-theme .career-form input,
body.dark-theme .career-form select,
body.dark-theme .career-form textarea {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.form-wide {
  grid-column: 1 / -1;
}

.career-form .btn {
  justify-self: start;
}

.closing-statement {
  color: var(--gold-soft);
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.16;
}

.contact-layout {
  max-width: var(--max);
  margin: 0 auto;
}

.contact-panel,
.contact-form {
  padding: clamp(24px, 4vw, 42px);
}

.contact-panel {
  position: sticky;
  top: 120px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
}

body.dark-theme .contact-form input,
body.dark-theme .contact-form select,
body.dark-theme .contact-form textarea {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  width: min(calc(100% - 40px), 1040px);
  margin: 24px auto 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 3vw, 30px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
  border: 1px solid rgba(214, 166, 66, 0.24);
  border-radius: var(--radius);
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.footer-copyright {
  flex: 0 0 auto;
  text-align: left;
}

.footer-credit {
  flex: 1 1 auto;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms ease, transform 640ms ease;
}

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

@media (max-width: 1020px) {
  .site-nav {
    gap: 10px;
    font-size: 0.78rem;
  }

  .split-section,
  .youth-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .portfolio-grid,
  .why-grid,
  .blog-grid,
  .career-card-grid,
  .innovation-steps,
  .mission-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 8px;
    width: min(calc(100% - 20px), var(--max));
    margin-top: 8px;
    padding: 10px 14px;
  }

  .brand {
    width: min(172px, 62vw);
  }

  .nav-toggle {
    display: inline-flex !important;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: 74px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    color: var(--ink);
    border: 1px solid rgba(17, 17, 22, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 8px;
  }

  .hero {
    min-height: auto;
    padding-top: 68px;
    padding-bottom: 86px;
  }

  .services-grid,
  .portfolio-grid,
  .portfolio-grid.large,
  .why-grid,
  .blog-grid,
  .career-card-grid,
  .innovation-steps,
  .mission-strip {
    grid-template-columns: 1fr;
  }

  .careers-hero {
    min-height: auto;
    padding-top: 78px;
    padding-bottom: 90px;
  }

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

  .section-heading {
    text-align: left;
  }

  .service-card,
  .portfolio-card,
  .blog-card,
  .step-card {
    min-height: auto;
  }

  .site-footer {
    width: min(calc(100% - 20px), 1040px);
    margin: 18px auto 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-credit {
    text-align: left;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.28rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero {
    padding-bottom: 78px;
  }

}

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

}
