/*
Theme Name: Wellesley Learning
Theme URI: https://example.com/wellesley-learning
Author: Your Studio
Author URI: https://example.com
Description: A premium, conversion-focused WordPress theme for B2B corporate training firms.
Version: 1.4.5
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: wellesley-learning
*/

:root {
  --navy: #0c1b30;
  --navy-soft: #17283f;
  --maroon: #6c1b35;
  --maroon-deep: #511126;
  --cream: #eee4d2;
  --ivory: #fcf8f0;
  --beige: #cdbda5;
  --ink: #142238;
  --muted: #625d56;
  --line: rgba(20, 34, 56, 0.14);
  --surface: #fcf8f0;
  --surface-soft: #eee4d2;
  --shadow: 0 38px 90px rgba(70, 42, 35, 0.12), 0 2px 8px rgba(70, 42, 35, 0.06);
  --radius: 4px;
  --font-display: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --font-body: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --container: 1320px;
  color-scheme: light dark;
}

.iwe-section--hidden {
  display: none !important;
}

@media (min-width: 769px) {
  .iwe-section--mobile-only { display: none !important; }
}

@media (max-width: 768px) {
  .iwe-section--desktop-only { display: none !important; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --navy: #091526;
    --navy-soft: #14243a;
    --cream: #d6c6ae;
    --ivory: #111c2d;
    --beige: #c2af92;
    --ink: #f0e8dc;
    --muted: #c8bdb0;
    --line: rgba(238, 228, 210, 0.15);
    --surface: #111c2d;
    --surface-soft: #18263a;
    --shadow: 0 38px 90px rgba(2, 8, 16, 0.36), 0 2px 8px rgba(2, 8, 16, 0.22);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--maroon);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--maroon);
  color: #fffaf2;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 30;
  height: 76px;
  border-bottom: 1px solid rgba(238, 228, 210, 0.14);
  background: var(--navy);
  color: #f8f1e7;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 36px;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.custom-logo-link,
.custom-logo-link img {
  max-height: 38px;
  width: auto;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 88px;
  height: 42px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.primary-nav {
  justify-self: end;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(248, 241, 231, 0.78);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.025em;
  white-space: nowrap;
  transition: color 180ms ease;
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
  color: #fffaf2;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--maroon);
  color: #fffaf2;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.018em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(81, 17, 38, 0.2);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.header-cta {
  min-height: 44px;
  padding-inline: 20px;
}

.button:hover,
.header-cta:hover {
  background: var(--maroon-deep);
  box-shadow: 0 16px 36px rgba(81, 17, 38, 0.28);
  transform: translateY(-2px);
}

.button:active,
.header-cta:active {
  transform: translateY(1px) scale(0.99);
}

.button-secondary {
  border-color: rgba(251, 247, 239, 0.42);
  background: transparent;
  color: #fffaf2;
  box-shadow: none;
}

.button-secondary:hover {
  border-color: #fffaf2;
  background: rgba(251, 247, 239, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid rgba(251, 247, 239, 0.32);
  border-radius: var(--radius);
  background: transparent;
  color: #fffaf2;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: calc(100dvh - 76px);
  overflow: hidden;
  background: var(--navy);
  color: #fffaf2;
}

.hero-media {
  position: absolute;
  inset: 0 0 0 48%;
  overflow: hidden;
  border-left: 1px solid rgba(238, 228, 210, 0.12);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(12, 27, 48, 0.72) 19%, rgba(12, 27, 48, 0.05) 68%), linear-gradient(0deg, rgba(12, 27, 48, 0.48), transparent 48%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(0.82) contrast(1.03);
  transform: scale(1.015);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: calc(100dvh - 76px);
  padding-block: 72px 88px;
}

.hero-copy {
  width: min(720px, 59vw);
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--beige);
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.015em;
}

.hero h1 {
  max-width: 12.5ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(54px, 6.4vw, 96px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.93;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero h1 em {
  color: var(--cream);
  font-weight: 400;
}

.hero-intro {
  max-width: 49ch;
  margin: 34px 0 0;
  color: rgba(255, 250, 242, 0.7);
  font-size: clamp(16px, 1.25vw, 18px);
  letter-spacing: 0.012em;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hero-rule {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 4px;
  background: var(--maroon);
}

.impact-strip {
  padding: 0;
  background: var(--surface-soft);
}

.impact-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  min-height: 204px;
}

.impact-lead,
.impact-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px clamp(24px, 3vw, 46px);
  border-left: 1px solid var(--line);
}

.impact-lead {
  padding-left: 0;
  border-left: 0;
}

.impact-lead h2 {
  max-width: 15ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.impact-item strong {
  color: var(--maroon);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.impact-item span {
  max-width: 16ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.015em;
  line-height: 1.55;
}

.section {
  padding-block: clamp(104px, 11vw, 172px);
}

.section-title {
  max-width: 16ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(46px, 5.4vw, 80px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.96;
  text-wrap: balance;
}

.section-intro {
  max-width: 58ch;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 0.008em;
  line-height: 1.75;
}

.programs-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(520px, 1.45fr);
  gap: clamp(72px, 11vw, 164px);
  align-items: start;
}

.programs-heading {
  position: sticky;
  top: 110px;
}

.program-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), color 220ms ease;
}

.program-item:first-child {
  border-top: 1px solid var(--line);
}

.program-item:hover {
  transform: translateX(5px);
  color: var(--maroon);
}

.program-index {
  padding-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.program-item h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.program-item p {
  max-width: 46ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.program-arrow {
  padding-top: 3px;
  color: var(--maroon);
  font-size: 26px;
  line-height: 1;
}

.approach {
  background: var(--surface-soft);
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(56px, 9vw, 128px);
  align-items: center;
}

.approach-image {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.approach-image img {
  width: 100%;
  height: 100%;
  min-height: 700px;
  border-radius: 1px;
  object-fit: cover;
}

.approach-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, rgba(16, 31, 53, 0.54));
}

.approach-content .section-title {
  max-width: 12ch;
}

.approach-steps {
  display: grid;
  gap: 26px;
  margin-top: 56px;
}

.approach-step {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 20px;
}

.step-line {
  position: relative;
  width: 2px;
  height: 100%;
  min-height: 76px;
  margin: 4px auto 0;
  background: var(--beige);
}

.approach-step:first-child .step-line {
  background: var(--maroon);
}

.approach-step h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
}

.approach-step p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.outcomes {
  background: radial-gradient(circle at 78% 18%, rgba(108, 27, 53, 0.18), transparent 30%), var(--navy);
  color: #fffaf2;
}

.outcomes-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(56px, 9vw, 140px);
  align-items: end;
}

.outcomes .section-title {
  max-width: 13ch;
}

.outcomes-copy {
  max-width: 54ch;
  margin: 30px 0 0;
  color: rgba(255, 250, 242, 0.7);
}

.outcome-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 42px 32px;
  margin-top: 58px;
}

