:root {
  --primary: #1f2937;
  --secondary: #ffffff;
  --accent: #000000;
  --surface: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.1);
  --soft: rgba(255, 255, 255, 0.12);
  --body-background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.2), transparent 35%),
    var(--primary);
  --hero-background: linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95));
  --panel-background: rgba(255, 255, 255, 0.02);
  --panel-border: 1px solid rgba(255, 255, 255, 0.08);
  --card-figure-background: rgba(255, 255, 255, 0.06);
  --card-figure-border: rgba(255, 255, 255, 0.08);
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-muted-strong: rgba(255, 255, 255, 0.8);
  --modal-background: rgba(15, 23, 42, 0.95);
  --contact-hero-background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.2), rgba(15, 23, 42, 0.95)) no-repeat, rgba(15, 23, 42, 0.7);
  --meet-caipo-background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.25), rgba(0, 0, 0, 0.35)) no-repeat, rgba(15, 23, 42, 0.7);
  --highlights-background: rgba(255, 255, 255, 0.04);
  --hero-overlay: linear-gradient(120deg, rgba(15, 23, 42, 0.25), rgba(15, 23, 42, 0.9));
  --cookie-consent-bg: linear-gradient(135deg, rgba(6, 11, 27, 0.95), rgba(15, 23, 42, 0.95));
  --cookie-consent-border: rgba(255, 255, 255, 0.08);
  --cookie-consent-shadow: 0 25px 60px rgba(15, 23, 42, 0.65);
  --cookie-consent-text: rgba(255, 255, 255, 0.92);
  --cookie-consent-body: rgba(255, 255, 255, 0.85);
  --cookie-consent-link: #c5c9ff;
  --cookie-consent-text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  --dropdown-background: rgba(31, 41, 55, 0.95);
  --dropdown-hover: rgba(255, 255, 255, 0.05);
  --dropdown-border: rgba(255, 255, 255, 0.08);
  --input-background: rgba(15, 23, 42, 0.8);
  --input-border: rgba(255, 255, 255, 0.25);
  --modal-backdrop: rgba(0, 0, 0, 0.65);
  --modal-shadow: rgba(0, 0, 0, 0.8);
  --cta-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  --step-badge-background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.82));
  --step-badge-color: rgba(255, 255, 255, 0.9);
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;

  --orange-450: #f2a23a;
  --orange-500: #e68a00;
  --orange-600: #cf7a00;
  --orange-700: #b56400;

  --amber-500: #d97706;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;

  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;

  --gray-50: #f9fafb;
  --gray-900: #111827;

  --btn-primary-bg: var(--green-700);
  --btn-primary-bg-hover: var(--green-800);
  --btn-primary-bg-active: var(--green-800);
  --btn-primary-text: #ffffff;

  /* Secondary: gentle orange by default; swap to teal by setting bg to var(--teal-700) and text to #ffffff if desired. */
  --btn-secondary-bg: var(--orange-500);
  --btn-secondary-bg-hover: var(--orange-600);
  --btn-secondary-bg-active: var(--orange-600);
  --btn-secondary-text: var(--gray-900);

  --btn-destructive-bg: var(--red-600);
  --btn-destructive-bg-hover: var(--red-700);
  --btn-destructive-bg-active: var(--red-700);
  --btn-destructive-text: #ffffff;

  --focus-ring: 2px solid #2563eb;
  --btn-height: 54px;
  --btn-min-width: 210px;
  color-scheme: dark;
}

