﻿/* ==========================================================================
   importb2b.pl â€” Design System & Styles
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --color-navy-900: #070e1a;
  --color-navy-800: #0a1628;
  --color-navy-700: #0f1f38;
  --color-navy-600: #162a4a;
  --color-navy-500: #1e3a5f;
  --color-gold-500: #d4a843;
  --color-gold-400: #e0bc63;
  --color-gold-300: #ebd18a;
  --color-white: #ffffff;
  --color-gray-50: #f8f9fa;
  --color-gray-100: #f1f3f5;
  --color-gray-200: #e9ecef;
  --color-gray-300: #dee2e6;
  --color-gray-400: #adb5bd;
  --color-gray-500: #6c757d;
  --color-gray-600: #495057;
  --color-gray-700: #343a40;
  --color-red-500: #e03131;
  --color-green-500: #2f9e44;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.25rem;
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;
  --line-height: 1.6;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .12);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, .18);
  --shadow-gold: 0 4px 20px rgba(212, 168, 67, .25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--line-height);
  color: var(--color-gray-700);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--dark {
  background-color: var(--color-navy-800);
  color: var(--color-white);
}

.section--light {
  background-color: var(--color-gray-50);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-navy-800);
  margin-bottom: var(--space-sm);
}

.section--dark .section__title {
  color: var(--color-white);
}

.section__subtitle {
  font-size: var(--fs-md);
  color: var(--color-gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.section--dark .section__subtitle {
  color: var(--color-gray-400);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
}

.text-gold {
  color: var(--color-gold-500);
}

.text-center {
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-400));
  color: var(--color-navy-900);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 168, 67, .35);
}

.btn-outline {
  border: 2px solid var(--color-gold-500);
  color: var(--color-gold-500);
}

.btn-outline:hover {
  background-color: var(--color-gold-500);
  color: var(--color-navy-900);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: var(--fs-md);
  border-radius: var(--radius-lg);
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-gray-200);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card--dark {
  background: var(--color-navy-700);
  border-color: var(--color-navy-600);
}

.card--dark:hover {
  border-color: var(--color-gold-500);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.35rem 0.85rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge--gold {
  background: rgba(212, 168, 67, .15);
  color: var(--color-gold-500);
}

.badge--green {
  background: rgba(47, 158, 68, .12);
  color: var(--color-green-500);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(10, 22, 40, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition-base);
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.header__logo span {
  color: var(--color-gold-500);
}

.header__nav {
  display: none;
  gap: var(--space-lg);
}

.header__nav a {
  color: var(--color-gray-300);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  transition: color var(--transition-fast);
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold-500);
  transition: width var(--transition-base);
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--color-gold-400);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__cta {
  display: none;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-navy-800);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 999;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  color: var(--color-white);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  transition: color var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--color-gold-400);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--color-navy-900) 0%, var(--color-navy-700) 50%, var(--color-navy-600) 100%);
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 67, .08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 168, 67, .05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) 0;
  text-align: center;
}

.hero__badge {
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.hero__title span {
  color: var(--color-gold-400);
}

.hero__desc {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  max-width: 560px;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hero__stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, .1);
  flex-wrap: wrap;
}

.hero__stat-value {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-gold-400);
}

.hero__stat-label {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  margin-top: var(--space-xs);
}

/* ==========================================================================
   STEPS (JAK TO DZIAĹA)
   ========================================================================== */
.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  counter-reset: step;
}

.step-card {
  position: relative;
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  counter-increment: step;
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-400));
  color: var(--color-navy-900);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-gold);
}

.step-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-navy-800);
  margin-bottom: var(--space-sm);
}

.step-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
}

/* connector line between steps (desktop) */
.step-card__connector {
  display: none;
}

/* ==========================================================================
   WHY US (DLACZEGO MY)
   ========================================================================== */
.why-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.why-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: rgba(212, 168, 67, .1);
  color: var(--color-gold-500);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-lg);
}

.why-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-navy-800);
  margin-bottom: var(--space-sm);
}

.section--dark .why-card__title {
  color: var(--color-white);
}

.why-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
}

