/* Kuper Hardware Ltd — styles */

:root {
  --orange: #F7931E;
  --orange-dark: #D97A0A;
  --ink: #111111;
  --ink-2: #1c1c1c;
  --ink-3: #2a2a2a;
  --paper: #ffffff;
  --sand: #f6f3ee;
  --concrete: #e7e3dc;
  --text: #1a1a1a;
  --muted: #5d5a55;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, .h1 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--orange); color: var(--ink); padding: 8px 14px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--orange-dark); margin-bottom: .75em; }
.accent { color: var(--orange); }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: .01em;
  padding: .8em 1.4em; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { font-size: 1.125rem; padding: .95em 1.7em; }
.btn--primary { background: var(--orange); color: var(--ink); box-shadow: 0 4px 14px rgba(247, 147, 30, .35); }
.btn--primary:hover { background: #ffa53d; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-3); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }

/* Top bar */
.topbar { background: var(--ink); color: #d6d3ce; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.topbar__addr, .topbar__phone { display: inline-flex; align-items: center; gap: .45em; }
.topbar__addr svg, .topbar__phone svg { color: var(--orange); }
.topbar__phone { color: var(--paper); font-weight: 600; text-decoration: none; }
.topbar__phone:hover { color: var(--orange); }
@media (max-width: 600px) { .topbar__addr { display: none; } .topbar__inner { justify-content: center; } }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--ink-2); color: var(--paper); transition: box-shadow .2s ease; }
.header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .35); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
.brand__mark { width: 52px; height: auto; color: var(--paper); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 900; font-size: 1.6rem; color: var(--orange); letter-spacing: .04em; }
.brand__sub { font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .2em; color: var(--paper); margin-top: 4px; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: #e9e6e1; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s ease; }
.nav a:hover { color: var(--paper); }
.nav a:hover::after { transform: scaleX(1); }
.header__cta svg { font-size: 1.1em; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-left: 4px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--paper); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .brand__mark { width: 44px; }
  .brand__name { font-size: 1.35rem; }
  .nav-toggle { display: block; }
  .header__cta { margin-left: auto; padding: .6em 1.1em; font-size: .9rem; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--ink-2); border-top: 1px solid var(--ink-3); padding: 8px 16px 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--ink-3); font-size: 1.05rem; }
  .nav a::after { display: none; }
}
@media (max-width: 400px) { .brand__sub { display: none; } }

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero__track { position: relative; height: clamp(520px, 78vh, 720px); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; display: flex; align-items: center; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10, 10, 10, .88) 0%, rgba(10, 10, 10, .65) 40%, rgba(10, 10, 10, .1) 75%);
}
.hero__content { position: relative; z-index: 2; }
.hero__content > * { max-width: 620px; }
.hero h1, .hero .h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); font-weight: 900; text-transform: none; }
.hero .eyebrow { color: var(--orange); }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #e4e1dc; margin-bottom: 1.6em; }
@media (min-width: 901px) {
  .hero__slide img { left: auto; right: 0; width: 46%; }
  .hero__slide::before { background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 54%, rgba(17, 17, 17, .55) 58%, rgba(17, 17, 17, 0) 66%); }
  .hero__slide::after { content: ""; position: absolute; top: 0; bottom: 0; left: 54%; width: 6px; background: var(--orange); z-index: 2; }
  .hero__content > * { max-width: 560px; }
}
@media (max-width: 900px) {
  .hero__track { height: auto; display: grid; }
  .hero__slide { position: relative; inset: auto; grid-area: 1 / 1; flex-direction: column; align-items: stretch; }
  .hero__slide img { position: relative; inset: auto; height: clamp(220px, 45vw, 340px); border-bottom: 5px solid var(--orange); }
  .hero__slide::before { display: none; }
  .hero__content { padding-top: 28px; padding-bottom: 96px; }
}

