/* ==========================================================
   Homepage-only styles (loaded by index.html after site.css)
   ========================================================== */

/* ---------- Hero ---------- */
.h-hero { position: relative; overflow: hidden; background: #fff; padding: 76px 0 72px; text-align: center; }
.h-hero::before {
  content: ""; position: absolute; top: -220px; right: -160px; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 211, 74, .30), transparent 65%);
}
.h-hero::after {
  content: ""; position: absolute; bottom: -260px; left: -180px; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 35, 61, .14), transparent 65%);
}
.h-hero .wrap { position: relative; z-index: 1; }
.h-eyebrow { display: inline-block; background: var(--red-soft); color: var(--red); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; }
.h-hero h1 { font-family: var(--serif); font-weight: 700; font-size: 70px; line-height: 1.04; color: var(--navy); max-width: 920px; margin: 0 auto 22px; }
.h-hero h1 em { font-style: italic; color: var(--red); }
.h-hero .lead { font-size: 20px; color: var(--muted); max-width: 700px; margin: 0 auto 30px; }

.phone-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 26px; }
.phone-pill { display: inline-flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 10px 26px 10px 10px; border-radius: 999px; font-weight: 800; font-size: 19px; text-align: left; line-height: 1.2; transition: transform .2s, background .2s; }
.phone-pill:hover { transform: translateY(-2px); background: var(--navy-deep); }
.phone-pill small { display: block; font-size: 11px; font-weight: 800; opacity: .75; letter-spacing: .1em; text-transform: uppercase; }
.phone-pill .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; flex: none; }

.pay-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-bottom: 52px; }
.pay-row .pay-label { font-weight: 800; color: var(--muted); font-size: 14px; margin-right: 4px; }
.chip { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 800; font-size: 14px; color: var(--navy); }

/* Collage: one wide photo on top, two photos below */
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1040px; margin: 0 auto; }
.collage img { width: 100%; object-fit: cover; border-radius: 30px; box-shadow: 0 20px 44px rgba(8, 47, 80, .18); }
.collage img:nth-child(1) { grid-column: 1 / -1; height: 360px; object-position: 50% 30%; }
.collage img:nth-child(2), .collage img:nth-child(3) { height: 240px; object-position: 50% 25%; }

/* ---------- Slideshow hero (Serenity-style) ---------- */
.v-hero { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--navy-deep); color: #fff; }
.v-slides, .v-slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.v-slide { object-fit: cover; object-position: 50% 30%; opacity: 0; transform: scale(1.04); transition: opacity 1.6s ease, transform 7s ease-out; }
.v-slide.is-on { opacity: 1; transform: scale(1.12); }
.v-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 31, 54, .78) 0%, rgba(11, 94, 110, .72) 55%, rgba(24, 140, 130, .62) 100%); }
.v-content { position: relative; z-index: 1; padding: 90px 0; }
.v-eyebrow { display: inline-block; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(4px); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; }
.v-hero h1 { font-family: var(--serif); font-weight: 700; font-size: 68px; line-height: 1.05; max-width: 900px; margin: 0 auto 20px; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.v-hero h1 em { font-style: italic; color: var(--lime); }
.v-lead { font-size: 20px; max-width: 680px; margin: 0 auto 30px; color: #eaf3f6; }
.v-hero .phone-pill { background: rgba(255, 255, 255, .96); color: var(--navy); }
.v-hero .phone-pill:hover { background: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--lime); color: var(--navy-deep); }
.pay-strip { background: #fff; padding: 26px 0 8px; }
.pay-strip .pay-row { margin-bottom: 0; }
@media (max-width: 900px) { .v-hero { min-height: 560px; } .v-hero h1 { font-size: 50px; } .v-content { padding: 64px 0; } }
@media (max-width: 620px) { .v-eyebrow { font-size: 11px; letter-spacing: .08em; } .v-hero h1 { font-size: 38px; } .v-lead { font-size: 17px; } .v-hero .phone-pill { width: 100%; justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { .v-slide, .v-slide.is-on { transition: none; transform: none; } }

/* ---------- Kelly way ---------- */
.statement { max-width: 880px; margin: 0 auto; text-align: center; }
.statement h2 { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 46px; line-height: 1.15; margin-bottom: 16px; }
.statement p { color: var(--muted); font-size: 19px; margin-bottom: 28px; }
.statement .hero-buttons { justify-content: center; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.pillars-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 60px; }
.pillars-row .card h3 { margin-top: 2px; }

/* ---------- Locations ---------- */
.office .office-body { padding: 34px; }
.office-top { height: 8px; background: linear-gradient(90deg, var(--red), var(--lime)); }

/* ---------- Recruitment ---------- */
.recruit { background: var(--red); color: #fff; border-radius: 32px; padding: 60px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; box-shadow: 0 24px 50px rgba(223, 35, 61, .25); }
.recruit .kicker { color: #fff; opacity: .9; }
.recruit h2 { font-family: var(--serif); font-size: 44px; line-height: 1.12; margin-bottom: 14px; }
.recruit p { color: #ffe9ec; font-size: 18px; }
.recruit-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 30px; }
.recruit-card h3 { font-family: var(--serif); color: var(--navy); font-size: 24px; margin-bottom: 16px; }

/* ---------- Contact form ---------- */
.reveal-group { display: none; margin-bottom: 18px; padding: 18px 20px; background: var(--soft); border-radius: 14px; }
.reveal-group.show { display: block; }
.reveal-group .label { margin-bottom: 10px; }
.check-opt { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: 15px; }
.check-opt input[type="checkbox"] { width: 20px; min-height: 20px; height: 20px; padding: 0; accent-color: var(--red); flex: none; }
.consent { align-items: flex-start; font-size: 14px; color: var(--muted); font-weight: 600; margin: 4px 0 18px; }
.consent input[type="checkbox"] { margin-top: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pillars-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .h-hero { padding: 56px 0 56px; }
  .h-hero h1 { font-size: 52px; }
  .recruit { grid-template-columns: 1fr; padding: 40px 28px; gap: 28px; }
  .statement h2 { font-size: 38px; }
}
@media (max-width: 700px) {
  .collage { gap: 14px; }
  .collage img:nth-child(1) { height: 220px; }
  .collage img:nth-child(2), .collage img:nth-child(3) { height: 160px; }
  .collage img:nth-child(2) { object-position: 72% 25%; }
}
@media (max-width: 620px) {
  .h-hero h1 { font-size: 40px; }
  .h-hero .lead { font-size: 17px; }
  .phone-pill { font-size: 17px; width: 100%; justify-content: flex-start; }
  .statement h2, .recruit h2 { font-size: 32px; }
  .statement p { font-size: 17px; }
  .pillars-row { grid-template-columns: 1fr; }
}

/* Balanced headline wrapping (no single-word last lines) */
.h-hero h1, .statement h2, .recruit h2, .cta-band h2, h2.title { text-wrap: balance; }

/* Careers photo inside the red recruitment band */
.recruit-photo { width: 100%; height: 250px; object-fit: cover; object-position: 50% 20%; border-radius: 22px; margin-top: 26px; box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }
@media (max-width: 620px) { .recruit-photo { height: 190px; } }
