/* ============================================================
   Phase 68 — Hero "Glass See-Through" Modern Redesign
   ------------------------------------------------------------
   Restructures the home hero (.sk-hero39) into a layered
   glassmorphism layout: a rich teal/gold gradient canvas with
   floating light orbs, and two frosted glass panels (copy +
   featured image) floating on top.

   All rules are SCOPED to .sk-hero39 so shared classes
   (.sk-badge39, .sk-btn39) used elsewhere are untouched.
   Uses !important where needed to win the existing cascade
   (phase50 forces .sk-btn39 radius/font-size with !important).

   Readability first: headline/body keep pure-white text with
   soft text-shadows, and a no-backdrop-filter fallback keeps
   contrast high on older browsers.
   ============================================================ */

/* ---------- Section canvas: layered gradient + depth ---------- */
.sk-hero39{
  position:relative!important;
  isolation:isolate;                     /* contain orb stacking + shadows */
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr)!important;
  gap:clamp(20px,3vw,34px)!important;
  align-items:center!important;
  margin:22px clamp(14px,3vw,34px)!important;
  padding:clamp(26px,4.6vw,54px)!important;
  border-radius:36px!important;
  overflow:hidden!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:
    radial-gradient(120% 130% at 8% 12%, rgba(255,255,255,.20), transparent 46%),
    radial-gradient(circle at 86% 10%, rgba(199,146,43,.40), transparent 30%),
    radial-gradient(circle at 70% 100%, rgba(12,127,132,.55), transparent 42%),
    linear-gradient(135deg,#06484b 0%,#075c63 46%,#0c7f84 100%)!important;
  box-shadow:0 34px 80px rgba(6,72,75,.34), inset 0 1px 0 rgba(255,255,255,.18)!important;
}

/* ---------- Floating light orbs (decorative, behind glass) ---------- */
.sk-hero39:before,
.sk-hero39:after{
  content:"";
  position:absolute;
  border-radius:50%;
  z-index:0;
  pointer-events:none;
  filter:blur(4px);
}
.sk-hero39:before{
  width:340px;height:340px;
  top:-130px;right:-70px;
  inset:auto;                             /* override phase39 inset shorthand */
  background:radial-gradient(circle at 32% 30%, rgba(255,255,255,.34), rgba(255,255,255,.04) 68%);
  animation:skHeroOrbA 13s ease-in-out infinite;
}
.sk-hero39:after{
  width:280px;height:280px;
  bottom:-120px;left:-60px;
  background:radial-gradient(circle at 40% 40%, rgba(199,146,43,.38), rgba(199,146,43,.04) 70%);
  animation:skHeroOrbB 16s ease-in-out infinite;
}

/* ---------- Glass panel #1: the copy ---------- */
.sk-hero39 > div:first-child{
  position:relative;
  z-index:1;
  background:linear-gradient(158deg, rgba(255,255,255,.20), rgba(255,255,255,.06))!important;
  -webkit-backdrop-filter:blur(20px) saturate(150%);
  backdrop-filter:blur(20px) saturate(150%);
  border:1px solid rgba(255,255,255,.30)!important;
  border-radius:28px!important;
  padding:clamp(24px,3.4vw,38px)!important;
  box-shadow:0 22px 56px rgba(3,40,42,.30), inset 0 1px 0 rgba(255,255,255,.42)!important;
}

/* ---------- Headline & body: maximum legibility ---------- */
.sk-hero39 h1{
  color:#ffffff!important;
  font-weight:850!important;
  letter-spacing:-.02em!important;
  line-height:1.03!important;
  font-size:clamp(34px,5.6vw,66px)!important;
  margin:0 0 14px!important;
  text-shadow:0 2px 22px rgba(0,0,0,.30), 0 1px 2px rgba(0,0,0,.22)!important;
}
.sk-hero39 p{
  color:rgba(255,255,255,.96)!important;
  font-weight:500!important;
  line-height:1.62!important;
  font-size:clamp(15px,1.9vw,19px)!important;
  max-width:60ch;
  margin:0!important;
  text-shadow:0 1px 14px rgba(0,0,0,.26)!important;
}

/* ---------- Frosted badge (scoped to hero) ---------- */
.sk-hero39 .sk-badge39{
  display:inline-flex!important;
  align-items:center;gap:8px;
  background:rgba(255,255,255,.16)!important;
  -webkit-backdrop-filter:blur(12px) saturate(140%);
  backdrop-filter:blur(12px) saturate(140%);
  border:1px solid rgba(255,255,255,.42)!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:9px 16px!important;
  font-weight:800!important;
  letter-spacing:.02em;
  width:max-content;
  box-shadow:0 8px 20px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.35)!important;
  text-shadow:0 1px 8px rgba(0,0,0,.22)!important;
}

/* ---------- Actions ---------- */
.sk-hero39 .sk-hero-actions{
  display:flex!important;gap:14px;flex-wrap:wrap;margin-top:26px!important;
}

