:root {
  --bg: #f7f6f3;
  --paper: #ffffff;
  --ink: #14110f;
  --muted: #6f6860;
  --line: #d7deef;
  --primary: #2040a0;
  --primary-dark: #132866;
  --primary-soft: #eef2ff;
  --shadow: 0 22px 55px rgba(23, 19, 15, 0.12);
  --heading: "Sora", Arial, sans-serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fbfaf8 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.browser-frame {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto auto auto 1fr auto;
  align-items: center;
  gap: 11px;
  min-height: 60px;
  padding: 11px 24px;
  border-bottom: 1px solid #dad7d1;
  background: #eceae6;
  color: #8b8780;
  font-size: 14px;
}

.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.red { background: #fa5b55; }
.yellow { background: #f4c14c; }
.green { background: #58c66b; }

.address {
  justify-self: center;
  width: min(640px, 55vw);
  padding: 7px 16px;
  border-radius: 10px;
  background: #dfdcd7;
  text-align: center;
}

.address i {
  float: left;
  margin-top: 3px;
  opacity: 0.45;
}

.refresh {
  margin-right: 12px;
}

.site-header {
  position: sticky;
  top: 0px;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  max-width: 1390px;
  min-height: 92px;
  margin: 0 auto;
  padding: 10px 72px;
}

.brand {
  display: inline-flex;
  width: 100%;
  height: 55px;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 38px);
  color: #1d1a17;
  font-family: var(--sans);
  font-size: 14px;
}

.nav-menu a {
  position: relative;
  padding: 10px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: var(--primary-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
}

.nav-menu a:hover {
  color: var(--primary-dark);
}

.nav-menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions,
.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.btn:hover {
  box-shadow: 0 14px 26px rgba(32, 64, 160, 0.2);
}

.btn-gold {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}

.btn-outline {
  border-color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.82);
  color: #171411;
}

.btn-outline:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-primary {
  background: var(--primary-dark);
  color: #fff;
  border: 1px solid transparent;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--primary-dark);
}


.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--primary-dark);
  cursor: pointer;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 710px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 42%, rgba(255, 255, 255, 0.42) 56%, rgba(255, 255, 255, 0.03) 72%),
    url("../img/banner/hero-section.png") center center / cover no-repeat;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(560px, calc(100% - 44px));
  margin-left: max(92px, calc((100vw - 1220px) / 2));
  padding: 70px 0 62px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--heading);
  line-height: 1.08;
}

h1 {
  max-width: 560px;
  font-size: clamp(50px, 5.2vw, 68px);
  font-weight: 700;
}

h1 em {
  display: block;
  font-weight: 500;
}

.rule {
  width: 58px;
  height: 2px;
  margin: 24px 0;
  background: var(--primary);
}

.hero-text {
  max-width: 390px;
  margin: 0 0 26px;
  color: #24201d;
  font-size: 17px;
}

.hero-image,
.service-media,
.result-image,
.cta-image {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(20, 17, 15, 0.05), rgba(32, 64, 160, 0.16)),
    #d8d4cd;
  background-position: center;
  background-size: cover;
}

.hero-image img,
.service-media img,
.result-image img,
.cta-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-image img ~ .image-fallback,
.service-media img ~ .image-fallback,
.result-image img ~ .image-fallback,
.cta-image img ~ .image-fallback {
  display: none;
}
.hero-image::after,
.service-media::after,
.result-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.22));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hero-image:hover::after,
.service-media:hover::after,
.result-image:hover::after,
.cta-image:hover::after {
  opacity: 1;
}

.hero-image {
  display: none;
}

.image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  color: rgba(20, 17, 15, 0.42);
  font-family: var(--heading);
  font-size: 28px;
  text-align: center;
}

.has-image .image-fallback {
  display: none;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1220px;
  margin: 0 auto;
  padding: 36px 22px;
}

.proof-item {
  display: flex;
  gap: 18px;
  min-height: 102px;
  padding: 12px 28px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item i {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 34px;
}

.proof-item strong,
.process-step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.proof-item p,
.process-step p,
.service-card p,
.cta-panel p {
  margin: 0;
  color: #302b27;
  font-size: 13px;
}

.section {
  max-width: 1096px;
  margin: 0 auto;
  padding: 30px 22px 0;
}

.section-heading {
  margin-bottom: 20px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  background: var(--paper);
}

.service-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  min-height: 184px;
  padding: 38px 50px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  transition: background 0.28s ease, transform 0.28s ease;
}

.service-card:nth-last-child(-n + 2),
.service-media:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.service-card:hover {
  background: var(--primary-soft);
  transform: translateY(-3px);
}

.service-card i {
  color: var(--primary);
  font-size: 35px;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 30px;
  font-weight: 600;
}

.service-media {
  min-height: 250px;
  border-bottom: 1px solid var(--line);
}

.service-media:hover {
  transform: scale(1.01);
}

.process {
  max-width: 1190px;
  padding-top: 42px;
}

.process-row {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items: center;
  gap: 6px;
}

.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 124px;
}

.process-step i {
  color: var(--primary);
  font-size: 42px;
}

.arrow {
  color: #9aa9e8;
  text-align: center;
}

.results-band {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 34px;
  align-items: center;
  max-width: 1210px;
  min-height: 250px;
  margin: 44px auto 28px;
  padding: 20px 0px 20px 88px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--primary-soft) 0%, #f7f5f0 100%);
}

.testimonial h2,
.cta-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 700;
}

