/* Oncare Clinics · Design System & Visual Styles
 * Official Palette: Yale Blue (#003C51), Cerulean (#007D96), Linen (#F3EAE1),
 * Graphite (#332E2A), Cinnamon Wood (#C96F4A), Sage Green (#6BA368), White (#FFFFFF)
 */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Geist+Mono:wght@400;500&display=swap");

:root {
  --yale-blue: #003C51;
  --cerulean: #007D96;
  --linen: #F3EAE1;
  --linen-light: #FAF6F2;
  --linen-dark: #E8DED4;
  --graphite: #332E2A;
  --graphite-muted: #5C554F;
  --graphite-light: #7A726B;
  --cinnamon: #C96F4A;
  --cinnamon-hover: #B25E3B;
  --sage: #6BA368;
  --sage-light: #EBF4EB;
  --sage-dark: #4F824C;
  --white: #FFFFFF;
  
  --border: #E8DED4;
  --border-light: #F0E8DF;
  --bg-page: #FAF6F2;

  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--graphite);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 0.25em; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--yale-blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 10px 18px; background: var(--graphite); color: white;
  border-radius: 9999px; font-size: 13px; font-weight: 500;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* Review Banner */
.review-banner {
  min-height: 38px;
  padding: 8px clamp(20px, 5vw, 60px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--yale-blue);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.review-banner .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  color: white;
}
.review-banner .badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
}

/* Header istituzionale */
.site-header {
  min-height: 84px;
  padding: 12px clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--border);
  background: rgba(250, 246, 242, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-logo {
  height: 48px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  image-rendering: auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.brand-wrapper:hover .brand-logo {
  transform: scale(1.02);
  opacity: 0.95;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--yale-blue);
  line-height: 1.1;
}
.brand-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite-light);
  margin-top: 3px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.4vw, 22px);
  flex-wrap: nowrap;
}
nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--graphite-muted);
  transition: color 0.15s ease;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
nav a:hover {
  color: var(--yale-blue);
}
nav a:hover::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--cinnamon);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.language-switch {
  display: inline-flex;
  align-items: center;
  background: var(--linen);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.02em;
  color: var(--graphite-light);
  background: transparent;
  border: 0;
  border-radius: 9999px;
  padding: 6px 14px;
  min-height: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.lang-btn.active {
  background: var(--yale-blue);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 60, 81, 0.28);
}
.lang-btn:hover:not(.active) {
  color: var(--yale-blue);
}
.mobile-only-cta {
  display: none !important;
}
.header-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: var(--cinnamon);
  color: white !important;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(201, 111, 74, 0.25);
}
.header-contact-btn:hover {
  background: var(--cinnamon-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 111, 74, 0.35);
}
.menu-toggle { display: none; }

/* Typographic primitives */
.eyebrow {
  margin: 0 0 14px;
  color: var(--cerulean);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--cinnamon);
  border-radius: 2px;
}
h1, h2, h3, h4 {
  color: var(--yale-blue);
  font-family: var(--font-sans);
  letter-spacing: -0.025em;
  margin: 0;
  font-weight: 700;
}
h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.1; }
h2 { font-size: clamp(26px, 3.8vw, 40px); line-height: 1.2; }
h3 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.3; }

.lead {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--graphite-muted);
  line-height: 1.6;
  max-width: 680px;
}

/* Base Sections */
.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.section.white { background: var(--white); }
.section.linen { background: var(--linen-light); }
.section.yale { background: var(--yale-blue); color: white; }
.section.yale h2, .section.yale h3, .section.yale h4 { color: white; }
.section.yale .lead { color: rgba(255, 255, 255, 0.82); }
.section.yale .eyebrow { color: #A4D4DF; }
.section.yale .eyebrow::before { background: var(--cinnamon); }

.section-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.5vw, 44px);
}

