/* ============================================================
   Pruners International — Home Page (scoped: .pi-home)
   ============================================================ */

/* ------------------------------------------------------------
   THEME A — Slate + Muted Teal (ARCHIVED)
   ------------------------------------------------------------ */
/* .pi-home {
  --pi-navy: #1a2332;
  --pi-navy-deep: #141c26;
  --pi-blue: #0f5c56;
  --pi-blue-deep: #0a4743;
  --pi-gold: #0f5c56;
  --pi-gold-soft: #c5ddd9;
  --pi-ink: #1a2332;
  --pi-muted: #6a7380;
  --pi-line: rgba(26, 35, 50, 0.1);
  --pi-soft: #f3f1ee;
  --pi-white: #ffffff;
  --pi-shadow: 0 12px 36px rgba(26, 35, 50, 0.08);
  --pi-shadow-lg: 0 20px 48px rgba(26, 35, 50, 0.12);
  --pi-radius: 8px;
  --pi-font: "Manrope", system-ui, sans-serif;
  --pi-display: "Outfit", system-ui, sans-serif;
  font-family: var(--pi-font);
  color: var(--pi-ink);
  overflow-x: hidden;
  background: var(--pi-white);
} */

/* ------------------------------------------------------------
   THEME B — Deep Corporate Blue (ARCHIVED)
   ------------------------------------------------------------ */
/* .pi-home {
  --pi-navy: #0e1c2f;
  --pi-navy-deep: #091421;
  --pi-blue: #1a5f9e;
  --pi-blue-deep: #134a7c;
  --pi-gold: #1a5f9e;
  --pi-gold-soft: #9dbddc;
  --pi-ink: #1a2433;
  --pi-muted: #657080;
  --pi-line: rgba(14, 28, 47, 0.1);
  --pi-soft: #f2f5f8;
  --pi-white: #ffffff;
  --pi-shadow: 0 12px 36px rgba(14, 28, 47, 0.08);
  --pi-shadow-lg: 0 20px 48px rgba(14, 28, 47, 0.12);
  --pi-radius: 8px;
  --pi-font: "Manrope", system-ui, sans-serif;
  --pi-display: "Outfit", system-ui, sans-serif;
  font-family: var(--pi-font);
  color: var(--pi-ink);
  overflow-x: hidden;
  background: var(--pi-white);
} */

/* ------------------------------------------------------------
   THEME D — Brand-Matched (ACTIVE)
   Deep forest-green/black base + metallic gold, taken directly
   from the Pruners logo (gradient gold wordmark + dark green
   tagline plate), instead of a generic navy-corporate palette.
   ------------------------------------------------------------ */
