/* =====================================================================
   OAZA BONSAI CENTAR - Design System
   Premium, natural, Japanese-inspired aesthetic
   ===================================================================== */

/* ----------  Design Tokens  ---------- */
:root {
  /* Palette - forest, moss, earth, parchment */
  --c-forest-900: #11271d;
  --c-forest-800: #1a3b2e;
  --c-forest-700: #234d3b;
  --c-moss-500:   #6b8f71;
  --c-moss-300:   #a7c0a8;
  --c-clay-600:   #9c6b45;
  --c-clay-400:   #b5835a;
  --c-gold:       #c9a55c;
  --c-gold-soft:  #e0c98f;
  --c-cream:      #f6f2e8;
  --c-cream-2:    #efe9da;
  --c-sand:       #e6ddc8;
  --c-ink:        #232a25;
  --c-ink-soft:   #4a544c;
  --c-line:       rgba(35, 42, 37, 0.12);
  --c-white:      #ffffff;

  /* Typography */
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  /* Spacing / layout */
  --container: 1200px;
  --container-narrow: 880px;
  --radius: 14px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 18px rgba(17, 39, 29, 0.07);
  --shadow-md: 0 18px 50px rgba(17, 39, 29, 0.13);
  --shadow-lg: 0 30px 80px rgba(17, 39, 29, 0.20);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --header-h: 78px;
}

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

* { margin: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-cream);
  line-height: 1.7;
  font-size: 1.02rem;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--c-forest-800);
  letter-spacing: 0.2px;
}

:focus-visible {
  outline: 3px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-forest-800);
  color: var(--c-cream);
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ----------  Layout helpers  ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.section { padding: clamp(64px, 9vw, 130px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--c-clay-600);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--c-clay-400);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--c-clay-400);
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head--center { margin-inline: auto; text-align: center; }

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin: 18px 0 16px;
}
.section-intro { color: var(--c-ink-soft); font-size: 1.08rem; }

.text-gold { color: var(--c-gold); }
.text-cream { color: var(--c-cream); }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background-color .35s var(--ease), color .35s var(--ease);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-3px); }

.btn--primary {
  background: var(--c-forest-800);
  color: var(--c-cream);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--c-forest-700); box-shadow: var(--shadow-md); }

.btn--gold {
  background: var(--c-gold);
  color: var(--c-forest-900);
}
.btn--gold:hover { background: var(--c-gold-soft); }

.btn--outline {
  border: 1.5px solid currentColor;
  color: var(--c-forest-800);
}
.btn--outline:hover { background: var(--c-forest-800); color: var(--c-cream); }

.btn--ghost-light {
  border: 1.5px solid rgba(246, 242, 232, 0.6);
  color: var(--c-cream);
}
.btn--ghost-light:hover { background: var(--c-cream); color: var(--c-forest-900); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ----------  Header / Nav  ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease),
              backdrop-filter .4s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(246, 242, 232, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--c-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { 
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--c-forest-800);
  letter-spacing: .5px;
}
.brand__sub {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--c-clay-600);
}
/* When header is transparent over hero */
.site-header:not(.is-scrolled):not(.is-solid) .brand__name { color: var(--c-cream); }
.site-header:not(.is-scrolled):not(.is-solid) .nav__link { color: rgba(246,242,232,.9); }
.site-header:not(.is-scrolled):not(.is-solid) .lang-toggle { color: var(--c-cream); border-color: rgba(246,242,232,.45); }
.site-header:not(.is-scrolled):not(.is-solid) .nav-toggle span { background: var(--c-cream); }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 30px; }
.nav__link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: .5px;
  color: var(--c-ink);
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--c-gold);
  transition: width .35s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--c-clay-600); }

.nav__actions { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--c-line);
  border-radius: 100px;
  overflow: hidden;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.lang-toggle a {
  padding: 7px 13px;
  color: inherit;
  transition: background-color .3s, color .3s;
}
.lang-toggle a.is-active {
  background: var(--c-gold);
  color: var(--c-forest-900);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--c-forest-800);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.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); }