.section-heading {
  margin-bottom: 40px;
}
.section-heading.split {
  display: block;
}
.section-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--graphite-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Button & Action Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  text-decoration: none;
}
.btn.primary {
  background: var(--cinnamon);
  color: white;
  box-shadow: 0 4px 14px -2px rgba(201, 111, 74, 0.35);
}
.btn.primary:hover {
  background: var(--cinnamon-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -3px rgba(201, 111, 74, 0.45);
}
.btn.secondary {
  background: var(--white);
  color: var(--yale-blue);
  border-color: var(--border);
}
.btn.secondary:hover {
  border-color: var(--yale-blue);
  background: var(--linen-light);
  transform: translateY(-1px);
}
.btn.dark {
  background: var(--yale-blue);
  color: white;
}
.btn.dark:hover {
  background: #002A38;
  transform: translateY(-1px);
}
.btn.outline-white {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn.outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
}

.text-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--cerulean);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s ease, color 0.15s ease;
}
.text-link:hover {
  color: var(--yale-blue);
  gap: 10px;
}

/* 01 Hero Section - Split 50/50 Tia Health style */
.hero {
  position: relative;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 100%;
  margin: 0;
  background: var(--linen);
  min-height: min(720px, calc(90vh - 84px));
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-copy {
  padding: clamp(48px, 5vw, 84px) clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  margin-left: auto;
  z-index: 1;
}
.hero-copy h1 { 
  margin-bottom: 24px;
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.14;
}
.hero-copy .lead { 
  margin-bottom: 32px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
}
.hero-copy .actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero .hero-photo {
  position: relative;
  border-radius: 0;
  border: 0;
  border-left: 1px solid var(--border);
  box-shadow: none;
  height: 100%;
  min-height: 100%;
  width: 100%;
  overflow: hidden;
  background: var(--sand-light);
}
.hero .hero-photo img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.clinical-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--graphite-light);
  background: rgba(0, 60, 81, 0.06);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-block;
  margin: 0;
}

/* Photo Frames */
.photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--linen);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px -10px rgba(51, 46, 42, 0.08);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(51, 46, 42, 0.7);
  backdrop-filter: blur(8px);
  color: white;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
}
.photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
  color: white;
  padding: 24px 16px 12px;
  font-size: 12px;
  font-weight: 500;
}

/* 02 Orientation / A chi ci rivolgiamo */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.audience-card {
  padding: 32px 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(51, 46, 42, 0.08);
}
.audience-card.sand { background: var(--linen); border-color: var(--border); }
.audience-card.sage { background: var(--sage-light); border-color: #D4E5D4; }
.audience-card.teal { background: #EBF4F7; border-color: #D2E7ED; }

.audience-card .card-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--graphite-light);
  margin-bottom: 12px;
}
.audience-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.audience-card p {
  font-size: 14px;
  color: var(--graphite-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}
.professional-prompt {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--yale-blue);
  border: 1px solid rgba(0, 125, 150, 0.35);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px -14px rgba(0, 60, 81, 0.35);
}
.professional-prompt .pro-prompt-copy {
  flex: 1 1 420px;
  min-width: 240px;
}
.professional-prompt .pro-prompt-copy strong {
  color: #A4D4DF;
}
.professional-prompt a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  background: var(--cinnamon);
  border: 1px solid transparent;
  border-radius: 9999px;
  color: white;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px -2px rgba(201, 111, 74, 0.45);
}
.professional-prompt a:hover {
  background: var(--cinnamon-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -3px rgba(201, 111, 74, 0.55);
}

/* 03 NUOVA SEZIONE: Evidenze Scientifiche & Numeri (Doc Francesco) */
.evidence-section {
  background: var(--yale-blue);
  color: white;
}
.evidence-intro {
  max-width: 860px;
  margin-bottom: 48px;
}
.evidence-intro h2 {
  color: white;
  margin-bottom: 16px;
}
.evidence-intro .claim-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 111, 74, 0.25);
  border: 1px solid rgba(201, 111, 74, 0.5);
  color: #FFC4AD;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.evidence-intro p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.65;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.metric-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.2s ease, background 0.2s ease;
}
.metric-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.11);
}
.metric-number {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  color: #A4D4DF;
  white-space: nowrap;
  min-height: 38px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
  font-family: var(--font-sans);
}
.metric-title {
  font-size: 14px;
  font-weight: 700;
  color: white;
  min-height: 42px;
  display: flex;
  align-items: flex-start;
  line-height: 1.3;
  margin-bottom: 8px;
}
.metric-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  flex-grow: 1;
}

