/* SOLIDEX — styles.css | Mobile-first, grouped by component. */

/* ======================================================================
   01. DESIGN TOKENS
   ====================================================================== */

:root {
  --color-primary: #0071e3;
  --color-violet: #853de1;
  --gradient-brand: linear-gradient(105deg, #065cf6, #5146f3 50%, #a21cf0);
  --color-secondary: #626269;
  --color-text: #1d1d1f;
  --color-background: #fff;
  --color-surface: #f5f5f7;
  --color-border: #dedee3;
  --border-radius: 25px;
}

/* ======================================================================
   02. BASE & ACCESSIBILITY
   ====================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--color-background);
  color: var(--color-text);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a {
  color: inherit;
}

button, input, textarea {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  background: white;
  padding: 10px;
  z-index: 10;
}

.skip-link:focus {
  top: 10px;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -.025em;
  margin: 0;
}

/* ======================================================================
   03. LAYOUT & SHARED SECTIONS
   ====================================================================== */

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

.section {
  padding: 64px 0;
}

.hero, .section-heading {
  text-align: center;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 36px;
}

#proceso {
  border-top: 1px solid var(--color-border);
}

@media (min-width: 640px) {
  .container {
    width: min(1200px, calc(100% - 64px));
  }

  .section {
    padding-block: 80px;
  }
}

/* ======================================================================
   04. NAVIGATION — LOGO, BURGER & LINKS
   ====================================================================== */

.navbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.05em;
}

.logo span {
  color: var(--color-primary);
}

.navbar > .logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
}

.nav-toggle:not([hidden]) {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle:not([hidden]) + .nav_links {
  width: 100%;
  padding: 20px 0 12px;
  gap: 8px;
}

.nav-toggle-icon {
  display: grid;
  gap: 5px;
}

.nav-toggle-icon span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.nav_links {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  font-size: .8rem;
  color: var(--color-secondary);
}

.nav_links[hidden] {
  display: none;
}

.nav_links a {
  text-decoration: none;
  padding-block: 10px;
}

.nav-toggle:not([hidden]) + .nav_links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding-inline: 4px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
}

.nav_links a:hover {
  color: var(--color-primary);
}

@media (hover: hover) {
  .nav-toggle:hover {
    opacity: 0.65;
  }
}

@media (min-width: 640px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    gap: 24px;
  }

  .navbar > .logo {
    min-height: 0;
  }

  .nav_links {
    flex-flow: row wrap;
    justify-content: flex-end;
    gap: 4px 20px;
  }
}

/* ======================================================================
   05. HERO & HEADINGS
   ====================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  padding: 58px 0 0;
}

.eyebrow {
  color: var(--color-primary);
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.title_primary {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 650;
  line-height: 1.13;
  letter-spacing: -.045em;
  margin: 0 0 24px;
  text-wrap: balance;
}

.hero .title_primary {
  font-size: clamp(2.25rem, 7vw, 7rem);
  line-height: 1.05;
  margin-bottom: clamp(24px, 2.5vw, 36px);
}

.hero .eyebrow {
  font-size: clamp(.75rem, 1.4vw, 1.25rem);
  letter-spacing: .16em;
  margin-bottom: clamp(18px, 2vw, 30px);
}

.hero .title_primary span, .example-accent {
  color: var(--color-primary);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hero .title_primary span, .example-accent {
    display: inline-block;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-art {
  position: relative;
  z-index: -1;
  display: block;
  width: 100%;
  height: auto;
  margin: -10px 10px 0 0;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  pointer-events: none;
}

@media (forced-colors: active) {
  .hero .title_primary span, .example-accent {
    background: none;
    color: CanvasText;
  }
}

.content_main_text {
  font-size: 1.05rem;
  color: var(--color-secondary);
  max-width: 700px;
  margin: 0 auto 28px;
}

.hero .content_main_text {
  max-width: 1120px;
  font-size: clamp(1.05rem, 1.9vw, 1.9rem);
  line-height: 1.4;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .hero {
    padding-block: clamp(80px, 6.2vw, 112px) 0;
  }

  .hero-art {
    margin-top: clamp(-90px, -7vw, -44px);
  }

  .content_main_text {
    font-size: 1.2rem;
  }
}

/* ======================================================================
   06. BUTTONS
   ====================================================================== */

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  max-width: 360px;
  margin: 32px auto 0;
}

