/* ==========================================================================
   Right for Life – main stylesheet
   Colours and fonts are set once here, at the top. Change them here only.
   ========================================================================== */

@font-face {
  font-family: "Rubik";
  src: url("../fonts/rubik-latin-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colours, taken from the logo */
  --yellow: #fab817;
  --red: #ee2d2a;
  --green: #55c48f;
  --blue: #4558b0;

  /* Supporting colours */
  --navy: #101a4a;        /* dark sections, headings */
  --navy-2: #172466;      /* slightly lighter navy */
  --ink: #1d2440;         /* body text */
  --muted: #555e78;       /* secondary text (passes contrast on white) */
  --line: #e3e6f0;
  --soft: #f5f6fb;        /* light section background */
  --white: #ffffff;
  --yellow-soft: #fff4d6;
  --red-soft: #fde6e5;
  --green-soft: #e3f6ed;
  --blue-soft: #e7eaf7;

  /* Type */
  --font-head: "Rubik", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --gutter: 20px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(16, 26, 74, .08);
  --shadow-lg: 0 24px 60px rgba(16, 26, 74, .16);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-weight: 700; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--yellow); color: var(--navy); padding: 12px 18px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
.section--soft { background: var(--soft); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--yellow) 0 25%, var(--red) 25% 50%, var(--blue) 50% 75%, var(--green) 75%);
}
.eyebrow--light { color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--yellow); color: var(--navy); box-shadow: 0 8px 22px rgba(250, 184, 23, .35); }
.btn--primary:hover { background: #ffc93f; color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--blue); color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 58px; width: auto; }
.brand .logo-dark { display: none; }
.site-header.is-solid { background: rgba(255, 255, 255, .97); box-shadow: 0 6px 24px rgba(16, 26, 74, .10); backdrop-filter: blur(8px); }
.site-header.is-solid .logo-light { display: none; }
.site-header.is-solid .logo-dark { display: block; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: var(--white);
}
.site-header.is-solid .nav-toggle, .nav-open .nav-toggle { background: var(--soft); color: var(--navy); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--white); box-shadow: var(--shadow-lg);
  padding: 12px var(--gutter) 24px;
  display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav-open .site-header { background: var(--white); }
.nav-open .site-header .logo-light { display: none; }
.nav-open .site-header .logo-dark { display: block; }
.nav-open .site-nav { display: block; }
.site-nav ul { display: flex; flex-direction: column; }
.site-nav a {
  display: flex; align-items: center; min-height: 52px; padding: 0 8px;
  font-family: var(--font-head); font-weight: 500; font-size: 1.1rem;
  color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--blue); }
.site-nav .nav-cta { margin-top: 18px; border: 0; justify-content: center; background: var(--yellow); border-radius: 999px; font-weight: 600; }

.header-call { display: none; }

@media (min-width: 960px) {
  :root { --header-h: 96px; }
  .brand img { height: 78px; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: block; background: none; box-shadow: none; padding: 0; max-height: none; overflow: visible;
  }
  .site-nav ul { flex-direction: row; align-items: center; gap: 4px; }
  .site-nav a {
    min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px;
    font-size: .98rem; color: var(--white);
  }
  .site-nav a:hover { color: var(--yellow); }
  .site-nav a.is-active { color: var(--yellow); }
  .site-header.is-solid .site-nav a { color: var(--navy); }
  .site-header.is-solid .site-nav a:hover, .site-header.is-solid .site-nav a.is-active { color: var(--blue); }
  .site-nav .nav-cta { margin: 0 0 0 10px; padding: 0 22px; background: var(--yellow); color: var(--navy) !important; }
  .site-nav .nav-cta:hover { background: #ffc93f; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden;
  background: var(--navy);
}
.hero__media { position: absolute; inset: 0 0 auto 0; height: 122vw; z-index: -2; display: block; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 28%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 16, 48, .55) 0%, rgba(10, 16, 48, 0) 22%),
    linear-gradient(0deg, var(--navy) 0%, var(--navy) calc(100% - 122vw), rgba(16, 26, 74, .55) calc(100% - 122vw + 24vw), rgba(16, 26, 74, 0) calc(100% - 122vw + 60vw));
}
.hero__content { padding-top: 88vw; padding-bottom: 56px; }
@media (max-width: 859px) {
  .rights-list { gap: 8px; }
  .hero .rights-list li { font-size: .88rem; padding: 6px 12px 6px 10px; }
  .hero .btn { padding: 12px 20px; }
}
@media (max-width: 400px) {
  .hero .rights-list li { font-size: .8rem; padding: 6px 10px 6px 9px; gap: 6px; }
  .hero .rights-list li::before { width: 8px; height: 8px; }
  .hero .btn { padding: 12px 16px; font-size: .95rem; }
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 1.4rem + 5.4vw, 5.2rem);
  line-height: 1.02; letter-spacing: -.025em; margin-bottom: .35em;
}
.hero h1 span { display: block; color: var(--yellow); }
.hero__lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); max-width: 34em; color: rgba(255, 255, 255, .9); margin-bottom: 22px; }
.rights-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.rights-list li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
}
.rights-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--yellow)); }
.rights-list li:nth-child(1) { --dot: var(--yellow); }
.rights-list li:nth-child(2) { --dot: var(--red); }
.rights-list li:nth-child(3) { --dot: var(--green); }