/* Box Trial CHALLENGE & Prescrizione */
.trial-evidence-box {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 32px 36px;
  margin-bottom: 36px;
}
.trial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
}
.trial-header h3 {
  font-size: 18px;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}
.trial-header .source-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(107, 163, 104, 0.3);
  border: 1px solid rgba(107, 163, 104, 0.6);
  color: #C2E4C0;
  padding: 4px 10px;
  border-radius: 6px;
}
.trial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trial-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trial-stat {
  font-size: 24px;
  font-weight: 800;
  color: #FFC4AD;
}
.trial-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.evidence-cta-row {
  max-width: 860px;
  margin: 36px auto 0;
  padding: 22px 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.evidence-cta-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}
@media (max-width: 768px) {
  .evidence-cta-row {
    justify-content: center;
    text-align: center;
    padding: 20px 22px;
  }
  .evidence-cta-row .btn {
    width: 100%;
  }
}

/* 04 Metodo Layout - AskTia True 50/50 Edge-to-Edge Split */
.method-split {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: var(--white);
  min-height: 640px;
}
.method-copy {
  padding: clamp(48px, 5vw, 84px) clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
  margin-left: auto;
  width: 100%;
}
.method-copy h2 {
  margin-bottom: 32px;
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--yale-blue);
  font-weight: 700;
  line-height: 1.15;
}
.method-pillars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.method-pillar {
  padding: 22px 26px;
  background: var(--linen);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.method-pillar:hover {
  transform: translateX(4px);
  background: #FFFFFF;
  box-shadow: 0 8px 24px -6px rgba(51, 46, 42, 0.08);
}
.method-pillar h3,
.method-pillar h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--yale-blue);
}
.method-pillar p {
  margin: 0;
  font-size: 14px;
  color: var(--graphite-muted);
  line-height: 1.55;
}
.method-photo {
  position: relative;
  height: 100%;
  width: 100%;
  border-left: 1px solid var(--border);
  overflow: hidden;
  border-radius: 0;
  background: var(--sand-light);
}
.method-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 05 Percorsi Cards - Letsprvnt Vertical Card with Hover */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.path-card {
  position: relative;
  background: var(--graphite);
  border-radius: 20px;
  overflow: hidden;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px -8px rgba(0, 42, 56, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  cursor: pointer;
}
.path-card:hover,
.path-card.is-hovered {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -12px rgba(0, 42, 56, 0.28);
}
.path-card .photo-frame {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 0;
  z-index: 1;
}
.path-card .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.path-card:hover .photo-frame img,
.path-card.is-hovered .photo-frame img {
  transform: scale(1.08);
}

/* Dynamic Gradient Overlay: Light bottom vignette at rest, deep rich backdrop on hover */
.path-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0, 42, 56, 0) 50%, rgba(0, 42, 56, 0.75) 80%, rgba(0, 42, 56, 0.95) 100%);
  z-index: 2;
  transition: background 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.path-card:hover .path-card-overlay,
.path-card.is-hovered .path-card-overlay {
  background: linear-gradient(180deg, rgba(0, 42, 56, 0.4) 0%, rgba(0, 42, 56, 0.88) 40%, rgba(0, 42, 56, 0.98) 100%);
}

