/* La Casa di Winnie ODV — static rebuild (design tokens from Elementor kit) */
:root {
  --primary: #A20205;
  --primary-soft: #A2020554;
  --secondary: #2A75ED;
  --text: #000000;
  --text-muted: #7E7E7E;
  --accent: #FFFFFF;
  --bg: #FFFFFF;
  --bg-soft: #F6FAFC;
  --bg-alt: #EBEFF2;
  --gold: #E6C634;
  --gold-soft: #E6C63487;
  --teal: #70CFC0;
  --purple: #9C75F3;
  --font-display: "Bowlby One SC", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-accent: "Fuzzy Bubbles", cursive, sans-serif;
  --container: 1140px;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #7a0204;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }

p { margin: 0 0 1em; }

ul { margin: 0 0 1em; padding-left: 1.2em; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2.5rem, 1280px);
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding: 0.6rem 0;
}

.logo img {
  height: 56px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a {
  color: #111;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0.15rem;
  position: relative;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--primary);
}

.nav-desktop a.btn-nav {
  background: var(--primary);
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav-desktop a.btn-nav:hover {
  background: #7a0204;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #111;
  margin: 6px 0;
  transition: 0.2s;
}

.nav-mobile {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 0;
  color: #111;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-mobile a.btn-nav {
  margin-top: 0.75rem;
  text-align: center;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  border: 0;
}

.site-header.is-open .nav-mobile {
  display: block;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--primary);
  color: #fff !important;
}

.btn-primary:hover { background: #7a0204; color: #fff !important; }

.btn-gold {
  background: var(--gold);
  color: #111 !important;
}

.btn-gold:hover { filter: brightness(0.95); color: #111 !important; }

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary) !important;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff !important;
}

.btn-white {
  background: #fff;
  color: var(--primary) !important;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, var(--gold-soft), transparent 45%),
    radial-gradient(circle at 10% 80%, var(--primary-soft), transparent 40%),
    linear-gradient(135deg, #fff 0%, #F6FAFC 55%, #fff8e6 100%);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  color: var(--primary);
  letter-spacing: -0.5px;
  margin-bottom: 0.4rem;
}

.hero h1 {
  color: #111;
  margin-bottom: 0.5rem;
}

.hero h1 span {
  display: block;
  color: var(--primary);
}

.hero-lead {
  font-size: 1.05rem;
  max-width: 36rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: min(100%, 420px);
  filter: drop-shadow(0 20px 40px rgba(162, 2, 5, 0.18));
}

.hero-blob {
  position: absolute;
  inset: 10% 15%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.35;
  z-index: -1;
  border-radius: 50%;
}

/* ——— Sections ——— */
.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-primary {
  background: var(--primary);
  color: #fff;
}

.section-primary a { color: #fff; }

.section-gold {
  background: linear-gradient(120deg, #f7e7a0, var(--gold));
  color: #111;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-head .label {
  display: inline-block;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.section-head p {
  color: #444;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-reverse > :first-child { order: 2; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

/* ——— Cards ——— */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-body {
  padding: 1.35rem 1.4rem 1.5rem;
  flex: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 0.85rem;
}

.card h3 {
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.card p {
  color: #444;
  font-size: 0.98rem;
  margin: 0;
}

.card-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card-person .card-media img {
  aspect-ratio: 1;
  object-fit: cover;
}

.card-person .role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.post-card .card-media img {
  aspect-ratio: 16/10;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.post-card h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}

.post-card h3 a {
  color: inherit;
}

.post-card h3 a:hover {
  color: var(--primary);
}

/* ——— CTA band ——— */
.cta-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.cta-band h2 { margin-bottom: 0.5rem; }

/* ——— Page hero ——— */
.page-hero {
  background:
    linear-gradient(135deg, rgba(162, 2, 5, 0.92), rgba(162, 2, 5, 0.75)),
    url("../images/IMG-20240616-WA0005-min.jpg") center/cover no-repeat;
  color: #fff;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  text-align: center;
}

.page-hero h1 { color: #fff; margin-bottom: 0.4rem; }
.page-hero p { max-width: 640px; margin: 0 auto; opacity: 0.95; }

.page-hero-light {
  background: linear-gradient(135deg, #fff8e6, #F6FAFC);
  color: #111;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-hero-light .label { color: var(--primary); }

/* ——— Story / content ——— */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2, .prose h3 { color: var(--primary); margin-top: 1.5em; }

.story-quote {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--primary);
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.statuto-content {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.statuto-content h2,
.statuto-content h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-top: 1.75rem;
}

.statuto-content p {
  font-size: 0.98rem;
  line-height: 1.75;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.contact-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.contact-item a { color: inherit; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid #d7dce1;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

.form-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  margin: 1rem 0 1.25rem;
}

.form-check input { margin-top: 0.35rem; }

.form-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.alert-success {
  background: #e8f8f0;
  color: #0d5c36;
  border: 1px solid #b7e4cb;
}

.alert-error {
  background: #fdecec;
  color: #8a1212;
  border: 1px solid #f3c1c1;
}

/* ——— Membership ——— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.iban-box {
  background: var(--bg-soft);
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
}

.iban-box strong {
  font-family: var(--font-body);
  display: block;
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.donate-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  text-align: center;
}

.donate-card img {
  max-width: 220px;
  margin: 1rem auto;
}

/* ——— Footer ——— */
.site-footer {
  background: #140202;
  color: #f2f2f2;
  padding: 3.5rem 0 1.5rem;
  font-size: 0.98rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.site-footer a {
  color: #f2f2f2;
  opacity: 0.9;
}

.site-footer a:hover {
  color: var(--gold);
  opacity: 1;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.45rem; }

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 0.85rem;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  opacity: 0.85;
}

.social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  margin-right: 0.4rem;
}

.social a:hover {
  background: var(--gold);
  color: #111;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.newsletter-form input[type="email"] {
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 0;
  font: inherit;
}

.newsletter-form button {
  background: var(--gold);
  color: #111;
  border: 0;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

/* ——— Utils ——— */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--text-muted); }

.person-bio {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.person-bio.is-open {
  max-height: 800px;
}

.btn-link {
  background: none;
  border: 0;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

.pill {
  display: inline-block;
  background: var(--gold);
  color: #111;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid,
  .split,
  .cta-band,
  .contact-grid,
  .donate-grid {
    grid-template-columns: 1fr;
  }
  .split-reverse > :first-child { order: 0; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .cards-4,
  .cards-3,
  .cards-2 {
    grid-template-columns: 1fr;
  }
  .logo img { height: 46px; }
  body { font-size: 16.5px; }
  .hero { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-grid { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .container,
  .container-wide {
    width: min(100% - 1.5rem, var(--container));
  }
}
