/* ==========================================================================
   Reno Glass & Interiors — Stylesheet
   Premium Navy + Vibrant Green + Cyan accents + Clean White
   No gradients. Mobile-first. Accessible.
   ========================================================================== */

/* ----- Design tokens ----- */
:root {
  --navy: #03153D;
  --navy-soft: #0a2150;
  --green: #68A91D;
  --green-dark: #305015;
  --cyan: #15A7C9;
  --red: #D10B14;
  --white: #FFFFFF;
  --offwhite: #F3F0EC;
  --ink: #1a2238;
  --muted: #5b6478;
  --line: #e6e2da;
  --line-dark: rgba(255, 255, 255, 0.14);

  --radius: 10px;
  --radius-lg: 16px;
  --radius-sm: 6px;

  --shadow-sm: 0 1px 3px rgba(3, 21, 61, 0.08);
  --shadow: 0 6px 20px rgba(3, 21, 61, 0.10);
  --shadow-lg: 0 18px 40px rgba(3, 21, 61, 0.16);

  --container: 1200px;
  --header-h: 72px;

  --font-head: "Poppins", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Inter", "Segoe UI", Tahoma, sans-serif;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ----- Layout helpers ----- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 96px 0; }
.section-tint { background: var(--offwhite); }
.section-navy { background: var(--navy); color: var(--white); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head-light { color: var(--white); }
.section-head-light .section-sub { color: rgba(255, 255, 255, 0.78); }
.section-eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: var(--navy);
  line-height: 1.2;
}
.section-navy .section-title { color: var(--white); }
.section-sub { color: var(--muted); margin-top: 10px; font-size: 1.02rem; }
.section-foot { text-align: center; margin-top: 36px; }

.accent-green { color: var(--green); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform 0.12s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; display: flex; }

.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); }

.btn-cyan { background: var(--cyan); color: var(--white); }
.btn-cyan:hover { background: #0f8aa8; }

.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

/* ----- Header / Nav ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.brand-logo {
  height: 100%;
  width: auto;
  max-height: 56px;
  display: block;
  object-fit: contain;
}
.brand-logo-footer {
  max-height: 72px;
  margin-bottom: 14px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link:hover { color: var(--green); background: var(--offwhite); }
.nav-link.active { color: var(--green); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.nav-cart {
  position: relative;
  color: var(--navy);
  padding: 8px;
  margin-left: 6px;
  border-radius: 50%;
  transition: background-color 0.15s ease;
}
.nav-cart:hover { background: var(--offwhite); color: var(--green); }
.cart-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-head);
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile cart icon — shown between logo and hamburger when cart has items */
.nav-cart-mobile {
  display: none;
  position: relative;
  color: var(--navy);
  padding: 8px;
  margin-left: auto;
  margin-right: 4px;
  transition: color 0.15s ease;
}
.nav-cart-mobile:hover { color: var(--green); }
.nav-cart-mobile.is-empty { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: clamp(440px, 70vh, 620px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(3, 21, 61, 0.55);
}
.hero-content { position: relative; color: var(--white); padding: 56px 20px; }
.hero-eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--cyan);
  margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.1;
  max-width: 760px;
}
.hero-sub {
  margin-top: 18px;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
}
.hero-cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ----- Trust strip ----- */
.trust-strip { background: var(--navy); color: var(--white); border-top: 3px solid var(--green); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 26px 20px;
}
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust-num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--green); }
.trust-label { font-size: 0.82rem; color: rgba(255, 255, 255, 0.75); margin-top: 2px; }