.path-card-body {
  position: relative;
  z-index: 3;
  padding: 32px 28px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.path-card-body h3 {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin-bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.path-card:hover .path-card-body h3,
.path-card.is-hovered .path-card-body h3 {
  transform: translateY(0);
  margin-bottom: 14px;
}

/* Reveal subtitle text and CTA on hover with smooth height, opacity and slide */
.path-card-details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(16px);
  transition: grid-template-rows 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.path-card:hover .path-card-details,
.path-card.is-hovered .path-card-details {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}
.path-card-details-inner {
  overflow: hidden;
}
.path-card-details p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.path-card-details .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* Caregiver horizontal block */
.caregiver-horizontal-block {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 32px;
  background: #FAF6F2;
  border: 1px solid #E8DED4;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}
.caregiver-horizontal-block .photo-frame {
  flex: 0 0 38%;
  border-radius: 0;
  border: 0;
  border-right: 1px solid #E8DED4;
  min-height: 280px;
}
.caregiver-horizontal-content {
  flex: 1;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.caregiver-horizontal-content h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 12px;
}
.caregiver-horizontal-content p {
  font-size: 15px;
  color: var(--graphite-muted);
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 640px;
}
.caregiver-horizontal-content .eyebrow { margin: 0 0 10px; }

/* Oncologist callout */
.oncologist-callout {
  margin-top: 32px;
  padding: 36px clamp(24px, 4vw, 48px);
  background: var(--yale-blue);
  color: white;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.oncologist-callout .oncologist-copy { flex: 1 1 520px; }
.oncologist-callout h3 {
  font-size: clamp(28px, 3vw, 32px);
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}
.oncologist-callout p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.6;
  max-width: 660px;
  margin: 0;
}
.oncologist-callout .btn { flex-shrink: 0; }

/* 06 Visual Interlude (Quiet Strength) */
.interlude-section {
  position: relative;
  background-image: url('images/cta-texture.jpg');
  background-size: cover;
  background-position: center;
  padding: 110px clamp(24px, 5vw, 60px);
  overflow: hidden;
}
.interlude-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 36, 46, 0.45);
}
.interlude-content {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}
.interlude-content h3 {
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.interlude-content p {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 32px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.interlude-content .btn {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

/* 07 Centri Grid */
.centres-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.centre-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.centre-item .photo-frame {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  aspect-ratio: 16/9;
}
.centre-body {
  padding: 28px;
}
.status-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
}
.status-pill.active {
  background: var(--sage-light);
  color: var(--sage-dark);
  border: 1px solid #C2DEC1;
}
.status-pill.upcoming {
  background: var(--linen);
  color: var(--graphite-muted);
  border: 1px solid var(--border);
}
.centre-body h3 { font-size: 20px; margin-bottom: 6px; }
.centre-body .address {
  font-size: 13px;
  color: var(--graphite-light);
  margin-bottom: 12px;
  font-weight: 500;
}
.centre-body p {
  font-size: 14px;
  color: var(--graphite-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* 08 Team & Equipe */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.portrait-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.portrait-card .photo-frame {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  aspect-ratio: 3/4;
}
.portrait-card-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.portrait-card-body h3 { font-size: 17px; margin-bottom: 4px; }
.portrait-card-body .role {
  font-size: 12px;
  font-weight: 700;
  color: var(--cerulean);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.portrait-card-body p {
  font-size: 13px;
  color: var(--graphite-muted);
  margin: 0 0 14px 0;
  line-height: 1.55;
  flex-grow: 1;
}
.team-bio-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--cerulean);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease, transform 0.2s ease;
  margin-top: auto;
}
.team-bio-btn:hover {
  color: var(--terracotta);
  transform: translateX(2px);
}

/* Team Bio Modal */
.team-bio-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-bio-modal.is-active {
  opacity: 1;
  visibility: visible;
}
.team-bio-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 36, 46, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.team-bio-dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 64px -12px rgba(10, 36, 46, 0.35);
  border: 1px solid var(--border);
  overflow-y: auto;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 36px 40px;
}
.team-bio-modal.is-active .team-bio-dialog {
  transform: scale(1) translateY(0);
}
.team-bio-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--linen);
  color: var(--yale-blue);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.team-bio-close:hover {
  background: #ffffff;
  transform: rotate(90deg);
}
.team-bio-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.team-bio-avatar {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.team-bio-header-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--yale-blue);
  margin: 0 0 6px 0;
}
.team-bio-header-info .role-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--cerulean);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(30, 107, 138, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
}
.team-bio-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--graphite);
}
.team-bio-text p {
  margin: 0 0 16px 0;
}
.team-bio-text p:last-child {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .team-bio-dialog {
    padding: 28px 20px;
    border-radius: 20px;
  }
  .team-bio-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .team-bio-avatar {
    width: 84px;
    height: 84px;
  }
}

/* Comitato Scientifico (rimosso su richiesta) */

/* 09 Nuova Sezione B2B / Professionisti & Centri Partner */
.professionals-section {
  background: var(--yale-blue);
  color: white;
}
.professionals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.professional-col {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 28px 24px;
}
.professional-col h3,
.professional-col h4 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: white;
}
.professional-col p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* 10 Contact Section */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--linen);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: 100%;
  box-sizing: border-box;
}
.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--yale-blue);
}
.contact-text {
  flex: 1;
}
.contact-text h3,
.contact-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--yale-blue); }
.contact-text p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--graphite-muted); }