:root.theme-light {
  --primary: #f8fafc;
  --secondary: #0f172a;
  --accent: #111827;
  --surface: rgba(255, 255, 255, 0.9);
  --border: rgba(15, 23, 42, 0.15);
  --soft: rgba(15, 23, 42, 0.05);
  --body-background: radial-gradient(circle at 15% 20%, rgba(15, 23, 42, 0.06), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(15, 23, 42, 0.1), transparent 35%),
    var(--primary);
  --hero-background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(248, 250, 252, 0.95));
  --panel-background: rgba(255, 255, 255, 0.9);
  --card-figure-background: rgba(15, 23, 42, 0.08);
  --card-figure-border: rgba(15, 23, 42, 0.12);
  --panel-border: 1px solid rgba(15, 23, 42, 0.12);
  --text-muted: rgba(15, 23, 42, 0.7);
  --text-muted-strong: rgba(15, 23, 42, 0.85);
  --modal-background: #ffffff;
  --contact-hero-background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1), rgba(248, 250, 252, 0.95));
  --meet-caipo-background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.15), rgba(255, 255, 255, 0.9));
  --highlights-background: rgba(255, 255, 255, 0.9);
  --hero-overlay: linear-gradient(120deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.9));
  --cookie-consent-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(226, 232, 240, 0.95));
  --cookie-consent-border: rgba(15, 23, 42, 0.12);
  --cookie-consent-shadow: 0 20px 55px rgba(15, 23, 42, 0.15);
  --cookie-consent-text: rgba(15, 23, 42, 0.9);
  --cookie-consent-body: rgba(15, 23, 42, 0.78);
  --cookie-consent-link: #1d4ed8;
  --cookie-consent-text-shadow: none;
  --dropdown-background: rgba(255, 255, 255, 0.95);
  --dropdown-hover: rgba(15, 23, 42, 0.1);
  --dropdown-border: rgba(15, 23, 42, 0.12);
  --input-background: #ffffff;
  --input-border: rgba(15, 23, 42, 0.25);
  --modal-backdrop: rgba(0, 0, 0, 0.15);
  --modal-shadow: rgba(0, 0, 0, 0.15);
  --cta-gradient: linear-gradient(145deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.01));
  --step-badge-background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 255, 0.9));
  --step-badge-color: #0f172a;
  color-scheme: light;
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--body-background);
  color: var(--secondary);
  min-height: 100vh;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

a {
  text-decoration: none;
}
a:hover,
a:focus-visible {
  text-decoration: none;
}

a:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.site-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0 1.5rem;
  position: relative;
  z-index: 5;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--secondary);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 4px;
}

.logo-mark span {
  width: 100%;
  height: 4px;
  background: var(--secondary);
  display: block;
  border-radius: 2px;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.site-logo {
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-logo img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.logo-copy {
  margin-left: 0.75rem;
  font-size: 1.15rem;
  color: var(--secondary);
  text-decoration: none;
}
.logo-copy:visited {
  color: var(--secondary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-weight: 500;
}

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.95rem;
}

.theme-toggle {
  border: 1px solid var(--dropdown-border);
  background: var(--surface);
  color: var(--secondary);
  font-size: 0.95rem;
  margin-left: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 12px;
  transition: border 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--dropdown-hover);
  background: var(--soft);
  outline: none;
}

.theme-toggle:active {
  transform: translateY(1px);
}

.theme-toggle-icon {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--panel-background);
  box-shadow: inset 0 0 0 1px var(--dropdown-border);
}

.theme-toggle-icon svg {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0;
  transform: rotate(-12deg) scale(0.96);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.theme-toggle[data-theme="light"] .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle[data-theme="dark"] .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .theme-toggle-icon svg {
    transition: none;
    transform: none !important;
  }
}

.theme-toggle-text {
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-caret {
  margin-left: 0.15rem;
  font-size: 0.65rem;
}

.shop-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  z-index: 10;
}

.shop-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: var(--dropdown-background);
  border: 1px solid var(--dropdown-border);
  border-radius: 12px;
  padding: 0.5rem 0;
  box-shadow: 0 15px 45px rgba(15, 23, 42, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  min-width: 220px;
  z-index: 15;
}

.shop-dropdown a {
  display: block;
  padding: 0.65rem 1.2rem;
  color: var(--secondary);
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.shop-dropdown a:hover {
  background: var(--dropdown-hover);
}

.shop-menu:hover .shop-dropdown,
.shop-menu:focus-within .shop-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 70vh;
  padding: 4rem 2rem;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--hero-background);
  box-shadow: 0 30px 100px rgba(15, 23, 42, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 3vw, 3.6rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-dynamic {
  color: var(--accent);
  font-weight: 600;
}

.hero-lede {
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  height: var(--btn-height);
  min-width: var(--btn-min-width);
  max-width: 100%;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: inherit;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  transition: transform 0.08s ease, background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.button--primary,
.btn.primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: 0 12px 28px rgba(21, 128, 61, 0.32);
}

.button--primary:hover,
.btn.primary:hover {
  background: var(--btn-primary-bg-hover);
  box-shadow: 0 14px 30px rgba(21, 128, 61, 0.35);
}

.button--primary:active,
.btn.primary:active {
  background: var(--btn-primary-bg-active);
  transform: translateY(1px);
  box-shadow: 0 10px 22px rgba(21, 128, 61, 0.3);
}

.button--secondary,
.btn.secondary,
.btn.ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.button--secondary:hover,
.btn.secondary:hover,
.btn.ghost:hover {
  background: transparent;
  border-color: #ffffff;
}

.button--secondary:active,
.btn.secondary:active,
.btn.ghost:active {
  background: transparent;
  transform: translateY(1px);
}

.button--secondary:focus-visible,
.btn.secondary:focus-visible,
.btn.ghost:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.button--secondary:hover,
.btn.secondary:hover,
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button--secondary:active,
.btn.secondary:active,
.btn.ghost:active {
  background: rgba(255, 255, 255, 0.12);
}

.button--fluid {
  width: 100%;
  min-width: 0;
}

.shop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  height: var(--btn-height);
  min-width: var(--btn-min-width);
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  color: #ffffff;
  background: transparent;
  font-weight: 700;
  gap: 0.4rem;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.shop-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

.shop-button:active {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(1px);
}

.shop-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.5rem 0 1rem;
}