/* ----- Category grid ----- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.category-media { aspect-ratio: 4 / 3; background: var(--offwhite); }
.category-media img { width: 100%; height: 100%; object-fit: cover; }
.category-body { padding: 22px; }
.category-body h3 { font-family: var(--font-head); font-size: 1.2rem; color: var(--navy); }
.category-body p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }
.category-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--green);
}

/* ----- Product grid & cards ----- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--offwhite);
  display: block;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-flag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.product-flag-lg { font-size: 0.85rem; padding: 7px 14px; }

.product-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--cyan);
  background: rgba(21, 167, 201, 0.10);
  padding: 3px 8px;
  border-radius: 999px;
}
.product-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.3;
}
.product-name a:hover { color: var(--green); }
.product-sizes { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.product-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--red);
  margin-top: 10px;
}

/* ===== Product action row: 3 buttons in ONE line on every screen ===== */
.product-actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  margin-top: 16px;
}
.product-actions .inline-form { flex: 1 1 0; display: flex; }
.btn-action {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  padding: 12px 10px;
  font-size: 0.9rem;
  line-height: 1.25;
  border-radius: var(--radius-sm);
}
.product-actions .btn,
.product-actions .inline-form .btn { width: 100%; }

/* ----- Filter bar ----- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.filter-chip {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.filter-chip:hover { border-color: var(--green); color: var(--green); }
.filter-chip.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ----- Project grid ----- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-grid-wide { grid-template-columns: repeat(3, 1fr); }
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
  background: var(--navy);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.project-card:hover img { transform: scale(1.05); }
.project-card .gallery-lightbox { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: var(--white);
  background: rgba(3, 21, 61, 0.78);
  pointer-events: none;
}
.project-overlay .zoom-hint {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.project-card:hover .zoom-hint { opacity: 1; }
.project-cat {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.project-overlay h3 { font-family: var(--font-head); font-size: 1.1rem; margin-top: 4px; }
.project-loc { font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); }
.project-summary { font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); margin-top: 6px; }

/* ----- Glass grid ----- */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.glass-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.glass-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 12px; }
.glass-card h3 { font-family: var(--font-head); font-size: 1.05rem; color: var(--white); }
.glass-card p { font-size: 0.86rem; color: rgba(255, 255, 255, 0.75); margin-top: 6px; }
.glass-card-light { background: var(--white); border-color: var(--line); }
.glass-card-light h3 { color: var(--navy); }
.glass-card-light p { color: var(--muted); }

/* ----- CTA band ----- */
.cta-band { background: var(--offwhite); border-top: 3px solid var(--green); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 48px 20px;
  flex-wrap: wrap;
}
.cta-text h2 { font-family: var(--font-head); font-size: clamp(1.4rem, 3.5vw, 2rem); color: var(--navy); }
.cta-text p { color: var(--muted); margin-top: 6px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ----- Page hero (inner pages) ----- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 48px;
  border-bottom: 3px solid var(--green);
}
.breadcrumb { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { margin: 0 6px; }
.breadcrumb strong { color: var(--white); }
.page-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}
.page-sub { color: rgba(255, 255, 255, 0.8); margin-top: 12px; max-width: 620px; }

/* ----- Product detail ----- */
.product-detail { padding: 48px 0; }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.detail-gallery { display: flex; flex-direction: column; gap: 14px; }
.detail-media {
  position: relative;
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.detail-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: opacity 0.18s ease; }
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--offwhite);
  padding: 0;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { border-color: var(--green); }
.gallery-thumb.active { border-color: var(--navy); }
.detail-info .breadcrumb { color: var(--muted); margin-bottom: 18px; }
.detail-info .breadcrumb strong { color: var(--navy); }
.detail-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--navy);
  margin-top: 12px;
}
.detail-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--red);
  margin-top: 8px;
}
.detail-desc { color: var(--muted); margin-top: 18px; font-size: 1.02rem; }
.detail-sizes, .detail-features { margin-top: 24px; }
.detail-sizes h3, .detail-features h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.size-options { display: flex; flex-wrap: wrap; gap: 10px; }
.size-chip {
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.size-chip:hover { border-color: var(--green); }
.size-chip.selected { background: var(--green); color: var(--white); border-color: var(--green); }
.detail-features ul { list-style: none; }
.detail-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--ink);
}
.detail-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  background: var(--green);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.detail-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.detail-actions .inline-form { flex: 1 1 0; }
.detail-actions .btn { flex: 1 1 0; min-width: 0; }

