/* JAPAX — tokens y estilos (Fase 3)
   PLACEHOLDER: colores provisionales hasta manual de marca. */

:root {
  --color-ink: #0b1220;
  --color-steel: #14241f;
  --color-slate: #2c3f38;
  --color-mist: #e8f0ec;
  --color-paper: #f4f7f5;
  --color-japax-blue: #1a4a6e;
  --color-japax-blue-bright: #2a6a94;
  --color-sodick-green: #0f5c45;
  --color-sodick-green-bright: #1a7a5c;
  --color-sodick-gold: #d4af37;
  --color-sodick-gold-deep: #b8942a;
  --color-action: #0f5c45;
  --color-action-hover: #0a4433;
  --color-whatsapp: #25d366;
  --color-white: #ffffff;
  --font-display: "Outfit", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --radius: 6px;
  --container: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-paper);
}

body > main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-sodick-green);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--color-sodick-green-bright);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--color-action);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-action-hover);
  color: var(--color-white);
}

.btn--secondary {
  background: transparent;
  border-color: var(--color-slate);
  color: var(--color-ink);
}

.btn--secondary:hover {
  border-color: var(--color-sodick-gold);
  color: var(--color-sodick-gold-deep);
}

.btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--color-white);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(26, 36, 51, 0.97);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.12rem;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}

.logo img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 148px;
  mix-blend-mode: lighten;
}

.logo:hover {
  color: var(--color-white);
}

.logo span {
  color: var(--color-sodick-gold);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  display: block;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--color-white);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-item--has-sub {
  position: relative;
}

.nav-item--has-sub > button {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  border-radius: 4px;
}

.nav-item--has-sub > button:hover,
.nav-item--has-sub.is-open > button {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.subnav {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 240px;
  background: var(--color-steel);
  border: 1px solid var(--color-slate);
  border-radius: var(--radius);
  padding: 0.4rem;
  list-style: none;
  margin: 0;
  z-index: 20;
}

.nav-item--has-sub.is-open .subnav {
  display: block;
}

.subnav a {
  display: block;
  padding: 0.55rem 0.75rem;
}

.header-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.05rem;
  margin-left: 0.65rem;
  flex-shrink: 0;
}

.header-phone {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.78rem;
  white-space: nowrap;
  line-height: 1.25;
}

.header-phone:hover {
  color: var(--color-white);
}

.site-nav .btn--primary {
  margin-left: 0.5rem;
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .logo img {
    height: 30px;
    max-width: 120px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-phones {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-steel);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--color-slate);
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .subnav {
    position: static;
    display: none;
    min-width: 0;
    margin: 0.25rem 0 0.5rem;
    border: 0;
    background: rgba(0, 0, 0, 0.2);
  }

  .nav-item--has-sub.is-open .subnav {
    display: block;
  }

  .site-nav .btn--primary {
    margin: 0.75rem 0 0;
    width: 100%;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(11, 18, 32, 0.35) 0%,
    rgba(11, 18, 32, 0.55) 40%,
    rgba(11, 18, 32, 0.88) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
  line-height: 1;
}

.hero__cred {
  display: inline-block;
  color: var(--color-sodick-gold);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero__lead {
  max-width: 38ch;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
}

.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3.5rem) 0 3.25rem;
  color: var(--color-white);
  background: var(--color-steel);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 92, 69, 0.45), transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.22), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(15, 92, 69, 0.2), transparent 45%);
  pointer-events: none;
}

.page-hero--media {
  min-height: 52vh;
}

.page-hero--media::before {
  display: none;
}

.page-hero__media,
.page-hero__overlay {
  position: absolute;
  inset: 0;
}

.page-hero__media {
  z-index: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(11, 18, 32, 0.35) 0%,
    rgba(11, 18, 32, 0.58) 42%,
    rgba(11, 18, 32, 0.9) 100%
  );
}

.page-hero .container {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--container));
}

.page-hero .eyebrow {
  color: var(--color-sodick-gold);
}