.section--dark .why-card__desc {
  color: var(--color-gray-400);
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-navy-800) 0%, var(--color-navy-600) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 168, 67, .1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-banner__desc {
  font-size: var(--fs-md);
  color: var(--color-gray-400);
  margin-bottom: var(--space-xl);
  position: relative;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-navy-800);
  margin-bottom: var(--space-sm);
}

.section--dark .form__label {
  color: var(--color-gray-300);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: var(--fs-base);
  background: var(--color-gray-50);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-gold-500);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, .15);
  background: var(--color-white);
}

.section--dark .form__input,
.section--dark .form__textarea {
  background: var(--color-navy-700);
  border-color: var(--color-navy-600);
  color: var(--color-white);
}

.section--dark .form__input:focus,
.section--dark .form__textarea:focus {
  border-color: var(--color-gold-500);
  background: var(--color-navy-600);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__input.is-error,
.form__textarea.is-error {
  border-color: var(--color-red-500);
}

.form__error {
  font-size: var(--fs-xs);
  color: var(--color-red-500);
  margin-top: var(--space-xs);
  display: none;
}

.form__error.is-visible {
  display: block;
}

/* Honeypot â€” hidden from humans */
.form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.form__submit {
  width: 100%;
}

/* Success / error messages */
.form__message {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold);
  text-align: center;
  display: none;
}

.form__message.is-visible {
  display: block;
  animation: fadeInUp .4s ease;
}

.form__message--success {
  background: rgba(47, 158, 68, .1);
  color: var(--color-green-500);
  border: 1px solid rgba(47, 158, 68, .2);
}

.form__message--error {
  background: rgba(224, 49, 49, .1);
  color: var(--color-red-500);
  border: 1px solid rgba(224, 49, 49, .2);
}

/* Loading spinner */
.btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

.btn.is-loading .spinner {
  display: inline-block;
}

.btn.is-loading .btn__text {
  opacity: 0;
}

/* ==========================================================================
   CALCULATOR
   ========================================================================== */
.calc {
  max-width: 720px;
  margin: 0 auto;
}

.calc__card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-200);
}

.calc__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.calc__input-group {
  display: flex;
  flex-direction: column;
}

.calc__input-group label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-navy-800);
  margin-bottom: var(--space-sm);
}

.calc__input-group input {
  padding: 0.85rem 1rem;
  font-size: var(--fs-md);
  background: var(--color-gray-50);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-align: center;
  font-weight: var(--fw-semibold);
}

.calc__input-group input:focus {
  border-color: var(--color-gold-500);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, .15);
  background: var(--color-white);
}

.calc__input-group .calc__unit {
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  margin-top: var(--space-xs);
  text-align: center;
}

.calc__result {
  margin-top: var(--space-xl);
  background: linear-gradient(135deg, var(--color-navy-800), var(--color-navy-700));
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-slow);
}

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

.calc__result-label {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc__result-value {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-gold-400);
  line-height: 1;
}

.calc__result-per {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  margin-top: var(--space-sm);
}

.calc__result-volume {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
}

.calc__result-volume strong {
  color: var(--color-white);
  font-weight: var(--fw-semibold);
}

.calc__disclaimer {
  margin-top: var(--space-xl);
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
  line-height: 1.7;
  background: var(--color-gray-50);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-gold-500);
}

/* ==========================================================================
   GALLERY (BIURO)
   ========================================================================== */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

/* ==========================================================================
   CASE STUDIES (REALIZACJE)
   ========================================================================== */
.case-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding: var(--space-xl);
}

.case-card__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-gray-100);
}

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

.case-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gray-100), var(--color-gray-200));
  color: var(--color-gray-400);
  font-size: var(--fs-sm);
}

.case-card__product {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-navy-800);
}

