/*
Theme Name: Cast Soldas Light
Template: kadence
Description: Light-first Cast Metais e Soldas theme package built as a sibling of the production child theme.
Version: 1.0.0
Text Domain: cast-light
*/

:root {
  color-scheme: light;
  --cast-bg: #f4f2ec;
  --cast-bg-elevated: rgba(255, 255, 255, 0.84);
  --cast-surface: rgba(255, 255, 255, 0.92);
  --cast-surface-2: rgba(16, 32, 25, 0.04);
  --cast-border: rgba(20, 28, 24, 0.1);
  --cast-border-strong: rgba(31, 139, 86, 0.22);
  --cast-text: #102019;
  --cast-muted: #5f6e67;
  --cast-muted-2: #74827c;
  --cast-accent: #1f8b56;
  --cast-accent-2: #0f6d43;
  --cast-shadow: 0 24px 80px rgba(15, 24, 20, 0.12);
  --cast-radius-xl: 28px;
  --cast-radius-lg: 22px;
  --cast-radius-md: 16px;
  --cast-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f8f5ef 0%, #f3f1ea 52%, #ece7df 100%);
  color: var(--cast-text);
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at top left, rgba(31, 139, 86, 0.11), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(47, 158, 104, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.1));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(244, 242, 236, 0.4) 0%, rgba(244, 242, 236, 0.08) 42%, rgba(232, 227, 217, 0.62) 100%),
    linear-gradient(90deg, rgba(244, 242, 236, 0.08) 0%, rgba(244, 242, 236, 0.16) 50%, rgba(244, 242, 236, 0.08) 100%);
}

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

.wp-block-template-part {
  color: #a3b0ab;
}

.wp-block-template-part a {
  color: inherit;
}

.wp-block-template-part.cast-footer-copybar {
  background: #102019;
  color: #5f6e67;
  padding: 14px 24px;
}

.cast-footer-copybar__text {
  margin: 0;
  text-align: center;
  line-height: 1.6;
}

.cast-page {
  position: relative;
  z-index: 1;
  width: min(100%, var(--cast-max));
  margin: 0 auto;
  padding: 0;
}

.cast-utility-bar {
  position: relative;
  z-index: 20;
  margin: 0;
  padding: 0;
}

.cast-utility-bar__inner {
  width: min(100%, var(--cast-max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 12px 0;
}

.cast-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  margin-bottom: 24px;
}

.cast-header__bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(7, 17, 13, 0.82);
  backdrop-filter: blur(20px);
  box-shadow: var(--cast-shadow);
}

.cast-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.cast-brand-copy {
  display: grid;
  gap: 4px;
  line-height: 1.15;
}

.cast-brand-copy strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--cast-text);
}

.cast-brand-copy span {
  font-size: 0.82rem;
  color: var(--cast-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.cast-nav__toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--cast-border);
  border-radius: 999px;
  padding: 11px 15px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--cast-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.cast-nav__toggle::-webkit-details-marker {
  display: none;
}

.cast-nav__toggle-icon {
  width: 18px;
  height: 12px;
  position: relative;
  display: inline-block;
}

.cast-nav__toggle-icon::before,
.cast-nav__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease, top 180ms ease, bottom 180ms ease, opacity 180ms ease;
}

.cast-nav__toggle-icon::before {
  top: 1px;
  box-shadow: 0 5px 0 currentColor;
}

.cast-nav[open] .cast-nav__toggle-icon::before {
  top: 5px;
  box-shadow: none;
  transform: rotate(45deg);
}

.cast-nav[open] .cast-nav__toggle-icon::after {
  bottom: 5px;
  transform: rotate(-45deg);
}

.cast-nav__panel {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cast-nav__panel a,
.cast-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--cast-muted);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.cast-nav__panel a:hover,
.cast-footer__nav a:hover {
  color: var(--cast-text);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.cast-header__cta {
  white-space: nowrap;
}

.cast-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 22px;
}

.cast-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cast-switch {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--cast-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
}

.cast-switch__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--cast-muted);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.cast-switch__btn:hover {
  color: var(--cast-text);
  transform: translateY(-1px);
}

.cast-switch__btn.is-active {
  background: linear-gradient(180deg, rgba(87, 215, 147, 0.22), rgba(87, 215, 147, 0.12));
  color: var(--cast-text);
}

.cast-brand-mark {
  width: 150px;
  display: inline-block;
  border: 4px solid #ffffff;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.cast-brand-mark img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.cast-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--cast-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cast-muted);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 1rem;
  font-weight: 600;
  backdrop-filter: blur(14px);
}

.cast-lang-switch {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--cast-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
}

.cast-lang-switch__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--cast-muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.cast-lang-switch__btn:hover {
  color: var(--cast-text);
  transform: translateY(-1px);
}

