/* /SNT6/css/home.css
   Bootstrap 4-friendly. Works even if your CSS variables exist or not.
   If you already define brand vars in header-footer.css, these will naturally blend.
*/

:root{
  --snt-ink: #062F42;
  --snt-muted: #6c757d;
  --snt-bg: #f6f8fa;
  --snt-card: #ffffff;
  --snt-border: rgba(0,0,0,.08);
  --snt-shadow: 0 14px 30px rgba(0,0,0,.08);
  --snt-radius: 18px;

  --snt-accent: #2e585a;
  --snt-orange: #E07B00;
  --snt-grey-800: #1f2a33;
   --snt-teal: #00999e;
  --border-white: rgba(0,0,0,.14);
}


/* Global helpers */
.home-section { padding: 35px 0; }
.home-section--alt {
  background: var(--snt-bg);
  padding: 40px 0;
}
.home-section--why {
  background: #fff;
}
.home-img{
  border-radius: var(--snt-radius);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}
.home-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
  margin-bottom: 20px;
}

/* HERO */
.home-hero {
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(0,153,158,.18), transparent 55%),
    linear-gradient(180deg, #061f2a, #062F42);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}
.home-hero .container {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

.home-kicker {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: .6rem;
}

.home-title {
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -.02em;
  font-size: 2.4rem;
}

.home-lead {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  max-width: 42ch;
}

.home-subtrust {
  font-size: .8rem;
  color: rgba(255,255,255, 0.9);
  margin-top: .5rem;
}

.home-proof-item span {
  font-size: .75rem;
  color: rgba(255,255,255,.50);
}


/* hero image */
.home-hero-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 56px rgba(0,0,0,.35);
}

/* hero CTA buttons */
.home-hero .btn-cta {
  background: var(--snt-orange);
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  padding: .6rem 1.4rem;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 8px 20px rgba(224,123,0,.30);
  transition: background .15s ease, transform .15s ease;
}

.home-hero .btn-cta:hover {
  background: #c56d00;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(224,123,0,.35);
}

.home-hero .btn-cta-outline {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.20);
  color: rgba(255,255,255,.90) !important;
  border-radius: 999px;
  padding: .6rem 1.4rem;
  font-weight: 600;
  font-size: .95rem;
  transition: background .15s ease;
}

.home-hero .btn-cta-outline:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.30);
}

/*----------------------------------------
   PROOF STRIP (trust signals, stats, etc.)
   Simple grid layout, no pills (for now)
   ----------------------------------------*/
.portfolio-container{
 margin-top: 0%;
 margin-bottom: 0%;
 padding-bottom: 0%;
 height: 2%;
}

/* Proof strip – simplified (no pills) */
.home-proof{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px 24px;
  margin-top: 14px;
}

.home-proof-item{
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.home-proof-item strong{
  font-size: 1rem;
  font-weight: 600;
 /* color: rgba(6,47,66,.85);*/
  color: rgba(255,255,255, 0.9);
}

.home-proof-item span{
  font-size: .85rem;
 /* color: rgba(6,47,66,.6);*/
  color: rgba(255,255,255, 0.9);
}

/* Responsive */
@media (max-width: 575.98px){
  .home-proof{
    grid-template-columns: 1fr;
    gap: 8px;
  }
}



/* ====panel" (Let us teach you)=====
.home-panel{
  background: var(--snt-card);
  border: 1px solid var(--snt-border);
  border-radius: calc(var(--snt-radius) + 2px);
  padding: 22px;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}
.home-checklist{
  list-style: none;
  padding-left: 0;
}
.home-checklist li{
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: rgba(6,47,66,.85);
}
.home-checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(0,0,0,.12);
  font-size: .85rem;
}
  =======end panel ======*/

/* Cards */
.home-card{
  background: var(--snt-card);
  border: 1px solid var(--snt-border);
  border-radius: var(--snt-radius);
  padding: 18px;
  text-decoration:none !important;
  transition: transform .16s ease, box-shadow .16s ease;
}


.home-card{
  position: relative;
  overflow: hidden;
}
/*
.home-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 4px;
  width: 100%;
  bottom: auto;
  background: var(--snt-teal);
}
*/
.home-card::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width: 6px;
  background: rgba(6,47,66,.55);
}