.outcome-point {
  padding-top: 16px;
  border-top: 1px solid rgba(205, 189, 165, 0.38);
}

.outcome-point strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.outcome-point span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 250, 242, 0.6);
  font-size: 14px;
}

.outcome-quote {
  margin: 0;
  padding: 10px 0 10px clamp(30px, 4vw, 54px);
  border: 0;
  border-left: 1px solid var(--maroon);
  border-radius: 0;
  background: transparent;
}

.outcome-quote p {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 44px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.outcome-quote footer {
  margin-top: 28px;
  color: rgba(255, 250, 242, 0.64);
  font-size: 14px;
}

.delivery-header {
  max-width: 730px;
  margin-bottom: 68px;
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  grid-template-rows: repeat(2, minmax(220px, auto));
  gap: 10px;
}

.delivery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  min-height: 230px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.delivery-card:first-child {
  grid-row: 1 / 3;
  min-height: 500px;
  background: var(--maroon);
  color: #fffaf2;
}

.delivery-card:nth-child(3) {
  background: var(--navy);
  color: #fffaf2;
}

.delivery-card:nth-child(4) {
  grid-column: 2 / 4;
  background: var(--beige);
  color: #172338;
}

.delivery-card:first-child::before,
.delivery-card:nth-child(3)::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -20%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 250, 242, 0.04), 0 0 0 70px rgba(255, 250, 242, 0.03);
}

.delivery-card h3,
.delivery-card p {
  position: relative;
  z-index: 1;
}

.delivery-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.delivery-card p {
  max-width: 40ch;
  margin: 12px 0 0;
  opacity: 0.74;
  font-size: 13px;
  line-height: 1.65;
}

.contact {
  padding-block: clamp(104px, 11vw, 160px);
  background: var(--cream);
  color: #172338;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(480px, 1.22fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.contact-copy .section-title {
  max-width: 10ch;
}

.contact-copy p {
  max-width: 44ch;
  margin: 24px 0 0;
  color: #554f4a;
}

.contact-details {
  margin-top: 42px;
  font-size: 14px;
}

