/* SELFBOX Website v2.1 — warmer color palette */
:root{
  --blue:#0b3456;
  --blue2:#1d6da8;
  --sky:#e8f4fb;
  --cream:#fff8ed;
  --cream2:#fbf3e5;
  --green:#2f7d63;
  --green-soft:#e8f6f0;
  --gold:#d99b32;
  --gold-soft:#fff1d8;
  --text:#172535;
  --muted:#5d6c7d;
  --light:#f7f8f4;
  --line:#dce7ef;
  --card:#ffffff;
  --shadow:0 24px 70px rgba(12,53,88,.13);
  --soft-shadow:0 14px 40px rgba(12,53,88,.075);
}
.sb-site,.sb-site *,.sb-article,.sb-article *{
  box-sizing:border-box;
  font-family:'Inter',sans-serif!important;
}
.sb-site,.sb-article{
  color:var(--text);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
.sb-container{
  width:min(1160px,calc(100% - 32px));
  margin:auto;
}

/* HERO */
.sb-hero{
  position:relative;
  overflow:hidden;
  padding:96px 0 86px;
  background:
    radial-gradient(circle at 82% 18%, rgba(29,109,168,.23), transparent 30%),
    radial-gradient(circle at 12% 82%, rgba(217,155,50,.24), transparent 30%),
    linear-gradient(135deg,#fffaf2 0%,#edf6fb 52%,#f8fbfd 100%);
}
.sb-hero:before{
  content:"";
  position:absolute;
  inset:auto -120px -180px -120px;
  height:310px;
  background:linear-gradient(90deg,rgba(217,155,50,.13),rgba(29,109,168,.14),rgba(47,125,99,.08));
  transform:rotate(-3deg);
}
.sb-hero-small{
  padding:70px 0;
}
.sb-hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:56px;
  align-items:center;
}
.sb-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:var(--gold-soft);
  color:#7a4b00;
  font-size:12px;
  font-weight:850;
  letter-spacing:.035em;
  margin-bottom:22px;
  text-transform:uppercase;
}
.sb-badge:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 0 5px rgba(217,155,50,.18);
}
.sb-left h1,
.sb-section-title h2,
.sb-two-col h2,
.sb-split-media h2,
.sb-article h1,
.sb-article h2{
  color:var(--blue);
  margin:0 0 22px;
  letter-spacing:-.055em;
  font-weight:900;
  line-height:1.05;
}
.sb-left h1{
  font-size:clamp(44px,5.4vw,72px);
  max-width:760px;
}
.sb-section-title h2,
.sb-two-col h2,
.sb-split-media h2{
  font-size:clamp(34px,4vw,54px);
}
.sb-article h1{
  font-size:clamp(34px,4vw,52px);
}
.sb-article h2{
  font-size:clamp(24px,2.4vw,32px);
  margin-top:38px;
}
.sb-left p,
.sb-section-title p,
.sb-two-col p,
.sb-split-media p,
.sb-article-header p{
  font-size:clamp(17px,1.55vw,20px);
  line-height:1.78;
  color:var(--muted);
  margin:0 0 32px;
}
.sb-buttons{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.sb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 25px;
  border-radius:17px;
  font-weight:850;
  text-decoration:none!important;
  transition:.18s ease;
}
.sb-btn-primary{
  background:linear-gradient(135deg,var(--gold),#b97816);
  color:#fff!important;
  box-shadow:0 16px 34px rgba(217,155,50,.25);
}
.sb-btn-secondary{
  background:rgba(255,255,255,.88);
  color:var(--blue)!important;
  border:1px solid rgba(12,53,88,.12);
}
.sb-btn:hover{
  transform:translateY(-2px);
}
.sb-hero-points{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:30px;
}
.sb-hero-points span,
.sb-mini-list span{
  background:rgba(255,255,255,.9);
  border:1px solid rgba(12,53,88,.11);
  border-radius:999px;
  padding:10px 14px;
  color:var(--blue);
  font-weight:850;
  font-size:14px;
  box-shadow:0 8px 20px rgba(12,53,88,.055);
}
.sb-hero-points span:nth-child(2),
.sb-mini-list span:nth-child(2){
  background:var(--green-soft);
  color:var(--green);
}
.sb-hero-points span:nth-child(3),
.sb-mini-list span:nth-child(3){
  background:var(--sky);
  color:var(--blue2);
}
.sb-hero-media{
  position:relative;
}
.sb-hero-media:before{
  content:"";
  position:absolute;
  inset:28px -18px -18px 28px;
  border-radius:34px;
  background:linear-gradient(135deg,rgba(29,109,168,.24),rgba(217,155,50,.22),rgba(47,125,99,.13));
  z-index:-1;
}
.sb-hero-media img,
.sb-photo-card img,
.sb-gallery img{
  width:100%;
  display:block;
  border-radius:32px;
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.7);
}