.hero__scroll {
  display: none;
}

@media (min-width: 860px) {
  .hero { align-items: center; min-height: 100vh; min-height: 100svh; }
  .hero__media { inset: 0; height: auto; }
  .hero__media img { object-position: 70% 30%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(10, 16, 48, .6) 0%, rgba(10, 16, 48, 0) 20%),
      linear-gradient(90deg, rgba(10, 16, 48, .92) 0%, rgba(10, 16, 48, .72) 32%, rgba(10, 16, 48, .18) 58%, rgba(10, 16, 48, 0) 72%);
  }
  .hero__content { padding-top: calc(var(--header-h) + 40px); padding-bottom: 96px; max-width: var(--wrap); }
  .hero__text { max-width: 600px; }
  .hero__scroll {
    display: flex; position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
    width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%;
    color: var(--white); border: 1px solid rgba(255, 255, 255, .45);
  }
  .hero__scroll svg { width: 20px; height: 20px; animation: nudge 2s ease-in-out infinite; }
}
@keyframes nudge { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }

/* ---------- Contact strip under hero ---------- */
.quick-contact { background: var(--navy); color: var(--white); }
.quick-contact .wrap { display: grid; gap: 0; }
.quick-contact a, .quick-contact .qc-item {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 0;
  color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.quick-contact .qc-item:last-child { border-bottom: 0; }
.quick-contact a:hover { color: var(--yellow); }
.qc-icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: var(--yellow);
}
.qc-icon svg { width: 20px; height: 20px; }
.qc-label { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.qc-value { display: block; font-family: var(--font-head); font-weight: 500; font-size: clamp(.86rem, 3.7vw, 1rem); overflow-wrap: anywhere; }
@media (min-width: 860px) {
  .quick-contact .wrap { grid-template-columns: 1fr 1.45fr 1.25fr; }
  .quick-contact a, .quick-contact .qc-item { border-bottom: 0; padding: 18px 20px; border-left: 1px solid rgba(255, 255, 255, .1); }
  .quick-contact .qc-item:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- What we do (four rights) ---------- */
.rights-grid { display: grid; gap: 20px; }
.right-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 28px; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.right-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.right-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px;
  border-radius: 0 0 0 100%; background: var(--tint); opacity: .7;
}
.right-card__icon {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--tint); color: var(--accent); margin-bottom: 20px;
}
.right-card__icon svg { width: 34px; height: 34px; }
.right-card h3 { margin-bottom: .5em; }
.right-card p { color: var(--muted); margin: 0; }
.right-card--yellow { --accent: #b57f00; --tint: var(--yellow-soft); }
.right-card--red { --accent: var(--red); --tint: var(--red-soft); }
.right-card--blue { --accent: var(--blue); --tint: var(--blue-soft); }
.right-card--green { --accent: #1f8a58; --tint: var(--green-soft); }
.right-card { border-top: 4px solid var(--bar); }
.right-card--yellow { --bar: var(--yellow); }
.right-card--red { --bar: var(--red); }
.right-card--blue { --bar: var(--blue); }
.right-card--green { --bar: var(--green); }
@media (min-width: 640px) { .rights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .rights-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- About / mission ---------- */
.about { display: grid; gap: 44px; align-items: center; }
.about__text p { color: var(--muted); font-size: 1.05rem; }
.about__text .btn { margin-top: 10px; }
.about__visual {
  position: relative; border-radius: 28px; padding: 34px 26px;
  background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate;
}
.about__visual::before, .about__visual::after {
  content: ""; position: absolute; z-index: -1; width: 110px; height: 110px;
}
.about__visual::before { right: 0; top: 0; background: var(--yellow); border-radius: 0 0 0 100%; }
.about__visual::after { right: 0; bottom: 0; width: 70px; height: 70px; background: var(--green); border-radius: 100% 0 0 0; }
.about__mark { width: 84px; height: 84px; margin-bottom: 18px; }
.about__visual h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 20px; }
.pillars { display: grid; gap: 14px; }
.pillar {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}
.pillar__num {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: var(--navy); background: var(--c);
}
.pillar h4 { color: var(--white); font-size: 1.05rem; margin: 2px 0 4px; }
.pillar p { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .78); }
@media (min-width: 960px) {
  .about { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .about__visual { padding: 44px 40px; }
}

/* ---------- Causes ---------- */
.causes-grid { display: grid; gap: 22px; }
.cause-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cause-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cause-card__art {
  position: relative; height: 150px; display: grid; place-items: center;
  background: var(--tint); color: var(--accent); overflow: hidden;
}
.cause-card__art::before, .cause-card__art::after { content: ""; position: absolute; background: var(--accent); opacity: .12; }
.cause-card__art::before { width: 160px; height: 160px; left: -40px; bottom: -80px; border-radius: 0 100% 0 0; }
.cause-card__art::after { width: 120px; height: 120px; right: -30px; top: -30px; border-radius: 0 0 0 100%; }
.cause-card__art svg { width: 72px; height: 72px; position: relative; }
.cause-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.cause-card__tag {
  align-self: flex-start; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text, var(--accent)); margin-bottom: 8px;
}
.cause-card p { color: var(--muted); }
.cause-card .btn { margin-top: auto; align-self: flex-start; }
.cause-card--yellow { --accent: #d99a00; --accent-text: #8a6100; --tint: var(--yellow-soft); }
.cause-card--blue { --accent: var(--blue); --tint: var(--blue-soft); }
.cause-card--green { --accent: #2fa56d; --accent-text: #1a7a4c; --tint: var(--green-soft); }
@media (min-width: 760px) { .causes-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Get involved band ---------- */
.involve {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; padding: 44px 26px;
  background: var(--yellow); color: var(--navy);
  display: grid; gap: 26px; align-items: center;
}
.involve::before, .involve::after { content: ""; position: absolute; z-index: -1; }
.involve::before { width: 280px; height: 280px; right: -90px; bottom: -120px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.involve::after { width: 180px; height: 180px; left: -60px; top: -80px; border-radius: 0 0 100% 0; background: rgba(238, 45, 42, .12); }
.involve h2 { margin: 0 0 .3em; }
.involve p { margin: 0; font-size: 1.05rem; color: #3a3413; }
.involve .btn svg { width: 20px; height: 20px; }
@media (min-width: 960px) {
  .involve { grid-template-columns: 1.3fr 1fr; padding: 56px 60px; }
  .involve .btn-row { justify-content: flex-end; }
}

/* ---------- Events ---------- */
.events { display: grid; gap: 18px; max-width: 980px; margin: 0 auto; }
.event {
  display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.event__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 84px; height: 88px; border-radius: 16px; background: var(--navy); color: var(--white);
  font-family: var(--font-head); line-height: 1;
}
.event__day { font-size: 2rem; font-weight: 700; }
.event__month { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-top: 6px; font-weight: 600; }
.event h3 { margin: 2px 0 8px; }
.event__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.event__meta span { display: inline-flex; align-items: center; gap: 6px; }
.event__meta svg { width: 16px; height: 16px; color: var(--blue); }
.event .btn { min-height: 44px; padding: 10px 20px; font-size: .95rem; grid-column: 1 / -1; justify-self: start; }
.event-note { text-align: center; color: var(--muted); margin-top: 26px; font-size: .95rem; }
@media (min-width: 760px) {
  .event { grid-template-columns: 96px 1fr auto; align-items: center; padding: 22px 28px; gap: 26px; }
  .event__date { width: 96px; height: 96px; }
  .event__meta { margin-bottom: 0; }
  .event .btn { grid-column: auto; }
}

/* ---------- Donate band ---------- */
.donate {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--white); text-align: center;
}
.donate__shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.donate__shapes span { position: absolute; width: clamp(70px, 12vw, 150px); height: clamp(70px, 12vw, 150px); }
.donate__shapes span:nth-child(1) { left: 0; top: 0; background: var(--yellow); border-radius: 0 0 100% 0; }
.donate__shapes span:nth-child(2) { right: 0; top: 0; background: var(--green); border-radius: 0 0 0 100%; }
.donate__shapes span:nth-child(3) { left: 0; bottom: 0; background: var(--red); border-radius: 0 100% 0 0; }
.donate__shapes span:nth-child(4) { right: 0; bottom: 0; background: var(--blue); border-radius: 100% 0 0 0; }
@media (max-width: 759px) { .donate__shapes span { width: 56px; height: 56px; } }
.donate h2 { color: var(--white); }
.donate p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; max-width: 640px; margin: 0 auto 28px; }
.donate .btn-row { justify-content: center; }
.donate small { display: block; margin-top: 18px; color: rgba(255, 255, 255, .65); font-size: .9rem; }

/* ---------- News / blog ---------- */
.news-grid { display: grid; gap: 22px; }
.news-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.news-card__art {
  height: 170px; position: relative; overflow: hidden; display: grid; place-items: center;
  background: var(--bg); color: var(--fg);
}
.news-card__art svg { width: 70px; height: 70px; position: relative; z-index: 1; }
.news-card__art::before { content: ""; position: absolute; width: 230px; height: 230px; right: -60px; bottom: -110px; border-radius: 50%; background: var(--fg); opacity: .12; }
.news-card__art::after { content: ""; position: absolute; width: 110px; height: 110px; left: -30px; top: -30px; border-radius: 0 0 100% 0; background: var(--fg); opacity: .14; }
.news-card--a { --bg: var(--blue-soft); --fg: var(--blue); }
.news-card--b { --bg: var(--yellow-soft); --fg: #c78a00; }
.news-card--c { --bg: var(--green-soft); --fg: #2fa56d; }
.news-card__body { padding: 24px 26px 28px; }
.news-card time { display: block; font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.news-card h3 { font-size: 1.2rem; margin-bottom: .45em; }
.news-card p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (min-width: 760px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 34px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
a.contact-card:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--ink); }
.contact-card__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--accent); }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card--phone { --tint: var(--yellow-soft); --accent: #a87300; }
.contact-card--mail { --tint: var(--blue-soft); --accent: var(--blue); }
.contact-card--map { --tint: var(--green-soft); --accent: #1f8a58; }
.contact-card strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; margin-bottom: 2px; }
.contact-card span { color: var(--muted); word-break: break-word; }
.contact-card .map-link { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }

.form {
  background: var(--white); border-radius: 24px; padding: 28px 22px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.form h3 { margin-bottom: 6px; }
.form > p { color: var(--muted); margin-bottom: 20px; }
.form-grid { display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid #cfd4e4; background: var(--white); color: var(--ink);
  font: inherit; font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(69, 88, 176, .15); }
.form .btn { width: 100%; margin-top: 6px; }
.form-hint { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
@media (min-width: 640px) {
  .form { padding: 36px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .form .btn { width: auto; }
}
@media (min-width: 960px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; } }

/* ---------- Footer ---------- */
.site-footer { background: #0b1238; color: rgba(255, 255, 255, .78); padding: 64px 0 0; }
.footer-grid { display: grid; gap: 36px; }
.footer-brand img { height: 92px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 300px; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 12px; color: var(--yellow); }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; min-height: 44px; word-break: break-word; }
.footer-contact address { font-style: normal; padding-top: 9px; }
.footer-bottom {
  margin-top: 48px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .9rem; text-align: center; color: rgba(255, 255, 255, .6);
}
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.2fr .8fr .8fr 1.6fr; } }

/* ---------- Floating call button (phones) ---------- */
.float-call {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--yellow); color: var(--navy); text-decoration: none;
  font-family: var(--font-head); font-weight: 600; box-shadow: 0 12px 28px rgba(16, 26, 74, .28);
  transform: translateY(120px); transition: transform .3s ease;
}
.float-call svg { width: 20px; height: 20px; }
.float-call.is-visible { transform: none; }
.float-call:hover { color: var(--navy); }
@media (min-width: 960px) { .float-call { display: none; } }

/* ---------- 404 ---------- */
.notfound {
  min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: 40px var(--gutter); background: var(--soft);
}
.notfound img { width: 110px; margin: 0 auto 26px; }
.notfound h1 { font-size: clamp(2rem, 1.5rem + 3vw, 3.2rem); }
.notfound p { color: var(--muted); max-width: 460px; margin: 0 auto 26px; }
.notfound .btn-row { justify-content: center; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .section { padding: 104px 0; }
}
