/* =========================================================
   FRATRES MONTEGIORGIO — Design System
   Aesthetic: Institutional Warmth + Modern Editorial
   Fonts: Playfair Display (headings) + DM Sans (body)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --red:        #C0392B;
  --red-dark:   #922B21;
  --red-light:  #E74C3C;
  --red-pale:   #FCF0EF;
  --cream:      #FDFAF7;
  --sand:       #F5F0E8;
  --charcoal:   #1C1C1C;
  --ink:        #2D2D2D;
  --slate:      #5A5A5A;
  --mist:       #9E9E9E;
  --border:     #E8E0D8;
  --white:      #FFFFFF;
  --green:      #27AE60;
  --orange:     #E67E22;
  --blue:       #2980B9;
  --whatsapp:   #25D366;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 6px 24px rgba(0,0,0,.09);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.12);
  --shadow-red: 0 8px 32px rgba(192,57,43,.25);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --radius-xl:  40px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; }
p  { color: var(--slate); }

/* ── Utility ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-pale);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(192,57,43,.35);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37,211,102,.3);
}
.btn-whatsapp:hover {
  background: #1ebd59;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,.4);
}

/* ── Header / Nav ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-drop {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-drop span {
  transform: rotate(45deg);
  color: white;
  font-size: 1.1rem;
}

.logo-text h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: .04em;
  line-height: 1;
}
.logo-text p {
  font-size: .72rem;
  color: var(--mist);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
  background: var(--red-pale);
}

.nav-cta {
  margin-left: 8px;
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-xl) !important;
}
.nav-cta:hover {
  background: var(--red-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero Home ── */
.hero {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 70% 50%, rgba(192,57,43,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(192,57,43,.08) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
  width: 100%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--red);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: italic;
  color: var(--red-light);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.6);
  max-width: 480px;
  margin-bottom: 44px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.blood-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.bt-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.bt-card:hover {
  background: rgba(192,57,43,.2);
  border-color: rgba(192,57,43,.4);
  transform: translateY(-4px);
}

.bt-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 4px;
}

.bt-badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 99px;
}

.urgente  .bt-badge { background: rgba(192,57,43,.3); color: #ff8080; }
.carenza  .bt-badge { background: rgba(230,126,34,.3); color: #ffb86b; }
.stabile  .bt-badge { background: rgba(39,174,96,.3); color: #7be3a8; }
.eccedenza .bt-badge { background: rgba(41,128,185,.3); color: #87ccf5; }

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.stat-pill {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}
.stat-pill strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-display);
}
.stat-pill span {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .04em;
}

/* ── Section: Meteo Sangue ── */
.meteo-section {
  background: var(--white);
}

.meteo-header {
  text-align: center;
  margin-bottom: 60px;
}

.meteo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.meteo-card {
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.meteo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .07;
  background: repeating-linear-gradient(
    45deg, currentColor, currentColor 1px, transparent 1px, transparent 8px
  );
}
.meteo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.meteo-card.urgente  { background: #FEF2F2; color: var(--red); }
.meteo-card.carenza  { background: #FFF7ED; color: var(--orange); }
.meteo-card.stabile  { background: #ECFDF5; color: var(--green); }
.meteo-card.eccedenza { background: #EFF6FF; color: var(--blue); }

.mc-tipo {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.mc-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: 12px;
}

.mc-icon { font-size: 1.6rem; }

.mc-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  margin-left: 6px;
  vertical-align: middle;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(1.5); }
}

/* ── Section: Come si Dona ── */
.steps-section {
  background: var(--sand);
}

.steps-header {
  text-align: center;
  margin-bottom: 70px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-red);
}

.step-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.step-item p {
  font-size: .88rem;
  line-height: 1.6;
}

/* ── Section: Chi Siamo ── */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  padding-bottom: 40px;
  padding-right: 40px;
}

.about-img-main {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--sand);
}

.about-img-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-red);
}
.about-img-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}
.about-img-badge span {
  font-size: .72rem;
  opacity: .85;
  letter-spacing: .04em;
}

.about-text { }

.about-text h2 { margin-bottom: 20px; }
.about-text > p { margin-bottom: 20px; font-size: 1.05rem; line-height: 1.8; }

.board-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.board-pill {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: .82rem;
}
.board-pill strong { display: block; font-size: .78rem; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.board-pill span { color: var(--ink); font-weight: 600; }

/* ── Section: Requisiti ── */
.req-section {
  background: var(--sand);
}

.req-header {
  text-align: center;
  margin-bottom: 60px;
}

.req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.req-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--red);
  transition: var(--transition);
}
.req-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.req-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--red-pale);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}

.req-card h3 { font-size: 1.2rem; color: var(--charcoal); margin-bottom: 10px; }

.exclusions-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--orange);
  max-width: 800px;
  margin: 0 auto 48px;
}

.exclusions-box h3 {
  color: var(--orange);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.exclusions-box li {
  padding: 10px 0 10px 20px;
  position: relative;
  color: var(--slate);
  font-size: .95rem;
  border-bottom: 1px solid var(--border);
}
.exclusions-box li:last-child { border-bottom: none; }
.exclusions-box li::before {
  content: '⏱';
  position: absolute; left: 0;
}

/* ── Section: Recensioni ── */
.reviews-section {
  background: var(--white);
}

.reviews-header {
  text-align: center;
  margin-bottom: 60px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  border: 1px solid var(--border);
}

.review-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--red-pale);
  line-height: .5;
  margin-bottom: 16px;
  display: block;
}

