:root {
  --navy: #0b2d5b;
  --navy-deep: #071d3c;
  --blue: #0a71b8;
  --teal: #00a89e;
  --green: #2bbe3f;
  --green-dark: #1f9a33;
  --white: #ffffff;
  --gray-50: #f5f6f8;
  --gray-100: #eceef2;
  --gray-300: #c9ced8;
  --gray-500: #6b7486;
  --ink: #0b2d5b;
  --text: #1c2433;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 78rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 0.35rem;
  --shadow: 0 10px 30px -18px rgba(11, 45, 91, 0.45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* Top bar */
.topbar { background: var(--navy-deep); color: var(--white); font-size: 0.75rem; font-weight: 600; }
.topbar-inner { display: flex; justify-content: center; gap: 2.5rem; padding-block: 0.45rem; }
.topbar a { display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; opacity: 0.9; }
.topbar a:hover { opacity: 1; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: var(--white); box-shadow: 0 1px 0 var(--gray-100); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); padding-block: 0.9rem; }
.logo img { width: clamp(8.5rem, 16vw, 11.5rem); }
.search { display: flex; height: 2.75rem; border: 1.5px solid var(--gray-300); border-radius: var(--radius); overflow: hidden; background: var(--gray-50); }
.search input { flex: 1; min-width: 0; padding: 0 1rem; border: 0; background: transparent; font-size: 0.88rem; }
.search input::placeholder { color: var(--gray-500); font-style: italic; }
.search input:focus { outline: none; }
.search button { width: 3rem; border: 0; border-left: 1.5px solid var(--gray-300); background: var(--white); color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.icon-box { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1.5px solid var(--gray-300); border-radius: var(--radius); background: var(--white); color: var(--navy); }
.account { display: flex; align-items: center; gap: 0.6rem; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.account-text { font-size: 0.72rem; line-height: 1.3; color: var(--gray-500); }
.account-text b { color: var(--navy); }
.cart { position: relative; cursor: pointer; }
.cart-badge { position: absolute; top: -0.45rem; right: -0.45rem; min-width: 1.2rem; height: 1.2rem; padding: 0 0.3rem; border-radius: 1rem; background: var(--green); color: var(--navy); font-size: 0.65rem; font-weight: 800; display: grid; place-items: center; }

.nav { background: var(--navy); }
.nav-inner { display: flex; justify-content: center; gap: clamp(1.25rem, 4vw, 3.5rem); overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav a { flex: none; padding: 0.8rem 0; color: var(--white); text-decoration: none; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; border-bottom: 3px solid transparent; }
.nav a:hover { opacity: 1; border-bottom-color: var(--green); }

@media (max-width: 760px) {
  .header-inner { grid-template-columns: 1fr auto; row-gap: 0.7rem; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .account-text { display: none; }
  .nav-inner { justify-content: flex-start; }
  .topbar-inner { gap: 1.5rem; }
}

/* Caution tape */
.tape { position: relative; z-index: 3; overflow: hidden; background: var(--navy-deep); border-block: 7px solid transparent; border-image: repeating-linear-gradient(-45deg, var(--green) 0 12px, var(--navy-deep) 12px 24px) 7; }
.tape-track { display: flex; width: max-content; }
.tape-track span { display: inline-flex; align-items: center; gap: 1.5rem; padding: 0.55rem 1.5rem 0.55rem 0; color: var(--white); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap; }
.tape-track span::before { content: ""; width: 0.9rem; height: 0.9rem; background: var(--green); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: clamp(26rem, 46vw, 38rem); display: grid; align-items: center; background: linear-gradient(110deg, var(--green) 0%, var(--teal) 55%, var(--blue) 100%); }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; z-index: 2; padding-block: 3.5rem; }
.hero-copy { max-width: 34rem; }
.hero-kicker { margin: 0 0 0.8rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); }
.hero h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 0.98; font-weight: 900; letter-spacing: -0.035em; text-transform: uppercase; color: var(--navy); }
.hero h1 span { display: inline-block; margin-top: 0.12em; padding: 0.02em 0.16em 0.06em; background: var(--navy); color: var(--white); }
.hero-sub { margin: 1.25rem 0 1.75rem; max-width: 28rem; font-size: clamp(0.98rem, 1.5vw, 1.1rem); font-weight: 600; color: var(--navy); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.1rem; padding: 0.8rem 1.6rem; border-radius: var(--radius); font-size: 0.92rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s, transform 0.2s; }
.btn-cta { background: var(--navy); color: var(--white); box-shadow: 0 12px 24px -12px rgba(7, 29, 60, 0.7); }
.btn-cta:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-outline { width: 100%; border: 1.5px solid var(--green-dark); color: var(--green-dark); background: var(--white); font-size: 0.8rem; min-height: 2.75rem; }
.btn-outline:hover { background: var(--green-dark); color: var(--white); }

/* Crane sign hanging over the hero */
.crane { position: absolute; z-index: 3; top: 0; left: 46%; display: grid; justify-items: center; transform-origin: top center; }
.crane-cable { width: 2px; height: clamp(2.5rem, 6vw, 4.5rem); background: var(--navy-deep); }
.crane-sign { position: relative; display: grid; justify-items: center; gap: 0.1rem; padding: 0.7rem 1rem 0.75rem; background: var(--white); color: var(--navy); border: 3px solid var(--navy-deep); border-radius: 0.3rem; box-shadow: var(--shadow); text-align: center; }
.crane-sign::before { content: ""; position: absolute; inset: -3px -3px auto; height: 9px; background: repeating-linear-gradient(-45deg, var(--green) 0 8px, var(--navy-deep) 8px 16px); border-radius: 0.3rem 0.3rem 0 0; }
.sign-hook { position: absolute; top: -0.85rem; width: 0.9rem; height: 0.9rem; border: 2px solid var(--navy-deep); border-radius: 50%; background: transparent; }
.crane-sign .ico { width: 1.4rem; height: 1.4rem; margin-top: 0.4rem; color: var(--green-dark); }
.crane-sign b { font-size: 1rem; line-height: 1; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.crane-sign span { margin-top: 0.15rem; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-500); }
@media (max-width: 760px) {
  .hero { min-height: 0; align-items: start; }
  .hero-inner { padding-block: 2.25rem 16rem; }
  .crane { left: auto; right: 1.25rem; }
  .crane-cable { height: 1.5rem; }
  .crane-sign { padding: 0.5rem 0.7rem; }
  .crane-sign b { font-size: 0.8rem; }
  .hero-kicker { max-width: 60%; }
}

/* Perks */
.perks { border-bottom: 1px solid var(--gray-100); }
.perks-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.4rem; }
.perk { display: flex; align-items: center; gap: 0.8rem; justify-content: center; }
.perk .ico { width: 1.9rem; height: 1.9rem; color: var(--green-dark); }
.perk p { margin: 0; display: grid; font-size: 0.72rem; color: var(--gray-500); line-height: 1.35; }
.perk b { font-size: 0.78rem; color: var(--navy); text-transform: uppercase; letter-spacing: 0.03em; }
@media (max-width: 900px) { .perks-inner { grid-template-columns: repeat(2, 1fr); } .perk { justify-content: flex-start; } }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-block: 3rem 1rem; }
.cat { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-deep); text-decoration: none; }
.cat img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 29, 60, 0.85), transparent 55%); }
.cat span { position: absolute; z-index: 1; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; padding: 0.7rem; border: 2px solid var(--white); color: var(--white); text-align: center; font-size: clamp(0.8rem, 1.6vw, 1rem); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; transition: background-color 0.3s, color 0.3s; }
.cat:hover img { transform: scale(1.06); opacity: 0.9; }
.cat:hover span { background: var(--white); color: var(--navy); }
@media (max-width: 640px) {
  .cats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cat { scroll-snap-align: start; }
}

