/* ============================================================
   CORPSHORE ITALIA — MAIN CSS
   Design system: Italian editorial x Northern European precision
   ============================================================ */

/* --- Custom Properties --- */
:root {
  /* Brand palette */
  --navy:       #0A2263;
  --navy-deep:  #061640;
  --red-it:     #C8102E;
  --green-it:   #009246;
  --white:      #FFFFFF;
  --off-white:  #F9F8F6;
  --bg-subtle:  #F5F4F0;
  --warm-mid:   #E8E4DE;
  --charcoal:   #1C1C1E;
  --mid-grey:   #6B6B72;
  --gold:       #B8963E;
  --border:     #E8E4DE;

  /* Semantic text tokens */
  --text-primary:   #1C1C1E;
  --text-secondary: #4A4A52;
  --text-tertiary:  #8A8A96;

  /* Success */
  --success: #1a7a4a;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(10,34,99,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(10,34,99,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:  0 12px 40px rgba(10,34,99,0.14), 0 4px 12px rgba(0,0,0,0.08);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Layout */
  --max-width: 1320px;
  --gutter:    32px;
  --radius-card: 4px;
  --radius-btn:  2px;

  --section-v-desktop: 160px;
  --section-v-tablet:  80px;
  --section-v-mobile:  56px;

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-mid:  300ms ease;
  --transition-slow: 450ms cubic-bezier(0.16,1,0.3,1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1rem;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* --- Scroll progress bar --- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* --- Typography --- */
h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 0.97;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.08;
  font-weight: 500;
  color: var(--navy);
}
h3 {
  font-family: var(--font-body);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.3;
  font-weight: 600;
  color: var(--navy);
}
h4 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 19px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
}

.caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-tertiary);
  font-weight: 300;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(52px, 5.5vw, 72px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-primary);
  border-left: 3px solid var(--gold);
  padding-left: 32px;
  margin: 2.5rem 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  transition: background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), transform var(--transition-fast),
              box-shadow var(--transition-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep for btn-primary */
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -110%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(184,150,62,0.35), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover {
  background: #071a4f;
  border-color: #071a4f;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover::after { left: 110%; }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
  font-weight: 700;
}
.btn-gold:hover {
  background: #9e7f34;
  border-color: #9e7f34;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-sm { padding: 10px 20px; font-size: 12px; }

/* --- Floating CTA --- */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 890;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  box-shadow: 0 8px 32px rgba(10,34,99,0.22), 0 2px 8px rgba(0,0,0,0.12);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.floating-cta svg { width: 16px; height: 16px; flex-shrink: 0; }
.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(10,34,99,0.30), 0 4px 14px rgba(0,0,0,0.16);
  background: #c9a748;
}

/* --- Tricolore divider --- */
.tricolore {
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right,
    var(--green-it) 33.33%,
    var(--white) 33.33% 66.66%,
    var(--red-it) 66.66%
  );
}

/* --- Layout containers --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: var(--section-v-desktop) 0;
}
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.82); }
.section--charcoal {
  background: var(--charcoal);
  color: var(--white);
}
.section--charcoal h2 { color: var(--white); }
.section--off-white { background: var(--off-white); }
.section--bg-subtle { background: var(--bg-subtle); }

/* Gold rule beneath H2 */
.h2-rule {
  display: block;
  width: 52px;
  height: 2px;
  background: var(--gold);
  margin: 18px 0 44px;
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(184,150,62,0.22);
  box-shadow: 0 1px 24px rgba(10,34,99,0.06);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}
.site-nav.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 32px rgba(10,34,99,0.10);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: 2px;
}
.nav-logo-rule {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-top: 4px;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  white-space: nowrap;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active {
  color: var(--navy);
  font-weight: 600;
}
.nav-links a.active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}
.lang-toggle button {
  padding: 5px 9px;
  color: var(--text-tertiary);
  border-radius: 2px;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.lang-toggle button.active {
  color: var(--navy);
  background: var(--bg-subtle);
}
.lang-toggle span { color: var(--warm-mid); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 999;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 88px var(--gutter) var(--gutter);
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 500;
  color: var(--white);
  opacity: 0.8;
  transition: opacity var(--transition-fast), color var(--transition-fast);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  width: 100%;
}
.nav-mobile a:hover { opacity: 1; color: var(--gold); }
.nav-mobile .mobile-cta { margin-top: 28px; }
.nav-mobile .mobile-lang { margin-top: 24px; display: flex; gap: 12px; }
.nav-mobile .mobile-lang button { color: rgba(255,255,255,0.5); font-size: 15px; font-weight: 600; }
.nav-mobile .mobile-lang button.active { color: var(--white); }

/* Spacer for fixed nav */
.nav-spacer { height: 72px; }

/* Tricolore below nav */
.nav-tricolore {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 999;
  height: 3px;
  background: linear-gradient(to right, var(--green-it) 33.33%, rgba(255,255,255,0) 33.33% 66.66%, var(--red-it) 66.66%);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 75px;
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}

/* Hero content sits on top with z-index */
.hero-content {
  position: relative;
  z-index: 2;
  grid-column: 1;
  padding: var(--section-v-desktop) 64px var(--section-v-desktop) max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
  max-width: 100%;
}

/* Full-width image covers entire hero area behind content */
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
/* Dramatic gradient: deep navy on left → transparent right */
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(6, 22, 64, 0.96) 0%,
    rgba(10, 34, 99, 0.82) 38%,
    rgba(10, 34, 99, 0.38) 62%,
    rgba(10, 34, 99, 0.06) 88%,
    transparent 100%
  );
}
/* Bottom vignette */
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(6, 22, 64, 0.28) 0%,
    transparent 35%
  );
}

