/* ==========================================================================
   BORROW AND BUILD — Core Stylesheet
   We Rent. We Print. We Build.
   ========================================================================== */

:root {
  /* Colour system: 80% white, 15% charcoal, 5% mustard */
  --color-white: #ffffff;
  --color-cream: #fafaf8;
  --color-mustard: #e8a13d;
  --color-mustard-dark: #cf8a29;
  --color-mustard-light: #fbeed9;
  --color-charcoal: #1c1c1a;
  --color-charcoal-soft: #33322f;
  --color-grey: #6f6d68;
  --color-grey-light: #a9a7a1;
  --color-border: #e7e5e0;
  --color-bg-alt: #f4f3ef;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container-max: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(28, 28, 26, 0.06);
  --shadow-md: 0 6px 24px rgba(28, 28, 26, 0.08);

  --transition: 180ms ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--color-charcoal-soft); }
svg { display: block; }

@font-face-fallback { }

/* Load Google Fonts */
/* Archivo (display) + Inter (body) imported via <link> in HTML head */

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 44px 0; }
}
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-charcoal); color: var(--color-white); }
.section-dark p { color: #c9c8c3; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--color-white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-mustard-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-mustard);
  display: inline-block;
}

h1, .h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2, .h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--color-charcoal-soft); max-width: 640px; }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-mustard);
  color: var(--color-charcoal);
  border-color: var(--color-mustard);
}
.btn-primary:hover { background: var(--color-mustard-dark); border-color: var(--color-mustard-dark); transform: translateY(-1px); }
.btn-dark {
  background: var(--color-charcoal);
  color: var(--color-white);
  border-color: var(--color-charcoal);
}
.btn-dark:hover { background: #000; border-color: #000; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--color-charcoal);
  border-color: var(--color-charcoal);
}
.btn-outline:hover { background: var(--color-charcoal); color: var(--color-white); }
.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: var(--color-white); color: var(--color-charcoal); border-color: var(--color-white); }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-whatsapp:hover { background: #1ebe59; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.82rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.logo {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--color-mustard-dark);
  text-transform: uppercase;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-charcoal);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-mustard);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--color-mustard-dark); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-charcoal); display: block; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 82px 0 0 0;
  background: var(--color-white);
  z-index: 99;
  padding: 32px 24px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu .mobile-cta { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-alt);
  position: relative;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-grey); }
.product-card h3 { font-size: 1.08rem; }
.product-card .price { font-family: var(--font-display); font-weight: 800; color: var(--color-charcoal); font-size: 1.02rem; }
.product-card .price small { font-family: var(--font-body); font-weight: 500; color: var(--color-grey); font-size: 0.78rem; }
.product-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 10px; }

.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
}
.badge-available { background: #e5f3ea; color: #1f7a3f; }
.badge-limited { background: var(--color-mustard-light); color: #96650f; }
.badge-full { background: #f7e6e4; color: #a13a2f; }

/* ---------- Service / feature blocks ---------- */
.service-card {
  padding: 40px 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--color-mustard-dark);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.7rem; margin-bottom: 6px; }
.service-card .tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-grey); margin-bottom: 14px; }
.service-card p { flex: 1; }
.service-card .btn { align-self: flex-start; margin-top: 12px; }

.step {
  text-align: left;
}
.step .step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--color-mustard);
  margin-bottom: 10px;
  line-height: 1;
}
.step h4 { font-size: 1.05rem; margin-bottom: 6px; font-family: var(--font-display); font-weight: 700; }

.feature-block h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.feature-block .icon-tag {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--color-mustard-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--color-mustard-dark);
  font-family: var(--font-display);
  font-weight: 800;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--color-charcoal);
}
.form-group .hint { font-size: 0.78rem; color: var(--color-grey); margin-top: -2px; }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-charcoal);
  transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--color-mustard); }
textarea.form-control { resize: vertical; min-height: 110px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 600px) { .checkbox-grid { grid-template-columns: 1fr; } }
.checkbox-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
}
.checkbox-item input { width: 16px; height: 16px; accent-color: var(--color-mustard); }
.radio-row { display: flex; flex-direction: column; gap: 10px; }
.radio-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.radio-item input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--color-mustard); }
.radio-item strong { display: block; font-size: 0.92rem; }
.radio-item span.desc { font-size: 0.82rem; color: var(--color-grey); }
.file-drop {
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: 22px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-grey);
  cursor: pointer;
  transition: border-color var(--transition);
}
.file-drop:hover { border-color: var(--color-mustard); }

.form-note {
  font-size: 0.82rem;
  color: var(--color-grey);
  background: var(--color-bg-alt);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
}
.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}
.form-success.show { display: block; }
.form-success .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-mustard-light);
  color: var(--color-mustard-dark);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