.shop-button:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.theme-light .shop-button {
  color: var(--accent);
  border-color: rgba(17, 24, 39, 0.7);
}

.theme-light .shop-button:hover {
  background: rgba(17, 24, 39, 0.08);
  border-color: rgba(17, 24, 39, 0.85);
}

.theme-light .shop-button:active {
  background: rgba(17, 24, 39, 0.12);
}

.theme-light .button--secondary,
.theme-light .btn.secondary,
.theme-light .btn.ghost {
  color: var(--accent);
  border: 1px solid rgba(17, 24, 39, 0.6);
}

.theme-light .button--secondary:hover,
.theme-light .btn.secondary:hover,
.theme-light .btn.ghost:hover {
  background: rgba(17, 24, 39, 0.08);
  border-color: rgba(17, 24, 39, 0.75);
}

.theme-light .button--secondary:active,
.theme-light .btn.secondary:active,
.theme-light .btn.ghost:active {
  background: rgba(17, 24, 39, 0.12);
}

.button--destructive {
  background: var(--btn-destructive-bg);
  color: var(--btn-destructive-text);
  box-shadow: 0 12px 26px rgba(220, 38, 38, 0.32);
}

.button--destructive:hover {
  background: var(--btn-destructive-bg-hover);
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.35);
}

.button--destructive:active {
  background: var(--btn-destructive-bg-active);
  transform: translateY(1px);
  box-shadow: 0 10px 22px rgba(220, 38, 38, 0.3);
}

.button:focus-visible,
.btn:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.button[disabled],
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.hero-meta-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-video__source {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video__overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
}

.contact-page {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-hero {
  background: var(--contact-hero-background);
  border-radius: 30px;
  padding: 3rem;
  border: 1px solid var(--panel-border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.contact-hero__copy h1 {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  margin-bottom: 1rem;
}

.contact-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  gap: 1rem;
}

.contact-hero__stats div {
  background: var(--panel-background);
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid var(--panel-border);
}

.contact-hero__stats strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.contact-hero__stats p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.contact-grid article {
  border-radius: 18px;
  padding: 1.25rem;
  background: var(--panel-background);
  border: 1px solid var(--panel-border);
}

.contact-grid h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.contact-grid a {
  color: var(--text-muted-strong);
  text-decoration: none;
}

.contact-form-section {
  border-radius: 28px;
  padding: 2.5rem;
  background: var(--panel-background);
  border: 1px solid var(--panel-border);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted-strong);
}

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid var(--input-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--secondary);
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.contact-form input:hover,
.contact-form textarea:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

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

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  min-width: 220px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.submit-button:hover {
  background: var(--btn-primary-bg-hover);
  box-shadow: 0 12px 28px rgba(21, 128, 61, 0.25);
}

.submit-button:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.submit-button:active {
  transform: translateY(1px);
}

.submit-button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.submit-loading {
  display: none;
}

.submit-button.is-loading .submit-label {
  display: none;
}

.submit-button.is-loading .submit-loading {
  display: inline;
}

.form-confirmation {
  margin: 0.75rem 0 0;
  color: #a7f3d0;
  font-weight: 600;
}

@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
  .form-field--full {
    grid-column: 1;
  }
  .submit-button {
    width: 100%;
  }
}

.contact-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 110;
}

.contact-fab .button {
  border-radius: 32px;
  padding: 0.9rem 1.2rem;
  box-shadow: 0 10px 30px rgba(21, 128, 61, 0.3);
  color: var(--btn-primary-text);
}

.contact-fab .button:hover {
  transform: translateY(-2px);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

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

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--modal-backdrop);
}

.contact-modal__dialog {
  position: relative;
  background: var(--modal-background);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--panel-border);
  box-shadow: 0 25px 70px var(--modal-shadow);
  max-width: 420px;
  width: min(90vw, 420px);
  z-index: 1;
}

