/* ============================================================
   HOME PAGE — MOBILE FIRST, NO HORIZONTAL SCROLL
   ============================================================ */

/* HERO — stack on mobile */
.hero { background: var(--green); padding: 48px 0 0; width: 100%; overflow: hidden; }
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 56px;
  display: flex;
  flex-direction: column; /* mobile: stack */
  gap: 32px;
  width: 100%;
}
.hero-text { text-align: left; width: 100%; }
.hero-badge {
  display: inline-block;
  background: rgba(244,197,66,.18);
  color: var(--yellow);
  border: 1px solid var(--yellow);
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 16px;
  text-transform: uppercase;
}
.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 8vw, 56px);
  color: #fff; line-height: 1.15; margin-bottom: 14px;
}
.hero-accent { color: var(--yellow); }
.hero-text p  { color: rgba(255,255,255,.78); font-size: 15px; margin-bottom: 24px; }
.hero-btns    { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-stats   { display: flex; gap: 24px; flex-wrap: wrap; }
.stat strong  { display: block; font-family: var(--font-serif); font-size: 22px; color: #fff; }
.stat span    { font-size: 11px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: 1px; }

/* Hero image */
.hero-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #fff;
  width: 100%; /* FIX: full width on mobile */
  max-width: 100%;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* HOW IT WORKS */
.section-head { text-align: center; margin-bottom: 36px; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.how-step { text-align: center; }
.how-icon { width: 58px; height: 58px; background: var(--green); color: var(--yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 12px; }
.how-step h3 { font-family: var(--font-serif); font-size: 15px; margin-bottom: 6px; }
.how-step p  { font-size: 13px; color: var(--muted); }

/* SERVICES SCROLL */
.services-row { padding: 8px 0 20px; width: 100%; }
.service-card {
  flex: 0 0 82vw;
  max-width: 290px;
  min-width: 0; /* FIX: prevent overflow */
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
.svc-img { position: relative; height: 150px; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.svc-icon { width: 40px; height: 40px; background: var(--green); color: var(--yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; margin-top: -28px; border: 3px solid #fff; box-shadow: var(--shadow); }
.svc-body h3 { font-family: var(--font-serif); font-size: 16px; margin-top: 4px; }
.svc-body p  { font-size: 13px; color: var(--muted); flex: 1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.svc-tags span { background: #f0f0f0; font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 50px; color: #555; }
.row-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.row-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: #111; display: flex; align-items: center; justify-content: center; font-size: 14px; }

/* PRODUCTS */
.products-row { padding: 8px 0 20px; width: 100%; }
.product-card { flex: 0 0 82vw; max-width: 270px; min-width: 0; scroll-snap-align: start; }
.prod-img { position: relative; height: 200px; overflow: hidden; background: #f5f5f5; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .prod-img img { transform: scale(1.05); }
.prod-badge { position: absolute; top: 10px; left: 10px; background: var(--pink); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.prod-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 7px; }
.prod-brand { font-size: 10px; font-weight: 800; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.prod-body h3 { font-family: var(--font-serif); font-size: 17px; }
.prod-desc { font-size: 13px; color: var(--muted); }

/* GALLERY */
.gallery-row { padding: 8px 0 20px; width: 100%; }
.gallery-item {
  flex: 0 0 82vw;
  max-width: 290px;
  min-width: 0;
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-over { position: absolute; inset: 0; background: rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; opacity: 0; transition: opacity var(--transition); }
.gallery-item:hover .gallery-over { opacity: 1; }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.93); z-index: 2000; align-items: center; justify-content: center; }
.lightbox.on { display: flex; }
#lbImg { max-width: 92%; max-height: 80vh; border-radius: 10px; }
.lb-close { position: absolute; top: 14px; right: 16px; color: #fff; font-size: 32px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 22px; background: rgba(255,255,255,.12); width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }

/* TESTIMONIALS */
.rating-bar { display: flex; flex-direction: column; gap: 20px; background: #fff; border-radius: var(--radius); padding: 20px 16px; box-shadow: var(--shadow); margin-bottom: 24px; }
.rating-big { text-align: center; }
.rating-big span { font-family: var(--font-serif); font-size: 44px; font-weight: 700; color: var(--green); line-height: 1; }
.rating-big p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.rating-bars { display: flex; flex-direction: column; gap: 8px; }
.rb-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.rb-track { flex: 1; height: 7px; background: #eee; border-radius: 4px; overflow: hidden; }
.rb-fill { height: 100%; background: var(--yellow); border-radius: 4px; transition: width .5s ease; }

.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
.review-card { background: #fff; border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow); }
.rc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rc-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--yellow); font-family: var(--font-serif); font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rc-name { font-weight: 700; font-size: 14px; }
.rc-service { font-size: 12px; color: var(--muted); }
.rc-text { font-size: 13px; color: #444; line-height: 1.6; font-style: italic; margin-top: 6px; }
.rc-date { font-size: 11px; color: #bbb; margin-top: 8px; }

.review-form-wrap { background: #fff; border-radius: var(--radius); padding: 22px 16px; box-shadow: var(--shadow); max-width: 600px; margin: 0 auto; width: 100%; }
.review-form-wrap h3 { font-family: var(--font-serif); font-size: 20px; margin-bottom: 14px; }
.star-picker { font-size: 30px; color: #ddd; cursor: pointer; margin-bottom: 14px; display: flex; gap: 6px; }
.star-picker span.on { color: var(--yellow); }
.review-form-wrap input,
.review-form-wrap textarea { width: 100%; border: 1.5px solid #e0e0e0; border-radius: var(--radius-sm); padding: 11px 14px; font-family: var(--font-sans); font-size: 14px; margin-bottom: 10px; outline: none; transition: border var(--transition); resize: none; }
.review-form-wrap input:focus,
.review-form-wrap textarea:focus { border-color: var(--green); }
.form-note { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: center; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.about-text p { color: rgba(255,255,255,.75); font-size: 14px; }
.about-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.ab { background: rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #fff; }
.ab i { color: var(--yellow); font-size: 16px; }
.about-img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* MARQUEE */
.marquee { overflow: hidden; width: 100%; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marqueeX 28s linear infinite; }
.marquee-track span { font-weight: 800; font-size: 17px; color: #07304d; white-space: nowrap; opacity: .8; }
@keyframes marqueeX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* FAQs */
.faq-wrap { max-width: 780px; margin: 0 auto; width: 100%; }
.faq-list  { display: flex; flex-direction: column; gap: 10px; }
.faq-item  { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 15px 16px; font-weight: 600; font-size: 14px; text-align: left; gap: 10px; }
.faq-q i { color: var(--green); transition: transform var(--transition); flex-shrink: 0; }
.faq-q[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-a { padding: 0 16px 15px; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ============================================================
   TABLET 600px+
   ============================================================ */
@media (min-width: 600px) {
  .how-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .rating-bar { flex-direction: row; align-items: center; padding: 24px; }
}

/* ============================================================
   DESKTOP 900px+
   ============================================================ */
@media (min-width: 900px) {
  .hero { padding: 60px 0 0; }
  .hero-inner { flex-direction: row; align-items: center; gap: 60px; padding: 40px 20px 80px; }
  .hero-text h1 { font-size: clamp(36px, 5vw, 56px); }
  .hero-text p { font-size: 17px; max-width: 480px; }
  .hero-btns { gap: 14px; margin-bottom: 40px; }
  .hero-stats { gap: 36px; }
  .stat strong { font-size: 24px; }
  .hero-img { max-width: 520px; min-height: 420px; aspect-ratio: 3/4; }
  .service-card { flex: 0 0 280px; max-width: 280px; }
  .product-card { flex: 0 0 260px; max-width: 260px; }
  .gallery-item { flex: 0 0 280px; max-width: 280px; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .rating-bar { padding: 28px 32px; }
  .review-form-wrap { padding: 32px; }
}

/* ============================================================
   REVIEW IMAGE UPLOAD
   ============================================================ */
.img-upload-wrap { margin-bottom: 14px; }

.img-upload-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 2px dashed rgba(29,59,48,.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  transition: border-color var(--transition), background var(--transition);
  background: #f9f9f7;
}
.img-upload-label:hover {
  border-color: var(--green);
  background: #f0f5f2;
  color: var(--green);
}
.img-upload-label i { font-size: 20px; color: var(--green); }

/* Dark background variant (product page) */
.section--dark .img-upload-label {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.6);
}
.section--dark .img-upload-label:hover {
  border-color: var(--yellow);
  background: rgba(255,255,255,.1);
  color: var(--yellow);
}
.section--dark .img-upload-label i { color: var(--yellow); }

/* Image preview area */
.img-preview-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.img-preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(29,59,48,.2);
}
.img-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-preview-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,.6);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  border: none;
  line-height: 1;
}

/* Review card image display */
.rc-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.rc-img-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid rgba(0,0,0,.08);
  transition: transform var(--transition);
}
.rc-img-thumb:hover { transform: scale(1.05); }