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

:root {
  --gold: #DCA54A;
  --gold-dark: #C4923A;
  --gold-light: #F0E6C5;
  --navy: #0F172A;
  --navy-light: #1E293B;
  --text: #4A4A4A;
  --text-light: #6B7280;
  --cream: #FAF5E5;
  --white: #FFFFFF;
  --dark-bg: #141004;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 48px rgba(15, 23, 42, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lexend', sans-serif;
  color: var(--navy);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 800px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

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

.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 165, 74, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== Label ===== */
.label {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.label--light { color: var(--gold-light); }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  padding: 10px 0;
}

.header.scrolled .nav__link {
  color: var(--navy);
}

/* Logo color inversion on scroll */
.header__logo .logo-ferco-bg { fill: rgba(255, 255, 255, 0.9); }
.header__logo .logo-ferco-text { fill: #ffffff; }
.header__logo .logo-sci-bg { fill: rgba(255, 255, 255, 0.15); }
.header__logo .logo-sci-text { fill: #ffffff; }
.header__logo .logo-ferco-border { stroke: rgba(255, 255, 255, 0.6); }
.header__logo .logo-sci-border { stroke: rgba(255, 255, 255, 0.4); }

.header.scrolled .logo-ferco-bg { fill: #ffffff; }
.header.scrolled .logo-ferco-text { fill: #1a1a1a; }
.header.scrolled .logo-ferco-border { stroke: #1a1a1a; }
.header.scrolled .logo-sci-bg { fill: #1a1a1a; }
.header.scrolled .logo-sci-text { fill: #ffffff; }
.header.scrolled .logo-sci-border { stroke: #1a1a1a; }

.header.scrolled .header__cta {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ===== Header Dark (for subpages without hero) ===== */
.header--dark {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  padding: 10px 0;
}

.header--dark .nav__link {
  color: var(--navy);
}

.header--dark .logo-ferco-bg { fill: #ffffff; }
.header--dark .logo-ferco-text { fill: #1a1a1a; }
.header--dark .logo-ferco-border { stroke: #1a1a1a; }
.header--dark .logo-sci-bg { fill: #1a1a1a; }
.header--dark .logo-sci-text { fill: #ffffff; }
.header--dark .logo-sci-border { stroke: #1a1a1a; }

.header--dark .header__cta {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.header--dark .nav__link:hover {
  color: var(--navy);
  background: rgba(15, 23, 42, 0.05);
}

.header--dark .menu-toggle span {
  background: var(--navy);
}

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

.header__logo {
  display: flex;
  align-items: center;
  transition: all var(--transition);
}

.header__logo svg {
  height: 36px;
  width: auto;
}

.nav { display: flex; align-items: center; gap: 8px; }

.nav__link {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 50px;
  transition: all var(--transition);
}

.nav__link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav__link:hover {
  color: var(--navy);
  background: rgba(15, 23, 42, 0.05);
}

.header__cta {
  margin-left: 12px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.header__cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all var(--transition);
}

.header.scrolled .menu-toggle span {
  background: var(--navy);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-light) 50%, #1a3a5c 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(220, 165, 74, 0.08), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(220, 165, 74, 0.05), transparent);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content { padding: 40px 0; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(220, 165, 74, 0.15);
  border: 1px solid rgba(220, 165, 74, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero__sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__graphic {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  background: radial-gradient(circle at 40% 40%, rgba(220, 165, 74, 0.12), transparent 70%);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__graphic-inner {
  width: 70%;
  height: 70%;
  border-radius: 50%;
  border: 1px solid rgba(220, 165, 74, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__graphic-inner::before {
  content: '';
  width: 60%;
  height: 60%;
  border-radius: 50%;
  border: 1px solid rgba(220, 165, 74, 0.2);
}

.hero__graphic-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(220, 165, 74, 0.5);
}

.hero__graphic-dot:nth-child(2) { top: 15%; right: 20%; }
.hero__graphic-dot:nth-child(3) { bottom: 20%; left: 10%; width: 8px; height: 8px; }
.hero__graphic-dot:nth-child(4) { top: 50%; right: 5%; width: 6px; height: 6px; opacity: 0.6; }

/* ===== Page Hero (subpages) ===== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-light) 50%, #1a3a5c 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(220, 165, 74, 0.08), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(220, 165, 74, 0.05), transparent);
}

.page-hero h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ===== Stats Bar ===== */
.stats {
  background: var(--white);
  padding: 0;
  position: relative;
  z-index: 2;
  margin-top: -48px;
}

.stats__inner {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
}

.stats__item {
  padding: 36px 32px;
  text-align: center;
  position: relative;
}

.stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: #E5E7EB;
}

.stats__number {
  font-family: 'Lexend', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

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

.stats__label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== Section Shared ===== */
.section {
  padding: 100px 0;
}

.section--cream { background: var(--cream); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section__header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section__header p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== Solutions Cards ===== */
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid #E5E7EB;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.solution-card:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.solution-card:hover::before {
  transform: scaleX(1);
}

.solution-card__icon {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.solution-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.solution-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.solution-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.solution-card__link:hover { gap: 12px; }

.solution-card__link::after {
  content: '\2192';
  transition: transform var(--transition);
}

/* ===== About / Feature Split ===== */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-split__visual {
  background: linear-gradient(145deg, #f8f9fa 0%, var(--cream) 50%, var(--gold-light) 100%);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 16px 48px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-split__visual:hover {
  box-shadow:
    0 24px 64px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(220, 165, 74, 0.15);
  transform: translateY(-4px);
}

.feature-split__visual img {
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-split__visual:hover img {
  transform: scale(1.03);
}

.feature-split__visual-inner {
  width: 80%;
  height: 60%;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 12px;
}

.feature-split__bar {
  height: 8px;
  border-radius: 4px;
  background: #E5E7EB;
}

.feature-split__bar--gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  width: 75%;
}

.feature-split__bar--short { width: 50%; }
.feature-split__bar--long { width: 90%; }

.feature-split__content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.feature-split__content p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.feature-list {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--cream);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23DCA54A'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===== Parallax CTA ===== */
.parallax-cta {
  position: relative;
  padding: 120px 0;
  background: var(--navy);
  overflow: hidden;
}

.parallax-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(220, 165, 74, 0.1), transparent),
    radial-gradient(ellipse 40% 40% at 10% 50%, rgba(220, 165, 74, 0.06), transparent);
}

.parallax-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.parallax-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.parallax-cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 36px;
  line-height: 1.8;
}

.parallax-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Products Grid ===== */
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  border: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gold-light);
}

.product-card__tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--cream);
  color: var(--gold-dark);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
}

.product-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.product-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 28px;
  flex: 1;
}

.product-card__specs {
  list-style: none;
  margin: 0 0 28px;
  padding: 16px 0 0;
  border-top: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card__specs li {
  font-size: 0.82rem;
  color: var(--text-light);
  padding-left: 18px;
  position: relative;
}

.product-card__specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.product-card__image {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: linear-gradient(145deg, #f8f9fa 0%, #eef0f2 100%);
  border-radius: var(--radius);
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all var(--transition);
}

.product-card:hover .product-card__image {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(220, 165, 74, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: scale(1.02);
}

.product-card .btn { width: fit-content; }

/* Hero product image */
.hero__image {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(220, 165, 74, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__image:hover {
  transform: translateY(-8px);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.5),
    0 0 160px rgba(220, 165, 74, 0.12);
}

.product-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn--download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  background: var(--cream);
  border: 2px solid var(--gold-light);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--download:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-info > p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-details__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-details__item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-details__item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-details__item span,
.contact-details__item a {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-details__item a:hover {
  color: var(--gold-dark);
}

.contact-form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form__field {
  margin-bottom: 20px;
}

.contact-form__field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(220, 165, 74, 0.15);
}

.contact-form__field textarea {
  resize: vertical;
}

.contact-form__success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(220, 165, 74, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-dark);
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand h4 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 16px;
}

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

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 300px;
}

.footer__col h5 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

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

.footer__bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { display: none; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2)::after { display: none; }
  .solutions__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-split__visual { max-width: 500px; margin: 0 auto; }
  .products__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .contact-form__row { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header__cta { display: none; }
  .menu-toggle { display: block; }
  .section { padding: 72px 0; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stats__item { padding: 24px 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .parallax-cta { padding: 80px 0; }
  .page-hero { padding: 120px 0 60px; }
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate {
  opacity: 0;
  transform: translateY(24px);
}

.animate.visible {
  animation: fadeUp 0.6s ease forwards;
}

.animate.delay-1 { animation-delay: 0.1s; }
.animate.delay-2 { animation-delay: 0.2s; }
.animate.delay-3 { animation-delay: 0.3s; }
.animate.delay-4 { animation-delay: 0.4s; }

/* ===== Active Nav Link ===== */
.nav__link--active {
  color: var(--gold) !important;
  font-weight: 600;
}

/* ===== Scroll Offset for Fixed Header ===== */
[id] {
  scroll-margin-top: 80px;
}

/* ===== Mobile Nav Open State ===== */
@media (max-width: 768px) {
  .nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-radius: 0 0 var(--radius) var(--radius);
    gap: 4px;
  }

  .nav--open .nav__link {
    color: var(--navy);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .nav--open .nav__link:hover {
    background: var(--cream);
  }
}