.btn {
  appearance: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  margin: 0;
  padding: 11px 22px;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--color-primary);
  transition: background-color .2s, color .2s;
}

.btn-secondary, .btn-submit:disabled {
  color: var(--color-primary);
  background: transparent;
}

.btn-primary, .btn-secondary:hover, .btn-submit:enabled {
  color: white;
  background: var(--color-primary);
}

.btn:disabled {
  cursor: default;
}

.hero .btn {
  font-size: .84rem;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 999px;
}

@media (min-width: 375px) {
  .hero .btn-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 380px;
    gap: 8px;
  }
}

@media (min-width: 640px) {
  .hero .btn-group {
    max-width: clamp(400px, 46vw, 600px);
    gap: clamp(12px, 1.6vw, 24px);
    margin-top: clamp(32px, 3vw, 48px);
  }

  .hero .btn {
    font-size: clamp(.9rem, 1.4vw, 1.4rem);
    min-height: clamp(46px, 4.4vw, 72px);
  }
}

/* ======================================================================
   07. CONNECTED OPERATIONS — ILLUSTRATIVE WORKFLOW
   ====================================================================== */

.work-examples {
  border-top: 1px solid var(--color-border);
}

.examples-heading {
  max-width: 1120px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.examples-heading .title_primary {
  margin-bottom: 16px;
}

.examples-heading .content_main_text {
  max-width: 960px;
  margin-bottom: 0;
  text-wrap: balance;
}

.example-icons {
  position: absolute;
}

.workflow-icon, .idea-icon {
  display: block;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--color-primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workflow-example {
  margin: 0;
}

.workflow-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  max-width: 580px;
  margin-inline: auto;
  padding: 12px 0;
}

.workflow-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 66% at 25% 42%, rgb(0 113 227 / .16), transparent 100%),
    radial-gradient(ellipse 48% 66% at 75% 58%, rgb(168 85 247 / .15), transparent 100%);
  mask-image:
    linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(to bottom, transparent, #000 16%, #000 78%, transparent);
  mask-composite: intersect;
}

.workflow-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e1e5ee;
  border-radius: 18px;
  background: var(--color-background);
  box-shadow: 0 12px 28px rgb(39 66 134 / .10);
}

.workflow-panel-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: clamp(1.03rem, 1.65vw, 1.35rem);
  line-height: 1.2;
}

.workflow-orders-list {
  display: grid;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #e6eaf2;
  border-radius: 10px;
  overflow: hidden;
}

.workflow-orders-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px;
}

.workflow-orders-list li + li {
  border-top: 1px solid #e6eaf2;
}

