/*
 * Orange Moon Ltd — PHP edition
 * Charcoal-first automotive look: near-black surfaces, warm orange brand
 * glow, cream text accents. Bebas Neue display / Barlow body.
 */

:root {
  --background: oklch(0.205 0 0);
  --foreground: oklch(0.96 0.005 75);
  --card: oklch(0.25 0 0);
  --card-foreground: oklch(0.96 0.005 75);
  --primary: oklch(0.705 0.19 47.6);
  --primary-foreground: oklch(0.205 0 0);
  --muted: oklch(0.27 0.008 60);
  --muted-foreground: oklch(0.72 0.012 60);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 14%);
  --ring: oklch(0.705 0.19 47.6);
  --glow: oklch(0.83 0.16 62);
  --radius: 0.75rem;
  --font-display: "Bebas Neue", "Barlow", sans-serif;
  --font-sans: "Barlow", system-ui, sans-serif;
  --container: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  font-weight: 400;
}

p {
  margin: 0;
}

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

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

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

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

::selection {
  background: color-mix(in oklab, var(--primary) 40%, transparent);
  color: var(--foreground);
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------ */
/* Utilities                                                          */
/* ------------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

.heading-display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.text-primary {
  color: var(--primary);
}

.text-gradient {
  background: linear-gradient(120deg, var(--primary), var(--glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glow-orange {
  box-shadow:
    0 0 24px color-mix(in oklab, var(--primary) 35%, transparent),
    0 0 64px color-mix(in oklab, var(--primary) 18%, transparent);
}

.bg-glow-radial {
  background:
    radial-gradient(
      ellipse 60% 45% at 70% 20%,
      color-mix(in oklab, var(--primary) 16%, transparent),
      transparent
    ),
    radial-gradient(
      ellipse 45% 40% at 15% 80%,
      color-mix(in oklab, var(--glow) 8%, transparent),
      transparent
    );
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1rem;
  font-weight: 700;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                            */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-sm svg {
  width: 1rem;
  height: 1rem;
}

.btn-lg {
  padding: 0.875rem 1.5rem;
}

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

.btn-primary:hover {
  background: color-mix(in oklab, var(--primary) 90%, black);
}

.btn-outline {
  border-color: color-mix(in oklab, var(--primary) 50%, transparent);
  color: var(--primary);
}

.btn-outline:hover {
  background: color-mix(in oklab, var(--primary) 10%, transparent);
}

.btn-soft {
  border-color: color-mix(in oklab, var(--primary) 50%, transparent);
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  color: var(--primary);
}

.btn-soft:hover {
  background: color-mix(in oklab, var(--primary) 20%, transparent);
}

/* ------------------------------------------------------------------ */
/* Header                                                             */
/* ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 90%, transparent);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: color-mix(in oklab, var(--background) 75%, transparent);
    backdrop-filter: blur(8px);
  }
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.brand-logo {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--foreground);
}

.brand-sub {
  display: block;
  margin-top: 0.1875rem;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted-foreground);
}

.nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--foreground);
}

.nav-link.is-active {
  color: var(--primary);
}

.nav-cta {
  margin-left: 0.75rem;
}

.menu-toggle {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  padding: 0.5rem 1rem 1rem;
}

.mobile-nav .nav-link {
  padding: 0.75rem;
}

.mobile-nav .btn {
  width: 100%;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* Hero                                                               */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--background),
    color-mix(in oklab, var(--background) 85%, transparent),
    color-mix(in oklab, var(--background) 30%, transparent)
  );
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: 6rem;
}

.eyebrow-top {
  display: inline-block;
  border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
  border-radius: 9999px;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
}

.hero-title {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 3rem;
  color: var(--foreground);
}

.hero-lead {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .hero-content {
    padding-block: 8rem;
  }

  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding-block: 10rem;
  }

  .hero-title {
    font-size: 4.5rem;
  }
}

/* ------------------------------------------------------------------ */
/* Sections                                                           */
/* ------------------------------------------------------------------ */

.section {
  padding-block: 4rem;
}

.section-alt {
  background-color: transparent;
}

.section-divider {
  border-block: 1px solid var(--border);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-title {
  font-size: 2.25rem;
  color: var(--foreground);
}

.section-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
}