.pi-home {
  --pi-navy: #0c1f16;
  --pi-navy-deep: #060f0a;
  --pi-blue: #d3a125;
  --pi-blue-deep: #a97a0f;
  --pi-gold: #d3a125;
  --pi-gold-deep: #a97a0f;
  --pi-gold-soft: #f0cf7a;
  --pi-gold-gradient: linear-gradient(135deg, #f7d55c 0%, #d9a521 45%, #8f5f0d 100%);
  --pi-ink: #10231a;
  --pi-muted: #6b7570;
  --pi-line: rgba(12, 31, 22, 0.1);
  --pi-soft: #f6f5f0;
  --pi-white: #ffffff;
  --pi-on-accent: #0c1f16;
  --pi-shadow: 0 12px 36px rgba(12, 31, 22, 0.1);
  --pi-shadow-lg: 0 20px 48px rgba(12, 31, 22, 0.14);
  --pi-radius: 8px;
  --pi-font: "Manrope", system-ui, sans-serif;
  --pi-display: "Outfit", system-ui, sans-serif;
  font-family: var(--pi-font);
  color: var(--pi-ink);
  overflow-x: hidden;
  background: var(--pi-white);
}

.pi-home *,
.pi-home *::before,
.pi-home *::after {
  box-sizing: border-box;
}

/* Reveal base — scoped to html.pi-js so content stays visible if JS never runs */
html.pi-js .pi-home [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.pi-js .pi-home [data-reveal="fade-left"] {
  transform: translateX(32px);
}

html.pi-js .pi-home [data-reveal="fade-right"] {
  transform: translateX(-32px);
}

html.pi-js .pi-home [data-reveal="scale"] {
  transform: scale(0.94);
}

html.pi-js .pi-home [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Shared typography */
.pi-home .pi-home__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-family: var(--pi-display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pi-gold-soft);
}

.pi-home .pi-home__eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 30px;
  height: 21px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23f7d55c'/%3E%3Cstop offset='45%25' stop-color='%23d9a521'/%3E%3Cstop offset='100%25' stop-color='%238f5f0d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='0,2 34,2 30,7 0,7' fill='url(%23g)'/%3E%3Cpolygon points='7,10 34,10 29,15 7,15' fill='url(%23g)'/%3E%3Cpolygon points='15,18 34,18 28,23 15,23' fill='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.pi-home .pi-home__eyebrow--dark {
  color: var(--pi-blue);
}

.pi-home .pi-home__eyebrow--on-dark {
  color: var(--pi-gold-soft);
}

.pi-home .pi-home__section-title {
  margin: 0 0 1rem;
  font-family: var(--pi-display);
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 720;
  line-height: 1.18;
  color: var(--pi-navy);
  letter-spacing: -0.02em;
}

.pi-home .pi-home__section-title--light {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 55%, var(--pi-gold-soft) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pi-home .pi-home__section-sub {
  margin: 0 auto;
  max-width: 560px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--pi-muted);
}

.pi-home .pi-home__section-sub--light {
  color: rgba(255, 255, 255, 0.7);
}

.pi-home .pi-home__section-head {
  margin-bottom: 3rem;
}

.pi-home .pi-home__lead {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--pi-ink);
}

.pi-home .pi-home__text {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--pi-muted);
}

/* Buttons */
.pi-home .pi-home__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 3px;
  border: none;
  font-family: var(--pi-display);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pi-home .pi-home__btn--primary {
  background: var(--pi-gold-gradient);
  color: var(--pi-on-accent);
  box-shadow: 0 8px 20px rgba(143, 95, 13, 0.28);
}

.pi-home .pi-home__btn--primary:hover {
  color: var(--pi-on-accent);
  background: var(--pi-gold-deep);
  box-shadow: 0 10px 24px rgba(143, 95, 13, 0.36);
}

.pi-home .pi-home__btn--ghost {
  background: transparent;
  color: var(--pi-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.pi-home .pi-home__btn--ghost:hover {
  color: var(--pi-white);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--pi-gold);
}

.pi-home .pi-home__btn--gold {
  background: var(--pi-gold-gradient);
  color: var(--pi-on-accent);
  box-shadow: 0 8px 20px rgba(143, 95, 13, 0.28);
}

.pi-home .pi-home__btn--gold:hover {
  color: var(--pi-on-accent);
  background: var(--pi-gold-deep);
  box-shadow: 0 10px 24px rgba(143, 95, 13, 0.36);
}

.pi-home .pi-home__btn--block {
  width: 100%;
}

.pi-home .pi-home__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--pi-blue);
  text-decoration: none;
  font-family: var(--pi-display);
  font-size: 0.9rem;
  font-weight: 620;
  transition: gap 0.25s ease, color 0.25s ease;
}

.pi-home .pi-home__link:hover {
  gap: 0.65rem;
  color: var(--pi-blue-deep);
}

.pi-home .pi-home__link--gold {
  color: var(--pi-gold);
}

.pi-home .pi-home__link--gold:hover {
  color: var(--pi-gold-soft);
}

/* Forms */
.pi-home .pi-home__field {
  margin-bottom: 0.85rem;
}

.pi-home .pi-home__field input,
.pi-home .pi-home__field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--pi-white);
  font-family: var(--pi-font);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.pi-home .pi-home__field input::placeholder,
.pi-home .pi-home__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.pi-home .pi-home__field input:focus,
.pi-home .pi-home__field textarea:focus {
  border-color: rgba(201, 162, 74, 0.7);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.15);
}

.pi-home .pi-home__field input.is-invalid,
.pi-home .pi-home__field textarea.is-invalid {
  border-color: #ff6b6b;
}

