/* ═══════════════════════════════════════════════════════════════
   PHLEBOSOPHY 2026 — WP EXTRAS CSS (FINAL)
   Original main.css + pages.css = 99% of styling.
   This file = WP-specific extras + Apple-glass polish + responsive
═══════════════════════════════════════════════════════════════ */

/* ─── WP admin bar offset ─── */
body.admin-bar .navbar { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .navbar { top: 46px; }
}

/* ─── Screen-reader-text (a11y) ─── */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #fff; color: #0F1A35; clip: auto !important; clip-path: none;
  display: block; font-weight: 600; height: auto; width: auto;
  left: 8px; top: 8px; padding: 12px 18px; border-radius: 8px; z-index: 100000;
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR — Apple-glass premium polish on scroll
═══════════════════════════════════════════════════════════════ */
.navbar {
  transition:
    background .35s cubic-bezier(.16,1,.3,1),
    border-color .35s cubic-bezier(.16,1,.3,1),
    box-shadow .35s cubic-bezier(.16,1,.3,1),
    padding .35s cubic-bezier(.16,1,.3,1);
}
.navbar.scrolled {
  border-color: rgba(200, 169, 110, 0.32) !important;
  box-shadow:
    0 1px 0 rgba(200, 169, 110, 0.20) inset,
    0 8px 32px -10px rgba(11, 30, 63, 0.45),
    0 0 0 1px rgba(200, 169, 110, 0.10);
}
/* Subtle reading progress bar in gold */
#progressBar {
  background: linear-gradient(90deg, #c8a96e 0%, #a07c3a 100%);
}

/* ═══════════════════════════════════════════════════════════════
   "REGISTER NOW" — premium Apple-glass animation
   Targets the gold CTA button INSIDE the hero countdown card
═══════════════════════════════════════════════════════════════ */
.hero-card .btn-gold,
.hero-card-btn {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: linear-gradient(135deg, #d4b685 0%, #c8a96e 45%, #a07c3a 100%) !important;
  color: #0F1A35 !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  border: none !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.30) inset,
    0 -1px 0 rgba(120,90,30,.25) inset,
    0 4px 14px -2px rgba(200,169,110,.45),
    0 12px 32px -10px rgba(160,124,58,.55) !important;
  animation: phlebo-pulse-gold 3.4s ease-in-out infinite;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s cubic-bezier(.16,1,.3,1);
}

/* Animated halo behind the button — subtle "breathe" effect */
.hero-card .btn-gold::before,
.hero-card-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(200,169,110,.55), rgba(160,124,58,.55));
  z-index: -1;
  filter: blur(14px);
  opacity: .5;
  animation: phlebo-glow-gold 3.4s ease-in-out infinite;
}

/* Shimmer sweep — premium glass effect, slow and elegant */
.hero-card .btn-gold::after,
.hero-card-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,.45) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  background-position: 200% 0;
  animation: phlebo-shimmer-gold 4.5s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero-card .btn-gold:hover,
.hero-card-btn:hover {
  transform: translateY(-2px) scale(1.005);
  animation-play-state: paused;
  box-shadow:
    0 1px 0 rgba(255,255,255,.36) inset,
    0 -1px 0 rgba(120,90,30,.30) inset,
    0 6px 18px -2px rgba(200,169,110,.55),
    0 18px 42px -10px rgba(160,124,58,.65) !important;
}

