/* ==========================================================================
   GiftAssembly — dark-blue clone theme
   Tokens first, then layout, sections, components, responsive.
   ========================================================================== */

:root {
  /* brand — original warm tan #CBAE8A replaced with deep navy */
  --navy: #0b2545;
  --navy-2: #123a66;
  --navy-3: #071a33;
  --ice: #e9f0f8;          /* replaces the original cream #F7F2E8 */
  --ice-2: #f4f8fc;
  --ice-3: #dde8f4;
  --ink: #12283f;          /* replaces brown #3E2B20 */
  --ink-head: #0e2339;
  --muted: #4a5d72;
  --line: #d8e1ec;
  --white: #fff;
  --gold: #b99253;

  --container: 1300px;
  --header-h: 80px;
  --radius-card: 50px;
  --radius-card-sm: 24px;
  --radius-img: 20px;
  --radius-pill: 100px;

  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-btn: "Archivo", "Poppins", sans-serif;

  --shadow-soft: 0 18px 50px rgba(11, 37, 69, .08);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }

.wrap {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible {
  outline: 2px solid var(--gold, #c8a96a);
  outline-offset: 3px;
}
.site-header :focus-visible, .footer-bar :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 10px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-btn);
  font-weight: 800; font-size: 18px; line-height: 18px;
  color: #fff; background: var(--navy);
  border: 0; border-radius: var(--radius-pill);
  padding: 14px 42px; min-height: 46px;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn--ghost {
  background: transparent; color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: #fff; }

/* ---------- section titles ---------- */
.sec-title {
  font-size: 27px; line-height: 30px; font-weight: 700;
  color: var(--ink-head); letter-spacing: 0;
  display: inline-flex; align-items: center; gap: 16px;
}
.sec-title::after {
  content: ""; width: 40px; height: 1px; background: var(--navy);
  opacity: .45; display: inline-block;
}
.sec-title--center { justify-content: center; }
.sec-title--underlined {
  display: block; text-align: center;
}
.sec-title--big {
  font-size: 35px; line-height: 25px; font-weight: 700;
  display: flex; justify-content: center; text-align: center;
}
.sec-title--big::after {
  display: none;
}
.sec-title--big + .title-rule, .title-rule {
  display: block; width: 58px; height: 1px; background: var(--navy);
  opacity: .55; margin: 16px auto 0;
}
.clients .title-rule { margin-top: 8px; }
.sec-title--big-wrap { text-align: center; }
.sec-title--underlined::after {
  display: block; width: 58px; height: 2px; margin: 14px auto 0;
  background: var(--navy); opacity: .85;
}

.section { padding: 70px 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 90;
  height: var(--header-h);
  background: var(--navy);
  color: #fff;
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-left: 34px;
}
.logo img { width: 70px; height: 70px; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-right: -8px; }
.main-nav a {
  position: relative;
  display: block; padding: 13px 20px;
  font-size: 18px; line-height: 27px; font-weight: 700; color: #f4f8fc;
  transition: opacity .2s var(--ease);
}
.main-nav a:hover { opacity: .8; }
.main-nav a.is-active {
  background-image: linear-gradient(#fff, #fff);
  background-repeat: no-repeat;
  background-position: 20px calc(100% - 6px);
  background-size: calc(100% - 40px) 1px;
}
.has-drop { position: relative; }
.has-drop > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  margin-left: 0; opacity: .9;
}
.drop {
  position: absolute; left: 8px; top: 100%; min-width: 218px;
  background: #fff; color: var(--ink); border-radius: 12px;
  box-shadow: var(--shadow-soft); padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s var(--ease);
}
.has-drop:hover .drop, .has-drop:focus-within .drop {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.drop a {
  font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--ink);
  padding: 9px 20px;
}
.drop a:hover { background: var(--ice); opacity: 1; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: #fff; margin: 5px 0;
  transition: transform .25s var(--ease), opacity .2s;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--navy-3);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-collage {
  position: absolute; inset: 0; z-index: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; gap: 4px;
  background: var(--navy-3); overflow: hidden;
}
.hero-collage-set {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; gap: 4px;
  opacity: 0; transition: opacity 1.3s var(--ease);
}
.hero-collage-set.is-on { opacity: 1; }
.hero-collage-set img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.82); }
@media (max-width: 749px) {
  .hero-collage, .hero-collage-set { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(7, 26, 51, .55) 0%, rgba(7, 26, 51, .18) 52%, rgba(7, 26, 51, 0) 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding-bottom: 68px;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-title, .hero-sub { margin-left: 15px; }
.hero-title {
  font-size: 28px; line-height: 28px; font-weight: 700; letter-spacing: -1px;
  color: var(--ink-head); background: var(--ice);
  border-radius: 10px; padding: 18px 24px; max-width: 640px;
}
.hero-sub {
  font-size: 20px; line-height: 1.1; color: var(--ink);
  background: var(--ice); border-radius: 10px; padding: 12px 20px;
  max-width: 640px;
}
.hero .btn { margin-top: 6px; }

/* ==========================================================================
   Clients marquee
   ========================================================================== */
.clients { padding: 58px 0 107px; background: #fff; }
.clients .sec-title { display: flex; justify-content: center; }
.clients .sec-title::after { width: 56px; }
.clients-marquee {
  margin-top: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.mq-track { display: flex; width: max-content; animation: mq 70s linear infinite; }
.clients-marquee:hover .mq-track { animation-play-state: paused; }
.client-tile {
  width: 158px; height: 158px; flex: 0 0 158px;
  display: grid; place-items: center; padding: 0;
}
.client-tile img { width: 158px; height: 158px; object-fit: contain; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Welcome
   ========================================================================== */
.welcome { padding: 14px 0 32px; }
.welcome-grid {
  display: grid; grid-template-columns: 430px 1fr; gap: 60px; align-items: start;
}
.welcome h2 {
  font-size: 27px; line-height: 30px; font-weight: 700; color: var(--ink-head);
  margin-bottom: 26px;
}
.welcome p { font-size: 18px; line-height: 27px; color: var(--ink); max-width: 900px; }
.welcome-stats {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 8px; padding-top: 28px; border-top: 1px solid var(--line);
}
.welcome-stats strong { display: block; font-size: 30px; line-height: 1.1; font-weight: 700; color: var(--navy); }
.welcome-stats span { display: block; margin-top: 5px; font-size: 13px; line-height: 20px; color: var(--muted); }

/* ==========================================================================
   Why SUNCITY STAR
   ========================================================================== */
.why { padding: 78px 0 70px; background: #fff; }
.why-head { margin-bottom: 40px; }
.why-title { font-size: 35px; line-height: 1.15; font-weight: 700; color: var(--ink-head); }
.why-sub { margin-top: 10px; font-size: 28px; line-height: 1.25; font-weight: 700; color: var(--navy); }
.why-rule { display: block; width: 58px; height: 2px; margin-top: 22px; background: var(--gold); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-card {
  display: flex; align-items: flex-start; gap: 22px;
  background: var(--ice-2); border: 1px solid var(--line);
  border-radius: var(--radius-card-sm); padding: 32px 34px;
}
.why-num { flex: 0 0 auto; min-width: 42px; font-size: 21px; line-height: 1.2; font-weight: 700; color: var(--gold); }
.why-card h3 { font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--ink-head); margin-bottom: 10px; }
.why-card p { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 52ch; }

/* ==========================================================================
   How we work
   ========================================================================== */
.how { padding: 78px 0 70px; background: #fff; }
.how-head { margin-bottom: 34px; }
.how-title { font-size: 35px; line-height: 1.15; font-weight: 700; color: var(--ink-head); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-card {
  background: var(--ice-2); border: 1px solid var(--line);
  border-radius: var(--radius-card-sm); padding: 28px 28px 30px;
}
.how-head-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.how-num { flex: 0 0 auto; font-size: 19px; line-height: 1.2; font-weight: 700; color: var(--gold); }
.how-card h3 { font-size: 21px; line-height: 1.3; font-weight: 700; color: var(--ink-head); }
.how-card p { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 40ch; }

/* ==========================================================================
   Steps (sticky stack)
   ========================================================================== */
.steps { padding: 26px 0 22px; background: #fff; }
.steps .sec-title--big-wrap { margin-bottom: 29px; }
.steps > .wrap > .sec-title::after { width: 56px; }
.steps-stack { display: flex; flex-direction: column; gap: 20px; }
.step-card {
  position: sticky;
  display: grid; grid-template-columns: 1fr 380px; align-items: center; gap: 40px;
  background: var(--ice); border-radius: var(--radius-card);
  min-height: 392px; padding: 51px 48px;
  box-shadow: 0 -1px 0 rgba(11, 37, 69, .04);
}
.step-card:nth-child(1) { top: calc(var(--header-h) + 24px); }
.step-card:nth-child(2) { top: calc(var(--header-h) + 40px); }
.step-card:nth-child(3) { top: calc(var(--header-h) + 56px); }
.step-copy { max-width: 500px; margin-top: -30px; }
.step-label { font-size: 18px; line-height: 27px; font-weight: 500; color: var(--navy-2); margin-bottom: 20px; }
.step-copy h3 { font-size: 27px; line-height: 30px; font-weight: 700; margin-bottom: 14px; color: var(--ink-head); }
.step-copy p { font-size: 18px; line-height: 27px; }
.step-media { display: flex; justify-content: flex-end; }
.step-media img { width: 290px; height: 290px; object-fit: cover; border-radius: 18px; }

/* ==========================================================================
   Deliver
   ========================================================================== */
.deliver { padding: 84px 0 75px; }
.deliver-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1267px; margin: 48px auto 0;
}
.deliver-card { text-align: center; }
.deliver-card img {
  width: 100%; aspect-ratio: 409 / 362; object-fit: cover;
  border-radius: var(--radius-img);
}
.deliver-card h3 { font-size: 23px; line-height: 35px; font-weight: 700; margin: 20px 0 8px; color: var(--ink-head); }
.deliver-card p { font-size: 18px; line-height: 27px; color: var(--ink); max-width: 420px; margin: 0 auto; }
.deliver-cta { display: flex; justify-content: center; margin-top: 40px; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing { padding: 42px 0 12px; }
.pricing-head {
  display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start;
  margin-bottom: 90px;
}
.pricing-head h2 { font-size: 27px; line-height: 30px; font-weight: 700; color: var(--ink-head); }
.pricing-head h3 { font-size: 20px; line-height: 27px; font-weight: 700; margin: 6px 0 0; color: var(--ink-head); }
.pricing-head p { font-size: 18px; line-height: 27px; max-width: 900px; }
.pricing-head p strong { font-weight: 700; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card {
  background: var(--ice); border-radius: 20px;
  padding: 25px 28px 50px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.price-card img { width: 223px; height: 220px; object-fit: contain; }
.price-card h3 { font-size: 23px; line-height: 35px; font-weight: 700; margin: 20px 0 2px; color: var(--ink-head); }
.price-card p { font-size: 18px; line-height: 27px; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews { padding: 94px 0 0; background: #fff; }
.reviews > .wrap > .sec-title { display: flex; justify-content: center; margin-bottom: 40px; }
.reviews > .wrap > .sec-title::after { width: 56px; }
.reviews-layout { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: start; }
.google-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 6px; }
.g-brandline { display: flex; align-items: center; gap: 8px; }
.g-logo { flex: 0 0 26px; }
.google-card .g-name { font-size: 18px; font-weight: 700; color: var(--ink-head); }
.google-card .g-score { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.google-card .g-score .num { font-size: 34px; line-height: 1; color: var(--navy); }
.g-brandline img { width: 26px; height: 26px; object-fit: contain; }
.google-card .g-meta { font-size: 12px; color: var(--muted); }
.google-card .g-brand { font-size: 12px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: #f5b500; font-size: 13px; letter-spacing: 1px; }
.g-btn {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff; border-radius: 999px;
  padding: 9px 18px; font-size: 12px; font-weight: 600;
}
.reviews-viewport { overflow: hidden; position: relative; padding: 0 30px; }
.reviews-track { display: flex; gap: 20px; transition: transform .45s var(--ease); }
.review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px;
  min-height: 317px;
}
.review-head { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 15px;
  flex: 0 0 40px;
}
.review-name { font-size: 16px; line-height: 1.5; font-weight: 700; }
.review-time { font-size: 12px; color: var(--muted); }
.review-body { font-size: 14px; line-height: 22px; color: #33475c; }
.review-tag { display: inline-flex; align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: var(--ice); color: var(--navy-2); font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.review-owner { border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; }
.review-owner strong { font-size: 12px; }
.review-owner p { font-size: 12px; line-height: 18px; color: var(--muted); }
.reviews-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.rv-arrow--prev { position: absolute; left: 0; top: 45%; z-index: 2; }
.rv-arrow--next { position: absolute; right: 0; top: 45%; z-index: 2; }
.reviews-viewport .rv-arrow { transform: none; }
.rv-arrow {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; cursor: pointer;
  font-size: 18px; line-height: 1; color: var(--ink);
}
.rv-arrow:hover { border-color: var(--navy); }
.rv-dots { display: flex; gap: 6px; }
.rv-dots button { width: 6px; height: 6px; border-radius: 50%; border: 0; background: #c9d6e4; padding: 0; cursor: pointer; }
.rv-dots button.is-on { background: var(--navy); }

/* ==========================================================================
   Projects marquee
   ========================================================================== */
.projects { padding: 92px 0 99px; background: #fff; }
.projects > .wrap > .sec-title { display: flex; justify-content: center; margin-bottom: 36px; }
.projects > .wrap > .sec-title::after { width: 56px; }
.projects-marquee { overflow: hidden; }
.project-track { display: flex; gap: 50px; width: max-content; animation: mq 60s linear infinite; }
.projects-marquee:hover .project-track { animation-play-state: paused; }
.project-item { width: 242px; flex: 0 0 242px; }
.project-item img { width: 242px; height: 242px; object-fit: cover; border-radius: 16px; }
.project-item span { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--ice); padding: 40px 0 40px; }
.contact-grid { display: grid; grid-template-columns: 1fr 650px; gap: 50px; align-items: start; }
.contact-left { grid-column: 1; }
.contact-intro h2 { font-size: 27px; line-height: 30px; font-weight: 700; color: var(--ink-head); margin-bottom: 0; }
.contact-info h3 { font-size: 24px; line-height: 24px; font-weight: 700; margin: 51px 0 10px; color: var(--ink-head); }
.contact-info h3:first-child { margin-top: 34px; }
.contact-info p, .contact-info a { font-size: 14px; line-height: 24px; color: var(--ink); }
.contact-info a:hover { color: var(--navy-2); text-decoration: underline; }
.contact-form .form-intro { font-size: 18px; line-height: 27px; margin-bottom: 5px; }
.field { margin-bottom: 24px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.label-ast { color: var(--navy-2); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #b9cbdd; border-radius: 10px;
  background: #fff; padding: 8px 14px; font: inherit; font-size: 16px; line-height: 27px; color: var(--ink);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #8ea2b6; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(18, 58, 102, .12);
}
.field textarea { min-height: 219px; resize: vertical; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 6px; }
.contact-form .btn { font-size: 17px; padding: 12px 30px; min-height: 41px; }
.form-note { margin-top: 12px; font-size: 12px; color: var(--muted); }
.form-note.is-error { color: #b01717; }
.newsletter input.is-invalid { border-color: #b01717; }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid {
  border-color: #b01717;
  box-shadow: 0 0 0 3px rgba(176, 23, 23, .10);
}
.form-note.is-ok { color: #0f7a4d; }
.form-note.is-pending { color: var(--muted); }
.form-actions .btn[disabled] { opacity: .65; cursor: wait; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #fff; padding-top: 100px; }
.footer-grid {
  display: grid; grid-template-columns: 252px 1fr 1fr 1fr 1.1fr; gap: 26px;
  align-items: start; padding-bottom: 66px;
}
.footer-logo img { width: 147px; height: 147px; object-fit: contain; }
.footer-col h4 {
  font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--ink-head);
  line-height: 20px; margin: 0 0 27px;
}
.footer-col li { line-height: 22.65px; margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: var(--ink); }
.footer-col a:hover { color: var(--navy-2); text-decoration: underline; }
.newsletter-intro { font-size: 14px; line-height: 22.65px; color: var(--muted); margin-bottom: 30px; }
.newsletter label { display: block; font-size: 14px; line-height: 22.65px; color: var(--ink); margin-bottom: 3px; }
.newsletter form { display: flex; flex-direction: column; }
.newsletter input {
  width: 100%; border: 1px solid #b9cbdd;
  border-radius: 6px; padding: 9px 12px; font: inherit; font-size: 14px;
  margin-bottom: 12px;
}
.newsletter button {
  border: 0; background: var(--navy); color: #fff; font-family: var(--font-btn);
  font-weight: 700; font-size: 15px; padding: 10px 22px; border-radius: 6px; cursor: pointer;
}
.newsletter button:hover { background: var(--navy-2); }
.footer-bar { background: var(--navy); color: #fff; }
.footer-bar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
}
@media (min-width: 750px) {
  .footer-bar-inner { padding: 35px 0; min-height: 113px; }
}
.footer-bar p { font-size: 14px; line-height: 22.65px; color: #eaf1f8; }
.socials { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.socials a, .socials span { width: 32px; height: 32px; display: grid; place-items: center; opacity: .95; }
.socials a:hover { opacity: .7; }
.socials svg { width: 22px; height: 22px; fill: #fff; display: block; }

/* ---------- floating contact ---------- */
.float-contact {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink); border-radius: 999px;
  padding: 10px 18px; font-size: 15px; box-shadow: 0 10px 30px rgba(11, 37, 69, .18);
}
.float-contact .dot {
  width: 26px; height: 26px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center;
}
.float-contact { transition: opacity .2s ease, transform .2s ease; }
.float-contact.is-aside { opacity: 0; transform: translateY(10px); pointer-events: none; }

/* ==========================================================================
   Products / detail / content pages
   ========================================================================== */
.page-hero {
  background: var(--ice); padding: 58px 0 52px;
}
.page-hero h1 { font-size: 34px; line-height: 1.25; font-weight: 700; color: var(--ink-head); }
.page-hero p { margin-top: 10px; max-width: 720px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; padding: 46px 0 6px; }
.filter {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-count { font-size: 13px; color: var(--muted); padding: 12px 2px 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 24px 0 70px; }
.product-card {
  background: var(--ice-2); border-radius: 20px; padding: 18px;
  display: flex; flex-direction: column;
}
.product-card .thumb {
  aspect-ratio: 1; border-radius: 14px; background: #fff;
  display: grid; place-items: center; overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 { font-size: 16px; font-weight: 700; margin: 16px 0 4px; color: var(--ink-head); }
.product-card .cat { font-size: 12px; color: var(--muted); }
.product-card .price {
  margin-top: 10px; font-size: 18px; font-weight: 700; color: var(--navy);
}
.product-card .price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.product-card .btn { margin-top: 14px; font-size: 14px; padding: 11px 26px; min-height: 40px; }

.product-detail { padding: 70px 0; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.pd-media { background: var(--ice-2); border-radius: 28px; padding: 30px; }
.pd-media img { width: 100%; border-radius: 18px; object-fit: cover; }
.pd-info h1 { font-size: 32px; line-height: 1.25; font-weight: 700; color: var(--ink-head); }
.pd-cat { font-size: 13px; color: var(--muted); margin-top: 8px; }
.pd-crumbs { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.pd-crumbs a { color: var(--navy-2); }
.pd-crumbs a:hover { text-decoration: underline; }
.pd-was { color: var(--muted); text-decoration: line-through; font-size: 18px; font-weight: 500; margin-left: 8px; }
.pd-price { font-size: 30px; font-weight: 700; color: var(--navy); margin: 18px 0 6px; }
.pd-price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.pd-note { font-size: 13px; color: var(--muted); }
.pd-desc { margin: 22px 0 26px; font-size: 14px; line-height: 24px; }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.pd-meta { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; color: var(--muted); }
.pd-related { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.pd-related-title { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.pd-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pd-related-card { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: #fff; color: var(--ink-head); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.pd-related-card:hover, .pd-related-card:focus-visible { border-color: var(--navy); box-shadow: 0 10px 26px rgba(11, 37, 69, .10); transform: translateY(-2px); }
.pd-related-card:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 2px; }
.pd-related-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.pd-related-copy { min-width: 0; }
.pd-related-card .cat { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pd-related-card strong { display: block; font-size: 14px; line-height: 1.3; margin-top: 3px; }
.pd-related-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.pd-related-price { font-size: 13px; font-weight: 600; color: var(--navy); }
.pd-related-cta { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--navy-2); white-space: nowrap; }
@media (max-width: 900px) { .pd-related-grid { grid-template-columns: 1fr; } }

.prose { padding: 60px 0 80px; }
.prose h2 { font-size: 26px; font-weight: 700; margin: 34px 0 12px; color: var(--ink-head); }
.prose p { margin-bottom: 14px; max-width: 820px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.prose img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 20px; margin: 10px 0 22px; }
.prose .back { display: inline-block; margin-top: 26px; font-weight: 600; color: var(--navy-2); }
.prose .back:hover { text-decoration: underline; }
.prose a:not(.back) { color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }
.prose a:not(.back):hover { color: var(--navy); }
.prose li { margin-bottom: 6px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 60px 0 80px; }
.blog-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.blog-card .bc-img { aspect-ratio: 16/10; background: var(--ice); }
.blog-card .bc-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .bc-body { padding: 20px; }
.blog-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.blog-card p { font-size: 13px; color: var(--muted); }
.blog-card time { font-size: 11px; color: var(--muted); display: block; margin-bottom: 8px; }

/* ==========================================================================
   Reveal
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .mq-track, .project-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 990px) {
  .main-nav .has-drop > a { padding-right: 14px; }
}

/* Reference switches to the compact type scale at <=1366; keep the same values
   through 1439 so 1440 stays on the desktop scale. */
@media (max-width: 1439px) {
  :root { --container: 1100px; }
  .step-card { padding: 64px 51px; }
  .hero-title { font-size: 25px; line-height: 25px; }
  .hero-sub { font-size: 18px; line-height: 18px; }
  .sec-title { font-size: 25px; line-height: 30px; }
  .sec-title--big { font-size: 25px; line-height: 25px; }
  .welcome h2 { font-size: 25px; line-height: 30px; }
  .step-copy h3 { font-size: 22px; line-height: 30px; }
  .deliver-card h3 { font-size: 22px; line-height: 35px; }
  .pricing-head h2 { font-size: 25px; line-height: 30px; }
  .pricing-head h3 { font-size: 22px; line-height: 27px; }
  .price-card h3 { font-size: 22px; line-height: 35px; }
  .contact-intro h2 { font-size: 25px; line-height: 30px; }
  .contact-info h3 { font-size: 22px; line-height: 24px; }
}

@media (max-width: 1199px) {
  .hero { height: 780px; }
  .step-card { grid-template-columns: 1fr 300px; padding: 36px 36px; }
  .step-media img { width: 260px; height: 260px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .review-card { flex-basis: calc((100% - 20px) / 2); }
  .footer-grid { grid-template-columns: 200px 1fr 1fr 1fr 1fr; gap: 20px; }
}

@media (max-width: 989px) {
  .hero { height: 720px; }
  .welcome-grid, .pricing-head, .reviews-layout, .contact-grid, .pd-grid { grid-template-columns: 1fr; gap: 26px; }
  .welcome-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .welcome-stats strong { font-size: 24px; }
  .contact-info h3 { font-size: 20px; line-height: 24px; }
  .contact-left { display: contents; }
  .contact-intro { order: 1; }
  .contact-form { order: 2; }
  .contact-info { order: 3; }
  .deliver-grid { grid-template-columns: repeat(3, 1fr); gap: 31px; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .deliver-card img { aspect-ratio: 16/10; }
  .product-grid { grid-template-columns: repeat(2, 1fr); padding: 50px 0; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .footer-logo { grid-column: 1 / -1; }
  .main-nav { display: none; margin-right: 0; }
  .nav-toggle { display: block; }
  .site-header.is-open .main-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--navy); padding: 18px 20px 40px; overflow-y: auto;
  }
  .site-header.is-open .main-nav a { font-size: 18px; padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .drop { display: none; position: static; background: transparent; box-shadow: none; padding: 0 0 0 14px; opacity: 1; visibility: visible; transform: none; }
  .has-drop.is-open .drop { display: block; }
  .drop a { color: #dbe7f3; padding: 8px 6px; border-bottom: 0; }
  .drop a:hover { background: transparent; }
  .has-drop > a::after { float: right; margin-top: 10px; transition: transform .25s var(--ease); }
  .has-drop.is-open > a::after { transform: rotate(225deg) translateY(-4px); }
  .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .step-card { grid-template-columns: 1fr; position: static; padding: 30px 26px; min-height: 0; border-radius: 30px; }
  .step-media { justify-content: flex-start; }
  .step-media img { width: 220px; height: 220px; }
}

@media (max-width: 749px) {
  :root { --header-h: 110px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { padding-left: 6px; }
  .logo img { width: 70px; height: 70px; }
  .hero { height: 900px; }
  .hero-inner { justify-content: flex-start; padding-top: 316px; padding-bottom: 0; }
  .hero-copy { gap: 0; }
  .hero-sub { margin-top: 20px; }
  .hero .btn { margin-top: 25px; min-height: 44px; padding: 12px 42px; }
  .hero-title { font-size: 20px; line-height: 25px; letter-spacing: -.5px; padding: 8px 12px; max-width: 320px; }
  .hero-sub { font-size: 17px; line-height: 17px; padding: 10px 12px; max-width: 320px; }
  .hero .btn, .btn { font-size: 16px; padding: 12px 30px; min-height: 42px; }
  .hero-copy .btn { min-height: 44px; padding: 12px 42px; }
  .sec-title { font-size: 25px; line-height: 30px; }
  .sec-title--big { font-size: 25px; line-height: 25px; }
  .clients .sec-title--big { font-size: 24px; line-height: 30px; }
  .welcome h2 { font-size: 24px; line-height: 30px; }
  .why { padding: 52px 0 46px; }
  .why-head { margin-bottom: 26px; }
  .why-title { font-size: 25px; line-height: 30px; }
  .why-sub { font-size: 21px; line-height: 27px; }
  .why-rule { margin-top: 16px; }
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card { padding: 24px 22px; gap: 16px; border-radius: 20px; }
  .why-num { min-width: 34px; font-size: 18px; }
  .why-card h3 { font-size: 19px; }
  .why-card p { font-size: 15px; line-height: 1.6; }
  .how { padding: 52px 0 46px; }
  .how-head { margin-bottom: 26px; }
  .how-title { font-size: 25px; line-height: 30px; }
  .how-grid { grid-template-columns: 1fr; gap: 12px; }
  .how-card { padding: 24px 22px; border-radius: 20px; }
  .how-num { font-size: 17px; }
  .how-card h3 { font-size: 19px; }
  .how-card p { font-size: 15px; }
  .step-copy h3 { font-size: 20px; line-height: 30px; }
  .deliver-card h3 { font-size: 20px; }
  .price-card h3 { font-size: 22px; }
  .contact-info h3 { font-size: 20px; line-height: 24px; margin-top: 61px; }
  .contact-info h3:first-child { margin-top: 34px; }
  .contact-intro h2 { font-size: 25px; line-height: 30px; }
  .pricing-head h3 { font-size: 25px; line-height: 27px; }
  .clients { padding: 7px 0 59px; }
  .client-tile { width: 110px; height: 110px; flex-basis: 130px; padding: 0; }
  .client-tile img { width: 110px; height: 110px; }
  .welcome { padding: 24px 0 40px; }
  .welcome h2 { margin-bottom: 14px; }
  .steps-stack { gap: 20px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 12px; margin-inline: -16px; }
  .price-card { border-radius: 20px; padding: 25px 24px 34px; min-height: 482px; }
  .price-card img { width: 223px; height: 220px; }
  .deliver-grid { grid-template-columns: 1fr; gap: 40px; }
  .deliver-card { margin-inline: 14px; }
  .deliver-card img { aspect-ratio: 330 / 300; }
  .steps-stack { margin-inline: 0; }
  .step-card { border-radius: 50px; padding: 35px 26px; }
  .step-media img { width: 230px; height: 230px; }
  .review-card { flex-basis: 100%; min-height: 0; }
  .reviews-layout { gap: 22px; }
  .contact { padding: 46px 0 50px; }
  .contact-grid { gap: 30px; }
  .contact-form .field { margin-bottom: 22px; }
  .contact-form .field input, .contact-form .field select, .contact-form .field textarea { padding: 12px 16px; }
  .contact-form .field textarea { min-height: 230px; }
  .contact-form .form-intro { margin-bottom: 30px; }
  .contact-form .form-actions { margin-top: 12px; }
  .contact-form .form-actions .btn { min-height: 48px; padding: 14px 32px; }
  .review-card { min-height: 360px; }
  .reviews { padding-bottom: 46px; }
  .site-footer { padding-top: 56px; }
  .footer-logo { display: none; }
  .footer-grid { grid-template-columns: 1fr; row-gap: 22px; padding-bottom: 36px; }
  .footer-bar-inner { flex-direction: column; text-align: center; padding: 35px 0; }
  .product-grid, .blog-grid { grid-template-columns: 1fr; }
  .float-contact { right: 14px; bottom: 14px; padding: 8px 14px; font-size: 13px; }
}