.pi-home .pi-recaptcha {
  display: block;
  margin: 0.35rem 0 0;
  padding-bottom: 1.5rem;
  overflow: visible;
}

.pi-home .pi-home__hero-card .pi-recaptcha {
  height: 74px;
  margin-bottom: 1.25rem;
  padding-bottom: 0;
  overflow: hidden;
}

.pi-home .pi-home__hero-card .pi-recaptcha .g-recaptcha {
  transform: scale(0.85);
  transform-origin: left top;
}

.pi-home .pi-home__enquiry .pi-recaptcha + .pi-home__btn,
.pi-home .pi-home__enquiry .pi-recaptcha + button {
  margin-top: 0.35rem;
}

.pi-home .pi-home__cta-form-wrap .pi-recaptcha {
  padding-bottom: 1.5rem;
  margin-bottom: 0;
}

.pi-home .pi-home__cta-form-wrap .pi-home__field input,
.pi-home .pi-home__cta-form-wrap .pi-home__field textarea {
  background: var(--pi-soft);
  border: 1px solid var(--pi-line);
  color: var(--pi-ink);
}

.pi-home .pi-home__cta-form-wrap .pi-home__field input::placeholder,
.pi-home .pi-home__cta-form-wrap .pi-home__field textarea::placeholder {
  color: #8a97a8;
}

.pi-home .pi-home__cta-form-wrap .pi-home__field input:focus,
.pi-home .pi-home__cta-form-wrap .pi-home__field textarea:focus {
  border-color: var(--pi-blue);
  background: var(--pi-white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pi-blue) 18%, transparent);
}

/* ========== HERO ========== */
.pi-home .pi-home__hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 5.5rem 0 4.5rem;
  color: var(--pi-white);
  overflow: hidden;
}

.pi-home .min-vh-hero {
  min-height: 72vh;
}

.pi-home .pi-home__hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pi-home .pi-home__hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(209, 154, 1, 0.16), transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(209, 154, 1, 0.12), transparent 46%),
    linear-gradient(135deg, var(--pi-navy) 0%, var(--pi-navy-deep) 60%, #0a0e15 100%);
}

.pi-home .pi-home__hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 40%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 40%, #000 40%, transparent 85%);
}

.pi-home .pi-home__hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: pi-home-float 8s ease-in-out infinite;
}

.pi-home .pi-home__hero-orb--1 {
  width: 180px;
  height: 180px;
  top: 18%;
  right: 12%;
  background: rgba(37, 117, 252, 0.18);
}

.pi-home .pi-home__hero-orb--2 {
  width: 120px;
  height: 120px;
  bottom: 16%;
  left: 8%;
  background: rgba(201, 162, 74, 0.16);
  animation-delay: -3s;
}

@keyframes pi-home-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

.pi-home .pi-home__hero-content {
  position: relative;
  z-index: 1;
  padding: 1rem 0;
}

.pi-home .pi-home__hero-title {
  margin: 0 0 1.15rem;
  font-family: var(--pi-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--pi-white);
}