/* ----------  Hero  ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  /* Use the *small* viewport on mobile so the bottom scroll indicator stays
     in view with the browser chrome showing (plain vh uses the large vp). */
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--c-cream);
  overflow: hidden;
  isolation: isolate;
}
.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(95deg, rgba(11,27,19,.86) 0%, rgba(17,39,29,.62) 38%, rgba(17,39,29,.18) 70%, rgba(17,39,29,.32) 100%),
    linear-gradient(0deg, rgba(11,27,19,.55) 0%, transparent 40%);
}
.hero__inner { max-width: 720px; padding-top: var(--header-h); }
.hero__title {
  color: var(--c-cream);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.02;
  margin: 22px 0 24px;
}
.hero__title em { color: var(--c-gold-soft); font-style: italic; }
.hero .eyebrow { color: var(--c-gold-soft); }
.hero .eyebrow::before,
.hero .eyebrow::after { background: var(--c-gold-soft); }
.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 540px;
  color: rgba(246, 242, 232, 0.85);
  font-weight: 300;
  margin-bottom: 38px;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.66rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(246,242,232,.7);
}
.hero__scroll .mouse {
  width: 22px; height: 36px;
  border: 1.5px solid rgba(246,242,232,.5);
  border-radius: 12px;
  position: relative;
}
.hero__scroll .mouse::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 3px; height: 7px;
  background: var(--c-gold-soft);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80%,100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 90px;
  color: var(--c-cream);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(150deg, rgba(11,27,19,.86), rgba(26,59,46,.78)),
    var(--hero-img, url("../img/hero.jpg")) center 40% / cover no-repeat;
}
/* Per-page hero photo (set on .page-hero) */
.page-hero.hero-img-2 { --hero-img: url("../img/hero2.png"); }
.page-hero.hero-img-3 { --hero-img: url("../img/hero3.png"); }
.page-hero__bg::after {
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 4px 4px;
}
.page-hero h1 {
  color: var(--c-cream);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin: 18px auto 18px;
}
.page-hero p { max-width: 600px; margin: 0 auto; color: rgba(246,242,232,.82); }
.page-hero .eyebrow { color: var(--c-gold-soft); }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: var(--c-gold-soft); }
.breadcrumb {
  margin-top: 26px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: rgba(246,242,232,.65);
}
.breadcrumb a:hover { color: var(--c-gold-soft); }

/* ----------  About preview (home)  ---------- */
.about-preview { background: var(--c-cream); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--c-forest-700), var(--c-moss-500));
  min-height: 440px;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
}
.split__media svg { width: 70%; }
/* Story section: let the photo column stretch to the text height so the two
   sides stay balanced even as the copy grows. */
.split--story { align-items: stretch; }
.split__media--photo { padding: 0; }
.split__media-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split__media .badge {
  position: absolute;
  bottom: 22px; left: 22px;
  background: rgba(246,242,232,.95);
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: var(--shadow-sm);
}
.split__media .badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--c-forest-800);
  line-height: 1;
}
.split__media .badge span { font-size: .78rem; color: var(--c-ink-soft); letter-spacing: .5px; }
.split__body p { color: var(--c-ink-soft); margin-bottom: 18px; }
.lead { font-size: 1.18rem; color: var(--c-ink) !important; font-weight: 400; }

.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--c-clay-600);
  margin-top: 8px;
}

/* ----------  Stat strip  ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 50px;
}
.stat { padding: 18px; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--c-forest-800);
  line-height: 1;
}
.stat span { font-size: .82rem; letter-spacing: 1px; color: var(--c-ink-soft); text-transform: uppercase; }

/* ----------  Categories  ---------- */
.categories { background: var(--c-cream-2); }
.cat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.cat-card { flex: 1 1 200px; max-width: 320px; }
.cat-card {
  position: relative;
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  border: 1px solid var(--c-line);
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-moss-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.cat-card:hover::before { transform: scaleX(1); }
.cat-card__icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--c-cream);
  margin-bottom: 22px;
}
.cat-card__icon svg { width: 36px; height: 36px; color: var(--c-forest-700); }
.cat-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.cat-card p { font-size: .92rem; color: var(--c-ink-soft); }
.cat-card .tag {
  display: inline-block;
  margin-top: 16px;
  font-size: .7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-clay-600);
  font-weight: 500;
}

/* ----------  Why choose us  ---------- */
.why { background: var(--c-forest-900); color: var(--c-cream); position: relative; overflow: hidden; }
.why .section-title, .why h3 { color: var(--c-cream); }
.why .eyebrow { color: var(--c-gold-soft); }
.why .eyebrow::before, .why .eyebrow::after { background: var(--c-gold-soft); }
.why .section-intro { color: rgba(246,242,232,.78); }
.why__enso {
  position: absolute;
  right: -120px; top: -80px;
  width: 460px; opacity: .06;
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.why-card {
  padding: 30px 26px;
  border: 1px solid rgba(246,242,232,.14);
  border-radius: var(--radius);
  background: rgba(246,242,232,.03);
  transition: background-color .4s var(--ease), transform .4s var(--ease);
}
.why-card:hover { background: rgba(246,242,232,.07); transform: translateY(-6px); }
.why-card__num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--c-gold-soft);
  letter-spacing: 2px;
}
.why-card h3 { font-size: 1.35rem; margin: 14px 0 10px; }
.why-card p { font-size: .9rem; color: rgba(246,242,232,.74); }