.contact-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.contact-form--popup {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.contact-form--popup .full {
  grid-column: 1;
}

.contact-form--popup button {
  width: 100%;
  grid-column: 1;
}

html.contact-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .contact-fab {
    right: 1rem;
    bottom: 1rem;
  }
  .contact-modal__dialog {
    width: calc(100% - 2rem);
  }
}

.meet-caipo {
  margin: 3rem auto;
  max-width: 1100px;
  padding: 2.5rem;
  border-radius: 28px;
  border: 1px solid var(--panel-border);
  background: var(--meet-caipo-background);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.meet-caipo__frame h2 {
  margin: 0.25rem 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.meet-caipo__frame p {
  color: var(--text-muted-strong);
  max-width: 480px;
  line-height: 1.5;
}

.meet-caipo__visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  display: block;
}

.highlights,
.meet-caipo,
.process-section,
.shop-showcase,
.robotics-section,
.blog-section {
  margin: 3rem auto 0;
  max-width: 1100px;
  width: min(100%, 1100px);
}

.highlights,
.meet-caipo,
.process-section,
.shop-showcase,
.robotics-section,
.blog-section {
  padding: 2.5rem;
  border-radius: 28px;
  background: var(--panel-background);
  border: 1px solid var(--panel-border);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
}

.highlights {
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  text-align: center;
}

.highlights article {
  padding: 1rem;
}

.highlight-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  color: var(--secondary);
  background: var(--surface);
}

.highlights h3 {
  margin-bottom: 0.5rem;
}

.highlights p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.grid-section {
  margin-top: 3rem;
  padding: 2.5rem;
  border-radius: 24px;
  background: var(--panel-background);
  border: 1px solid var(--border);
}

.process-section {
  margin: 3rem auto 0;
  padding: 4rem 3.5rem;
  border-radius: 28px;
  background: var(--panel-background);
  border: var(--panel-border);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
  max-width: 2000px;
  text-align: left;
}

.process-cards {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
}

.process-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  min-height: 240px;
  height: 100%;
  justify-content: space-between;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.process-card__cta {
  margin-top: 1rem;
  align-self: center;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.14);
  border-color: rgba(15, 23, 42, 0.18);
}

.process-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(59, 130, 246, 0.12));
  display: grid;
  place-items: center;
  color: var(--secondary);
  margin-bottom: 0.35rem;
}

.process-card__icon svg {
  width: 26px;
  height: 26px;
}

.process-card .robotics-card-figure {
  width: 100%;
  min-height: 220px;
  border-radius: 16px;
  background: var(--card-figure-background);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--card-figure-border);
}

.process-card .robotics-card-figure img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.process-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.process-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 230px;
  margin-left: auto;
  margin-right: auto;
}

.process-card ul {
  align-self: stretch;
  list-style-position: outside;
  padding-left: 1.1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
}

.process-card li {
  margin: 0;
  color: var(--secondary);
  line-height: 1.5;
}

.process-section--families .process-cards {
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  max-width: 2000px;
  gap: 1rem;
}

.process-section--families .process-card {
  min-height: 360px;
  justify-content: space-between;
}

.process-section--partner .process-cards {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  max-width: 1400px;
  gap: 1.25rem;
}

.shop-product-card .shop-product__details {
  align-items: center;
  text-align: center;
}

.shop-product-card .shop-product__details p {
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

.robotics-card-btn {
  width: 100%;
  max-width: 220px;
  justify-content: center;
  border-radius: 999px;
  margin-top: auto;
}

.process-section--families .process-card {
  padding: 1.75rem 1.25rem;
}

.process-section--families .robotics-card-btn {
  max-width: 180px;
  width: 100%;
  min-width: 0;
  align-self: center;
  padding: 0.7rem 1.05rem;
}

@media (max-width: 1100px) {
  .process-section--partner .process-cards {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    max-width: 900px;
  }
}

@media (max-width: 640px) {
  .process-cards {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .process-section--partner .process-cards {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

@media (min-width: 1200px) {
  .process-section--families .process-cards {
    max-width: none;
    grid-template-columns: repeat(5, minmax(200px, 1fr));
    gap: 1.25rem;
  }
}

.process-section--families,
.process-section-families {
  background: transparent !important;
  border: none;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none;
}


.blog-section {
  margin-top: 3rem;
  padding: 2.5rem;
  border-radius: 24px;
  background: var(--panel-background);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-hero {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
  max-height: 460px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04), rgba(15, 23, 42, 0.9));
  display: grid;
  place-items: center;
  position: relative;
}
.blog-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #050b13;
}

@media (max-width: 720px) {
  .blog-hero {
    max-height: none;
    border-radius: 20px;
  }
}

.blog-highlight {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  margin: 1.5rem 0;
}
.blog-highlight img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.blog-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.blog-gallery__item {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.15);
}
.blog-gallery__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-post {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(300px, 1fr);
  gap: 1.25rem;
  align-items: center;
}

.blog-post--fullwidth {
  grid-template-columns: 1fr;
}

.blog-post__image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}