/* Form Styles */
.contact-form {
  background: var(--white);
  padding: 36px 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 36px -10px rgba(51, 46, 42, 0.06);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--linen-light);
  color: var(--graphite);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--yale-blue);
  background: white;
}
.form-note {
  font-size: 12px;
  color: var(--graphite-light);
  margin-top: 12px;
  line-height: 1.45;
}

/* Footer */
.site-footer {
  background: var(--graphite);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px clamp(20px, 5vw, 60px) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 48px;
}
.footer-brand h3 { color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: rgba(255, 255, 255, 0.7); max-width: 340px; }
.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: rgba(255, 255, 255, 0.7); transition: color 0.15s ease; }
.footer-col a:hover { color: white; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom--second {
  border-top: none;
  padding-top: 4px;
}
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
}
.footer-logo {
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.footer-logo-link:hover .footer-logo {
  opacity: 1;
}

/* Responsive Media Queries */
@media (max-width: 1140px) {
  .site-header { gap: 20px; }
  nav { display: none; }
  nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  nav .mobile-only-cta {
    display: inline-flex !important;
    justify-content: center;
    margin-top: 14px;
    border-bottom: none;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    margin-left: auto;
    background: white;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }
}

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero .hero-photo { min-height: 380px; height: 380px; border-left: 0; border-top: 1px solid var(--border); }
  .card-grid, .team-grid { grid-template-columns: repeat(3, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .professionals-grid { grid-template-columns: 1fr; }
  .method-split, .contact-layout { grid-template-columns: 1fr; }
  .method-copy { margin-left: 0; max-width: 100%; padding: 44px 24px; }
  .method-photo { min-height: 380px; height: 380px; border-left: 0; border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    gap: 12px;
  }
  .header-actions .header-contact-btn {
    display: none;
  }
  .header-actions {
    gap: 8px;
  }
  .brand-logo {
    height: 42px;
    max-width: 200px;
  }
  .brand-name {
    font-size: 18px;
  }
  .section { padding: 44px 0; }
  .audience-grid, .card-grid, .team-grid, .centres-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .caregiver-horizontal-block { flex-direction: column; }
  .caregiver-horizontal-block .photo-frame {
    flex-basis: auto;
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid #E8DED4;
  }
  .caregiver-horizontal-content { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .review-banner { flex-direction: column; text-align: center; }
  .path-card { height: 460px; }
  .path-card .path-card-details {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
  }
  .path-card .path-card-overlay {
    background: linear-gradient(180deg, rgba(0, 42, 56, 0.2) 0%, rgba(0, 42, 56, 0.85) 45%, rgba(0, 42, 56, 0.98) 100%);
  }
  .path-card-body h3 {
    margin-bottom: 12px;
  }
}

/* Newsletter Section */
.newsletter-section {
  background: #072B38;
  border-top: 1px solid rgba(12, 74, 96, 0.3);
  padding: 56px 0;
}
.newsletter-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  text-align: center;
}
.newsletter-inner h3 {
  color: white;
  font-size: clamp(22px, 2.8vw, 28px);
  margin-bottom: 8px;
}
.newsletter-desc {
  color: #A4D4DF;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 560px;
}
.newsletter-form {
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-input-row {
  display: flex;
  gap: 12px;
}
.newsletter-input-row input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-family: var(--font-sans);
  font-size: 14px;
}
.newsletter-input-row input[type="email"]::placeholder {
  color: rgba(164, 212, 223, 0.6);
}
.newsletter-input-row input[type="email"]:focus {
  outline: none;
  border-color: var(--cinnamon);
  box-shadow: 0 0 0 2px rgba(201, 111, 74, 0.3);
}
.newsletter-btn {
  background: var(--cinnamon) !important;
  color: white !important;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: var(--font-sans);
  white-space: nowrap;
}
.newsletter-btn:hover {
  background: var(--cinnamon-hover) !important;
}
.newsletter-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  text-align: left;
  cursor: pointer;
}
.newsletter-privacy input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--cinnamon);
}
.newsletter-privacy span {
  font-size: 12px;
  color: rgba(164, 212, 223, 0.8);
  line-height: 1.5;
}
.newsletter-feedback {
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  text-align: left;
}
.newsletter-feedback--success {
  color: #2F6B34;
  background: var(--sage-light);
  border: 1px solid #BFD9BF;
}
.newsletter-feedback--error {
  color: #9A3B2A;
  background: #FBEEE9;
  border: 1px solid #EDC9BD;
}
.form-clinical-notice {
  padding: 12px 16px;
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  border-radius: 8px;
  font-size: 12px;
  color: #92400E;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  max-width: 480px;
  width: calc(100vw - 48px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 20px 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s;
}
.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.cookie-banner.is-closing {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-banner-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--linen-light);
  color: var(--graphite-muted);
  font-size: 18px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.cookie-banner-close:hover {
  background: var(--linen);
  color: var(--graphite);
}
.cookie-banner-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--yale-blue);
  margin: 0 0 10px;
  padding-right: 28px;
}
.cookie-banner-text {
  font-size: 13px;
  color: var(--graphite-muted);
  line-height: 1.55;
  margin: 0 0 10px;
}
.cookie-banner-link {
  color: var(--cinnamon);
  font-weight: 600;
  text-decoration: underline;
}
.cookie-banner-link:hover {
  color: var(--cinnamon-hover);
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.cookie-banner-actions .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 13px;
  min-height: 40px;
}
.cookie-banner-actions .btn.primary {
  background: var(--cinnamon);
  color: white;
  border: none;
  box-shadow: 0 2px 8px rgba(201, 111, 74, 0.25);
}
.cookie-banner-actions .btn.primary:hover {
  background: var(--cinnamon-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 111, 74, 0.35);
}
.cookie-banner-actions .btn.secondary {
  background: var(--white);
  color: var(--yale-blue);
  border: 1px solid var(--border);
}
.cookie-banner-actions .btn.secondary:hover {
  border-color: var(--yale-blue);
  background: var(--linen-light);
}

