/* ==========================================================================
   ASK Enterprises — Premium static styles
   ========================================================================== */

:root {
  --brown: #6B3F1D;
  --brown-dark: #4a2b13;
  --beige: #F4E8D0;
  --beige-soft: #FBF6EB;
  --green: #7CB342;
  --orange: #E67E22;
  --white: #FFFFFF;
  --ink: #24160a;
  --muted: #7a6a58;
  --line: #ecd9b6;

  --shadow-sm: 0 4px 14px rgba(70, 40, 15, 0.06);
  --shadow-md: 0 12px 30px rgba(70, 40, 15, 0.10);
  --shadow-lg: 0 25px 60px rgba(70, 40, 15, 0.18);

  --radius: 16px;
  --radius-lg: 22px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brown-dark);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brown);
  background: var(--beige);
  padding: 6px 14px;
  border-radius: 999px;
}
.eyebrow i { color: var(--green); }

.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}
.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}
.section__head .eyebrow { margin-bottom: 14px; }
.section__sub {
  margin-top: 12px;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--brown);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn--ghost:hover { background: var(--white); color: var(--brown-dark); transform: translateY(-2px); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.nav.is-scrolled {
  box-shadow: 0 6px 20px rgba(70,40,15,0.06);
  border-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo {
  width: 46px; height: 46px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brown-dark);
  letter-spacing: 0.02em;
}
.nav__brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 4px;
  font-weight: 600;
}
.nav__links { display: flex; gap: 34px; align-items: center; }
.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .25s ease;
}
.nav__links a:hover { color: var(--brown); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  margin: 4px auto;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  filter: saturate(1.05);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(30,15,5,0.82) 0%, rgba(107,63,29,0.55) 45%, rgba(30,15,5,0.15) 100%),
    radial-gradient(1200px 500px at 90% 100%, rgba(230,126,34,0.25), transparent 60%);
}
.hero__content {
  position: relative;
  color: var(--white);
  max-width: 720px;
}
.hero__content .eyebrow {
  color: var(--beige);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
}
.hero__content h1 {
  color: var(--white);
  margin: 20px 0 18px;
}
.hero__content p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 560px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 34px;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 14px;
}
.hero__stats {
  margin-top: 56px;
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero__stats > div { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
}
.hero__stats span {
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { background: var(--beige-soft); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.about__badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--white);
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.about__badge i {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--green) 20%, white);
  color: var(--green);
  display: grid; place-items: center;
  font-size: 1.05rem;
}
.about__badge strong { display: block; font-family: var(--font-display); color: var(--brown-dark); }
.about__badge span { font-size: 0.82rem; color: var(--muted); }

.about__body h2 { margin: 16px 0 20px; }
.about__body p { color: var(--muted); margin-bottom: 14px; }
.about__list { margin-top: 24px; display: grid; gap: 12px; }
.about__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.about__list i {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--green) 18%, white);
  color: var(--green);
  display: grid; place-items: center;
  font-size: 0.72rem;
}

/* ==========================================================================
   WHY
   ========================================================================== */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: color-mix(in oklab, var(--brown) 12%, white);
  color: var(--brown);
  display: grid; place-items: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.card__icon--green { background: color-mix(in oklab, var(--green) 15%, white); color: var(--green); }
.card__icon--orange { background: color-mix(in oklab, var(--orange) 15%, white); color: var(--orange); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.products { background: var(--beige-soft); }
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product__img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--beige);
}
.product__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.product:hover .product__img img { transform: scale(1.06); }
.product__body { padding: 22px 24px 26px; }
.product__body h3 { margin-bottom: 6px; }
.product__body p { color: var(--muted); font-size: 0.94rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.contact__info h2 { margin: 16px 0 16px; }
.contact__info > p { color: var(--muted); margin-bottom: 30px; max-width: 480px; }
.contact__list { display: grid; gap: 20px; }
.contact__list li { display: flex; align-items: flex-start; gap: 16px; }
.contact__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: color-mix(in oklab, var(--brown) 10%, white);
  color: var(--brown);
  display: grid; place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact__list strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--brown-dark); }
.contact__list span { font-size: 0.88rem; color: var(--muted); }
.contact__list a:hover { color: var(--orange); }

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.contact__map iframe {
  width: 100%; height: 460px; border: 0; display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.78);
  padding-top: 70px;
  margin-top: 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer__brand img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: white; }