blockquote {
  max-width: 480px;
  margin: 0 0 16px;
  color: #1f1b18;
  font-size: 14px;
}

cite {
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 214px;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 12px 28px rgba(23, 19, 15, 0.14);
}

.result-image {
  min-height: 214px;
}

.result-image + .result-image {
  border-left: 1px solid rgba(255, 255, 255, 0.75);
}

.result-image span {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(19, 40, 102, 0.84);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
  max-width: 1210px;
  min-height: 180px;
  margin: 0 auto 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 30px rgba(32, 64, 160, 0.1);
}

.cta-copy {
  /* padding-left: 88px; */
  padding: 20px 0px 20px 50px;
}

.cta-copy h2 {
  max-width: 400px;
  margin-bottom: 12px;
}

.cta-image {
  align-self: stretch;
  min-height: 180px;
  background: var(--primary-soft);
}

.cta-actions {
  flex-direction: column;
  align-items: stretch;
  /* padding-right: 44px; */
  margin-top: 15px;
  max-width: 220px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.86s cubic-bezier(0.22, 1, 0.36, 1), transform 0.86s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-reveal {
  opacity: 0;
  transform: translateY(38px);
  filter: blur(8px);
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1), filter 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
@media (max-width: 1180px) {
  .navbar {
    padding-inline: 32px;
  }

  .nav-actions {
    display: none;
  }

  .hero-copy {
    margin-left: 32px;
  }

  .results-band,
  .cta-panel {
    margin-inline: 24px;
  }
}

@media (max-width: 1040px) {
  .navbar {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
  }

  .nav-menu,
  .nav-actions {
    display: none;
  }

  .nav-menu.is-open,
  .nav-actions.is-open {
    display: flex;
    grid-column: 1 / -1;
  }

  .nav-menu.is-open {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 8px;
  }

  .nav-actions.is-open {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 450px;
    height: 400px;
    background-position: 62% center;
    background-size: cover!important;
  }

  .hero-copy {
    margin-left: 32px;
    padding-block: 58px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .results-band,
  .cta-panel {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .cta-copy,
  .cta-actions {
    padding: 0;
  }
}

@media (max-width: 760px) {
  .browser-frame {
    display: none;
  }

  .site-header {
    top: 0;
  }

  .navbar {
    min-height: 74px;
    padding: 5px 18px;
  }

  .brand img {
    width: 150px;
  }

  .hero {
    height: 500px;
    min-height: 520px;
    background: url("../img/banner/mobile-section.png") 64% center / cover no-repeat;
  }

  .hero-copy {
    width: calc(100% - 40px);
    margin: 0 20px;
    padding: 44px 0;
  }

  h1 {
    font-size: 44px;
  }

  .hero-actions,
  .nav-actions.is-open {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .proof-strip,
  .service-grid,
  .process-row,
  .before-after {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .service-card,
  .service-media {
    min-height: 168px;
    border-bottom: 1px solid var(--line);
  }

  .service-card {
    grid-template-columns: 42px 1fr;
    padding: 28px 22px;
    gap: 25px;
  }

  .service-card h3 {
    font-size: 24px;
  }

  .arrow {
    display: none;
  }

  .process-row {
    gap: 16px;
  }

  .process-step {
    min-height: auto;
  }

  .results-band {
    margin-inline: 18px;
    padding: 24px;
  }

  .result-image + .result-image {
    border-top: 1px solid rgba(255, 255, 255, 0.75);
    border-left: 0;
  }

  .cta-panel {
    margin-inline: 18px;
  }
}

@media only screen and (min-width: 1300px) and (max-width: 1550px) {
  .service-media {
    min-height: 220px;
  }
  .cta-copy h2 {
    max-width: 400px;
  }
  h1 {
    font-size: 60px;
  }
  .hero {
    height: 500px;
  }
  .hero-text {
    max-width: 500px;
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.service-grid .service-media:nth-child(1) img,
.service-grid .service-media:nth-child(4) img,
.service-grid .service-media:nth-child(5) img,
.service-grid .service-media:nth-child(8) img,
.cta-image img {
  /* object-position: center center; */
  object-position: top;
}
/* logo animation theme overrides */
:root {
  --line: #d7deef;
  --primary: #2040a0;
  --primary-dark: #132866;
  --primary-soft: #eef2ff;
  --shadow: 0 22px 55px rgba(32, 64, 160, 0.14);
}

body {
  animation: page-fade 0.8s ease both;
}

.site-header {
  animation: header-drop 0.65s ease both;
  box-shadow: 0 8px 26px rgba(32, 64, 160, 0.08);
}

.brand img {
  transition: transform 0.32s ease, filter 0.32s ease;
}

.nav-menu a {
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-menu a:hover {
  transform: translateY(-2px);
}

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.38) 45%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn:hover i {
  transform: translateX(3px);
}

.btn i {
  transition: transform 0.24s ease;
}

.hero {
  animation: hero-settle 1s ease both;
}

.hero-copy > * {
  animation: copy-rise 0.75s ease both;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.32s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.4s; }

.rule {
  transform-origin: left;
  animation: rule-grow 0.7s ease 0.3s both;
}

.proof-item,
.process-step,
.results-band,
.cta-panel {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.proof-item:hover,
.process-step:hover {
  background: rgba(238, 242, 255, 0.72);
  transform: translateY(-4px);
}

.proof-item:hover i,
.process-step:hover i,
.service-card:hover i {
  transform: scale(1.1) rotate(-3deg);
}

.proof-item i,
.process-step i,
.service-card i {
  transition: color 0.28s ease, transform 0.28s ease;
}

.service-card {
  border-color: var(--line);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  border-color: rgba(32, 64, 160, 0.32);
  box-shadow: inset 4px 0 0 var(--primary), 0 16px 36px rgba(32, 64, 160, 0.12);
}

.service-media,
.result-image,
.cta-image {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.service-media:hover,
.result-image:hover,
.cta-image:hover {
  filter: saturate(1.06) contrast(1.03);
}

.service-media img,
.result-image img,
.cta-image img {
  transition: transform 0.55s ease, filter 0.55s ease;
}

.result-image img {
  object-position: top;
}

.service-media:hover img,
.result-image:hover img {
  transform: scale(1.06);
}

.before-after:hover .result-image span {
  background: var(--primary-dark);
}

.back-to-top {
  box-shadow: 0 14px 30px rgba(32, 64, 160, 0.28);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.back-to-top:hover {
  background: var(--primary);
  box-shadow: 0 18px 36px rgba(32, 64, 160, 0.34);
  transform: translateY(-4px);
}

.btn:hover {
  box-shadow: 0 14px 26px rgba(32, 64, 160, 0.22);
}

.result-image span {
  background: rgba(19, 40, 102, 0.84);
}

.cta-panel {
  box-shadow: 0 8px 30px rgba(32, 64, 160, 0.1);
}

@keyframes page-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes header-drop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-settle {
  from {
    background-size: 106%;
  }
  to {
    background-size: 100%;
  }
}

@keyframes copy-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rule-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 82px;
  z-index: 70;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(18, 140, 126, 0.32);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
  animation: whatsapp-pulse 2.3s ease-in-out infinite;
}

.whatsapp-float i {
  font-size: 27px;
}

.whatsapp-float:hover,
.whatsapp-float.is-active {
  filter: saturate(1.12);
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 22px 42px rgba(18, 140, 126, 0.42);
}

.whatsapp-modal {
  position: fixed;
  right: 22px;
  bottom: 148px;
  z-index: 75;
  width: min(360px, calc(100vw - 32px));
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.whatsapp-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.whatsapp-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(32, 64, 160, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(19, 40, 102, 0.18);
  backdrop-filter: blur(16px);
}

.whatsapp-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #25d366, var(--primary));
}

.whatsapp-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--primary-dark);
  cursor: pointer;
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.whatsapp-close:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: rotate(90deg);
}

.whatsapp-card-head {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding-right: 34px;
}

.whatsapp-card-head span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.28);
}

.whatsapp-card-head span i {
  font-size: 25px;
}

.whatsapp-card-head .eyebrow {
  margin-bottom: 4px;
}

.whatsapp-card h2 {
  font-size: 23px;
}

.whatsapp-copy {
  margin: 16px 0 12px;
  color: #302b27;
  font-size: 14px;
}

.whatsapp-card textarea {
  width: 100%;
  min-height: 104px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
  resize: vertical;
  outline: none;
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.whatsapp-card textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(32, 64, 160, 0.12);
}

.whatsapp-send {
  width: 100%;
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: 0 16px 34px rgba(18, 140, 126, 0.32);
  }
  50% {
    box-shadow: 0 16px 34px rgba(18, 140, 126, 0.32), 0 0 0 10px rgba(37, 211, 102, 0.12);
  }
}

@media (max-width: 760px) {
  .whatsapp-float {
    right: 18px;
    bottom: 78px;
  }

  .whatsapp-modal {
    right: 16px;
    bottom: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none !important;
  }
}
/* floating action position swap */
.whatsapp-float { bottom: 22px; }
.back-to-top { bottom: 86px; }
.whatsapp-modal { bottom: 90px; }
@media (max-width: 760px) { .whatsapp-float { bottom: 18px; } .back-to-top { bottom: 82px; } .whatsapp-modal { bottom: 86px; } }

/* minimal header */
.header-minimal { grid-template-columns: auto 1fr; }
.header-minimal .brand { justify-self: start; width: 200px; min-width: 160px; height: 58px; }
.header-minimal .nav-actions { display: flex; }
.header-minimal .nav-actions-right { justify-self: end; }
.header-minimal .nav-actions.is-open { display: flex; }
@media (max-width: 760px) {
  .header-minimal {
    display: flex;
    justify-content: space-between;
    /* grid-template-columns: 1fr;
    justify-items: start; */
    min-height: 74px;
    padding: 5px 18px;
  }

  .header-minimal .brand {
    width: 132px;
    min-width: 132px;
    justify-self: center;
  }

  .header-minimal .nav-actions,
  .header-minimal .nav-actions.is-open {
    display: none;
  }
}

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 18px 20px; text-align: center; }
.site-footer p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 500; }

/* FontAwesome icon system */
.animated-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: var(--primary);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.animated-icon > i {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: currentColor;
  font-size: 34px;
  line-height: 1;
}

.proof-item > .animated-icon {
  width: 42px;
  height: 42px;
}

.service-card > .animated-icon {
  width: 48px;
  height: 48px;
}

.proof-item:hover .animated-icon,
.process-step:hover .animated-icon,
.service-card:hover .animated-icon {
  transform: translateY(-2px) scale(1.06);
  filter: saturate(1.08);
}
/* modern process cards */
.process {
  max-width: 1190px;
}

.process-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  isolation: isolate;
}

.process-row::before {
  content: none;
  display: none;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 16px;
  min-height: 214px;
  padding: 24px 20px 22px;
  overflow: hidden;
  border: 1px solid rgba(32, 64, 160, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 255, 0.88) 100%);
  box-shadow: 0 16px 38px rgba(19, 40, 102, 0.08);
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(19, 40, 102, 0.11);
  font-family: var(--heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.process-step::after {
  content: none;
  display: none;
}

.process-step:hover {
  border-color: rgba(32, 64, 160, 0.32);
  background: #fff;
  box-shadow: 0 22px 46px rgba(19, 40, 102, 0.13);
}

.process-step > .animated-icon {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(32, 64, 160, 0.15);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, var(--primary-soft) 100%);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.7), 0 12px 28px rgba(32, 64, 160, 0.1);
}