@keyframes phlebo-pulse-gold {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-1px) scale(1.012); }
}
@keyframes phlebo-glow-gold {
  0%, 100% { opacity: .35; filter: blur(14px); }
  50%      { opacity: .68; filter: blur(20px); }
}
@keyframes phlebo-shimmer-gold {
  0%   { background-position: 200% 0; }
  60%  { background-position: -200% 0; }
  100% { background-position: -200% 0; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-card .btn-gold,
  .hero-card-btn,
  .hero-card .btn-gold::before,
  .hero-card-btn::before,
  .hero-card .btn-gold::after,
  .hero-card-btn::after {
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE HERO — match screenshot proportions (1.2fr 1fr)
   on desktop, stack on tablet/mobile
═══════════════════════════════════════════════════════════════ */
@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: 1.2fr 1fr !important;
    gap: 72px !important;
    align-items: center;
  }
  .hero-card {
    max-width: 480px;
    margin-left: auto;
  }
}
@media (max-width: 979px) {
  .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
  .hero-card { margin: 0 auto; max-width: 520px; width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   APPLE-GLASS REFINEMENTS — global polish for premium feel
═══════════════════════════════════════════════════════════════ */

/* Slightly increase blur quality on glass surfaces */
.navbar,
.hero-card,
.value-card,
.edu-card,
.learning-card,
.spec-card,
.pkg-card,
.prog-day-card,
.session-card,
.year-selector,
.edition-detail,
.contact-form-card,
.contact-side-card,
.checkout-form-card,
.checkout-summary-card,
.collab-banner,
.venue-card,
.guarantee,
.philosophy-block {
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}

/* Softer, more refined shadows (apple-style depth) */
.value-card,
.learning-card,
.spec-card,
.prog-day-card,
.session-card {
  box-shadow:
    0 1px 2px rgba(15,23,42,.04),
    0 1px 6px rgba(15,23,42,.04),
    0 12px 36px -10px rgba(15,23,42,.08) !important;
  transition:
    transform .35s cubic-bezier(.16,1,.3,1),
    box-shadow .35s cubic-bezier(.16,1,.3,1),
    border-color .35s cubic-bezier(.16,1,.3,1) !important;
}
.value-card:hover,
.learning-card:hover,
.spec-card:hover,
.prog-day-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 2px 4px rgba(15,23,42,.06),
    0 4px 12px rgba(15,23,42,.06),
    0 24px 60px -12px rgba(15,23,42,.14) !important;
}

/* Buttons — softer, more premium */
.btn {
  transition:
    transform .22s cubic-bezier(.16,1,.3,1),
    box-shadow .22s cubic-bezier(.16,1,.3,1),
    background .22s cubic-bezier(.16,1,.3,1) !important;
}
.btn-primary {
  box-shadow:
    0 1px 0 rgba(255,255,255,.10) inset,
    0 4px 12px -2px rgba(176,21,26,.30),
    0 10px 28px -6px rgba(176,21,26,.40) !important;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.14) inset,
    0 6px 16px -2px rgba(176,21,26,.36),
    0 16px 36px -8px rgba(176,21,26,.50) !important;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER — IFI legal block
═══════════════════════════════════════════════════════════════ */
.footer-ifi-legal {
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.35);
  text-align: center;
  letter-spacing: .015em;
}
.footer-ifi-legal a {
  color: rgba(200,169,110,.85);
  text-decoration: none;
  border-bottom: 1px dotted rgba(200,169,110,.4);
  transition: color .2s, border-color .2s;
}
.footer-ifi-legal a:hover {
  color: #d4b685;
  border-bottom-color: #d4b685;
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES (privacy + cookie policy)
═══════════════════════════════════════════════════════════════ */
.legal-content {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray, #5C6478);
}
.legal-content .legal-meta {
  font-size: 13px;
  color: var(--gray-l, #8E94A5);
  font-style: italic;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.legal-content h2 {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink, #0F1A35);
  margin: 48px 0 18px;
  letter-spacing: -.5px;
}
.legal-content h3 {
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink, #0F1A35);
  margin: 28px 0 12px;
  letter-spacing: -.2px;
}
.legal-content p {
  margin: 0 0 16px;
}
.legal-content ul,
.legal-content ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.legal-content li {
  margin-bottom: 10px;
}
.legal-content a {
  color: var(--crimson, #B0151A);
  text-decoration: none;
  border-bottom: 1px solid rgba(176,21,26,.25);
  transition: border-color .2s, color .2s;
}
.legal-content a:hover {
  color: #931114;
  border-bottom-color: #931114;
}
.legal-content strong { color: var(--ink, #0F1A35); font-weight: 600; }
.legal-content code {
  background: rgba(15,23,42,.05);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--crimson, #B0151A);
}
.legal-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 18px 0 26px;
  background: rgba(255,255,255,.5);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.06);
  font-size: 14px;
}
.legal-table th {
  text-align: left;
  padding: 12px 16px;
  background: rgba(15,23,42,.04);
  font-weight: 600;
  color: var(--ink, #0F1A35);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.legal-table td {
  padding: 12px 16px;
  border-top: 1px solid rgba(15,23,42,.05);
  vertical-align: top;
}
.legal-related {
  margin-top: 40px;
  padding: 18px 20px;
  background: rgba(200,169,110,.06);
  border-radius: 14px;
  border-left: 3px solid var(--gold, #c8a96e);
  font-size: 14px;
}

@media (max-width: 600px) {
  .legal-content h2 { font-size: 22px; }
  .legal-content h3 { font-size: 16px; }
  .legal-table { font-size: 13px; }
  .legal-table th, .legal-table td { padding: 10px 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   NATIVE FORM (PHP fallback when CF7 not configured)
═══════════════════════════════════════════════════════════════ */
.phlebo-native-form { margin: 0; }
.phlebo-native-form .form-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--goldd, #a07c3a);
  margin: 28px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,169,110,.18);
}
.phlebo-native-form .form-section-title:first-child { margin-top: 0; }
.phlebo-native-form .form-group { margin-bottom: 16px; }
.phlebo-native-form .form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, #0F1A35);
  margin-bottom: 7px;
  letter-spacing: .005em;
}
.phlebo-native-form .form-req { color: var(--crimson, #B0151A); font-weight: 700; }
.phlebo-native-form .form-input,
.phlebo-native-form .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 12px;
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 15px;
  color: var(--ink, #0F1A35);
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color .15s, box-shadow .15s, background .15s;
  box-sizing: border-box;
  line-height: 1.5;
}
.phlebo-native-form .form-textarea { min-height: 120px; resize: vertical; }
.phlebo-native-form .form-input:focus,
.phlebo-native-form .form-textarea:focus {
  outline: none;
  border-color: rgba(176,21,26,.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(176,21,26,.08);
}
.phlebo-native-form .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 540px) {
  .phlebo-native-form .form-row-2 { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .phlebo-native-form .form-row-2 .form-group { margin-bottom: 16px; }
}
.phlebo-native-form .form-privacy-label {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 22px 0 8px;
  font-size: 13px;
  color: var(--gray, #5C6478);
  line-height: 1.55;
  cursor: pointer;
  padding: 14px 16px;
  background: rgba(15,23,42,.02);
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.05);
}
.phlebo-native-form .form-privacy-label input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--crimson, #B0151A);
  cursor: pointer;
}
.phlebo-native-form .form-privacy-label a {
  color: var(--crimson, #B0151A);
  font-weight: 600;
  text-decoration: underline;
}
.phlebo-native-form .phlebo-form-submit {
  width: 100%;
  justify-content: center;
}
.phlebo-native-form .form-fallback-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--gray-l, #8E94A5);
  font-style: italic;
  text-align: center;
}

/* Package radio (register form) */
.form-pkg-radio-group {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}
.form-pkg-radio {
  cursor: pointer;
  padding: 16px 18px;
  background: rgba(255,255,255,.6);
  border: 1.5px solid rgba(15,23,42,.08);
  border-radius: 14px;
  transition: all .2s cubic-bezier(.16,1,.3,1);
  display: flex; align-items: center; gap: 14px;
}
.form-pkg-radio:has(input:checked) {
  border-color: var(--gold, #c8a96e);
  background: rgba(200,169,110,.06);
  box-shadow: 0 0 0 3px rgba(200,169,110,.10);
}
.form-pkg-radio input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: var(--gold, #c8a96e);
  margin: 0;
}
.form-pkg-radio-label { flex: 1; }
.form-pkg-radio-name { font-weight: 700; color: var(--ink, #0F1A35); font-size: 15px; }
.form-pkg-radio-price { font-size: 12px; color: var(--gray, #5C6478); letter-spacing: .04em; }

/* Flash messages */
.phlebo-form-flash {
  margin: 0 0 22px;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid;
  font-weight: 500;
}
.phlebo-msg-ok {
  background: linear-gradient(135deg, rgba(61,155,106,.10), rgba(93,189,138,.05));
  border-color: rgba(61,155,106,.30);
  color: #1f5b3a;
}
.phlebo-msg-err {
  background: linear-gradient(135deg, rgba(176,21,26,.08), rgba(200,30,40,.04));
  border-color: rgba(176,21,26,.25);
  color: var(--crimson, #B0151A);
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT FORM 7 — theme-matched styling (when configured)
═══════════════════════════════════════════════════════════════ */
.wpcf7, .wpcf7-form { margin: 0; }
.wpcf7-form p { margin: 0 0 16px; }
.wpcf7-form label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--ink, #0F1A35); margin-bottom: 6px;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 12px;
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 15px;
  color: var(--ink, #0F1A35);
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color .15s, box-shadow .15s, background .15s;
  box-sizing: border-box;
  line-height: 1.5;
}
.wpcf7-form textarea { min-height: 120px; resize: vertical; }
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: rgba(176,21,26,.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(176,21,26,.08);
}
.wpcf7-form input[type="submit"],
.wpcf7-submit {
  background: var(--crimson, #B0151A) !important;
  color: #fff !important;
  padding: 14px 28px !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: var(--sans, 'Inter', sans-serif) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all .22s cubic-bezier(.16,1,.3,1);
  box-shadow:
    0 1px 0 rgba(255,255,255,.10) inset,
    0 4px 12px -2px rgba(176,21,26,.30),
    0 10px 28px -6px rgba(176,21,26,.40);
  margin-top: 8px;
  letter-spacing: .01em;
}
.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover {
  background: #931114 !important;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.14) inset,
    0 6px 16px -2px rgba(176,21,26,.36),
    0 16px 36px -8px rgba(176,21,26,.50);
}
.wpcf7-spinner { background-color: var(--crimson, #B0151A); }
.wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  font-size: 14px;
  border: 1px solid !important;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(93,189,138,.10) !important;
  border-color: rgba(61,155,106,.30) !important;
  color: #1f5b3a !important;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: rgba(200,169,110,.10) !important;
  border-color: rgba(200,169,110,.32) !important;
  color: #6b5526 !important;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  background: rgba(176,21,26,.06) !important;
  border-color: rgba(176,21,26,.22) !important;
  color: var(--crimson, #B0151A) !important;
}
.wpcf7-not-valid-tip {
  color: var(--crimson, #B0151A) !important;
  font-size: 12px !important;
  margin-top: 4px !important;
}
.wpcf7-not-valid { border-color: var(--crimson, #B0151A) !important; }
.cf7-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 540px) {
  .cf7-row-2 { grid-template-columns: 1fr; }
}
.wpcf7-form .req { color: var(--crimson, #B0151A); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — fixes for tablet/mobile (timeline, footer, nav)
═══════════════════════════════════════════════════════════════ */

/* Tablet (721–1024px) */
@media (min-width: 721px) and (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 36px !important; }
  .edition-detail { grid-template-columns: 1fr !important; gap: 22px; }
  .edition-detail-visual { min-height: 240px; }
  .program-summary { grid-template-columns: 1fr 1fr !important; gap: 18px; }
  .program-summary > .prog-day-card:nth-child(3) { grid-column: 1 / -1; }
  .doctor-inner { gap: 36px !important; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .checkout-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .checkout-summary-card { position: static; }
  .venue-card { grid-template-columns: 1fr !important; }
  .venue-image { min-height: 280px; }
  .year-selector { padding: 28px 18px !important; overflow-x: auto; }
  .specs-grid-premium { grid-template-columns: repeat(3, 1fr) !important; }
}

/* Mobile (< 720px) */
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .edition-detail { grid-template-columns: 1fr !important; }
  .program-summary { grid-template-columns: 1fr !important; gap: 16px; }
  .doctor-inner { grid-template-columns: 1fr !important; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .checkout-grid { grid-template-columns: 1fr !important; gap: 20px; }
  .venue-card { grid-template-columns: 1fr !important; }
  .venue-image { min-height: 240px; }
  .specs-grid-premium { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .learning-grid { grid-template-columns: 1fr !important; }
  .values-grid { grid-template-columns: 1fr !important; }
  .packages-grid.two-cols { grid-template-columns: 1fr !important; gap: 20px; }
  .pkg-card { padding: 28px 22px !important; }
  .hero-card { padding: 28px !important; }
  .hero-countdown { gap: 4px !important; padding: 12px !important; }
  .hero-countdown .cd-num { font-size: 22px !important; }
  .hero-countdown .cd-label { font-size: 8px !important; letter-spacing: 1px !important; }
  .doctor-credentials { grid-template-columns: repeat(3, 1fr) !important; gap: 12px !important; }
  .doctor-cred-num { font-size: 24px !important; }
  .doctor-cred-label { font-size: 10px !important; }
  .year-selector {
    padding: 24px 14px !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .year-selector::-webkit-scrollbar { display: none; }
  .year-dot { flex: 0 0 auto; }
  .session-header { padding: 14px 16px !important; gap: 12px !important; }
  .session-time { font-size: 11px !important; }
  .session-name { font-size: 14px !important; }
  .prog-tabs { flex-wrap: wrap; gap: 6px; }
  .prog-tab { padding: 8px 12px !important; font-size: 12px !important; }
}

/* Very small screens (< 420px) */
@media (max-width: 420px) {
  .specs-grid-premium { grid-template-columns: repeat(2, 1fr) !important; }
  .nav-brand-year { display: none; }
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
  .doctor-credentials { grid-template-columns: 1fr 1fr 1fr !important; }
  .hero-meta { grid-template-columns: 1fr !important; gap: 8px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   NAV CTA — full/short text swap
═══════════════════════════════════════════════════════════════ */
.nav-cta-full { display: inline; }
.nav-cta-short { display: none; }
@media (max-width: 640px) {
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
}

/* ═══════════════════════════════════════════════════════════════
   COOKIE BANNER refinement (Apple-glass)
═══════════════════════════════════════════════════════════════ */
.cookie-banner {
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
}


/* ═══════════════════════════════════════════════════════════════
   NAVBAR "REGISTER 2026" CTA — premium Apple-glass animation
═══════════════════════════════════════════════════════════════ */
.navbar .nav-cta {
  position: relative;
  isolation: isolate;
  overflow: visible;
  transition:
    transform .25s cubic-bezier(.16,1,.3,1),
    box-shadow .25s cubic-bezier(.16,1,.3,1),
    background .25s cubic-bezier(.16,1,.3,1);
}
.navbar .nav-cta::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(176,21,26,.55), rgba(176,21,26,.35));
  z-index: -1;
  filter: blur(10px);
  opacity: .55;
  animation: phlebo-glow-cta 3.2s ease-in-out infinite;
}
.navbar .nav-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,.40) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  background-position: 200% 0;
  animation: phlebo-shimmer-cta 5s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: .8;
}
.navbar .nav-cta:hover {
  transform: translateY(-1px);
}
.navbar .nav-cta:hover::before {
  animation-play-state: paused;
  opacity: .8;
}

/* On scroll (gold accent) — gold halo too */
.navbar.scrolled .nav-cta {
  background: linear-gradient(135deg, #d4b685 0%, #c8a96e 50%, #a07c3a 100%) !important;
  color: #0F1A35 !important;
  font-weight: 700 !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.16) inset,
    0 4px 14px -2px rgba(200,169,110,.45),
    0 10px 26px -8px rgba(160,124,58,.55) !important;
}
.navbar.scrolled .nav-cta::before {
  background: linear-gradient(135deg, rgba(200,169,110,.55), rgba(160,124,58,.45));
}

@keyframes phlebo-glow-cta {
  0%, 100% { opacity: .35; filter: blur(10px); }
  50%      { opacity: .65; filter: blur(16px); }
}
@keyframes phlebo-shimmer-cta {
  0%   { background-position: 200% 0; }
  60%  { background-position: -200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .navbar .nav-cta::before,
  .navbar .nav-cta::after {
    animation: none !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   HERO META — STYLE: identical to venue-detail-icon (red icon
   in cream rounded square, compact layout, balanced spacing)
   Uses !important to override the original pages.css which has
   conflicting !important rules in multiple media queries.
═══════════════════════════════════════════════════════════════ */
.hero-meta.hero-meta-compact {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 18px !important;
  padding: 22px 26px !important;
  background: #fff !important;
  border: 1px solid rgba(15,23,42,.06) !important;
  border-radius: 20px !important;
  box-shadow:
    0 1px 3px rgba(10,18,40,.04),
    0 16px 44px rgba(10,18,40,.08) !important;
}
.hero-meta.hero-meta-compact .hero-meta-item {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  flex-direction: row !important;
  min-width: 0;
  padding: 0 !important;
  background: transparent !important;
}
.hero-meta.hero-meta-compact .hero-meta-icon-wrap {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #FFF7EE 0%, #FCEFD9 100%) !important;
  border: 1px solid rgba(176,21,26,.10) !important;
  color: var(--crimson, #B0151A) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 1px 2px rgba(60,40,10,.04);
}
.hero-meta.hero-meta-compact .hero-meta-icon-wrap svg {
  width: 18px !important;
  height: 18px !important;
}
.hero-meta.hero-meta-compact .hero-meta-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  min-width: 0;
  flex: 0 1 auto !important;
}
.hero-meta.hero-meta-compact .hero-meta-label {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.8px !important;
  color: var(--goldd, #a07c3a) !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  margin: 0 !important;
  flex: none !important;
}
.hero-meta.hero-meta-compact .hero-meta-value {
  font-family: var(--serif) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--ink, #0F1A35) !important;
  line-height: 1.25 !important;
  letter-spacing: -.3px !important;
  margin: 0 !important;
}

/* Tablet: stack vertically below 980px — KEEP items left-aligned */
@media (max-width: 980px) {
  .hero-meta.hero-meta-compact {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 20px 22px !important;
  }
  .hero-meta.hero-meta-compact .hero-meta-item {
    justify-content: flex-start !important;
    gap: 14px !important;
  }
  .hero-meta.hero-meta-compact .hero-meta-text {
    flex: 0 1 auto !important;
  }
  .hero-meta.hero-meta-compact .hero-meta-value {
    font-size: 15px !important;
  }
}
@media (max-width: 480px) {
  .hero-meta.hero-meta-compact {
    padding: 18px 18px !important;
    gap: 12px !important;
  }
  .hero-meta.hero-meta-compact .hero-meta-icon-wrap {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
  }
  .hero-meta.hero-meta-compact .hero-meta-icon-wrap svg {
    width: 16px !important;
    height: 16px !important;
  }
  .hero-meta.hero-meta-compact .hero-meta-value {
    font-size: 14.5px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE — VENUE PREMIUM CARD (replaces basic side card)
   Fix screenshot 4: Net Tower Hotel mobile too plain → premium glass
═══════════════════════════════════════════════════════════════ */
.contact-venue-premium-card {
  position: relative;
  background: linear-gradient(155deg, rgba(11,30,63,.94) 0%, rgba(15,26,53,.97) 100%);
  border: 1px solid rgba(200,169,110,.18);
  border-radius: 28px;
  padding: 32px;
  margin-bottom: 24px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.05) inset,
    0 24px 60px -16px rgba(11,30,63,.40);
}
.contact-venue-premium-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .6;
}
.contact-venue-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.contact-venue-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.contact-venue-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: white;
  letter-spacing: -.5px;
  margin: 0 0 6px;
  line-height: 1.15;
}
.contact-venue-sub {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 24px;
}
.contact-venue-image-premium {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 16/10;
  border: 1px solid rgba(255,255,255,.08);
}
.contact-venue-image-premium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contact-venue-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,30,63,.85) 100%);
  pointer-events: none;
}
.contact-venue-image-label-premium {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  padding: 14px 18px;
  background: rgba(11,30,63,.55);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.20);
}
.contact-venue-image-label-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.3px;
  margin-bottom: 2px;
}
.contact-venue-image-label-meta {
  font-size: 12px;
  color: rgba(255,255,255,.70);
  letter-spacing: .015em;
}

.contact-venue-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-venue-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
  padding: 12px 14px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  transition: background .2s, border-color .2s;
}
.contact-venue-detail:hover {
  background: rgba(255,255,255,.04);
  border-color: rgba(200,169,110,.18);
}
.contact-venue-detail strong { color: white; font-weight: 600; }
.contact-venue-detail-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(200,169,110,.10);
  border: 1px solid rgba(200,169,110,.20);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-venue-detail-icon svg {
  width: 15px;
  height: 15px;
}

/* Mobile: even more premium */
@media (max-width: 720px) {
  .contact-venue-premium-card { padding: 26px 22px; border-radius: 22px; }
  .contact-venue-title { font-size: 26px; }
  .contact-venue-image-label-premium {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
  }
  .contact-venue-image-label-name { font-size: 16px; }
  .contact-venue-image-label-meta { font-size: 11px; }
  .contact-venue-image-premium { aspect-ratio: 16/11; }
}

/* ═══════════════════════════════════════════════════════════════
   "VIEW FULL PROGRAM" / "VIEW SCIENTIFIC PROGRAM" — must be
   visible on EVERY background (light cream, dark navy, image).
   The original .btn-glass uses translucent white → invisible
   on light backgrounds. Force a solid dark style by default.
═══════════════════════════════════════════════════════════════ */
.btn.btn-glass,
a.btn.btn-glass,
button.btn-glass {
  background: rgba(15,23,42,.05) !important;
  border: 1.5px solid rgba(15,23,42,.16) !important;
  color: var(--ink, #0F1A35) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-weight: 600 !important;
  transition:
    background .22s cubic-bezier(.16,1,.3,1),
    border-color .22s cubic-bezier(.16,1,.3,1),
    transform .22s cubic-bezier(.16,1,.3,1),
    box-shadow .22s cubic-bezier(.16,1,.3,1),
    color .22s cubic-bezier(.16,1,.3,1);
}
.btn.btn-glass:hover,
a.btn.btn-glass:hover,
button.btn-glass:hover {
  background: rgba(15,23,42,.09) !important;
  border-color: rgba(15,23,42,.28) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px -4px rgba(15,23,42,.20);
  color: var(--ink, #0F1A35) !important;
}

/* When the button sits on a DARK background (hero, packages section,
   navbar opened menu), use the LIGHT translucent version */
.hero .btn.btn-glass,
.hero a.btn.btn-glass,
.packages-section .btn.btn-glass,
.packages-section a.btn.btn-glass,
.day-block .btn.btn-glass,
.day-block a.btn.btn-glass {
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.22) !important;
  color: #fff !important;
}
.hero .btn.btn-glass:hover,
.hero a.btn.btn-glass:hover,
.packages-section .btn.btn-glass:hover,
.packages-section a.btn.btn-glass:hover,
.day-block .btn.btn-glass:hover,
.day-block a.btn.btn-glass:hover {
  background: rgba(255,255,255,.18) !important;
  border-color: rgba(255,255,255,.34) !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM SHIMMER ANIMATION — Register CTA (navbar)
   A smooth gold light that travels along the button edge,
   like a luxury watch face. NOT a rotating shape — a TRAVELING SHINE.
═══════════════════════════════════════════════════════════════ */
.navbar .nav-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden; /* keep the shine inside the pill shape */
  z-index: 1;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s cubic-bezier(.16,1,.3,1);
}

/* The shine itself — a thin diagonal highlight that sweeps across */
.navbar .nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 30%,
    rgba(255,255,255,.35) 45%,
    rgba(255,255,255,.55) 50%,
    rgba(255,255,255,.35) 55%,
    transparent 70%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: phlebo-shine-sweep 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* Subtle ambient glow underneath, doesn't move */
.navbar .nav-cta::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.18) 0%,
    transparent 35%,
    transparent 65%,
    rgba(255,255,255,.06) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.navbar .nav-cta:hover {
  transform: translateY(-1px) scale(1.02);
}
.navbar .nav-cta:hover::before {
  animation-duration: 1.8s;
}

@keyframes phlebo-shine-sweep {
  0%   { left: -100%; }
  60%  { left: 200%; }
  100% { left: 200%; }
}

/* On scroll: gold takes over, shine still works */
.navbar.scrolled .nav-cta {
  background: linear-gradient(135deg, #d4b685 0%, #c8a96e 50%, #a07c3a 100%) !important;
  color: #0F1A35 !important;
  font-weight: 700 !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.20) inset,
    0 4px 14px -2px rgba(200,169,110,.45),
    0 10px 26px -8px rgba(160,124,58,.55) !important;
}
.navbar.scrolled .nav-cta::before {
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 30%,
    rgba(255,255,255,.55) 45%,
    rgba(255,255,255,.75) 50%,
    rgba(255,255,255,.55) 55%,
    transparent 70%,
    transparent 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .navbar .nav-cta::before {
    animation: none !important;
    left: -100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   CF7 RADIO — render Basic/Gold as premium pill buttons (NO DOT)
═══════════════════════════════════════════════════════════════ */
.phlebo-cf7-wrap .wpcf7-radio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 24px;
}
.phlebo-cf7-wrap .wpcf7-radio .wpcf7-list-item {
  margin: 0;
  display: block;
  position: relative;
}
.phlebo-cf7-wrap .wpcf7-radio .wpcf7-list-item label {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 22px 18px !important;
  margin: 0 !important;
  background: rgba(255,255,255,.6);
  border: 1.5px solid rgba(15,23,42,.10) !important;
  border-radius: 14px !important;
  cursor: pointer;
  text-align: center;
  font-weight: 700;
  color: var(--ink, #0F1A35);
  font-size: 16px;
  letter-spacing: -.2px;
  transition: all .25s cubic-bezier(.16,1,.3,1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
/* Hide the native radio input completely */
.phlebo-cf7-wrap .wpcf7-radio .wpcf7-list-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  top: 0;
  left: 0;
  z-index: 1;
}
.phlebo-cf7-wrap .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.2px;
}
/* Basic (first option) */
.phlebo-cf7-wrap .wpcf7-radio .wpcf7-list-item:first-child label:hover {
  border-color: rgba(11,30,63,.30) !important;
  background: rgba(11,30,63,.04);
  transform: translateY(-2px);
}
.phlebo-cf7-wrap .wpcf7-radio .wpcf7-list-item:first-child:has(input:checked) label {
  border-color: var(--ink, #0F1A35) !important;
  background: linear-gradient(180deg, rgba(11,30,63,.06) 0%, rgba(11,30,63,.10) 100%);
  box-shadow: 0 0 0 3px rgba(11,30,63,.10), 0 8px 24px -8px rgba(11,30,63,.30);
}
/* Gold (second option) */
.phlebo-cf7-wrap .wpcf7-radio .wpcf7-list-item:nth-child(2) label:hover {
  border-color: rgba(200,169,110,.40) !important;
  background: rgba(200,169,110,.06);
  transform: translateY(-2px);
}
.phlebo-cf7-wrap .wpcf7-radio .wpcf7-list-item:nth-child(2):has(input:checked) label {
  border-color: var(--gold, #c8a96e) !important;
  background: linear-gradient(180deg, rgba(200,169,110,.10) 0%, rgba(200,169,110,.18) 100%);
  box-shadow: 0 0 0 3px rgba(200,169,110,.18), 0 8px 24px -8px rgba(200,169,110,.40);
}
.phlebo-cf7-wrap .wpcf7-radio .wpcf7-list-item:nth-child(2)::after {
  content: '★ Most Popular';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #d4b685, #a07c3a);
  color: #fff;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 4px 12px -2px rgba(160,124,58,.40);
  pointer-events: none;
}

/* When CF7 hides the standard label "Pacchetto preferito" */
.phlebo-cf7-wrap .wpcf7-radio + br { display: none; }

/* Make the "Pacchetto preferito" / "Preferred package" title look like a section */
.phlebo-cf7-wrap p:has(strong:first-child:last-child) {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  color: var(--goldd, #a07c3a) !important;
  margin: 24px 0 4px !important;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,169,110,.18);
}


/* ═══════════════════════════════════════════════════════════════
   .btn-outline-light — used by timeline editionDetail actions
   (View full program). Default style is light-on-light → invisible.
   Fix it on cream/light backgrounds.
═══════════════════════════════════════════════════════════════ */
.btn-outline-light {
  background: rgba(15,23,42,.05) !important;
  border: 1.5px solid rgba(15,23,42,.16) !important;
  color: var(--ink, #0F1A35) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-weight: 600 !important;
  transition: all .22s cubic-bezier(.16,1,.3,1);
}
.btn-outline-light:hover {
  background: rgba(15,23,42,.10) !important;
  border-color: rgba(15,23,42,.28) !important;
  transform: translateY(-1px);
  color: var(--ink, #0F1A35) !important;
  box-shadow: 0 4px 16px -4px rgba(15,23,42,.20);
}

/* When on dark backgrounds — keep light version */
.hero .btn-outline-light,
.packages-section .btn-outline-light,
.day-block .btn-outline-light,
.edition-detail-visual .btn-outline-light {
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.24) !important;
  color: #fff !important;
}
.hero .btn-outline-light:hover,
.packages-section .btn-outline-light:hover,
.day-block .btn-outline-light:hover,
.edition-detail-visual .btn-outline-light:hover {
  background: rgba(255,255,255,.20) !important;
  border-color: rgba(255,255,255,.40) !important;
  color: #fff !important;
}


/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE — APPLE GLASS LIGHT THEME (final, cohesive)
   Replaces previous mixed dark/light styles with a consistent
   premium light card system, fully responsive.
═══════════════════════════════════════════════════════════════ */

/* Breadcrumb "current" item — uses ink color in light theme */
.page-hero .phlebo-crumb-current {
  color: var(--ink, #0F1A35) !important;
  font-weight: 600;
}

/* ─── VENUE CARD (light, Apple-glass) ─── */
.contact-venue-light-card {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fbf7ed 100%);
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 24px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 1px 3px rgba(10,18,40,.04),
    0 16px 44px rgba(10,18,40,.08);
}
.contact-venue-light-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .55;
}
.contact-venue-light-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink, #0F1A35);
  letter-spacing: -.5px;
  margin: 14px 0 6px;
  line-height: 1.15;
}
.contact-venue-light-sub {
  color: var(--gray, #5C6478);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 22px;
}
.contact-venue-light-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 22px;
  aspect-ratio: 16/10;
  border: 1px solid rgba(15,23,42,.06);
}
.contact-venue-light-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contact-venue-light-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,26,53,.55) 100%);
  pointer-events: none;
}
.contact-venue-light-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15,26,53,.25);
}
.contact-venue-light-label-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink, #0F1A35);
  letter-spacing: -.3px;
  margin-bottom: 2px;
  line-height: 1.2;
}
.contact-venue-light-label-meta {
  font-size: 12px;
  color: rgba(15,26,53,.65);
  letter-spacing: .015em;
}

.contact-venue-light-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-venue-light-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--gray, #5C6478);
  padding: 12px 14px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(15,23,42,.05);
  border-radius: 12px;
  transition: background .2s, border-color .2s;
  line-height: 1.45;
}
.contact-venue-light-detail:hover {
  background: rgba(255,255,255,.85);
  border-color: rgba(176,21,26,.18);
}
.contact-venue-light-detail strong {
  color: var(--ink, #0F1A35);
  font-weight: 600;
}
.contact-venue-light-detail-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFF7EE 0%, #FCEFD9 100%);
  border: 1px solid rgba(176,21,26,.10);
  color: var(--crimson, #B0151A);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-venue-light-detail-icon svg {
  width: 16px;
  height: 16px;
}

/* ─── PARTNERS CARD (same row style as venue details) ─── */
.contact-partners-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 24px;
  padding: 28px;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 1px 3px rgba(10,18,40,.04),
    0 16px 44px rgba(10,18,40,.08);
}
.contact-partners-card .eyebrow {
  margin-bottom: 18px;
}
.contact-partners-card .contact-partners-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* EACH ROW: pill background, icon left, inline text right — exactly like venue details */
.contact-partners-card .contact-partner-row {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 14px !important;
  background: rgba(255,255,255,.6) !important;
  border: 1px solid rgba(15,23,42,.05) !important;
  border-radius: 12px !important;
  font-size: 14px;
  color: var(--gray, #5C6478) !important;
  line-height: 1.45;
  transition: background .2s, border-color .2s;
}
.contact-partners-card .contact-partner-row:hover {
  background: rgba(255,255,255,.85) !important;
  border-color: rgba(176,21,26,.18) !important;
}
.contact-partners-card .contact-partner-row:last-child {
  border-bottom: 1px solid rgba(15,23,42,.05) !important;
}

/* LOGO CONTAINER: cream gradient pill, sized for horizontal logos */
.contact-partners-card .contact-partner-logo {
  flex: 0 0 56px !important;
  width: 56px !important;
  height: 40px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #FFF7EE 0%, #FCEFD9 100%) !important;
  border: 1px solid rgba(176,21,26,.10) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px 6px;
}
.contact-partners-card .contact-partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 720px) {
  .contact-partners-card .contact-partner-logo {
    flex: 0 0 48px !important;
    width: 48px !important;
    height: 36px !important;
  }
}

/* INLINE TEXT: <strong>Name</strong><span> · Role</span> */
.contact-partners-card .contact-partner-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--gray, #5C6478) !important;
}
.contact-partners-card .contact-partner-text strong {
  color: var(--ink, #0F1A35) !important;
  font-weight: 700;
  letter-spacing: -.2px;
}
.contact-partners-card .contact-partner-text span {
  color: var(--gray, #5C6478) !important;
  font-weight: 400;
}

/* Hide the old legacy icon if present */
.contact-partners-card .contact-partner-icon { display: none !important; }
.contact-partners-card .contact-partner-role { display: none !important; }

/* Mobile responsiveness */
@media (max-width: 720px) {
  .contact-partners-card {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .contact-partners-card .contact-partner-row {
    padding: 10px 12px !important;
    gap: 12px !important;
  }
}

/* Mobile responsiveness */
@media (max-width: 720px) {
  .contact-venue-light-card,
  .contact-partners-card {
    padding: 24px 22px;
    border-radius: 20px;
  }
  .contact-venue-light-title { font-size: 24px; }
  .contact-venue-light-image { aspect-ratio: 16/11; }
  .contact-venue-light-label {
    left: 10px; right: 10px; bottom: 10px;
    padding: 10px 14px;
  }
  .contact-venue-light-label-name { font-size: 15px; }
  .contact-venue-light-label-meta { font-size: 11px; }
  .contact-partners-card .contact-partner-icon {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
  }
}

/* Hide the previous dark venue card if leftover */
.contact-venue-premium-card { display: none; }


/* ═══════════════════════════════════════════════════════════════
   APPLE-GLASS PREMIUM — GLOBAL FINAL POLISH
   Consistent token system, softer shadows, smoother transitions.
═══════════════════════════════════════════════════════════════ */

/* ─── Card hover lift consistency (subtle Apple-style) ─── */
.value-card,
.learning-card,
.spec-card,
.prog-day-card,
.session-card,
.contact-info-item,
.pkg-card {
  transition:
    transform .35s cubic-bezier(.16,1,.3,1),
    box-shadow .35s cubic-bezier(.16,1,.3,1),
    background .35s cubic-bezier(.16,1,.3,1),
    border-color .35s cubic-bezier(.16,1,.3,1) !important;
}

/* ─── Contact info items (left column) more Apple-style ─── */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(15,23,42,.05);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, rgba(11,30,63,.04) 0%, rgba(11,30,63,.08) 100%) !important;
  border: 1px solid rgba(11,30,63,.08) !important;
  color: var(--navy, #0F1A35) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-icon svg {
  width: 18px !important;
  height: 18px !important;
}
.contact-info-label {
  font-size: 10px !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--goldd, #a07c3a) !important;
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink, #0F1A35) !important;
  letter-spacing: -.2px;
  line-height: 1.3;
}
.contact-info-value a {
  color: var(--crimson, #B0151A) !important;
  border-bottom: 1px dotted transparent;
  transition: border-color .2s;
}
.contact-info-value a:hover {
  border-bottom-color: var(--crimson, #B0151A);
}
.contact-info-sub {
  font-size: 13px;
  color: var(--gray, #5C6478);
  margin-top: 2px;
  line-height: 1.45;
}

/* ─── Eyebrow consistency (gold accent across all sections) ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase;
  color: var(--crimson, #B0151A);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}

/* ─── Smooth focus states across all interactives (a11y + Apple polish) ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold, #c8a96e);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ─── Hairline elegance: thinner, softer borders globally ─── */
.glass,
.contact-form-card,
.contact-side-card,
.pkg-card,
.value-card,
.learning-card,
.checkout-form-card,
.checkout-summary-card,
.venue-card,
.collab-banner,
.philosophy-block,
.guarantee {
  border-color: rgba(15,23,42,.06) !important;
}

/* ─── Footer ifi legal more elegant ─── */
.footer-ifi-legal {
  font-size: 11.5px;
  line-height: 1.85;
  padding: 24px 8px 0;
  letter-spacing: .02em;
  max-width: 1200px;
  margin: 28px auto 0;
}

/* ─── Cookie banner Apple-glass premium ─── */
.cookie-banner {
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 24px 60px -16px rgba(15,26,53,.30) !important;
  border-radius: 18px !important;
}

/* ─── Anchor smooth scroll behavior ─── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* account for fixed navbar */
}

/* ─── Selection color (small detail, premium feel) ─── */
::selection {
  background: rgba(200,169,110,.30);
  color: var(--ink, #0F1A35);
}

/* ─── Phlebosophy: ensure all "contact-partners-list" (legacy) doesn't double-render ─── */
.contact-side-card .contact-partners-list {
  /* If both contact-partners-card AND contact-side-card .contact-partners-list exist,
     the legacy one shouldn't break — but since we removed it, this is just safety. */
}


/* ═══════════════════════════════════════════════════════════════
   FINAL FIXES — hero-meta spacing, btn-glass home visibility,
   partner logos rendering, performance optimizations
═══════════════════════════════════════════════════════════════ */

/* ─── "VIEW SCIENTIFIC PROGRAM" home: force dark text on cream bg ─── */
/* The .hero section has light-cream background in light theme,
   but .btn-glass was using white-on-white. Force dark version. */
.hero .btn.btn-glass,
.hero a.btn.btn-glass {
  background: rgba(15,23,42,.05) !important;
  border-color: rgba(15,23,42,.14) !important;
  color: var(--ink, #0F1A35) !important;
}
.hero .btn.btn-glass:hover,
.hero a.btn.btn-glass:hover {
  background: rgba(15,23,42,.10) !important;
  border-color: rgba(15,23,42,.26) !important;
  color: var(--ink, #0F1A35) !important;
}


/* Hide the legacy text-icon if it ever renders */
.contact-partners-card .contact-partner-icon { display: none !important; }

/* ─── PERFORMANCE — invisible optimizations ─── */
/* Reduce CLS by reserving aspect ratios for late-loaded images */
.contact-venue-light-image,
.venue-image,
.doctor-photo {
  contain: layout style;
}

/* font-display swap is in the font CSS — no change needed here */

/* Reduce paint area for animations (compositor-only transforms) */
.navbar .nav-cta::before,
.hero-card-btn::before,
.hero-card-btn::after {
  will-change: transform;
  transform: translateZ(0);
}




/* ═══════════════════════════════════════════════════════════════
   PACKAGE PRICING — early bird with strikethrough
═══════════════════════════════════════════════════════════════ */
.pkg-price-old {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--gray, #5C6478);
  text-decoration: line-through;
  margin-bottom: 4px;
  letter-spacing: -.2px;
  opacity: .65;
}
.pkg-card.featured .pkg-price-savings strong {
  color: var(--crimson, #B0151A);
  letter-spacing: 1.5px;
  font-weight: 800;
}


/* ═══════════════════════════════════════════════════════════════
   PACKAGE CARDS — APPLE.COM STYLE (minimal, hierarchical, refined)
   ─────────────────────────────────────────────────────────────
   Inspired by Apple.com pricing pages: lots of whitespace,
   crisp typography, subtle borders, no aggressive colors.
═══════════════════════════════════════════════════════════════ */

/* ─── GRID CONTAINER: more generous gap ─── */
.packages-grid.two-cols {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
}
@media (max-width: 980px) {
  .packages-grid.two-cols {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* ─── CARD: clean, minimal, Apple-style ─── */
.pkg-card {
  position: relative !important;
  background: #fff !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  border-radius: 22px !important;
  padding: 56px 40px 40px !important;
  display: flex !important;
  flex-direction: column !important;
  transition:
    transform .4s cubic-bezier(.16,1,.3,1),
    box-shadow .4s cubic-bezier(.16,1,.3,1),
    border-color .4s cubic-bezier(.16,1,.3,1) !important;
  box-shadow: none !important;
  overflow: visible !important;
  text-align: center;
}

.pkg-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(15,23,42,.14) !important;
  box-shadow:
    0 1px 3px rgba(10,18,40,.04),
    0 16px 40px -10px rgba(10,18,40,.12) !important;
}

/* FEATURED (FULL) — subtle warm accent, more solid presence */
.pkg-card.featured {
  background: linear-gradient(180deg, #FFFEFB 0%, #FBF6EC 100%) !important;
  border: 1px solid rgba(200,169,110,.30) !important;
  box-shadow:
    0 1px 3px rgba(160,124,58,.04),
    0 8px 24px -6px rgba(160,124,58,.08) !important;
}
.pkg-card.featured:hover {
  border-color: rgba(200,169,110,.45) !important;
  box-shadow:
    0 1px 3px rgba(160,124,58,.06),
    0 16px 44px -10px rgba(160,124,58,.20) !important;
}

/* ─── POPULAR BADGE — minimal, Apple-style ─── */
.pkg-popular-badge {
  position: absolute !important;
  top: -12px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: var(--ink, #0F1A35) !important;
  color: #fff !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 6px 14px !important;
  border-radius: 100px !important;
  box-shadow: 0 4px 12px -2px rgba(15,26,53,.25) !important;
  z-index: 2 !important;
  white-space: nowrap !important;
  line-height: 1;
}
.pkg-card.featured .pkg-popular-badge {
  background: linear-gradient(135deg, #1e2d4d, #0F1A35) !important;
}

/* ─── TIER NAME ─── */
.pkg-tier {
  font-family: var(--serif) !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  letter-spacing: -.5px !important;
  text-transform: none !important;
  color: var(--ink, #0F1A35) !important;
  margin-bottom: 8px !important;
  line-height: 1.1 !important;
}
.pkg-card.featured .pkg-tier {
  color: var(--ink, #0F1A35) !important;
}

/* ─── TAGLINE under tier ─── */
.pkg-tagline {
  font-size: 15px !important;
  color: var(--gray, #5C6478) !important;
  line-height: 1.45 !important;
  margin-bottom: 40px !important;
  font-weight: 400 !important;
  letter-spacing: -.1px !important;
}

/* ─── PRICE BLOCK — large, centered, hierarchical ─── */
.pkg-price-block {
  margin-bottom: 0 !important;
  padding-bottom: 36px !important;
  border-bottom: 1px solid rgba(15,23,42,.06) !important;
  position: relative !important;
}

/* Strikethrough old price (above row) */
.pkg-price-old {
  display: block !important;
  font-family: var(--sans) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  color: rgba(15,23,42,.30) !important;
  text-decoration: line-through !important;
  text-decoration-thickness: 1px !important;
  margin-bottom: 8px !important;
  letter-spacing: -.2px !important;
  line-height: 1 !important;
  opacity: 1 !important;
}

.pkg-price-row {
  display: inline-flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 0 !important;
  margin: 0 !important;
}

.pkg-price-currency {
  font-family: var(--sans) !important;
  font-size: 32px !important;
  font-weight: 500 !important;
  color: var(--ink, #0F1A35) !important;
  line-height: 1 !important;
  align-self: flex-start !important;
  margin-top: 10px !important;
  margin-right: 4px !important;
  letter-spacing: 0 !important;
}
.pkg-price-value {
  font-family: var(--sans) !important;
  font-size: 72px !important;
  font-weight: 600 !important;
  color: var(--ink, #0F1A35) !important;
  line-height: 1 !important;
  letter-spacing: -3px !important;
}

/* Featured: no gradient — just clean ink */
.pkg-card.featured .pkg-price-value,
.pkg-card.featured .pkg-price-currency {
  color: var(--ink, #0F1A35) !important;
  -webkit-text-fill-color: var(--ink, #0F1A35) !important;
  background: none !important;
}

/* ─── PRICE SAVINGS — pill below price ─── */
.pkg-price-savings {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 16px auto 0 !important;
  padding: 6px 14px !important;
  background: rgba(15,23,42,.04) !important;
  border: 1px solid transparent !important;
  border-radius: 100px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--gray, #5C6478) !important;
  letter-spacing: .2px !important;
  line-height: 1.2 !important;
}
.pkg-card.featured .pkg-price-savings {
  background: rgba(176,21,26,.06) !important;
  border-color: rgba(176,21,26,.15) !important;
  color: var(--crimson, #B0151A) !important;
}
.pkg-card.featured .pkg-price-savings strong {
  color: var(--crimson, #B0151A) !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}

/* VAT note */
.pkg-vat {
  margin-top: 14px !important;
  font-size: 12px !important;
  color: var(--gray-l, #8E94A5) !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  text-align: center !important;
}

/* ─── FEATURES LIST — left-aligned, generous spacing ─── */
.pkg-features {
  list-style: none !important;
  margin: 36px 0 36px !important;
  padding: 0 !important;
  flex: 1 !important;
  display: flex;
  flex-direction: column;
  gap: 16px !important;
  text-align: left !important;
}
.pkg-features li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
  color: var(--ink, #0F1A35) !important;
  font-weight: 400 !important;
  padding: 0 !important;
}
.pkg-features li strong {
  font-weight: 600 !important;
  color: var(--ink, #0F1A35) !important;
}
.pkg-features li > *:not(.pkg-check) {
  flex: 1;
  min-width: 0;
}

/* Check icon — minimal Apple style (just a check, no background) */
.pkg-check {
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
  margin-top: 1px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  color: var(--ink, #0F1A35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.pkg-card.featured .pkg-check {
  color: var(--crimson, #B0151A) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* ─── CTA BUTTON — Apple-style pill, full width ─── */
.pkg-cta {
  width: 100% !important;
  justify-content: center !important;
  padding: 16px 28px !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  letter-spacing: -.1px !important;
  border-radius: 100px !important;
  border: 1px solid transparent !important;
  margin-top: auto !important;
  transition: all .2s ease !important;
}

/* Basic CTA: secondary navy outlined (Apple secondary button style) */
.pkg-card[data-pkg="basic"] .pkg-cta {
  background: var(--ink, #0F1A35) !important;
  color: #fff !important;
  border: 1px solid var(--ink, #0F1A35) !important;
  box-shadow: none !important;
}
.pkg-card[data-pkg="basic"] .pkg-cta:hover {
  background: #1e2d4d !important;
  border-color: #1e2d4d !important;
  transform: none !important;
}

/* FULL CTA: primary crimson (Apple "buy" style) */
.pkg-card[data-pkg="gold"] .pkg-cta {
  background: var(--crimson, #B0151A) !important;
  color: #fff !important;
  border: 1px solid var(--crimson, #B0151A) !important;
  box-shadow: none !important;
}
.pkg-card[data-pkg="gold"] .pkg-cta:hover {
  background: #931114 !important;
  border-color: #931114 !important;
  transform: none !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .pkg-card {
    padding: 44px 28px 32px !important;
    border-radius: 20px !important;
  }
  .pkg-tier {
    font-size: 24px !important;
  }
  .pkg-tagline {
    font-size: 14px !important;
    margin-bottom: 32px !important;
  }
  .pkg-price-value {
    font-size: 60px !important;
    letter-spacing: -2.5px !important;
  }
  .pkg-price-currency {
    font-size: 26px !important;
    margin-top: 8px !important;
  }
  .pkg-price-old {
    font-size: 15px !important;
  }
  .pkg-features {
    gap: 14px !important;
  }
  .pkg-features li {
    font-size: 14px !important;
  }
}
