/* =========================================================
   Captain Wave — CW39 Evolution (V3, single-CTA + gated registration)
   Custom styles on top of Bootstrap 5
   ========================================================= */

:root {
  --navy:#000c1d; --navy-2:#00162d; --blue-text:#022942;
  --maroon:#541d18; --copper:#b76f31; --cream:#dfd0b4; --gold:#b7a731;
  --grey-line:#9e9e9e; --form-head:#2d4160; --form-label:#8e8e8e; --form-border:#022942;
  --ff-head:"Archivo Black", system-ui, sans-serif;
  --ff-sub:"Mona Sans", system-ui, sans-serif;
  --ff-body:"Bricolage Grotesque", system-ui, sans-serif;
  --ff-btn:"Archivo Narrow", system-ui, sans-serif;
  --pad:5vw;
}

.btn-cw-primary,
.btn-cw-outline,
.btn-cw-outline-light {
  font-family: var(--ff-btn);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}
hr{
      margin: 2rem 0;
      border-top: var(--copper) solid 1.5px;
      opacity: .75;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:80px; }
body { font-family:var(--ff-body); color:var(--navy); font-size:15px; line-height:1.53; overflow-x:hidden; }
img { max-width:100%; }
.container-xxl { padding-left:0; padding-right:0; 
max-width: 1146px;
}

@media (max-width: 1199.98px) {
  .container-xxl {
    padding-inline: 24px;
  }
}

@media (max-width: 575.98px) {
  .container-xxl {
    padding-inline: 16px;
  }
}
/* Reusable check-mark list */
.cw-check-list {
  --cw-marker-size: 16px;
  --cw-marker-gap: 10px;
  --cw-item-spacing: 14px;

  padding: 0;
  margin: 0;
  list-style: none;
}

.cw-check-list > li {
  position: relative;
  color: #ffffff;

  padding-left: calc(
    var(--cw-marker-size) + var(--cw-marker-gap)
  );

  margin-bottom: var(--cw-item-spacing);
}