.section-intro {
  margin-top: 0.5rem;
  max-width: 36rem;
  color: var(--muted-foreground);
}

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

.grid-featured {
  margin-top: 2.5rem;
}

.grid-reasons {
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .section {
    padding-block: 5rem;
  }

  .section-title {
    font-size: 3rem;
  }

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

  .grid-reasons {
    margin-top: 2.5rem;
  }
}

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

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

/* ------------------------------------------------------------------ */
/* Cards                                                              */
/* ------------------------------------------------------------------ */

.card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
}

.card-link {
  display: block;
  transition: border-color 0.2s ease;
}

.card-link:hover {
  border-color: color-mix(in oklab, var(--primary) 50%, transparent);
}

.media-square {
  aspect-ratio: 1;
  overflow: hidden;
}

.media-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-link:hover .media-square img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  color: var(--foreground);
}

.card-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.5rem;
}

.icon-badge {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: color-mix(in oklab, var(--primary) 15%, transparent);
  color: var(--primary);
}

.icon-badge svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-title {
  margin-top: 1rem;
  font-size: 1.25rem;
  color: var(--foreground);
}

.feature-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* ------------------------------------------------------------------ */
/* Call to action                                                     */
/* ------------------------------------------------------------------ */

.cta-panel {
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  border-radius: 1.5rem;
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--primary) 15%, transparent),
    var(--card) 55%,
    var(--card)
  );
  padding: 2.5rem;
  text-align: center;
}

.cta-title {
  font-size: 2.25rem;
  color: var(--foreground);
}

.cta-text {
  margin: 0.75rem auto 0;
  max-width: 32rem;
  color: var(--muted-foreground);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .cta-panel {
    padding: 3.5rem;
  }

  .cta-title {
    font-size: 3rem;
  }
}

/* ------------------------------------------------------------------ */
/* Page hero                                                          */
/* ------------------------------------------------------------------ */

.page-hero {
  border-bottom: 1px solid var(--border);
}

.page-hero-content {
  padding-block: 4rem;
}

.page-title {
  margin-top: 0.75rem;
  max-width: 42rem;
  font-size: 3rem;
  color: var(--foreground);
}

.page-lead {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .page-hero-content {
    padding-block: 5rem;
  }

  .page-title {
    font-size: 3.75rem;
  }
}

/* ------------------------------------------------------------------ */
/* Products                                                           */
/* ------------------------------------------------------------------ */

.product-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.product-card {
  display: grid;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--card);
}

.product-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.product-placeholder {
  display: flex;
  aspect-ratio: 16 / 9;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background:
    radial-gradient(
      ellipse 60% 45% at 70% 20%,
      color-mix(in oklab, var(--primary) 16%, transparent),
      transparent
    ),
    radial-gradient(
      ellipse 45% 40% at 15% 80%,
      color-mix(in oklab, var(--glow) 8%, transparent),
      transparent
    );
}

.product-placeholder .heading-display {
  font-size: 1.875rem;
  color: color-mix(in oklab, var(--primary) 80%, transparent);
}

.product-body {
  padding: 2rem;
}

.product-title {
  font-size: 1.875rem;
  color: var(--foreground);
}

.product-text {
  margin-top: 0.75rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.check-list li {
  display: flex;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.4375rem;
  border-radius: 9999px;
  background: var(--primary);
}

@media (min-width: 640px) {
  .product-title {
    font-size: 2.25rem;
  }
}

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

  .product-card.is-reversed > :first-child {
    order: 2;
  }

  .product-media,
  .product-placeholder {
    aspect-ratio: 4 / 3;
    height: 100%;
  }

  .product-body {
    padding: 2.5rem;
  }
}

/* ------------------------------------------------------------------ */
/* In-stock product gallery                                           */
/* ------------------------------------------------------------------ */

.gallery-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  transition: border-color 0.2s ease;
}

.gallery-card:hover {
  border-color: color-mix(in oklab, var(--primary) 50%, transparent);
}

.gallery-media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: color-mix(in oklab, var(--background) 60%, black);
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.04);
}

