/* ═══════════════════════════════════════════════════════════════
   PHLEBOSOPHY 2026 — APPLE GLASS PREMIUM STYLE
   Ultra-luxury glassmorphism for medical congress
═══════════════════════════════════════════════════════════════ */

:root {
  /* ─── INSTITUTIONAL NAVY — primary anchor color ─── */
  --navy:      #0B1E3F;
  --navyd:     #061328;
  --navym:     #142B5C;
  --navyl:     #2D4582;
  --navy-soft: #1E3262;

  /* ─── SURGICAL RED — precise accent ─── */
  --crimson:    #B0151A;
  --crimsond:   #87100F;
  --crimsonl:   #C92529;
  --crimson-tint: rgba(176,21,26,0.08);
  --crimson-glow: rgba(176,21,26,0.20);

  /* ─── GOLD — refined bronze ─── */
  --gold:      #B89556;
  --goldl:     #D4B373;
  --goldd:     #8B6E3D;
  --gold-tint: #F5EFE2;

  /* ─── BACKGROUNDS — warm ivory white (no pink) ─── */
  --bg-deep:   #FBFAF6;   /* warm ivory base (was #F7F8FA cold gray) */
  --bg-mid:    #FFFFFF;
  --bg-pure:   #FFFFFF;
  --bg-cream:  #FDFBF4;   /* parchment ivory */
  --bg-tint:   #FAFAF5;
  --bg-warm:   #F9F6EE;   /* warmest tone, only for accent panels */

  /* ─── TEXT ─── */
  --ink:       #0A1228;
  --ink-soft:  #2A3550;
  --gray:      #5C6478;
  --gray-l:    #8E94A5;
  --gray-xl:   #C5C9D4;
  --lgray:     #E4E0D7;   /* warm divider */
  --hairline:  #ECE7DA;   /* ivory hairline (was cold #E8EBF0) */

  /* ─── GLASS TOKENS ─── */
  --glass-bg:        rgba(255,255,255,0.80);
  --glass-bg-strong: rgba(255,255,255,0.94);
  --glass-bg-hover:  rgba(255,255,255,1.00);
  --glass-border:    rgba(184,149,86,0.14);
  --glass-border-h:  rgba(184,149,86,0.28);
  --glass-blur:      32px;

  --glass-d-bg:      rgba(11,30,63,0.92);
  --glass-d-border:  rgba(255,255,255,0.10);

  /* ─── SHADOWS — warm-tinted (gold-tinted, not red) ─── */
  --shadow-xs:       0 1px 2px rgba(60,40,10,.04);
  --shadow-soft:     0 1px 3px rgba(60,40,10,.05), 0 8px 24px rgba(60,40,10,.06);
  --shadow-md:       0 2px 6px rgba(60,40,10,.06), 0 16px 40px rgba(60,40,10,.08);
  --shadow-lg:       0 4px 12px rgba(60,40,10,.08), 0 24px 60px rgba(60,40,10,.12);
  --shadow-glow:     0 8px 32px rgba(60,40,10,.10), 0 32px 80px rgba(60,40,10,.14);

  --shadow-crimson:  0 4px 14px rgba(176,21,26,.20), 0 1px 3px rgba(176,21,26,.12);
  --shadow-crimson-h:0 8px 28px rgba(176,21,26,.36), 0 2px 6px rgba(176,21,26,.18);
  --shadow-navy:     0 4px 14px rgba(11,30,63,.18), 0 1px 3px rgba(11,30,63,.10);
  --shadow-gold:     0 4px 14px rgba(184,149,86,.22), 0 1px 3px rgba(139,110,61,.12);

  --serif: 'Playfair Display', 'Times New Roman', serif;
  --sans:  'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  background: var(--bg-deep);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Warm ivory background with very subtle navy + gold tinges */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 35% at 0% 0%, rgba(11,30,63,.04) 0%, transparent 65%),
    radial-gradient(ellipse 50% 30% at 100% 0%, rgba(184,149,86,.05) 0%, transparent 60%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(184,149,86,.04) 0%, transparent 65%),
    radial-gradient(ellipse 40% 25% at 100% 70%, rgba(11,30,63,.025) 0%, transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FDFBF4 40%, #FBFAF6 70%, #FAF7EE 100%);
  z-index: -2;
  pointer-events: none;
}

/* Subtle paper texture — premium printed feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(139,110,61,.018) 1px, transparent 0);
  background-size: 24px 24px;
  z-index: -1;
  pointer-events: none;
  opacity: .8;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* Reading progress */
#progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 9999; pointer-events: none;
}
#progressBar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--crimson), var(--gold), var(--navyl));
  box-shadow: 0 0 20px rgba(169,24,27,.5);
  transition: width .08s linear;
}