/* Hero text overrides (on dark bg) */
.hero h1 {
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.2);
  margin-bottom: 24px;
}
.hero .lead {
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--navy);
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(10,34,99,0.5);
  padding: 18px 0;
}
.trust-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 6px 24px;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 16px;
  width: 1px;
  background: rgba(184,150,62,0.4);
}
.trust-item a { color: inherit; }
.trust-item a:hover { color: var(--gold); }
.trust-item .gold { color: var(--gold); }

/* --- Stat Cards --- */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat-card {
  padding: 56px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: background var(--transition-mid), box-shadow var(--transition-mid);
}
/* Subtle decorative tile element */
.stat-card::before {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 96px;
  height: 96px;
  background: radial-gradient(circle at 70% 70%, rgba(184,150,62,0.09), transparent 70%);
  pointer-events: none;
}
.stat-card:last-child { border-right: none; }
.stat-card .stat-number { display: block; margin-bottom: 10px; }
.stat-card .stat-label {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
.stat-card .caption { display: block; }
.stat-card:hover { background: rgba(10,34,99,0.02); }

/* --- Ranking Badges --- */
.ranking-badges {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ranking-badge {
  flex: 1;
  padding: 44px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background var(--transition-mid);
}
.ranking-badge:hover { background: var(--bg-subtle); }
.ranking-badge:last-child { border-right: none; }
.ranking-badge .badge-number {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 600;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}
.ranking-badge .badge-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
.ranking-badge .badge-source {
  font-size: 12px;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 10px;
}
.ranking-badge a {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid rgba(184,150,62,0.35);
  transition: border-color var(--transition-fast);
}
.ranking-badge a:hover { border-color: var(--gold); }

/* --- Cards --- */
.card {
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius-card);
  padding: 32px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), border-left-color var(--transition-fast),
              transform var(--transition-mid), box-shadow var(--transition-mid);
}
.card:hover {
  border-color: rgba(184,150,62,0.35);
  border-left-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(184,150,62,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
  flex-shrink: 0;
  transition: background var(--transition-mid), color var(--transition-mid);
}
.card:hover .card-icon {
  background: var(--navy);
  color: var(--white);
}

/* Hub cards (on dark section) */
.hub-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-card);
  padding: 32px;
  background: rgba(255,255,255,0.05);
  transition: transform var(--transition-mid), background var(--transition-mid), box-shadow var(--transition-mid), border-color var(--transition-mid);
  cursor: default;
  position: relative;
}
.hub-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 1px rgba(184,150,62,0.4), 0 20px 56px rgba(0,0,0,0.28);
}
.hub-card-flag { font-size: 32px; margin-bottom: 14px; display: block; }
.hub-card-headline { font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.hub-card-detail {
  font-size: 14px;
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1), margin-top 0.3s ease;
}
.hub-card:hover .hub-card-detail { max-height: 200px; margin-top: 12px; }
.hub-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.hub-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 1px solid rgba(184,150,62,0.35);
  border-radius: 2px;
  color: var(--gold);
}

/* --- Sector cards --- */
.sector-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: background var(--transition-mid), border-color var(--transition-mid),
              color var(--transition-mid), transform var(--transition-mid), box-shadow var(--transition-mid);
}
.sector-card:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.sector-card:hover * { color: var(--white) !important; }
.sector-card:hover .sector-icon { filter: brightness(0) invert(1); }
.sector-card .sector-icon { font-size: 28px; }
.sector-card h3 { font-size: 18px; }