/* ----- Glass form ----- */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.form-benefits { margin-top: 18px; }
.form-benefits li { padding-left: 24px; position: relative; margin-bottom: 8px; color: var(--ink); }
.form-benefits li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px; background: var(--green); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(104, 169, 29, 0.15);
  outline: none;
}

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--green); }
.contact-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.contact-card-wa .contact-icon { background: #25D366; }
.contact-card-call .contact-icon { background: var(--navy); }
.contact-card-mail .contact-icon { background: var(--cyan); }
.contact-card h3 { font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; }
.contact-card p { color: var(--muted); font-size: 0.95rem; }
.contact-action { font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; color: var(--green); }
.contact-info h2 { font-family: var(--font-head); color: var(--navy); font-size: 1.4rem; }
.contact-info > p { color: var(--muted); margin-top: 6px; }
.area-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 14px;
}
.area-list li {
  background: var(--offwhite);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--navy);
}
.contact-hours { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-hours h3 { font-family: var(--font-head); color: var(--navy); font-size: 1rem; }
.contact-hours p { color: var(--muted); font-size: 0.92rem; }

/* ----- Cart ----- */
.cart-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.cart-table th {
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--navy);
  padding: 14px 16px;
}
.cart-table td { padding: 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 14px; min-width: 200px; }
.cart-product img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.cart-product a { font-family: var(--font-head); font-weight: 500; color: var(--navy); }
.cart-product a:hover { color: var(--green); }
.cart-price, .cart-sub { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.qty-form { display: inline-flex; align-items: center; gap: 8px; }
.qty-form button {
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 1.1rem;
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.qty-form button:hover { background: var(--offwhite); border-color: var(--green); }
.qty-form span { min-width: 24px; text-align: center; font-weight: 600; }
.cart-remove button {
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--red);
  font-size: 1.3rem;
  line-height: 1;
  transition: background-color 0.15s ease;
}
.cart-remove button:hover { background: rgba(209, 11, 20, 0.1); }
.cart-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
}
.cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.cart-total span { font-family: var(--font-head); font-weight: 500; color: var(--muted); }
.cart-total strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--red); }
.cart-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 4px; }

/* ----- Empty state ----- */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state h2 { font-family: var(--font-head); color: var(--navy); margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

/* ----- Footer ----- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.8); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding: 56px 20px 40px;
}
.footer-brand .brand-logo-footer { max-height: 72px; }
.footer-tagline { font-size: 0.9rem; margin-bottom: 16px; color: rgba(255, 255, 255, 0.7); }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); transition: color 0.15s ease; }
.footer-col ul a:hover { color: var(--green); }
.footer-contact a { color: var(--white); }
.footer-areas { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); margin-top: 14px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }
.footer-domain { color: var(--green); }

/* ----- Floating action buttons ----- */
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.float-call { background: var(--navy); }
.float-wa { background: #25D366; position: relative; }

/* WhatsApp pulsing ring — radiates outward to draw attention to chat */
.float-wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);    opacity: 0.6; }
  70%  { opacity: 0; }
  100% { transform: scale(1.8);  opacity: 0; }
}

/* ----- Inline form reset ----- */
.inline-form { margin: 0; }
.btn-added { background: var(--green) !important; border-color: var(--green) !important; }