/* Primary CTA — bright gold glass with high-contrast ink label */
.sk-hero39 .sk-hero-actions .sk-btn39{
  position:relative;
  border-radius:999px!important;                 /* beat phase50 13px !important */
  font-size:1rem!important;                      /* beat phase50 .92rem !important */
  font-weight:850!important;
  padding:15px 28px!important;
  text-decoration:none!important;
  display:inline-flex!important;align-items:center;justify-content:center;gap:9px;
  border:1px solid rgba(255,255,255,.34)!important;
  background:linear-gradient(135deg,#f4cd6b,#d9a63a 52%,#c7922b)!important;
  color:#231a06!important;
  text-shadow:0 1px 0 rgba(255,255,255,.35)!important;
  box-shadow:0 16px 34px rgba(199,146,43,.42), inset 0 1px 0 rgba(255,255,255,.6)!important;
  cursor:pointer;
  transition:transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease, filter .22s ease;
}
/* Secondary CTA — frosted glass pill */
.sk-hero39 .sk-hero-actions .sk-btn39.secondary{
  background:rgba(255,255,255,.14)!important;
  -webkit-backdrop-filter:blur(14px) saturate(150%);
  backdrop-filter:blur(14px) saturate(150%);
  color:#fff!important;
  border:1px solid rgba(255,255,255,.48)!important;
  text-shadow:0 1px 10px rgba(0,0,0,.24)!important;
  box-shadow:0 12px 30px rgba(3,40,42,.26), inset 0 1px 0 rgba(255,255,255,.4)!important;
}
.sk-hero39 .sk-hero-actions .sk-btn39:hover{
  transform:translateY(-3px);
  filter:brightness(1.04);
}
.sk-hero39 .sk-hero-actions .sk-btn39:hover{
  box-shadow:0 22px 44px rgba(199,146,43,.5), inset 0 1px 0 rgba(255,255,255,.6)!important;
}
.sk-hero39 .sk-hero-actions .sk-btn39.secondary:hover{
  background:rgba(255,255,255,.22)!important;
  box-shadow:0 18px 40px rgba(3,40,42,.32), inset 0 1px 0 rgba(255,255,255,.5)!important;
}
.sk-hero39 .sk-hero-actions .sk-btn39:active{transform:translateY(-1px) scale(.99);}
.sk-hero39 .sk-hero-actions .sk-btn39:focus-visible{
  outline:3px solid rgba(255,255,255,.85);outline-offset:3px;
}

/* ---------- Glass panel #2: featured image card ---------- */
.sk-hero39 .sk-hero-card{
  position:relative;
  z-index:1;
  background:linear-gradient(158deg, rgba(255,255,255,.24), rgba(255,255,255,.07))!important;
  -webkit-backdrop-filter:blur(18px) saturate(150%);
  backdrop-filter:blur(18px) saturate(150%);
  border:1px solid rgba(255,255,255,.36)!important;
  border-radius:30px!important;
  padding:14px!important;
  box-shadow:0 28px 66px rgba(3,40,42,.38), inset 0 1px 0 rgba(255,255,255,.45)!important;
  animation:skHeroCardFloat 7s ease-in-out infinite;
}
.sk-hero39 .sk-hero-card img{
  width:100%!important;
  height:clamp(250px,31vw,350px)!important;
  object-fit:cover!important;
  border-radius:22px!important;
  display:block;
  box-shadow:0 16px 38px rgba(0,0,0,.30)!important;
}
.sk-hero39 .sk-hero-fallback{
  min-height:clamp(250px,31vw,350px);
  display:grid;place-items:center;text-align:center;
  font-size:82px;
  border-radius:22px;
  background:radial-gradient(circle at 50% 40%, rgba(255,255,255,.20), rgba(255,255,255,.04));
}

/* ---------- Animations ---------- */
@keyframes skHeroOrbA{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(-20px,18px,0) scale(1.07)}
}
@keyframes skHeroOrbB{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(18px,-16px,0) scale(1.09)}
}
@keyframes skHeroCardFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}

/* ---------- Fallback: no backdrop-filter support → keep contrast ---------- */
@supports not ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))){
  .sk-hero39 > div:first-child{
    background:linear-gradient(158deg, rgba(6,72,75,.62), rgba(7,92,99,.50))!important;
  }
  .sk-hero39 .sk-hero-card{background:rgba(6,72,75,.50)!important;}
  .sk-hero39 .sk-badge39{background:rgba(6,72,75,.55)!important;}
  .sk-hero39 .sk-hero-actions .sk-btn39.secondary{background:rgba(6,72,75,.55)!important;}
}

/* ---------- Responsive ---------- */
@media(max-width:900px){
  .sk-hero39{grid-template-columns:1fr!important;}
  .sk-hero39 > div:first-child{order:1;}
  .sk-hero39 .sk-hero-card{order:2;}
}
@media(max-width:820px){
  .sk-hero39{padding:22px!important;border-radius:28px!important;margin:14px!important;}
  .sk-hero39 > div:first-child{padding:24px 20px!important;border-radius:24px!important;}
  .sk-hero39 .sk-hero-card{padding:12px!important;border-radius:24px!important;}
  .sk-hero39 .sk-hero-card img,
  .sk-hero39 .sk-hero-fallback{height:230px!important;min-height:230px!important;}
  .sk-hero39 h1{font-size:clamp(30px,8vw,42px)!important;}
  .sk-hero39:before{width:240px;height:240px;top:-100px;right:-60px;}
  .sk-hero39:after{width:200px;height:200px;bottom:-90px;left:-50px;}
}
@media(max-width:520px){
  .sk-hero39{margin:12px!important;padding:16px!important;}
  .sk-hero39 > div:first-child{padding:20px 16px!important;}
  .sk-hero39 .sk-hero-actions{gap:10px!important;}
  .sk-hero39 .sk-hero-actions .sk-btn39{width:100%;padding:14px 18px!important;}
  .sk-hero39 .sk-hero-card img,
  .sk-hero39 .sk-hero-fallback{height:200px!important;min-height:200px!important;}
}

/* ---------- Reduced motion ---------- */
@media(prefers-reduced-motion:reduce){
  .sk-hero39:before,
  .sk-hero39:after,
  .sk-hero39 .sk-hero-card{animation:none!important;}
  .sk-hero39 .sk-hero-actions .sk-btn39{transition:none!important;}
}

/* ---------- Print: hide decorative orbs, keep it clean ---------- */
@media print{
  .sk-hero39:before,.sk-hero39:after{display:none!important;}
  .sk-hero39{box-shadow:none!important;}
}