.blog-post__content h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.blog-post__content p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.blog-post__meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.blog-post__footer {
  margin-top: 1rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.theme-light .blog-post__footer {
  color: var(--accent);
}

@media (max-width: 960px) {
  .blog-post {
    grid-template-columns: 1fr;
  }
}

.cta-banner {
  margin-top: 3rem;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  background: center/cover no-repeat
    url("assets/dark/Speciality_Robots.png");
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.85));
}

.cta-banner__content {
  position: relative;
  padding: 3rem;
  max-width: 640px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
  height: 100%;
}

.cta-banner__eyebrow {
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta-banner__heading {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.cta-banner__body {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cta-banner__actions .button {
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  height: var(--btn-height);
  min-width: var(--btn-min-width);
  max-width: 100%;
}

.cta-banner__actions .button--primary {
  box-shadow: 0 14px 32px rgba(21, 128, 61, 0.32);
}

.cta-banner__actions .button--secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.cta-banner__actions .button--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.8);
}

.cta-banner__actions .button--secondary:active {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .cta-banner__content {
    padding: 2rem;
  }
}

.cookie-consent {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  min-width: 340px;
  max-width: 460px;
  width: min(92vw, 460px);
  padding: 1.25rem 1.5rem;
  border-radius: 28px;
  border: 1px solid var(--cookie-consent-border);
  background: var(--cookie-consent-bg);
  box-shadow: var(--cookie-consent-shadow);
  color: var(--cookie-consent-text);
  font-size: 0.95rem;
  z-index: 250;
  flex-wrap: nowrap;
}

.cookie-consent__body {
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
  color: var(--cookie-consent-body);
  flex: 1;
  min-width: 200px;
  text-shadow: var(--cookie-consent-text-shadow);
}

.cookie-consent__link {
  color: var(--cookie-consent-link);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-consent__link:hover,
.cookie-consent__link:focus-visible {
  text-decoration: underline;
}

.cookie-consent__accept {
  border-radius: 999px;
  padding: 0.75rem 1.65rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  box-shadow: 0 20px 40px rgba(21, 128, 61, 0.32);
  align-self: flex-start;
  white-space: nowrap;
}

.cookie-consent__accept:hover,
.cookie-consent__accept:focus-visible {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .cookie-consent {
    right: 1.25rem;
    left: 1.25rem;
    bottom: 1.5rem;
    max-width: none;
    min-width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    width: calc(100% - 2.5rem);
  }

  .cookie-consent__body {
    min-width: 0;
  }

  .cookie-consent__accept {
    width: 100%;
  }
}

.shop-card {
  border: var(--panel-border);
  border-radius: 28px;
  padding: 2rem;
  background: var(--panel-background);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  color: var(--secondary);
}

.shop-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  align-items: center;
}

.shop-card-divider {
  width: 60px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  background: rgba(15, 23, 42, 0.08);
}

.shop-card-divider--educational {
  background: transparent;
}

.shop-card-divider--industrial {
  background: linear-gradient(135deg, #06b6d4, #0f766e);
}

.shop-card-divider--services {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.shop-card-divider--specialty {
  background: linear-gradient(135deg, #f97316, #e11d48);
}


.shop-card-body h3 {
  margin: 0;
  font-size: 1.35rem;
}

.shop-card-body p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.shop-card-figure {
  width: 100%;
  height: 240px;
  border-radius: 20px;
  background: var(--card-figure-background);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--card-figure-border);
}

.shop-card-figure img {
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
}

.shop-card .button--primary {
  width: 100%;
  justify-content: center;
}

.shop-page {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.shop-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  padding: 3rem;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(34, 197, 94, 0.12)), var(--panel-background);
  border: 1px solid var(--panel-border);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

.shop-hero__lede {
  color: var(--text-muted);
  line-height: 1.6;
}

.shop-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}

.shop-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--panel-border);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

.shop-hero__bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.shop-bullet {
  background: var(--surface);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.shop-bullet strong {
  display: block;
  font-size: 1rem;
}

.shop-bullet p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.shop-hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.shop-hero__media {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.shop-hero__frame {
  width: 100%;
  border-radius: 20px;
  background: var(--card-figure-background);
  border: 1px solid var(--card-figure-border);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.shop-hero__frame img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.shop-hero__note {
  background: var(--surface);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  color: var(--text-muted-strong);
  font-size: 0.95rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  width: 100%;
}

.shop-hero__note p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
}

.shop-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--panel-background);
  border: 1px solid var(--panel-border);
  color: var(--secondary);
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.pill-link:hover,
.pill-link:focus-visible {
  background: var(--soft);
  border-color: var(--dropdown-border);
  transform: translateY(-1px);
}

.shop-section-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.5rem 0 1rem;
}

.shop-section-buttons .button {
  min-width: 0;
  padding: 0.65rem 1.2rem;
  height: auto;
}

.shop-collection {
  padding: 2.25rem;
  border-radius: 28px;
  background: var(--panel-background);
  border: 1px solid var(--panel-border);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.shop-collection__grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.shop-collection__grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.shop-product-card {
  background: var(--surface);
  border: 1px solid var(--panel-border);
  border-radius: 22px;
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

.shop-product-card--compact {
  align-items: stretch;
}

.shop-product__figure {
  border-radius: 18px;
  background: var(--card-figure-background);
  border: 1px solid var(--card-figure-border);
  display: grid;
  place-items: center;
  padding: 0.9rem;
  min-height: 220px;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 320px;
  margin: 0 auto;
  overflow: hidden;
}

.shop-product-card--compact .shop-product__figure {
  min-height: 180px;
  max-width: 260px;
}

.shop-product__figure img {
  max-width: 86%;
  max-height: 86%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.shop-product-card--compact .shop-product__figure img {
  max-width: 100%;
  max-height: 100%;
}

.shop-product__details {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
}

.shop-product__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.shop-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 0.04em;
}

.shop-price {
  font-weight: 700;
  color: var(--green-500);
  font-size: 0.95rem;
}

.shop-product__details p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.shop-product__meta {
  list-style: disc;
  padding-left: 1.1rem;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.35rem 1rem;
  color: var(--text-muted);
}

.shop-product__meta li {
  display: list-item;
  align-items: flex-start;
}

.shop-product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

.shop-product__actions .button {
  min-width: 0;
  padding: 0.7rem 1.1rem;
  height: auto;
}

.shop-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--secondary);
  font-weight: 700;
  border: 1px solid var(--panel-border);
}

.shop-cta {
  margin-top: 1rem;
  padding: 1.75rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(99, 102, 241, 0.14)), var(--panel-background);
  border: 1px solid var(--panel-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
}

.shop-cta__content h3 {
  margin: 0 0 0.35rem;
}

.shop-cta__content p {
  margin: 0;
  color: var(--text-muted);
}

.shop-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-section {
  display: flex;
  justify-content: center;
  padding: clamp(1.75rem, 3vw, 3rem);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)), var(--panel-background);
  border: 1px solid var(--panel-border);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
}

