/* =========================================================
   Le Paysan Marin — feuille de style principale
   ========================================================= */

:root {
  --sage: #7A9E86;
  --sage-light: #A9C4B0;
  --sage-pale: #E7EFE8;
  --teal-deep: #0F6E56;
  --navy-teal: #1A3C40;
  --cream: #FAF7F1;
  --white: #FFFFFF;
  --ink: #16302E;
  --ink-soft: #4E635F;
  --line: #DDE5DE;

  --font-heading: 'Comfortaa', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(15, 45, 40, 0.08);
  --shadow-sm: 0 4px 14px rgba(15, 45, 40, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: url('../img/patterns/waves.svg') repeat, var(--cream);
  background-size: 420px 140px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--navy-teal);
  margin: 0 0 0.5em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; text-transform: none; letter-spacing: 0; }
h4 { font-size: 1.05rem; text-transform: none; letter-spacing: 0; }

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--sage-pale);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section.alt { background: var(--white); }
section.dark {
  background:
    url('../img/patterns/waves-light.svg') repeat,
    linear-gradient(135deg, var(--navy-teal), var(--teal-deep));
  background-size: 420px 140px, auto;
  color: var(--white);
}
section.dark h2, section.dark h3, section.dark p { color: var(--white); }
section.dark p { color: rgba(255,255,255,0.82); }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal-deep); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-teal); }
.btn-secondary { background: transparent; color: var(--navy-teal); border-color: var(--navy-teal); }
.btn-secondary:hover { background: var(--navy-teal); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-teal); }
.btn-light:hover { background: var(--sage-pale); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: var(--white); color: var(--navy-teal); border-color: var(--white); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--navy-teal);
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo span { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.24em; color: var(--teal-deep); margin-top: 4px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 1.1rem; }
.main-nav > ul { list-style: none; display: flex; gap: 1.05rem; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--teal-deep); border-color: var(--teal-deep); }

.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.has-dropdown { gap: 2px; }
.dropdown-toggle {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  padding: 6px; color: var(--ink);
}
.dropdown-toggle svg { transition: transform 0.2s ease; }
.has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown-menu {
  display: none;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 10px 0 0;
  padding: 8px;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  z-index: 200;
}
.has-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu li { display: block; }
.dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  border-bottom: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}
.dropdown-menu a:hover { background: var(--sage-pale); color: var(--teal-deep); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-actions .btn { padding: 10px 18px; font-size: 0.8rem; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--white);
}
.lang-switch button {
  border: none;
  background: transparent;
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  color: var(--ink-soft);
}
.lang-switch button.active { background: var(--navy-teal); color: var(--white); }
.lang-switch button:disabled { cursor: not-allowed; opacity: 0.55; }

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

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 100px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(122,158,134,0.25), transparent),
    url('../img/patterns/waves.svg') repeat,
    linear-gradient(180deg, var(--cream), var(--white));
  background-size: auto, 420px 140px, auto;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 0.55em; }
.hero .lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 2rem; }
.hero-visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
}

/* ---------- Photo placeholders ---------- */
.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--sage) 0%, var(--teal-deep) 55%, var(--navy-teal) 100%);
  box-shadow: var(--shadow);
}
.photo-frame::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    url('../img/patterns/waves-light.svg'),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 26px);
  background-size: 320px 110px, auto;
  background-repeat: repeat, repeat;
}
.photo-frame::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,0.28), transparent 30%),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.16), transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(0,0,0,0.18), transparent 55%),
    linear-gradient(180deg, transparent 0%, transparent 62%, rgba(0,0,0,0.10) 63%, rgba(0,0,0,0.22) 100%);
}
.photo-frame .frame-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.9;
}
.photo-frame .frame-icon svg { width: 48%; height: 48%; opacity: 0.6; }
.photo-frame .real-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.photo-caption {
  margin-top: 10px;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-soft);
}
.photo-caption strong { font-style: normal; color: var(--teal-deep); }

