/* =========================================
   2513.org – Dean Goods Locomotive Trust
   Main Stylesheet
   ========================================= */

/* --- Reset & Base -------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gwr-green:   #196924;
  --gwr-dark:    #0f4015;
  --gwr-gold:    #D5AE27;
  --gwr-gold-lt: #e5c84a;
  --smoke-white: #f5f2ec;
  --coal-black:  #1a1a1a;
  --rail-grey:   #4a4a4a;
  --sky-blue:    #d4e8f7;
  --text-dark:   #000000;
  --text-mid:    #555555;
  --border:      #ddd;
  --shadow:      rgba(0,0,0,.18);
  --radius:      6px;
  --font-body:   'Georgia', 'Times New Roman', serif;
  --font-ui:     'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--gwr-green);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gwr-gold); text-decoration: underline; }
a:hover { color: var(--gwr-gold-lt); }

/* --- Skip-link (accessibility) ------------------------------------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gwr-gold);
  color: var(--coal-black);
  padding: .4rem 1rem;
  z-index: 9999;
  font-family: var(--font-ui);
  font-weight: bold;
}
.skip-link:focus { top: 0; }

/* --- Site Header --------------------------------------------------- */
.site-header {
  background: var(--gwr-green);
  padding: 1.2rem 1.5rem;
  border-bottom: 4px solid var(--gwr-gold);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo--left  { justify-content: flex-start; }
.header-logo--right { justify-content: flex-end; }

.header-logo img {
  max-height: 110px;
  width: auto;
}

.header-title { text-align: center; }

.header-title h1 {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 3vw, 2.4rem);
  font-weight: bold;
  color: #C00000;
  text-shadow: 1px 1px 0 rgba(255,255,255,.75),
               0 0 12px rgba(255,255,255,.4);
  letter-spacing: .06em;
  line-height: 1.25;
}

@media (max-width: 640px) {
  .header-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .header-title {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: .5rem;
    border-top: 2px solid rgba(213,174,39,.4);
    margin-top: .5rem;
  }
  .header-logo--left  { grid-column: 1; grid-row: 1; }
  .header-logo--right { grid-column: 2; grid-row: 1; }
  .header-logo img { max-height: 55px; }
  .site-header { padding: .8rem 1rem; }
}

/* --- Navigation ---------------------------------------------------- */
.site-nav {
  background: var(--gwr-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gwr-gold);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 1.5rem;
  gap: 1rem;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.nav-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.nav-brand-text {
  color: var(--gwr-gold);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.2;
}

.nav-brand-sub {
  display: block;
  font-size: .75rem;
  color: #aaa;
  font-weight: normal;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: .5rem;
}

.nav-links a {
  display: block;
  color: #f0f0f0;
  text-decoration: none;
  padding: .5rem 1.2rem;
  font-family: var(--font-ui);
  font-size: .9rem;
  font-weight: bold;
  border: 2px solid var(--gwr-gold);
  border-radius: var(--radius);
  background: rgba(0,0,0,.2);
  transition: background .2s, color .2s, border-color .2s;
  letter-spacing: .03em;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
  background: var(--gwr-gold);
  color: var(--coal-black);
  border-color: var(--gwr-gold-lt);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--gwr-gold);
  color: var(--gwr-gold);
  padding: .35rem .6rem;
  cursor: pointer;
  border-radius: var(--radius);
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 700px) {
  .nav-inner { justify-content: flex-end; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--gwr-dark);
    border-top: 2px solid var(--gwr-gold);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: .8rem 1.5rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
}

/* --- Hero ---------------------------------------------------------- */
.hero {
  background: var(--gwr-green);
  color: var(--smoke-white);
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 30px,
    rgba(0,0,0,.06) 30px,
    rgba(0,0,0,.06) 31px
  );
}

.hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  color: var(--gwr-gold);
  letter-spacing: .04em;
  margin-bottom: .4rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: #c8f0b0;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero-loco {
  margin: 0 auto 1.5rem;
  max-width: 700px;
  border: 4px solid var(--gwr-gold);
  border-radius: var(--radius);
  background: var(--sky-blue);
  overflow: hidden;
  box-shadow: 0 6px 24px var(--shadow);
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--smoke-white);
  max-width: 620px;
  margin: 0 auto 1.8rem;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: .7rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: .95rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
}

.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--gwr-gold);
  color: var(--coal-black);
  border-color: var(--gwr-gold);
}
.btn-primary:hover {
  background: var(--gwr-gold-lt);
  color: var(--coal-black);
  border-color: var(--gwr-gold-lt);
}

.btn-outline {
  background: transparent;
  color: var(--smoke-white);
  border-color: var(--smoke-white);
}
.btn-outline:hover {
  background: var(--smoke-white);
  color: var(--gwr-green);
}

/* --- Hero image (full-width photo) --------------------------------- */
.hero-image-section {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 75vh;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto;
}

/* --- Section commons ----------------------------------------------- */
section {
  padding: 3rem 1.5rem;
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--gwr-green);
  border-bottom: 3px solid var(--gwr-gold);
  padding-bottom: .4rem;
  margin-bottom: 1.5rem;
}

/* --- About strip --------------------------------------------------- */
.about {
  background: var(--coal-black);
  color: #ddd;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.about-card {
  background: #2a2a2a;
  border: 1px solid #444;
  border-top: 3px solid var(--gwr-gold);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
}

.about-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: .6rem;
}

.about-card h3 {
  color: var(--gwr-gold);
  margin-bottom: .5rem;
  font-size: 1.1rem;
}

.about-card p { font-size: .95rem; color: #ccc; line-height: 1.6; }

.about .section-title { color: var(--gwr-gold-lt); border-color: var(--gwr-gold); }

@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* --- News ---------------------------------------------------------- */
.news { background: var(--smoke-white); }

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.news-card {
  background: white;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gwr-green);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  box-shadow: 0 2px 8px var(--shadow);
  transition: box-shadow .2s;
}

.news-card:hover { box-shadow: 0 4px 16px var(--shadow); }

.news-card .news-date {
  font-size: .82rem;
  color: var(--text-mid);
  font-family: var(--font-ui);
  margin-bottom: .4rem;
}

.news-card h3 {
  color: var(--gwr-green);
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.news-card p { font-size: .95rem; color: var(--text-mid); line-height: 1.6; }

.news-badge {
  display: inline-block;
  background: var(--gwr-gold);
  color: var(--coal-black);
  font-size: .72rem;
  font-family: var(--font-ui);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .15rem .55rem;
  border-radius: 3px;
  margin-bottom: .5rem;
}

.news-badge.construction { background: #e07000; color: white; }
.news-badge.event        { background: #005599; color: white; }
.news-badge.fundraising  { background: #007744; color: white; }

@media (max-width: 700px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* --- Construction progress ----------------------------------------- */
.progress-section { background: #f0ede4; }

.progress-img-wrap {
  border: 3px solid var(--rail-grey);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow);
  margin-bottom: 1.5rem;
}

.progress-bar-group { margin-top: 1.2rem; }

.progress-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .8rem;
}

.progress-label {
  width: 160px;
  flex-shrink: 0;
  font-family: var(--font-ui);
  font-size: .9rem;
  color: var(--text-mid);
}

.progress-bar-track {
  flex: 1;
  height: 18px;
  background: #ddd;
  border-radius: 9px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gwr-dark), var(--gwr-green));
  border-radius: 9px;
  transition: width .6s ease;
}

.progress-pct {
  width: 40px;
  text-align: right;
  font-family: var(--font-ui);
  font-size: .85rem;
  font-weight: bold;
  color: var(--gwr-dark);
}

/* --- Forms area ---------------------------------------------------- */
.forms-area {
  background: white;
  border-top: 4px solid var(--gwr-green);
}

.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 820px) {
  .forms-grid { grid-template-columns: 1fr; }
}

/* Form card */
.form-card {
  background: white;
  border: 1px solid var(--border);
  border-top: 4px solid var(--gwr-green);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: 0 2px 10px var(--shadow);
}

.form-card.donation { border-top-color: var(--gwr-gold); }

.form-card h3 {
  font-size: 1.3rem;
  color: var(--gwr-green);
  margin-bottom: .4rem;
}

.form-card.donation h3 { color: #8a6a00; }

.form-card .form-intro {
  font-size: .9rem;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

/* Fields */
.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: .88rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: .3rem;
}

.form-group label .req {
  color: #c00;
  margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .55rem .8rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-dark);
  background: white;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gwr-green);
  box-shadow: 0 0 0 3px rgba(46,89,2,.15);
}