.process-step > .animated-icon > i {
  font-size: 36px;
}

.process-step strong {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 17px;
}

.process-step p {
  max-width: 220px;
  color: #302b27;
  font-size: 13px;
}

@media (max-width: 1040px) {
  .process-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-row::before {
    content: none;
    display: none;
  }
}

@media (max-width: 760px) {
  .process-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process-step {
    grid-template-columns: 62px 1fr;
    align-items: center;
    min-height: 128px;
    padding: 20px 18px;
  }

  .process-step > .animated-icon {
    width: 58px;
    height: 58px;
  }

  .process-step::before {
    top: 14px;
    right: 16px;
    font-size: 38px;
  }

  .process-step p {
    max-width: none;
  }
}


/* shop section */
.shop-section {
  padding-top: 48px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: 178px 1fr;
  overflow: hidden;
  border: 1px solid rgba(32, 64, 160, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(19, 40, 102, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  border-color: rgba(32, 64, 160, 0.32);
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(19, 40, 102, 0.13);
}

.product-visual {
  position: relative;
  overflow: hidden;
  background: var(--primary-soft);
}

/* .product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(19, 40, 102, 0.28));
  opacity: 0.72;
  pointer-events: none;
} */

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.product-card:hover .product-visual img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.04);
}

.product-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 246px;
  padding: 22px;
}