/* Product shelf */
.shelf { padding-block: 3rem; }
.section-title { margin: 0; text-align: center; font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 900; letter-spacing: 0.02em; text-transform: uppercase; color: var(--navy); }
.section-sub { margin: 0.6rem auto 0; max-width: 34rem; text-align: center; color: var(--gray-500); font-size: 0.92rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--gray-100); }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.product { display: grid; gap: 0.6rem; align-content: start; padding: 0.7rem 0.7rem 1rem; border: 1px solid var(--gray-100); background: var(--white); box-shadow: 0 2px 6px -4px rgba(11, 45, 91, 0.25); }
.product-media { position: relative; aspect-ratio: 1; background: var(--gray-50); overflow: hidden; margin-bottom: 0.4rem; }
.product-media img { width: 100%; height: 100%; object-fit: contain; filter: saturate(0.9); }
.product-media img.flip { transform: scaleX(-1); }
.badge { position: absolute; top: 0.6rem; right: 0.6rem; padding: 0.25rem 0.55rem; border-radius: 0.2rem; background: var(--navy); color: var(--white); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.skel { height: 0.7rem; border-radius: 0.2rem; background: linear-gradient(90deg, var(--gray-100) 25%, #f9fafb 50%, var(--gray-100) 75%) 0 0 / 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
.w40 { width: 40%; } .w45 { width: 45%; } .w50 { width: 50%; } .w55 { width: 55%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; } .w85 { width: 85%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.product-price { margin: 0.5rem 0 0; font-size: 1.05rem; font-weight: 800; color: var(--green-dark); }
.progress { height: 4px; border-radius: 4px; background: var(--gray-100); overflow: hidden; margin-bottom: 0.4rem; }
.progress span { display: block; width: 40%; height: 100%; background: repeating-linear-gradient(-45deg, var(--green) 0 6px, var(--navy) 6px 12px); }
@media (max-width: 900px) {
  .products { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(13rem, 46%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
  .product { scroll-snap-align: start; }
}


/* Catalogue hidden behind construction tape */
.hoarding { position: relative; margin-top: 2rem; overflow: hidden; }
.hoarding .products { margin-top: 0; filter: blur(5px) saturate(0.7); opacity: 0.6; pointer-events: none; user-select: none; }
.hoarding-tape { position: absolute; left: -10%; right: -10%; top: 50%; display: flex; justify-content: center; gap: 2rem; padding: 0.6rem 0; background: var(--navy-deep); border-block: 6px solid transparent; border-image: repeating-linear-gradient(-45deg, var(--green) 0 10px, var(--navy-deep) 10px 20px) 6; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5); white-space: nowrap; }
.hoarding-tape span { color: var(--white); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }
.hoarding-tape.t1 { rotate: -6deg; translate: 0 -150%; }
.hoarding-tape.t2 { rotate: 4deg; translate: 0 60%; }
.hoarding-label { position: absolute; left: 50%; top: 18%; translate: -50% 0; margin: 0; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1.2rem; background: var(--white); border: 3px solid var(--navy-deep); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--navy); font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.hoarding-label .ico { color: var(--green-dark); width: 1.4rem; height: 1.4rem; }
@media (max-width: 900px) { .hoarding .products { overflow: hidden; } }
.obra-text { margin: -0.6rem 0 1.5rem; color: var(--gray-500); max-width: 26rem; }

/* Construction status */
.obra { background: var(--gray-50); border-block: 1px solid var(--gray-100); }
.obra-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(3rem, 7vw, 5rem); }
.kicker { margin: 0 0 0.4rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-dark); }
.obra h2 { margin: 0 0 1.4rem; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.05; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; color: var(--navy); }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.15rem; }
.checklist li { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid var(--gray-100); font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.checklist em { margin-left: auto; font-style: normal; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); background: repeating-linear-gradient(-45deg, rgba(43, 190, 63, 0.35) 0 6px, transparent 6px 12px); padding: 0.2rem 0.5rem; border: 1px solid var(--navy); }
.tick { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; }
.done .tick { background: var(--green); color: var(--navy); }
.done .tick .ico { width: 0.95rem; height: 0.95rem; }
.doing .tick { border: 2.5px solid var(--gray-300); border-top-color: var(--navy); animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Animated box pile with a tower crane, sized in em so it scales as one piece */
.stack { position: relative; font-size: clamp(10px, 2.6vw, 16px); width: 28em; height: 22em; margin-inline: auto; max-width: 100%; }
.ground { position: absolute; left: 0; right: 0; bottom: 0; height: 0.5em; background: repeating-linear-gradient(-45deg, var(--green) 0 0.6em, var(--navy) 0.6em 1.2em); border-radius: 0.2em; }
.stack-pile { position: absolute; left: 1em; bottom: 0.5em; width: 18.6em; height: 12em; }
.box { position: absolute; width: 6em; height: 3.8em; background: var(--white); border: 0.15em solid var(--navy); border-radius: 0.2em; box-shadow: inset 0 -0.35em 0 rgba(11, 45, 91, 0.08); }
.box i { position: absolute; left: 0; right: 0; top: 1.1em; height: 1em; background: var(--navy); }
.box::after { content: ""; position: absolute; right: 0.55em; top: 0.35em; width: 0.6em; height: 0.6em; background: var(--green); border-radius: 50%; }
.b1 { left: 0; bottom: 0; } .b2 { left: 6.3em; bottom: 0; } .b3 { left: 12.6em; bottom: 0; }
.b4 { left: 3.15em; bottom: 3.95em; } .b5 { left: 9.45em; bottom: 3.95em; }
.b6 { left: 6.3em; bottom: 7.9em; }
.b2 i, .box-lift i { background: var(--blue); }
.b3 i, .b6 i { background: var(--teal); }
.b5 i { background: var(--green); }
.stack-crane { position: absolute; inset: 0; }
.mast { position: absolute; right: 2em; bottom: 0.5em; width: 1.2em; height: 20.5em; background: repeating-linear-gradient(45deg, transparent 0 0.35em, var(--navy) 0.35em 0.5em), repeating-linear-gradient(-45deg, transparent 0 0.35em, var(--navy) 0.35em 0.5em); border-inline: 0.18em solid var(--navy); }
.jib { position: absolute; left: 0; right: 0.5em; top: 1em; height: 0.9em; background: repeating-linear-gradient(90deg, var(--navy) 0 0.18em, transparent 0.18em 1em), linear-gradient(var(--navy), var(--navy)) top / 100% 0.18em no-repeat, linear-gradient(var(--navy), var(--navy)) bottom / 100% 0.18em no-repeat; }
.trolley { position: absolute; left: 0; top: 1.9em; width: 6em; display: grid; justify-items: center; }
.trolley::before { content: ""; width: 1.6em; height: 0.6em; background: var(--green); border: 0.15em solid var(--navy); margin-top: -1em; }
.hook-line { width: 0.12em; height: 4em; background: var(--navy); transform-origin: top; }
.box-lift { position: relative; }

@media (max-width: 860px) { .obra-inner { grid-template-columns: 1fr; } .stack { order: 2; } }

/* Banner */
.banner { position: relative; margin-block: 3rem 4rem; }
.banner img { width: 100%; height: clamp(18rem, 32vw, 24rem); object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0 var(--gutter); background: linear-gradient(90deg, rgba(7, 29, 60, 0.15) 30%, rgba(7, 29, 60, 0.92) 70%); }
.banner-copy { position: absolute; z-index: 1; top: 50%; right: calc(var(--gutter) + clamp(1.25rem, 5vw, 4rem)); translate: 0 -50%; max-width: 26rem; color: var(--white); display: grid; gap: 0.9rem; justify-items: start; }
.banner h2 { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.05; font-weight: 900; text-transform: uppercase; }
.banner p { margin: 0; opacity: 0.85; }
.banner .btn-cta { background: var(--green); color: var(--navy); }
.banner .btn-cta:hover { background: var(--white); }
@media (max-width: 640px) {
  .banner img { height: 24rem; }
  .banner::after { background: linear-gradient(to top, rgba(7, 29, 60, 0.95) 45%, rgba(7, 29, 60, 0.2)); }
  .banner-copy { top: auto; bottom: 1.5rem; right: auto; left: calc(var(--gutter) + 1.25rem); translate: none; max-width: calc(100% - 2 * var(--gutter) - 2.5rem); }
}

/* Footer */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.78); font-size: 0.85rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; padding-block: 3rem calc(env(safe-area-inset-bottom, 0px) + 3rem); }
.footer img { width: 13rem; mix-blend-mode: screen; }
.footer-col { display: grid; gap: 0.45rem; align-content: start; }
.footer-col b { color: var(--white); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.3rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float { position: fixed; z-index: 50; right: 1.1rem; bottom: calc(env(safe-area-inset-bottom, 0px) + 1.1rem); width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: var(--white); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45); }
.wa-float .ico { width: 1.9rem; height: 1.9rem; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.7); opacity: 0; } }

/* Toast */
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 1.25rem); translate: -50% 0; width: min(calc(100% - 6.5rem), 30rem); display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1rem; background: var(--navy-deep); color: var(--white); border-radius: var(--radius); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5); border-top: 4px solid var(--green); font-size: 0.85rem; }
.toast[hidden] { display: none; }
.toast .ico { width: 1.6rem; height: 1.6rem; color: var(--green); }
.toast p { margin: 0; flex: 1; }
.toast a { flex: none; padding: 0.45rem 0.8rem; border-radius: var(--radius); background: var(--green); color: var(--navy); font-weight: 800; text-decoration: none; font-size: 0.78rem; text-transform: uppercase; }
@media (max-width: 640px) { .toast { left: 1rem; translate: none; width: calc(100% - 6rem); } }

/* Hidden until GSAP plays the intro */
.anim .hero-copy > *, .anim .crane { opacity: 0; }

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