:root {
  --background-color: #ffffff;
  --default-color: #222222;
  --heading-color: #172a28;
  --accent-color: #006324;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

.content-limit {
  max-width: 860px;
  margin-inline: auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
  color: var(--default-color);
}

/* ── Layout ── */
.landing-wrapper {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* ── Header ── */
.landing-header {
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
}

.brand-wordmark {
  display: inline-block;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading-color);
  text-decoration: none;
}

.brand-wordmark span {
  color: var(--accent-color);
}

.landing-tagline {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #5a6e60;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Hero text ── */
.choose-label {
  text-align: center;
  margin-bottom: 2.5rem;
}

.choose-label h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.2;
}

.choose-label p {
  margin-top: 0.5rem;
  color: #5a6e60;
  font-size: 1rem;
}

/* ── Cards container ── */
.cards-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 3rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 860px;
  width: 100%;
}

/* ── Card base ── */
.branch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform 0.32s cubic-bezier(0.22, 0.68, 0, 1.2),
    box-shadow 0.28s ease,
    border-color 0.24s ease;
  background: var(--surface-color);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.branch-card:hover,
.branch-card:focus-visible {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
  outline: none;
}

.branch-card:focus-visible {
  border-color: var(--accent-color);
}

/* ── Card visual strip ── */
.card-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* BIO – organic green world */
.card-bio .card-visual {
  background: linear-gradient(145deg, #d4edda 0%, #a8d5b5 40%, #006324 100%);
}

/* TEC – deep forest + slate */
.card-tec .card-visual {
  background: linear-gradient(145deg, #172a28 0%, #013530 55%, #005a20 100%);
}

/* SVG icon area */
.card-icon {
  width: 88px;
  height: 88px;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.22, 0.68, 0, 1.4);
}

.branch-card:hover .card-icon {
  transform: scale(1.1) rotate(-3deg);
}

/* Decorative ring behind icon */
.card-visual::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  opacity: 0.18;
  transition: transform 0.5s ease;
}

.card-bio .card-visual::before {
  background: #ffffff;
  top: -30px;
  right: -30px;
}

.card-tec .card-visual::before {
  background: #ffffff;
  bottom: -40px;
  left: -30px;
}

.branch-card:hover .card-visual::before {
  transform: scale(1.3);
}

/* ── Card body ── */
.card-body-inner {
  padding: 1.6rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.35rem;
}

.card-title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--heading-color);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.card-desc {
  font-size: 0.9rem;
  color: #4a5e50;
  line-height: 1.6;
  flex: 1;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: gap 0.2s ease;
}

.branch-card:hover .card-cta {
  gap: 0.65rem;
}

.card-cta i {
  font-size: 1rem;
}

/* ── Divider between cards ── */
.cards-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.divider-pill {
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a0b0a5;
  padding: 0.8rem 0;
  position: relative;
}

.divider-pill::before,
.divider-pill::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: #d0ddd4;
  margin: 0 auto;
}

/* ── Footer ── */
.landing-footer {
  text-align: center;
  padding: 1.2rem;
  font-size: 0.78rem;
  color: #a0b0a5;
}

.brand-logo img {
  max-width: 420px;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

  .cards-divider {
    display: none;
  }

  .card-visual {
    height: 160px;
  }
  .brand-logo img {
    max-width: 280px;
  }
}