.page-hero .btn-group {
  margin-top: 1.5rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-white);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: rgba(255, 255, 255, 0.4);
}

.page-hero__lead {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  font-size: 1.08rem;
}

.stats-band {
  padding: 2.75rem 0;
  background: linear-gradient(135deg, var(--color-ink), var(--color-steel) 60%);
  color: var(--color-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
}

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

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-sodick-gold);
  overflow-wrap: break-word;
}

.stat__label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.section {
  padding: 4.5rem 0;
}

.section--mist {
  background: var(--color-mist);
}

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

.section--steel a {
  color: var(--color-sodick-green-bright);
}

.section__intro {
  max-width: 52ch;
  margin-bottom: 2rem;
}

.section__cta {
  margin-top: 2rem;
}

.section__intro p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sodick-green);
  margin-bottom: 0.5rem;
}

.section--steel .eyebrow {
  color: var(--color-sodick-green-bright);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

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

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

@media (max-width: 980px) {
  .grid--3,
  .grid--4,
  .grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-white);
  border: 1px solid rgba(44, 58, 74, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.05);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

a.card:hover {
  transform: translateY(-3px);
  border-color: var(--color-sodick-gold);
  box-shadow: 0 16px 32px rgba(11, 18, 32, 0.14);
  color: inherit;
  text-decoration: none;
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-slate);
}

.card__tag {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-white);
  background: rgba(11, 18, 32, 0.72);
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
}

.card__tag--static {
  position: static;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.catalog-switcher {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  align-items: stretch;
}

.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.catalog-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0 4px 4px 0;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.catalog-item:hover {
  background: var(--color-mist);
}

.catalog-item.is-active {
  background: var(--color-white);
  border-left-color: var(--color-sodick-green);
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.06);
}

.catalog-item__index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-slate);
  width: 1.4rem;
  flex-shrink: 0;
}

.catalog-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-mist);
  color: var(--color-sodick-green);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.catalog-item.is-active .catalog-item__icon {
  background: var(--color-sodick-green);
  color: var(--color-white);
}

.catalog-item__icon svg {
  width: 18px;
  height: 18px;
}

.catalog-item__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.catalog-item__text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-ink);
}

.catalog-item__text small {
  font-size: 0.85rem;
  color: var(--color-slate);
}

.catalog-preview {
  display: grid;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid rgba(44, 58, 74, 0.12);
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.05);
}

.catalog-preview__panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.catalog-preview__panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.catalog-preview__media {
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  background: var(--color-slate);
}

.catalog-preview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-preview__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

@media (max-width: 900px) {
  .catalog-switcher {
    grid-template-columns: 1fr;
  }

  .catalog-preview__panel {
    grid-template-columns: 1fr;
  }

  .catalog-preview__media {
    min-height: 220px;
  }

  .catalog-preview__body {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-preview__panel {
    transition: none;
  }
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__body h3 {
  margin-bottom: 0.4rem;
}

.card__body p {
  color: var(--color-slate);
  font-size: 0.98rem;
  margin-bottom: 0.75rem;
  flex: 1;
}

.card__meta {
  font-size: 0.8rem;
  color: var(--color-sodick-green);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.card__link {
  font-weight: 600;
  color: var(--color-sodick-gold-deep);
  font-size: 0.95rem;
}

.specs {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-slate);
}

.specs li {
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--color-mist);
}

.badge-placeholder {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--color-mist);
  color: var(--color-slate);
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.pillar {
  padding: 1.5rem 1.35rem 1.65rem;
  background: var(--color-white);
  border: 1px solid rgba(44, 58, 74, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.05);
  height: 100%;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

a.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--color-sodick-green);
  box-shadow: 0 16px 32px rgba(11, 18, 32, 0.14);
  color: inherit;
  text-decoration: none;
}

.pillar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--color-mist);
  color: var(--color-sodick-green);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

a.pillar:hover .pillar__icon {
  background: var(--color-sodick-green);
  color: var(--color-white);
}