.pi-home .pi-home__hero-title span {
  background: var(--pi-gold-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pi-home .pi-home__hero-text {
  margin: 0 0 1.35rem;
  max-width: 540px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.pi-home .pi-home__hero-destinations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.pi-home .pi-home__hero-destinations a {
  padding: 0.28rem 0.65rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pi-home .pi-home__hero-destinations a:hover {
  color: var(--pi-navy);
  background: var(--pi-gold);
  border-color: var(--pi-gold);
}

.pi-home .pi-home__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.pi-home .pi-home__hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.pi-home .pi-home__hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pi-home .pi-home__hero-trust-item strong {
  font-family: var(--pi-display);
  font-size: 1.4rem;
  font-weight: 740;
  color: var(--pi-white);
  line-height: 1;
}

.pi-home .pi-home__hero-trust-item span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.pi-home .pi-home__hero-card {
  position: relative;
  z-index: 1;
}

.pi-home .pi-home__hero-card-glass {
  padding: 1.5rem;
  border-radius: 4px;
  background: rgba(20, 28, 38, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.pi-home .pi-home__hero-card-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pi-gold-soft);
  font-weight: 650;
}

.pi-home .pi-home__hero-card-title {
  margin: 0 0 1.15rem;
  font-family: var(--pi-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--pi-white);
}

/* ========== ABOUT ========== */
.pi-home .pi-home__about {
  padding: 6.5rem 0;
  background: var(--pi-white);
}

.pi-home .pi-home__about-media {
  position: relative;
  display: flex;
  min-height: 460px;
}

.pi-home .pi-home__about-panel {
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.1rem;
  padding: 2.5rem 2rem;
  border-radius: var(--pi-radius);
  background: linear-gradient(155deg, var(--pi-navy) 0%, var(--pi-navy-deep) 100%);
  box-shadow: var(--pi-shadow-lg);
  position: relative;
  overflow: hidden;
}

.pi-home .pi-home__about-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 85%);
}

.pi-home .pi-home__about-panel-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pi-home .pi-home__about-panel-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--pi-gold);
  color: var(--pi-on-accent);
  font-size: 1.1rem;
}

.pi-home .pi-home__about-panel-row strong {
  display: block;
  font-family: var(--pi-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--pi-white);
}

.pi-home .pi-home__about-panel-row span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

.pi-home .pi-home__about-badge {
  position: absolute;
  left: 8%;
  bottom: 24px;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--pi-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  max-width: 150px;
}

.pi-home .pi-home__about-badge strong {
  font-family: var(--pi-display);
  font-size: 1.6rem;
  color: var(--pi-blue);
  line-height: 1;
}

.pi-home .pi-home__about-badge span {
  font-size: 0.78rem;
  color: var(--pi-muted);
  line-height: 1.35;
}

.pi-home .pi-home__feature-tile {
  display: flex;
  gap: 0.85rem;
  padding: 1.1rem;
  border-radius: 16px;
  background: var(--pi-soft);
  border: 1px solid var(--pi-line);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pi-home .pi-home__feature-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--pi-shadow);
}

.pi-home .pi-home__feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pi-gold);
  color: var(--pi-on-accent);
}

.pi-home .pi-home__feature-tile h3 {
  margin: 0 0 0.25rem;
  font-family: var(--pi-display);
  font-size: 1rem;
  font-weight: 680;
  color: var(--pi-navy);
}

.pi-home .pi-home__feature-tile p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--pi-muted);
}

/* ========== COUNTRIES ========== */
.pi-home .pi-home__countries {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--pi-soft) 0%, var(--pi-white) 100%);
}

.pi-home .pi-home__country-card {
  height: 100%;
  border-radius: var(--pi-radius);
  overflow: hidden;
  background: var(--pi-white);
  box-shadow: 0 10px 36px rgba(11, 28, 51, 0.07);
  border: 1px solid var(--pi-line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pi-home .pi-home__country-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--pi-shadow-lg);
}

.pi-home .pi-home__country-media {
  height: 180px;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}

.pi-home .pi-home__country-card:hover .pi-home__country-media {
  transform: scale(1.06);
}

.pi-home .pi-home__country-card--canada .pi-home__country-media {
  background-image: linear-gradient(rgba(11, 28, 51, 0.2), rgba(11, 28, 51, 0.35)),
    url("https://images.unsplash.com/photo-1517935706615-2717063c2225?auto=format&fit=crop&w=800&q=80");
}

.pi-home .pi-home__country-card--usa .pi-home__country-media {
  background-image: linear-gradient(rgba(11, 28, 51, 0.2), rgba(11, 28, 51, 0.35)),
    url("https://images.unsplash.com/photo-1485738422979-f5c462d49f74?auto=format&fit=crop&w=800&q=80");
}

.pi-home .pi-home__country-card--uk .pi-home__country-media {
  background-image: linear-gradient(rgba(11, 28, 51, 0.2), rgba(11, 28, 51, 0.35)),
    url("https://images.unsplash.com/photo-1529655683826-aba9b3e77383?auto=format&fit=crop&w=800&q=80");
}