.cast-lang-switch__btn.is-active {
  background: linear-gradient(180deg, rgba(87, 215, 147, 0.22), rgba(87, 215, 147, 0.12));
  color: var(--cast-text);
}

.cast-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 24px 0 54px;
  margin-top: 6px;
}

.cast-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  width: 100%;
}

.cast-hero-copy {
  max-width: 760px;
  display: grid;
  gap: 18px;
}

.cast-eyebrow {
  display: block;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--cast-accent);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.cast-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--cast-accent), transparent);
}

.cast-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  max-width: 12ch;
}

.cast-hero-title {
  display: block;
  max-width: 16ch;
}

.cast-headline-accent {
  color: var(--cast-accent);
  text-shadow: 0 0 32px rgba(87, 215, 147, 0.2);
}

.cast-subheadline {
  max-width: 62ch;
  margin: 0;
  color: #102019;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.75;
}

.cast-about-page,
.cast-how-buy-page,
.cast-contact-page {
  width: 100%;
  padding-bottom: 48px;
}

.cast-page-title--about,
.cast-page-title--how-buy,
.cast-page-title--contact {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  color: #102019;
}

.cast-page-title__inner {
  width: min(100%, var(--cast-max));
  margin: 0 auto;
  padding: 28px 0 36px;
}

.cast-page-title__eyebrow {
  margin: 0 0 18px;
  color: #1f8b56;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cast-page-title__heading {
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  color: #102019;
  max-width: 11ch;
}

.cast-page-title__line {
  display: block;
}

.cast-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 0;
  align-items: center;
}

.cast-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(87, 215, 147, 0.4);
  /* background: linear-gradient(180deg, rgba(87, 215, 147, 0.22), rgba(87, 215, 147, 0.12)); */
  color: var(--cast-text);
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cast-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(87, 215, 147, 0.7);
  background: linear-gradient(180deg, rgba(87, 215, 147, 0.3), rgba(87, 215, 147, 0.14));
}

.cast-cta--secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.cast-cta--secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.cast-cta svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.cast-section {
  padding: 28px 0 74px;
}

.cast-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
}

.cast-section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  letter-spacing: -0.04em;
}

.cast-section-head p {
  margin: 0;
  max-width: 48ch;
  color: var(--cast-muted);
  line-height: 1.65;
}

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

.cast-card {
  border: 1px solid var(--cast-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: var(--cast-radius-lg);
  padding: 22px;
  min-height: 220px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cast-card[role="link"] {
  cursor: pointer;
}

.cast-card:hover {
  transform: translateY(-3px);
  border-color: rgba(87, 215, 147, 0.24);
  background: linear-gradient(180deg, rgba(87, 215, 147, 0.08), rgba(255, 255, 255, 0.03));
}

.cast-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--cast-accent);
  background: rgba(87, 215, 147, 0.08);
  border: 1px solid rgba(87, 215, 147, 0.16);
  margin-bottom: 16px;
}

.cast-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.cast-card p {
  margin: 0;
  color: var(--cast-muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.cast-footer {
  border-top: 1px solid var(--cast-border);
  padding: 24px 0 20px;
  color: var(--cast-muted-2);
  font-size: 0.92rem;
}

.cast-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 18px;
  align-items: center;
}

.cast-footer__block {
  display: grid;
  gap: 8px;
}

.cast-footer__block--center {
  justify-items: center;
  text-align: center;
}

.cast-footer__block--right {
  justify-items: end;
  text-align: right;
}

.cast-footer__block h2 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--cast-text);
}

.cast-footer__eyebrow {
  margin: 0;
  color: var(--cast-accent);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.cast-footer__link {
  color: var(--cast-text);
  font-weight: 600;
}

.cast-footer__brand {
  justify-content: center;
}

.cast-footer__seal {
  width: min(150px, 38vw);
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(87, 215, 147, 0.2);
  background: linear-gradient(180deg, rgba(87, 215, 147, 0.12), rgba(255, 255, 255, 0.03));
  color: var(--cast-text);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.cast-footer__seal img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cast-footer__copy {
  margin: 0;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--cast-muted);
}

.cast-footer__address {
  margin: 0;
  color: var(--cast-muted);
  line-height: 1.6;
}

.cast-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cast-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.cast-modal[hidden] {
  display: none;
}

.cast-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 6, 0.76);
  backdrop-filter: blur(8px);
}

.cast-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: min(88vh, 920px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 17, 13, 0.98), rgba(6, 13, 10, 0.98));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  padding: 28px;
}

.cast-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cast-text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.cast-modal__header {
  padding-right: 44px;
  margin-bottom: 20px;
}

