/* ============================================================
   Dyna-Pac Footwear — Global Design System
   B2B Corporate Website | Navy + White + Silver
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --navy:           #1a2744;
  --navy-deep:      #111c33;
  --navy-light:     #2a3d5e;
  --navy-50:        rgba(26, 39, 68, 0.05);
  --navy-100:       rgba(26, 39, 68, 0.10);
  --blue:           #3a6fd8;
  --blue-light:     #5b8de6;
  --blue-50:        rgba(58, 111, 216, 0.06);
  --gold:           #c8a96e;
  --gold-light:     #d4bb8a;
  --gold-50:        rgba(200, 169, 110, 0.08);
  --white:          #ffffff;
  --off-white:      #f7f8fa;
  --light-gray:     #eef0f4;
  --gray:           #9ca3af;
  --gray-dark:      #6b7280;
  --charcoal:       #374151;
  --black:          #1f2937;
  --success:        #10b981;
  --error:          #ef4444;
  --warning:        #f59e0b;

  /* Typography */
  --font-primary:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs:   0.75rem;    /* 12px */
  --font-size-sm:   0.875rem;   /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg:   1.125rem;   /* 18px */
  --font-size-xl:   1.25rem;    /* 20px */
  --font-size-2xl:  1.5rem;     /* 24px */
  --font-size-3xl:  1.875rem;   /* 30px */
  --font-size-4xl:  2.25rem;    /* 36px */
  --font-size-5xl:  3rem;       /* 48px */
  --font-size-hero: 3.5rem;     /* 56px */
  --line-height:    1.6;
  --line-height-tight: 1.2;
  --line-height-heading: 1.3;

  /* Spacing */
  --space-xs:   0.25rem;  /* 4px */
  --space-sm:   0.5rem;   /* 8px */
  --space-md:   1rem;     /* 16px */
  --space-lg:   1.5rem;   /* 24px */
  --space-xl:   2rem;     /* 32px */
  --space-2xl:  3rem;     /* 48px */
  --space-3xl:  4rem;     /* 64px */
  --space-4xl:  6rem;     /* 96px */
  --space-5xl:  8rem;     /* 128px */

  /* Layout */
  --max-width:     1280px;
  --max-width-lg:  1440px;
  --max-width-xl:  1600px;
  --container-pad: var(--space-xl);

  /* Borders & Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md:   0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg:   0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl:   0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-navy: 0 10px 30px -5px rgba(26, 39, 68, 0.3);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-bounce: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-dropdown:  100;
  --z-sticky:    200;
  --z-overlay:   300;
  --z-modal:     400;
  --z-toast:     500;

  /* Header */
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--blue-light);
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  line-height: var(--line-height-heading);
  font-weight: 700;
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }

p { margin-bottom: var(--space-md); }

::selection {
  background: var(--blue);
  color: var(--white);
}

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

.container--wide {
  max-width: var(--max-width-lg);
}

.container--full {
  max-width: var(--max-width-xl);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  box-shadow: var(--shadow-navy);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--secondary:hover {
  background: var(--white);
  color: var(--navy);
}

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

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

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

.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 4px 15px rgba(200, 169, 110, 0.4);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: var(--font-size-sm);
}

.btn--lg {
  padding: 18px 40px;
  font-size: var(--font-size-lg);
}

.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-sticky);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width-xl);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

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

.header__nav a {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  transition: color var(--transition-fast);
  position: relative;
}

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

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

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

.header__cta {
  flex-shrink: 0;
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: calc(var(--z-overlay) + 1);
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition-base);
}

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

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

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

/* --- Hero / Banner Carousel --- */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
  background: var(--navy-deep);
  margin-top: var(--header-height);
}

.hero__carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__track {
  display: flex;
  height: 100%;
  transition: transform 600ms ease;
}

.hero__slide {
  position: relative;
  min-width: 100%;
  height: 100%;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: var(--navy-deep);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 28, 51, 0.75) 0%,
    rgba(26, 39, 68, 0.55) 50%,
    rgba(17, 28, 51, 0.40) 100%
  );
  display: flex;
  align-items: center;
}

.hero__content {
  max-width: 720px;
  padding: 0 var(--container-pad);
}

.hero__badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(200, 169, 110, 0.2);
  border: 1px solid rgba(200, 169, 110, 0.4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-size: var(--font-size-hero);
  color: var(--white);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  line-height: 1.6;
}

