/* ===== ANCIL SOFOM — Swiss Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Swiss Color Palette — Restrained */
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --gray-50: #F5F5F5;
  --gray-100: #EBEBEB;
  --gray-200: #D4D4D4;
  --gray-300: #A3A3A3;
  --gray-400: #737373;
  --gray-500: #525252;
  --gray-600: #404040;
  --gray-700: #2D2D2D;
  --gray-800: #1A1A1A;
  --black: #0A0A0A;
  --red: #C16F45;
  --red-light: #FFF3E8;
  --gold: #EBB14E;
  --brown: #C16F45;
  --sepia: #3E2F28;
  --blue: #1565C0;

  /* Typography — Strict Hierarchy */
  --font-sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display: 'EB Garamond', 'Georgia', 'Times New Roman', serif;
  --font-heading: 'Space Grotesk', 'Helvetica Neue', Helvetica, sans-serif;

  /* Grid System */
  --grid-unit: 8px;
  --container: 1120px;
  --col-gap: 32px;
  /* Spacing Scale (8px base) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;
  --space-20: 160px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== CONTAINER & GRID ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* Swiss grid: strict 12-column */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--col-gap);
}

/* ===== TYPOGRAPHY — Strict Hierarchy ===== */
.t-display {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--sepia);
}

.t-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--sepia);
}

.t-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--sepia);
}

.t-h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.t-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-500);
}

.t-body-lg {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--gray-500);
}

.t-caption {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--gray-400);
  letter-spacing: 0.2px;
}

.t-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray-400);
}

.t-mono {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
}

/* Red accent — used sparingly, Swiss tradition */
.t-red { color: var(--brown); }
.t-gold { color: var(--gold); }
.bg-red { background: var(--brown); color: var(--white); }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 1px 0 var(--gray-100);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-img {
  height: 52px;
  width: auto;
}

.nav__logo-mark {
  width: 32px; height: 32px;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  /* Swiss: geometric, no border-radius */
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.2s ease;
  position: relative;
}

.nav__link:hover { color: var(--black); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav__link:hover::after { width: 100%; }

.nav__cta {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 20px;
  background: var(--sepia);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav__cta:hover { background: var(--brown); }

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--black);
}

/* ===== HERO ===== */
.hero {
  padding: var(--space-20) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

/* Swiss grid lines — visible structure */
.hero__gridlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__gridline {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--gray-100);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.hero__left {}

.hero__right {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.hero__person {
  width: 100%;
  max-width: 520px;
  height: auto;
  position: relative;
   z-index: 99;

}

/* Decorative circle behind person */
.hero__right::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--brown) 100%);
  opacity: 0.12;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* ---- Floating Cards — Fintech Glassmorphism ---- */
.hero__card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 14px 18px;
  box-shadow:
    0 0 0 0.5px rgba(0,0,0,0.03),
    0 2px 4px rgba(0,0,0,0.02),
    0 8px 16px rgba(0,0,0,0.04),
    0 24px 48px rgba(0,0,0,0.06);
  border-radius: 14px;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-iteration-count: infinite;
  animation-direction: alternate;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  min-width: 140px;
}

.hero__card:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow:
    0 0 0 0.5px rgba(0,0,0,0.04),
    0 4px 8px rgba(0,0,0,0.04),
    0 16px 32px rgba(0,0,0,0.06),
    0 32px 64px rgba(0,0,0,0.08);
}

.hero__card--1 {
  top: 8%;
  right: -10%;
  animation: floatCard1 3s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  z-index: 100;
}

.hero__card--2 {
  bottom: 30%;
  right: -14%;
  animation: floatCard2 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  animation-delay: 0.5s;
  z-index: 100;
}

.hero__card--3 {
   /* bottom: 16%; */
  top:27%;
  left: -5%;
  animation: floatCard3 4s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  animation-delay: 1s;
}

/* Card inner layout */
.hero__card-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__card-label {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gray-300);
  margin-bottom: 6px;
}

.hero__card-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sepia);
  letter-spacing: -0.5px;
  line-height: 1;
}

.hero__card-value--gold {
  background: linear-gradient(135deg, var(--gold) 20%, var(--brown) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__card-value--brown {
  color: var(--brown);
}

.hero__card-sub {
  font-size: 0.65rem;
  color: var(--gray-300);
  margin-top: 4px;
  letter-spacing: 0.3px;
}

/* Pill badge inside card */
.hero__card-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  color: #2e7d32;
  background: rgba(46, 125, 50, 0.08);
  padding: 3px 8px;
  border-radius: 20px;
  margin-top: 8px;
  letter-spacing: 0.3px;
}

.hero__card-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #2e7d32;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Card with accent left border */
.hero__card--accent {
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,0.78);
}

/* Card with dark style */
.hero__card--dark {
  background: linear-gradient(145deg, rgba(62, 47, 40, 0.92), rgba(80, 58, 46, 0.88));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 0 0 0.5px rgba(0,0,0,0.1),
    0 4px 12px rgba(62, 47, 40, 0.2),
    0 20px 48px rgba(62, 47, 40, 0.15);
}