.gallery-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--primary) 92%, black);
  color: var(--primary-foreground);
  padding: 0.3rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gallery-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.gallery-title {
  font-size: 1.375rem;
  color: var(--foreground);
}

.gallery-text {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.gallery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.gallery-actions .btn {
  flex: 1 1 auto;
  white-space: nowrap;
}

.btn-whatsapp {
  background: #25d366;
  color: #052e16;
}

.btn-whatsapp:hover {
  background: #1ebe5b;
}

.js-pay[aria-busy="true"] {
  cursor: progress;
  opacity: 0.7;
}

.payment-note {
  margin-top: 1.5rem;
  padding: 0.875rem 1rem;
  border: 1px dashed color-mix(in oklab, var(--primary) 40%, transparent);
  border-radius: 0.75rem;
  background: color-mix(in oklab, var(--primary) 8%, transparent);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.payment-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 200;
  max-width: min(28rem, calc(100vw - 2rem));
  transform: translate(-50%, 1rem);
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  background: #25d366;
  color: #052e16;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.35);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.payment-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

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

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

/* ------------------------------------------------------------------ */
/* About                                                              */
/* ------------------------------------------------------------------ */

.two-col {
  display: grid;
  gap: 2.5rem;
}

.story-title {
  font-size: 2.25rem;
  color: var(--foreground);
}

.prose {
  margin-top: 1.25rem;
  color: var(--muted-foreground);
}

.prose > * + * {
  margin-top: 1rem;
}

.prose p {
  line-height: 1.7;
}

.values-grid {
  display: grid;
  gap: 1rem;
}

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

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

.banner {
  border-top: 1px solid var(--border);
  background: var(--card);
}

.banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 3rem;
}

.banner-title {
  font-size: 1.875rem;
  color: var(--foreground);
}

.banner-text {
  margin-top: 0.25rem;
  color: var(--muted-foreground);
}

/* ------------------------------------------------------------------ */
/* Contact                                                            */
/* ------------------------------------------------------------------ */

.contact-cards {
  display: grid;
  gap: 1.5rem;
}

.info-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.5rem;
}

.info-title {
  margin-top: 1rem;
  font-size: 1.25rem;
  color: var(--foreground);
}

.info-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.info-list a:hover {
  color: var(--foreground);
}

.info-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.info-link:hover {
  color: color-mix(in oklab, var(--primary) 80%, transparent);
}

.info-link svg {
  width: 1rem;
  height: 1rem;
}

.form-wrap {
  padding-bottom: 5rem;
}

.form-wrap .container {
  max-width: 48rem;
}

.form-card {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--card);
  padding: 2rem;
}

.form-title {
  font-size: 1.875rem;
  color: var(--foreground);
}

.form-intro {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.field {
  display: grid;
  gap: 0.375rem;
}

.field-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--input);
  border-radius: 0.5rem;
  background: var(--background);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
}

.field textarea {
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in oklab, var(--muted-foreground) 60%, transparent);
}

.field input:focus,
.field textarea:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--ring);
}

.form .btn {
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .form-card {
    padding: 2.5rem;
  }

  .form-title {
    font-size: 2.25rem;
  }
}

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

/* ------------------------------------------------------------------ */
/* Footer                                                             */
/* ------------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: var(--foreground);
}

.footer-desc {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-item {
  display: flex;
  gap: 0.5rem;
}

.footer-item svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: 0.125rem;
  color: var(--primary);
}

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

.footer-wa {
  display: inline-block;
  margin-top: 0.125rem;
  border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: var(--primary);
  transition: background-color 0.15s ease;
}

.footer-wa:hover {
  background: color-mix(in oklab, var(--primary) 10%, transparent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

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

/* ------------------------------------------------------------------ */
/* 404                                                                */
/* ------------------------------------------------------------------ */

.notfound {
  display: flex;
  min-height: 60vh;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.notfound-inner {
  max-width: 28rem;
  text-align: center;
}

.notfound-code {
  font-size: 4.5rem;
  color: var(--primary);
}

.notfound-title {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--foreground);
}

.notfound-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.notfound .btn {
  margin-top: 1.5rem;
}

/* ------------------------------------------------------------------ */
/* Motion preferences                                                 */
/* ------------------------------------------------------------------ */

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

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