/* =========================================================
   REUSABLE COMPONENTS
========================================================= */

/* ---------------- PAGE HERO (inner pages) ---------------- */
.page-hero {
  padding: 64px 0 60px;
  background: var(--cream);
  text-align: center;
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 14px 0 16px;
  line-height: 1.05;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
}

.breadcrumb {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 18px;
}

.breadcrumb a {
  color: var(--rust);
  font-weight: 600;
}

/* ---------------- CAPABILITY / ICON CARDS ---------------- */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.icon-card {
  background: var(--off-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px rgba(200, 107, 74, 0.35);
}

.icon-circle i {
  color: #fff;
  font-size: 20px;
}

.icon-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}

.icon-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.icon-card .card-link {
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease, color 0.25s ease;
}

.icon-card .card-link:hover {
  gap: 10px;
  color: var(--rust-dark);
}

/* ---------------- PHOTO CAPABILITY CARD (with image) ---------------- */
.photo-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.photo-card .photo-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.photo-card .photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-card:hover .photo-wrap img {
  transform: scale(1.06);
}

.photo-card .icon-circle {
  position: absolute;
  bottom: -26px;
  left: 24px;
  margin: 0;
  border: 4px solid var(--off-white);
}

.photo-card .photo-body {
  padding: 40px 24px 24px;
}

.photo-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}

.photo-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 14px;
}

/* ---------------- QUALITY / STAT ROW ---------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  text-align: center;
}

.stat-item {
  padding: 30px 16px;
}

.stat-item .icon-circle {
  margin: 0 auto 16px;
}

.stat-item h4 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.stat-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------------- INDUSTRY TAGS ---------------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.industry-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-card);
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-card:hover img {
  transform: scale(1.08);
}

.industry-card .tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  background: linear-gradient(to top, rgba(32,18,9,0.85), transparent);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
}

/* ---------------- PRODUCT GRID ---------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.product-card .thumb {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .thumb img {
  transform: scale(1.08);
}

.product-card .info {
  padding: 16px 18px 20px;
}

.product-card .info span {
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rust);
}

.product-card .info h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 6px 0 0;
}

/* Filter pills */
.filter-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.filter-pill {
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid var(--border-soft);
  background: var(--off-white);
  color: var(--charcoal);
  transition: all 0.25s ease;
}

.filter-pill:hover {
  border-color: var(--rust);
}

.filter-pill.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
}

/* ---------------- MARQUEE (brands / partners) ---------------- */
.marquee {
  width: 100%;
  overflow: hidden;
  background: var(--brown-deep);
  padding: 22px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 90px;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}

.marquee-track img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------- CTA BAND ---------------- */
.cta-band {
  background: var(--rust);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: #fff;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.cta-band p {
  margin: 0;
  opacity: 0.9;
  max-width: 420px;
}

.cta-band .btn-dark {
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.cta-band .btn-dark:hover {
  background: #000;
  border-color: #000;
}

/* ---------------- WHATSAPP ENQUIRY FORM ---------------- */
.enquiry-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.enquiry-info h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.08;
  margin: 12px 0 16px;
}

.enquiry-info > p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.info-block {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border-soft);
}

.info-block:last-of-type {
  border-bottom: 1px solid var(--border-soft);
}

.info-block .icon-circle {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  margin: 0;
}

.info-block .icon-circle i {
  font-size: 15px;
}

.info-block h4 {
  font-family: var(--font-ui);
  font-size: 15px;
  margin: 0 0 4px;
}

.info-block p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.enquiry-form {
  background: var(--rust);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.enquiry-form h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13.5px;
  color: #fff;
  margin-bottom: 6px;
}

.field label .req {
  color: var(--charcoal);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-ui);
  font-size: 14.5px;
  background: var(--off-white);
  color: var(--charcoal);
}

.field textarea {
  resize: none;
  height: 92px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a08b7c;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--charcoal);
}

.field-error {
  color: var(--charcoal);
  background: #fff;
  font-size: 12px;
  margin-top: 4px;
  padding: 2px 0;
  display: none;
}

.field.has-error input,
.field.has-error textarea {
  outline: 2px solid var(--charcoal);
}

.field.has-error .field-error {
  display: block;
}

.form-note {
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------------- TIMELINE / PROCESS ---------------- */
.process-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.process-step {
  flex: 1;
  min-width: 220px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.process-step .num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--rust);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 14px;
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

.process-step p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ---------------- GALLERY MASONRY ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1100px) {
  .icon-grid,
  .industry-grid,
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .enquiry-wrap { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .icon-grid,
  .industry-grid,
  .stat-row,
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.tall { grid-row: span 1; }
}

@media (max-width: 480px) {
  .icon-grid,
  .product-grid { grid-template-columns: 1fr 1fr; }
}
