/* ==========================================================================
   Tridev Packers and Movers - design system (v2, "freight yard")
   Palette  : #FF0000 red / #BC0202 dark red / #830000 deep red / #000000 black
   Fonts    : Barlow Condensed (headings) + Barlow (body). Sizes tuned to this pair.
   Shape    : square corners (2px max). Hard offset shadows instead of soft glows.
   Motifs   : road-line dividers, hazard stripes, packing-tape band, shipping-label
              forms, crop marks, outlined numerals, diagonal cuts.
   ========================================================================== */

:root {
  --red: #FF0000;
  --red-dark: #BC0202;
  --red-deep: #830000;
  --black: #000000;
  --ink: #0b0b0b;
  --text: #3a3a3a;
  --line: #e2e2e2;
  --surface: #f4f4f4;
  --font-display: "Barlow Condensed", "Barlow", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; color: #000; letter-spacing: .005em; }
img { max-width: 100%; height: auto; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.container-x { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: 1.1rem; }
@media (min-width: 768px) { .container-x { padding-inline: 2rem; } }
@media (min-width: 1536px) { .container-x { max-width: 1480px; } }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #000; color: #fff; padding: .8rem 1.1rem; font-size: 14px; }
.skip-link:focus { left: 0; }

/* Sections ---------------------------------------------------------------- */
.section { padding-block: 4rem; position: relative; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.section-white { background: #fff; }
.section-gray { background: var(--surface); }
.section-dark { background: #000; color: rgba(255,255,255,.76); position: relative; }

/* Decorative building blocks ---------------------------------------------- */
.dots { background-image: radial-gradient(rgba(0,0,0,.14) 1.2px, transparent 1.4px); background-size: 22px 22px; }
.dots-light { background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.4px); background-size: 22px 22px; }
.stripes { height: 12px; background: repeating-linear-gradient(135deg, #000 0 10px, var(--red) 10px 20px); }
.stripes-lg { height: 22px; background: repeating-linear-gradient(135deg, #000 0 14px, var(--red) 14px 28px); }
.road-line { height: 4px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 38px, transparent 38px 70px); }
.road-line-dark { height: 4px; background: repeating-linear-gradient(90deg, #000 0 38px, transparent 38px 70px); }
.rule { display: block; width: 64px; height: 5px; background: var(--red); }
.outline-num { font-family: var(--font-display); font-weight: 800; -webkit-text-fill-color: transparent; -webkit-text-stroke: 2px currentColor; line-height: 1; user-select: none; transition: color .3s; }

.hero-bg {
  background:
    radial-gradient(rgba(255,255,255,.09) 1.2px, transparent 1.4px) 0 0 / 24px 24px,
    linear-gradient(112deg, #000 0 61%, var(--red) 61% 61.35%, #0d0d0d 61.35% 100%);
}
.banner-bg {
  background:
    radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.4px) 0 0 / 24px 24px,
    linear-gradient(104deg, #000 0 74%, var(--red-dark) 74% 74.3%, #0d0d0d 74.3% 100%);
}
@media (max-width: 767px) {
  .hero-bg { background: radial-gradient(rgba(255,255,255,.09) 1.2px, transparent 1.4px) 0 0 / 24px 24px, #000; }
  .banner-bg { background: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.4px) 0 0 / 24px 24px, #000; }
}

.crop { position: relative; }
.crop::before, .crop::after { content: ""; position: absolute; width: 34px; height: 34px; z-index: 3; pointer-events: none; }
.crop::before { top: -10px; left: -10px; border-top: 4px solid var(--red); border-left: 4px solid var(--red); }
.crop::after { bottom: -10px; right: -10px; border-bottom: 4px solid var(--red); border-right: 4px solid var(--red); }
.offset-block { box-shadow: 18px 18px 0 0 var(--red); }
.offset-block-dark { box-shadow: 18px 18px 0 0 #000; }

.diag-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%); padding-bottom: 7rem; }
@media (max-width: 767px) { .diag-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); padding-bottom: 4.5rem; } }

/* Packing-tape band --------------------------------------------------------- */
.tape-wrap { overflow: hidden; padding-block: 14px; background: transparent; }
.tape { background: var(--red); color: #fff; transform: rotate(-1.4deg); width: 104%; margin-left: -2%; border-block: 3px solid #000; box-shadow: 0 10px 0 -6px rgba(0,0,0,.12); }
.tape-track { display: flex; width: max-content; }
.tape-item { display: inline-flex; align-items: center; gap: 1.4rem; padding: .7rem 1.4rem; font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tape-item::after { content: ""; width: 10px; height: 10px; background: #000; transform: rotate(45deg); }

/* Buttons --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .8rem 1.4rem; border: 2px solid transparent; border-radius: 2px;
  font-family: var(--font-body); font-size: 13px; line-height: 1.2; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: none; }
.btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 4px 4px 0 #000; }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); box-shadow: 6px 6px 0 #000; }
.btn-dark { background: #000; border-color: #000; color: #fff; box-shadow: 4px 4px 0 var(--red); }
.btn-dark:hover { background: #111; box-shadow: 6px 6px 0 var(--red); }
.btn-outline { background: transparent; border-color: #000; color: #000; }
.btn-outline:hover { background: #000; color: #fff; }
.btn-white { background: #fff; border-color: #fff; color: #000; box-shadow: 4px 4px 0 #000; }
.btn-white:hover { background: #000; border-color: #000; color: #fff; box-shadow: 6px 6px 0 #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: #000; }
.btn-whatsapp { background: #25D366; border-color: #25D366; color: #fff; box-shadow: 4px 4px 0 #000; }
.btn-whatsapp:hover { background: #1ebe5a; border-color: #1ebe5a; box-shadow: 6px 6px 0 #000; }
.btn-sm { padding: .55rem 1rem; font-size: 12px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Tagline, icon blocks, cards ----------------------------------------------------- */
.tagline {
  display: inline-flex; align-items: center; gap: .55rem; padding: .38rem 1rem .38rem .8rem;
  font-size: 13px; line-height: 1.3; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #000; background: #fff; border: 1px solid #000; border-left: 5px solid var(--red); border-radius: 0;
}
.tagline svg { color: var(--red); flex-shrink: 0; }
.tagline-dark { color: #fff; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.3); border-left-color: var(--red); }

.icon-chip {
  display: inline-flex; align-items: center; justify-content: center; width: 3.2rem; height: 3.2rem; flex-shrink: 0;
  border: 2px solid var(--red); border-radius: 0; color: var(--red);
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.icon-chip-solid { background: var(--red); border-color: var(--red); color: #fff; }
.icon-chip-dark { background: transparent; border-color: rgba(255,255,255,.22); color: var(--red); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 0; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.card-hover:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--red); border-color: #000; }
.card-hover:hover .icon-chip:not(.icon-chip-solid):not(.icon-chip-dark) { background: var(--red); color: #fff; }
.glass-card { background: #fff; border: 2px solid #000; border-radius: 0; box-shadow: 10px 10px 0 rgba(0,0,0,.9); }
.glass-dark { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.14); border-radius: 0; }
.chip-dark { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; font-size: 14px; font-weight: 600; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); border-radius: 0; }
.chip-light { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #000; background: #fff; border: 1px solid #000; border-radius: 0; transition: background-color .2s, color .2s, border-color .2s; }
.chip-light:hover { background: var(--red); border-color: var(--red); color: #fff; }
.chip-light:hover svg { color: #fff; }

/* Shipping-label motif (quote form wrapper) ------------------------------------ */
.label-card { background: #fff; border: 2px solid #000; border-radius: 0; box-shadow: 12px 12px 0 var(--red); position: relative; }
.label-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.2rem; background: #000; color: #fff; }
.label-head .label-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; line-height: 1.1; }
.barcode { width: 92px; height: 28px; flex-shrink: 0; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 9px, #fff 9px 12px, transparent 12px 14px, #fff 14px 15px, transparent 15px 18px); opacity: .9; }
.label-perf { border-top: 2px dashed #000; position: relative; }
.label-perf::before, .label-perf::after { content: ""; position: absolute; top: -9px; width: 16px; height: 16px; background: #fff; border: 2px solid #000; border-radius: 50%; }
.label-perf::before { left: -10px; } .label-perf::after { right: -10px; }

/* Header / nav ------------------------------------------------------------------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 10px 24px -16px rgba(0,0,0,.5); }
.brand-mark .brand-top { font-family: var(--font-display); font-size: 28px; font-weight: 800; line-height: .95; letter-spacing: .02em; text-transform: uppercase; color: #000; }
.brand-mark .brand-top b { color: var(--red); font-weight: 800; }
.brand-mark .brand-sub { display: flex; align-items: center; gap: .5rem; margin-top: 3px; font-size: 12px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: #555; }
.brand-mark .brand-sub::before { content: ""; width: 22px; height: 3px; background: var(--red); }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: .35rem; padding: .7rem .75rem; white-space: nowrap; font-size: 15px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #111; transition: color .2s; }
.nav-link::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .25rem; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link:hover, .nav-link.is-active { color: var(--red-dark); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.mobile-link { display: flex; align-items: center; gap: .7rem; padding: .85rem .6rem; font-size: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #111; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.mobile-link:hover, .mobile-link.is-active { color: var(--red-dark); }
[data-submenu-toggle][aria-expanded="true"] svg { transform: rotate(180deg); }
.drop-menu { background: #fff; border: 2px solid #000; border-top: 5px solid var(--red); box-shadow: 10px 10px 0 rgba(0,0,0,.9); }

/* Footer ------------------------------------------------------------------------ */
.footer-title { position: relative; display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.footer-title::before { content: ""; width: 12px; height: 12px; background: var(--red); }
.footer-link { color: rgba(255,255,255,.72); transition: color .2s, padding-left .2s; }
.footer-link:hover { color: #fff; padding-left: .3rem; }
.fab { width: 3.1rem; height: 3.1rem; border-radius: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; box-shadow: 4px 4px 0 #000; transition: transform .25s var(--ease), opacity .25s; }
.fab:hover { transform: translate(-2px, -2px); }
.fab-dark { background: #000; border: 2px solid #fff; }
.fab-whatsapp { background: #25D366; }
.safe-bottom { padding-bottom: calc(.55rem + env(safe-area-inset-bottom, 0px)); }

/* Scroll reveal ------------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Forms --------------------------------------------------------------------------- */
.form-group { display: block; }
.form-label { display: block; margin-bottom: .35rem; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #000; }
.form-input {
  width: 100%; padding: .8rem 1rem; font-family: var(--font-body); font-size: 16px; line-height: 1.4; color: #111; background: #fff;
  border: 1.5px solid #c9c9c9; border-radius: 2px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
select.form-input { font-size: 15px; text-overflow: ellipsis; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'><path d='m19.5 8.25-7.5 7.5-7.5-7.5'/></svg>"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1rem; padding-right: 2.4rem; }
.form-input::placeholder { color: #8a8a8a; }
.form-input:focus { outline: none; border-color: #000; box-shadow: 4px 4px 0 var(--red); }
.form-input-dark { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.28); color: #fff; }
.form-input-dark::placeholder { color: rgba(255,255,255,.55); }
.form-input-dark:focus { border-color: #fff; box-shadow: 4px 4px 0 var(--red); }
.form-input.is-invalid { border-color: var(--red-dark); background: #fff6f6; }
.form-input.is-valid { border-color: #000; }
.field-error { margin-top: .35rem; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--red-dark); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: .85rem 1rem; border-radius: 0; font-size: 15px; font-weight: 600; line-height: 1.45; }
.form-status.is-success { background: #000; color: #fff; border-left: 5px solid var(--red); }
.form-status.is-error { background: #fff0f0; color: var(--red-deep); border-left: 5px solid var(--red-dark); }
.form-status-dark.is-success { background: rgba(255,255,255,.1); }
.form-status-dark.is-error { background: rgba(255,0,0,.2); color: #fff; }
[data-submit].is-loading [data-submit-label] { display: none; }
[data-submit].is-loading [data-submit-loading] { display: inline-flex; }

/* Modal: full-screen sheet on mobile, centred panel from 640px ------------------------------ */
.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: stretch; justify-content: center; padding: 0; }
.modal[hidden] { display: none; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.82); animation: fade .25s ease; }
.modal-panel { position: relative; display: flex; flex-direction: column; width: 100%; height: 100vh; height: 100dvh; background: #fff; outline: none; animation: sheet .35s var(--ease); }
.modal-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: calc(.8rem + env(safe-area-inset-top, 0px)) 1rem .8rem; background: #000; color: #fff; }
.modal-kicker { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); line-height: 1.2; }
.modal-title { margin-top: 2px; font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; line-height: 1.1; }
.modal-close { flex: none; width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: #fff; transition: background-color .2s, color .2s, transform .2s; }
.modal-close:hover { background: #fff; color: #000; transform: rotate(90deg); }
.modal-progress { flex: none; height: 4px; background: #2b2b2b; }
.modal-progress > span { display: block; height: 100%; width: 0; background: var(--red); transition: width .35s var(--ease); }
.modal-form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 1.1rem 1rem 1.25rem; }
.modal-intro { font-size: 15px; line-height: 1.45; color: #4a4a4a; }
.modal-perks { display: flex; flex-wrap: wrap; gap: .4rem .6rem; margin: .9rem 0 1.4rem; }
.modal-perks li { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .65rem; background: var(--surface); border-left: 3px solid var(--red); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #000; }
.modal-perks svg { color: var(--red); }
.form-section { margin-bottom: 1.5rem; }
.form-section-title { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; padding-bottom: .55rem; border-bottom: 2px solid #000; font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #000; line-height: 1.1; }
.form-section-title .step { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.65rem; height: 1.65rem; background: #000; color: #fff; font-size: 15px; letter-spacing: 0; }
.form-section-title .opt { margin-left: auto; font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: #777; }
.modal-form .form-input { padding: .85rem 1rem; font-size: 16px; min-height: 3rem; }
.modal-form select.form-input { font-size: 16px; }
.modal-form textarea.form-input { min-height: 5.5rem; resize: vertical; }
.modal-foot { flex: none; padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 3px solid #000; box-shadow: 0 -12px 22px -16px rgba(0,0,0,.45); }
.btn-lg { padding: 1rem 1.4rem; font-size: 14px; }
.modal-privacy { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .6rem; font-size: 12.5px; line-height: 1.35; color: #6b6b6b; text-align: center; }
.modal-success { display: none; flex: 1 1 auto; align-items: center; justify-content: center; padding: 2rem 1.25rem; text-align: center; overflow-y: auto; }
.modal-success-inner { max-width: 26rem; }
.success-mark { display: inline-flex; align-items: center; justify-content: center; width: 4.5rem; height: 4.5rem; background: var(--red); color: #fff; box-shadow: 6px 6px 0 #000; }
.modal-panel.is-done .modal-form, .modal-panel.is-done .modal-progress { display: none; }
.modal-panel.is-done .modal-success { display: flex; }
body.modal-open { overflow: hidden; }
@media (min-width: 640px) {
  .modal { align-items: center; padding: 1.5rem; }
  .modal-panel { height: auto; max-height: calc(100vh - 3rem); max-height: calc(100dvh - 3rem); max-width: 640px; border: 2px solid #000; box-shadow: 12px 12px 0 var(--red); animation: pop .35s var(--ease); }
  .modal-head { padding: .9rem 1.25rem; }
  .modal-body { padding: 1.4rem 1.5rem 1.5rem; }
  .modal-foot { padding: 1rem 1.5rem; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(18px); } }
@keyframes sheet { from { opacity: 0; transform: translateY(40px); } }
/* Accordion (FAQ) --------------------------------------------------------------------- */
.acc-item { background: #fff; border: 1px solid var(--line); border-left: 5px solid #000; border-radius: 0; transition: border-color .25s, box-shadow .25s; }
.acc-item.is-open { border-left-color: var(--red); box-shadow: 8px 8px 0 rgba(0,0,0,.9); border-color: #000; border-left-color: var(--red); }
.acc-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.25rem; text-align: left; font-family: var(--font-display); font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: .01em; color: #000; }
.acc-btn .acc-icon { flex-shrink: 0; width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; background: #000; color: #fff; transition: transform .3s var(--ease), background-color .3s; }
.acc-btn .acc-icon svg { transition: transform .3s var(--ease); }
.acc-item.is-open .acc-icon { background: var(--red); }
.acc-item.is-open .acc-icon svg { transform: rotate(45deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }

/* Gallery ------------------------------------------------------------------------------- */
.filter-btn { padding: .6rem 1.2rem; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #000; background: #fff; border: 1.5px solid #000; border-radius: 0; transition: all .2s var(--ease); }
.filter-btn:hover { background: #000; color: #fff; }
.filter-btn.is-active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 4px 4px 0 #000; }
.gallery-item { position: relative; overflow: hidden; border-radius: 0; background: #000; cursor: zoom-in; transition: opacity .35s, transform .35s var(--ease); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.gallery-item:hover img { transform: scale(1.06); opacity: .75; }
.gallery-item .cap { position: absolute; left: 0; bottom: 0; padding: .55rem 1rem; background: var(--red); color: #fff; font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transform: translateY(100%); transition: transform .35s var(--ease); }
.gallery-item:hover .cap, .gallery-item:focus-visible .cap { transform: none; }
.gallery-item.is-hidden { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(980px, 100%); }
.lightbox img { max-height: 76vh; width: auto; margin-inline: auto; border: 3px solid #fff; }
.lightbox figcaption { margin-top: .85rem; text-align: center; color: #fff; font-size: 16px; }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; background: #fff; color: #000; display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s; }
.lb-btn:hover { background: var(--red); color: #fff; }
.lb-prev { left: .75rem; } .lb-next { right: .75rem; } .lb-close { top: 1rem; right: 1rem; transform: none; }

/* Before / after ----------------------------------------------------------------------- */
.compare { position: relative; overflow: hidden; border-radius: 0; aspect-ratio: 16 / 9; background: #000; user-select: none; border: 3px solid #000; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 4px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.compare .handle span { position: absolute; top: 50%; left: 50%; width: 2.8rem; height: 2.8rem; transform: translate(-50%, -50%); background: var(--red); color: #fff; border: 3px solid #fff; display: flex; align-items: center; justify-content: center; }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .label { position: absolute; top: .8rem; padding: .3rem .8rem; background: #000; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* Sliders, marquee, misc ------------------------------------------------------------------- */
/* Stat cards (red section) ------------------------------------------------- */
.stat-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: #000; color: #fff; border-bottom: 4px solid #fff; box-shadow: 6px 6px 0 rgba(0,0,0,.28); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.stat-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 rgba(0,0,0,.35); }
.stat-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; background: var(--red); color: #fff; }
.stat-figure { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 2.8vw, 38px); line-height: 1; letter-spacing: .01em; color: #fff; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: .35rem; font-size: 12.5px; line-height: 1.35; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); }

/* Reviews: full-width seamless marquee ------------------------------------- */
.reviews { overflow: hidden; padding-block: 6px 26px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.reviews-track { display: flex; width: max-content; will-change: transform; backface-visibility: hidden; animation: reviews-scroll calc(var(--n, 8) * 8s) linear infinite; }
@keyframes reviews-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.reviews.is-paused .reviews-track, .reviews:focus-within .reviews-track { animation-play-state: paused; }
@media (hover: hover) { .reviews:hover .reviews-track { animation-play-state: paused; } }
/* margin (not gap) so that one full set is exactly half of the track and the loop has no jump */
.review-card { position: relative; flex: none; width: min(84vw, 360px); margin-right: 1.5rem; display: flex; flex-direction: column; padding: 1.75rem 1.5rem 1.4rem; background: #fff; border-top: 5px solid #000; box-shadow: 0 14px 28px -16px rgba(0,0,0,.28); }
.review-card::after { content: ""; position: absolute; left: 0; top: -5px; width: 56px; height: 5px; background: var(--red); }
.review-quote { position: absolute; top: 0; right: 1.1rem; font-family: var(--font-display); font-size: 58px; line-height: 1; color: var(--red); user-select: none; }
.when-paused { display: none; }
.is-toggled .when-playing { display: none; }
.is-toggled .when-paused { display: inline-flex; }
@media (prefers-reduced-motion: reduce) {
  .reviews { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .reviews-track { animation: none; }
  .review-card[aria-hidden="true"] { display: none; }
}
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: .75rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.stat-num { font-family: var(--font-display); font-weight: 800; letter-spacing: .01em; }

/* Blog article ------------------------------------------------------------------------------ */
.article h2 { margin-top: 2.2rem; margin-bottom: .7rem; scroll-margin-top: 120px; font-size: 30px; line-height: 1.1; text-transform: uppercase; }
.article p { margin-bottom: 1rem; color: #3a3a3a; font-size: 17px; line-height: 1.6; }
.article ul { margin: .6rem 0 1.2rem; display: grid; gap: .55rem; }
.article ul li { position: relative; padding-left: 1.7rem; color: #3a3a3a; font-size: 17px; }
.article ul li::before { content: ""; position: absolute; left: 0; top: .55rem; width: .7rem; height: .7rem; background: var(--red); }
.article h3 { margin-top: 1.5rem; margin-bottom: .5rem; font-size: 22px; line-height: 1.2; text-transform: uppercase; }
.article ol.steps { margin: .6rem 0 1.2rem; display: grid; gap: .7rem; counter-reset: step; }
.article ol.steps li { position: relative; padding-left: 3rem; min-height: 2rem; color: #3a3a3a; font-size: 17px; counter-increment: step; }
.article ol.steps li::before { content: counter(step); position: absolute; left: 0; top: .1rem; width: 2rem; height: 2rem; display: grid; place-items: center; background: #000; color: #fff; font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.takeaways li { position: relative; padding-left: 1.7rem; font-size: 16px; color: #3a3a3a; }
.takeaways li::before { content: ""; position: absolute; left: 0; top: .5rem; width: .7rem; height: .7rem; background: var(--red); }
.toc a { display: block; padding: .45rem .8rem; border-left: 3px solid var(--line); font-weight: 600; color: #3a3a3a; transition: all .2s; }
.toc a:hover, .toc a.is-active { border-color: var(--red); color: #000; background: rgba(255,0,0,.06); }

/* Legal pages */
.legal-section { padding-top: 2.2rem; margin-top: 2.2rem; border-top: 2px solid #000; scroll-margin-top: 120px; }
.legal-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h2 { display: flex; align-items: baseline; gap: .8rem; margin-bottom: .8rem; font-size: 28px; line-height: 1.1; text-transform: uppercase; }
.legal-num { font-family: var(--font-display); font-size: 28px; color: var(--red); }
.legal h3 { margin-top: 1.4rem; margin-bottom: .4rem; font-size: 20px; line-height: 1.2; text-transform: uppercase; }
.legal p, .legal li { color: #3a3a3a; margin-bottom: .6rem; font-size: 16px; line-height: 1.55; }
.legal ul { list-style: square; padding-left: 1.3rem; margin-bottom: .9rem; }
.legal ul li::marker { color: var(--red); }
.legal ol.legal-steps { counter-reset: lstep; display: grid; gap: .6rem; margin: .6rem 0 1rem; }
.legal ol.legal-steps li { position: relative; padding-left: 2.8rem; margin: 0; counter-increment: lstep; }
.legal ol.legal-steps li::before { content: counter(lstep); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; background: #000; color: #fff; font-family: var(--font-display); font-weight: 700; }
.legal-note { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--surface); border-left: 4px solid var(--red); }
.legal-table-wrap { overflow-x: auto; margin: 1rem 0 1.2rem; border: 1px solid #000; }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.legal-table th, .legal-table td { padding: .7rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid #ddd; color: #3a3a3a; line-height: 1.45; }
.legal-table thead th { background: #000; color: #fff; font-family: var(--font-display); font-size: 16px; letter-spacing: .05em; text-transform: uppercase; }
.legal-table tbody th { color: #000; font-weight: 700; width: 24%; }
.legal-table tbody tr:last-child th, .legal-table tbody tr:last-child td { border-bottom: 0; }

/* Section headings */
.section-head h2, .section-head h1 { text-transform: uppercase; letter-spacing: .01em; }
.rule-black .rule { background: #000; }
.rule-black .tagline svg { color: #fff; }
.rule-black .tagline-dark { border-left-color: #000; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
