/* BASCO Refinish landing page */
:root {
  --bg: #050a12;
  --bg-soft: #0b111c;
  --panel: rgba(9, 14, 22, 0.74);
  --panel-border: rgba(255, 255, 255, 0.13);
  --text: #f6f7f9;
  --muted: #b9c0ca;
  --muted-2: #7f8793;
  --accent: #f5c400;
  --accent-soft: rgba(245, 196, 0, 0.18);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 12%, rgba(245, 196, 0, 0.08), transparent 28rem),
    radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.06), transparent 24rem),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("img/noise.svg");
  opacity: 0.18;
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
}

.site-shell {
  min-height: calc(100vh - 72px);
  padding: clamp(16px, 3vw, 36px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 144px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  isolation: isolate;
}

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

.hero__media {
  z-index: -3;
  background-image: url("img/basco-office-hero.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero__overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.96) 0%, rgba(5, 10, 18, 0.86) 42%, rgba(5, 10, 18, 0.28) 100%),
    linear-gradient(0deg, rgba(5, 10, 18, 0.82) 0%, rgba(5, 10, 18, 0.12) 58%, rgba(5, 10, 18, 0.36) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(24px, 5vw, 72px);
  right: clamp(24px, 5vw, 72px);
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.85;
}

.hero__content {
  width: min(760px, 100%);
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 5vw, 52px);
  padding: clamp(28px, 7vw, 88px);
}

.brand-header {
  max-width: 580px;
}

.brand-logo {
  display: block;
  width: min(200px);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.48));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(245, 196, 0, 0.34);
}

.language-panel {
  width: min(640px, 100%);
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(10, 16, 26, 0.82), rgba(10, 16, 26, 0.52));
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.language-panel__intro {
  margin-bottom: 20px;
}

h1 {
  margin: 0;
  font-size: 20px;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.language-panel__intro p {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.language-card {
  position: relative;
  display: flex;
  
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px 20px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.language-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
  transform: scaleY(0.34);
  transform-origin: center;
  opacity: 0.75;
  transition: transform 180ms ease, opacity 180ms ease;
}

.language-card::after {
  content: "→";
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.language-card:hover,
.language-card:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(245, 196, 0, 0.62);
  background: linear-gradient(145deg, rgba(245, 196, 0, 0.15), rgba(255, 255, 255, 0.06));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.language-card:hover::before,
.language-card:focus-visible::before {
  transform: scaleY(1);
  opacity: 1;
}

.language-card:hover::after,
.language-card:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.language-card__name {
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
}

.language-card__meta {
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px 24px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--text);
  text-decoration-color: rgba(245, 196, 0, 0.8);
  text-underline-offset: 5px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
  outline: none;
}

@media (max-width: 760px) {
  .site-shell {
    min-height: auto;
    padding: 12px;
  }

  .hero {
    min-height: auto;
    border-radius: 22px;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(5, 10, 18, 0.94) 0%, rgba(5, 10, 18, 0.84) 48%, rgba(5, 10, 18, 0.94) 100%);
  }

  .hero__content {
    min-height: calc(100vh - 104px);
    justify-content: flex-start;
    padding: 32px 18px 48px;
  }

  .brand-logo {
    width: min(140px, 92vw);
  }

  .language-grid {
    grid-template-columns: 1fr;
  }

  .language-card {
    min-height: 52px;
  }

  .site-footer {
    flex-wrap: wrap;
    min-height: 64px;
    padding-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