.case-card__prices {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.case-card__price-item {
  display: flex;
  flex-direction: column;
}

.case-card__price-label {
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-card__price-value {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-top: var(--space-xs);
}

.case-card__price-value--old {
  color: var(--color-gray-400);
  text-decoration: line-through;
}

.case-card__price-value--new {
  color: var(--color-green-500);
}

.case-card__savings {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(47, 158, 68, .1);
  color: var(--color-green-500);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
}

.legal__content {
  max-width: 780px;
  margin: 0 auto;
}

.legal__content h1 {
  font-size: var(--fs-2xl);
  color: var(--color-navy-800);
  margin-bottom: var(--space-2xl);
}

.legal__content h2 {
  font-size: var(--fs-xl);
  color: var(--color-navy-800);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal__content p {
  margin-bottom: var(--space-md);
  color: var(--color-gray-600);
}

.legal__content ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal__content li {
  margin-bottom: var(--space-sm);
  color: var(--color-gray-600);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--color-navy-900);
  color: var(--color-gray-400);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer__brand span {
  color: var(--color-gold-500);
}

.footer__desc {
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.footer__title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: var(--fs-sm);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-gold-400);
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
  font-size: var(--fs-xs);
}

/* ==========================================================================
   PAGE HEADER (subpages)
   ========================================================================== */
.page-header {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-2xl);
  background: linear-gradient(160deg, var(--color-navy-900), var(--color-navy-700));
  text-align: center;
}

.page-header__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.page-header__desc {
  font-size: var(--fs-md);
  color: var(--color-gray-400);
  max-width: 560px;
  margin: 0 auto;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-gold-500), var(--color-gold-300));
  border-radius: 3px;
}

.timeline__item {
  position: relative;
  padding-left: 56px;
  padding-bottom: var(--space-2xl);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: 9px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-400));
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-navy-900);
}

.timeline__time {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-gold-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.section--dark .timeline__time {
  color: var(--color-gold-400);
}

.timeline__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-navy-800);
  margin-bottom: var(--space-xs);
}

.section--dark .timeline__title {
  color: var(--color-white);
}

.timeline__desc {
  font-size: var(--fs-sm);
  color: var(--color-gray-500);
  line-height: 1.7;
}

.section--dark .timeline__desc {
  color: var(--color-gray-400);
}

/* Minimum order info */
.min-order {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(212, 168, 67, .12);
  border: 1px solid rgba(212, 168, 67, .25);
  border-radius: var(--radius-md);
  color: var(--color-gold-500);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.section--dark .min-order {
  color: var(--color-gold-400);
}

/* ==========================================================================
   RESPONSIVE â€” Mobile-first (min-width)
   ========================================================================== */

/* 480px+ */
@media (min-width: 480px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero__actions {
    flex-direction: row;
    gap: var(--space-md);
  }
}

/* 768px+ */
@media (min-width: 768px) {
  .section {
    padding: var(--space-4xl) 0;
  }

  .section__title {
    font-size: var(--fs-3xl);
  }

  .hero__content {
    padding: var(--space-3xl) 0;
  }

  .hero__title {
    font-size: var(--fs-4xl);
  }

  .hero__desc {
    font-size: var(--fs-md);
    margin-bottom: var(--space-2xl);
  }

  .hero__stats {
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
  }

  .hero__stat-value {
    font-size: var(--fs-2xl);
  }

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

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

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

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

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .page-header__title {
    font-size: var(--fs-3xl);
  }

  .case-card {
    grid-template-columns: 120px 1fr auto auto auto;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline__item {
    padding-left: 64px;
  }

  .timeline__dot {
    left: 12px;
    width: 28px;
    height: 28px;
  }
}

/* 1024px+ */
@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }

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

  .step-card__connector {
    display: block;
    position: absolute;
    top: 50%;
    right: -30px;
    width: 60px;
    height: 2px;
    background: var(--color-gray-300);
  }

  .step-card:last-child .step-card__connector {
    display: none;
  }

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

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

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

  .case-card {
    grid-template-columns: 160px 1fr auto auto auto;
    align-items: center;
  }
}

/* ==========================================================================
   OVERRIDES - Hero Mobile & Calculator Result
   ========================================================================== */

/* Hero - better mobile spacing */
.hero__content {
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero__title {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  line-height: 1.2;
}

.hero__desc {
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  align-items: center;
  justify-content: center;
}

.hero__stats {
  justify-content: center;
}

/* Calculator - per-unit as main display */
.calc__result-label {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc__result-value {
  font-size: var(--fs-sm);
  color: var(--color-gray-400);
  font-weight: var(--fw-regular);
  margin-top: var(--space-xs);
}

.calc__result-per {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-gold-400);
  order: -1;
  margin-bottom: var(--space-xs);
}

.calc__result {
  display: flex;
  flex-direction: column;
}