/* Newsletter Popup — Sticky Slide-up Banner */
.newsletter-popup {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: min(360px, calc(100vw - 32px));
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 24px 60px -12px rgba(0, 60, 81, 0.28);
  padding: 24px 26px 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.5s;
}
.newsletter-popup.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.newsletter-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--linen-light);
  color: var(--graphite-muted);
  font-size: 20px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.newsletter-popup-close:hover {
  background: var(--linen);
  color: var(--graphite);
}
.newsletter-popup .eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
}
.newsletter-popup h3 {
  font-size: 22px;
  margin-bottom: 8px;
  padding-right: 28px;
}
.newsletter-popup-desc {
  font-size: 13.5px;
  color: var(--graphite-muted);
  line-height: 1.55;
  margin: 0 0 16px;
}
.newsletter-popup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.newsletter-popup-input-row {
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: stretch;
}
.newsletter-popup-input-row input[type="email"] {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--linen-light);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--graphite);
}
.newsletter-popup-input-row input[type="email"]::placeholder {
  color: var(--graphite-light);
}
.newsletter-popup-input-row input[type="email"]:focus {
  outline: none;
  border-color: var(--cinnamon);
  box-shadow: 0 0 0 2px rgba(201, 111, 74, 0.2);
}
.newsletter-popup-input-row .btn {
  padding: 11px 20px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.newsletter-popup-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.newsletter-popup-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 2px;
  width: 100%;
  cursor: pointer;
  font-size: 11.5px;
  color: var(--graphite-light);
  line-height: 1.5;
}
.newsletter-popup-privacy input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--cinnamon);
}
.newsletter-popup-privacy a {
  color: var(--cinnamon);
  text-decoration: underline;
}
.newsletter-popup-feedback {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
}
.newsletter-popup-feedback--success {
  color: #2F6B34;
  background: var(--sage-light);
  border: 1px solid #BFD9BF;
}
.newsletter-popup-feedback--error {
  color: #9A3B2A;
  background: #FBEEE9;
  border: 1px solid #EDC9BD;
}
@media (max-width: 640px) {
  .metrics-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .newsletter-popup {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
  }
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
    padding: 18px 20px;
  }
  .cookie-banner-actions {
    flex-direction: column;
  }
}