/* ---------- Key figures band ---------- */
.stats-band {
  background:
    url('../img/patterns/waves-light.svg') repeat,
    linear-gradient(135deg, var(--navy-teal), var(--teal-deep));
  background-size: 420px 140px, auto;
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: var(--white);
  line-height: 1;
}
.stat-item .stat-label {
  margin-top: 10px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.78);
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.photo-strip figure { margin: 0; }
.photo-strip .photo-frame { aspect-ratio: 4/3; }
.photo-strip figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--ink-soft); }
.photo-strip.two-col { grid-template-columns: repeat(2, 1fr); max-width: 620px; margin: 0 auto; }
.photo-strip .photo-frame.portrait { aspect-ratio: 3/4; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.value-card .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--sage);
  margin-bottom: 0.4rem;
}

.project-teaser-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.teaser-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.teaser-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.teaser-card .n { font-family: var(--font-heading); font-weight: 700; color: var(--sage-light); font-size: 1.6rem; }
.teaser-card h3, .teaser-card h4 { margin: 0.6rem 0 0.4rem; }
.teaser-card p { font-size: 0.88rem; margin: 0 0 0.4rem; }

/* ---------- Data-viz: comparative bars ---------- */
.compare-bars { display: flex; flex-direction: column; gap: 22px; margin: 1.5rem 0; }
.compare-row .row-label { display: flex; justify-content: space-between; font-family: var(--font-heading); font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; color: var(--navy-teal); }
.compare-row .row-label .unit { font-weight: 500; color: var(--ink-soft); text-transform: none; font-family: var(--font-body); font-size: 0.82rem; }
.bar-track { background: var(--sage-pale); border-radius: 999px; height: 34px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; display: flex; align-items: center; justify-content: flex-end; padding-right: 14px; font-family: var(--font-heading); font-weight: 700; color: var(--white); font-size: 0.92rem; }
.bar-fill.a { background: linear-gradient(90deg, var(--teal-deep), var(--sage)); }
.bar-fill.b { background: linear-gradient(90deg, var(--navy-teal), var(--teal-deep)); }

/* ---------- Data-viz: donut ---------- */
.donut-block { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.donut-wrap { position: relative; width: 168px; height: 168px; flex-shrink: 0; }
.donut-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut-wrap .donut-value {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.7rem; color: var(--navy-teal);
}
.donut-caption p { margin: 0; }

/* ---------- Data-viz: France map ---------- */
.map-block { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.map-svg-wrap { width: 260px; flex-shrink: 0; }
.map-callout {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  max-width: 340px;
  box-shadow: var(--shadow-sm);
}
.map-callout .num { font-family: var(--font-heading); font-weight: 700; font-size: 2.4rem; color: var(--teal-deep); line-height: 1; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.team-card .avatar { width: 100%; aspect-ratio: 1/1; border-radius: var(--radius-sm); margin-bottom: 18px; }
.team-card .role { font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 6px; display: block; }
.linkedin-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--teal-deep);
  text-decoration: none;
}
.linkedin-link:hover { color: var(--navy-teal); }

/* ---------- Project detail blocks ---------- */
.project-block { padding: 72px 0; border-bottom: 1px solid var(--line); }
.project-block:last-of-type { border-bottom: none; }
.project-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.project-meta { margin-top: 1.6rem; }
.project-meta h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal-deep); margin-bottom: 0.4rem; }
.project-meta + .project-meta { margin-top: 1.2rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--sage-pale); color: var(--teal-deep); font-size: 0.78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }

.event-callout {
  background: var(--sage-pale);
  border: 1px solid var(--sage-light);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 2rem;
}
.event-callout h3 { margin-bottom: 0.6rem; }
.event-callout p { font-size: 0.94rem; }
.event-callout .event-detail { font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; color: var(--navy-teal); }
.event-callout .btn { margin: 0.4rem 0 1rem; }
.event-callout .event-support { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 0; }