/* ═══════════════════════════════════════════════════════════════
   GLASS NAVBAR — Always-visible fixed Apple-style
═══════════════════════════════════════════════════════════════ */
body { padding-top: 88px; }

.navbar {
  position: fixed;
  top: 12px;
  left: 16px;
  right: 16px;
  z-index: 500;
  background: rgba(11, 30, 63, 0.85);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.08) inset,
    0 8px 32px rgba(10,18,40,0.22),
    0 2px 8px rgba(10,18,40,0.10);
  transition: padding .25s, top .25s, background .25s, left .25s, right .25s, box-shadow .25s;
}
.navbar.scrolled {
  background: rgba(6, 19, 40, 0.95);
  top: 8px;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.06) inset,
    0 12px 36px rgba(10,18,40,0.30),
    0 4px 12px rgba(10,18,40,0.15);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity .2s;
}
.nav-brand:hover { opacity: .85; }
.nav-brand img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-brand-year {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  letter-spacing: 2.5px;
  border-left: 1px solid rgba(255,255,255,.15);
  padding-left: 12px;
  white-space: nowrap;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2px;
  color: rgba(255,255,255,.7);
  border-radius: 100px;
  transition: color .2s, background .2s;
  white-space: nowrap;
  cursor: pointer;
}
.nav-link:hover {
  color: white;
  background: rgba(255,255,255,.06);
}
.nav-link.active {
  color: white;
  background: rgba(255,255,255,.10);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(15,26,53,0.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  min-width: 280px;
  padding: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 600;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  border-radius: 10px;
  transition: background .15s, color .15s, padding .15s;
}
.nav-dropdown-item:hover {
  background: rgba(255,255,255,.08);
  color: white;
  padding-left: 20px;
}
.nav-dropdown-item.featured {
  color: var(--gold);
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* LANG SWITCHER (right side) */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 100px;
}
.lang-btn {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.55);
  border-radius: 100px;
  transition: color .2s, background .2s;
  cursor: pointer;
}
.lang-btn:hover { color: white; }
.lang-btn.active {
  background: rgba(255,255,255,.16);
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* CTA in navbar — clean solid Apple-style */
.nav-cta {
  position: relative;
  padding: 10px 22px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -.1px;
  background: var(--crimson);
  color: white;
  border-radius: 100px;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.18) inset,
    0 1px 2px rgba(176,21,26,.18),
    0 4px 12px rgba(176,21,26,.30);
}
.nav-cta .nav-cta-full { display: inline; }
.nav-cta .nav-cta-short { display: none; }
/* Removed shimmer/pulse — clean Apple iOS look */
.nav-cta::before { display: none; }
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--crimsonl);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.22) inset,
    0 2px 4px rgba(176,21,26,.20),
    0 8px 20px rgba(176,21,26,.40);
}
.nav-cta:active {
  transform: translateY(0);
  background: var(--crimsond);
}
/* Keep animation keyframes harmless (no element uses them now) */
@keyframes ctaBreath { 0%, 100% { } 50% { } }
@keyframes ctaShimmer { 0%, 100% { } }
@keyframes ctaPulse { 0%, 100% { } }

/* Hamburger */
.nav-ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
}
.nav-ham span {
  width: 22px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: all .3s;
}
.nav-ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-ham.open span:nth-child(2) { opacity: 0; }
.nav-ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 76px 16px auto 16px;
  background: rgba(7,13,31,0.92);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  z-index: 490;
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  animation: slideDown .35s cubic-bezier(.4,0,.2,1);
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: 12px;
  transition: background .2s, color .2s;
  display: block;
}
.mobile-nav-link:hover, .mobile-nav-link:active {
  background: rgba(255,255,255,.06);
  color: white;
}
.mobile-nav-link.sub {
  padding-left: 32px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
}
.mobile-nav-link.sub::before {
  content: '→ ';
  color: var(--gold);
  margin-right: 6px;
}
.mobile-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
}
.mobile-lang-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  margin-right: auto;
}
.mobile-cta {
  margin-top: 16px;
  background: var(--crimson);
  color: white;
  text-align: center;
  padding: 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  display: block;
  transition: background .2s;
}
.mobile-cta:hover { background: var(--crimsonl); }

