/* ============================================================
   VINES SUPPORT SERVICES — HOME PAGE STYLES
   ============================================================ */

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--green-dark);
  margin-top: 72px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15,53,32,0.95) 0%,
    rgba(26,92,56,0.88) 55%,
    rgba(26,92,56,0.5) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 5rem;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(240,165,0,0.18);
  border: 1px solid rgba(240,165,0,0.4);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: var(--space-md);
}

.hero__badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__text {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero right — photo mosaic */
.hero__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 200px;
  gap: 12px;
}

.hero__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero__photo:hover img { transform: scale(1.04); }

.hero__photo--tall {
  grid-row: span 2;
  grid-template-rows: auto;
}

.hero__photo--tall img { height: 100%; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero__scroll svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.4); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── WHO WE SUPPORT ─────────────────────────────────────────── */
.support-section { background: var(--white); }

.support-section .section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: var(--space-xl);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.support-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  transition: transform var(--trans-med), box-shadow var(--trans-med);
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.support-card__photo {
  height: 180px;
  overflow: hidden;
}

.support-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.support-card:hover .support-card__photo img { transform: scale(1.06); }

.support-card__body {
  padding: 1.5rem;
}

.support-card__icon {
  width: 40px; height: 40px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-sm);
}

.support-card__icon svg { width: 20px; height: 20px; fill: var(--green-dark); }

.support-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.support-card__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── ABOUT SNIPPET (home) ───────────────────────────────────── */
.about-home { background: var(--green-pale2); }

.about-home__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-home__photos {
  position: relative;
}

.about-home__photo-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow-lg);
}

.about-home__photo-main img { width: 100%; height: 100%; object-fit: cover; }

.about-home__photo-inset {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 200px; height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
}

.about-home__photo-inset img { width: 100%; height: 100%; object-fit: cover; }

.about-home__stat-badge {
  position: absolute;
  top: 2rem; left: -2rem;
  background: var(--gold);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-home__stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-home__stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-top: 0.25rem;
}

.about-home__text p {
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: var(--space-sm);
}

.pace-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}

.pace-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  border: 1px solid var(--grey-200);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pace-letter {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--green-dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.pace-card p { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.2rem; line-height: 1.5; }
.pace-card strong { font-size: 0.92rem; color: var(--text-dark); display: block; }

/* ── SERVICES SNAPSHOT (home) ───────────────────────────────── */
.services-home { background: var(--green-dark); position: relative; overflow: hidden; }

.services-home::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(78,160,110,0.08);
}

.services-home .section-label { color: var(--gold-light); }

.services-home .section-header {
  margin-bottom: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.services-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--trans-med), background var(--trans-med);
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.1);
}

.service-card__photo {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.service-card__photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(26,92,56,0.6), transparent);
}

.service-card__body { padding: 1.75rem; }

.service-card__num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: rgba(240,165,0,0.25);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-card__text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.service-card__link {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--trans-fast);
}

.service-card__link:hover { gap: 0.6rem; }

/* ── STATS BANNER ───────────────────────────────────────────── */
.stats-banner {
  background: var(--gold);
  padding-block: var(--space-lg);
}

.stats-banner__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item__num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-item__label {
  font-size: 0.88rem;
  color: rgba(26,38,25,0.7);
  font-weight: 500;
}

/* ── FACILITIES TEASER ──────────────────────────────────────── */
.facilities-home { background: var(--white); }

.facilities-home__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.25rem;
}

.facility-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans-med), box-shadow var(--trans-med);
}

.facility-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.facility-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.facility-tile--main { height: 420px; }
.facility-tile--sm { height: 200px; }

.facility-tile__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(15,53,32,0.92) 0%, transparent 100%);
}

.facility-tile__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}

.facility-tile__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.3;
}

.facilities-home__side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── TEAM TEASER ────────────────────────────────────────────── */
.team-home { background: var(--green-pale); }

.team-home .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: var(--space-xl);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans-med), box-shadow var(--trans-med);
  text-align: center;
}

.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.team-card__photo {
  height: 220px;
  overflow: hidden;
}

.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.team-card__body { padding: 1.25rem; }

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: 0.82rem;
  color: var(--green-mid);
  font-weight: 500;
}

/* ── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
  padding-block: var(--space-xl);
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.cta-banner__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-banner__text p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 500px;
}

.cta-banner__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials { background: var(--off-white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--grey-200);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--green-pale);
  position: absolute;
  top: 0.5rem; left: 1.25rem;
  line-height: 1;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  margin-top: 1.5rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--grey-200);
  padding-top: var(--space-sm);
}

.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-card__title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── RESPONSIVE HOME ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .about-home__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-home__photos { display: none; }
  .services-home-grid { grid-template-columns: 1fr 1fr; }
  .stats-banner__inner { grid-template-columns: repeat(2, 1fr); }
  .facilities-home__grid { grid-template-columns: 1fr 1fr; }
  .facilities-home__side { flex-direction: row; }
  .facility-tile--main { height: 280px; grid-column: span 2; }
  .facility-tile--sm { height: 180px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .support-grid { grid-template-columns: 1fr 1fr; }
  .support-section .section-header { grid-template-columns: 1fr; }
  .services-home-grid { grid-template-columns: 1fr; }
  .services-home .section-header { flex-direction: column; align-items: flex-start; }
  .team-home .section-header { flex-direction: column; align-items: flex-start; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .facilities-home__grid { grid-template-columns: 1fr; }
  .facility-tile--sm { height: 220px; }
  .facility-tile--main { height: 280px; grid-column: auto; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .support-grid { grid-template-columns: 1fr; }
  .pace-cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-banner__inner { grid-template-columns: 1fr 1fr; }
}