.cast-modal__eyebrow {
  margin: 0 0 10px;
  color: var(--cast-accent);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.cast-modal__subtitle {
  margin: 10px 0 0;
  color: var(--cast-muted);
  line-height: 1.7;
}

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

.cast-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.cast-field span {
  color: var(--cast-text);
  font-size: 0.9rem;
  font-weight: 600;
}

.cast-field input,
.cast-field textarea,
.cast-field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cast-text);
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.cast-field select {
  appearance: none;
  padding-right: 46px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(242, 245, 244, 0.85) 50%),
    linear-gradient(135deg, rgba(242, 245, 244, 0.85) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.cast-field input::placeholder,
.cast-field textarea::placeholder {
  color: rgba(163, 176, 171, 0.72);
}

.cast-field input:focus,
.cast-field textarea:focus,
.cast-field select:focus {
  border-color: rgba(87, 215, 147, 0.45);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(87, 215, 147, 0.12);
}

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

.cast-contact-form__actions {
  display: flex;
  justify-content: flex-end;
}

.cast-contact-form__actions .cast-cta {
  border: 0;
  cursor: pointer;
}

body.is-modal-open {
  overflow: hidden;
}

.cast-floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
}

.cast-floating-cta .cast-cta {
  padding: 15px 20px;
  background: #1f8b56;
  border-color: #1f8b56;
  color: #ffffff;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.38);
}

/* .cast-floating-cta .cast-cta:hover {
  background: #1f8b56;
  border-color: #1f8b56;
  color: #ffffff;
} */

.cast-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

/* Product cards (loja / archive-product, single-product) */
.cast-product-card {
  border: 1px solid var(--cast-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: var(--cast-radius-lg);
  padding: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cast-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(87, 215, 147, 0.24);
}

.cast-product-card img {
  border-radius: var(--cast-radius-md);
  background: #fff;
}

.cast-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border: 1px solid var(--cast-border);
  border-radius: var(--cast-radius-md);
  overflow: hidden;
}

.cast-specs-table th,
.cast-specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--cast-border);
  text-align: left;
}

.cast-specs-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--cast-text);
  font-weight: 700;
  width: 32%;
}

.cast-specs-table td {
  color: var(--cast-muted);
}

@media (max-width: 980px) {
  .cast-utility-bar {
    padding-left: 22px;
    padding-right: 22px;
  }

  .cast-utility-bar__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cast-page {
    padding: 22px;
  }

  .cast-header__bar {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .cast-nav {
    justify-self: stretch;
  }

  .cast-nav__panel {
    justify-content: center;
    flex-wrap: wrap;
  }

  .cast-topbar-actions {
    justify-content: center;
  }

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

  .cast-hero {
    padding-bottom: 40px;
  }

  .cast-hero h1 {
    max-width: 14ch;
  }

  .cast-section-head {
    align-items: start;
    flex-direction: column;
  }

  .cast-footer__block--center {
    grid-column: 1 / -1;
  }

  .cast-footer__block--right {
    justify-items: start;
    text-align: left;
  }

  .cast-footer__nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .cast-utility-bar {
    padding: 8px 18px 0;
    margin-bottom: 12px;
  }

  .cast-utility-bar__inner {
    padding: 14px;
    border-radius: 22px;
  }

  .cast-page {
    padding: 18px;
  }

  .cast-topbar-actions {
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cast-header__cta {
    justify-content: center;
  }

  .cast-brand {
    width: 100%;
    justify-content: flex-start;
  }

  .cast-brand-mark {
    width: 134px;
    flex: 0 0 auto;
  }

  .cast-brand-copy {
    gap: 2px;
  }

  .cast-nav {
    border-top: 1px solid var(--cast-border);
    padding-top: 14px;
  }

  .cast-nav__toggle {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }

  .cast-nav__panel {
    display: none;
    padding: 14px 2px 2px;
  }

  .cast-nav[open] .cast-nav__panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cast-nav__panel a {
    justify-content: center;
  }

  .cast-pill {
    font-size: 0.92rem;
  }

  .cast-lang-switch {
    align-self: center;
  }

  .cast-hero {
    padding: 18px 0 40px;
  }

  .cast-hero-copy,
  .cast-card {
    padding: 18px;
  }

  .cast-floating-cta .cast-cta {
    width: auto;
    max-width: calc(100vw - 28px);
    justify-content: center;
    white-space: nowrap;
  }

  .cast-footer__block--right {
    justify-items: center;
    text-align: center;
  }

  .cast-footer__nav {
    justify-content: center;
  }

  .cast-grid,
  .cast-footer__grid {
    grid-template-columns: 1fr;
  }

  .cast-footer__grid {
    gap: 22px;
  }

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

  .cast-modal {
    padding: 12px;
  }

  .cast-modal__dialog {
    padding: 20px;
    border-radius: 22px;
  }

  .cast-modal__header {
    padding-right: 30px;
  }

  .cast-contact-form__actions {
    justify-content: stretch;
  }

  .cast-contact-form__actions .cast-cta {
    width: 100%;
    justify-content: center;
  }
}

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

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