/* ==========================================================================
   Mortex Sports — main stylesheet
   Brand colours come from the Mortex Sports logo (navy + lime).
   Edit the values in :root to re-theme the whole site.
   ========================================================================== */

:root {
  --navy: #1a2e7d;
  --navy-deep: #12215a;
  --lime: #9fd12f;
  --lime-hover: #b3e044;
  --paper: #f4f5fa;
  --white: #ffffff;
  --ink: #171933;
  --muted: #565b7a;
  --line: #dcdfec;
  --ok: #1c7d47;
  --wa: #0e7a3a;
  --focus: #4a4fe0;
  --radius: 6px;
  --wrap: 1200px;
  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 .75rem;
  color: var(--navy);
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.5rem; line-height: 1.15; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--navy-deep);
  padding: .75rem 1rem; z-index: 100; font-weight: 700;
}
.skip:focus { left: 0; }
[hidden] { display: none !important; }

/* Belt-stripe motif: a rank bar used to mark the start of a section */
.belt {
  display: block; position: relative; width: 76px; height: 7px; background: var(--lime);
  margin: 0 0 1.1rem; --bar: var(--navy);
}
.belt::after { content: ""; position: absolute; right: 11px; top: 0; bottom: 0; width: 13px; background: var(--bar); }
.dark .belt { --bar: var(--navy-deep); }
.dark.page-head .belt, .dark.hero .belt { --bar: var(--navy-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.3rem; border-radius: var(--radius); border: 2px solid transparent;
  font: inherit; font-weight: 700; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--lime); color: var(--navy-deep); }
.btn-primary:hover { background: var(--lime-hover); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.65); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0b6330; }
.btn-sm { padding: .65rem 1rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); }
.brand img { width: 48px; height: auto; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-style: italic;
  font-size: 1.7rem; line-height: 1; letter-spacing: .03em; text-transform: uppercase;
}
.primary-nav ul { display: flex; align-items: center; gap: .25rem; }
.primary-nav a, .menu-btn {
  display: block; padding: .55rem .85rem; font: inherit; font-weight: 600; color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: var(--radius);
}
.primary-nav a:hover, .menu-btn:hover, .primary-nav a[aria-current="page"], .menu-btn.is-current { color: var(--navy); background: var(--paper); }
.primary-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--lime); }
.menu-btn { display: inline-flex; align-items: center; gap: .4rem; }
.menu-btn::after {
  content: ""; width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .15s;
}
.menu-btn[aria-expanded="true"]::after { transform: rotate(225deg); }
.has-menu { position: relative; }
.primary-nav .menu {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%);
  width: 470px; padding: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 18px 40px rgba(17,19,64,.16); display: none; grid-template-columns: 1fr 1fr; gap: 0 .5rem;
}
.primary-nav .has-menu.open .menu { display: grid; }
.primary-nav .menu a { padding: .5rem .75rem; font-weight: 500; }
.nav-quote { margin-left: .5rem; }
.nav-quote a { background: var(--lime); color: var(--navy-deep) !important; font-weight: 700; padding: .65rem 1.1rem; }
.nav-quote a:hover { background: var(--lime-hover); }