.review-text {
  font-style: italic;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.review-stars { color: var(--red); font-size: .9rem; margin-bottom: 12px; }

.review-author {
  font-weight: 700;
  font-size: .88rem;
  color: var(--charcoal);
}
.review-meta {
  font-size: .78rem;
  color: var(--mist);
  margin-top: 2px;
}

/* Review Form */
.review-form-section {
  background: var(--sand);
  padding: 60px 0;
  text-align: center;
}

.review-form-wrap {
  max-width: 540px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  text-align: left;
}

.form-field label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--slate);
}

.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  width: 100%;
  outline: none;
  transition: var(--transition);
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--red);
  background: var(--white);
}

.star-picker {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 16px 0 24px;
  font-size: 1.8rem;
  cursor: pointer;
}

.star-picker span { transition: var(--transition); }
.star-picker span.active { filter: none; }
.star-picker span:not(.active) { filter: grayscale(1); opacity: .4; }

/* ── Section: Storia ── */
.storia-section {
  background: var(--white);
}

.article-layout {
  max-width: 800px;
  margin: 0 auto;
}

.article-meta {
  color: var(--red);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.article-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--slate);
}

.article-text p { margin-bottom: 24px; }

.article-pull {
  border-left: 4px solid var(--red);
  padding: 20px 28px;
  margin: 40px 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink);
  background: var(--red-pale);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ── Section: Contatti ── */
.contact-section {
  background: var(--sand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-block {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }

.ci-icon {
  width: 44px; height: 44px;
  background: var(--red-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ci-text strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mist); margin-bottom: 2px; }
.ci-text p { color: var(--ink); font-weight: 600; font-size: 1rem; }

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 320px;
  margin-top: 24px;
}
.map-embed iframe {
  width: 100%; height: 100%;
  border: none;
}

.contact-wa-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.wa-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.contact-wa-box h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.contact-wa-box p {
  font-size: .95rem;
  margin-bottom: 28px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.social-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-xl);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: var(--transition);
}
.social-pill:hover { transform: translateY(-2px); }
.social-fb { background: #1877F2; color: white; }
.social-ig { background: #E1306C; color: white; }

/* ── Privacy ── */
.privacy-container {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 60px;
  box-shadow: var(--shadow-sm);
}

.privacy-container h2 { color: var(--red); margin-bottom: 8px; }
.privacy-container h3 { color: var(--ink); font-size: 1rem; margin: 28px 0 8px; }
.privacy-container p { font-size: .95rem; margin-bottom: 12px; }
.privacy-container li { font-size: .95rem; color: var(--slate); padding: 6px 0 6px 20px; position: relative; }
.privacy-container li::before { content: '→'; position: absolute; left: 0; color: var(--red); }

/* ── Footer ── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.6);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand h3 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }

.footer-section h4 {
  color: white;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 16px;
}
.footer-section li {
  margin-bottom: 10px;
}
.footer-section a {
  color: rgba(255,255,255,.5);
  font-size: .88rem;
  transition: var(--transition);
}
.footer-section a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}

/* ── Chatbot ── */
.chat-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
  z-index: 9999;
  transition: var(--transition);
}
.chat-btn:hover { transform: scale(1.1); background: var(--red-dark); }

.chat-window {
  position: fixed;
  bottom: 104px;
  right: 28px;
  width: 340px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  overflow: hidden;
  display: none;
  flex-direction: column;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  animation: slideUp .25s ease;
}
.chat-window.open { display: flex; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-header {
  background: var(--red);
  color: white;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header h4 { font-size: .9rem; font-weight: 700; }
.chat-close { background: none; border: none; color: white; font-size: 1.3rem; cursor: pointer; line-height: 1; }

.chat-body {
  height: 300px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--cream);
}

.chat-hints {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.chat-hints::-webkit-scrollbar { display: none; }

.hint {
  font-size: .72rem;
  font-weight: 600;
  color: var(--red);
  border: 1.5px solid var(--red);
  padding: 4px 12px;
  border-radius: 99px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  background: transparent;
}
.hint:hover { background: var(--red); color: white; }

.chat-footer {
  display: flex;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--white);
  gap: 8px;
}
.chat-footer input {
  flex: 1;
  font-family: var(--font-body);
  font-size: .88rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 8px 16px;
  outline: none;
  background: var(--cream);
  transition: var(--transition);
}
.chat-footer input:focus { border-color: var(--red); }
.chat-send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  border: none;
  cursor: pointer;
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.chat-send:hover { background: var(--red-dark); }

.chat-msg {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: .86rem;
  max-width: 85%;
  line-height: 1.5;
}
.bot-msg { background: white; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.user-msg { background: var(--red); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--charcoal);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(192,57,43,.15), transparent);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: white; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.6); font-size: 1.1rem; }

/* ── Animations / Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile Nav ── */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .main-nav {
    display: none;
    position: fixed;
    inset: 72px 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px;
    z-index: 998;
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 1rem; }
  .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .blood-type-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-stat-row { grid-template-columns: repeat(3, 1fr); }

  .meteo-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps-grid::before { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .req-grid { grid-template-columns: 1fr; }

  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .privacy-container { padding: 32px 20px; }
}