.workflow-order-id {
  font-size: .72rem;
  font-weight: 650;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.workflow-order-lines {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.workflow-order-lines::before, .workflow-order-lines::after {
  content: "";
  display: block;
  height: 4px;
  border-radius: 999px;
  background: #d4d9e3;
}

.workflow-order-lines::after {
  width: 65%;
}

.workflow-status {
  padding: 4px 7px;
  border-radius: 999px;
  background: #e0efff;
  color: #0058bd;
  font-size: .64rem;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
}

.workflow-status-pending {
  background: #f0e7ff;
  color: #7333bc;
}

.workflow-connector {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 120px;
  height: 36px;
  pointer-events: none;
}

.workflow-connector-art, .workflow-connector-mobile, .workflow-step-arrow {
  display: block;
  fill: none;
  stroke: var(--color-primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.workflow-connector-art {
  display: none;
  flex: none;
  width: 72px;
  height: 47px;
  stroke-width: 5;
}

.workflow-connector--violet svg {
  stroke: var(--color-violet);
}

.workflow-connector-mobile {
  flex: none;
  width: 100%;
  height: 100%;
  stroke-width: 3.5;
}

.workflow-flow {
  padding: 18px;
}

.workflow-flow .workflow-panel-title {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.workflow-nodes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.workflow-nodes li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 48px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #eaf3ff;
  font-size: .85rem;
  font-weight: 650;
  line-height: 1.3;
}

.workflow-step-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 16px;
  height: 22px;
  transform: translateX(-50%);
  stroke-width: 1.4;
  z-index: 1;
  pointer-events: none;
}

.workflow-nodes li:nth-child(even) .workflow-step-arrow {
  stroke: var(--color-violet);
}

.workflow-nodes li:last-child {
  background: #f0e7ff;
}

.workflow-nodes li:last-child .workflow-icon,
.workflow-alert .workflow-icon {
  color: var(--color-violet);
}

.workflow-result {
  display: grid;
  min-width: 0;
  justify-items: end;
}

.workflow-analytics {
  width: 100%;
}

.workflow-metrics {
  display: grid;
  gap: 8px;
}

.workflow-sales, .workflow-stock {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e5eaf3;
  background: #f7faff;
  border-radius: 10px;
  font-size: .75rem;
  font-weight: 600;
}

.workflow-sales > span {
  display: grid;
  gap: 5px;
  min-width: 48px;
}

.workflow-sales > span .workflow-icon {
  width: 28px;
  height: 28px;
  justify-self: center;
}

.workflow-bars {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: end;
  gap: 4px;
  height: 55px;
  padding-bottom: 2px;
  border-bottom: 1px solid #dce5f2;
}

.workflow-bars i {
  display: block;
  flex: 1;
  height: 28%;
  border-radius: 3px 3px 0 0;
  background: #b9ddfb;
}

.workflow-bars i:nth-child(2) { height: 44%; }
.workflow-bars i:nth-child(3) { height: 63%; background: #83c1f7; }
.workflow-bars i:nth-child(4) { height: 78%; background: #4e9ef2; }
.workflow-bars i:nth-child(5) { height: 95%; background: var(--color-primary); }

.workflow-stock > span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.workflow-stock .workflow-icon {
  width: 17px;
  height: 17px;
}

.workflow-stock-track {
  flex: 1;
  min-width: 0;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe4ed;
}

.workflow-stock-track i {
  display: block;
  width: 63%;
  height: 100%;
  border-radius: inherit;
  background: var(--color-primary);
}

.workflow-alert {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 245px);
  margin: -8px 8px 0 0;
  padding: 13px;
  border: 1px solid #e7dcfa;
  border-radius: 14px;
  background: #f0e8fb;
  box-shadow: 0 10px 20px rgb(104 65 151 / .10);
}

.workflow-alert .workflow-icon {
  width: 28px;
  height: 28px;
}

.workflow-alert > div {
  min-width: 0;
  padding-left: 10px;
  border-left: 1px solid #d8c9f0;
}

.workflow-alert strong, .workflow-alert span {
  display: block;
  line-height: 1.35;
}

.workflow-alert strong {
  font-size: .9rem;
}

.workflow-alert span {
  color: var(--color-secondary);
  font-size: .78rem;
}

.workflow-example figcaption {
  margin-top: 18px;
  color: var(--color-secondary);
  font-size: .82rem;
  text-align: center;
}

@media (min-width: 640px) {
  .workflow-nodes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .workflow-nodes li {
    flex-direction: column;
    justify-content: center;
    min-height: 108px;
    padding: 10px 5px;
    gap: 10px;
    text-align: center;
    font-size: clamp(.73rem, 1.05vw, .88rem);
    overflow-wrap: break-word;
  }

  .workflow-nodes li > span {
    max-width: 100%;
  }

  .workflow-step-arrow {
    top: 50%;
    left: calc(100% + 10px);
    transform: translate(-50%, -50%) rotate(-90deg);
  }

  .workflow-nodes .workflow-icon {
    width: 31px;
    height: 31px;
  }
}

@media (min-width: 1000px) {
  .workflow-stage {
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.8fr) 64px minmax(0, 1fr);
    max-width: none;
    gap: 0;
    padding: 28px 0 32px;
  }

  .workflow-panel {
    padding: clamp(13px, 1.4vw, 20px);
  }

  .workflow-flow {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 245px;
    padding: clamp(18px, 2vw, 26px);
  }

  .workflow-flow .workflow-panel-title {
    margin-bottom: clamp(18px, 2.2vw, 30px);
  }

  .workflow-orders {
    transform: translateY(12px);
  }

  .workflow-result {
    transform: translateY(-8px);
  }

  .workflow-connector {
    width: 72px;
    height: 47px;
  }

  .workflow-connector-art {
    display: block;
  }

  .workflow-connector-mobile {
    display: none;
  }

  .workflow-alert {
    width: min(100%, 250px);
  }
}

/* ======================================================================
   08. SOLUTION IDEAS — COMPACT CARDS
   ====================================================================== */

.solution-ideas {
  margin-top: clamp(42px, 6vw, 80px);
}

.solution-ideas .title_primary {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin: 0 0 clamp(22px, 3vw, 36px);
  text-align: center;
}

.idea-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.idea-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-background);
}

.idea-card .idea-icon {
  width: 38px;
  height: 38px;
  justify-self: center;
}

.idea-card:nth-child(3) .idea-icon,
.idea-card:nth-child(4) .idea-icon {
  color: var(--color-violet);
}

.idea-card > div {
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid var(--color-border);
}

.idea-card h4 {
  margin: 0 0 4px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.idea-card p {
  margin: 0;
  color: var(--color-secondary);
  font-size: .88rem;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .idea-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .idea-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ======================================================================
   09. SOLUTIONS — CARDS & IMAGES
   ====================================================================== */

#soluciones {
  padding-top: clamp(28px, 3vw, 44px);
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-surface);
  border-radius: var(--border-radius);
}

.solution-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  background: var(--color-surface);
}