/* ═══════════════════════════════════════════════════════════════
   COMMON COMPONENTS
═══════════════════════════════════════════════════════════════ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  padding: 120px 0;
  position: relative;
}
.section-tight { padding: 80px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.eyebrow-crimson { color: var(--crimson); }
.eyebrow.eyebrow-crimson::before { background: var(--crimson); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: white;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.section-title.dark { color: var(--ink); }

.section-lead {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  max-width: 640px;
}
.section-lead.dark { color: var(--gray); }

/* Reveal */
.rv {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
.rv-d4 { transition-delay: .32s; }

/* Glass card base */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.08) inset,
    0 24px 60px rgba(0,0,0,.3);
  transition: background .3s, border-color .3s, transform .3s, box-shadow .3s;
}
.glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-h);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.1px;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  text-decoration: none;
  font-family: var(--sans);
}

/* PRIMARY — solid crimson, refined Apple look */
.btn-primary {
  background: var(--crimson);
  color: white;
  border-color: transparent;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.18) inset,
    0 1px 2px rgba(176,21,26,.20),
    0 4px 12px rgba(176,21,26,.24);
}
.btn-primary:hover {
  background: var(--crimsonl);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.22) inset,
    0 2px 4px rgba(176,21,26,.24),
    0 8px 20px rgba(176,21,26,.36);
}
.btn-primary:active {
  transform: translateY(0);
  background: var(--crimsond);
}

/* SECONDARY (navy) — for buttons that aren't primary CTA */
.btn-secondary {
  background: var(--navy);
  color: white;
  border-color: transparent;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.10) inset,
    0 1px 2px rgba(11,30,63,.18),
    0 4px 12px rgba(11,30,63,.20);
}
.btn-secondary:hover {
  background: var(--navym);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.14) inset,
    0 2px 4px rgba(11,30,63,.22),
    0 8px 20px rgba(11,30,63,.30);
}
.btn-secondary:active {
  transform: translateY(0);
  background: var(--navyd);
}

/* GOLD — only for premium moments */
.btn-gold {
  background: var(--gold);
  color: white;
  border-color: transparent;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.22) inset,
    0 1px 2px rgba(139,110,61,.18),
    0 4px 12px rgba(184,149,86,.28);
}
.btn-gold:hover {
  background: var(--goldl);
  transform: translateY(-1px);
  color: white;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.28) inset,
    0 2px 4px rgba(139,110,61,.20),
    0 8px 20px rgba(184,149,86,.40);
}
.btn-gold:active { transform: translateY(0); background: var(--goldd); }

/* GLASS — clean white frosted, refined */
.btn-glass {
  background: rgba(255,255,255,.85);
  color: var(--navy);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.95) inset,
    0 1px 2px rgba(10,18,40,.04),
    0 4px 12px rgba(10,18,40,.06);
}
.btn-glass:hover {
  background: rgba(255,255,255,1);
  color: var(--crimson);
  border-color: rgba(176,21,26,.18);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,1) inset,
    0 2px 4px rgba(10,18,40,.06),
    0 8px 20px rgba(10,18,40,.10);
}
.btn-glass:active { transform: translateY(0); }

/* OUTLINE light — only on dark backgrounds */
.btn-outline-light {
  background: rgba(255,255,255,.06);
  color: white;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.40);
  transform: translateY(-1px);
}
.btn-outline-light:active { transform: translateY(0); }

.btn-arrow {
  display: inline-block;
  transition: transform .2s;
  font-weight: 400;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Form base */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  color: rgba(255,255,255,.85);
  margin-bottom: 8px;
}
.form-label.dark { color: var(--ink); }
.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: white;
  font-size: 14px;
  transition: background .2s, border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: rgba(255,255,255,.35); }