.feature-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2vw, 2rem);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 1.5vw, 1.5rem);
}

.feature-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--panel-border);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.feature-item h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.feature-item p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .feature-section {
    padding: 1.25rem;
  }
}

@media (max-width: 768px) {
  .shop-hero {
    padding: 2rem;
  }
  .shop-hero__frame img {
    max-height: 320px;
  }
  .shop-product__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .shop-product__meta {
    grid-template-columns: 1fr;
  }
  .shop-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .shop-hero__bullets {
    grid-template-columns: 1fr;
  }
  .shop-collection {
    padding: 1.5rem;
  }
  .shop-collection__grid {
    grid-template-columns: 1fr;
  }
}

.page-article {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 24px;
  background: var(--panel-background);
  border: 1px solid var(--border);
}

.page-article article {
  max-width: 820px;
}

.page-article h1 {
  margin-top: 0;
}

.page-article ul {
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.page-article li {
  margin-bottom: 0.5rem;
}

.product-page {
  margin: 3rem auto 0;
  max-width: 1200px;
}

.product-detail {
  padding: 2.25rem;
  border-radius: 28px;
  background: var(--panel-background);
  border: 1px solid var(--panel-border);
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(280px, 1fr);
  gap: 2rem;
  align-items: start;
}

.product-detail__media {
  display: grid;
  place-items: center;
  background: var(--card-figure-background);
  border-radius: 20px;
  border: 1px solid var(--card-figure-border);
  padding: 1.25rem;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.product-detail__media img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-gallery {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.product-gallery img {
  width: 100%;
  border-radius: 12px;
  background: var(--card-figure-background);
  border: 1px solid var(--card-figure-border);
  padding: 0.5rem;
  object-fit: contain;
}

.product-detail__info h1 {
  margin: 0.2rem 0 0.65rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.product-detail__lede {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.product-detail__bullets {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.product-detail__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-fab {
  position: fixed;
  right: min(4vw, 1.25rem);
  bottom: min(4vw, 1.25rem);
  z-index: 200;
}

.product-fab button {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.12s ease, box-shadow 0.15s ease;
}

.product-fab button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.25);
}

.product-fab button:active {
  transform: translateY(0);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
}

.product-fab button:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.22);
}

.product-fab--inline {
  position: static;
  right: auto;
  bottom: auto;
  z-index: auto;
  display: inline-flex;
}

.product-fab--inline button {
  margin-left: 0.25rem;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
}

.product-modal.is-visible {
  display: flex;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--modal-backdrop);
}

.product-modal__dialog {
  position: relative;
  background: var(--panel-background);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 1.5rem;
  width: min(92vw, 520px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  max-height: 90vh;
  overflow-y: auto;
}

.product-modal__dialog h3 {
  margin: 0;
}

.product-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
}

.product-modal__close:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.product-form {
  display: grid;
  gap: 0.65rem;
}

.product-form label {
  font-weight: 600;
  font-size: 0.95rem;
}

.product-form input,
.product-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--input-border);
  background: var(--input-background);
  color: var(--secondary);
}

