@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ============================================
   MEDKINE Systems North Africa
   Design System
   ============================================ */

:root {
  /* Brand Colors */
  --brand-blue: #18509d;
  --brand-blue-dark: #103770;
  --brand-blue-light: #2867be;
  --brand-cyan: #34a7ba;
  --brand-cyan-dark: #228a9d;
  --brand-cyan-light: #5ec3d3;

  /* Neutrals */
  --ink: #0a1628;
  --ink-soft: #2c3e54;
  --ink-muted: #6b7a8f;
  --line: #e4e8ee;
  --line-soft: #eef1f5;
  --paper: #fafbfc;
  --white: #ffffff;
  --cream: #f7f5f0;

  /* Typography */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  /* Spacing */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 10vw, 8rem);

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(10,22,40,.06), 0 1px 2px rgba(10,22,40,.04);
  --shadow-md: 0 8px 30px rgba(10,22,40,.08);
  --shadow-lg: 0 24px 60px rgba(10,22,40,.12);
  --shadow-blue: 0 20px 60px rgba(24,80,157,.18);
  --radius: 4px;
  --radius-lg: 16px;

  --easing: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 144;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brand-cyan-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--brand-cyan);
}

h1.display { font-size: clamp(2.5rem, 6.5vw, 5.25rem); }
h2.display { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3.display { font-size: clamp(1.5rem, 3vw, 2.25rem); }

p.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 60ch;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--section-y) 0; position: relative; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--easing);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  padding: 0.85rem 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img { height: 60px; width: auto; }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.25s;
}

.nav-links a:hover { color: var(--brand-blue); }
.nav-links a.active { color: var(--brand-blue); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand-cyan);
}

.nav-links a.nav-cta.active::after { content: none; }

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: '↓';
  margin-left: 0.35rem;
  font-size: 0.75em;
  opacity: 0.5;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--easing);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-dropdown-menu a:hover {
  background: var(--line-soft);
  color: var(--brand-blue);
}

.nav-cta {
  padding: 0.7rem 1.4rem !important;
  background: var(--ink);
  color: var(--white) !important;
  border-radius: 100px;
  transition: background 0.25s;
}

.nav-cta:hover { background: var(--brand-blue) !important; }

.menu-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: all 0.3s var(--easing);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--brand-blue);
}
.btn-light:hover { background: var(--cream); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--brand-blue);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost::after { content: '→'; transition: transform 0.25s; }
.btn-ghost:hover::after { transform: translateX(4px); }

.btn-arrow::after { content: '→'; transition: transform 0.25s; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 9rem 0 4rem;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(52,167,186,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(24,80,157,0.06) 0%, transparent 60%),
    var(--paper);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24,80,157,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,80,157,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text > * + * { margin-top: 1.5rem; }
.hero-text h1 { margin-top: 1.25rem; }
.hero-text p { margin-top: 1.5rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--brand-blue);
  font-size: 1.1rem;
  border-left: 2px solid var(--brand-cyan);
  padding-left: 1rem;
  margin-top: 1.25rem;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-md);
  max-width: 280px;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgba(52,167,186,0.2);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(52,167,186,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(52,167,186,0.05); }
}

.hero-badge-text {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.hero-badge-text strong { display: block; color: var(--ink); font-size: 0.92rem; margin-bottom: 0.1rem; }

/* Stats strip */
.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--brand-blue);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 400;
}

/* ============================================
   INTRO / TEXT SECTIONS
   ============================================ */
.section-header {
  margin-bottom: 4rem;
  max-width: 800px;
}

.section-header .eyebrow { margin-bottom: 1rem; }
.section-header h2 { margin-bottom: 1.25rem; }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.intro-grid .section-header { margin-bottom: 0; position: sticky; top: 7rem; }
.intro-text > p + p { margin-top: 1.25rem; }
.intro-text p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; }

/* ============================================
   CREDIBILITY BLOCK
   ============================================ */
.credibility {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.credibility::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(52,167,186,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(24,80,157,0.25) 0%, transparent 60%);
  pointer-events: none;
}

.credibility .container { position: relative; z-index: 2; }

.credibility .eyebrow { color: var(--brand-cyan-light); }
.credibility .eyebrow::before { background: var(--brand-cyan-light); }

.credibility h2 { color: var(--white); margin-bottom: 1.5rem; }
.credibility p { color: rgba(255,255,255,0.75); }

.cred-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.cred-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.cred-point {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.cred-point-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--brand-cyan-light);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.cred-point-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
}

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

.cred-image img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   PRODUCT RANGES (HOMEPAGE)
   ============================================ */
.ranges {
  background: var(--paper);
}

.range-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.range-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--easing);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
}

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

.range-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.range-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--easing);
}

