/* ─── Gap resets for Elementor wrapper ─────────────────────── */
.elementor-widget-html { line-height: 0; }
.sw-home-wrap { line-height: 1.55; }

/* SUPwest – Homepage styles
   assets/home/styles.css  → auto-loaded on front page via functions.php slug pattern
   Google Fonts loaded via functions.php wp_enqueue_style (sw-google-fonts)
   All selectors scoped to .sw-home-wrap to beat Elementor/theme specificity
   v1.2  2026-11 */

/* ─── Tokens ────────────────────────────────────────────────── */
:root {
  --blue:  #006ac8;
  --blue2: #0a88e8;
  --navy:  #063b70;
  --ink:   #112c45;
  --muted: #51687c;
  --off:   #f3f8fc;
  --line:  #d9e6f1;
  --red:   #e32629;
  --white: #fff;
}

/* ─── Scope reset ───────────────────────────────────────────── */
.sw-home-wrap {
  font-family: 'Barlow', Arial, sans-serif !important;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
}
.sw-home-wrap img    { max-width: 100%; display: block; }
.sw-home-wrap a      { text-decoration: none; color: inherit; }
.sw-home-wrap button { cursor: pointer; font: inherit; }
.sw-home-wrap a:focus-visible,
.sw-home-wrap button:focus-visible {
  outline: 3px solid #53beff;
  outline-offset: 3px;
}

/* ─── Layout helpers ────────────────────────────────────────── */
.sw-home-wrap .wrap {
  width: min(1200px, calc(100% - 40px));
  margin: auto;
}
.sw-home-wrap .eyebrow {
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--blue);
}
.sw-home-wrap h1,
.sw-home-wrap h2,
.sw-home-wrap h3,
.sw-home-wrap h4,
.sw-home-wrap p { margin-top: 0; }