.product-badge {
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 4px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 700;
}

.product-card p {
  margin: 0 0 20px;
  color: #302b27;
  font-size: 13px;
}

.product-order {
  width: 100%;
  margin-top: auto;
}

@media (max-width: 1040px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shop-section {
    padding-top: 38px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-card {
    grid-template-rows: 150px 1fr;
  }

  .product-copy {
    min-height: auto;
  }
}
/* final section alignment */
:root {
  --section-max: 1210px;
}

.proof-strip,
.section,
.process,
.results-band,
.cta-panel {
  width: min(calc(100% - 44px), var(--section-max)) !important;
  max-width: var(--section-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.section,
.process {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.results-band {
  margin-top: 44px;
  margin-bottom: 28px;
}

.cta-panel {
  margin-top: 0;
  margin-bottom: 42px;
}

@media (max-width: 760px) {
  .proof-strip,
  .section,
  .process,
  .results-band,
  .cta-panel {
    width: min(calc(100% - 36px), var(--section-max)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}




/* cart and checkout */
.cart-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(32, 64, 160, 0.18);
  border-radius: 5px;
  background: #fff;
  color: var(--primary-dark);
  cursor: pointer;
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.cart-toggle:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(32, 64, 160, 0.2);
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(19, 40, 102, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.cart-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(430px, 100vw);
  height: 100vh;
  padding: 24px;
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px rgba(19, 40, 102, 0.18);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-head,
.checkout-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.cart-drawer h2,
.checkout-summary h2,
.checkout-form h2 {
  font-size: 26px;
}

.cart-close {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--primary-dark);
  cursor: pointer;
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.cart-close:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: rotate(90deg);
}

.cart-items,
.checkout-items {
  display: grid;
  gap: 14px;
  align-content: start;
  overflow: auto;
  padding: 22px 2px;
}

.cart-item,
.checkout-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 13px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(32, 64, 160, 0.14);
  border-radius: 8px;
  background: #fbfcff;
}

.checkout-item {
  grid-template-columns: 72px 1fr auto;
}

.cart-item img,
.checkout-item img {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
}

.cart-item strong,
.checkout-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.cart-item span,
.checkout-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.cart-item-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.cart-item-controls button {
  min-width: 30px;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--primary-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.cart-item-controls button:last-child {
  padding: 0 10px;
}

.cart-empty {
  margin: 22px 0;
  padding: 18px;
  border: 1px dashed rgba(32, 64, 160, 0.25);
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.cart-empty.is-hidden {
  display: none;
}

.cart-summary,
.checkout-total {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cart-summary > div,
.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

.cart-summary strong,
.checkout-total strong {
  color: var(--ink);
  font-size: 24px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 18px;
}

.product-meta span {
  color: var(--primary-dark);
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 800;
}

.product-meta small {
  padding: 4px 8px;
  border-radius: 4px;
  background: #eefaf3;
  color: #137341;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-main {
  width: min(calc(100% - 44px), var(--section-max));
  max-width: var(--section-max);
  margin: 0 auto;
  padding: 48px 0 58px;
}

.checkout-hero {
  max-width: 780px;
  margin-bottom: 28px;
}

.checkout-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 58px);
}

.checkout-hero p:last-child {
  max-width: 520px;
  color: #302b27;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: start;
}

.checkout-form,
.checkout-summary {
  padding: 26px;
  border: 1px solid rgba(32, 64, 160, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(19, 40, 102, 0.08);
}

.checkout-form {
  display: grid;
  gap: 16px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(32, 64, 160, 0.12);
}

.checkout-hidden-link {
  display: none;
}

@media (max-width: 1040px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-minimal .nav-actions-right {
    display: flex;
    justify-self: center;
  }

  .header-minimal .nav-actions-right > .btn {
    display: none;
  }

  .cart-drawer {
    padding: 20px;
  }

  .checkout-main {
    width: min(calc(100% - 36px), var(--section-max));
    padding-top: 36px;
  }

  .checkout-form,
  .checkout-summary {
    padding: 20px;
  }

  .checkout-item {
    grid-template-columns: 62px 1fr auto;
  }
}

.checkout-note {
  margin: 0;
  color: #302b27;
  font-size: 14px;
}

.checkout-step-list {
  display: grid;
  gap: 10px;
  margin: 4px 0 6px;
}

.checkout-step-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(32, 64, 160, 0.14);
  border-radius: 7px;
  background: #fbfcff;
  color: #302b27;
  font-size: 13px;
  font-weight: 800;
}

.checkout-step-list i {
  color: var(--primary);
}

/* theme-aligned cart buttons */
.cart-toggle,
.cart-close,
.cart-item-controls button {
  border-color: var(--primary-dark);
  border-radius: 5px;
  font-family: var(--sans);
  font-weight: 700;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.cart-toggle {
  background: var(--primary-dark);
  color: #fff;
}

.cart-toggle:hover,
.cart-toggle[aria-expanded="true"] {
  border-color: var(--primary-dark);
  background: transparent;
  color: var(--primary-dark);
  box-shadow: 0 14px 26px rgba(32, 64, 160, 0.2);
}

.cart-close,
.cart-item-controls button {
  background: rgba(255, 255, 255, 0.82);
  color: #171411;
}

.cart-close:hover,
.cart-item-controls button:hover {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 14px 26px rgba(32, 64, 160, 0.18);
}

.cart-close:hover {
  transform: rotate(90deg);
}

.cart-item-controls button:not(:last-child) {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
}

.cart-item-controls button:last-child {
  min-height: 32px;
  padding: 0 14px;
}

.cart-checkout,
.checkout-form > .btn,
.checkout-summary > .btn,
.product-order {
  min-height: 44px;
}

/* improved checkout form */
.checkout-layout-wide {
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
}

.checkout-form-large {
  padding: 30px;
}

.checkout-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px;
}

.checkout-field-full {
  grid-column: 1 / -1;
}
.checkout-form-large label {
  color: #302b27;
  font-size: 16px;
  font-weight: 600;
}

.checkout-form-large input,
.checkout-form-large textarea {
  min-height: 46px;
  border-radius: 0;
  background: #fff;
}

.checkout-notes-field {
  margin-top: 8px;
}

.checkout-notes-field span {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.postcode-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-self: end;
}

.postcode-actions .btn,
.place-order-btn {
  min-height: 47px;
}

.checkout-status {
  margin: 0;
  padding: 14px 16px;
  border-radius: 7px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 800;
  max-height: 240px;
  overflow: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease, max-height 0.28s ease, padding 0.28s ease, margin 0.28s ease;
}

.checkout-status[data-type="success"] {
  background: #eefaf3;
  color: #137341;
}

.checkout-status[data-type="error"] {
  background: #fff0f0;
  color: #a42424;
}

.thank-you-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #eef2f7 0%, #ffffff 58%, #f4f8f6 100%);
}

.thank-you-page .checkout-main {
  display: grid;
  place-items: center;
  width: min(calc(100% - 44px), 840px);
  min-height: calc(100vh - 178px);
  padding: 54px 0 64px;
  text-align: center;
}

.thank-you-hero {
  display: grid;
  justify-items: center;
  max-width: 690px;
  margin: 0 0 22px;
}

.thank-you-hero h1 {
  margin-bottom: 10px;
}

.thank-you-hero p:last-child {
  max-width: 560px;
  margin-inline: auto;
}

.thank-you-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 20px;
  width: min(100%, 680px);
  padding: 36px;
  border: 1px solid rgba(32, 64, 160, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(19, 40, 102, 0.14);
  overflow: hidden;
}

.thank-you-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), #137341);
}

.thank-you-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(19, 115, 65, 0.16);
  border-radius: 50%;
  background: #eefaf3;
  color: #137341;
  font-size: 30px;
  box-shadow: 0 14px 28px rgba(19, 115, 65, 0.12);
}

.thank-you-order {
  margin: 0;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 800;
}

.thank-you-copy {
  max-width: 500px;
  margin: 0;
  color: #302b27;
  line-height: 1.7;
}

.thank-you-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100%, 440px);
  padding: 14px 18px;
  border: 1px solid rgba(32, 64, 160, 0.12);
  border-radius: 7px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
}

