:root {
  --bg: #ffffff;
  --ink: #1f2937;
  --muted: #6b7280;

  --blue: #3f5ea8;
  --blueHover: #355399;

  --shadow: 0 18px 40px rgba(17, 24, 39, 0.12);

  --radius: 16px;
  --max: 1100px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: radial-gradient(1100px 520px at 12% 10%, rgba(99, 102, 241, 0.12), transparent 55%),
              radial-gradient(1100px 520px at 88% 12%, rgba(16, 185, 129, 0.10), transparent 60%),
              linear-gradient(to bottom, #f7fafc, #eef2f7);
}

/* Intro */
.intro {
  padding: 46px 18px 26px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.introInner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.introInner h1 {
  margin: 0 0 10px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0.01em;
}

.introText {
  margin: 0 auto;
  max-width: 80ch;
  color: rgba(31, 41, 55, 0.78);
  font-size: 16px;
  line-height: 1.7;
}

.introActions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btnPrimary {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 26px rgba(63, 94, 168, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btnPrimary:hover { background: var(--blueHover); }

.btnGhost {
  background: transparent;
  color: var(--blue);
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid rgba(63, 94, 168, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btnGhost:hover { background: rgba(63, 94, 168, 0.08); }

/* Cards */
.linksSection { padding: 38px 18px 70px; }

.linksInner {
  max-width: var(--max);
  margin: 0 auto;
}

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

.card {
  background: #fff;
  border: 1px solid rgba(31, 41, 55, 0.10);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 41, 55, 0.18);
  box-shadow: 0 22px 55px rgba(17, 24, 39, 0.14);
}

.cardLink {
  color: inherit;
  text-decoration: none;
  display: grid;
  grid-template-rows: auto auto;
  height: 100%;
}

.cardMedia {
  height: 240px;
  background: #f3f4f6;
}

.cardMediaLarge { height: 324px; }

@media (min-width: 860px) {
  .cardMediaLarge { height: 338px; }
}

.cardMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.cardBody {
  padding: 18px 18px 20px;
  display: grid;
  gap: 10px;
}

.cardTopRow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.cardTopRow h2 {
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  font-size: 20px;
}

.pill {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid rgba(31, 41, 55, 0.14);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.cardBody p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.btnSecondary {
  justify-self: start;
  background: var(--blue);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card:hover .btnSecondary { background: var(--blueHover); }

/* Placeholder */
.cardMedia.placeholder {
  position: relative;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(16, 185, 129, 0.10));
}

.placeholderContent {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  padding: 18px;
  color: rgba(31, 41, 55, 0.72);
}

.placeholderTitle {
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 18px;
  color: rgba(31, 41, 55, 0.84);
}

.placeholderSub {
  font-size: 13px;
  color: rgba(31, 41, 55, 0.62);
}

.cardMedia.placeholder:not(.noImage) .placeholderContent {
  display: none;
}

/* Footer */
.siteFooter {
  padding: 52px 18px 64px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footerInner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 860px) {
  .footerInner {
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
  }
}

.footerText h2 {
  margin: 0 0 10px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  font-size: 22px;
}

.address {
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.6;
}

.smallNote {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.mapWrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(31, 41, 55, 0.10);
  box-shadow: var(--shadow);
  background: #f3f4f6;
  min-height: 320px;
}

.mapWrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}