.hero__brand {
  color: var(--white);
  font-weight: 300;
  letter-spacing: 0.15em;
  font-size: var(--font-size-xl);
}

.hero__brand strong {
  color: var(--gold);
  font-weight: 700;
}

/* Carousel Controls */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

.carousel-arrow--prev { left: 24px; }
.carousel-arrow--next { right: 24px; }

.carousel-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-base);
}

.carousel-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

/* --- Sections --- */
.section {
  padding: var(--space-4xl) 0;
}

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

.section--gray { background: var(--off-white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.8); }

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
}

.section__label {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.section__title {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-lg);
}

.section__desc {
  font-size: var(--font-size-lg);
  color: var(--gray-dark);
  line-height: 1.7;
}

/* --- Grid Layouts --- */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--light-gray);
}

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

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

.card__body {
  padding: var(--space-xl);
}

.card__tag {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.card__desc {
  font-size: var(--font-size-sm);
  color: var(--gray-dark);
  line-height: 1.6;
}

/* Icon Card */
.card--icon {
  text-align: center;
  padding: var(--space-2xl);
  border: 1px solid var(--light-gray);
  background: var(--white);
}

.card--icon:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 30px rgba(58, 111, 216, 0.08);
}

.card--icon .card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  border-radius: var(--radius-lg);
  color: var(--blue);
}

.card--icon .card__icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.card--icon .card__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.card--icon .card__desc {
  font-size: var(--font-size-sm);
  color: var(--gray-dark);
}

/* --- Trust Bar / Stats --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-top: -60px;
  position: relative;
  z-index: 5;
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
}

.stat-item__number {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

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

.stat-item__label {
  font-size: var(--font-size-sm);
  color: var(--gray-dark);
  font-weight: 500;
}

/* --- About Section (Homepage) --- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-preview__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-preview__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-preview__content h2 {
  margin-bottom: var(--space-lg);
}

.about-preview__content p {
  color: var(--gray-dark);
  font-size: var(--font-size-lg);
  line-height: 1.8;
}

.about-preview__brand {
  font-style: italic;
  color: var(--navy);
  font-weight: 600;
  font-size: var(--font-size-xl);
  margin-top: var(--space-xl);
  padding-left: var(--space-lg);
  border-left: 3px solid var(--gold);
}

/* --- Solutions Grid --- */
.solution-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
}

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

.solution-card:hover .solution-card__image {
  transform: scale(1.08);
}

.solution-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,28,51,0.85) 0%, rgba(17,28,51,0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
}

.solution-card__title {
  font-size: var(--font-size-xl);
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.solution-card__desc {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.75);
}

/* --- Partners Logo Grid --- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-xl);
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  height: 100px;
  transition: all var(--transition-base);
}

.partner-logo:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-base);
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--light-gray);
}

.timeline__item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 30px);
  position: relative;
  margin-bottom: var(--space-2xl);
}

.timeline__item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 30px);
}

.timeline__dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.timeline__content {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 360px;
  border: 1px solid var(--light-gray);
}

.timeline__year {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.timeline__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xs);
}

.timeline__desc {
  font-size: var(--font-size-sm);
  color: var(--gray-dark);
}

/* --- Product Category Cards --- */
.product-category {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--light-gray);
  transition: all var(--transition-base);
}

.product-category:hover {
  box-shadow: var(--shadow-xl);
  border-color: transparent;
  transform: translateY(-6px);
}

.product-category__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

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

.product-category:hover .product-category__image img {
  transform: scale(1.06);
}

.product-category__body {
  padding: var(--space-lg) var(--space-xl);
}

.product-category__name {
  font-size: var(--font-size-xl);
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.product-category__desc {
  font-size: var(--font-size-sm);
  color: var(--gray-dark);
  line-height: 1.6;
}

.product-category__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.product-category__feature {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue-50);
  color: var(--blue);
  font-size: var(--font-size-xs);
  font-weight: 500;
  border-radius: var(--radius-full);
}

/* --- Certification Badges --- */
.cert-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
}

.cert-badge {
  text-align: center;
  padding: var(--space-lg);
}

.cert-badge__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  background: var(--off-white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--navy);
  border: 2px solid var(--light-gray);
}

.cert-badge__name {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--charcoal);
}

/* --- Map / Global Presence --- */
.global-map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.country-card {
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  transition: all var(--transition-base);
}

.country-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.country-card__flag {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.country-card__name {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--navy);
}

/* --- Innovation Section --- */
.innovation-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
}