.thank-you-countdown strong {
  min-width: 64px;
  font-family: var(--heading);
  font-size: 32px;
  line-height: 1;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 760px) {
  .thank-you-page .checkout-main {
    width: min(calc(100% - 32px), 840px);
    min-height: calc(100vh - 150px);
    padding: 38px 0 48px;
  }

  .thank-you-card {
    padding: 28px 20px;
  }

  .thank-you-countdown {
    align-items: center;
    flex-direction: column;
    gap: 8px;
  }

  .thank-you-actions {
    width: 100%;
  }

  .thank-you-actions .btn {
    width: 100%;
  }
}
.checkout-status.is-hiding {
  max-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(-12px);
}

.place-order-btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.checkout-summary-sticky {
  position: sticky;
  top: 116px;
}

@media (max-width: 1040px) {
  .checkout-layout-wide {
    grid-template-columns: 1fr;
  }

  .checkout-summary-sticky {
    position: static;
  }
}

@media (max-width: 760px) {
  .checkout-form-large {
    padding: 20px;
  }

  .postcode-actions {
    max-height: 135px!important;
  }

  .checkout-field-grid,
  .postcode-actions {
    grid-template-columns: 1fr;
  }

  .checkout-form-large label {
    font-size: 15px;
  }
}

/* scrollable checkout summary */
.checkout-summary-sticky {
  max-height: calc(100vh - 136px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--primary-soft);
}