.form-card.donation .form-group input:focus,
.form-card.donation .form-group select:focus {
  border-color: var(--gwr-gold);
  box-shadow: 0 0 0 3px rgba(192,160,0,.15);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.2rem; }

/* Checkboxes / radios */
.form-check { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .5rem; }
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  margin-top: .2rem;
  accent-color: var(--gwr-green);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.form-check label { font-family: var(--font-ui); font-size: .88rem; color: var(--text-dark); cursor: pointer; }

/* Amount buttons */
.amount-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .8rem;
}

.amount-btn {
  padding: .45rem 1rem;
  border: 2px solid var(--gwr-gold);
  background: white;
  color: #8a6a00;
  font-family: var(--font-ui);
  font-size: .9rem;
  font-weight: bold;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.amount-btn:hover,
.amount-btn.active {
  background: var(--gwr-gold);
  color: var(--coal-black);
}

/* Validation feedback */
.field-error {
  display: none;
  font-family: var(--font-ui);
  font-size: .8rem;
  color: #c00;
  margin-top: .25rem;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #c00;
  box-shadow: 0 0 0 3px rgba(200,0,0,.12);
}

.form-group.has-error .field-error { display: block; }

/* Success message */
.form-success {
  display: none;
  background: #eafaf1;
  border: 1px solid #2e7d32;
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
  color: #1b5e20;
  font-size: 1rem;
}

.form-success .success-icon { font-size: 2.5rem; margin-bottom: .5rem; }

/* Submit buttons */
.btn-submit {
  width: 100%;
  padding: .8rem;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-weight: bold;
  cursor: pointer;
  transition: opacity .2s, transform .1s;
  margin-top: .5rem;
}

.btn-submit:active { transform: scale(.98); }

.btn-volunteer {
  background: var(--gwr-green);
  color: white;
}
.btn-volunteer:hover { opacity: .9; }

.btn-donate {
  background: var(--gwr-gold);
  color: var(--coal-black);
}
.btn-donate:hover { background: var(--gwr-gold-lt); }

/* Privacy notice */
.privacy-note {
  font-family: var(--font-ui);
  font-size: .78rem;
  color: var(--text-mid);
  margin-top: .8rem;
  line-height: 1.5;
}

.privacy-note a { color: var(--text-mid); }

/* --- Gallery placeholder ------------------------------------------- */
.gallery {
  background: #1a1a1a;
}

.gallery .section-title { color: var(--gwr-gold-lt); border-color: var(--gwr-gold); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  border: 2px solid #444;
  border-radius: var(--radius);
  overflow: hidden;
  background: #222;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-family: var(--font-ui);
  font-size: .85rem;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: border-color .2s;
}

.gallery-item:hover { border-color: var(--gwr-gold); }

.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1rem;
  color: #888;
}

.gallery-placeholder .ph-icon { font-size: 2.5rem; }