/* ---------- Quantity stepper ---------- */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-stepper button {
  width: 42px; height: 42px;
  background: var(--color-bg-alt);
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
}
.qty-stepper button:hover { background: var(--color-mustard-light); }
.qty-stepper input {
  width: 50px;
  text-align: center;
  border: none;
  border-left: 1.5px solid var(--color-border);
  border-right: 1.5px solid var(--color-border);
  height: 42px;
  font-weight: 700;
}

/* ---------- Filters (rent page) ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-chip {
  padding: 10px 20px;
  border: 1.5px solid var(--color-border);
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--color-white);
  transition: all var(--transition);
}
.filter-chip:hover { border-color: var(--color-mustard); }
.filter-chip.active { background: var(--color-charcoal); color: var(--color-white); border-color: var(--color-charcoal); }

/* ---------- Rental list / cart ---------- */
.cart-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
}
.cart-item img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius-sm); background: var(--color-bg-alt); }
.cart-item .info { flex: 1; }
.cart-item .info h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 4px; }
.cart-item .meta { font-size: 0.82rem; color: var(--color-grey); }
.cart-item .remove { color: var(--color-grey); font-size: 0.8rem; text-decoration: underline; margin-top: 6px; display: inline-block; }
.cart-summary {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.cart-summary .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.92rem; }
.cart-summary .row.total { font-weight: 800; font-size: 1.15rem; font-family: var(--font-display); border-top: 1.5px solid var(--color-border); margin-top: 10px; padding-top: 16px; }
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .icon { font-size: 3rem; margin-bottom: 20px; }

/* ---------- Product detail ---------- */
.pd-gallery-main { aspect-ratio: 4/3; background: var(--color-bg-alt); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 14px; }
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery-thumbs { display: flex; gap: 10px; }
.pd-gallery-thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; border: 2px solid transparent; opacity: 0.7; }
.pd-gallery-thumbs img.active { border-color: var(--color-mustard); opacity: 1; }
.pd-spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.pd-spec-table tr { border-bottom: 1px solid var(--color-border); }
.pd-spec-table td { padding: 12px 0; font-size: 0.92rem; }
.pd-spec-table td:first-child { color: var(--color-grey); width: 40%; }
.pd-spec-table td:last-child { font-weight: 600; }
.pd-price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; margin-bottom: 4px; }
.pd-price small { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; color: var(--color-grey); }
.pd-deposit-note { font-size: 0.84rem; color: var(--color-grey); margin-bottom: 20px; }

/* ---------- Project cards ---------- */
.project-card .thumb { aspect-ratio: 4/3; }
.project-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.project-card .tags span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--color-bg-alt);
  padding: 4px 9px;
  border-radius: 20px;
  color: var(--color-charcoal-soft);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--color-charcoal); color: #d8d7d2; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 56px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo { color: var(--color-white); }
.site-footer .fcol h5 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer .fcol a, .site-footer .fcol p { display: block; color: #b3b1ac; font-size: 0.92rem; margin-bottom: 10px; }
.site-footer .fcol a:hover { color: var(--color-mustard); }
.footer-bottom {
  border-top: 1px solid #38372f;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8rem;
  color: #8b8a84;
}
.footer-bottom a { color: #8b8a84; margin-left: 18px; }
.footer-bottom a:hover { color: var(--color-mustard); }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid #48473f;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.social-row a:hover { border-color: var(--color-mustard); color: var(--color-mustard); }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  z-index: 90;
  color: #fff;
  font-size: 1.5rem;
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 90px;
  background: var(--color-white);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-visual .tile { border-radius: var(--radius-md); overflow: hidden; background: var(--color-bg-alt); aspect-ratio: 1; }
.hero-visual .tile img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .tile.tall { grid-row: span 2; aspect-ratio: auto; }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat strong { font-family: var(--font-display); font-size: 1.6rem; display: block; color: var(--color-charcoal); }
.hero-stats .stat span { font-size: 0.8rem; color: var(--color-grey); }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--color-border);
}
.breadcrumb { font-size: 0.82rem; color: var(--color-grey); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--color-mustard-dark); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--color-charcoal);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: var(--color-white);
}
.cta-band h2 { color: var(--color-white); margin-bottom: 14px; }
.cta-band p { color: #c9c8c3; max-width: 560px; margin-left: auto; margin-right: auto; margin-bottom: 30px; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 600px) { .cta-band { padding: 44px 24px; } }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.divider { height: 1px; background: var(--color-border); margin: 0; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tag-pill {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--color-mustard-light); color: var(--color-mustard-dark);
  padding: 6px 12px; border-radius: 20px;
}