/* --- Footer --- */
.site-footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: 96px 0 0;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 72px;
  padding-bottom: 72px;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.footer-logo-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 18px;
  line-height: 1.7;
}
.footer-badges { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.footer-badge {
  border: 1px solid rgba(184,150,62,0.35);
  border-radius: 2px;
  padding: 10px 16px;
  text-align: center;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.footer-badge:hover {
  border-color: var(--gold);
  background: rgba(184,150,62,0.06);
}
.footer-badge .fb-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.footer-badge .fb-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-top: 4px;
}
.footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 22px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item { margin-bottom: 14px; }
.footer-contact-item .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 3px;
}
.footer-contact-item a {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  transition: color var(--transition-fast);
}
.footer-contact-item a:hover { color: var(--white); }
.footer-legal {
  border-top: 1px solid rgba(184,150,62,0.25);
  padding: 26px var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal p, .footer-legal a { font-size: 12px; color: rgba(255,255,255,0.28); }
.footer-legal a:hover { color: rgba(255,255,255,0.65); }
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-label .req { color: var(--red-it); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(184,150,62,0.20);
}
.form-input.error, .form-select.error, .form-textarea.error {
  border-color: var(--red-it);
  box-shadow: 0 0 0 2px rgba(200,16,46,0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230A2263' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Floating label variant */
.form-group-float {
  position: relative;
  margin-bottom: 20px;
}
.form-group-float .form-input,
.form-group-float .form-textarea {
  padding: 22px 16px 8px;
}
.form-label-float {
  position: absolute;
  top: 15px;
  left: 16px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-tertiary);
  pointer-events: none;
  transition: top 0.18s ease, font-size 0.18s ease, color 0.18s ease, letter-spacing 0.18s ease;
  background: transparent;
}
.form-group-float .form-input:focus ~ .form-label-float,
.form-group-float .form-input:not(:placeholder-shown) ~ .form-label-float,
.form-group-float .form-textarea:focus ~ .form-label-float,
.form-group-float .form-textarea:not(:placeholder-shown) ~ .form-label-float {
  top: 7px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-checkbox-group { display: flex; flex-direction: column; gap: 8px; }
.form-multi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"],
.form-checkbox input[type="radio"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--navy);
  cursor: pointer;
}
.form-checkbox span, .form-checkbox label { font-size: 14px; color: var(--text-primary); line-height: 1.5; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { font-size: 12px; color: var(--red-it); margin-top: 5px; display: none; }
.form-success {
  padding: 20px 24px;
  background: rgba(26,122,74,0.08);
  border: 1px solid rgba(26,122,74,0.28);
  border-radius: var(--radius-card);
  color: var(--success);
  font-size: 15px;
  font-weight: 500;
  display: none;
}
.form-note {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.55;
  margin-top: 8px;
}
.gdpr-note {
  font-size: 12px;
  color: var(--text-tertiary);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* --- Page header --- */
.page-header {
  background: var(--bg-subtle);
  padding: calc(var(--section-v-desktop) * 0.65) 0 var(--section-v-tablet);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a, .breadcrumb span {
  font-size: 13px;
  color: var(--text-tertiary);
}
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { color: var(--warm-mid); }
.breadcrumb .current { color: var(--text-primary); font-weight: 500; }

/* --- Comparison table --- */
.comparison-row {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  box-shadow: var(--shadow-sm);
}
.comparison-row.visible { opacity: 1; transform: translateY(0); }
.comparison-cell {
  padding: 24px;
  border-right: 1px solid var(--border);
}
.comparison-cell:last-child { border-right: none; }
.comparison-cell.label-cell {
  background: var(--bg-subtle);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
}
.comparison-cell.market-cell { color: var(--text-secondary); font-size: 14px; }
.comparison-cell.corpshore-cell {
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

/* --- Accordion --- */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 8px;
  transition: box-shadow var(--transition-fast);
}
.accordion-item:has(.accordion-trigger[aria-expanded="true"]) {
  box-shadow: var(--shadow-sm);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  text-align: left;
  gap: 16px;
  transition: background var(--transition-fast);
}
.accordion-trigger:hover { background: var(--bg-subtle); }
.accordion-trigger[aria-expanded="true"] { background: var(--bg-subtle); }
.accordion-icon { flex-shrink: 0; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1);
}
.accordion-panel-inner { padding: 0 24px 24px; color: var(--text-secondary); font-size: 14px; line-height: 1.8; }

/* --- Category badge --- */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.badge-navy { background: var(--navy); color: var(--white); }
.badge-gold { background: var(--gold); color: var(--navy); }
.badge-red {
  background: var(--red-it);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.badge-red .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 1.5s infinite;
}
.badge-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.35); }
}

/* --- Blog cards --- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
  transition: border-color var(--transition-fast), transform var(--transition-mid), box-shadow var(--transition-mid);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--off-white);
  position: relative;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
/* Image overlay on hover */
.blog-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(10,34,99,0.72));
  opacity: 0;
  transition: opacity var(--transition-mid);
  pointer-events: none;
  z-index: 1;
}
.blog-card:hover .blog-card-image-overlay { opacity: 1; }
/* Category tag: absolute on image */
.blog-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 18px; margin: 12px 0 8px; }
.blog-card-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.68; flex: 1; margin-bottom: 16px; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.blog-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
.blog-card-link:hover { color: var(--gold); }
.reading-time { font-size: 12px; color: var(--text-tertiary); }