.hero__controls { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 3; display: flex; align-items: center; gap: 10px; }
.hero__btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(0, 0, 0, .35); color: var(--paper); font-size: 1.2rem; line-height: 1; cursor: pointer;
  display: inline-grid; place-items: center;
}
.hero__btn:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.hero__pause { font-size: .95rem; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 28px; height: 6px; border-radius: 3px; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.hero__dots button[aria-selected="true"] { background: var(--orange); width: 44px; }

/* Trust strip */
.trust { background: var(--orange); color: var(--ink); }
.trust__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust__list li { padding: 22px 16px; display: flex; flex-direction: column; border-left: 1px solid rgba(0, 0, 0, .15); }
.trust__list li:first-child { border-left: 0; }
.trust strong { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }
.trust span { font-size: .9rem; }
@media (max-width: 800px) {
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .trust__list li { padding: 16px 12px; }
  .trust__list li:nth-child(3) { border-left: 0; }
  .trust__list li:nth-child(n+3) { border-top: 1px solid rgba(0, 0, 0, .15); }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: clamp(40px, 6vw, 64px) 0; }
.section__head { max-width: 640px; margin-bottom: 36px; }
.section__head p:last-child { color: var(--muted); font-size: 1.05rem; }
.section__head--row { max-width: none; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section__head--row h2, .section__head--row p { margin: 0; }

/* Product cards */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--concrete); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, .14); }
.card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.card__body { padding: 14px 16px 16px; border-top: 4px solid var(--orange); }
.card h3 { margin-bottom: .3em; }
.card a { font-weight: 600; font-size: .92rem; color: var(--orange-dark); text-decoration: none; }
.card a:hover { text-decoration: underline; }
@media (max-width: 720px) { .card__body { padding: 10px 12px 12px; } .card h3 { font-size: 1rem; } .card a { font-size: .85rem; } }
.card--icon { display: flex; flex-direction: column; }
.card__icon { background: var(--ink-2); color: var(--orange); display: grid; place-items: center; aspect-ratio: 2 / 1; }
.card__icon svg { width: 76px; height: 76px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.card--icon:hover .card__icon svg { transform: scale(1.08); }
.card--icon .card__body { flex: 1; display: flex; flex-direction: column; }
.card--icon p { color: var(--muted); font-size: .9rem; margin: 0 0 .6em; flex: 1; }
@media (max-width: 720px) { .card__icon svg { width: 54px; height: 54px; } .card--icon p { font-size: .82rem; } }
.cards__more { margin-top: 28px; text-align: center; color: var(--muted); }
.cards__more a { color: var(--orange-dark); font-weight: 600; }

/* Sand & stone band */
.band { background: var(--orange) repeating-linear-gradient(135deg, transparent 0 22px, rgba(0, 0, 0, .04) 22px 44px); color: var(--ink); padding: clamp(40px, 6vw, 64px) 0; }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h2 { margin-bottom: .25em; font-weight: 900; }
.band p { margin: 0; font-size: 1.1rem; }

/* About */
.about { background: var(--sand); }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about__text p { font-size: 1.05rem; }
.about blockquote { margin: 1.4em 0 1.6em; padding-left: 18px; border-left: 4px solid var(--orange); font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; font-style: italic; }
.about__photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 800px) { .about__grid { grid-template-columns: 1fr; } .about__photo img { aspect-ratio: 4 / 3; } }

/* Yard strip */
.yard__strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.yard__strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
@media (max-width: 900px) { .yard__strip { grid-template-columns: repeat(3, 1fr); } }

/* Find us + map */
.findus { background: var(--paper); border-top: 1px solid var(--concrete); }
.findus__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: stretch; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--concrete); min-height: 460px; background: var(--concrete); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }
.contact-card { background: var(--ink); color: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.contact-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 25%; }
.contact-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.contact-card h3 { color: var(--orange); font-size: 1.3rem; }
.contact-card .muted { color: #b9b5ae; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--ink-3); flex-wrap: wrap; }
.contact-list span { color: #b9b5ae; }
.contact-list a { color: var(--paper); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--orange); }
.contact-card__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.contact-card .btn--outline { border-color: var(--paper); color: var(--paper); }
.contact-card .btn--outline:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 900px) {
  .findus__grid { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 340px; }
}

/* Footer */
.footer { background: var(--ink); color: #c9c5bf; padding: 56px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px; }
.footer h3 { color: var(--paper); font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.footer a { display: block; text-decoration: none; padding: 4px 0; }
.footer a:hover { color: var(--orange); }
.footer .brand { display: inline-flex; padding: 0; }
.footer__tag { margin-top: 14px; font-style: italic; }
.footer__legal { border-top: 1px solid var(--ink-3); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #8d8983; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .callbar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    display: flex; align-items: center; justify-content: center; gap: .5em;
    background: var(--orange); color: var(--ink); text-decoration: none;
    font-family: var(--font-head); font-weight: 900; font-size: 1.1rem;
    padding: 16px; border-radius: 999px; box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
  }
  .callbar svg { font-size: 1.2em; }
}

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