.pi-home .pi-home__country-card--australia .pi-home__country-media {
  background-image: linear-gradient(rgba(11, 28, 51, 0.2), rgba(11, 28, 51, 0.35)),
    url("https://images.unsplash.com/photo-1506973035872-a4ec16b8e8d9?auto=format&fit=crop&w=800&q=80");
}

.pi-home .pi-home__country-card--nz .pi-home__country-media {
  background-image: linear-gradient(rgba(11, 28, 51, 0.2), rgba(11, 28, 51, 0.35)),
    url("https://images.unsplash.com/photo-1507699622108-4be3abd695ad?auto=format&fit=crop&w=800&q=80");
}

.pi-home .pi-home__country-card--latvia .pi-home__country-media {
  background-image: linear-gradient(rgba(11, 28, 51, 0.2), rgba(11, 28, 51, 0.35)),
    url("https://images.unsplash.com/photo-1609517760017-9b76ac28f0e9?auto=format&fit=crop&w=800&q=80");
}

.pi-home .pi-home__country-card--sweden .pi-home__country-media {
  background-image: linear-gradient(rgba(11, 28, 51, 0.2), rgba(11, 28, 51, 0.35)),
    url("https://images.unsplash.com/photo-1509356843151-3e7d96241e11?auto=format&fit=crop&w=800&q=80");
}

.pi-home .pi-home__country-card--denmark .pi-home__country-media {
  background-image: linear-gradient(rgba(11, 28, 51, 0.2), rgba(11, 28, 51, 0.35)),
    url("https://images.unsplash.com/photo-1513622470522-26c3c8a854bc?auto=format&fit=crop&w=800&q=80");
}

.pi-home .pi-home__country-card--malta .pi-home__country-media {
  background-image: linear-gradient(rgba(11, 28, 51, 0.2), rgba(11, 28, 51, 0.35)),
    url("https://images.unsplash.com/photo-1772567345928-702b3bb02134?auto=format&fit=crop&w=800&q=80");
}

.pi-home .pi-home__country-body {
  padding: 1.35rem 1.4rem 1.5rem;
  overflow: hidden;
}

.pi-home .pi-home__country-flag {
  font-size: 1.4rem;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.pi-home .pi-home__country-name {
  margin: 0 0 0.5rem;
  font-family: var(--pi-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pi-navy);
}

.pi-home .pi-home__country-text {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--pi-muted);
}

/* ========== SERVICES ========== */
.pi-home .pi-home__services {
  padding: 6rem 0;
  background: var(--pi-navy-deep);
}

.pi-home .pi-home__service-card {
  height: 100%;
  padding: 1.75rem;
  border-radius: var(--pi-radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.pi-home .pi-home__service-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: color-mix(in srgb, var(--pi-blue) 55%, transparent);
}

.pi-home .pi-home__service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.15rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--pi-on-accent);
  background: var(--pi-gold);
  border: 1px solid var(--pi-gold);
}

.pi-home .pi-home__service-title {
  margin: 0 0 0.65rem;
  font-family: var(--pi-display);
  font-size: 1.2rem;
  font-weight: 680;
  color: var(--pi-white);
}

.pi-home .pi-home__service-text {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

/* ========== COACHING ========== */
.pi-home .pi-home__coaching {
  padding: 6rem 0;
  background: var(--pi-white);
}

.pi-home .pi-home__coach-card {
  height: 100%;
  padding: 1.6rem;
  border-radius: 18px;
  background: var(--pi-white);
  border: 1px solid var(--pi-line);
  box-shadow: 0 8px 28px rgba(11, 28, 51, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pi-home .pi-home__coach-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pi-shadow);
}

.pi-home .pi-home__coach-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--pi-gold) 16%, transparent);
  color: var(--pi-gold);
  font-size: 1.2rem;
  border: 1px solid color-mix(in srgb, var(--pi-gold) 35%, transparent);
}

.pi-home .pi-home__coach-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--pi-display);
  font-size: 1.1rem;
  font-weight: 680;
  color: var(--pi-navy);
}

.pi-home .pi-home__coach-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--pi-muted);
}

/* ========== WHY ========== */
.pi-home .pi-home__why {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--pi-soft), #eef3fa);
}