/* ----------  Gallery  ---------- */
.gallery { background: var(--c-cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 18px;
}
.g-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  isolation: isolate;
}
.g-item svg { width: 60%; height: 60%; opacity: .9; }
.g-item__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(17,39,29,.78));
  color: var(--c-cream);
  font-size: .82rem;
  letter-spacing: .5px;
  transform: translateY(8px);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.g-item:hover .g-item__label { transform: translateY(0); opacity: 1; }
.g-item--tall { grid-row: span 2; }
.g-item--wide { grid-column: span 2; }
.tone-1 { background: linear-gradient(150deg,#2c5440,#6b8f71); }
.tone-2 { background: linear-gradient(150deg,#9c6b45,#b5835a); }
.tone-3 { background: linear-gradient(150deg,#234d3b,#3c6b52); }
.tone-4 { background: linear-gradient(150deg,#6b8f71,#a7c0a8); }
.tone-5 { background: linear-gradient(150deg,#11271d,#234d3b); }
.tone-6 { background: linear-gradient(150deg,#b5835a,#e0c98f); }
.g-item svg [stroke] { stroke: rgba(255,255,255,.92); }

/* ----------  Testimonials  ---------- */
.testimonials { background: var(--c-sand); }
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.t-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.t-card::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--c-gold);
  opacity: .25;
  position: absolute;
  top: 6px; left: 22px;
  line-height: 1;
}
.t-card p { font-size: 1.02rem; color: var(--c-ink); margin: 18px 0 22px; position: relative; }
.t-stars { color: var(--c-gold); letter-spacing: 3px; font-size: .9rem; }
.t-author { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(150deg, var(--c-forest-700), var(--c-moss-500));
  display: grid; place-items: center;
  color: var(--c-cream); font-family: var(--font-display); font-size: 1.2rem;
}
.t-author strong { display: block; font-size: .95rem; color: var(--c-forest-800); }
.t-author span { font-size: .8rem; color: var(--c-ink-soft); }

/* ----------  CTA band  ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(140deg, var(--c-forest-800), var(--c-forest-700));
  color: var(--c-cream);
  text-align: center;
  overflow: hidden;
}
.cta-band__art {
  position: absolute; inset: 0; z-index: 0; opacity: .08;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.5) 1px, transparent 1px),
                    radial-gradient(circle at 70% 70%, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--c-cream); font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; }
.cta-band p { max-width: 560px; margin: 0 auto 32px; color: rgba(246,242,232,.85); }
.cta-band .btn-row { justify-content: center; }

/* ----------  Footer  ---------- */
.site-footer {
  background: var(--c-forest-900);
  color: rgba(246,242,232,.75);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand .brand__name { color: var(--c-cream); }
.footer-brand p { margin: 18px 0; font-size: .92rem; max-width: 280px; }
.site-footer h4 {
  color: var(--c-cream);
  font-family: var(--font-body);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: .92rem; transition: color .3s, padding-left .3s; }
.footer-links a:hover { color: var(--c-gold-soft); padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .92rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--c-gold-soft); flex: none; margin-top: 3px; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(246,242,232,.2);
  transition: background-color .3s, transform .3s, border-color .3s;
}
.socials a:hover { background: var(--c-gold); border-color: var(--c-gold); transform: translateY(-3px); }
.socials a:hover svg { color: var(--c-forest-900); }
.socials svg { width: 18px; height: 18px; color: var(--c-cream); }
.footer-bottom {
  border-top: 1px solid rgba(246,242,232,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: rgba(246,242,232,.55);
}

/* ----------  About page specifics  ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--c-gold);
  line-height: 1;
}
.value-card h3 { font-size: 1.4rem; margin: 12px 0 10px; color: var(--c-forest-800); }
.value-card p { font-size: .93rem; color: var(--c-ink-soft); }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv-card {
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  color: var(--c-cream);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.mv-card--mission { background: linear-gradient(150deg, var(--c-forest-800), var(--c-forest-700)); }
.mv-card--vision { background: linear-gradient(150deg, var(--c-clay-600), var(--c-clay-400)); }
.mv-card h3 { color: var(--c-cream); font-size: 2rem; margin-bottom: 16px; }
.mv-card p { color: rgba(246,242,232,.9); }
.mv-card .glyph { position: absolute; right: -20px; bottom: -20px; width: 160px; opacity: .14; }

.expertise-list { display: grid; gap: 18px; }
.exp-item {
  display: flex;
  gap: 22px;
  padding: 24px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  align-items: flex-start;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.exp-item:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.exp-item__icon {
  width: 54px; height: 54px; flex: none;
  border-radius: 14px;
  background: var(--c-cream);
  display: grid; place-items: center;
}
.exp-item__icon svg { width: 30px; height: 30px; color: var(--c-forest-700); }
.exp-item h3 { font-size: 1.3rem; margin-bottom: 6px; }
.exp-item p { font-size: .92rem; color: var(--c-ink-soft); }

.timeline { position: relative; margin-top: 30px; }
.timeline::before {
  content:""; position:absolute; left: 11px; top: 6px; bottom: 6px;
  width: 2px; background: var(--c-line);
}
.tl-item { position: relative; padding: 0 0 34px 44px; }
.tl-item::before {
  content:""; position:absolute; left: 4px; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-gold); border: 3px solid var(--c-cream);
  box-shadow: 0 0 0 2px var(--c-gold);
}
.tl-item .year { font-family: var(--font-display); font-size: 1.6rem; color: var(--c-clay-600); }
.tl-item h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.tl-item p { font-size: .92rem; color: var(--c-ink-soft); }

/* ----------  Contact page  ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: start;
}
.info-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
  align-items: flex-start;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.info-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.info-card__icon {
  width: 50px; height: 50px; flex: none;
  border-radius: 12px;
  background: var(--c-forest-800);
  display: grid; place-items: center;
}
.info-card__icon svg { width: 24px; height: 24px; color: var(--c-gold-soft); }
.info-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: .94rem; color: var(--c-ink-soft); }
.info-card a:hover { color: var(--c-clay-600); }

.form-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 46px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
/* In a two-column row, labels can wrap to different heights (e.g. a long
   optional hint). Stretch each field and bottom-align its control so the
   inputs stay on the same line instead of stepping down. */
.form-row .field { display: flex; flex-direction: column; }
.form-row .field > input,
.form-row .field > select,
.form-row .field > textarea { margin-top: auto; }
.field label {
  display: block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-bottom: 8px;
}
.field label .req { color: var(--c-clay-600); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--c-line);
  border-radius: 12px;
  font-family: inherit;
  font-size: .98rem;
  color: var(--c-ink);
  background: var(--c-cream);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-moss-500);
  background: var(--c-white);
  box-shadow: 0 0 0 4px rgba(107,143,113,.15);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #c0563f; }
.form-note { font-size: .82rem; color: var(--c-ink-soft); margin-top: 6px; }
.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: .92rem;
  display: none;
}
.form-status.is-ok { display: block; background: rgba(107,143,113,.16); color: var(--c-forest-800); }
.form-status.is-err { display: block; background: rgba(192,86,63,.14); color: #8c3a26; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-line);
  background: var(--c-cream-2);
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: saturate(1.05); }

/* ----------  FAQ (accordion)  ---------- */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--c-line);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--c-forest-800);
}
.faq-q .icon {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--c-clay-400);
  display: grid; place-items: center;
  color: var(--c-clay-600);
  transition: transform .4s var(--ease), background-color .3s, color .3s;
  font-size: 1.1rem;
}
.faq-item.is-open .faq-q .icon { transform: rotate(45deg); background: var(--c-clay-600); color: var(--c-cream); border-color: var(--c-clay-600); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}
.faq-a p { padding: 0 4px 26px; color: var(--c-ink-soft); }

/* ----------  Scroll reveal  ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

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

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .t-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* Tablet & down — collapse the nav into a slide-in drawer */
@media (max-width: 980px) {
  /* backdrop-filter on the header would trap the fixed drawer inside the
     78px-tall header; drop it on mobile so the drawer fills the viewport. */
  .site-header.is-scrolled,
  .site-header.is-solid {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 360px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--c-cream);
    padding: calc(var(--header-h) + 22px) 28px 40px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    overflow-y: auto;
    z-index: 1050;
  }
  .nav.is-open { transform: translateX(0); }

  .nav__list { flex-direction: column; gap: 2px; width: 100%; }
  .nav__link {
    display: block;
    width: 100%;
    padding: 15px 4px;
    font-size: 1.12rem;
    border-bottom: 1px solid var(--c-line);
    color: var(--c-ink) !important;
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--c-clay-600) !important; }

  .nav__actions {
    margin-top: 24px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
  }
  /* Force dark-on-cream controls inside the drawer, even on the transparent home header */
  .nav .lang-toggle,
  .nav .cart-link { color: var(--c-forest-800) !important; border-color: var(--c-line) !important; }

  .nav-toggle { display: flex; z-index: 1100; }
  .site-header:not(.is-scrolled):not(.is-solid) .nav-toggle[aria-expanded="true"] span { background: var(--c-forest-800); }
  .nav-backdrop { display: block; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 320px; order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .mv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 620px) {
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .g-item--wide { grid-column: span 2; }
  .hero__art { opacity: .35; width: 90vw; right: -20%; }
  .btn { width: 100%; justify-content: center; }
  .hero .btn-row .btn { width: auto; }
}

/* Mobile nav backdrop */
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(17,39,29,.45);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
  z-index: 900;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* Utility */
.lang-mk [lang="en"], .lang-en [lang="mk"] { display: none; }

/* =====================================================================
   SHOP — products, services, cart, checkout
   ===================================================================== */
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: 1340px; }
.page-hero--short { min-height: 42vh; }

/* Cart icon in the header */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--c-line);
  color: inherit;
  transition: background-color .3s, color .3s;
}
.cart-link svg { width: 20px; height: 20px; }
.cart-link:hover { background: var(--c-gold); color: var(--c-forest-900); border-color: var(--c-gold); }
.site-header:not(.is-scrolled):not(.is-solid) .cart-link { color: var(--c-cream); border-color: rgba(246,242,232,.45); }
.cart-link__count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  display: none;
  align-items: center; justify-content: center;
  background: var(--c-clay-600);
  color: #fff;
  font-size: .68rem; font-weight: 600;
  border-radius: 100px;
}
.cart-link__count.is-visible { display: inline-flex; }

