/* =========================================================
   HOME PAGE (index.html)
   Theme colours (--irish-green, --irish-orange, the header
   background and tricolour stripe) are shared from styles.css.
========================================================= */

/* ---------- Hero ---------- */

.home-hero {
  padding: 64px 7vw 76px;
}

.home-hero-grid {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #e2ecf8;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Small tricolour flag */
.home-flag {
  display: inline-flex;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.home-flag i {
  width: 7px;
  height: 14px;
}

.home-flag i:nth-child(1) { background: var(--irish-green); }
.home-flag i:nth-child(2) { background: #ffffff; }
.home-flag i:nth-child(3) { background: var(--irish-orange); }

.home-hero .intro {
  max-width: 580px;
  font-size: 1.1rem;
  color: #cfdbec;
}

/* ---------- Buttons ---------- */

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.home-button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.home-button:hover {
  transform: translateY(-2px);
}

.home-button-primary {
  background: var(--irish-green);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(22, 155, 98, 0.35);
}

.home-button-primary:hover {
  background: var(--irish-green-dark);
}

.home-button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.home-button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.home-button-light {
  background: #ffffff;
  color: #0f172a;
}

/* ---------- Quick finder panel ---------- */

.home-finder {
  position: relative;
  padding: 28px 26px 24px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
  color: var(--text);
}

.home-finder::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: var(--tricolour-on-light);
}

.home-finder-kicker {
  margin: 0 0 6px;
  color: var(--irish-green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-finder h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.home-finder-text {
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.home-finder label {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 700;
}

.home-finder select {
  border-color: #cfd8e3;
}

.home-finder select:focus {
  outline: none;
  border-color: var(--irish-green);
  box-shadow: 0 0 0 4px rgba(22, 155, 98, 0.15);
}

.home-finder-button {
  margin-top: 12px;
  border: none;
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.home-finder-button:hover {
  background: #1e293b;
}

.home-finder-meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

/* ---------- Page layout ---------- */

.home-shell {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 8px;
}

.home-section {
  padding: 48px 0 8px;
}

/* Section label with a short tricolour bar */
.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--irish-green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-kicker::before {
  content: "";
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: var(--tricolour-on-light);
}

.home-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  color: #0f172a;
}

.home-lead {
  max-width: 760px;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.home-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.home-points li {
  position: relative;
  padding-left: 24px;
  color: #0f172a;
  font-weight: 700;
}

.home-points li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 6px;
  height: 11px;
  border-right: 2.5px solid var(--irish-green);
  border-bottom: 2.5px solid var(--irish-green);
  transform: rotate(45deg);
}

/* ---------- Cards ---------- */

.home-grid {
  display: grid;
  gap: 20px;
  margin-top: 8px;
}

.home-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-card {
  position: relative;
  padding: 26px;
  background: var(--card-bg);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.home-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  color: #0f172a;
}

.home-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.home-card-link {
  display: flex;
  flex-direction: column;
  border-left: 5px solid var(--accent);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.12);
}

.home-card-link p {
  flex: 1 1 auto;
}

.home-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}

.home-card-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-card-tag {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-card-cta {
  margin-top: 16px;
  color: var(--accent);
  font-weight: 700;
}

.home-card-cta span {
  display: inline-block;
  transition: transform 0.15s ease;
}

.home-card-link:hover .home-card-cta span {
  transform: translateX(4px);
}

.home-new-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--irish-orange);
  color: #ffffff;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  vertical-align: 1px;
}

/* ---------- Steps ---------- */

.home-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.home-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
}

/* ---------- Closing callout ---------- */

.home-callout {
  position: relative;
  margin-top: 52px;
  padding: 40px 36px 36px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 100%, rgba(232, 119, 46, 0.2), transparent 45%),
    radial-gradient(circle at 0% 0%, rgba(22, 155, 98, 0.22), transparent 45%),
    linear-gradient(135deg, #0f172a, #1f3a5f);
  color: #e5edf7;
}

.home-callout h2 {
  color: #ffffff;
}

.home-callout p {
  max-width: 700px;
  margin: 0 0 22px;
  line-height: 1.65;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-finder {
    max-width: 460px;
  }
}

@media (max-width: 720px) {
  .home-hero {
    padding: 44px 20px 56px;
  }

  .home-grid-two,
  .home-steps {
    grid-template-columns: 1fr;
  }

  .home-callout {
    padding: 34px 24px 28px;
  }
}