.cw-check-list > li::before {
  content: "";

  position: absolute;
  top: 0.2em;
  left: 0;

  width: var(--cw-marker-size);
  height: var(--cw-marker-size);

  background-image: url("../assets/icons/check-mark.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.cw-check-list > li:last-child {
  margin-bottom: 0;
}

/* Optional compact version */
.cw-check-list--compact {
  --cw-marker-gap: 8px;
  --cw-item-spacing: 10px;
}

@media (max-width: 575.98px) {
  .cw-check-list {
    --cw-marker-gap: 8px;
    --cw-item-spacing: 12px;
  }
}

/* page blur when registration gate is open */
#page.cw-blur { filter:blur(7px); pointer-events:none; user-select:none; transition:filter .25s ease; }

/* ---------- Typography ---------- */
.cw-h1 {
  width: 100%;
  max-width: 830px;
  margin-inline: auto;
  font-family: var(--ff-head);
  font-size: clamp(3.8rem, 11vw, 109.818px);
  font-weight: 400;
  line-height: 0.75;
  text-align: center;
  text-transform: uppercase;
  color: var(--navy);
  text-wrap: balance;
}
.cw-h1 > span {
  display: block;
  white-space: nowrap;
}
.cw-h2 { font-family:var(--ff-head); font-weight:400; font-size:clamp(1.7rem,3.6vw,2.5rem); line-height:1.12; color:var(--navy); margin-bottom:1rem; }
.cw-h3 { font-family:var(--ff-head); font-weight:400; font-size:clamp(1.25rem,2.6vw,1.75rem); line-height:1.15; color:var(--navy); margin-bottom:1rem; }
.cw-h4 { font-family:var(--ff-sub); font-weight:900; font-size:1.25rem; line-height:1.2; color:var(--navy); margin-bottom:.6rem; }
.cw-copy { font-size:15px; line-height:1.53; margin-bottom:1rem; font-weight: 400;}
.cw-sub { font-size:15px; font-weight: 400; }
.cw-fine { font-size:12px; margin-bottom:0; }
.txt-copper { color:var(--copper)!important; } .txt-cream { color:var(--cream)!important; }

/* ---------- Sections ---------- */
.cw-section { padding:clamp(3rem,3.5vw,5rem) 0; }
.cw-section-head { margin-bottom:clamp(2rem,4vw,3rem); }
.cw-bg-navy { background:var(--navy); } .cw-bg-white { background:#fff; }

/* ---------- Buttons ---------- */
.btn-cw-primary,.btn-cw-outline,.btn-cw-outline-light {font-family:var(--ff-btn); font-size:21px; border-radius:50px; padding:.72rem 1.6rem; font-weight: 400; min-width:200px; text-align:center; transition:all .2s ease; border:1px solid transparent; line-height:1 }
.btn-cw-primary { background:var(--maroon); color:#fff; }
.btn-cw-primary:hover { background:#3f1512; color:#fff; }
.btn-cw-outline { background:transparent; color:var(--navy); border-color:var(--navy); }
.btn-cw-outline:hover { background:var(--navy); color:#fff; }
.btn-cw-outline-light { background:transparent; color:#fff; border-color:#fff; }
.btn-cw-outline-light:hover { background:#fff; color:var(--navy); }
.cw-btn-row { display:flex; flex-wrap:wrap; gap:1rem; }

/* ---------- Navbar ---------- */
/* .cw-navbar { background:rgba(255,255,255,.55); backdrop-filter:blur(10px); box-shadow:0 4px 4px rgba(0,0,0,.08); padding:.35rem 0; }
.cw-brand img { height:34px; width:auto; }
.cw-nav-links .nav-link { font-family:var(--ff-btn); font-size:13px; text-transform:uppercase; color:var(--maroon); padding:.4rem .6rem; white-space:nowrap; }
.cw-nav-links .nav-link:hover { color:var(--navy); }
.cw-nav-cta { min-width:auto; padding:.55rem 1.3rem; }
.navbar-toggler { border-color:var(--maroon); } */

/* ---------- Hero (single CTA) ---------- */
.cw-hero { position:relative; overflow:hidden; min-height:847px; padding-top:42px; display:flex; flex-direction:column; background:#7f97a6; }
.cw-hero-bg { position:absolute; 
  inset:0;
  background-image: url("../assets/img/16832.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index:0; }
.cw-hero-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(320px, 26.1806vw, 377px);
  background: linear-gradient(
    0deg,
    rgba(37, 59, 59, 0.90) 29.07%,
    rgba(37, 59, 59, 0) 100%
  );
}
/* Second bottom gradient */
/* Second bottom gradient */
.cw-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(320px, 26.1806vw, 377px);
  pointer-events: none;

  background: linear-gradient(
    0deg,
    #253b3b 29.07%,
    rgba(37, 59, 59, 0) 100%
  );

  mix-blend-mode: overlay;
}
.cw-hero-inner { position:relative; z-index:2; text-align:center; display:flex; flex-direction:column; align-items:center; flex:1 1 auto; padding-bottom:2.5rem; }
.cw-hero-eyebrow {font-family:var(--ff-btn); font-size:clamp(1.1rem,2vw,1.75rem); color:var(--navy); letter-spacing:.06em; margin: 0 0 .5rem; line-height:1.1; }
.cw-hero-price-block { margin-top:auto; }
.cw-hero-offer { display:flex; flex-direction:column; align-items:center; }

.cw-tagline { color:#FFF; text-align:center; font-family:var(--ff-head); font-size:22.9px; font-style:normal; font-weight:400; line-height:normal; margin:0 0 .6rem; }
.cw-price { color:#F63232; text-align:center; font-family:var(--ff-sub); font-size:82.006px; font-style:normal; font-weight:900; line-height:1; text-transform:uppercase; margin:0; }
.cw-hero-offer .cw-fine { color:#FFF; font-size:10px; margin:.85rem 0 1rem; }
.cw-hero-cta {
  min-width:315px;
  margin:0;
  border:0;
  border-radius:14px;
  background:linear-gradient(180deg, #B20F00 0%, #840B00 100%);
  box-shadow:0 0 23px 0 rgba(243, 0, 0, .25);
  width: 316px;
  height: 70px;
}

.cw-hero-cta:hover,
.cw-hero-cta:focus {
  color:#fff;
  background:linear-gradient(180deg, #c91200 0%, #940d00 100%);
  box-shadow:0 0 27px 0 rgba(243,0,0,.35);
}

.cw-hero {
  isolation: isolate;
}

.cw-hero-offer {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.cw-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(240px, 29.45vw, 424px);
  pointer-events: none;

  background: linear-gradient(
    180deg,
    #e1e6ec 30.42%,
    rgba(225, 230, 236, 0.39) 82.61%,
    rgba(225, 230, 236, 0) 100%
  );
}

.cw-hero-scrim {
  z-index: 1;
}

@media (max-width: 575.98px) {
  .cw-hero::before {
    height: 210px;
  }
}

/* Blurred Figma background */


/* ---------- Feature package ---------- */
.package-col .cw-copy{
  text-align: center;
}

.package-col .cw-copy.txt-copper{
  margin-top: 1rem;
}
.cw-feat-visual { aspect-ratio: 270 / 160; border:1px solid var(--copper); border-radius:10px; overflow:hidden; margin-bottom:.5rem; display:flex; align-items:center; justify-content:center; background:#eee; }
.cw-feat-visual img { width:100%; height:100%; object-fit:cover; }
.cw-feat-visual--badge { background:linear-gradient(135deg,#0a2036,#123); }
.cw-amsa-badge { position:relative; text-align:center; }
.cw-amsa-badge img { width:108px; height:auto; }
.cw-amsa-badge span { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; font-family:var(--ff-sub); font-weight:900; color:var(--copper); text-transform:uppercase; text-shadow:0 1px 0 #69411e; }
.cw-amsa-badge .a1 { font-size:20px; line-height:1; } .cw-amsa-badge .a2 { font-size:10px; letter-spacing:.28em; margin-left:.28em; }
.cw-feat-title { margin-bottom:.75rem; text-align: center; min-height: 46px;}
.cw-feat-list { list-style:none; padding:0; margin:0; font-size:15px; }
.cw-feat-list li { display:flex; gap:22px; align-items:center; margin-bottom:10px; }
.cw-feat-list li img { width:auto; max-height:17px; height: 100%; margin-top:2px; flex:0 0 auto; }


/* AMSA card */
.cw-feat-visual--amsa {
  justify-content: space-between;
  padding: 0px 6px;

  background-image:
    linear-gradient(
      90deg,
      rgba(0, 20, 32, 0.08),
      rgba(0, 20, 32, 0.28)
    ),
    url("../assets/img/579_1 4.png");

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.cw-feat-visual--amsa .cw-amsa-seal {
  width: 50%;
  height: auto;
  object-fit: contain;
}

.cw-feat-visual--amsa .cw-amsa-authority {
  width: 50%;
  height: auto;
  object-fit: contain;
}


/* NSW licence card */
.cw-feat-visual--licence {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  height: auto;
  aspect-ratio: 270 / 160;
  padding: 4% 5%;
  overflow: hidden;

  color: #07101f;
  background: #f6ede8;
  
  border-radius: 10px;
}

.cw-feat-visual--licence .cw-licence-header {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8cqw;
}

.cw-feat-visual--licence img.cw-licence-logo {
  display: block;
  flex: 0 0 auto;
  width: 23cqw;
  max-width: none;
  height: auto;
  padding: 0;
  object-fit: contain;
}

.cw-feat-visual--licence .cw-licence-name {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1cqw;

  font-family: var(--ff-head);
  font-size: clamp(0.7rem, 7cqw, 1.25rem);
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
}

.cw-feat-visual--licence .cw-licence-details {
  width: 100%;
  margin-top: 4cqw;

  font-size: clamp(0.48rem, 5cqw, 0.75rem);
  line-height: 1.15;
  white-space: nowrap;
}

.cw-feat-visual--licence .cw-licence-details p {
  margin: 0;
}

.cw-feat-visual--licence .cw-licence-details strong {
  font-weight: 800;
}

.cw-feat-visual--licence .cw-licence-divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 2.5cqw 0;
  background: var(--copper);
}

/* ---------- Disclaimer bar ---------- */
.cw-disclaimer { background:var(--cream); border-top:1px solid var(--grey-line); border-bottom:1px solid var(--grey-line); padding:1.1rem 0; }
.cw-disclaimer .row { align-items:center; }
.cw-disclaimer img { width:42px; height:42px; }
.cw-disclaimer p { margin:0; font-size:14px; color:var(--navy); }

/* ---------- Difference / license cards (dark) ---------- */
.cw-diff { background:var(--navy); }
.cw-diff-card { padding:2rem; height:100%; color:#fff; }


.cw-diff-card-head { display: flex; gap: 16px;}

.cw-diff-card .cw-h3 { color:#fff; 
display: flex; flex-direction: column; justify-content: center;}
.cw-diff-icon { width:48px; height:52px; object-fit:contain; margin-bottom:1rem; }

/* ---------- Usage possibilities ---------- */
.cw-ops { display:flex; flex-wrap:wrap; justify-content:center; gap:3rem; }
.cw-op { flex:1 1 130px; max-width:160px; text-align:center; }
.cw-op-icon { position:relative; display:inline-block; margin-bottom:.5rem; 
    border: 1px solid var(--copper);
    overflow: hidden;
    
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    width: 101px;
height: 90px;
aspect-ratio: 101/90;
border-radius: 10px;
background: url(<path-to-image>) lightgray -54.534px 0.132px / 187.095% 140.045% no-repeat;
margin: auto;
margin-bottom: 22px;
}

.cw-op-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    
}
.cw-op-icon--check::after { content:""; position:absolute; top:-2px; right:-4px; width:22px; height:22px; background:url("../assets/icons/approval.png") center/contain no-repeat; }
.cw-op p { font-size:15px; margin:0; color:#000; }

/* ---------- Evolution ---------- */
#evolution .cw-copy{
max-width: 1047px;
margin: auto;
    margin-bottom: 1rem;
}
.cw-evo-title { color:var(--navy); }
.cw-evo-upper { text-transform:uppercase; font-weight:700; font-family:var(--ff-body); }
.cw-evo-btn .cw-search {
  display: block;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin: 0;
  object-fit: contain;

  /* Converts the white PNG to dark */
  filter: brightness(0) saturate(100%);
}

.cw-evo-btn:hover .cw-search,
.cw-evo-btn:focus-visible .cw-search {
  /* Converts it back to white */
  filter: brightness(0) invert(1);
}
.cw-evo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 221px;
  height: 50px;
  padding: 0 24px;
  margin: 24px auto 0;

  color: var(--navy);
  background: transparent;
  border: 1px solid #022942;
  border-radius: 50px;

  font-family: "Archivo Narrow", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;

  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}



.cw-evo-btn:hover,
.cw-evo-btn:focus-visible {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.cw-evo-btn:hover .cw-search,
.cw-evo-btn:focus-visible .cw-search {
  filter: brightness(0) invert(1);
}
/* Gallery */
.cw-gallery-shell {
  max-width: 1440px;
  padding-inline: clamp(16px, 2.7vw, 40px);
}

.cw-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px 16px;
  max-width: 856px;
  margin: auto;
  margin-top: 45px;
}

.cw-gallery > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--copper);
  border-radius: 10px;
}

/* Large top-left image */
.cw-gallery > .cw-gallery-main {
  grid-column: span 4;
  aspect-ratio: 3.22 / 1;
}

/* Smaller top-right image */
.cw-gallery > .cw-gallery-side {
  grid-column: span 2;
  aspect-ratio: 1.55 / 1;
}

/* Mobile layout */
@media (max-width: 575.98px) {
  .cw-gallery-shell {
    padding-inline: 16px;
  }

  .cw-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .cw-gallery > .cw-gallery-main,
  .cw-gallery > .cw-gallery-side {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }
}

/* ---------- Specifications (light in V3) ---------- */
.cw-specs { background:#fff; }
.cw-specs-img { border-radius:10px; border:1px solid var(--copper); width:100%; object-fit:cover; }
.cw-spec-general { margin:0; color:var(--navy); }
.cw-spec-general > div { display:flex; gap:1rem; padding:.35rem 0; }
.cw-spec-general dt { font-weight:700; margin:0; font-size: 15px;} 
.cw-spec-general dd {
  margin: 0;
  text-align: left;
  font-size: 15px;
}

.cw-spec-general > div:first-child dd {
  font-weight: 700;
}
.cw-spec-general dt::after{content:":";}
/* Specifications tables */
.cw-spec-grid {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 72px;
}

.cw-spec-box {
  --spec-label-width: 42%;

  height: auto;
  padding: 0;
  overflow: hidden;

  color: var(--navy);
  background: #fff;
  border: 1px solid var(--copper);
  border-radius: 10px;

  font-family: var(--ff-sub);
}

/* Different divider positions from the design */
.cw-spec-box--engines,
.cw-spec-box--onboard {
  --spec-label-width: 50%;
}

.cw-spec-box--extras {
  --spec-label-width: 31%;
}

.cw-spec-box--safety {
  --spec-label-width: 38%;
}

/* Table headings */
.cw-spec-h {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 30px;
  margin: 0;

  color: var(--navy);
  border-bottom: 1px solid var(--copper);

  font-family: var(--ff-sub);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: none;
}

/* Only the first two headings are uppercase */
.cw-spec-box--engines > .cw-spec-h,
.cw-spec-box--extras > .cw-spec-h {
  text-transform: uppercase;
}

/* Registration heading inside the Safety card */
.cw-spec-h--sub {
  min-height: 56px;
  margin: 0;
  border-top: 1px solid var(--copper);
  border-bottom: 1px solid var(--copper);
  text-transform: none;
}

/* Table structure */
.cw-spec-box dl {
  margin: 0;
}

.cw-spec-box dl > div {
  display: grid;
  grid-template-columns:
    var(--spec-label-width)
    minmax(0, 1fr);

  min-height: 52px;
  padding: 0;
  gap: 0;

  border-bottom: 1px solid var(--copper);
}

.cw-spec-box dl > div:last-child {
  border-bottom: 0;
}

/* Labels and values */
.cw-spec-box dt,
.cw-spec-box dd {
  display: flex;
  align-items: center;

  min-width: 0;
  padding: 10px 30px;
  margin: 0;

  font-size: 15px;
  line-height: 1.2;
  text-align: left;
  overflow-wrap: anywhere;
}

.cw-spec-box dt {
  font-weight: 700;
  border-right: 1px solid var(--copper);
}

.cw-spec-box dt::after {
  content: ":";
}

.cw-spec-box dd {
  font-weight: 600;
}


/* ---------- Optional extras (dark in V3) ---------- */
.cw-extras { background:var(--navy); }
.cw-extras .cw-extras-actions { 
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}


.cw-extra-icon {
  filter:
    brightness(0)
    saturate(100%)
    invert(37%)
    sepia(88%)
    saturate(1736%)
    hue-rotate(12deg)
    brightness(96%)
    contrast(62%);
}


  .cw-extra-card-head { display: flex; gap: 16px;}
.cw-extra-card{
  padding: 14px 28px 25px;
  border: 1px solid var(--copper);
  border-radius: 10px;
  
}

.cw-extra-list li{
font-size: 17px;
font-weight: 700;
line-height: 23px;
}


.cw-extras .cw-h2, .cw-extras .cw-h3 { color:#fff; }
.cw-extras .cw-copy { color:#fff; }
.cw-extra-icon { width:54px; height:54px; object-fit:contain; margin-bottom:1rem; 
}


/* ---------- Contact section ---------- */
.cw-contact {
  position: relative;
  isolation: isolate;
  min-height: 438px;
  padding: 64px 0;
  overflow: hidden;
}

.cw-contact-bg {
  position: absolute;
  z-index: -2;
  inset: 0;

  background-image: url("/wp-content/uploads/2026/07/Group-141.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.cw-contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.cw-contact > .container-xxl {
  position: relative;
  z-index: 1;
}

.cw-contact-content {
  width: min(100%, 480px);
}

.cw-contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.cw-contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--navy);

  font-family: var(--ff-sub);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.cw-contact-icon {
  display: block;
  flex: 0 0 16px;

  width: 16px;
  height: 16px;
  object-fit: contain;

  /* Converts the icons to copper */
  filter:
    brightness(0)
    saturate(100%)
    invert(37%)
    sepia(88%)
    saturate(1736%)
    hue-rotate(12deg)
    brightness(96%)
    contrast(62%);
}
.cw-contact .cw-contact-detail > a,
.cw-contact .cw-contact-detail > span {
  text-decoration: none;
  color:var(--navy);
}

.cw-contact-detail a:hover {
  text-decoration: underline;
}

.cw-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;

  width: min(100%, 316px);
  margin-top: 40px;
  margin-left: 8px;
}

.cw-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 70px;
  min-width: 0;
  padding: 0 24px;

  border-radius: 14px;
  text-align: center;
}

.cw-contact-btn--buy {
  color: #fff;
  border: 0;
  background: linear-gradient(180deg, #b20f00 0%, #840b00 100%);
  box-shadow: 0 0 23px rgba(243, 0, 0, 0.25);
}

.cw-contact-btn--buy:hover,
.cw-contact-btn--buy:focus-visible {
  color: #fff;
  background: linear-gradient(180deg, #c91200 0%, #940d00 100%);
  box-shadow: 0 0 27px rgba(243, 0, 0, 0.35);
}

.cw-contact-btn--enquire {
  color: var(--navy);
  border: 1px solid var(--navy);
  background: rgba(255, 255, 255, 0.12);
}

.cw-contact-btn--enquire:hover,
.cw-contact-btn--enquire:focus-visible {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

@media (max-width: 991.98px) {
  .cw-contact {
    min-height: 420px;
    padding: 56px 0;
  }

  .cw-contact-bg {
    background-position: 60% center;
  }

  .cw-contact-content {
    max-width: 420px;
  }
}

@media (max-width: 767.98px) {
  .cw-contact {
    min-height: auto;
    padding: 48px 0;
  }

  .cw-contact-bg {
    background-position: 65% center;
  }

  .cw-contact-bg::after {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.68) 58%,
      rgba(255, 255, 255, 0.25) 100%
    );
  }

  .cw-contact-content {
    width: min(100%, 360px);
  }

  

  .cw-contact-actions {
    margin-top: 32px;
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  .cw-contact {
    padding: 40px 0;
  }

  .cw-contact-details {
    gap: 16px;
  }

  .cw-contact-detail {
    gap: 10px;

  }

  .cw-contact-btn {
    height: 58px;
  }
}

/* ---------- Footer ---------- */
.cw-footer { background:var(--navy-2); color:#fff; padding:2rem 0; text-align:center; }
.cw-footer p { margin:0; font-size:15px; }

/* ---------- Forms ---------- */
.cw-form-title { font-family:"Archivo Black",system-ui,sans-serif; color:var(--form-head); font-size:1.4rem; line-height:1.15; margin-bottom:.5rem; }
.cw-form-sub { font-family:var(--ff-body); font-weight:300; font-size:14px; margin-bottom:1.1rem; color:#333; }
.cw-lead-form .form-control { border:.5px solid var(--form-border); border-radius:5px; font-size:13px; padding:.7rem .9rem; margin-bottom:.85rem; color:var(--navy); }
.cw-lead-form .form-control::placeholder { color:var(--form-label); }
.cw-lead-form .form-control:focus { box-shadow:0 0 0 .15rem rgba(183,111,49,.25); border-color:var(--copper); }
.cw-lead-form .form-control.is-invalid { border-color:#c0392b; }
.cw-invalid-msg { display:none; color:#c0392b; font-size:12px; margin:-.6rem 0 .7rem; }
.cw-lead-form .form-control.is-invalid ~ .cw-invalid-msg { display:block; }
.cw-form-submit { width:100%; background:var(--maroon); color:#fff; border:1px solid #fff; border-radius:50px; padding:.8rem; font-family:var(--ff-btn); font-size:15px; letter-spacing:.04em; margin-top:.25rem; transition:background .2s; }
.cw-form-submit:hover { background:#3f1512; }
.cw-form-submit:disabled { opacity:.6; }
.cw-form-secondary { display:block; width:100%; text-align:center; background:transparent; border:1px solid var(--navy); color:var(--navy); border-radius:50px; padding:.8rem; font-family:var(--ff-btn); font-size:15px; margin-top:.75rem; text-decoration:none; transition:all .2s; }
.cw-form-secondary:hover { background:var(--navy); color:#fff; }
.cw-form-success { display:none; text-align:center; padding:1rem 0; }
.cw-form-success .cw-tick { width:56px; height:56px; border-radius:50%; background:var(--copper); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:28px; margin-bottom:1rem; }
.cw-form-success h4 { font-family:"Archivo Black",system-ui,sans-serif; color:var(--form-head); font-size:1.3rem; margin-bottom:.5rem; }
.cw-form.is-sent .cw-lead-form { display:none; }
.cw-form.is-sent .cw-form-success { display:block; }

/* ---------- Registration modal (blocking, split card) ---------- */
.cw-reg .modal-dialog { max-width:820px; }
.cw-reg .modal-content { border:0; border-radius:10px; overflow:hidden; }
.cw-reg-grid { display:grid; grid-template-columns:1fr 1fr; }
.cw-reg-form { padding:2.25rem 2rem; }
.cw-reg-form .cw-form-title { color:var(--form-head); }
.cw-reg-voucher { font-family:var(--ff-body); font-weight:300; font-size:15px; margin-bottom:1.1rem; color:#333; }
.cw-reg-img { background:center/cover no-repeat; min-height:100%; }

/* ---------- Modals (dark advantages + form modals) ---------- */
.cw-modal-dark .modal-content { background:var(--navy); border:0; border-radius:10px; color:#fff; }
.cw-modal-dark .modal-header { border-bottom:0; padding:2.75rem 2rem .25rem; position:relative; }
.cw-modal-dark .modal-title { width:100%; text-align:center; color:#fff; }
.cw-modal-dark .btn-close { position:absolute; top:1.4rem; right:1.5rem; filter:invert(1) grayscale(1) brightness(2); opacity:.9; }
.cw-modal-dark .modal-body { padding:1.25rem 2rem; }
.cw-modal-dark .modal-footer { border-top:0; flex-direction:column; padding:.5rem 2rem 2.25rem; }
.cw-adv-col h4 { color:var(--copper); font-family:var(--ff-sub); font-weight:800; font-size:1.25rem; margin-bottom:.6rem; }
.cw-adv-col .cw-copy { color:#fff; }
.cw-adv-list { padding-left:1.1rem; margin-bottom:.75rem; } .cw-adv-list li { margin-bottom:.3rem; }
.cw-modal-form .modal-content { border:0; border-radius:10px; }
.cw-modal-form .modal-body { padding:2rem; }
.cw-modal-form .btn-close { position:absolute; top:1rem; right:1rem; z-index:3; }
.cw-cal-note { font-size:13px; color:var(--form-label); text-align:center; margin-top:.75rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:991.98px){
  .cw-navbar { background:rgba(255,255,255,.95); }
  .cw-nav-links { padding:.5rem 0; } .cw-nav-cta { margin-top:.5rem; display:inline-block; }
  .cw-hero { min-height:auto; }
  .cw-hero-price-block { margin-top:2.5rem; }
  .cw-gallery { margin-top:2rem; }
  .cw-evo-order { flex-direction:column; }
  .cw-contact-lead { text-align:center; }
}
@media (max-width:767.98px){
  
  
  
  .cw-op { flex-basis:40%; max-width:45%; }
  .cw-disclaimer { text-align:center; } .cw-disclaimer img { margin-bottom:.75rem; }
  .cw-reg-grid { grid-template-columns:1fr; }
  .cw-reg-img { min-height:170px; order:-1; }
}
@media (max-width:575.98px){
  .btn-cw-primary,.btn-cw-outline,.btn-cw-outline-light { width:100%; }
  .cw-tagline { font-size:clamp(1rem,5vw,1.25rem); }
  .cw-price { font-size:clamp(3rem,15vw,4.5rem); line-height:.72; }
  .cw-hero-cta { min-width:0; }
}
@media (max-width: 820px) {
   .cw-diff-card{
    padding: 0;
  }
}

/* =========================================
   Responsive specification tables
   ========================================= */

/* Tablet: stack cards but retain table columns */
@media (max-width: 991.98px) {
  .cw-spec-grid {
    --bs-gutter-y: 24px;
  }

  .cw-spec-box {
    width: 100%;
  }

  .cw-spec-box dl > div {
    grid-template-columns:
      var(--spec-label-width)
      minmax(0, 1fr);
    gap: 0;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .cw-spec-grid {
    --bs-gutter-y: 16px;
  }

  /* Give labels enough room on narrow screens */
  .cw-spec-box--engines,
  .cw-spec-box--extras,
  .cw-spec-box--onboard,
  .cw-spec-box--safety {
    --spec-label-width: 40%;
  }

  .cw-spec-h,
  .cw-spec-h--sub {
    min-height: 48px;
    padding: 12px 16px;

    font-size: 14px;
    line-height: 1.2;
  }

  .cw-spec-box dl > div {
    grid-template-columns:
      var(--spec-label-width)
      minmax(0, 1fr);

    min-height: 48px;
    gap: 0;
  }

  .cw-spec-box dt,
  .cw-spec-box dd {
    min-width: 0;
    padding: 10px 12px;

    font-size: 12px;
    line-height: 1.3;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  /* General specifications above the cards */
  .cw-spec-general > div {
    display: grid;
    grid-template-columns: 40% minmax(0, 1fr);
    gap: 12px;
    
  }

  .cw-spec-general dd {
    min-width: 0;
    text-align: left;
    overflow-wrap: anywhere;
    font-size: 15px;
  }
}

/* Very narrow phones */
@media (max-width: 359.98px) {
  .cw-spec-box--engines,
  .cw-spec-box--extras,
  .cw-spec-box--onboard,
  .cw-spec-box--safety {
    --spec-label-width: 38%;
  }

  .cw-spec-h,
  .cw-spec-h--sub {
    padding-inline: 12px;
    font-size: 13px;
  }

  .cw-spec-box dt,
  .cw-spec-box dd {
    padding: 9px 10px;
    font-size: 12px;
  }

  .cw-spec-general > div {
    grid-template-columns: 38% minmax(0, 1fr);
    gap: 10px;
  }
}

/* Specification section container */
@media (min-width: 1400px) {
  .cw-specs > .container-xxl {
    padding-inline: 0;
  }
}

@media (max-width: 575.98px) {
  .cw-specs > .container-xxl {
    padding-inline: 16px;
  }
}

/* Let the entire advantages modal move when scrolling */
#advantagesModal {
  overflow-x: hidden;
  overflow-y: auto;
}

#advantagesModal .modal-dialog {
  margin: 16px auto;
}

#advantagesModal .modal-content {
  height: auto;
  max-height: none;
  overflow: visible;
}

#advantagesModal .modal-body {
  height: auto;
  max-height: none;
  overflow: visible;
}

/* Use more screen width to reduce text wrapping */
@media (min-width: 1200px) {
  #advantagesModal .modal-dialog {
    width: calc(100% - 32px);
    max-width: 1360px;
  }
}


/* Clickable gallery images */
.cw-gallery > img {
  cursor: zoom-in;
}

.cw-gallery > img:focus-visible {
  outline: 3px solid #f63232;
  outline-offset: 4px;
}
/* Gallery lightbox */
.cw-gallery-modal .cw-gallery-dialog {
  width: calc(100% - 32px);
  max-width: 1400px;
  margin-inline: auto;
}

.cw-gallery-modal .modal-content {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cw-gallery-modal .modal-body {
  min-height: 0;
  padding: 0;
}

.cw-gallery-modal .carousel,
.cw-gallery-modal .carousel-inner {
  width: 100%;
}

.cw-gallery-modal .carousel-item {
  text-align: center;
}

.cw-gallery-modal .carousel-item img {
  display: block;

  /* Do not stretch smaller images */
  width: auto;
  max-width: 100%;

  height: auto;
  max-height: calc(100dvh - 64px);

  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
}

/* Close button */
.cw-gallery-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1065;

  width: 40px;
  height: 40px;
  padding: 11px;
  border-radius: 50%;
  opacity: 1;
}

/* Previous and next buttons */
.cw-gallery-modal .carousel-control-prev,
.cw-gallery-modal .carousel-control-next {
  width: 70px;
  z-index: 5;
}

.cw-gallery-modal .carousel-control-prev-icon,
.cw-gallery-modal .carousel-control-next-icon {
  width: 44px;
  height: 44px;

  background-color: rgba(0, 12, 29, 0.7);
  background-size: 18px;
  border-radius: 50%;
}

/* Image counter */
.cw-gallery-counter {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 5;

  transform: translateX(-50%);
  padding: 6px 12px;

  color: #fff;
  font-size: 14px;
  line-height: 1;

  background: rgba(0, 12, 29, 0.75);
  border-radius: 20px;
}

@media (max-width: 767.98px) {
  .cw-gallery-modal .cw-gallery-dialog {
    width: calc(100% - 20px);
  }

  .cw-gallery-modal .carousel-item img {
    max-height: calc(100dvh - 32px);
  }

  .cw-gallery-modal .carousel-control-prev,
  .cw-gallery-modal .carousel-control-next {
    width: 52px;
  }

  .cw-gallery-close {
    top: 12px;
    right: 12px;
  }
}

.cw-gallery-modal .carousel-inner,
.cw-gallery-modal .carousel-item {
  min-height: calc(100dvh - 64px);
}

.cw-gallery-modal .carousel-item.active,
.cw-gallery-modal .carousel-item-next,
.cw-gallery-modal .carousel-item-prev {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cw-gallery-modal .carousel-item img {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cw-gallery-modal .carousel-item img.is-loaded {
  opacity: 1;
}

.cw-gallery-modal .carousel-item.is-loading::after {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 42px;
  height: 42px;

  content: "";
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;

  transform: translate(-50%, -50%);
  animation: cw-gallery-spin 0.75s linear infinite;
}

@keyframes cw-gallery-spin {
  to {
    transform:
      translate(-50%, -50%)
      rotate(360deg);
  }
}

@media (max-width: 767.98px) {
  .cw-gallery-modal .carousel-inner,
  .cw-gallery-modal .carousel-item {
    min-height: calc(100dvh - 32px);
  }
}

@media (min-width: 1200px) {
  #inspectionModal .modal-dialog {
    width: calc(100% - 48px);
    max-width: 1280px;
  }
}