/* Category filter chips */
/* Product search */
.shop-search {
  position: relative;
  max-width: 460px;
  margin: 0 auto 26px;
}
.shop-search__icon {
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  color: var(--c-ink-soft);
  pointer-events: none;
}
.shop-search input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 1.5px solid var(--c-line);
  border-radius: 100px;
  background: var(--c-cream);
  font: inherit;
  font-size: .95rem;
  color: var(--c-ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.shop-search input::placeholder { color: var(--c-ink-soft); }
.shop-search input:focus {
  outline: none;
  border-color: var(--c-forest-800);
  box-shadow: 0 0 0 3px rgba(26, 59, 46, .12);
}

.shop-filter, .shop-subfilter {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-bottom: 22px;
}
.shop-subfilter { margin-bottom: 40px; }
.chip {
  padding: 9px 20px;
  border: 1.5px solid var(--c-line);
  border-radius: 100px;
  font-size: .85rem; letter-spacing: .4px;
  color: var(--c-ink-soft);
  transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--c-forest-800); color: var(--c-forest-800); }
.chip.is-active { background: var(--c-forest-800); border-color: var(--c-forest-800); color: var(--c-cream); }
.chip--sub { padding: 7px 16px; font-size: .8rem; }
.chip--sub.is-active { background: var(--c-clay-600); border-color: var(--c-clay-600); }