.pi-home .pi-home__why-card {
  height: 100%;
  padding: 1.5rem 1.4rem;
  text-align: left;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(11, 28, 51, 0.05);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pi-home .pi-home__why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pi-shadow);
}

.pi-home .pi-home__why-card i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--pi-on-accent);
  background: var(--pi-gold);
  border-radius: 4px;
  margin-bottom: 0.9rem;
}

.pi-home .pi-home__why-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--pi-display);
  font-size: 0.98rem;
  font-weight: 680;
  color: var(--pi-navy);
}

.pi-home .pi-home__why-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--pi-muted);
}

/* ========== STATS ========== */
.pi-home .pi-home__stats {
  padding: 0 0 2rem;
  margin-top: -1rem;
  background: transparent;
}

.pi-home .pi-home__stats-panel {
  padding: 2.25rem 1.5rem;
  border-radius: 6px;
  background: var(--pi-navy);
  box-shadow: none;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--pi-blue);
}

.pi-home .pi-home__stats-panel::before {
  display: none;
}

.pi-home .pi-home__stat {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0.75rem 0.5rem;
}

.pi-home .pi-home__stat-value {
  font-family: var(--pi-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 740;
  color: var(--pi-white);
  line-height: 1.1;
}

.pi-home .pi-home__stat-value .pi-home__counter {
  background: var(--pi-gold-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pi-home .pi-home__stat-label {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

/* ========== PROCESS ========== */
.pi-home .pi-home__process {
  padding: 6rem 0;
  background: var(--pi-white);
}

.pi-home .pi-home__step-card {
  height: 100%;
  padding: 1.75rem 1.4rem;
  border-radius: var(--pi-radius);
  background: var(--pi-soft);
  border: 1px solid var(--pi-line);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pi-home .pi-home__step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pi-shadow);
  background: var(--pi-white);
}

.pi-home .pi-home__step-num {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--pi-display);
  font-size: 2rem;
  font-weight: 760;
  line-height: 1;
  background: var(--pi-gold-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pi-home .pi-home__step-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--pi-display);
  font-size: 1.15rem;
  font-weight: 680;
  color: var(--pi-navy);
}

.pi-home .pi-home__step-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--pi-muted);
}

/* ========== TESTIMONIALS ========== */
.pi-home .pi-home__testimonials {
  padding: 6rem 0;
  background: var(--pi-navy-deep);
}

.pi-home .pi-home__testimonial-slider {
  position: relative;
  overflow: hidden;
}

.pi-home .pi-home__testimonial-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s ease;
  will-change: transform;
}

.pi-home .pi-home__testimonial-card {
  flex: 0 0 calc(33.333% - 0.84rem);
  min-width: calc(33.333% - 0.84rem);
  padding: 1.75rem;
  border-radius: var(--pi-radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.pi-home .pi-home__testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.pi-home .pi-home__quote-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 74, 0.18);
  color: var(--pi-gold-soft);
  font-size: 1.2rem;
}

.pi-home .pi-home__testimonial-stars {
  display: flex;
  gap: 0.15rem;
  font-size: 0.72rem;
  color: var(--pi-gold-soft);
}

.pi-home .pi-home__testimonial-text {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  min-height: 120px;
}

.pi-home .pi-home__testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pi-home .pi-home__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pi-gold);
  color: var(--pi-on-accent);
  font-family: var(--pi-display);
  font-weight: 700;
}

.pi-home .pi-home__testimonial-author strong {
  display: block;
  color: var(--pi-white);
  font-family: var(--pi-display);
  font-size: 0.95rem;
}