.checkout-summary-sticky::-webkit-scrollbar {
  width: 8px;
}

.checkout-summary-sticky::-webkit-scrollbar-track {
  background: var(--primary-soft);
  border-radius: 999px;
}

.checkout-summary-sticky::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 999px;
}

@media (max-width: 1040px) {
  .checkout-summary-sticky {
    max-height: none;
    overflow: visible;
  }
}


.address-lookup-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.34s ease, opacity 0.24s ease, transform 0.3s ease;
}

.address-lookup-panel.is-open {
  max-height: 640px;
  opacity: 1;
  transform: translateY(0);
}

.checkout-form select {
  width: 100%;
  min-height: 46px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.checkout-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(32, 64, 160, 0.12);
}

.address-select-field {
  grid-column: 1 / -1;
}

.manual-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.manual-address-grid label:first-child,
.manual-address-grid label:nth-child(2),
.manual-address-grid label:last-child {
  grid-column: 1 / -1;
}

.postcode-actions {
  max-height: 64px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.28s ease;
}

.postcode-actions.is-collapsed {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
}

.postcode-reset-btn {
  justify-self: start;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--primary-dark);
  border-radius: 5px;
  background: #fff;
  color: var(--primary-dark);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

.postcode-reset-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 14px 26px rgba(32, 64, 160, 0.18);
}

.address-lookup-panel.is-manual .postcode-reset-btn {
  display: inline-flex;
}

.address-lookup-panel.is-manual .address-select-field {
  display: none;
}

.address-lookup-panel:not(.is-manual) .manual-address-grid {
  margin-top: 2px;
}

@media (max-width: 760px) {
  .manual-address-grid {
    grid-template-columns: 1fr;
  }
}

.postcode-restore-btn {
  grid-column: 1 / -1;
  max-height: 0;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: max-height 0.28s ease, min-height 0.28s ease, padding 0.28s ease, opacity 0.22s ease, transform 0.28s ease;
}

.postcode-restore-btn.is-visible {
  max-height: 56px;
  min-height: 47px;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.checkout-form input:disabled,
.checkout-form textarea:disabled,
.checkout-form button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.address-lookup-panel:not(.is-manual) .manual-address-grid {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.26s ease, opacity 0.22s ease, transform 0.26s ease, margin 0.26s ease;
}

.address-lookup-panel.is-manual .manual-address-grid {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 0.3s ease, opacity 0.22s ease, transform 0.3s ease;
}

.postcode-actions {
  position: relative;
  min-height: 47px;
}

.postcode-actions.is-collapsed {
  max-height: 64px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.postcode-actions > [data-postcode-find],
.postcode-actions > [data-address-manual] {
  transition: opacity 0.22s ease, transform 0.26s ease;
}

.postcode-actions.is-collapsed > [data-postcode-find],
.postcode-actions.is-collapsed > [data-address-manual] {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}

.postcode-actions .postcode-restore-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  max-height: none;
  min-height: 47px;
  padding-top: 0;
  padding-bottom: 0;
}
.product-load-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(32, 64, 160, 0.16);
  border-radius: 8px;
  background: #fbfcff;
  color: #302b27;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}
/* polished cart drawer */
.cart-backdrop {
  background: rgba(13, 24, 52, 0.42);
  backdrop-filter: blur(4px);
}

.cart-drawer {
  width: min(460px, 100vw);
  padding: 0;
  background: #f8fafc;
  border-left: 1px solid rgba(32, 64, 160, 0.16);
  box-shadow: -30px 0 70px rgba(13, 24, 52, 0.26);
}

.cart-drawer-head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(32, 64, 160, 0.12);
  background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
}

.cart-drawer-head .eyebrow {
  margin-bottom: 5px;
}

.cart-drawer h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.08;
}

.cart-close {
  width: 42px;
  height: 42px;
  border-color: rgba(32, 64, 160, 0.18);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(19, 40, 102, 0.08);
}

.cart-items {
  gap: 12px;
  padding: 18px 20px 20px;
}