.home-card:hover::before{
  background: rgba(6,47,66,.75);
}

.home-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--snt-shadow);
}
.home-card h3{ color: var(--snt-ink); }
.home-card p{ color: var(--snt-muted); }

.home-quicklink:focus-visible,
.home-card:focus-visible{
  outline: 3px solid rgba(0,153,158,.35);
  outline-offset: 2px;
}

/* Portfolio logo strip */
.home-portfolio-strip{
  padding: 1rem 0 00;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.05);
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.home-portfolio-kicker{
  text-align: center;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(6,47,66,.65);
  margin-bottom: 12px;
}

.home-portfolio-logos > div{
  display: flex;
  justify-content: center;
  align-items: center;
}

/* DEFAULT (desktop) */
.home-portfolio-logo{
  height: 24px !important;
  width: auto !important;
  max-width: 140px;
  display: inline-block;
  vertical-align: middle;

  opacity: .7;
  filter: grayscale(100%) contrast(0.9) brightness(0.9);
  -webkit-filter: grayscale(100%) contrast(0.9) brightness(0.9);
  transition: opacity .15s ease, filter .15s ease;
}
/* Portfolio strip CTA */
.home-portfolio-cta{
  text-align: center;
  margin-bottom: 14px;
}

.home-portfolio-cta a{
  font-size: .85rem;
  color: rgba(6,47,66,.7);
  text-decoration: none;
}

.home-portfolio-cta a:hover{
  color: rgba(6,47,66,.9);
  text-decoration: underline;
}

.home-portfolio-cta a{
  opacity: .8;
}

/* Desktop: align CTA to the right, same row as kicker */
@media (min-width: 992px){
  .home-portfolio-kicker{
    margin-bottom: 0;
  }

  .home-portfolio-cta{
    margin-bottom: 12px;
    text-align: right;
  }
}

/* Hover (desktop only) */
@media (hover: hover){
  .home-portfolio-logo:hover{
    opacity: .8;
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
  }
}
/* Tablets */
@media (max-width: 991.98px){
  .home-portfolio-logo{
    height: 29px !important;
    max-width: 120px;
  }
}

/* Phones */
@media (max-width: 575.98px){
  .home-portfolio-strip{
    padding: 18px 0;
  }

  .home-portfolio-logo{
    height: 24px !important;
    max-width: 100px;
    opacity: .6; /* slightly more visible on small screens */
  }
}
@media (max-width: 575.98px){
  .home-portfolio-logo:hover{
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    opacity: .6;
  }
}
@media (max-width: 575.98px){
  .home-portfolio-logos .col-6{
    margin-bottom: 12px;
  }
}


/* Category "box" blocks */
.home-box{
  background: var(--snt-card);
  border: 1px solid var(--snt-border);
  border-radius: var(--snt-radius);
  padding: 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,.04);
}
.home-box-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.home-box-head a{
  text-decoration: none;
}
/* Browse areas: stronger cards */
.home-box{
  position: relative;
  overflow: hidden;
}

.home-box::before{
  content:"";
  position:absolute;
  left:0; top:0; right:0;
  height: 4px;
  background: rgba(6,47,66,.55);
}

.home-box:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
  transition: transform .16s ease, box-shadow .16s ease;
}

/* Tick lines */
.home-tick{
  display:flex;
  gap: 10px;
  align-items:flex-start;
}
.home-tick > span{
  width: 26px;
  height: 26px;
  background-color: #ebefef44;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: .9rem;
  margin-top: 2px;
}

/* Pills (delivery options) */
.home-pills{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.home-pill{
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(6,47,66,.03);
  color: rgba(6,47,66,.88);
  font-size: .92rem;
}

/* Quick links */
.home-quicklink{
  display:block;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  text-decoration:none !important;
  transition: transform .16s ease, box-shadow .16s ease;
  color: rgba(6,47,66,.92);
}
.home-quicklink:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0,0,0,.06);
}

/* CTA */

.home-cta{
  background: linear-gradient(180deg, rgba(6,47,66,.08), rgba(6,47,66,0));
}