.shop-empty { text-align: center; color: var(--c-ink-soft); padding: 50px 0; font-size: 1.1rem; }

/* The [hidden] attribute must win over the flex display on cards/filters. */
.product-card[hidden], .shop-subfilter[hidden] { display: none !important; }

/* Card titles link to the detail page */
.product-card__name { color: inherit; transition: color .25s var(--ease); }
.product-card__name:hover { color: var(--c-clay-600); }
.product-card__media { cursor: pointer; }
.product-card__media img { transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.04); }

/* =====================================================================
   PRODUCT / SERVICE DETAIL PAGE
   ===================================================================== */
.detail-section { padding-top: calc(var(--header-h) + 48px); }
.breadcrumb--dark { color: var(--c-ink-soft); margin-top: 0; margin-bottom: 30px; }
.breadcrumb--dark a { color: var(--c-clay-600); }
.breadcrumb--dark a:hover { color: var(--c-forest-800); }

.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.pd-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pd-main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(140deg, var(--c-cream-2), var(--c-sand));
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-main > svg { width: 90px; height: 90px; color: var(--c-moss-500); opacity: .55; }
.pd-thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.pd-thumb {
  width: 78px; height: 78px;
  border-radius: 12px; overflow: hidden;
  border: 2px solid transparent;
  background: var(--c-cream-2);
  padding: 0;
  transition: border-color .25s var(--ease);
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.is-active { border-color: var(--c-gold); }

.pd-info .eyebrow { margin-bottom: 8px; }
.pd-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.pd-sku {
  font-size: .8rem; letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-bottom: 12px;
}
.pd-sku span { font-weight: 600; color: var(--c-forest-800); }
.pd-price {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 600;
  color: var(--c-forest-800);
  margin-bottom: 6px;
}
.pd-stock { color: var(--c-moss-500); font-size: .95rem; margin-bottom: 24px; }
.pd-stock--out { color: var(--c-clay-600); }
.pd-desc { margin-bottom: 28px; }
.pd-desc h2 { font-size: 1.3rem; margin-bottom: 8px; }
.pd-desc p { color: var(--c-ink-soft); }
.pd-cart { align-items: flex-end; gap: 14px; max-width: 360px; }
.detail-back { display: inline-block; margin-top: 24px; color: var(--c-clay-600); font-size: .9rem; }
.detail-back:hover { color: var(--c-forest-800); }

@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .pd-gallery { position: static; }
  .pd-main { aspect-ratio: 4 / 3; }
}