.pi-home .pi-home__testimonial-author span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.pi-home .pi-home__slider-nav {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.pi-home .pi-home__slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--pi-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.pi-home .pi-home__slider-btn:hover {
  background: var(--pi-gold);
  border-color: var(--pi-gold);
  color: var(--pi-on-accent);
  transform: translateY(-2px);
}

/* ========== UNIVERSITIES ========== */
.pi-home .pi-home__universities {
  padding: 5rem 0;
  background: var(--pi-soft);
}

.pi-home .pi-home__framework-card {
  height: 100%;
  padding: 1.35rem 1rem;
  text-align: center;
  border-radius: 14px;
  background: var(--pi-white);
  border: 1px solid var(--pi-line);
  box-shadow: 0 6px 18px rgba(11, 28, 51, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pi-home .pi-home__framework-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pi-shadow);
}

.pi-home .pi-home__framework-code {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  font-family: var(--pi-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pi-gold);
  background: color-mix(in srgb, var(--pi-gold) 14%, transparent);
}

.pi-home .pi-home__framework-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--pi-display);
  font-size: 0.92rem;
  font-weight: 680;
  color: var(--pi-navy);
}

.pi-home .pi-home__framework-card p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--pi-muted);
}

/* ========== FAQ ========== */
.pi-home .pi-home__faq {
  padding: 6rem 0;
  background: var(--pi-soft);
}

.pi-home .pi-home__faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pi-home .pi-home__faq-item {
  border-radius: 12px;
  background: var(--pi-white);
  border: 1px solid var(--pi-line);
  overflow: hidden;
}

.pi-home .pi-home__faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--pi-display);
  font-size: 0.98rem;
  font-weight: 660;
  color: var(--pi-navy);
  cursor: pointer;
}

.pi-home .pi-home__faq-btn i {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--pi-gold);
  transition: transform 0.25s ease;
}

.pi-home .pi-home__faq-btn:not(.collapsed) i {
  transform: rotate(135deg);
}

.pi-home .pi-home__faq-answer {
  margin: 0;
  padding: 0 1.4rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--pi-muted);
}

/* ========== CTA ========== */
.pi-home .pi-home__cta {
  padding: 2rem 0 6rem;
  background: var(--pi-soft);
}

.pi-home .pi-home__cta-panel {
  padding: 3rem 2rem;
  border-radius: 6px;
  background: var(--pi-navy);
  box-shadow: none;
  overflow: hidden;
  border-top: 3px solid var(--pi-blue);
}

.pi-home .pi-home__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.pi-home .pi-home__cta-form-wrap {
  padding: 1.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--pi-shadow);
}

.pi-home .pi-home__cta-form-title {
  margin: 0 0 1.15rem;
  font-family: var(--pi-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pi-navy);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1199.98px) {
  .pi-home .pi-home__testimonial-card {
    flex: 0 0 calc(50% - 0.65rem);
    min-width: calc(50% - 0.65rem);
  }
}

@media (max-width: 991.98px) {
  .pi-home .pi-home__hero {
    min-height: auto;
    padding: 4.5rem 0 3.5rem;
  }

  .pi-home .min-vh-hero {
    min-height: auto;
  }

  .pi-home .pi-home__about-media {
    flex-direction: column;
    min-height: 0;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .pi-home .pi-home__about-panel {
    min-height: 0;
    height: auto;
    padding: 2rem 1.5rem;
  }

  .pi-home .pi-home__about-badge {
    position: static;
    left: auto;
    bottom: auto;
    max-width: none;
    width: fit-content;
  }

  .pi-home .pi-home__cta-panel {
    padding: 2.25rem 1.35rem;
  }
}

@media (max-width: 767.98px) {

  .pi-home .pi-home__about,
  .pi-home .pi-home__countries,
  .pi-home .pi-home__services,
  .pi-home .pi-home__coaching,
  .pi-home .pi-home__why,
  .pi-home .pi-home__process,
  .pi-home .pi-home__testimonials,
  .pi-home .pi-home__universities,
  .pi-home .pi-home__faq {
    padding: 4.25rem 0;
  }

  .pi-home .pi-home__testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .pi-home .pi-home__testimonial-text {
    min-height: 0;
  }

  .pi-home .pi-home__hero-actions .pi-home__btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .pi-home .pi-home__section-head {
    margin-bottom: 2.25rem;
  }

  .pi-home .pi-home__about-panel {
    padding: 1.75rem 1.25rem;
  }

  .pi-home .pi-home__about-panel-row {
    padding: 0.9rem 1rem;
  }

  .pi-home .pi-home__stats-panel {
    padding: 1.5rem 0.75rem;
  }
}