.pillar__icon svg {
  width: 24px;
  height: 24px;
}

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

.pillar p {
  margin: 0;
  color: var(--color-slate);
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.split--reverse .split__media {
  order: -1;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }
}

.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-slate);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--color-sodick-green);
  border-radius: 1px;
}

.process-flow {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
  counter-reset: process;
}

.process-flow li {
  position: relative;
  padding: 1.15rem 0 1.15rem 3.4rem;
  border-bottom: 1px solid rgba(44, 58, 74, 0.12);
  color: var(--color-slate);
}

.process-flow li:last-child {
  border-bottom: 0;
}

.process-flow li::before {
  counter-increment: process;
  content: "0" counter(process);
  position: absolute;
  left: 0;
  top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-sodick-gold);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}

.chip {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  background: var(--color-white);
  border: 1px solid rgba(44, 58, 74, 0.15);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--color-ink);
  text-decoration: none;
}

.chip:hover {
  border-color: var(--color-sodick-green);
  color: var(--color-sodick-green);
}

.cta-band {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-ink), var(--color-steel) 50%, #0f5c45 85%, #b8942a);
  color: var(--color-white);
}

.cta-band p {
  max-width: 42ch;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .btn-group {
  justify-content: center;
}

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

@media (max-width: 800px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: var(--color-white);
  border: 1px solid rgba(44, 58, 74, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.05);
  height: 100%;
}

.team-card__photo {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(15, 92, 69, 0.18), transparent 55%),
    var(--color-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.team-card__body {
  padding: 1rem 1.15rem 1.25rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

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

.step {
  background: var(--color-white);
  border: 1px solid rgba(44, 58, 74, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.65rem;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.05);
  height: 100%;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--color-sodick-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 0.85rem;
}

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

.step p {
  margin: 0;
  color: var(--color-slate);
  font-size: 0.98rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(44, 58, 74, 0.12);
  border-radius: var(--radius);
  background: var(--color-white);
}

table.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.specs-table th,
.specs-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-mist);
}

.specs-table th {
  font-family: var(--font-body);
  background: var(--color-mist);
  font-weight: 600;
  width: 40%;
}

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

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

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

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

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

.form-field input,
.form-field select,
.form-field textarea {
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(44, 58, 74, 0.25);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-white);
  color: var(--color-ink);
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-sodick-green);
  outline-offset: 1px;
  border-color: var(--color-sodick-green);
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-slate);
  margin-top: 0.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-aside {
  background: var(--color-steel);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem 1.65rem 1.75rem;
}

.contact-aside .eyebrow {
  color: var(--color-sodick-gold);
}

.contact-aside h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.contact-aside p {
  color: rgba(255, 255, 255, 0.85);
}

.contact-aside a {
  color: var(--color-sodick-gold);
}

.contact-aside a:hover {
  color: var(--color-white);
}

.contact-aside .btn--primary {
  color: var(--color-white);
  margin-top: 0.35rem;
}

.contact-aside .footer-lockup {
  margin: 0.25rem 0 1.15rem;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
}

.contact-meta span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-sodick-gold);
  margin-bottom: 0.15rem;
}

.map-embed {
  margin-top: 1.25rem;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-slate);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-grid a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-slate);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.gallery-grid a:hover img {
  transform: scale(1.04);
}

.article {
  max-width: 720px;
  margin: 0 auto;
}

.article__meta {
  font-size: 0.9rem;
  color: var(--color-slate);
  margin-bottom: 1.5rem;
}

.prose p {
  margin-bottom: 1.15rem;
}

.prose h2 {
  margin-top: 2rem;
}

.industry-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(44, 58, 74, 0.12);
}

.industry-block:first-of-type {
  padding-top: 0;
}

.industry-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.industry-block--reverse .industry-block__media {
  order: 1;
}

.industry-block__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-slate);
}

.industry-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.industry-block:hover .industry-block__media img {
  transform: scale(1.04);
}

.industry-block h2 {
  margin-bottom: 0.65rem;
}