.hero__card--dark .hero__card-label {
  color: rgba(255,255,255,0.4);
}

.hero__card--dark .hero__card-value {
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  background: none;
}

.hero__card--dark .hero__card-sub {
  color: rgba(255,255,255,0.35);
}

.hero__card--dark .hero__card-pill {
  color: var(--gold);
  background: rgba(235, 177, 78, 0.12);
}

.hero__card--dark .hero__card-pill::before {
  background: var(--gold);
}

/* Icon element */
.hero__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--gold), var(--brown));
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(193, 111, 69, 0.25);
  flex-shrink: 0;
}

/* Progress bar inside card */
.hero__card-progress {
  width: 100%;
  height: 3px;
  background: rgba(0,0,0,0.06);
  border-radius: 3px;
  margin-top: 10px;
  overflow: hidden;
}

.hero__card-progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--brown));
  animation: progressGrow 3s ease-in-out infinite;
}

@keyframes floatCard1 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(-0.5deg); }
}

@keyframes floatCard2 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(0.8deg); }
}

@keyframes floatCard3 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes progressGrow {
  0% { width: 15%; }
  50% { width: 85%; }
  100% { width: 15%; }
}

@keyframes floatCard1 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

@keyframes floatCard2 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes floatCard3 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.hero__label {
  display: inline-block;
  margin-bottom: var(--space-4);
}

.hero__title {
  margin-bottom: var(--space-5);
}

.hero__desc {
  max-width: 520px;
  margin-bottom: var(--space-6);
}

.hero__actions {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}

/* Swiss buttons: geometric, no radius */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

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

.btn--primary:hover {
  background: var(--brown);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

.hero__metrics-wrap {
  margin-top: var(--space-8);
}

/* Hero metrics — Swiss data display */
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--sepia);
  max-width: 720px;
}

.hero__metric {
  padding: var(--space-4) 0;
  border-right: 1px solid var(--gray-200);
}

.hero__metric:last-child { border-right: none; }

.hero__metric-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: var(--space-1);
  color: var(--sepia);
}

.hero__metric-label {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: var(--gray-100);
}

.divider--thick {
  height: 2px;
  background: var(--black);
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--space-16) 0;
}

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

.section__header {
  margin-bottom: var(--space-10);
}

.section__header--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-8);
}

.section__header--split .section__desc {
  max-width: 420px;
  flex-shrink: 0;
}

.section__num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: var(--space-2);
}

/* ===== ABOUT ===== */
.about__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.about__card {
  padding: var(--space-5);
  border: 1px solid var(--gray-100);
  transition: border-color 0.2s ease;
}

.about__card:hover { border-color: var(--black); }

.about__card-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: var(--space-3);
}

.about__card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  letter-spacing: -0.3px;
}

.about__card-text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Corporate info — Swiss data table */
.info__table {
  width: 100%;
  margin-top: var(--space-8);
  border-top: 2px solid var(--black);
}

.info__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--gray-100);
  padding: var(--space-3) 0;
  font-size: 0.9rem;
}

.info__label {
  font-weight: 600;
  color: var(--gray-400);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info__value {
  font-weight: 500;
  color: var(--black);
}

/* ===== PRODUCT ===== */
.product__layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-8);
  align-items: start;
}

.product__feature {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--gray-100);
}

.product__feature:first-child {
  border-top: 1px solid var(--gray-100);
}

.product__feature-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brown);
  flex-shrink: 0;
  width: 28px;
  padding-top: 2px;
}

.product__feature-title {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.product__feature-text {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* Product detail panel */
.product__panel {
  border: 2px solid var(--black);
  padding: var(--space-5);
}

.product__panel-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--gray-200);
}

.product__row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.88rem;
}

.product__row:last-child { border-bottom: none; }
.product__row-label { color: var(--gray-500); }
.product__row-value { font-weight: 700; text-align: right; }

/* CAT box */
.product__cat {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: var(--red-light);
  border-left: 3px solid var(--gold);
}

.product__cat-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brown);
  margin-bottom: var(--space-1);
}

.product__cat-text {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== STEPS ===== */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}

.step {
  padding: var(--space-5) var(--space-4);
  border-right: 1px solid var(--gray-200);
  position: relative;
}

.step:last-child { border-right: none; }

.step__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.step__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: var(--space-1);
}

.step__text {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ===== LEGAL / TRANSPARENCY ===== */
.legal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--black);
}

.legal__card {
  padding: var(--space-5) var(--space-4);
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.legal__card:nth-child(3n) { border-right: none; }

.legal__card-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--brown);
  margin-bottom: var(--space-2);
}

.legal__card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: var(--space-1);
  letter-spacing: -0.2px;
}

.legal__card-text {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.legal__card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brown);
  margin-top: var(--space-2);
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.legal__card-link:hover {
  border-bottom-color: var(--brown);
}

/* ===== UNE ===== */
.une__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  border-top: 2px solid var(--black);
  border-bottom: 1px solid var(--gray-200);
}

.une__info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--sepia);
}

.une__info p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.une__contacts {
  display: grid;
  gap: var(--space-3);
}