.innovation-block:nth-child(even) {
  direction: rtl;
}

.innovation-block:nth-child(even) > * {
  direction: ltr;
}

.innovation-block__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.innovation-block__image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.innovation-block__content h3 {
  margin-bottom: var(--space-md);
}

.innovation-block__content p {
  color: var(--gray-dark);
  line-height: 1.8;
}

/* Research Points */
.research-points {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.research-point {
  padding: var(--space-xl);
  background: var(--off-white);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--light-gray);
  transition: all var(--transition-base);
}

.research-point:hover {
  background: var(--blue-50);
  border-color: var(--blue);
}

.research-point__icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.research-point__title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--navy);
}

/* --- News Cards --- */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: all var(--transition-base);
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.news-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

.news-card__body {
  padding: var(--space-lg);
}

.news-card__date {
  font-size: var(--font-size-xs);
  color: var(--gray);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.news-card__category {
  display: inline-block;
  padding: 2px 10px;
  background: var(--blue-50);
  color: var(--blue);
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.news-card__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.news-card__excerpt {
  font-size: var(--font-size-sm);
  color: var(--gray-dark);
  line-height: 1.6;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 640px;
}

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

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

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(58, 111, 216, 0.15);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(200, 169, 110, 0.08);
  border-radius: var(--radius-full);
}

.cta-banner h2 {
  color: var(--white);
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

/* --- Footer --- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer__brand p {
  font-size: var(--font-size-sm);
  line-height: 1.8;
  margin-top: var(--space-lg);
}

.footer__logo img {
  height: 40px;
}

.footer h4 {
  color: var(--white);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

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

.footer__contact-item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-sm);
}

/* --- Page Hero (Inner Pages) --- */
.page-hero {
  background: var(--navy);
  padding: var(--space-3xl) 0;
  margin-top: var(--header-height);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(58,111,216,0.15), transparent 60%);
}

.page-hero h1 {
  color: var(--white);
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
  position: relative;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.page-hero .breadcrumb {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-lg);
  position: relative;
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.page-hero .breadcrumb a:hover {
  color: var(--gold);
}

.page-hero .breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 var(--space-sm);
}

.page-hero .breadcrumb .current {
  color: var(--gold);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--navy-light);
  box-shadow: var(--shadow-navy);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: var(--space-xs);
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 4px;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.tab {
  padding: 10px 24px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--gray-dark);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-primary);
}

.tab:hover {
  color: var(--navy);
}

.tab.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue); }
.text-gray { color: var(--gray-dark); }
.text-uppercase { text-transform: uppercase; }
.font-light { font-weight: 300; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-lg { margin-bottom: var(--space-xl); }
.mb-xl { margin-bottom: var(--space-2xl); }
.mb-2xl { margin-bottom: var(--space-3xl); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
    --container-pad: var(--space-lg);
  }

  h1 { font-size: var(--font-size-4xl); }
  h2 { font-size: var(--font-size-3xl); }
  .hero__title { font-size: var(--font-size-4xl); }

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

  .about-preview { grid-template-columns: 1fr; }
  .innovation-block { grid-template-columns: 1fr; }
  .innovation-block:nth-child(even) { direction: ltr; }

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --container-pad: var(--space-md);
  }

  h1 { font-size: var(--font-size-3xl); }
  h2 { font-size: var(--font-size-2xl); }
  h3 { font-size: var(--font-size-xl); }

  .hero {
    height: 80vh;
    min-height: 450px;
  }

  .hero__title { font-size: var(--font-size-3xl); }
  .hero__subtitle { font-size: var(--font-size-base); }

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

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

  /* Mobile Nav */
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    gap: var(--space-md);
    z-index: var(--z-overlay);
  }

  .header__nav.open { right: 0; }

  .header__nav a {
    font-size: var(--font-size-lg);
    width: 100%;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--light-gray);
  }

  .header__hamburger { display: flex; }

  /* Grids */
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5 { grid-template-columns: 1fr 1fr; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .global-map { grid-template-columns: repeat(3, 1fr); }

  /* Timeline */
  .timeline::before { left: 20px; }
  .timeline__item,
  .timeline__item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline__dot { left: 20px; }

  .carousel-arrow { width: 40px; height: 40px; }
  .carousel-arrow--prev { left: 12px; }
  .carousel-arrow--next { right: 12px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--space-md); text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5 { grid-template-columns: 1fr; }

  .stats-bar { grid-template-columns: 1fr; }
  .global-map { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
}