/* ---------- Logos grid ---------- */
.logo-category { margin-bottom: 3rem; }
.logo-category h4 { margin-bottom: 1.2rem; }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.logo-placeholder {
  height: 92px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 10px;
}

/* ---------- Presse ---------- */
.press-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2.5rem; }
.press-filters button {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.press-filters button.active { background: var(--navy-teal); border-color: var(--navy-teal); color: var(--white); }

.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.press-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.press-card .press-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: var(--sage-pale); }
.press-cover-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--sage) 0%, var(--teal-deep) 55%, var(--navy-teal) 100%);
}
.press-cover-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url('../img/patterns/waves-light.svg');
  background-size: 260px 90px;
  background-repeat: repeat;
}
.press-cover-placeholder svg { width: 30%; height: 30%; opacity: 0.55; position: relative; z-index: 1; }
.press-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.press-card .press-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.press-card .outlet { font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; color: var(--teal-deep); }
.press-card .date { font-size: 0.78rem; color: var(--ink-soft); }
.press-card h3 { margin-bottom: 0.5rem; }
.press-card p { font-size: 0.92rem; flex-grow: 1; }
.read-link { display: inline-block; font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; color: var(--navy-teal); text-decoration: none; margin-top: 12px; }
.read-link:hover { color: var(--teal-deep); }

.press-logos-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.press-logos-strip .logo-placeholder { height: 64px; flex: 1 1 140px; }

/* ---------- Shop ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.product-card .photo-frame { border-radius: 0; aspect-ratio: 1/1; }
.product-card .info { padding: 20px; }
.product-card .price { font-family: var(--font-heading); font-weight: 700; color: var(--teal-deep); margin-top: 4px; }
.commitments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.commitment-item { background: var(--sage-pale); border-radius: var(--radius); padding: 26px; }

/* ---------- Support / contact ---------- */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.support-card {
  display: block; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.support-card .btn { margin-top: 1.2rem; }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 6px; color: var(--navy-teal); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); font-family: var(--font-body); font-size: 0.95rem;
  background: var(--white); color: var(--ink);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 10px; }
.form-success { display: none; background: var(--sage-pale); color: var(--teal-deep); padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 600; margin-top: 16px; }
.form-error { display: none; background: #FBEAEA; color: #B3261E; padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 600; margin-top: 16px; }

.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.contact-card .role { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 4px; }
.contact-card a { color: var(--teal-deep); text-decoration: none; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; margin-top: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-teal); color: rgba(255,255,255,0.85); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: var(--font-heading); font-weight: 700; color: var(--white); font-size: 1.1rem; margin-bottom: 12px; }
.site-footer h5 { font-family: var(--font-heading); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--white); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: 0.92rem; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--sage-light); }
.social-row { display: flex; gap: 12px; margin-top: 6px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: rgba(255,255,255,0.12); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.7); text-decoration: none; }

/* ---------- Sources / footnote ---------- */
.footnote { font-size: 0.8rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .hero-grid, .grid-3, .grid-2, .team-grid, .support-grid, .commitments-grid,
  .product-grid, .contact-layout, .project-layout {
    grid-template-columns: 1fr;
  }
  .project-layout .photo-frame { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .project-teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .press-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { position: fixed; inset: 84px 0 0 0; background: var(--cream); flex-direction: column; align-items: stretch; padding: 24px 28px; gap: 1.6rem; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; gap: 1.1rem; }
  .main-nav > ul > li { flex-direction: column; align-items: stretch; }
  .has-dropdown { gap: 0; }
  .dropdown-toggle { position: absolute; right: 0; top: 0; }
  .dropdown-menu {
    position: static;
    display: none;
    margin: 0.8rem 0 0;
    padding: 0 0 0 1rem;
    border: none;
    box-shadow: none;
    background: transparent;
    min-width: 0;
  }
  .has-dropdown.open .dropdown-menu { display: block; }
  .header-actions { flex-direction: column; align-items: stretch; gap: 1.4rem; }
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .donut-block, .map-block { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .press-grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr; }
}