.range-card:hover .range-card-image img { transform: scale(1.04); }

.range-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,22,40,0.4) 100%);
}

.range-card-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

.range-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.range-card-body h3 { color: var(--ink); }
.range-card-body p { color: var(--ink-soft); font-size: 0.98rem; }

.range-applications {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.range-applications li {
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  background: var(--line-soft);
  color: var(--ink-soft);
  border-radius: 100px;
  font-weight: 500;
}

.range-card-footer { margin-top: auto; padding-top: 0.5rem; }

/* ============================================
   IMMERSION / IMAGE SECTION
   ============================================ */
.immersion {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: 0;
}

.immersion-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.immersion-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.immersion::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.4) 0%, rgba(10,22,40,0.85) 100%);
  z-index: 1;
}

.immersion .container {
  position: relative; z-index: 2;
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.immersion h2 { color: var(--white); max-width: 14ch; margin-bottom: 1.5rem; }
.immersion p { color: rgba(255,255,255,0.85); max-width: 50ch; }

/* ============================================
   CTA / CONTACT BAND
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(52,167,186,0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); margin-bottom: 1.25rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 2.5rem; max-width: 50ch; }

.cta-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta-contact-info {
  display: grid;
  gap: 1.25rem;
  padding: 2rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.12);
}

.cta-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cta-info-icon {
  width: 40px; height: 40px;
  background: rgba(52,167,186,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.25rem;
}

.cta-info-value {
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
}

.cta-info-value a:hover { color: var(--brand-cyan-light); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #050d18;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.25rem;
  opacity: 0.95;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.65; max-width: 28ch; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-cyan-light);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   PAGE HEADERS (Inner pages)
   ============================================ */
.page-hero {
  padding: 11rem 0 5rem;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(52,167,186,0.06) 0%, transparent 60%),
    var(--paper);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24,80,157,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,80,157,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.page-hero .container { position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover { color: var(--brand-blue); }
.breadcrumb-sep { opacity: 0.4; }

.page-hero h1 { max-width: 18ch; }
.page-hero p.lead { margin-top: 1.5rem; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: var(--section-y);
}

.about-section.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.about-section.reverse .about-image { order: 2; }
.about-section.reverse .about-text { order: 1; }

.about-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-text .eyebrow { margin-bottom: 1.5rem; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text > p + p { margin-top: 1.25rem; }
.about-text p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; }

.timeline-marker {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.timeline-marker-year {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brand-blue);
  line-height: 1;
  font-weight: 500;
}

.timeline-marker-label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-section { background: var(--paper); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.35s var(--easing);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.product-card-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f0f4f8 0%, #e4eaf2 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative SVG-like product placeholder */
.product-placeholder {
  width: 70%;
  height: 70%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(52,167,186,0.15), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(24,80,157,0.12), transparent 50%);
}

.product-icon {
  width: 90px; height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
  border-radius: 18px;
  color: white;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  box-shadow: var(--shadow-blue);
  position: relative;
  z-index: 2;
}

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.product-cat {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-cyan-dark);
  font-weight: 600;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-discover {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.25s;
}

.product-discover:hover { gap: 0.65rem; color: var(--brand-blue-dark); }

.product-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* Last row centering for orphan in 3-column desktop grids */
@media (min-width: 1025px) {
  .products-grid > .product-card:last-child:nth-child(3n+1) {
    grid-column: 2 / 3;
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-block {
  background: var(--paper);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.contact-info-block h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-weight: 500;
}

.contact-info-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.contact-info-item:last-child { border-bottom: 0; padding-bottom: 0; }

.contact-info-item .icon {
  width: 44px; height: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-blue);
}

.contact-info-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.contact-info-item .value {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 500;
}

.contact-info-item .value a:hover { color: var(--brand-blue); }

/* Form */
.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transition: all 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(24,80,157,0.1);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 1rem;
  font-style: italic;
  line-height: 1.6;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--easing), transform 0.8s var(--easing);
}

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

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .hero-grid,
  .intro-grid,
  .cred-grid,
  .cta-grid,
  .contact-grid,
  .about-section,
  .about-section.reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-section.reverse .about-image { order: 1; }
  .about-section.reverse .about-text { order: 2; }

  .intro-grid .section-header { position: static; }

  .range-cards { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .cred-points { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem var(--gutter);
    gap: 1.5rem;
    align-items: stretch;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    transition: transform 0.4s var(--easing);
  }

  .nav-links.open { transform: translateY(0); }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0.5rem 0 0 1rem;
    min-width: 0;
  }

  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .cred-points { grid-template-columns: 1fr 1fr; gap: 1.25rem; }

  .hero { padding-top: 7rem; }
  .page-hero { padding-top: 8rem; padding-bottom: 3rem; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