/* --- Case history cards --- */
.ch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.ch-card {
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius-card);
  padding: 36px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition-fast), border-left-color var(--transition-fast),
              transform var(--transition-mid), box-shadow var(--transition-mid);
  box-shadow: var(--shadow-sm);
}
.ch-card:hover {
  border-color: rgba(184,150,62,0.3);
  border-left-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ch-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ch-card-metric { text-align: right; flex-shrink: 0; }
.ch-card-metric .big { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--gold); display: block; line-height: 1; }
.ch-card-metric .small { font-size: 12px; color: var(--text-tertiary); }
.ch-challenge { font-size: 14px; color: var(--text-secondary); line-height: 1.75; }
.ch-results { margin-top: 4px; }
.ch-results li {
  font-size: 14px;
  color: var(--text-primary);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.ch-results li::before { content: '→'; color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.ch-results li:last-child { border-bottom: none; }

/* --- Job board --- */
.jb-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  align-items: center;
}
.jb-search { flex: 1; min-width: 240px; position: relative; }
.jb-search input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.jb-search input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(184,150,62,0.15);
}
.jb-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  pointer-events: none;
}
.jb-filter select {
  padding: 13px 36px 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230A2263' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.jb-filter select:focus {
  outline: none;
  border-color: var(--gold);
}
.job-card {
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius-card);
  padding: 24px 28px;
  background: var(--white);
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  transition: border-left-color var(--transition-fast), border-color var(--transition-fast),
              transform var(--transition-fast), box-shadow var(--transition-fast);
}
.job-card:hover {
  border-left-color: var(--navy);
  border-color: rgba(10,34,99,0.15);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.job-card.urgent {
  border-left-color: var(--gold);
  background: rgba(184,150,62,0.025);
}
.job-card.urgent:hover { border-left-color: var(--gold); }
.job-title { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.job-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.job-meta span { font-size: 13px; color: var(--text-secondary); }
.job-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--warm-mid); flex-shrink: 0; }
.job-card-action { display: flex; align-items: center; gap: 12px; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-grey { color: var(--text-secondary); }
.text-white { color: var(--white); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

/* Callout box */
.callout {
  background: rgba(184,150,62,0.07);
  border: 1px solid rgba(184,150,62,0.28);
  border-left: 4px solid var(--gold);
  padding: 24px 28px;
  border-radius: var(--radius-card);
  margin: 36px 0;
}
.callout-text {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
}

/* Section intro */
.section-intro { max-width: 720px; margin: 0 auto 72px; text-align: center; }
.section-intro.left-align { text-align: left; margin-left: 0; }

/* CTA banner */
.cta-banner {
  padding: var(--section-v-tablet) 0;
  background: var(--charcoal);
  text-align: center;
}

/* Cookie banner — glass morphism */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(10, 34, 99, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(184,150,62,0.35);
  padding: 20px var(--gutter);
  display: none;
}
#cookie-banner.show { display: block; }
.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text { font-size: 13px; color: rgba(255,255,255,0.82); line-height: 1.6; flex: 1; min-width: 260px; }
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* Scroll reveal base */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1100px) {
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-card:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-card:nth-last-child(-n+2) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-row { grid-template-columns: 140px 1fr 1fr; }
  .ranking-badges { flex-wrap: wrap; }
  .ranking-badge { min-width: 200px; }
}

@media (max-width: 900px) {
  :root { --section-v-desktop: 80px; }
  .hero { grid-template-columns: 1fr; }
  .hero-content {
    padding: 80px var(--gutter) 80px;
    max-width: 100%;
    grid-column: 1;
  }
  .nav-links { display: none; }
  .nav-cta-desktop { display: none; }
  .nav-hamburger { display: flex; }
  .lang-toggle { display: none; }
  .ch-grid { grid-template-columns: 1fr; }
  .comparison-row { grid-template-columns: 1fr; }
  .comparison-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .comparison-cell:last-child { border-bottom: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .ranking-badges { flex-direction: column; }
  .ranking-badge { border-right: none; border-bottom: 1px solid var(--border); }
  .ranking-badge:last-child { border-bottom: none; }
  .floating-cta { bottom: 20px; right: 16px; padding: 12px 18px; font-size: 12px; }
}

@media (max-width: 768px) {
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --section-v-desktop: 56px; --gutter: 20px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; justify-content: center; }
  .trust-item { padding: 6px 12px; }
  .stat-cards { grid-template-columns: 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-card:nth-child(odd) { border-right: none; }
  .stat-card:last-child { border-bottom: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .job-card { grid-template-columns: 1fr; }
  .floating-cta { display: none; } /* hide on very small — hero CTA serves same purpose */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