/* Product + service grids */
.product-grid, .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}
.product-card, .service-card {
  display: flex; flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product-card:hover, .service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card__media, .service-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;          /* every card image is the exact same box */
  overflow: hidden;
  background: linear-gradient(140deg, var(--c-cream-2), var(--c-sand));
}
/* Absolutely positioned so a tall/large upload can't stretch the box;
   object-fit: cover crops it to fill the 4:3 area uniformly. */
.product-card__media img, .service-card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-card__media svg, .service-card__media svg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; color: var(--c-moss-500); opacity: .6;
}
.product-card__flag {
  position: absolute; top: 12px; left: 12px;
  background: var(--c-clay-600); color: #fff;
  font-size: .72rem; letter-spacing: .5px;
  padding: 4px 12px; border-radius: 100px;
}
.product-card__body, .service-card__body {
  display: flex; flex-direction: column;
  gap: 10px; padding: 22px;
  flex: 1;
}
.product-card__body h3, .service-card__body h3 { font-size: 1.35rem; }
.product-card__sku {
  font-size: .72rem; letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-bottom: -4px;
}
.product-card__desc, .service-card__desc {
  font-size: .92rem; color: var(--c-ink-soft);
  flex: 1;
}
.product-card__meta, .service-card__meta {
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 10px;
  flex-wrap: wrap;
}
.product-card__price {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 600;
  color: var(--c-forest-800);
}
.product-card__stock { font-size: .8rem; color: var(--c-moss-500); }