.product-form textarea {
  min-height: 130px;
  resize: vertical;
}

.product-form__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.product-form__note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-rich-content {
  margin: 2rem auto 0;
  padding: 1.75rem;
  border-radius: 20px;
  background: var(--panel-background);
  border: 1px solid var(--panel-border);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  max-width: 1100px;
  display: grid;
  gap: 1.25rem;
}

.product-rich-content__body > *:first-child {
  margin-top: 0;
}

.product-rich-content__body {
  display: grid;
  gap: 1rem;
}

.product-rich-content__body h1,
.product-rich-content__body h2,
.product-rich-content__body h3 {
  margin: 0.35rem 0;
  line-height: 1.3;
  color: var(--secondary);
}

.product-rich-content__body h1 {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.product-rich-content__body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

.product-rich-content__body h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.product-rich-content__body p,
.product-rich-content__body li {
  color: var(--text-muted);
  line-height: 1.6;
}

.product-rich-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

.product-video {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 0.5rem;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
}

.product-video--placeholder {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(16, 185, 129, 0.12));
  border: 1px dashed var(--card-figure-border);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.product-video__placeholder-text {
  font-weight: 700;
  text-align: center;
}

.product-rich-content ul {
  padding-left: 1.1rem;
}

.product-rich-content__body > img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  background: var(--card-figure-background);
  border: 1px solid var(--card-figure-border);
  padding: 0.5rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.product-spec-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-spec-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  background: var(--card-figure-background);
  border: 1px solid var(--card-figure-border);
  padding: 0.5rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

@media (max-width: 640px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .product-detail__media img {
    max-height: 320px;
  }
  .product-page {
    margin-top: 2rem;
  }
}

.category-page {
  margin-top: 3rem;
  padding: 2.5rem;
  border-radius: 24px;
  background: var(--panel-background);
  border: 1px solid var(--panel-border);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.category-hero h1 {
  margin-top: 0;
  font-size: clamp(2.5rem, 4vw, 3.4rem);
}

.category-hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 760px;
  color: var(--text-muted);
}

.category-hero ul {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem;
}

.category-hero ul li {
  margin-bottom: 0;
}

.category-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.category-nav {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.25rem;
  border-radius: 14px;
  background: var(--panel-background);
  border: 1px solid var(--panel-border);
  overflow-x: auto;
  scrollbar-width: thin;
}

.category-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  color: var(--secondary);
  background: transparent;
  border: 1px solid transparent;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.category-nav__link:hover,
.category-nav__link:focus-visible {
  background: var(--soft);
  border-color: var(--dropdown-border);
}

.category-nav__link.is-active {
  background: var(--surface);
  border-color: var(--panel-border);
  color: var(--secondary);
}

.category-search-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.category-search {
  flex: 1;
  min-width: 240px;
  border-radius: 16px;
  border: 1px solid var(--input-border);
  padding: 0.75rem 1rem;
  background: var(--input-background);
  color: var(--secondary);
  font-size: 1rem;
}

.category-results {
  color: var(--text-muted);
  font-weight: 500;
}

.category-sort {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.category-sort select {
  border-radius: 12px;
  border: 1px solid var(--input-border);
  background: var(--input-background);
  color: var(--secondary);
  padding: 0.5rem 0.75rem;
}

.category-grid-wrapper {
  display: block;
}

.offer-tiles {
  margin: 4rem 0 2rem;
}

.offer-tiles .section-heading {
  margin-bottom: 1.5rem;
}

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

@media (max-width: 960px) {
  .offer-tiles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .offer-tiles__grid {
    grid-template-columns: 1fr;
  }
}

.offer-tiles__card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.offer-tiles__card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.offer-tiles__list {
  margin: 0;
  padding-left: 0;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
  list-style-position: inside;
  text-align: center;
}

.offer-tiles__list li {
  line-height: 1.5;
}

.offer-tiles__actions {
  margin-top: auto;
  width: 100%;
}

.offer-tiles .button--primary {
  width: 100%;
  min-width: 0;
  border-radius: 999px;
  justify-content: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.products-section__cta {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

.product-card {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}

.product-card__image {
  border-radius: 16px;
  background: var(--panel-background);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.product-card__image img {
  width: 100%;
  height: 170px;
  object-fit: contain;
}

.product-card__body h3 {
  margin: 0;
  font-size: 1.2rem;
}

.product-card__body p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.4;
}

.product-card__footer {
  margin-top: auto;
}

.product-card__footer .product-cta {
  width: 100%;
  max-width: none;
  min-width: 0;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem;
  height: var(--btn-height);
}

.product-card__footer .product-cta:hover {
  transform: translateY(-1px);
}

@media (max-width: 960px) {
}

@media (max-width: 768px) {
  .category-page {
    padding: 1.75rem;
  }
  .category-search-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
}

.shop-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.section-heading h2 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
}

.grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.grid-card {
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.grid-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.case-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.case-card {
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 160px;
}

.case-card--glow {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(236, 72, 153, 0.2));
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 15px 30px rgba(236, 72, 153, 0.3);
}

.cta-section {
  margin-top: 3rem;
}

.cta-card {
  padding: 2.5rem;
  border-radius: 28px;
  background: var(--cta-gradient);
  border: 1px solid var(--border);
}

.cta-card h2 {
  margin-top: 0.2rem;
  margin-bottom: 0.8rem;
}

.cta-card p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.eyebrow {
  letter-spacing: 0.46em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.hero-content,
.section-heading,
.process-step,
.case-card,
.grid-card,
.cta-card {
  position: relative;
}


.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-video__source {
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content h1 {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-shell {
    padding: 1.5rem;
  }
  .site-nav {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .nav-links {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .shop-dropdown {
    right: auto;
    left: 0;
    min-width: 180px;
  }
  .hero {
    min-height: 60vh;
    padding: 3rem 1.25rem;
  }
}

/* HubSpot form readability in dark theme */
:root:not(.theme-light) #hubspot-form,
:root:not(.theme-light) #hubspot-form .hs-form,
:root:not(.theme-light) #hubspot-form .hs-form fieldset,
:root:not(.theme-light) #hubspot-form .hs-form legend,
:root:not(.theme-light) #hubspot-form .hs-form label,
:root:not(.theme-light) #hubspot-form .hs-form p,
:root:not(.theme-light) #hubspot-form .hs-form .hs-richtext,
:root:not(.theme-light) #hubspot-form .hs-form .hs-richtext p,
:root:not(.theme-light) #hubspot-form .hs-form .legal-consent-container,
:root:not(.theme-light) #hubspot-form .hs-form .hs-error-msgs,
:root:not(.theme-light) #hubspot-form .hs-form .hs-error-msgs label,
:root:not(.theme-light) #hubspot-form .hs-form .inputs-list,
:root:not(.theme-light) #hubspot-form .hs-form .inputs-list label {
  color: var(--secondary);
}

:root:not(.theme-light) #hubspot-form .hs-form .hs-form-required {
  color: #f87171;
}

/* HubSpot form readability in light theme */
:root.theme-light #hubspot-form,
:root.theme-light #hubspot-form .hs-form,
:root.theme-light #hubspot-form .hs-form fieldset,
:root.theme-light #hubspot-form .hs-form legend,
:root.theme-light #hubspot-form .hs-form label,
:root.theme-light #hubspot-form .hs-form p,
:root.theme-light #hubspot-form .hs-form .hs-richtext,
:root.theme-light #hubspot-form .hs-form .hs-richtext p,
:root.theme-light #hubspot-form .hs-form .legal-consent-container,
:root.theme-light #hubspot-form .hs-form .hs-error-msgs,
:root.theme-light #hubspot-form .hs-form .hs-error-msgs label,
:root.theme-light #hubspot-form .hs-form .inputs-list,
:root.theme-light #hubspot-form .hs-form .inputs-list label {
  color: var(--secondary);
}

:root.theme-light #hubspot-form .hs-form .hs-form-required {
  color: var(--red-600);
}