/* STATS */
.sb-stats{
  padding:28px 0;
  background:#fff;
  border-bottom:1px solid var(--line);
}
.sb-stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.sb-stats-grid div{
  border:1px solid var(--line);
  border-radius:24px;
  padding:22px;
  background:linear-gradient(180deg,#fff,#fff8ed);
  box-shadow:0 12px 34px rgba(12,53,88,.045);
}
.sb-stats-grid div:nth-child(2){
  background:linear-gradient(180deg,#fff,#e8f4fb);
}
.sb-stats-grid div:nth-child(3){
  background:linear-gradient(180deg,#fff,#e8f6f0);
}
.sb-stats-grid div:nth-child(4){
  background:linear-gradient(180deg,#fff,#f6f8fb);
}
.sb-stats-grid strong{
  display:block;
  color:var(--blue);
  font-size:30px;
  letter-spacing:-.045em;
  line-height:1;
}
.sb-stats-grid div:nth-child(2) strong{color:var(--blue2)}
.sb-stats-grid div:nth-child(3) strong{color:var(--green)}
.sb-stats-grid div:nth-child(4) strong{color:#875600}
.sb-stats-grid span{
  display:block;
  color:var(--muted);
  font-weight:750;
  margin-top:8px;
}

/* SECTIONS */
.sb-section{
  padding:92px 0;
}
.sb-soft{
  background:
    radial-gradient(circle at 8% 10%,rgba(29,109,168,.08),transparent 26%),
    radial-gradient(circle at 92% 88%,rgba(217,155,50,.11),transparent 26%),
    var(--light);
}
.sb-section-title{
  text-align:center;
  max-width:840px;
  margin:auto auto 54px;
}

/* CARDS */
.sb-cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.sb-card,
.sb-steps div,
.sb-blog-grid article,
.sb-form-card,
.sb-contact-box,
.sb-faq details,
.sb-pricing-grid div{
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--soft-shadow);
}
.sb-card{
  padding:30px;
  transition:.18s ease;
  position:relative;
  overflow:hidden;
}
.sb-card:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:5px;
  background:linear-gradient(90deg,var(--blue2),var(--gold));
  opacity:.9;
}
.sb-card:nth-child(2):before{background:linear-gradient(90deg,var(--green),var(--blue2))}
.sb-card:nth-child(3):before{background:linear-gradient(90deg,var(--gold),#f0c36b)}
.sb-card:nth-child(4):before{background:linear-gradient(90deg,var(--blue),var(--green))}
.sb-card:hover{
  transform:translateY(-5px);
  box-shadow:0 26px 60px rgba(12,53,88,.12);
}
.sb-icon{
  width:62px;
  height:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  background:var(--sky);
  border:1px solid var(--line);
  margin-bottom:22px;
  font-size:29px;
  box-shadow:0 10px 28px rgba(12,53,88,.06);
}
.sb-card:nth-child(2) .sb-icon{background:var(--green-soft)}
.sb-card:nth-child(3) .sb-icon{background:var(--gold-soft)}
.sb-card:nth-child(4) .sb-icon{background:#eef0ff}
.sb-card h3,
.sb-steps h3,
.sb-blog-grid h3,
.sb-pricing-grid h3{
  color:var(--blue);
  font-size:22px;
  line-height:1.25;
  margin:0 0 14px;
  font-weight:900;
  letter-spacing:-.035em;
}
.sb-card p,
.sb-steps p,
.sb-blog-grid p,
.sb-pricing-grid p{
  color:var(--muted);
  font-size:16.5px;
  line-height:1.72;
  margin:0 0 20px;
}
.sb-card a{
  color:var(--blue2);
  font-weight:900;
  text-decoration:none;
}
.sb-card ul{
  margin:0 0 20px;
  padding-left:18px;
  color:var(--text);
  font-size:15px;
}
.sb-card li{
  margin:5px 0;
}

/* SPLITS */
.sb-two-col,
.sb-split-media,
.sb-contact-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:48px;
  align-items:center;
}
.sb-benefits{
  display:grid;
  gap:14px;
}
.sb-benefits div{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:17px 19px;
  font-weight:800;
  color:var(--blue);
  box-shadow:0 10px 26px rgba(12,53,88,.045);
}
.sb-benefits div:nth-child(even){
  background:var(--green-soft);
  color:var(--green);
}
.sb-benefits div:nth-child(3){
  background:var(--gold-soft);
  color:#875600;
}
.sb-benefits div:before{
  content:"✓";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  margin-right:10px;
  border-radius:8px;
  background:var(--blue);
  color:#fff;
  font-size:13px;
  font-weight:900;
}
.sb-benefits div:nth-child(even):before{background:var(--green)}
.sb-benefits div:nth-child(3):before{background:var(--gold)}
.sb-link-cta{
  display:inline-block;
  margin-top:8px;
  color:var(--gold);
  font-weight:900;
  text-decoration:none;
}
.sb-mini-list,
.sb-chip-grid{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.sb-chip{
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:12px 16px;
  color:var(--blue);
  font-weight:850;
  box-shadow:0 8px 22px rgba(12,53,88,.045);
}
.sb-chip:nth-child(3n+2){
  background:var(--green-soft);
  color:var(--green);
}
.sb-chip:nth-child(3n+3){
  background:var(--gold-soft);
  color:#875600;
}

/* STEPS / PRICING */
.sb-steps,
.sb-blog-grid,
.sb-pricing-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.sb-blog-grid,
.sb-pricing-grid{
  grid-template-columns:repeat(3,1fr);
}
.sb-steps div,
.sb-blog-grid article,
.sb-pricing-grid div{
  padding:26px;
}
.sb-steps div:nth-child(1) strong{background:linear-gradient(135deg,var(--blue),var(--blue2))}
.sb-steps div:nth-child(2) strong{background:linear-gradient(135deg,var(--gold),#bd7c18)}
.sb-steps div:nth-child(3) strong{background:linear-gradient(135deg,var(--green),#256b55)}
.sb-steps div:nth-child(4) strong{background:linear-gradient(135deg,var(--blue2),var(--green))}
.sb-steps strong{
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  border-radius:15px;
  margin-bottom:16px;
  box-shadow:0 12px 24px rgba(12,53,88,.16);
}
.sb-price-section{
  background:linear-gradient(135deg,var(--blue),#144b7a);
}
.sb-price-card{
  background:#fff;
  border-radius:30px;
  padding:38px;
  text-align:center;
  box-shadow:var(--shadow);
}
.sb-price-card h2{
  color:var(--blue);
  font-size:44px;
  margin:0 0 16px;
}
.sb-pricing-grid div:nth-child(1){background:linear-gradient(180deg,#fff,#fff8ed)}
.sb-pricing-grid div:nth-child(2){background:linear-gradient(180deg,#fff,#e8f6f0)}
.sb-pricing-grid div:nth-child(3){background:linear-gradient(180deg,#fff,#e8f4fb)}
.sb-pricing-grid strong{
  display:block;
  color:var(--blue);
  font-size:22px;
  margin-top:6px;
}
.sb-pricing-grid div:nth-child(2) strong{color:var(--green)}
.sb-pricing-grid div:nth-child(1) strong{color:#875600}

/* GALLERY / FAQ / FORM */
.sb-gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.sb-gallery img{
  transition:.18s ease;
}
.sb-gallery img:hover{
  transform:translateY(-4px);
}
.sb-faq{
  display:grid;
  gap:14px;
  max-width:880px;
  margin:auto;
}
.sb-faq details{
  padding:22px;
}
.sb-faq details:nth-child(even){
  background:linear-gradient(180deg,#fff,#f8fbf8);
}
.sb-faq summary{
  cursor:pointer;
  color:var(--blue);
  font-weight:900;
}
.sb-faq p{
  color:var(--muted);
  margin:12px 0 0;
}
.sb-contact-box{
  padding:22px;
  background:linear-gradient(180deg,#fff,#fff8ed);
}
.sb-contact-box p{
  margin:8px 0;
}
.sb-form-card{
  padding:28px;
}
.sb-form-card h3{
  margin:0 0 8px;
  color:var(--blue);
  font-size:27px;
  font-weight:900;
}
.sb-form-card p{
  color:var(--muted);
  margin:0 0 18px;
}
.sb-lead-form{
  display:grid;
  gap:13px;
}
.sb-lead-form label{
  display:grid;
  gap:6px;
  color:var(--blue);
  font-weight:750;
}
.sb-lead-form input,
.sb-lead-form textarea{
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px 15px;
  font:inherit;
  background:#fff;
}
.sb-lead-form button{
  border:0;
  border-radius:16px;
  background:linear-gradient(135deg,var(--gold),#bd7c18);
  color:#fff;
  padding:15px;
  font-weight:900;
  cursor:pointer;
}
.sb-form-note{
  font-size:13px!important;
  margin-top:13px!important;
}

/* ARTICLE */
.sb-article{
  width:min(820px,calc(100% - 32px));
  margin:auto;
  padding:54px 0 76px;
}
.sb-article-header{
  border-bottom:1px solid var(--line);
  padding-bottom:26px;
  margin-bottom:34px;
}
.sb-article p,
.sb-article li{
  font-size:18px;
  color:#263241;
}
.sb-article li{
  margin:8px 0;
}

/* RESPONSIVE */
@media(max-width:1000px){
  .sb-cards{grid-template-columns:repeat(2,1fr)}
  .sb-steps,.sb-stats-grid{grid-template-columns:repeat(2,1fr)}
  .sb-hero-grid,.sb-two-col,.sb-split-media,.sb-contact-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .sb-hero{padding:56px 0}
  .sb-section{padding:64px 0}
  .sb-left h1{font-size:40px}
  .sb-section-title h2,.sb-two-col h2,.sb-split-media h2{font-size:34px}
  .sb-cards,.sb-steps,.sb-blog-grid,.sb-pricing-grid,.sb-gallery,.sb-stats-grid{grid-template-columns:1fr}
  .sb-buttons .sb-btn{width:100%}
  .sb-card h3{font-size:23px}
  .sb-hero-media:before{display:none}
}


/* v2.1 overrides: real photos + coherent benefit colors */
.sb-hero-media img,
.sb-photo-card img,
.sb-gallery img{
  object-fit:cover;
  aspect-ratio: 4 / 3;
}

.sb-hero-media img{
  aspect-ratio: 5 / 4;
}

.sb-gallery-wide{
  grid-template-columns:repeat(5,1fr);
}

.sb-gallery-wide img{
  min-height:210px;
}

/* Fix mixed random colors in benefit list */
.sb-benefits div,
.sb-benefits div:nth-child(even),
.sb-benefits div:nth-child(3){
  background:#ffffff !important;
  color:var(--blue) !important;
  border:1px solid rgba(12,53,88,.13) !important;
  box-shadow:0 12px 30px rgba(12,53,88,.06) !important;
}

.sb-benefits div:before,
.sb-benefits div:nth-child(even):before,
.sb-benefits div:nth-child(3):before{
  background:var(--blue) !important;
  color:#fff !important;
}

.sb-benefits div:hover{
  background:linear-gradient(180deg,#fff,#f6fbff) !important;
  transform:translateY(-2px);
}

/* Make color use more controlled */
.sb-card:nth-child(1):before,
.sb-card:nth-child(2):before,
.sb-card:nth-child(3):before,
.sb-card:nth-child(4):before{
  background:linear-gradient(90deg,var(--blue),var(--blue2)) !important;
}

.sb-card:nth-child(1) .sb-icon,
.sb-card:nth-child(2) .sb-icon,
.sb-card:nth-child(3) .sb-icon,
.sb-card:nth-child(4) .sb-icon{
  background:#eef5fb !important;
}

/* CTA stays warm, but not everywhere */
.sb-link-cta{
  color:var(--blue2) !important;
}

@media(max-width:1000px){
  .sb-gallery-wide{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:700px){
  .sb-gallery-wide{
    grid-template-columns:1fr;
  }
  .sb-gallery-wide img{
    min-height:auto;
  }
}


/* v2.1 content/layout refinements */
.sb-stats-grid strong{
  font-size:clamp(19px,1.8vw,28px);
  line-height:1.12;
}
.sb-price-note{
  text-align:center;
  margin:22px auto 0;
  color:var(--muted);
  font-size:15px;
  font-weight:750;
}
.sb-benefits div:first-child{
  background:linear-gradient(180deg,#fff,#f6fbff) !important;
  border-color:rgba(12,53,88,.18) !important;
}


/* v2.1 pricing note and clickable gallery */
.sb-price-note{
  max-width:820px;
  text-align:center;
  margin:24px auto 0;
  color:var(--muted);
  font-size:15px;
  font-weight:750;
}
.sb-gallery-link{
  display:block;
  text-decoration:none!important;
}
.sb-gallery-link img{
  cursor:zoom-in;
}


/* v2.1 gallery lightbox */
.sb-gallery-wide{
  grid-template-columns:repeat(3,1fr) !important;
}
.sb-gallery-link,
.sb-gallery-link:visited,
.sb-gallery-link:hover,
.sb-gallery-link:focus{
  display:block !important;
  width:100% !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  text-decoration:none !important;
  cursor:zoom-in !important;
  border-radius:28px;
}
.sb-gallery-link img{
  width:100%;
  display:block;
  pointer-events:auto !important;
}
.sb-lightbox{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(5,18,32,.82);
  backdrop-filter:blur(6px);
}
.sb-lightbox[aria-hidden="false"]{
  display:flex !important;
}
.sb-lightbox img{
  max-width:min(1100px,94vw);
  max-height:88vh;
  width:auto;
  height:auto;
  display:block;
  border-radius:22px;
  box-shadow:0 30px 90px rgba(0,0,0,.38);
  background:#fff;
}
.sb-lightbox-close{
  position:fixed;
  top:20px;
  right:22px;
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:34px;
  line-height:1;
  cursor:pointer;
  z-index:1000000;
}
body.sb-lightbox-open{
  overflow:hidden;
}
@media(max-width:700px){
  .sb-gallery-wide{
    grid-template-columns:1fr !important;
  }
  .sb-lightbox{
    padding:14px;
  }
  .sb-lightbox-close{
    top:12px;
    right:12px;
  }
}