.cart-item {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border-color: rgba(32, 64, 160, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(19, 40, 102, 0.08);
}

.cart-item img {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  background: var(--primary-soft);
}

.cart-item strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.cart-item span {
  color: #5f6673;
  font-size: 13px;
}

.cart-item-controls {
  display: grid;
  grid-template-columns: 34px 34px 34px 1fr;
  gap: 8px;
  margin-top: 12px;
}

.cart-item-controls span {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid rgba(32, 64, 160, 0.14);
  border-radius: 6px;
  background: #f8fafc;
  color: var(--ink);
  font-weight: 900;
}

.cart-item-controls button:not(:last-child) {
  width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 6px;
}

.cart-item-controls button:last-child {
  justify-self: end;
  min-height: 34px;
  padding: 0 12px;
  border-color: rgba(164, 36, 36, 0.22);
  color: #a42424;
}

.cart-item-controls button:last-child:hover {
  border-color: #a42424;
  background: #a42424;
  color: #fff;
}

.cart-empty {
  margin: 20px;
  padding: 26px 20px;
  border-color: rgba(32, 64, 160, 0.24);
  border-radius: 8px;
  background: #ffffff;
  color: #5f6673;
  box-shadow: 0 12px 28px rgba(19, 40, 102, 0.06);
}

.cart-summary {
  position: sticky;
  bottom: 0;
  gap: 16px;
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(32, 64, 160, 0.14);
  background: #ffffff;
  box-shadow: 0 -18px 42px rgba(13, 24, 52, 0.08);
}

.cart-summary > div {
  padding: 14px 0 0;
  border-top: 0;
  color: #5f6673;
}

.cart-summary > div span {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-summary strong {
  color: var(--primary-dark);
  font-family: var(--heading);
  font-size: 30px;
}

.cart-checkout {
  justify-content: center;
  width: 100%;
  min-height: 50px;
}

@media (max-width: 760px) {
  .cart-drawer {
    width: min(100vw, 430px);
  }

  .cart-drawer-head {
    padding: 20px 18px 16px;
  }

  .cart-items {
    padding: 16px;
  }

  .cart-item {
    grid-template-columns: 74px minmax(0, 1fr);
    padding: 12px;
  }

  .cart-item img {
    width: 74px;
    height: 74px;
  }

  .cart-item-controls {
    grid-template-columns: 32px 32px 32px;
  }

  .cart-item-controls button:last-child {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}
/* contact page */
.contact-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #eef2f7 0%, #ffffff 58%, #f4f8f6 100%);
}

.contact-main {
  width: min(calc(100% - 44px), 780px);
  margin: 0 auto;
  padding: 58px 0 78px;
}

.contact-form {
  gap: 20px;
}

.contact-form-head h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 54px);
}

.contact-form .place-order-btn {
  width: 100%;
  justify-content: center;
}

.contact-float {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 16px 34px rgba(32, 64, 160, 0.28);
  text-decoration: none;
}

.contact-float:hover {
  box-shadow: 0 22px 42px rgba(32, 64, 160, 0.38);
}

@media (max-width: 760px) {
  .contact-main {
    width: min(calc(100% - 32px), 780px);
    padding: 36px 0 62px;
  }
}
/* responsive hardening */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.navbar,
.proof-strip,
.section,
.process,
.results-band,
.cta-panel,
.checkout-main,
.contact-main {
  min-width: 0;
}

.btn,
.product-order,
.cart-checkout,
.place-order-btn {
  text-align: center;
  white-space: normal;
  line-height: 1.2;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  min-width: 0;
}