.sw-home-wrap h1,
.sw-home-wrap h2,
.sw-home-wrap h3,
.sw-home-wrap .display {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif !important;
  line-height: .99 !important;
  font-style: italic !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
  letter-spacing: -.015em !important;
}
.sw-home-wrap h1 { font-size: clamp(46px, 7.4vw, 104px); margin-bottom: 23px; }
.sw-home-wrap h2 { font-size: clamp(34px, 4.5vw, 58px);  margin-bottom: 15px; }
.sw-home-wrap h3 { font-size: 30px; margin-bottom: 10px; }
.sw-home-wrap .lead {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
  max-width: 610px;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.sw-home-wrap .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 23px;
  border-radius: 5px;
  border: 2px solid transparent;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
  min-height: 51px;
  transition: transform .2s, background .2s;
}
.sw-home-wrap .btn:hover              { transform: translateY(-2px); }
.sw-home-wrap .btn-blue               { background: var(--blue); color: #fff; }
.sw-home-wrap .btn-blue:hover         { background: var(--navy); }
.sw-home-wrap .btn-white              { background: white; color: var(--navy); }
.sw-home-wrap .btn-ghost              { border-color: var(--navy); color: var(--navy); }
.sw-home-wrap .btn-red                { background: var(--red); color: white; box-shadow: 0 8px 20px rgba(227,38,41,.18); }
.sw-home-wrap .btn-red:hover          { background: #bb161e; }

/* ─── Section wrapper ───────────────────────────────────────── */
.sw-home-wrap .section          { padding: 76px 0; }
.sw-home-wrap .section-title    { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.sw-home-wrap .section-title p  { max-width: 680px; color: var(--muted); margin: 0; }
.sw-home-wrap .text-link        { font-weight: 800; color: var(--blue); white-space: nowrap; }
.sw-home-wrap .text-link:hover  { text-decoration: underline; }
.sw-home-wrap .off              { background: var(--off); }

/* ─── BF Strip ──────────────────────────────────────────────── */
.sw-home-wrap .bf-strip   { background: #edf6ff; border-bottom: 1px solid #d2e8fb; }
.sw-home-wrap .bf-inner   { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 11px 0; flex-wrap: wrap; }
.sw-home-wrap .bf-kicker  {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 900 !important; font-style: italic !important; font-size: 24px;
  line-height: 1; text-transform: uppercase; color: var(--navy);
}
.sw-home-wrap .bf-note    { font-size: 13px; font-weight: 700; color: #315874; }
.sw-home-wrap .bf-pointer {
  display: flex; gap: 7px; align-items: center;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 22px; font-weight: 900 !important; font-style: italic !important;
  color: var(--red); transform: rotate(-6deg);
}
.sw-home-wrap .bf-strip .btn { padding: 9px 15px; min-height: 42px; font-size: 13px; }

/* ─── Hero ──────────────────────────────────────────────────── */
/* NOTE: Elementor section containing the HTML widget MUST be:
   Layout → Content Width: Full Width
   Advanced → Padding: 0 on all sides
   This lets the grid reach the true viewport right edge.          */
.sw-home-wrap .hero {
  background: linear-gradient(110deg, #eff8ff 0%, #edf8ff 52%, #e2f4ff 100%);
  overflow: hidden;
}
.sw-home-wrap .hero-grid {
  display: grid;
  /* 1fr = copy column (flexible)
     50vw = visual column (always half the viewport → right edge) */
  grid-template-columns: 1fr 50vw;
  align-items: stretch;
  min-height: 560px;
  gap: 0;
}
.sw-home-wrap .hero-copy {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.sw-home-wrap .hero-copy-inner {
  padding: 64px 48px 64px max(20px, calc((100vw - 1200px) / 2));
  width: 100%;
}
.sw-home-wrap .hero .eyebrow     { margin-bottom: 20px; }
.sw-home-wrap .seo-h1 {
  font-family: "Barlow", Arial, sans-serif !important;
  font-size: 15px; line-height: 1.3; letter-spacing: .12em;
  font-style: normal !important; font-weight: 800; color: var(--blue);
  margin: 0 0 13px;
}
.sw-home-wrap .hero-tagline {
  font-family: "Barlow Condensed", sans-serif !important;
  font-weight: 900 !important; font-style: italic !important;
  line-height: .99 !important; letter-spacing: -.015em;
  text-transform: uppercase;
  font-size: clamp(46px, 7.4vw, 104px);
  margin: 0 0 23px; color: var(--navy);
}
.sw-home-wrap .hero-tagline span        { color: var(--blue); }
.sw-home-wrap .hero .lead               { color: #38546a; }
.sw-home-wrap .hero-actions             { display: flex; gap: 12px; flex-wrap: wrap; margin: 29px 0 32px; }
.sw-home-wrap .hero-points {
  display: flex; gap: 25px; flex-wrap: wrap;
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
}
.sw-home-wrap .hero-points span:before {
  content: '\2713';
  display: inline-grid; place-items: center;
  width: 23px; height: 23px;
  border: 1px solid var(--blue); border-radius: 50%;
  color: var(--blue); margin-right: 8px;
}

/* ─── Hero visual: 50vw column fills to viewport right edge ── */
.sw-home-wrap .hero-visual {
  width: 100%;
  height: 100%;
  min-height: 560px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #7cccf3 0%, #20a6d1 42%, #08718f 100%);
}
.sw-home-wrap .hero-visual:after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #edf8ff 0%, rgba(237,248,255,0) 14%);
  z-index: 1;
}
.sw-home-wrap .hero-visual picture  { display: block; width: 100%; height: 100%; }
.sw-home-wrap .hero-visual img      { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.sw-home-wrap .hero-photo-label {
  position: absolute; bottom: 22px; right: 20px;
  background: rgba(255,255,255,.91);
  z-index: 2; border-radius: 4px; padding: 8px 12px;
  font-size: 11px; font-weight: 800; color: var(--navy);
}

/* ─── Categories ────────────────────────────────────────────── */
.sw-home-wrap .cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.sw-home-wrap .cat-card {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 7px; min-height: 270px;
  background: linear-gradient(135deg, #0c70b0, #064776);
}
.sw-home-wrap .cat-card:after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 16%, rgba(3,37,70,.82) 100%);
  z-index: -1;
}
.sw-home-wrap .cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2; transition: transform .4s;
}
.sw-home-wrap .cat-card:hover img   { transform: scale(1.05); }
.sw-home-wrap .cat-content          { position: absolute; bottom: 22px; left: 24px; right: 18px; color: #fff; }
.sw-home-wrap .cat-content h3       { font-size: 34px; }
.sw-home-wrap .cat-content span     { font-size: 13px; font-weight: 800; text-transform: uppercase; }

/* ─── Products ──────────────────────────────────────────────── */
.sw-home-wrap .product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.sw-home-wrap .product {
  background: white; border: 1px solid var(--line);
  border-radius: 7px; overflow: hidden;
  display: flex; flex-direction: column;
}
.sw-home-wrap .prod-img {
  height: 235px; background: #eef7fc;
  display: grid; place-items: center; padding: 12px;
}
.sw-home-wrap .prod-img img     { height: 100%; width: 100%; object-fit: contain; }
.sw-home-wrap .prod-content     { padding: 21px; display: flex; flex-direction: column; flex: 1; }
.sw-home-wrap .pill {
  align-self: flex-start; font-size: 10px; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase;
  background: #e4f4ff; color: var(--navy);
  padding: 5px 9px; border-radius: 3px; margin-bottom: 12px;
}
.sw-home-wrap .prod-content h3 {
  font-family: 'Barlow', sans-serif !important;
  font-style: normal !important; text-transform: none !important;
  font-weight: 800 !important; font-size: 18px !important; line-height: 1.25 !important;
}
.sw-home-wrap .prod-content p   { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.sw-home-wrap .prod-footer      { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.sw-home-wrap .prod-price       { font-weight: 800; color: var(--navy); font-size: 21px; }
.sw-home-wrap .prod-price small { display: block; font-size: 10px; color: var(--muted); font-weight: 600; }
.sw-home-wrap .prod-footer .btn { padding: 9px 13px; font-size: 12px; min-height: 40px; }

/* ─── Value bar ─────────────────────────────────────────────── */
.sw-home-wrap .value-bar  { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 23px 0; background: white; }
.sw-home-wrap .value-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.sw-home-wrap .value      { display: flex; gap: 12px; align-items: center; }
.sw-home-wrap .value-mark {
  border: 1px solid #bbddf7; color: var(--blue);
  border-radius: 50%; height: 43px; width: 43px;
  display: grid; place-items: center; flex: none;
  font-size: 20px; font-weight: 800;
}
.sw-home-wrap .value strong { display: block; font-size: 13px; text-transform: uppercase; }
.sw-home-wrap .value small  { font-size: 12px; color: var(--muted); display: block; }

/* ─── Sale ──────────────────────────────────────────────────── */
.sw-home-wrap .sale       { background: #dcedfb; padding: 72px 0; }
.sw-home-wrap .sale-grid  { display: grid; grid-template-columns: 1.15fr .85fr; gap: 45px; align-items: center; }
.sw-home-wrap .sale h2    { font-size: clamp(50px, 6vw, 80px); color: var(--navy); }
.sw-home-wrap .sale h2 span { color: var(--red); }
.sw-home-wrap .coupon {
  display: inline-flex; border: 2px dashed #a2bdd3;
  background: white; border-radius: 6px;
  padding: 14px 22px; align-items: center; gap: 20px; margin: 9px 0 20px;
}
.sw-home-wrap .coupon b     { font-family: 'Barlow Condensed', sans-serif !important; font-size: 33px; letter-spacing: .08em; color: var(--navy); }
.sw-home-wrap .coupon small { font-size: 11px; color: var(--muted); }
.sw-home-wrap .sale-aside {
  background: #fff; border-radius: 8px; padding: 32px;
  text-align: center; transform: rotate(2deg);
  box-shadow: 0 12px 35px #115d8a1c;
}
.sw-home-wrap .sale-aside .big { font-family: 'Barlow Condensed', sans-serif !important; font-size: 90px; font-weight: 900 !important; font-style: italic !important; line-height: .85; color: var(--red); }
.sw-home-wrap .sale-aside h3   { font-size: 37px; color: var(--navy); }

/* ─── Guides ────────────────────────────────────────────────── */
.sw-home-wrap .guide-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.sw-home-wrap .guide-photo  { border-radius: 8px; overflow: hidden; height: 390px; background: #b4dbed; }
.sw-home-wrap .guide-photo img { width: 100%; height: 100%; object-fit: cover; }
.sw-home-wrap .checks       { padding-left: 0; list-style: none; }
.sw-home-wrap .checks li    { padding: 7px 0 7px 28px; position: relative; }
.sw-home-wrap .checks li:before {
  content: '\2713';
  position: absolute; left: 0;
  color: var(--blue); font-weight: 900;
}

/* ─── Hire ──────────────────────────────────────────────────── */
.sw-home-wrap .hire        { background: linear-gradient(110deg, #063c6f, #0979bd); color: white; }
.sw-home-wrap .hire h2     { color: white; }
.sw-home-wrap .hire p      { color: #dbeffd; }
.sw-home-wrap .hire-grid   { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }

/* ─── FAQ ───────────────────────────────────────────────────── */
.sw-home-wrap .faq         { max-width: 920px; margin: auto; }
.sw-home-wrap .faq details { border-bottom: 1px solid var(--line); padding: 17px 0; }
.sw-home-wrap .faq summary { font-weight: 800; cursor: pointer; list-style: none; }
.sw-home-wrap .faq summary:after { content: '+'; float: right; font-weight: 900; color: var(--blue); }
.sw-home-wrap .faq details[open] summary:after { content: '\2212'; }
.sw-home-wrap .faq p       { margin: 12px 0 0; color: var(--muted); }

/* ─── About ─────────────────────────────────────────────────── */
.sw-home-wrap .about-grid  { display: grid; grid-template-columns: .55fr .45fr; gap: 60px; align-items: center; }
.sw-home-wrap .about-img   { border-radius: 8px; overflow: hidden; height: 420px; background: #b4dbed; }
.sw-home-wrap .about-img img { width: 100%; height: 100%; object-fit: cover; }
.sw-home-wrap .about-copy h2 { max-width: 540px; }
.sw-home-wrap .stat-row    { display: flex; gap: 35px; margin-top: 30px; }
.sw-home-wrap .stat b      { display: block; font-family: 'Barlow Condensed', sans-serif !important; font-size: 52px; font-style: italic !important; font-weight: 900 !important; color: var(--blue); line-height: 1; }
.sw-home-wrap .stat small  { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--muted); }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .sw-home-wrap .hero-grid { grid-template-columns: 1fr 48vw; }
}

@media (max-width: 900px) {
  .sw-home-wrap .hero-grid    { grid-template-columns: 1fr; }
  .sw-home-wrap .hero-copy-inner { padding: 40px 20px 20px; }
  .sw-home-wrap .hero-visual  {
    height: 280px; min-height: 280px;
    grid-row: 2;
    /* Full bleed edge-to-edge regardless of any container padding */
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .sw-home-wrap .hero-visual:after { display: none; }
  .sw-home-wrap .cat-grid,
  .sw-home-wrap .product-grid { grid-template-columns: repeat(2,1fr); }
  .sw-home-wrap .sale-grid,
  .sw-home-wrap .guide-grid   { grid-template-columns: 1fr; }
  .sw-home-wrap .sale-aside   { max-width: 400px; margin: auto; }
  .sw-home-wrap .value-grid   { grid-template-columns: repeat(2,1fr); }
  .sw-home-wrap .hire-grid    { grid-template-columns: 1fr; }
  .sw-home-wrap .about-grid   { grid-template-columns: 1fr; }
  .sw-home-wrap .about-img    { height: 300px; }
}

@media (max-width: 600px) {
  .sw-home-wrap .wrap         { width: calc(100% - 30px); }
  .sw-home-wrap .bf-inner     { gap: 10px; }
  .sw-home-wrap .bf-note      { display: none; }
  .sw-home-wrap .bf-kicker    { font-size: 19px; }
  .sw-home-wrap .bf-pointer   { font-size: 17px; }
  .sw-home-wrap .hero-tagline { font-size: 54px; }
  .sw-home-wrap .hero-points  { gap: 10px; }
  .sw-home-wrap .hero-points span { font-size: 11px; }
  .sw-home-wrap .section      { padding: 48px 0; }
  .sw-home-wrap .section-title { display: block; }
  .sw-home-wrap .section-title .text-link { display: block; margin-top: 12px; }
  .sw-home-wrap .cat-grid,
  .sw-home-wrap .product-grid,
  .sw-home-wrap .value-grid   { grid-template-columns: 1fr; }
  .sw-home-wrap .cat-card     { min-height: 230px; }
  .sw-home-wrap .guide-photo  { height: 240px; }
  .sw-home-wrap .hire-grid    { grid-template-columns: 1fr; }
  .sw-home-wrap .sale-aside   { transform: none; }
  .sw-home-wrap .stat-row     { gap: 20px; }
  .sw-home-wrap .stat b       { font-size: 40px; }
}