/* Quantity / area input on cards */
.cart-form { display: flex; align-items: flex-end; gap: 10px; margin-top: 4px; }
.qty-field { display: flex; flex-direction: column; gap: 4px; font-size: .74rem; color: var(--c-ink-soft); }
.qty-field span { text-transform: uppercase; letter-spacing: 1px; }
.qty-field input { width: 84px; padding: 9px 10px; border: 1.5px solid var(--c-line); border-radius: 10px; font-family: inherit; }
.cart-form .btn { flex: 1; justify-content: center; }
.btn.is-done { background: var(--c-moss-500); border-color: var(--c-moss-500); color: #fff; }
.service-card .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* Cart page */
.cart-empty { text-align: center; padding: 40px 0; }
.cart-empty p { font-size: 1.15rem; color: var(--c-ink-soft); margin-bottom: 22px; }
.cart-heading { font-size: 1.5rem; margin: 30px 0 14px; }
.cart-table { border-top: 1px solid var(--c-line); }
.cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto 36px;
  align-items: center; gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
}
.cart-row__name strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.cart-row__unit { font-size: .82rem; color: var(--c-ink-soft); }
.cart-row__sku { letter-spacing: .4px; text-transform: uppercase; }
.checkout-line__sku {
  font-size: .76rem; letter-spacing: .4px; text-transform: uppercase;
  color: var(--c-ink-soft); white-space: nowrap;
}
.cart-row__qty { display: flex; align-items: center; gap: 8px; }
.cart-row__qty input { width: 72px; padding: 8px 10px; border: 1.5px solid var(--c-line); border-radius: 10px; font-family: inherit; }
.cart-row__sqm { font-size: .85rem; color: var(--c-ink-soft); }
.cart-row__total { font-weight: 600; color: var(--c-forest-800); white-space: nowrap; }
.cart-row__remove button {
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 1.3rem; line-height: 1; color: var(--c-ink-soft);
  border: 1px solid var(--c-line);
  transition: all .25s;
}
.cart-row__remove button:hover { background: var(--c-clay-600); color: #fff; border-color: var(--c-clay-600); }
.btn-link { color: var(--c-clay-600); font-size: .82rem; text-decoration: underline; }

.cart-summary { margin-top: 34px; }
.cart-summary__total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-display);
  border-top: 2px solid var(--c-forest-800);
  padding-top: 18px;
}
.cart-summary__total span { font-size: 1.2rem; }
.cart-summary__total strong { font-size: 1.9rem; color: var(--c-forest-800); }
.cart-summary__note { font-size: .85rem; color: var(--c-ink-soft); margin: 8px 0 22px; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 40px; align-items: start; }
.checkout-summary {
  background: var(--c-cream-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.checkout-line {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: .95rem;
}
.checkout-line--total {
  border-bottom: none; border-top: 2px solid var(--c-forest-800);
  margin-top: 8px; padding-top: 14px;
  font-family: var(--font-display);
}
.checkout-line--total strong { font-size: 1.5rem; color: var(--c-forest-800); }

/* Reassurance badges under the order summary */
.order-badges {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.order-badge {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: 14px;
}
.order-badge svg { width: 30px; height: 30px; flex: none; color: var(--c-forest-800); }
.order-badge > span { display: flex; flex-direction: column; line-height: 1.35; }
.order-badge strong { font-size: .98rem; color: var(--c-forest-800); }
.order-badge small { font-size: .86rem; color: var(--c-ink-soft); }

.field input.has-error, .field textarea.has-error { border-color: var(--c-clay-600); }

/* Trust badge on the checkout form */
.trust-badge {
  display: flex; align-items: center; gap: 14px;
  margin-top: 22px; padding: 16px 18px;
  background: #e7f3ea;
  border: 1px solid #bcdcc6;
  border-radius: 14px;
  color: var(--c-forest-800);
}
.trust-badge svg { width: 34px; height: 34px; flex: none; color: #2f8f5b; }
.trust-badge strong { font-size: 1.02rem; }
.trust-badge span { font-size: .9rem; line-height: 1.45; color: var(--c-ink-soft); }
.trust-badge span strong { color: var(--c-forest-800); }

/* =====================================================================
   ADD-TO-CART CONFIRMATION (floating, never shifts the layout; stays until
   dismissed). Compact card top-right on desktop, small bottom sheet on mobile.
   ===================================================================== */
.minicart {
  position: fixed;
  z-index: 1500;
  top: calc(var(--header-h) + 14px);
  right: clamp(14px, 2vw, 24px);
  width: min(90vw, 332px);
}
.minicart[hidden] { display: none; }
.minicart__panel {
  position: relative;
  background: var(--c-cream);
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 18px 16px;
  /* Slide in from the right, fade up. */
  transform: translateX(115%);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.minicart.is-visible .minicart__panel { transform: translateX(0); opacity: 1; }

.minicart__x {
  position: absolute;
  top: 10px; right: 12px;
  font-size: 1.4rem; line-height: 1;
  color: var(--c-ink-soft);
  transition: color .25s var(--ease);
}
.minicart__x:hover { color: var(--c-ink); }

.minicart__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 18px;
  margin-bottom: 16px;
}
.minicart__check {
  flex: none;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #2f8f5b; color: #fff;
  border-radius: 50%;
}
.minicart__check svg { width: 18px; height: 18px; }
.minicart__heading { display: flex; flex-direction: column; min-width: 0; }
.minicart__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--c-forest-800);
  line-height: 1.2;
}
.minicart__summary {
  font-size: 0.82rem;
  color: var(--c-ink-soft);
}

.minicart__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.minicart__actions .btn { padding: 12px 14px; font-size: 0.76rem; justify-content: center; }
.minicart__links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.minicart__links .cart-clear-form { margin: 0; }

/* Clear-cart link — quietly destructive: muted until hovered. */
.cart-clear-btn { color: var(--c-ink-soft); }
.cart-clear-btn:hover { color: var(--c-clay-600); }
.cart-summary .cart-clear-form { margin-top: 14px; text-align: center; }

/* Mobile: a small bottom sheet that slides up. It only holds a one-line
   confirmation plus the buttons, so it stays short and never swallows the
   screen — and the page above it remains tappable so browsing stays easy. */
@media (max-width: 600px) {
  .minicart {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
  }
  .minicart__panel {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
    padding: 22px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
  }
  .minicart.is-visible .minicart__panel { transform: translateY(0); }
  /* A grab handle hints the sheet is dismissible. */
  .minicart__panel::before {
    content: "";
    position: absolute;
    top: 8px; left: 50%;
    width: 38px; height: 4px;
    transform: translateX(-50%);
    background: var(--c-line);
    border-radius: 99px;
  }
}

@media (max-width: 760px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 26px; }
  .checkout-summary { position: static; }
  .cart-row { grid-template-columns: 1fr auto; grid-template-areas: "name remove" "qty total"; row-gap: 12px; }
  .cart-row__name { grid-area: name; }
  .cart-row__qty { grid-area: qty; }
  .cart-row__total { grid-area: total; text-align: right; }
  .cart-row__remove { grid-area: remove; justify-self: end; }
}

/* =====================================================================
   PROJECTS PAGE — video showcase, gallery grid + lightbox
   ===================================================================== */
/* Two big videos in one row, each a unified dark card so the caption blends
   straight into the clip and reads as one piece. */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; align-items: stretch; }
