/* ═══════════════════════════════════════════════════════
   Fatec System — ASML Design System v2.0
   Clone based on asml.com visual language
   ═══════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --blue: #10069f;
  --blue-hover: #0c0580;
  --navy: #0d1f3a;
  --text: #807f8b;
  --text-dark: #333;
  --heading: #000;
  --white: #fff;
  --light: #f8f8fa;
  --border: #e5e5e7;
  --border-light: #eee;
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 16px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
  --header-h: 56px;
  --cookie-h: 40px;
  --section-gap: 120px;

  /* Dark Color System — ASML/WITTENSTEIN 프리미엄 */
  --dark-bg: #0a0a0f;
  --dark-surface: #14141f;
  --dark-card: #1a1a2a;
  --dark-border: rgba(255,255,255,0.08);
  --gradient-hero: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
  --gradient-card: linear-gradient(135deg, rgba(16,6,159,0.05), rgba(0,163,224,0.05));
  --text-light: rgba(255,255,255,0.7);
  --text-muted: rgba(255,255,255,0.45);
  --accent-glow: 0 0 30px rgba(16,6,159,0.3);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

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

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.05; color: var(--heading); letter-spacing: -1px; }
h1 { font-size: clamp(2.25rem, 5vw, 5rem); letter-spacing: -1.5px; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); letter-spacing: -0.5px; }

.section-heading { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; letter-spacing: -1px; color: var(--heading); line-height: 1.05; margin-bottom: 24px; }
.section-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #999; margin-bottom: 8px; }
.section-text { max-width: 720px; margin-top: 24px; line-height: 1.7; font-size: 1rem; color: var(--text); }

.link-accent {
  display: inline-flex; align-items: center; gap: 6px;
  color: #3060b0; font-weight: 500; font-size: 14px;
  margin-top: 20px;
  transition: color var(--transition);
}
.link-accent:hover { color: #1a3a7a; }
.link-arrow { display: inline-block; transition: transform var(--transition); }
.link-accent:hover .link-arrow { transform: translateX(4px); }

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); border-bottom: 1px solid #ddd;
  padding: 10px 40px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.cookie-banner p { color: var(--text-dark); }