.solution-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.card-label {
  font-size: .75rem;
  font-weight: 650;
  color: var(--color-primary);
}

.card h3 {
  margin-top: 8px;
}

.card p, .steps p, .about-copy p {
  color: var(--color-secondary);
  margin: 0 0 10px;
}

.card p {
  line-height: 1.5;
}

.card .example {
  font-size: .85rem;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
  margin: auto 0 0;
}

.solutions-close {
  padding: clamp(44px, 6vw, 80px) 0 0;
  background: var(--color-background);
  text-align: center;
}

.solutions-close .title_primary {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 4vw, 3rem);
}

.solutions-close .title_primary span {
  color: var(--color-primary);
}

@media (min-width: 640px) {
  .card-grid, .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ======================================================================
   10. HOW WE WORK
   ====================================================================== */

.steps {
  display: grid;
  gap: 24px;
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 600;
}

.steps h3 {
  margin-top: 10px;
  font-size: 1.15rem;
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
  }
}

/* ======================================================================
   11. ABOUT
   ====================================================================== */

.about {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--color-border);
}

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

@media (min-width: 1000px) {
  .about {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
}

/* ======================================================================
   12. CONTACT FORM
   ====================================================================== */

.contact {
  border-radius: var(--border-radius);
  background: var(--color-surface);
  padding: 48px 24px;
}

.brief-form {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  margin: auto;
}

.brief-form .btn {
  align-self: center;
  width: 100%;
  max-width: 360px;
}

.brief-form label {
  font-weight: 600;
  font-size: .9rem;
  margin: 0 0 8px;
}

.brief-form input:not([type="checkbox"]), .brief-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #86868b;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 22px;
  background: white;
  color: var(--color-text);
}

.brief-form textarea {
  resize: vertical;
}

.brief-form .form-opt-in {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--color-secondary);
  font-weight: 400;
  cursor: pointer;
}

.form-opt-in input {
  flex: none;
  inline-size: 16px;
  block-size: 16px;
  margin: 3px 0 0;
  accent-color: var(--color-primary);
  cursor: inherit;
}

.form-note, .form-status {
  color: var(--color-secondary);
  font-size: .8rem;
  margin: 16px 0 0;
}

.contact-note {
  max-width: 560px;
  margin-inline: auto;
}

.form-status:empty {
  margin: 0;
}

@media (min-width: 640px) {
  .brief-form .btn {
    width: auto;
  }

  .contact {
    padding-inline: 40px;
  }
}

/* ======================================================================
   13. FOOTER
   ====================================================================== */

.footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 0;
  font-size: .8rem;
  color: var(--color-secondary);
}

.footer p {
  margin: 0;
}

.footer a {
  text-decoration: none;
}

.footer .logo {
  color: var(--color-text);
}

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

@media (min-width: 640px) {
  .footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ACCESSIBILITY — REDUCED MOTION */

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

  .btn {
    transition: none;
  }
}