.industry-block p {
  margin-bottom: 0;
  color: var(--color-slate);
}

@media (max-width: 720px) {
  .industry-block {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.75rem 0;
  }

  .industry-block--reverse .industry-block__media {
    order: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry-block__media img {
    transition: none;
  }
}

.site-footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.95rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.site-footer h3 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

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

.site-footer li {
  margin-bottom: 0.4rem;
}

.footer-brand {
  margin-bottom: 0.65rem;
}

.footer-brand img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 180px;
  mix-blend-mode: lighten;
}

.footer-sodick {
  display: inline-block;
  background: var(--color-white);
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
  margin: 0.15rem 0 0.35rem;
  line-height: 0;
}

.footer-sodick img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 160px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-top: 1rem;
  line-height: 0;
}

.brand-logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 220px;
}

.footer-lockup {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--color-sodick-gold);
  color: var(--color-sodick-gold);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--color-slate);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--color-sodick-gold);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--color-white);
}

.whatsapp-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s var(--ease);
}

.whatsapp-fab:hover {
  transform: scale(1.06);
  color: var(--color-white);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 110;
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-steel);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-slate);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  display: none;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 220px;
  font-size: 0.9rem;
}

.cookie-banner a {
  color: var(--color-sodick-green-bright);
}

.cookie-banner .btn {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

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

  .card,
  .pillar,
  .whatsapp-fab,
  .gallery-grid img {
    transition: none;
  }

  a.card:hover,
  a.pillar:hover {
    transform: none;
  }
}

.placeholder-note {
  font-size: 0.85rem;
  color: var(--color-slate);
  font-style: italic;
}

.section--steel .placeholder-note {
  color: rgba(255, 255, 255, 0.65);
}

.error-page {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--color-steel);
  color: var(--color-white);
}

.error-page .eyebrow {
  color: var(--color-sodick-gold);
}

.error-page p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 44ch;
}

.error-page .container {
  position: relative;
  z-index: 2;
}

.error-page__blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.error-page__blobs span {
  position: absolute;
  filter: blur(60px);
  opacity: 0.5;
  animation: blobMove 16s var(--ease) infinite;
}

.error-page__blobs span:nth-child(1) {
  width: 420px;
  height: 420px;
  left: -100px;
  top: -80px;
  background: radial-gradient(circle at 30% 30%, var(--color-sodick-green-bright), transparent 70%);
}

.error-page__blobs span:nth-child(2) {
  width: 360px;
  height: 360px;
  right: -80px;
  top: 15%;
  background: radial-gradient(circle at 60% 40%, var(--color-japax-blue-bright), transparent 70%);
  animation-duration: 20s;
  animation-delay: -5s;
}

.error-page__blobs span:nth-child(3) {
  width: 320px;
  height: 320px;
  left: 30%;
  bottom: -140px;
  background: radial-gradient(circle at 50% 50%, var(--color-sodick-gold), transparent 70%);
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes blobMove {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  }
  33% {
    transform: translate(30px, -25px) scale(1.08);
    border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%;
  }
  66% {
    transform: translate(-25px, 25px) scale(0.95);
    border-radius: 35% 65% 55% 45% / 40% 35% 65% 60%;
  }
}

.error-page__mark {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.error-page__mark span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: min(46vw, 460px);
  line-height: 1;
  padding-right: 2%;
  background: linear-gradient(
      120deg,
      transparent 30%,
      var(--color-sodick-gold) 45%,
      var(--color-sodick-green-bright) 55%,
      transparent 70%
    )
    0 0 / 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.18);
  animation: liquidSweep 7s linear infinite;
}

@keyframes liquidSweep {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (max-width: 720px) {
  .error-page__mark {
    justify-content: center;
    opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .error-page__blobs span,
  .error-page__mark span {
    animation: none;
  }

  .error-page__mark span {
    background-position: 50% 0;
  }
}

.prose-legal {
  max-width: 720px;
}

.prose-legal h2 {
  margin-top: 2rem;
}