.form-input:focus {
  background: rgba(255,255,255,.08);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,169,110,.10);
}
.form-input.dark {
  background: var(--off);
  border-color: var(--lgray);
  color: var(--ink);
}
.form-input.dark:focus {
  background: white;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(15,26,53,.06);
}
.form-input.dark::placeholder { color: #ABABAB; }
.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='%23FFFFFF' stroke-opacity='0.5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-input.dark.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='%236A6A6A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
  position: relative;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
  margin-bottom: 64px;
}
.footer-brand img {
  height: 42px;
  width: auto;
  max-width: 220px;
  margin-bottom: 24px;
  display: block;
  object-fit: contain;
}
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-link {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
  transition: color .2s, padding-left .15s;
}
.footer-link:hover {
  color: white;
  padding-left: 4px;
}
.footer-link.featured { color: var(--gold); font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.35);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-size: 11.5px;
  color: rgba(255,255,255,.4);
  letter-spacing: .3px;
  transition: color .2s;
}
.footer-bottom-links a:hover { color: white; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 9000;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(15,26,53,.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  transform: translateY(calc(100% + 32px));
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
}
.cookie-text a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(200,169,110,.4); }
.cookie-btns { display: flex; gap: 8px; }
.cookie-ok {
  padding: 9px 20px;
  background: var(--crimson);
  color: white;
  border: none;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: background .2s;
}
.cookie-ok:hover { background: var(--crimsonl); }
.cookie-decline {
  padding: 9px 18px;
  background: transparent;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1100px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .nav-center { display: none; }
  .nav-ham { display: flex; }
  .container { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section { padding: 80px 0; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE LARGE (≤ 700px)
   Navbar layout: [Logo | 2026]  [Register]  [EN|IT]  [Burger]
═══════════════════════════════════════════════════════════════ */
@media (max-width: 700px) {
  body { padding-top: 80px; }
  .navbar {
    left: 8px;
    right: 8px;
    top: 8px;
    border-radius: 24px;
  }
  .nav-inner {
    padding: 0 10px 0 14px;
    height: 60px;
    gap: 8px;
  }
  .nav-brand {
    gap: 8px;
    min-width: 0;
    flex: 0 0 auto;
  }
  .nav-brand img {
    height: 22px;
    flex-shrink: 0;
  }
  .nav-brand-year {
    font-size: 9px;
    padding-left: 8px;
    letter-spacing: 1.8px;
    border-left-width: 1px;
    flex-shrink: 0;
  }
  .nav-right {
    gap: 6px;
    flex-shrink: 0;
  }
  /* Compact CTA on mobile */
  .nav-cta {
    padding: 7px 12px;
    font-size: 10.5px;
    letter-spacing: .4px;
  }
  .nav-cta .nav-cta-full { display: none; }
  .nav-cta .nav-cta-short { display: inline; }
  /* Lang switcher compact */
  .lang-switcher {
    padding: 3px;
    gap: 0;
  }
  .lang-btn {
    padding: 4px 8px;
    font-size: 10px;
    letter-spacing: 1px;
  }
  .lang-divider { display: none; }
  /* Hamburger */
  .nav-ham {
    padding: 6px;
    gap: 4px;
  }
  .nav-ham span {
    width: 18px;
    height: 1.5px;
  }
  /* Mobile menu */
  .mobile-menu {
    inset: 76px 8px auto 8px;
    padding: 18px;
    border-radius: 20px;
  }
  .container { padding: 0 16px; }
  .container-narrow { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; gap: 0; }
  .cookie-banner { padding: 14px 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE SMALL (≤ 380px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
  body { padding-top: 76px; }
  .navbar { left: 6px; right: 6px; }
  .nav-inner { padding: 0 8px 0 12px; height: 56px; gap: 6px; }
  .nav-brand img { height: 22px; }
  .nav-brand-year {
    font-size: 8.5px;
    padding-left: 6px;
    letter-spacing: 1.5px;
  }
  .nav-cta { padding: 6px 10px; font-size: 10px; }
  .lang-btn { padding: 3px 6px; font-size: 9.5px; }
  .nav-ham { padding: 5px; }
  .container { padding: 0 14px; }
  .container-narrow { padding: 0 14px; }
}