@media (max-width: 1180px) {
  .header-minimal .nav-actions,
  .header-minimal .nav-actions-right {
    display: flex;
  }

  .header-minimal {
    grid-template-columns: auto 1fr;
    gap: 18px;
  }

  .header-minimal .brand {
    width: clamp(148px, 24vw, 200px);
    min-width: 0;
  }

  .service-card {
    padding: 30px 28px;
  }

  .results-band,
  .cta-panel {
    width: min(calc(100% - 44px), var(--section-max)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 1040px) {
  .proof-strip {
    gap: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-media,
  .service-card:nth-last-child(-n + 2),
  .service-media:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .service-grid > :last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: auto;
    grid-template-columns: 56px 1fr;
  }

  .service-card h3 {
    font-size: 24px;
  }

  .service-media {
    min-height: 220px;
  }

  .results-band {
    gap: 24px;
    padding: 28px;
  }

  .before-after {
    min-height: 260px;
  }

  .result-image {
    min-height: 260px;
  }

  .checkout-layout,
  .checkout-layout-wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .site-header {
    position: sticky;
  }

  .navbar,
  .header-minimal {
    min-height: 68px;
    padding: 8px 16px;
  }

  .header-minimal {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .header-minimal .brand {
    width: clamp(126px, 44vw, 160px);
    min-width: 0;
    height: 48px;
    justify-self: start;
  }

  .header-minimal .nav-actions,
  .header-minimal .nav-actions.is-open,
  .header-minimal .nav-actions-right {
    display: flex;
    justify-self: end;
    gap: 8px;
  }

  .header-minimal .nav-actions-right > .btn {
    display: none;
  }

  .cart-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .hero {
    /* min-height: calc(100svh - 68px); */
    min-height: 100%;
    height: auto;
    align-items: flex-end;
    background-position: center top;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.78) 48%, rgba(255,255,255,0.98) 100%);
    pointer-events: none;
  }

  .hero-copy {
    width: calc(100% - 32px);
    margin: 0 16px;
    padding: 42px 0 34px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(34px, 11vw, 46px);
    line-height: 1.04;
  }

  h2,
  .section-heading h2,
  .testimonial h2,
  .cta-copy h2,
  .checkout-hero h1,
  .contact-form-head h1 {
    font-size: clamp(26px, 8vw, 36px);
    line-height: 1.12;
  }

  .hero-text {
    max-width: 100%;
    font-size: 15px;
  }

  .hero-actions,
  .cta-actions,
  .thank-you-actions {
    width: 100%;
    max-width: none;
    align-items: stretch;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .thank-you-actions .btn {
    width: 100%;
  }

  .proof-strip,
  .section,
  .process,
  .results-band,
  .cta-panel {
    width: min(calc(100% - 28px), var(--section-max)) !important;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    padding: 20px 0;
  }

  .proof-item,
  .proof-item:nth-child(2) {
    min-height: auto;
    padding: 18px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .service-card {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 22px 18px;
  }

  .service-card h3 {
    font-size: 21px;
  }

  .service-media {
    min-height: 190px;
  }

  .process-row {
    grid-template-columns: 1fr;
  }

  .arrow {
    display: none;
  }

  .results-band {
    padding: 22px 18px;
  }

  .before-after {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .result-image,
  .result-image + .result-image {
    min-height: 220px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.75);
  }

  .cta-panel {
    gap: 0;
  }

  .cta-copy {
    padding: 22px 18px;
  }

  .cta-image {
    min-height: 210px;
  }

  .product-grid {
    gap: 16px;
  }

  .product-card {
    grid-template-rows: 170px 1fr;
  }

  .product-copy {
    padding: 18px;
  }

  .product-card h3 {
    font-size: 21px;
  }

  .product-meta {
    width: 100%;
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-main,
  .contact-main {
    width: min(calc(100% - 28px), var(--section-max));
    padding-top: 28px;
    padding-bottom: 46px;
  }

  .checkout-hero {
    margin-bottom: 20px;
  }

  .checkout-form,
  .checkout-summary,
  .checkout-form-large,
  .contact-form {
    padding: 18px;
  }

  .checkout-field-grid,
  .manual-address-grid,
  .postcode-actions {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .checkout-form input,
  .checkout-form textarea,
  .checkout-form select {
    font-size: 16px;
  }

  .checkout-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  .checkout-item b {
    grid-column: 2;
    justify-self: start;
  }

  .checkout-item img {
    width: 58px;
    height: 58px;
  }

  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
  }

  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .cart-item img {
    width: 64px;
    height: 64px;
  }

  .cart-item-controls {
    grid-template-columns: repeat(3, 32px);
  }

  .cart-summary {
    padding: 16px;
  }

  .thank-you-page .checkout-main {
    width: min(calc(100% - 28px), 840px);
    min-height: calc(100svh - 140px);
  }

  .thank-you-card {
    padding: 24px 16px;
  }

  .thank-you-order {
    font-size: 22px;
    overflow-wrap: anywhere;
  }

  .thank-you-countdown {
    width: 100%;
  }

  .back-to-top,
  .whatsapp-float {
    right: 16px;
  }
}

@media (max-width: 420px) {
  .navbar,
  .header-minimal {
    padding-inline: 12px;
  }

  .header-minimal .brand {
    width: 118px;
  }

  .hero-copy {
    width: calc(100% - 24px);
    margin-inline: 12px;
  }

  h1 {
    font-size: clamp(31px, 12vw, 40px);
  }

  .btn {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .proof-strip,
  .section,
  .process,
  .results-band,
  .cta-panel,
  .checkout-main,
  .contact-main {
    width: min(calc(100% - 20px), var(--section-max)) !important;
  }

  .service-card,
  .process-step {
    grid-template-columns: 1fr;
  }

  .service-card > .animated-icon,
  .process-step > .animated-icon {
    width: 50px;
    height: 50px;
  }

  .checkout-form,
  .checkout-summary,
  .checkout-form-large,
  .contact-form {
    padding: 14px;
  }

  .cart-drawer h2 {
    font-size: 23px;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item img {
    width: 100%;
    height: 150px;
  }
}
/* single back-to-top floating action */
.back-to-top {
  bottom: 22px;
}

@media (max-width: 760px) {
  .back-to-top {
    bottom: 18px;
  }
}
/* contact page polish */
.contact-main {
  display: grid;
  gap: 24px;
}

.contact-page-head {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.contact-page-head h1 {
  font-size: clamp(42px, 6vw, 62px);
  line-height: 1.05;
}

.contact-page-head p:last-child {
  max-width: 560px;
  margin: 0 auto;
  color: #302b27;
  font-size: 15px;
}

.contact-form {
  position: relative;
  overflow: hidden;
  border-color: rgba(32, 64, 160, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.96) 100%);
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
}

.contact-form-head {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 4px;
}

.contact-form-head .eyebrow {
  margin-bottom: 4px;
}

.contact-form-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
}

.contact-form-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 22px;
}

.contact-form .checkout-field-grid {
  margin-top: 4px;
}

@media (max-width: 760px) {
  .contact-page-head {
    text-align: left;
  }

  .contact-page-head p:last-child {
    margin: 0;
  }

  .contact-form-head {
    grid-template-columns: 46px 1fr;
  }

  .contact-form-icon {
    width: 46px;
    height: 46px;
    font-size: 19px;
  }
}

@media (max-width: 420px) {
  .contact-form-head {
    grid-template-columns: 1fr;
  }
}
/* Mobile product section visibility safeguard */
@media (max-width: 760px) {
  .shop-section.section-reveal,
  .shop-section .reveal,
  .shop-section .product-card,
  .shop-section .product-card.reveal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
  }

  .shop-section {
    min-height: 0 !important;
  }

  .shop-section .section-heading,
  .shop-section .product-grid {
    display: grid !important;
  }
}