/* ----- Lightbox ----- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(3, 21, 61, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.15s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }

/* ----- Blog ----- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.blog-card-media { position: relative; aspect-ratio: 16 / 10; background: var(--offwhite); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--navy); color: var(--white); font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.blog-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.blog-card-date { font-size: 0.78rem; color: var(--muted); }
.blog-card-title { font-family: var(--font-head); font-size: 1.1rem; color: var(--navy); margin-top: 6px; line-height: 1.3; }
.blog-card-excerpt { color: var(--muted); font-size: 0.9rem; margin-top: 8px; flex: 1; }
.blog-card-link { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--green); margin-top: 12px; }

/* Article page */
.article-page { padding-bottom: 40px; }
.article-hero { width: 100%; max-height: 460px; overflow: hidden; background: var(--navy); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; max-height: 460px; }
.article-container { max-width: 760px; padding-top: 32px; }
.article-cat {
  position: static; display: inline-block; margin-bottom: 12px;
}
.article-title { font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--navy); }
.article-meta { display: flex; gap: 8px; color: var(--muted); font-size: 0.88rem; margin-top: 8px; }
.article-excerpt { font-size: 1.1rem; color: var(--muted); margin-top: 18px; font-style: italic; }
.article-prose { margin-top: 28px; }
.article-prose p { margin-bottom: 16px; line-height: 1.8; }
.article-prose h2 { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); margin: 24px 0 10px; }
.article-prose h3 { font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); margin: 20px 0 8px; }
.article-prose ul, .article-prose ol { margin: 0 0 16px 20px; }
.article-prose li { margin-bottom: 6px; line-height: 1.7; }
.article-prose blockquote {
  border-left: 4px solid var(--green); padding: 8px 18px; margin: 20px 0;
  background: var(--offwhite); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--ink);
}
.article-prose a { color: var(--cyan); text-decoration: underline; }
.article-prose img { border-radius: var(--radius); margin: 16px 0; }
.article-footer { display: flex; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* ----- Contact form ----- */
.contact-form {
  max-width: 640px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .form-row { margin-bottom: 18px; }
.contact-form label { display: block; font-family: var(--font-head); font-weight: 500; font-size: 0.88rem; color: var(--navy); margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); transition: border-color 0.15s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(104,169,29,0.15); outline: none;
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { margin-top: 8px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet and below */
@media (max-width: 980px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .project-grid, .project-grid-wide { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row-2 { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-wrap { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .cart-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .brand-logo-footer { max-height: 56px; }
}

/* Mobile nav breakpoint */
@media (max-width: 820px) {
  .brand-logo { max-height: 44px; }
  .header-inner { min-height: 60px; }
  .nav-toggle { display: flex; }
  .nav-cart-mobile { display: inline-flex; }
  .primary-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(280px, 80vw);
    height: calc(100vh - var(--header-h));
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    border-left: 1px solid var(--line);
    overflow-y: auto;
  }
  .primary-nav.open { transform: translateX(0); }
  .nav-link { padding: 14px 12px; border-radius: var(--radius-sm); font-size: 1rem; }
  .nav-link.active::after { display: none; }
  .nav-link.active { background: var(--offwhite); }
  .nav-cart { align-self: flex-start; margin-left: 4px; padding: 12px; }
}

/* Small phones */
@media (max-width: 560px) {
  .section { padding: 44px 0; }
  .brand-logo { max-height: 40px; }
  .footer-brand .brand-logo-footer { max-height: 48px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 22px 20px; }
  .category-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .project-grid, .project-grid-wide { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-cta { flex-wrap: nowrap; gap: 10px; }
  .hero-cta .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 10px;
    font-size: 0.82rem;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
  }

  /* Product action buttons: keep both on one line, naturally fitting */
  .product-actions { gap: 8px; }
  .btn-action {
    padding: 11px 8px;
    font-size: 0.84rem;
    line-height: 1.2;
  }

  .detail-actions { flex-wrap: wrap; }
  .detail-actions .btn { flex: 1 1 100%; }

  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 14px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
  }
  .cart-table td { border: 0; padding: 8px 4px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .cart-table td::before {
    content: attr(data-label);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--muted);
  }
  .cart-product { min-width: 0; }
  .cart-product a { font-size: 0.9rem; }

  .floating-actions { right: 14px; bottom: 14px; gap: 10px; }
  .float-btn { width: 50px; height: 50px; }
}

/* Very small phones — ensure both action buttons stay readable & on one line */
@media (max-width: 380px) {
  .product-actions { gap: 6px; }
  .btn-action { padding: 10px 6px; font-size: 0.8rem; }
  .hero-cta .btn { font-size: 0.74rem; padding: 11px 6px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .float-wa::before { display: none; }
}