.footer__brand strong { color: var(--white); font-family: var(--font-display); font-size: 1.15rem; display: block; }
.footer__brand span { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
.footer__desc { max-width: 380px; font-size: 0.95rem; }

.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: var(--white);
  transition: background .2s ease, transform .2s ease;
}
.footer__social a:hover { background: var(--orange); transform: translateY(-2px); }

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 600;
}
.footer ul { display: grid; gap: 12px; font-size: 0.95rem; }
.footer ul a:hover { color: var(--orange); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact i { color: var(--orange); margin-top: 5px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
.floats {
  position: fixed;
  right: 20px; bottom: 20px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 90;
}
.float {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform .2s ease;
  position: relative;
}
.float:hover { transform: scale(1.08); }
.float--wa { background: #25D366; }
.float--call { background: var(--brown); }
.float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 currentColor;
  opacity: .4;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 currentColor; opacity: .4; }
  100% { box-shadow: 0 0 0 22px currentColor; opacity: 0; }
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media img { height: 400px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(70,40,15,0.10);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a:last-child { border-bottom: none; }

  .hero { min-height: 84vh; text-align: left; padding: 80px 0 60px; }
  .hero__stats { gap: 24px; margin-top: 40px; }
  .hero__stats strong { font-size: 1.4rem; }

  .why__grid { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .contact__map iframe { height: 320px; }

  .floats { right: 14px; bottom: 14px; }
  .float { width: 52px; height: 52px; font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float::after { animation: none; }
  html { scroll-behavior: auto; }
}


/* ========================================================================== 
   PRODUCT CATALOGUE EXTENSIONS
   ========================================================================== */
.nav__products { position: relative; }
.nav__products-toggle {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 0;
  border: 0; background: transparent; color: var(--ink); font: inherit; cursor: pointer;
}
.nav__products-toggle i { font-size: .7rem; transition: transform .2s ease; }
.nav__products.is-open .nav__products-toggle i { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute; top: calc(100% + 15px); left: 50%; transform: translate(-50%, -8px);
  width: 230px; padding: 9px; background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.nav__products.is-open .nav__dropdown { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.nav__dropdown a { display: block; padding: 10px 12px; border-radius: 9px; font-size: .88rem; }
.nav__dropdown a:hover { background: var(--beige-soft); color: var(--brown); }
.catalogue { padding-top: clamp(54px, 8vw, 100px); }
.catalogue__jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -22px auto 64px; }
.catalogue__jump a { border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; font-size: .82rem; font-weight: 600; color: var(--brown); background: var(--white); transition: background .2s ease, color .2s ease, transform .2s ease; }
.catalogue__jump a:hover { background: var(--brown); color: var(--white); transform: translateY(-2px); }
.catalogue__category { scroll-margin-top: 90px; padding: 34px 0 82px; border-top: 1px solid var(--line); }
.category__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); align-items: end; gap: 32px; margin-bottom: 25px; }
.category__head .eyebrow { margin-bottom: 14px; }
.category__head h2 { margin: 0; }
.category__head > p { color: var(--muted); max-width: 440px; justify-self: end; }
.category__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.category__info > div { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(244,232,208,.38); }
.category__info strong { color: var(--brown-dark); font-family: var(--font-display); font-size: 1.05rem; }
.category__info span { color: var(--muted); font-size: .9rem; }
.product--catalogue .product__body { min-height: 148px; }
.product--catalogue .product__img { aspect-ratio: 4 / 5; }

@media (max-width: 960px) {
  .category__head { grid-template-columns: 1fr; gap: 12px; }
  .category__head > p { justify-self: start; max-width: 680px; }
}
@media (max-width: 720px) {
  .nav__products { width: 100%; }
  .nav__products-toggle { width: 100%; justify-content: space-between; padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .nav__dropdown { position: static; width: auto; transform: none; opacity: 1; pointer-events: auto; display: none; padding: 2px 8px 8px; border: 0; border-radius: 0; box-shadow: none; }
  .nav__products.is-open .nav__dropdown { display: block; transform: none; }
  .nav__dropdown a { padding: 11px 12px; border-bottom: 1px solid var(--line); }
  .catalogue__jump { justify-content: flex-start; margin-bottom: 42px; }
  .catalogue__jump a { font-size: .78rem; padding: 8px 12px; }
  .catalogue__category { padding-bottom: 58px; }
  .category__info { grid-template-columns: 1fr; }
  .product--catalogue .product__body { min-height: 0; }
}