@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Footer -------------------------------------------------------- */
.site-footer {
  background: var(--coal-black);
  color: #aaa;
  padding: 2.5rem 1.5rem 1.5rem;
  border-top: 3px solid var(--gwr-gold);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand { color: #ddd; }

.footer-brand .brand-logo {
  width: 56px;
  height: 56px;
  margin-bottom: .8rem;
}

.footer-brand h2 {
  color: var(--gwr-gold);
  font-size: 1.1rem;
  margin-bottom: .4rem;
}

.footer-brand p { font-size: .9rem; line-height: 1.6; }

.footer-links h4,
.footer-contact h4 {
  color: var(--gwr-gold);
  font-size: .95rem;
  margin-bottom: .8rem;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: bold;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: #aaa; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--gwr-gold-lt); }

.footer-contact p { font-size: .9rem; line-height: 1.8; }
.footer-contact a { color: #aaa; }
.footer-contact a:hover { color: var(--gwr-gold-lt); }

.footer-bottom {
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid #333;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-bottom a { color: #888; text-decoration: none; }
.footer-bottom a:hover { color: var(--gwr-gold-lt); }

.charity-number { color: #888; font-family: var(--font-ui); }

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* --- Utility ------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-centre { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: .5rem; }

/* --- Sub-page content area ----------------------------------------- */
.page-content {
  background: var(--smoke-white);
  min-height: 60vh;
}

.page-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.page-intro {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--gwr-gold);
  line-height: 1.75;
}

/* --- News listing -------------------------------------------------- */
.news-listing {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-entry {
  background: #fff;
  border-left: 5px solid var(--gwr-green);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  padding: 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: box-shadow .2s;
}

.news-entry:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.15);
}

.news-entry-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.news-entry-issue {
  background: var(--gwr-green);
  color: #fff;
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .2rem .65rem;
  border-radius: 3px;
}

.news-entry-date {
  font-family: var(--font-ui);
  font-size: .85rem;
  color: var(--rail-grey);
}

.news-entry h2 {
  font-size: 1.2rem;
  color: var(--gwr-dark);
  margin: 0;
}

.news-entry p {
  font-size: .97rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin: 0;
}

.news-entry-footer {
  margin-top: .25rem;
}

.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--gwr-gold);
  color: var(--coal-black);
  font-family: var(--font-ui);
  font-size: .88rem;
  font-weight: bold;
  padding: .5rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s, color .2s;
}

.btn-pdf:hover {
  background: var(--gwr-gold-lt);
  color: var(--coal-black);
}

.btn-pdf::before {
  content: '\1F4CB';
  font-size: 1rem;
}

/* --- Membership page ----------------------------------------------- */
.membership-body {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.membership-block {
  background: #fff;
  border-left: 5px solid var(--gwr-green);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  padding: 1.4rem 1.8rem;
}

.membership-block h2 {
  font-size: 1.15rem;
  color: var(--gwr-dark);
  margin-bottom: .6rem;
}

.membership-block p {
  font-size: .97rem;
  color: var(--text-dark);
  line-height: 1.75;
  margin: 0;
}

.membership-download {
  padding-top: .5rem;
}

/* --- Contact page -------------------------------------------------- */
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact-card {
  background: #fff;
  border-left: 5px solid var(--gwr-green);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  padding: 1.4rem 1.8rem;
  min-width: 220px;
  flex: 1;
}

.contact-card h2 {
  font-size: 1.05rem;
  color: var(--gwr-dark);
  text-transform: uppercase;
  letter-spacing: .07em;
  font-family: var(--font-ui);
  margin-bottom: .75rem;
}

.contact-card p,
.contact-card address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-dark);
}

.contact-card a {
  font-size: 1.1rem;
  font-weight: bold;
}

/* --- Homepage footer columns --------------------------------------- */
.footer-address,
.footer-legal {
  font-size: .9rem;
  line-height: 1.8;
  color: #ccc;
}

.footer-legal { text-align: right; }

.footer-address a {
  color: var(--gwr-gold);
  text-decoration: none;
}
.footer-address a:hover { color: var(--gwr-gold-lt); }

@media (max-width: 600px) {
  .footer-inner      { justify-content: center; }
  .footer-legal      { text-align: center; }
}