.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    border-bottom: 1px solid var(--line); max-height: calc(100vh - 72px); overflow: auto;
    box-shadow: 0 18px 30px rgba(17,19,64,.12);
  }
  .nav-open .primary-nav { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; gap: 0; }
  .primary-nav a, .menu-btn { padding: .85rem .5rem; width: 100%; justify-content: space-between; }
  .primary-nav .menu { position: static; transform: none; width: 100%; box-shadow: none; border: 0; border-left: 3px solid var(--lime); border-radius: 0; margin: 0 0 .5rem .5rem; grid-template-columns: 1fr; }
  .nav-quote { margin: .5rem 0 0; }
  .nav-quote a { text-align: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before {
  /* Echoes the swoosh around the Ms mark in the logo */
  content: ""; position: absolute; width: 980px; height: 640px; right: -300px; top: 20px;
  border: 14px solid var(--lime); border-right-color: transparent; border-bottom-color: transparent;
  border-radius: 50%; transform: rotate(-16deg); pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 3.5rem; align-items: center; padding: 4.5rem 0 5rem; }
.hero-home {
  background-image: linear-gradient(90deg, rgba(10, 20, 56, .88), rgba(10, 20, 56, .48)), url("../images/home-banner.jpeg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-home::before { content: none; }
.hero h1 { color: #fff; }
.hero-lead { font-size: 1.2rem; color: #d7daf2; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; color: #e6e8f8; font-weight: 500; }
.hero-facts li { display: flex; align-items: center; gap: .5rem; }
.hero-facts li::before { content: ""; width: .55rem; height: .55rem; background: var(--lime); border-radius: 1px; flex: none; }

/* Home hero slider */
.hero-slider { position: relative; height: 460px; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.35); background: #fff; }
.hs-track { position: relative; height: 100%; }
.hs-slide {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .7s ease; pointer-events: none;
}
.hs-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.hs-media { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: #fff; padding: 1.5rem; }
.hs-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.hs-cap { background: var(--navy-deep); color: #fff; padding: .9rem 3.4rem .9rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hs-cat { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.hs-desc { display: block; font-size: .82rem; color: #c7cae8; margin-top: .1rem; }
.hs-link { flex: none; color: #fff; font-weight: 600; font-size: .85rem; text-decoration: none; white-space: nowrap; }
.hs-link:hover, .hs-link:focus-visible { text-decoration: underline; color: var(--lime); }
.hs-arrow {
  position: absolute; top: calc(50% - 24px); transform: translateY(-50%); z-index: 3;
  width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(17,19,64,.55); color: #fff; font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.hs-arrow:hover, .hs-arrow:focus-visible { background: var(--navy-deep); }
.hs-prev { left: .6rem; } .hs-next { right: .6rem; }
.hs-dots { position: absolute; top: calc(50% - 24px); transform: translateY(-50%); right: .95rem; display: flex; flex-direction: column; gap: .4rem; z-index: 3; }
.hs-dots button { width: .55rem; height: .55rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: background .15s, height .15s; }
.hs-dots button.is-active { background: var(--lime); height: 1.3rem; border-radius: 999px; }
@media (max-width: 900px) { .hero-slider { height: 380px; } }
@media (max-width: 560px) {
  .hero-slider { height: 340px; }
  .hs-cap { padding: .75rem 1rem; flex-wrap: wrap; }
  .hs-desc { display: none; }
  .hs-dots { top: auto; bottom: 4.4rem; right: 50%; transform: translateX(50%); flex-direction: row; }
  .hs-arrow { top: calc(50% - 22px); }
}

.tile {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: .6rem .6rem .45rem;
  text-decoration: none; color: var(--navy); min-height: 0; overflow: hidden;
  animation: rise .7s cubic-bezier(.2,.7,.2,1) both;
}
.tile img { flex: 1; min-height: 0; width: 100%; object-fit: contain; }
.tile span { font-weight: 700; font-size: .85rem; padding-top: .3rem; }
.tile:hover span { text-decoration: underline; }
.t1 { grid-column: 1; grid-row: 1 / 4; animation-delay: .05s; }
.t2 { grid-column: 2 / 4; grid-row: 1 / 3; animation-delay: .15s; }
.t3 { grid-column: 2; grid-row: 3 / 5; animation-delay: .25s; }
.t4 { grid-column: 3; grid-row: 3 / 5; animation-delay: .35s; }
.t5 { grid-column: 1; grid-row: 4; animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero::before { width: 640px; height: 420px; right: -240px; top: auto; bottom: -150px; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 0 3.5rem; }
}
@media (max-width: 720px) { .page-head::before { display: none; } }
@media (max-width: 400px) { .brand-name { font-size: 1.4rem; } .brand img { width: 40px; } }
@media (max-width: 520px) {
  .tile span { font-size: .75rem; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 1.5rem 1.5rem 1.5rem 0; }
.trust-item + .trust-item { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--navy); line-height: 1.15; }
.trust-item span { font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item + .trust-item { padding: 1rem 0; border-left: 0; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-paper { background: var(--paper); }
.section-head { max-width: 46rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
@media (max-width: 720px) { .section { padding: 3.25rem 0; } }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.1rem; }
.cat-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, box-shadow .15s;
}
.cat-card:hover { border-color: var(--navy); box-shadow: 0 10px 26px rgba(28,30,95,.12); }
.cat-media { position: relative; flex: none; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); }
.cat-media img { position: absolute; inset: .9rem; width: calc(100% - 1.8rem); height: calc(100% - 1.8rem); object-fit: contain; }
.cat-body { padding: 1rem 1.1rem 1.15rem; }
.cat-body h3 { margin: 0 0 .3rem; }
.cat-body p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.45; }

/* About / why */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4rem; align-items: start; }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.reason { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.reason h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.reason p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } }

/* Customization band */
.band-dark { background: var(--navy-deep); color: #e3e5f7; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: #c9cdea; }
.tick-list { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 2rem; }
.tick-list li { position: relative; padding-left: 1.8rem; }
.tick-list li::before {
  content: ""; position: absolute; left: .1rem; top: .35rem; width: .5rem; height: .9rem;
  border-right: 3px solid var(--lime); border-bottom: 3px solid var(--lime); transform: rotate(40deg);
}
@media (max-width: 560px) { .tick-list { grid-template-columns: 1fr; } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { counter-increment: step; padding-top: 1rem; border-top: 4px solid var(--navy); }
.step::before {
  content: counter(step); display: block; font-family: var(--font-head); font-weight: 700; font-size: 2.6rem;
  line-height: 1; color: var(--navy); margin-bottom: .5rem;
}
.step h3 { font-size: 1.3rem; }
.step p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--lime); color: var(--navy-deep); padding: 3.5rem 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.cta-band h2 { margin: 0 0 .4rem; color: var(--navy-deep); }
.cta-band p { margin: 0; max-width: 40rem; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn-outline { border-color: var(--navy-deep); color: var(--navy-deep); }
.cta-band .btn-outline:hover { background: var(--navy-deep); color: #fff; }

/* ---------- Category page header ---------- */
.page-head { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 2.5rem 0 3.25rem; }
.page-head::before {
  content: ""; position: absolute; width: 640px; height: 420px; right: -180px; top: -60px;
  border: 12px solid var(--lime); border-right-color: transparent; border-bottom-color: transparent;
  border-radius: 50%; transform: rotate(-16deg); opacity: .9; pointer-events: none;
}
.page-head .wrap { position: relative; }
.page-head h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-head .lead { font-size: 1.15rem; color: #d7daf2; max-width: 44rem; margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .92rem; color: #b9bee6; margin-bottom: 1.5rem; }
.crumbs a { color: #e3e5f7; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: #8388c4; }
.head-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- At a glance ---------- */
.glance { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.glance-col { padding: 1.75rem; }
.glance-col + .glance-col { border-left: 1px solid var(--line); }
.glance h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.glance h3 { font-size: 1.1rem; margin: 1.25rem 0 .6rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; }
.glance h3:first-of-type { margin-top: 0; }
.glance .note { font-size: .92rem; color: var(--muted); margin: .6rem 0 0; }
.specs { display: grid; grid-template-columns: 11rem 1fr; margin: 0; }
.specs dt, .specs dd { padding: .65rem 0; border-top: 1px solid var(--line); margin: 0; }
.specs dt { font-weight: 600; color: var(--navy); padding-right: 1rem; }
.specs dt:first-of-type, .specs dt:first-of-type + dd { border-top: 0; padding-top: 0; }
@media (max-width: 860px) {
  .glance { grid-template-columns: 1fr; }
  .glance-col + .glance-col { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .specs { grid-template-columns: 1fr; }
  .specs dt { border-top: 1px solid var(--line); padding-bottom: 0; }
  .specs dd { border-top: 0; padding-top: .15rem; }
  .specs dt:first-of-type { border-top: 0; }
}

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-block; padding: .12rem .6rem; font-size: .9rem; font-weight: 600; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.colours { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.colour { display: inline-flex; align-items: center; gap: .4rem; font-size: .95rem; }
.sw { display: inline-block; width: 1rem; height: 1rem; flex: none; border-radius: 50%; border: 1px solid rgba(23,25,51,.3); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.6rem; }
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.p-media { position: relative; display: block; flex: none; width: 100%; aspect-ratio: 1 / 1; padding: 0; background: #fff; border: 0; border-bottom: 1px solid var(--line); cursor: zoom-in; }
.p-media img { position: absolute; inset: 1.1rem; width: calc(100% - 2.2rem); height: calc(100% - 2.2rem); object-fit: contain; }
.p-zoom {
  position: absolute; right: .75rem; bottom: .75rem; font-size: .8rem; font-weight: 600; color: var(--navy);
  background: rgba(244,245,250,.95); border: 1px solid var(--line); border-radius: 4px; padding: .15rem .55rem;
}
.p-body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.35rem 1.5rem; }
.p-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .5rem; }
.p-code { font-size: .85rem; color: var(--muted); font-weight: 600; }
.stock { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--ok); }
.stock::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--ok); }
.p-body h3 { font-size: 1.55rem; margin-bottom: .55rem; }
.p-desc { color: var(--muted); font-size: 1rem; }
.p-feats { margin: 0 0 1.1rem; display: grid; gap: .35rem; font-size: .97rem; }
.p-feats li { position: relative; padding-left: 1.4rem; }
.p-feats li::before { content: ""; position: absolute; left: .1rem; top: .5rem; width: .55rem; height: .55rem; background: var(--lime); border: 1px solid var(--navy); border-radius: 1px; }
.p-meta { margin: 0 0 1.25rem; display: grid; grid-template-columns: 4.6rem 1fr; gap: .55rem .5rem; align-items: start; font-size: .95rem; }
.p-meta dt { font-weight: 600; color: var(--navy); padding-top: .1rem; }
.p-meta dd { margin: 0; }
.p-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 400px) { .p-actions { grid-template-columns: 1fr; } }

/* ---------- Size chart block ---------- */
.chart-block { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.chart-thumb { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; cursor: zoom-in; }
.chart-thumb img { width: 100%; }
.chart-thumb .p-zoom { right: 1rem; bottom: 1rem; }
.tips { display: grid; gap: .6rem; margin: 1.25rem 0 0; }
.tips li { position: relative; padding-left: 1.4rem; }
.tips li::before { content: ""; position: absolute; left: .1rem; top: .5rem; width: .55rem; height: .55rem; background: var(--lime); border: 1px solid var(--navy); border-radius: 1px; }
@media (max-width: 860px) { .chart-block { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Other categories pills */
.pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill { display: inline-block; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; text-decoration: none; }
.pill:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

/* ---------- Size guides page ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 2rem; }
.guide { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.guide-body { padding: 1.25rem 1.5rem 1.5rem; }
.guide-body h2 { font-size: 1.7rem; margin-bottom: .35rem; }
.guide-body p { color: var(--muted); margin-bottom: 1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 3rem; align-items: start; }
.contact-cards { display: grid; gap: .9rem; margin-bottom: 2rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card .lbl { display: block; font-size: .88rem; font-weight: 600; color: var(--muted); }
.contact-card a, .contact-card span.val { font-weight: 600; font-size: 1.05rem; word-break: break-word; }
.contact-card span.val { display: block; line-height: 1.5; }
.contact-card span.val + a { display: inline-block; margin-top: .35rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1.75rem; }
.form h2 { font-size: 1.9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; color: var(--navy); font-size: .97rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .72rem .85rem; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #b9bed6; border-radius: var(--radius);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid rgba(74,79,224,.3); outline-offset: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.form-status { margin: 1rem 0 0; font-weight: 600; color: var(--navy); }
.form-status.error { color: #b3261e; }
.form-note { font-size: .92rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } .form { padding: 1.25rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c9cdea; padding: 3.5rem 0 1.5rem; }
.site-footer a { color: #e3e5f7; text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.35fr 1.3fr .65fr 1.4fr; gap: 2rem; }
.site-footer h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .9rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.foot-list { display: grid; gap: .45rem; }
.foot-list.two { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.foot-note { font-size: .95rem; max-width: 22rem; }
.foot-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; }
.foot-copy { color: #fff; font-weight: 600; letter-spacing: .01em; }

/* Footer: address block + social buttons */
.foot-addr { font-style: normal; display: grid; gap: 1.1rem; margin-bottom: 1.1rem; }
.foot-loc strong { display: block; color: #fff; font-size: .95rem; margin-bottom: .15rem; }
.foot-loc span { display: block; font-size: .95rem; line-height: 1.55; }
.foot-loc a { display: inline-block; margin-top: .25rem; font-weight: 600; }
.social { display: flex; flex-wrap: nowrap; gap: .4rem; margin-top: 1.1rem; }
.site-footer .social a { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.75); color: #fff; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.site-footer .social a svg { width: .68rem; height: .68rem; }
.site-footer .social a:hover, .site-footer .social a:focus-visible { color: var(--navy-deep); background: var(--lime); border-color: var(--lime); text-decoration: none; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 2rem; } .site-footer { padding-bottom: 5rem; } }

/* ---------- Floating WhatsApp + lightbox ---------- */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60; display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.15rem; background: var(--wa); color: #fff; font-weight: 700; text-decoration: none;
  border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.wa-float:hover { background: #0b6330; }
.wa-float svg { width: 1.3rem; height: 1.3rem; }
@media (max-width: 480px) { .wa-float span { display: none; } .wa-float { padding: .9rem; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10,11,40,.82); }
.lb-inner { position: relative; background: #fff; border-radius: 8px; padding: 1rem; }
.lightbox img { max-width: min(88vw, 900px); max-height: 78vh; width: auto; height: auto; margin: 0 auto; }
.lb-cap { margin: .75rem 0 0; text-align: center; font-weight: 600; color: var(--navy); }
.lb-close {
  position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--lime); color: var(--navy-deep); font-size: 1.5rem; line-height: 1; font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile { animation: none; }
  * { transition: none !important; }
}