.cookie-actions { display: flex; gap: 8px; }
.btn-cookie-primary {
  background: #000; color: var(--white);
  padding: 8px 20px; font-size: 12px; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition);
}
.btn-cookie-primary:hover { opacity: 0.85; }
.btn-cookie-ghost {
  background: transparent; border: 1px solid #ccc; color: #333;
  padding: 8px 20px; font-size: 12px; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), color var(--transition);
}
.btn-cookie-ghost:hover { border-color: #999; color: #000; }

/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: #0a0c10;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}

.header-inner {
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}

.logo-link {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-size: 20px; font-weight: 700;
  letter-spacing: -0.5px;
  transition: opacity var(--transition);
}
.logo-link:hover { opacity: 0.8; }
.logo-svg { height: 28px; width: auto; filter: brightness(0) invert(1); }

/* ── Nav hidden by default, shown via hamburger ── */
.main-nav { display: none; }
.main-nav.open {
  display: block;
  position: absolute; top: 56px; left: 0; right: 0;
  background: #0a0c10;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 40px 20px;
  animation: slideDown 0.2s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.main-nav ul { display: flex; flex-direction: column; gap: 4px; }
.main-nav a {
  display: flex; align-items: center; height: 42px;
  padding: 0 12px;
  color: rgba(255,255,255,0.7); font-size: 15px; font-weight: 500;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.header-actions { display: flex; align-items: center; gap: 4px; }

.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.icon-btn:hover { color: #fff; }

/* Hamburger */
.menu-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 10px;
  cursor: pointer; border-radius: 4px;
  transition: background var(--transition);
}
.menu-toggle:hover { background: rgba(255,255,255,0.06); }
.menu-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: rgba(255,255,255,0.7);
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Search bar */
.search-bar {
  display: none; padding: 10px 40px 14px;
  background: #0a0c10;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.search-bar.open { display: block; }
.search-bar input {
  width: 100%; max-width: 600px;
  padding: 8px 14px; font-size: 14px; font-family: inherit;
  background: rgba(255,255,255,0.06); color: #fff;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 6px;
  outline: none; transition: border-color var(--transition);
}
.search-bar input::placeholder { color: rgba(255,255,255,0.3); }
.search-bar input:focus { border-color: rgba(255,255,255,0.3); }

/* ── Hero ── */
.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--gradient-hero);
  z-index: 1;
}
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-content { 
  position: relative; z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  padding: 120px 32px;
  text-align: center;
}
.hero-content h1 {
  color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  margin-bottom: 20px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.15;
}
.hero-content p {
  font-size: 1rem; line-height: 1.65; color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  max-width: 560px; margin: 0 auto 40px;
}
.hero-cta {
  display: inline-block;
  background: var(--white);
  color: #000;
  padding: 16px 40px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.25);
}
/* Hero Quick Links Bar */
.ql-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 20px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(10,12,16,0.6);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 32px;
}
.ql-bar-label {
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  color: rgba(255,255,255,0.3); text-transform: uppercase;
  white-space: nowrap;
}
.ql-bar-grid {
  display: flex; gap: 0; flex: 1;
}
.ql-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 20px;
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 13px; font-weight: 500;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: color 0.25s, background 0.25s;
}
.ql-item:last-child { border-right: none; }
.ql-item-icon { opacity: 0.4; transition: opacity 0.25s, transform 0.25s; }
.ql-item:hover { color: #fff; background: rgba(255,255,255,0.04); }
.ql-item:hover .ql-item-icon { opacity: 1; transform: translateY(-2px); }
.ql-item-text { letter-spacing: -0.2px; }

@media (max-width: 768px) {
  .ql-bar { flex-direction: column; gap: 12px; padding: 16px 20px; }
  .ql-bar-grid { flex-wrap: wrap; gap: 8px; }
  .ql-item { border-right: none; padding: 6px 12px; font-size: 12px; }
}


/* ── Sections ── */
.section { padding: var(--section-gap) 0; }
.section-white { background: var(--white); }
.section-light { background: var(--light); }
.section-dark { background: #0a0a0a; color: var(--white); }
.section-dark .section-heading { color: var(--white); }
.section-dark .section-text { color: rgba(255,255,255,0.7); }
.section-navy { background: var(--navy); color: var(--white); }
.section-gradient { background: linear-gradient(135deg, var(--blue), #00a3e0); color: var(--white); }

/* ── Dark Premium Section ── */
.section-dark-premium {
  background: var(--dark-bg);
  color: var(--white);
}
.section-dark-premium .section-heading { color: #fff; }
.section-dark-premium .section-text { color: var(--text-light); }
.section-dark-premium .section-eyebrow { color: rgba(255,255,255,0.4); }
.section-dark-premium .story-heading { color: #fff; }
.section-dark-premium .story-text { color: var(--text-light); }
.section-dark-premium .story-eyebrow { color: rgba(255,255,255,0.4); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }

/* ── Story Card ── */
.story-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.story-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: #999; margin-bottom: 16px;
}
.story-heading {
  font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700;
  letter-spacing: -1px; line-height: 1.05; color: var(--heading);
  margin-bottom: 16px;
}
.story-text { color: var(--text); line-height: 1.7; margin-bottom: 4px; }
.story-image {
  position: relative;
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
  display: flex;
  margin-right: calc(100% + 30px - 50vw);
}
.story-image img {
  width: 100%; height: 500px;
  object-fit: cover;
  border-radius: var(--radius) 0 0 var(--radius);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.story-image img:not(.active) {
  position: absolute; top: 0; right: 0; opacity: 0;
  transform: translateX(40px) scale(0.97);
}
.story-image img.active {
  opacity: 1; position: relative;
  transform: translateX(0) scale(1);
}
.story-image:hover img.active { transform: scale(1.03); }
.story-image img.exit {
  opacity: 0; transform: translateX(-30px) scale(1.02);
}
#tileCanvas {
  position: absolute; top: 0; right: 0; z-index: 5;
  pointer-events: none; opacity: 0;
  width: 100%; height: 500px;
}

/* ── Press Grid ── */
.section-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 32px;
}
.carousel-arrows { display: flex; gap: 4px; }
.carousel-arrows button {
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 20px; color: #555;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.carousel-arrows button:hover:not(:disabled) { background: var(--border-light); color: #000; }
.carousel-arrows button:disabled { color: #ccc; cursor: default; }

.press-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.press-card {
  background: var(--white); padding: 28px 24px;
  border-radius: var(--radius-sm);
  transition: box-shadow var(--transition);
}
.press-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.press-date {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  color: #999; margin-bottom: 10px; text-transform: uppercase;
}
.press-card h3 {
  font-size: 15px; font-weight: 600; letter-spacing: -0.25px;
  line-height: 1.4; color: #1a1a3e;
}
.press-card a { color: inherit; transition: color var(--transition); }
.press-card a:hover { color: var(--blue); }

/* ── Video Section ── */
.video-wrapper {
  position: relative; border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  aspect-ratio: 16/9;
}
.video-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy), #1a3050);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  gap: 16px; color: var(--white);
  transition: opacity var(--transition);
}
.video-placeholder:hover { opacity: 0.92; }
.video-placeholder svg { transition: transform var(--transition); }
.video-placeholder:hover svg { transform: scale(1.1); }
.video-placeholder p { font-size: 14px; opacity: 0.7; }

/* ── Partner Cards ── */
.partner-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.partner-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 0;
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.partner-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  border-color: #ccc;
}
.partner-card p { color: var(--text); line-height: 1.6; font-size: 14px; margin-bottom: 20px; }
.partner-card-body { padding: 32px 36px; }
.partner-card h3 {
  font-size: 28px; font-weight: 700; color: var(--heading);
  margin-bottom: 8px; letter-spacing: -0.5px;
}
.partner-card .partner-subtitle {
  font-size: 13px; color: #999; font-weight: 500; margin-bottom: 16px;
}
.partner-image {
  width: 100%; height: 220px;
  overflow: hidden;
  background: var(--dark-bg);
  display: flex; align-items: center; justify-content: center;
}
.partner-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform var(--transition-slow);
}
.partner-card:hover .partner-image img { transform: scale(1.05); }
.partner-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.partner-tag {
  font-size: 11px; font-weight: 600; padding: 4px 12px;
  border-radius: 100px; background: var(--light); color: #555;
}

/* ── Product Grid ── */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0;
  overflow: hidden;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.product-card .product-card-image {
  width: 100%; height: 200px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-card .product-card-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 0;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card h3 {
  font-size: 18px; font-weight: 600; margin: 20px 24px 6px; color: var(--heading);
}
.product-card p { font-size: 13px; color: var(--text); line-height: 1.5; margin: 0 24px 20px; }
.product-card .brand-tag {
  position: absolute; top: 12px; left: 12px;
  display: inline-block; font-size: 11px; font-weight: 600; color: var(--white);
  background: rgba(0,0,0,0.6);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ── Engineering Service Grid ── */
.service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.service-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px;
  transition: box-shadow var(--transition);
}
.service-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.service-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.service-item p { font-size: 13px; color: var(--text); line-height: 1.5; }

/* ── CTA Section ── */
.cta-section {
  padding: 80px 0; background: #000; color: var(--white); text-align: center;
}
.cta-section p { font-size: 20px; line-height: 1.5; color: #bbb; max-width: 600px; margin: 0 auto; }
.btn-cta {
  display: inline-block; margin-top: 24px;
  padding: 14px 36px; background: var(--white); color: #000;
  font-weight: 600; font-size: 14px; border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,255,255,0.15); }

/* ── Catalog Banner ── */
.catalog-banner {
  padding: 40px 0;
  background: linear-gradient(135deg, var(--blue), #00a3e0);
  color: var(--white);
}
.catalog-banner .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.catalog-banner-inner { display: flex; align-items: center; gap: 24px; }
.catalog-banner h3 { font-size: 24px; color: var(--white); letter-spacing: -0.25px; }
.catalog-banner p { font-size: 14px; opacity: 0.8; }
.catalog-link { color: var(--white); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.catalog-link:hover { text-decoration-thickness: 2px; }

/* ── Footer ── */
.site-footer {
  background: linear-gradient(135deg, var(--blue), #1a3a7a);
  color: var(--white); padding: 60px 0 20px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px;
  margin-bottom: 40px;
}
.footer-col h2 {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.45);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 400;
  text-decoration: none; transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.footer-bottom p { margin: 0; }
.legal-links { display: flex; gap: 16px; list-style: none; }
.legal-links a { color: rgba(255,255,255,0.4); font-size: 12px; text-decoration: none; }
.legal-links a:hover { color: rgba(255,255,255,0.7); }
.btn-link {
  background: none; border: none; color: rgba(255,255,255,0.4);
  font-size: 12px; cursor: pointer; padding: 0;
}
.btn-link:hover { color: rgba(255,255,255,0.7); }

/* ── At a Glance ── */
.glance {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #0a0c10;
}
.glance-img {
  position: absolute; inset: -25%;
  background: url('https://oatxlqxbsnfvoyopidla.supabase.co/storage/v1/object/public/images/dep_automation.jpg') center/cover;
  transform: scale(1.12);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.glance-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,12,16,0.85) 0%, rgba(10,12,16,0.4) 50%, rgba(10,12,16,0.75) 100%);
}
.glance-noise {
  position: absolute; inset: 0; opacity: 0.04; z-index: 3; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glance-text {
  position: relative; z-index: 5; text-align: center; padding: 40px;
}
.glance-line1 {
  display: block; font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 16px;
  opacity: 0; transform: translateY(20px);
  animation: glRev 0.8s 0.2s ease forwards;
}
.glance-line2 {
  display: block; font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 800; color: #fff;
  letter-spacing: -2px; line-height: 1.05;
  opacity: 0; transform: translateY(30px);
  animation: glRev 0.8s 0.5s ease forwards;
}
.glance-accent {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glance-sub {
  max-width: 500px; margin: 20px auto 0;
  font-size: 0.95rem; color: rgba(255,255,255,0.45); line-height: 1.6;
  opacity: 0; transform: translateY(20px);
  animation: glRev 0.8s 0.8s ease forwards;
}
@keyframes glRev {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Quick Links ── */
.quicklinks {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
}
.quicklinks-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 24px;
}
.quicklinks-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.ql-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px 20px;
  border-radius: 12px;
  background: #f8f8fa;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s;
}
.ql-card:hover {
  background: #f0f0f4;
  transform: translateY(-2px);
}
.ql-icon {
  color: var(--blue); opacity: 0.7;
}
.ql-card:hover .ql-icon { opacity: 1; }
.ql-label {
  font-size: 14px; font-weight: 600;
  color: #222;
  letter-spacing: -0.2px;
}
.ql-line {
  width: 24px; height: 2px; border-radius: 2px;
  background: var(--blue);
  transition: width 0.25s;
}
.ql-card:hover .ql-line { width: 48px; }
@media (max-width: 768px) {
  .quicklinks-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 768px — Mobile */
@media (max-width: 768px) {
  h1 { font-size: 2.25rem; letter-spacing: -0.5px; }
  h2 { font-size: 1.75rem; }

  .hero { padding: 48px 16px 32px; margin-top: calc(var(--cookie-h) + var(--header-h)); }
  .hero-content p { font-size: 15px; }

  .ql-icon { width: 52px; height: 52px; }

  .section { padding: 48px 0; }

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

  .product-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .product-card h3 { font-size: 15px; margin: 16px 16px 4px; }
  .product-card p { margin: 0 16px 16px; font-size: 12px; }

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

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

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

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

  .site-header .header-inner { padding: 0 16px; }

  .cookie-banner { padding: 10px 16px; font-size: 12px; }

  .catalog-banner .container { flex-direction: column; align-items: flex-start; }

  .container { padding: 0 16px; }

  .partner-card-body { padding: 24px; }
  .partner-card h3 { font-size: 22px; }

  .global-header { flex-direction: column; align-items: flex-start; }

  .story-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .story-image {
    margin-right: 0;
    border-radius: var(--radius);
  }
  .story-image img {
    height: 300px;
    border-radius: var(--radius);
  }
}

/* ── Print ── */
@media print {
  .site-header, .cookie-banner, .site-footer { position: static; }
  .hero { margin-top: 0; }
}