.video-card {
  margin: 0;
  display: flex; flex-direction: column;
  background: var(--c-forest-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0c1f16;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__cap { padding: 26px 30px 30px; flex: 1; }
.video-card__cap h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin-bottom: 12px;
  color: var(--c-gold-soft);
}
.video-card__cap p { color: rgba(246,242,232,.84); font-size: 1.02rem; line-height: 1.7; }

.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Projects carousel — 2 big photos per view, scroll-snap + buttons + dots. */
.carousel { position: relative; }
.carousel__viewport { position: relative; }
.carousel__track {
  display: flex; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track .project-tile {
  flex: 0 0 calc(50% - 12px);
  aspect-ratio: 3 / 2;
  scroll-snap-align: start;
}
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2; width: 54px; height: 54px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--c-cream); color: var(--c-forest-800);
  box-shadow: var(--shadow-md);
  font-size: 1.9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.carousel__btn:hover { background: var(--c-forest-800); color: var(--c-cream); }
.carousel__btn--prev { left: -14px; }
.carousel__btn--next { right: -14px; }
.carousel__btn[hidden] { display: none; }
.carousel__dots { display: flex; justify-content: center; gap: 9px; margin-top: 28px; }
.carousel__dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: var(--c-line);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.carousel__dots button:hover { background: var(--c-moss-500); }
.carousel__dots button.is-active { background: var(--c-forest-800); transform: scale(1.3); }
.project-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 0; padding: 0; margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--c-cream-2);
  display: block;
}
.project-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.project-tile:hover img, .project-tile:focus-visible img { transform: scale(1.06); }
.project-tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  color: #fff; font-size: .9rem; text-align: left;
  background: linear-gradient(transparent, rgba(11,27,19,.82));
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.project-tile:hover .project-tile__cap, .project-tile:focus-visible .project-tile__cap { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,18,13,.93);
  padding: 6vh 5vw;
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__stage {
  margin: 0; max-width: min(1100px, 92vw); max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lightbox__img {
  max-width: 100%; max-height: 80vh; object-fit: contain;
  border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__cap { color: rgba(246,242,232,.9); font-size: .95rem; text-align: center; }
.lightbox__close, .lightbox__nav {
  background: rgba(246,242,232,.14); color: #fff; border: 0; cursor: pointer;
  border-radius: 50%; width: 46px; height: 46px; font-size: 1.7rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(246,242,232,.3); }
.lightbox__close { position: absolute; top: 18px; right: 22px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

@media (max-width: 860px) {
  .project-gallery { grid-template-columns: repeat(2, 1fr); }
  /* Touch devices have no hover — keep captions visible. */
  .project-tile__cap { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .video-grid { grid-template-columns: 1fr; gap: 24px; }
  /* One big photo per swipe on phones. */
  .carousel__track .project-tile { flex-basis: 100%; aspect-ratio: 4 / 3; }
  .carousel__btn { width: 42px; height: 42px; font-size: 1.5rem; }
  .carousel__btn--prev { left: 6px; }
  .carousel__btn--next { right: 6px; }
}
@media (max-width: 520px) {
  .project-gallery { grid-template-columns: 1fr; }
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__close { top: 12px; right: 14px; }
}