.home-cta-panel{
  background: var(--snt-grey-800);
  border: 1px solid var(--snt-border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--snt-shadow);
}
.text-cta {
  color: #ffffffdd;
}

.home-cta {
  background:
    radial-gradient(600px 300px at 80% 50%, rgba(224,123,0,.12), transparent 60%),
    linear-gradient(180deg, #062F42, #061f2a);
  padding: 2.5rem 0;
}

.home-cta-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.home-cta-panel h2 {
  color: #fff;
}
.home-cta .btn-cta {
  background: var(--snt-orange);
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  padding: .8rem 2rem;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(224,123,0,.30);
}

.home-cta .btn-cta:hover {
  background: #c56d00;
  transform: translateY(-1px);
}



/* Nice spacing on small screens */
@media (max-width: 991.98px){
  .home-section { padding: 35px 0; }
  .home-title{ font-size: 2.2rem; }
}

/* If your header/footer defines btn-cta, we won't touch it.
   If not, these fallbacks ensure buttons still look decent.
   *
.home-hero .btn-cta,
.home-section .btn-cta{
  background: var(--snt-ink);
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  padding: .7rem 1.2rem;
  font-weight: 600;
  box-shadow: 0 10px 18px rgba(0,0,0,.12);
}
.home-hero .btn-cta:hover,
.home-section .btn-cta:hover{ opacity: .95; }

.home-hero .btn-cta-outline,
.home-section .btn-cta-outline{
  background: transparent;
  border: 1px solid rgba(0,0,0,.18);
  color: rgba(6,47,66,.92) !important;
  border-radius: 999px;
  padding: .7rem 1.2rem;
  font-weight: 600;
}
 
/* =========================================================
   MOBILE HERO PASS (<=575.98px)
   Goal: clearer hierarchy, less scroll, calmer spacing
   ========================================================= */
@media (max-width: 575.98px){

  /* 1) Reduce hero vertical padding so the key message fits */
  .home-hero .container{
    padding-top: 2.25rem !important;   /* was py-5 */
    padding-bottom: 1.75rem !important;
  }

  /* 2) Kicker: slightly smaller and tighter */
  .home-kicker{
    font-size: .72rem;
    letter-spacing: .12em;
    margin-bottom: 8px;
  }

  /* 3) Headline: sized for 2–3 lines max */
  .home-title{
    font-size: 1.9rem;
   /* line-height: 1.12;
    margin-bottom: .75rem; */
  }

  /* 4) Lead paragraph: easier reading, less bulk */
  .home-lead{
    font-size: 1.02rem;
    line-height: 1.55;
    margin-bottom: 1rem !important;
  }

  /* 5) Buttons: stack full-width (clear primary/secondary) */
  .home-hero .d-flex.flex-wrap{
    display: block !important;
  }
  .home-hero .btn-cta,
  .home-hero .btn-cta-outline{
    width: 100%;
    display: block;
    margin-right: 0 !important;
    margin-bottom: .6rem !important;
  }

  .home-hero .btn-cta{
    margin-right: 0 !important;
    margin-bottom: .6rem !important;
  }

  /* 6) Proof strip: calm + compact */
  .home-proof{
    margin-top: 12px !important;
    gap: 8px 12px;              /* works for both grid/flex */
  }
  .home-proof-item strong{
    font-size: .95rem;
  }
  .home-proof-item span{
    font-size: .82rem;
  }

  /* 7) Subtrust line: reduce prominence (optional) */
  .home-subtrust{
    margin-top: 10px !important;
    font-size: .9rem;
    color: rgba(6,47,66,.6);
  }

  /* 8) Hero image: keep supportive, not dominant */
  .home-hero-media{
    margin-top: 16px;
    border-radius: 16px;
  }
  .home-img{
    border-radius: 16px;
  }
}

/* =========================================================
   TABLET HERO PASS (576px–991.98px)
   Gentle tuning (no dramatic changes)
   ========================================================= */
@media (min-width: 576px) and (max-width: 991.98px){

  .home-hero .container{
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  .home-title{
    font-size: 2.2rem;
    line-height: 1.12;
  }

  .home-lead{
    font-size: 1.08rem;
    line-height: 1.55;
  }
}