.contact-details a {
  display: block;
  width: fit-content;
  margin-top: 8px;
  border-bottom: 1px solid rgba(116, 31, 57, 0.4);
  color: var(--maroon);
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 20px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(20, 34, 56, 0.1);
  border-radius: var(--radius);
  background: #fffaf2;
  box-shadow: 0 36px 80px rgba(80, 49, 43, 0.1), 0 2px 8px rgba(80, 49, 43, 0.05);
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: #172338;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #9c9185;
  border-radius: var(--radius);
  background: #fffdf8;
  color: #172338;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #6d665f;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(116, 31, 57, 0.14);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  grid-column: 1 / -1;
}

.form-note {
  max-width: 36ch;
  margin: 0;
  color: #625b55;
  font-size: 12px;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 13px 15px;
  border-radius: var(--radius);
  font-size: 14px;
}

.form-status.success {
  border: 1px solid #537258;
  background: #edf4ec;
  color: #234329;
}

.form-status.error {
  border: 1px solid #9b405a;
  background: #fae9ed;
  color: #701932;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
}

.site-footer {
  padding: 68px 0 32px;
  background: var(--navy);
  color: #fffaf2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
}

.footer-brand p {
  max-width: 34ch;
  margin: 18px 0 0;
  color: rgba(255, 250, 242, 0.6);
  font-size: 14px;
}

.footer-heading {
  margin: 0 0 14px;
  color: var(--beige);
  font-size: 12px;
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  color: rgba(255, 250, 242, 0.72);
  font-size: 14px;
}

.footer-links a:hover {
  color: #fffaf2;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(242, 234, 220, 0.16);
  color: rgba(255, 250, 242, 0.48);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal a {
  color: rgba(255, 250, 242, 0.62);
  transition: color 180ms ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #fffaf2;
}

.homepage-editor-content .entry-content {
  max-width: 920px;
}

.homepage-editor-content .entry-content > :first-child {
  margin-top: 0;
}

.homepage-editor-content .entry-content > :last-child {
  margin-bottom: 0;
}

.content-page {
  min-height: 70dvh;
  padding-block: 90px;
}

.content-page h1 {
  max-width: 18ch;
  margin: 0 0 34px;
  font-size: clamp(42px, 6vw, 78px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.entry-content {
  max-width: 760px;
}

.entry-content a {
  color: var(--maroon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 1024px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .primary-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav.is-open {
    position: fixed;
    inset: 76px 0 0;
    display: block;
    overflow-y: auto;
    padding: 36px 24px;
    background: var(--navy);
  }

  .primary-nav.is-open .primary-menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .primary-nav.is-open .primary-menu a {
    min-height: 58px;
    border-bottom: 1px solid rgba(242, 234, 220, 0.16);
    color: #fffaf2;
    font-size: 20px;
  }

  .hero-media {
    left: 42%;
  }

  .impact-grid {
    grid-template-columns: 1.3fr repeat(3, 1fr);
  }

  .programs-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .programs-heading {
    position: static;
  }

  .approach-grid,
  .outcomes-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .outcome-quote {
    max-width: 680px;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .hero {
    min-height: calc(100dvh - 76px);
  }

  .hero-media {
    inset: 43% 0 0;
  }

  .hero-media::after {
    background: linear-gradient(180deg, var(--navy) 0%, rgba(16, 31, 53, 0.9) 34%, rgba(16, 31, 53, 0.12) 80%), linear-gradient(0deg, rgba(16, 31, 53, 0.42), transparent);
  }

  .hero-media img {
    object-position: 67% center;
  }

  .hero-inner {
    align-items: start;
    min-height: calc(100dvh - 76px);
    padding-top: 56px;
    padding-bottom: 48vh;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    max-width: 9.5ch;
    font-size: clamp(44px, 13vw, 64px);
  }

  .hero-intro {
    margin-top: 20px;
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 24px;
  }

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

  .impact-lead,
  .impact-item {
    min-height: 150px;
    padding: 28px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding-block: 84px;
  }

  .program-item {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .program-arrow {
    display: none;
  }

  .approach-image,
  .approach-image img {
    min-height: 500px;
  }

  .approach-content .section-title,
  .contact-copy .section-title {
    max-width: 12ch;
  }

  .outcome-points {
    grid-template-columns: 1fr;
  }

  .delivery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .delivery-card,
  .delivery-card:first-child,
  .delivery-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .field-full,
  .form-actions,
  .form-status {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-actions .button {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