.une__contact {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--gray-100);
}

.une__contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-400);
  margin-bottom: 2px;
}

.une__contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
}

/* CONDUSEF note */
.condusef-note {
  margin-top: var(--space-6);
  padding: var(--space-4);
  border-left: 3px solid var(--black);
  background: var(--gray-50);
}

.condusef-note p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.condusef-note a {
  color: var(--brown);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.condusef-note a:hover { border-bottom-color: var(--brown); }

/* CONDUSEF badge */
.condusef-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--gray-200);
}

.condusef-badge img {
  height: 40px;
  width: auto;
}

.condusef-badge-text {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Footer logo */
.footer__logo-img {
  height: 56px;
  width: auto;
  margin-bottom: var(--space-2);
}

/* Avanza Cred app icon */
.avanza-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.avanza-icon--sm {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.avanza-icon--lg {
  width: 72px;
  height: 72px;
  border-radius: 14px;
}

/* ===== FOOTER ===== */
.footer {
  padding: var(--space-10) 0 var(--space-6);
  border-top: 2px solid var(--black);
}

.footer__top {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr;
  gap: var(--space-5);
  padding-bottom: var(--space-8);
}

.footer__brand-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-top: var(--space-3);
  max-width: 340px;
}

.footer__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-400);
  margin-bottom: var(--space-3);
}

.footer__link {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-500);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer__link:hover { color: var(--black); }

.footer__bef {
  padding: var(--space-4);
  border: 1px solid var(--gray-200);
  margin-top: var(--space-6);
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.footer__bef a {
  color: var(--brown);
  font-weight: 600;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-200);
  gap: var(--space-4);
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--gray-400);
}

.footer__legal-text {
  font-size: 0.72rem;
  color: var(--gray-400);
  line-height: 1.6;
  max-width: 640px;
  text-align: right;
}

/* ===== RESPONSIVE ===== */

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.reveal--up { transform: translateY(32px); }
.reveal--left { transform: translateX(-28px); }
.reveal--right { transform: translateX(28px); }
.revealed { opacity: 1 !important; transform: translate(0, 0) !important; }

/* ===== CARD HOVER LIFT ===== */
.about__card {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}
.about__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(62, 47, 40, 0.08), 0 2px 8px rgba(62, 47, 40, 0.04);
}
.about__card-num {
  transition: color 0.3s ease;
}
.about__card:hover .about__card-num {
  color: var(--brown);
}

/* ===== LEGAL CARD HOVER ===== */
.legal__card {
  transition: transform 0.3s ease, background 0.3s ease;
}
.legal__card:hover {
  transform: translateY(-3px);
  background: var(--gray-50);
}

/* ===== STEP HOVER ===== */
.step {
  transition: transform 0.3s ease, background 0.3s ease;
}
.step:hover {
  background: var(--gray-50);
}
.step:hover .step__num {
  color: var(--brown);
  transition: color 0.3s ease;
}

/* ===== CTA BUTTON GLOW ===== */
.hero__btn--primary {
  position: relative;
  overflow: visible;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero__btn--primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--brown), var(--gold));
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.4s ease;
}
.hero__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 111, 69, 0.3);
}
.hero__btn--primary:hover::after {
  opacity: 0.5;
}

/* ===== NAV GLASSMORPHISM ===== */
.nav.scrolled {
  backdrop-filter: blur(16px) saturate(180%);
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
}

/* ===== HERO METRIC HOVER ===== */
.hero__metric {
  transition: background 0.3s ease;
}
.hero__metric:hover {
  background: var(--gray-50);
}
.hero__metric-value {
  transition: color 0.3s ease;
}
.hero__metric:hover .hero__metric-value {
  color: var(--brown);
}

/* ===== INFO ROW HOVER ===== */
.info__row {
  transition: background 0.25s ease;
}
.info__row:hover {
  background: var(--gray-50);
}

/* ===== SMOOTH LINK UNDERLINE ===== */
.nav__link {
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--brown);
  transition: width 0.3s ease, left 0.3s ease;
}
.nav__link:hover::after {
  width: 100%;
  left: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__right { max-width: 360px; margin: 0 auto; }
  .hero__card { display: none; }
  .hero__metrics { max-width: 100%; }
  .product__layout { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .section__header--split { flex-direction: column; align-items: flex-start; }
  .info__row { grid-template-columns: 160px 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: var(--space-4) var(--space-5);
    gap: var(--space-2);
    border-bottom: 1px solid var(--gray-100);
  }
  .nav__toggle { display: flex; }
  .steps__grid { grid-template-columns: 1fr 1fr; }
  .steps__grid .step { border-bottom: 1px solid var(--gray-200); }
  .legal__grid { grid-template-columns: 1fr; }
  .legal__card { border-right: none; }
  .une__layout { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--space-4); }
  .footer__bottom { flex-direction: column; }
  .footer__legal-text { text-align: left; }
  .hero__metrics { grid-template-columns: 1fr; }
  .hero__metric { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .info__row { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 480px) {
  .steps__grid { grid-template-columns: 1fr; }
  .step { border-right: none; }
}
