/* =====================================================
   Homepage – theme color variables
   ===================================================== */

/* Hero */
.gs-hero { position: relative; overflow: hidden; background: var(--gs-primary, #1a1a1a); }
.gs-hero-slider { position: relative; }
.gs-hero-slide { display: none; position: relative; }
.gs-hero-slide.is-active { display: block; animation: gsFade 0.5s ease; }
@keyframes gsFade { from { opacity: 0.4; } to { opacity: 1; } }
.gs-hero-media {
  position: relative;
  line-height: 0;
  width: 100%;
  /* Reserve space before image loads – cuts CLS */
  aspect-ratio: 1920 / 700;
  background: var(--gs-primary, #1a1a1a);
  overflow: hidden;
}
.gs-hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.gs-hero-media img,
.gs-hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .gs-hero-media {
    aspect-ratio: 1 / 1;
  }
}
/* Hero uses <picture> – browser loads only matching source */
.gs-hero-play, .gs-play-overlay, .gs-yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--gs-primary, #1a1a1a);
  border: none; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3); z-index: 3; text-decoration: none;
  transition: transform 0.2s;
}
.gs-yt-play:hover { transform: translate(-50%,-50%) scale(1.08); }
.gs-play-overlay { background: #e11; color: #fff; width: 52px; height: 52px; font-size: 16px; }
.gs-hero-caption {
  position: absolute; bottom: 14%; left: 6%; color: #fff; max-width: 520px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.gs-hero-caption h2 {
  font-size: clamp(1.5rem, 4vw, 2.6rem); margin: 0 0 14px;
}
.gs-hero-prev, .gs-hero-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.92); font-size: 26px; cursor: pointer;
  color: var(--gs-primary, #1a1a1a); line-height: 1;
}
.gs-hero-prev { left: 14px; }
.gs-hero-next { right: 14px; }
.gs-hero-dots {
  position: absolute; bottom: 18px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px; z-index: 5;
}
.gs-hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.45); cursor: pointer; padding: 0;
}
.gs-hero-dots button.is-active { background: #fff; }

/* Marquee */
.gs-marquee {
  background: var(--gs-primary, #1a1a1a); color: #fff;
  overflow: hidden; white-space: nowrap; padding: 11px 0;
  font-size: 12px; font-weight: 600; letter-spacing: 0.6px;
  min-height: 40px;
  contain: layout;
}
.gs-marquee-track { display: inline-flex; align-items: center; white-space: nowrap; animation: gs-marquee 90s linear infinite; will-change: transform; }
.gs-marquee-track span { padding: 0 10px; }
.gs-marquee .dot { opacity: 0.5; }
@keyframes gs-marquee { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* Shared */
.gs-section-title {
  text-align: center;
  font-size: clamp(1.45rem, 2.8vw, 2rem); color: var(--gs-primary, #1a1a1a); margin: 0 0 8px;
}
.gs-section-sub {
  text-align: center; color: var(--gs-text-muted, #666); max-width: 620px;
  margin: 0 auto 28px; font-size: 14px; line-height: 1.7;
}
.gs-section-eyebrow {
  text-align: center; font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gs-accent, #c9a227); margin-bottom: 6px;
}
.gs-center { text-align: center; }
.gs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 13px;
  text-decoration: none; border: none; cursor: pointer; transition: opacity 0.2s, transform 0.15s;
}
.gs-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.gs-btn-primary { background: var(--gs-primary, #1a1a1a); color: #fff !important; }
.gs-btn-accent { background: var(--gs-accent, #c9a227); color: #fff !important; }
.gs-btn-wa { background: #25d366; color: #fff !important; }
.gs-badge {
  display: inline-flex; align-items: center; gap: 6px; background: #fff;
  border-radius: 999px; padding: 6px 14px; font-size: 11px; font-weight: 600;
  color: var(--gs-primary, #1a1a1a); box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 14px;
}
.gs-badge::before {
  content: ""; width: 8px; height: 8px; background: var(--gs-accent, #c9a227); border-radius: 50%;
}

/* PC: flexible grid fills row | Mobile: horizontal scroll */
.gs-hscroll {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  padding: 4px 0 8px;
}
.gs-hscroll > * { min-width: 0; width: 100%; }

/* Tour / review / team cards on PC fill grid */
.gs-tour-card { width: 100% !important; max-width: none; aspect-ratio: 3/4; }
.gs-review-card { width: 100% !important; max-width: none; }
.gs-team-card { width: 100% !important; max-width: none; }
.gs-prod-card { width: 100% !important; max-width: none; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);}

.gs-review-videos,
.gs-review-images,
.gs-prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.gs-review-videos .gs-review-card,
.gs-prod-grid .gs-prod-card {
  width: 100%;
  flex-shrink: 1;
}

@media (max-width: 768px) {
  .gs-hscroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: 12px;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 14px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .gs-hscroll::-webkit-scrollbar { display: none; height: 0; }
  .gs-hscroll > * {
    scroll-snap-align: start;
    flex: 0 0 auto !important;
    min-width: 0;
  }
  .gs-tour-card { width: 148px !important; max-width: 148px !important; }
  .gs-review-card { width: 176px !important; max-width: 176px !important; }
  .gs-team-card { width: 148px !important; max-width: 148px !important; }
  .gs-prod-card { width: 168px !important; max-width: 168px !important; }
  
  .gs-review-img { width: 168px !important; max-width: 168px !important; flex: 0 0 auto !important; }
}

/* Flat section icons (SVG mask) */
.gs-section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  text-align: center;
  line-height: 1.25;
}
.gs-section-title .gs-ico {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--gs-accent, #c9a227);
}
.gs-section-title .gs-ico svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
/* About */
.gs-about {
  background: linear-gradient(135deg, var(--gs-bg-light, #f8f5f0) 0%, #f0f4ff 100%);
}
.gs-about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.gs-about-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--gs-primary, #1a1a1a);
  line-height: 1.2; margin: 0 0 14px;
}
.gs-about-desc { color: var(--gs-text, #2d2d2d); line-height: 1.8; font-size: 15px; margin-bottom: 20px; }
.gs-about-stats { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.gs-stat {
  background: #fff; border-radius: 12px; padding: 12px 16px; min-width: 96px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.gs-stat strong { display: block; font-size: 1.35rem; color: var(--gs-primary, #1a1a1a); }
.gs-stat span { font-size: 11px; color: var(--gs-text-muted, #666); }
.gs-about-frame {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.gs-about-frame img { width: 100%; display: block; }
.gs-about-float {
  position: absolute; top: 14px; right: 14px; background: var(--gs-primary, #1a1a1a);
  color: #fff; border-radius: 12px; padding: 12px 14px; max-width: 140px; font-size: 11px;
}
.gs-about-float strong { display: block; font-size: 1.5rem; color: var(--gs-accent, #c9a227); }
.gs-about-card {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  background: rgba(255,255,255,0.96); border-radius: 12px; padding: 12px 14px;
}
.gs-about-card strong { display: block; margin-bottom: 4px; color: var(--gs-primary, #1a1a1a); font-size: 14px; }
.gs-about-card p { margin: 0; font-size: 12px; color: var(--gs-text-muted, #666); line-height: 1.5; }

/* Factory tour – horizontal */
.gs-tour-scroll { margin: 0 -4px; }
.gs-tour-card {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 3/4; background: #111;
}
.gs-tour-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-tour-card.is-playing,
.gs-review-card.is-playing { aspect-ratio: 16/9; width: 320px; }
.gs-yt-iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* Reviews */
.gs-review-tabs, .gs-prod-tabs, .gs-faq-cats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px;
}
.gs-review-tabs button, .gs-prod-tabs button, .gs-faq-cats button {
  border: 1px solid var(--gs-border, #e8e4de); background: #fff;
  padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 13px;
  cursor: pointer; font-family: inherit; color: var(--gs-text, #2d2d2d);
  transition: all 0.2s;
}
.gs-review-tabs button.active, .gs-prod-tabs button.active, .gs-faq-cats button.active {
  background: var(--gs-primary, #1a1a1a); color: #fff; border-color: var(--gs-primary, #1a1a1a);
}
.gs-tab-content { display: none; }
.gs-tab-content.active { display: block; }
.gs-review-videos {
  display: flex; gap: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory; padding-bottom: 12px;
}
.gs-review-card {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 3/4; background: #111; color: #fff;
}
.gs-review-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-rating {
  position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.55);
  padding: 3px 10px; border-radius: 999px; font-size: 12px; z-index: 2;
}
.gs-review-meta {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.78)); z-index: 2;
}
.gs-review-meta strong { display: block; font-size: 13px; }
.gs-review-meta span { font-size: 11px; opacity: 0.85; }
.gs-review-images {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}
.gs-review-img {
  flex-shrink: 0; width: 220px; border-radius: 12px; overflow: hidden; scroll-snap-align: start;
}
.gs-review-img img { width: 100%; display: block; }

/* Why us */
.gs-why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.gs-why-card {
  background: color-mix(in srgb, var(--gs-accent, #c9a227) 12%, #fff);
  border-radius: 14px; padding: 24px 18px; text-align: center;
  border: 1px solid color-mix(in srgb, var(--gs-accent, #c9a227) 20%, transparent);
}
.gs-why-card.is-highlight {
  background: var(--gs-primary, #1a1a1a); color: #fff; border-color: transparent;
}
.gs-why-card h3 {
  font-size: 1.15rem;
  margin: 0 0 8px; color: var(--gs-primary, #1a1a1a);
}
.gs-why-card.is-highlight h3 { color: #fff; }
.gs-why-card p {
  margin: 0; font-size: 13px; line-height: 1.65; color: var(--gs-text, #2d2d2d);
}
.gs-why-card.is-highlight p { color: rgba(255,255,255,0.9); }

/* Products – horizontal scroll */
.gs-prod-grid {
  display: flex; gap: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory; padding-bottom: 12px;
}
.gs-prod-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06); text-decoration: none; color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}
.gs-prod-card:hover {
  transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.gs-prod-card img { width: 100%; object-fit: cover; display: block; }
.gs-prod-cat {
  display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--gs-text-muted, #666); padding: 10px 12px 0;
}
.gs-prod-card h3 {
  font-size: 13px; font-weight: 600; color: var(--gs-primary, #1a1a1a);
  padding: 4px 12px 14px; margin: 0; line-height: 1.4;
}

/* FAQ */
.gs-faq-cats .count {
  background: rgba(255,255,255,0.25); padding: 1px 7px; border-radius: 999px;
  font-size: 11px; margin-left: 4px;
}
.gs-faq-cats button:not(.active) .count { background: var(--gs-bg-light, #f0f0f0); }
.gs-faq-list { max-width: 700px; margin: 0 auto; }
.gs-faq-item {
  background: #fff; border-radius: 12px; margin-bottom: 8px;
  border: 1px solid var(--gs-border, #e8e4de); overflow: hidden;
}
.gs-faq-item summary {
  padding: 13px 16px; font-weight: 600; cursor: pointer; list-style: none;
  color: var(--gs-primary, #1a1a1a); font-size: 14px;
}
.gs-faq-item summary::-webkit-details-marker { display: none; }
.gs-faq-item summary::after { content: "+"; float: right; color: var(--gs-accent, #c9a227); }
.gs-faq-item[open] summary::after { content: "−"; }
.gs-faq-a { padding: 0 16px 13px; font-size: 14px; color: var(--gs-text, #2d2d2d); line-height: 1.7; }
.gs-faq-help {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
  margin-top: 24px; background: #fff; border-radius: 14px; padding: 16px 22px;
  max-width: 480px; margin-left: auto; margin-right: auto;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05); font-size: 14px;
}

/* Team – horizontal */
.gs-team-scroll { margin: 0 -4px; }
.gs-team-card {
  text-align: center; background: #fff; border-radius: 14px; padding: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.gs-team-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 8px;
}
.gs-team-role {
  display: block; font-size: 10px; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--gs-text-muted, #666);
}
.gs-team-name {
  display: block;   font-size: 1rem; color: var(--gs-primary, #1a1a1a); margin: 3px 0 8px;
}
.gs-team-wa {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: #25d366; text-decoration: none;
  background: rgba(37, 211, 102, 0.1); padding: 5px 12px; border-radius: 999px;
  transition: background 0.2s;
}
.gs-team-wa:hover { background: rgba(37, 211, 102, 0.2); color: #1da851; }
.gs-team-wa svg { flex-shrink: 0; }

/* Contact CF7 */
.gs-contact-form-wrap {
  max-width: 640px; margin: 0 auto; background: #fff; border-radius: 16px;
  padding: 28px; box-shadow: 0 12px 40px rgba(0,0,0,0.07);
}
.gs-contact-form-wrap .wpcf7-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.gs-contact-form-wrap .wpcf7-form p { margin: 0; }
.gs-contact-form-wrap input[type="text"],
.gs-contact-form-wrap input[type="email"],
.gs-contact-form-wrap input[type="tel"],
.gs-contact-form-wrap select,
.gs-contact-form-wrap textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--gs-border, #e8e4de);
  border-radius: 10px; font-family: inherit; font-size: 14px; background: #fafafa;
  color: var(--gs-text, #2d2d2d);
}
.gs-contact-form-wrap textarea { min-height: 100px; }
.gs-contact-form-wrap .wpcf7-form-control-wrap { display: block; width: 100%; }
/* Full-width fields: message + submit */
.gs-contact-form-wrap p:has(textarea),
.gs-contact-form-wrap p:has(input[type="submit"]),
.gs-contact-form-wrap .wpcf7-submit {
  grid-column: 1 / -1;
}
.gs-contact-form-wrap input[type="submit"],
.gs-contact-form-wrap .wpcf7-submit {
  width: 100%; background: var(--gs-primary, #1a1a1a); color: #fff; border: none;
  padding: 15px; border-radius: 999px; font-weight: 700; font-size: 14px;
  letter-spacing: 0.4px; cursor: pointer; display: block;
}
.gs-contact-form-wrap input[type="submit"]:hover { opacity: 0.92; }

@media (max-width: 992px) {
  .gs-about-grid { grid-template-columns: 1fr; }
  .gs-why-grid { grid-template-columns: 1fr 1fr; }
  .gs-tour-card { width: 160px; }
  .gs-review-card { width: 200px; }
}
@media (max-width: 576px) {
  .gs-why-grid { grid-template-columns: 1fr; }
  .gs-contact-form-wrap .wpcf7-form { grid-template-columns: 1fr; }
  .gs-contact-form-wrap p:has(textarea),
  .gs-contact-form-wrap p:has(input[type="submit"]),
  .gs-contact-form-wrap .wpcf7-submit { grid-column: 1; }
}

.gs-about-frame.has-video { cursor: pointer; }
.gs-about-frame .gs-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 64px; height: 64px; border-radius: 50%; background: #fff;
  color: var(--gs-primary, #1a1a1a); border: none; font-size: 22px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3); z-index: 4;
}
.gs-about-frame.is-playing .gs-about-float,
.gs-about-frame.is-playing .gs-about-card,
.gs-about-frame.is-playing > img { display: none; }
.gs-about-frame .gs-yt-iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 5;
}
.gs-about-frame { min-height: 280px; }

/* Section title icons */

/* Final mobile scroll override – highest priority */
@media (max-width: 768px) {
  section .gs-hscroll,
  .gs-review-videos.gs-hscroll,
  .gs-review-images.gs-hscroll,
  .gs-prod-grid.gs-hscroll {
    display: -webkit-box !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: unset !important;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100%;
    max-width: 100vw;
  }
  section .gs-hscroll > *,
  .gs-prod-grid.gs-hscroll > *,
  .gs-review-videos.gs-hscroll > * {
    flex: 0 0 auto !important;
    width: 220px !important;
    max-width: 70vw !important;
  }
  .gs-prod-grid.gs-hscroll .gs-prod-card {
    width: 220px !important;
  }
}

/* ---- Alternating section backgrounds ---- */
.gs-about { background: var(--gs-bg-light, #f8f5f0); }
.gs-tour { background: #fff; }

.gs-why { background: #fff; }
.gs-products { background: var(--gs-bg-light, #f8f5f0); }
.gs-home-faq { background: #fff; }
.gs-team { background: var(--gs-bg-light, #f8f5f0); }
.gs-home-contact:not(.gs-has-wave) { background: #fff; }

/* About stats tighter gap */
.gs-about-stats { gap: 5px !important; }

/* Why Us – icon images, no crop */
.gs-why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  overflow: hidden;
}
.gs-why-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.gs-why-card.is-highlight .gs-why-icon {
  background: rgba(255,255,255,0.15);
}

/* YouTube Shorts ratio 9:16 for tour & review videos */
.gs-tour-card,
.gs-review-card {
  aspect-ratio: 9 / 16 !important;
  height: auto !important;
  max-height: none !important;
}
.gs-tour-card img,
.gs-review-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* When playing, switch to embed full card */
.gs-tour-card.is-playing,
.gs-review-card.is-playing {
  aspect-ratio: 9 / 16 !important;
}
.gs-tour-card .gs-yt-iframe,
.gs-review-card .gs-yt-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Product cards – height left to content */
.gs-prod-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Team photos – no harsh crop */
.gs-team-card img {
  width: 100%;
  height: auto !important;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

/* Contact CF7 – fix broken submit */
.gs-contact-form-wrap .wpcf7 {
  width: 100%;
}
.gs-contact-form-wrap .wpcf7-form {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}
.gs-contact-form-wrap .wpcf7-form > p {
  margin: 0;
  display: contents; /* unwrap p so children join grid */
}
.gs-contact-form-wrap .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.gs-contact-form-wrap input[type="text"],
.gs-contact-form-wrap input[type="email"],
.gs-contact-form-wrap input[type="tel"],
.gs-contact-form-wrap input[type="url"],
.gs-contact-form-wrap select,
.gs-contact-form-wrap textarea {
  width: 100% !important;
  max-width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--gs-border, #e8e4de);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  background: #fafafa;
  box-sizing: border-box;
}
.gs-contact-form-wrap textarea {
  min-height: 110px;
  grid-column: 1 / -1;
}
/* Message field wrap full width */
.gs-contact-form-wrap .wpcf7-form-control-wrap:has(textarea),
.gs-contact-form-wrap span.wpcf7-form-control-wrap[class*="textarea"],
.gs-contact-form-wrap .wpcf7-form-control-wrap:has(.wpcf7-textarea) {
  grid-column: 1 / -1;
}
/* Submit full width, clean */
.gs-contact-form-wrap input[type="submit"],
.gs-contact-form-wrap .wpcf7-submit {
  grid-column: 1 / -1;
  width: 100% !important;
  max-width: 100%;
  background: var(--gs-primary, #1a1a1a) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 15px 24px !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  cursor: pointer;
  box-shadow: none !important;
  outline: none !important;
  margin-top: 4px;
}
.gs-contact-form-wrap .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 8px 0 0;
}
/* Fallback without :has – target by position classes CF7 often uses */
.gs-contact-form-wrap .wpcf7-form > p:last-of-type {
  display: block;
  grid-column: 1 / -1;
}
.gs-contact-form-wrap .wpcf7-form > p:nth-last-of-type(2) {
  display: block;
  grid-column: 1 / -1;
}

@media (max-width: 576px) {
  .gs-contact-form-wrap .wpcf7-form {
    grid-template-columns: 1fr !important;
  }
}




/* Homepage SEO H1 */
.gs-home-h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--gs-primary, #1a1a1a);
  text-align: center;
  margin: 36px 0 8px;
  line-height: 1.25;
}

/* FAQ bottom CTA (shared with FAQ page) */
.gs-faq-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 28px 0 0;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid var(--gs-border, #e8e4de);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.gs-faq-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gs-faq-cta-text strong {
  font-size: 16px;
  color: var(--gs-primary, #1a1a1a);
}
.gs-faq-cta-text span {
  font-size: 14px;
  color: var(--gs-text-muted, #666);
}
.gs-faq-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #25d366;
  color: #fff !important;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.gs-faq-cta-btn:hover {
  background: #1ebe57;
  transform: translateY(-1px);
  color: #fff !important;
}
@media (max-width: 600px) {
  .gs-faq-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .gs-faq-cta-btn {
    justify-content: center;
  }
}

/* Section background image (Contact / Product Lines) */
.gs-has-bg {
  position: relative;
  background-color: var(--gs-bg-light, #f8f5f0);
  background-image: var(--gs-sec-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.gs-has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  z-index: 0;
  pointer-events: none;
}
.gs-has-bg > .container {
  position: relative;
  z-index: 1;
}
.gs-products.gs-has-bg::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(248,245,240,0.9) 100%);
}
.gs-home-contact.gs-has-bg::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(238,242,255,0.88) 100%);
}






/* ========== Curved row dividers (Contact only) ========== */
.gs-has-wave {
  position: relative;
  isolation: isolate;
  background-image: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--gs-primary, #1a1a1a) 72%, #fff) 2%,
    color-mix(in srgb, var(--gs-primary, #1a1a1a) 82%, #000) 100%
  );
  background-color: var(--gs-primary, #1a1a1a);
  color: #fff;
  padding-top: 70px;
  padding-bottom: 70px;
  overflow: visible;
}
.gs-has-wave > .container {
  position: relative;
  z-index: 1;
}
.gs-row-divider {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 50px;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.gs-row-divider svg {
  display: block;
  width: 100%;
  height: 50px;
}
.gs-row-divider path {
  fill: var(--gs-bg, #ffffff);
}
.gs-dvr-top { top: -1px; }
.gs-dvr-bottom { bottom: -1px; }

.gs-has-wave .gs-section-title { color: #fff; }
.gs-has-wave .gs-section-title .gs-ico {
  color: color-mix(in srgb, var(--gs-accent, #c9a227) 80%, #fff);
}
.gs-has-wave .gs-section-sub { color: rgba(255, 255, 255, 0.85); }




/* ========== Contact: 4 overlapping soft waves ========== */
.gs-contact-waves {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  padding-top: 56px;
  padding-bottom: 72px;
}
.gs-contact-waves > .container {
  position: relative;
  z-index: 2;
}
.gs-waves-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.gs-wave {
  position: absolute;
  left: -5%;
  width: 110%;
  height: 55%;
  bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  opacity: 1;
}
/* 4 layers – soft primary tints, stacked */
.gs-wave-1 {
  bottom: 0;
  height: 28%;
  background: color-mix(in srgb, var(--gs-primary, #1a1a1a) 28%, #fff);
  border-radius: 40% 60% 0 0 / 100% 100% 0 0;
  z-index: 4;
}
.gs-wave-2 {
  bottom: 8%;
  height: 38%;
  background: color-mix(in srgb, var(--gs-primary, #1a1a1a) 16%, #fff);
  border-radius: 55% 45% 0 0 / 100% 100% 0 0;
  left: -8%;
  width: 116%;
  z-index: 3;
}
.gs-wave-3 {
  bottom: 18%;
  height: 48%;
  background: color-mix(in srgb, var(--gs-primary, #1a1a1a) 10%, #fff);
  border-radius: 48% 52% 0 0 / 100% 100% 0 0;
  left: -3%;
  width: 112%;
  z-index: 2;
}
.gs-wave-4 {
  bottom: 28%;
  height: 55%;
  background: color-mix(in srgb, var(--gs-primary, #1a1a1a) 6%, #fff);
  border-radius: 42% 58% 0 0 / 100% 100% 0 0;
  left: -10%;
  width: 120%;
  z-index: 1;
}

/* Optional SVG wave shapes for smoother curves on the 4 layers */
.gs-wave-1 {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0,120 C180,60 360,40 540,70 C720,100 900,160 1080,140 C1260,120 1380,80 1440,70 L1440,200 L0,200 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0,120 C180,60 360,40 540,70 C720,100 900,160 1080,140 C1260,120 1380,80 1440,70 L1440,200 L0,200 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  border-radius: 0;
  height: 42%;
  bottom: 0;
}
.gs-wave-2 {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0,100 C200,40 400,20 600,55 C800,90 1000,150 1200,130 C1320,118 1400,90 1440,80 L1440,200 L0,200 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0,100 C200,40 400,20 600,55 C800,90 1000,150 1200,130 C1320,118 1400,90 1440,80 L1440,200 L0,200 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  border-radius: 0;
  height: 52%;
  bottom: 0;
}
.gs-wave-3 {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0,80 C160,30 320,10 500,45 C700,85 900,140 1100,120 C1280,100 1380,70 1440,60 L1440,200 L0,200 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0,80 C160,30 320,10 500,45 C700,85 900,140 1100,120 C1280,100 1380,70 1440,60 L1440,200 L0,200 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  border-radius: 0;
  height: 62%;
  bottom: 0;
}
.gs-wave-4 {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0,60 C220,20 440,5 660,40 C880,75 1100,130 1300,110 C1380,100 1420,85 1440,75 L1440,200 L0,200 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0,60 C220,20 440,5 660,40 C880,75 1100,130 1300,110 C1380,100 1420,85 1440,75 L1440,200 L0,200 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  border-radius: 0;
  height: 72%;
  bottom: 0;
}

.gs-contact-waves .gs-section-title {
  color: var(--gs-primary, #1a1a1a);
}
.gs-contact-waves .gs-section-sub {
  color: var(--gs-text-muted, #666);
}
.gs-contact-waves .gs-contact-form-wrap {
  position: relative;
  z-index: 3;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 32px color-mix(in srgb, var(--gs-primary, #1a1a1a) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--gs-primary, #1a1a1a) 8%, transparent);
}
.gs-contact-waves.gs-has-bg {
  background-image: var(--gs-sec-bg);
  background-size: cover;
  background-position: center;
}
.gs-contact-waves.gs-has-bg .gs-waves-stack {
  opacity: 0.55;
}

/* ========== CF7 Contact form layout (.box-contact) ========== */
.gs-contact-form-wrap .box-contact,
.gs-contact-form-wrap form.wpcf7-form {
  width: 100%;
}
.gs-contact-form-wrap .box-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin-bottom: 14px;
}
.gs-contact-form-wrap .form-row {
  margin: 0 0 14px;
}
.gs-contact-form-wrap .box-contact .form-row {
  margin: 0;
}
.gs-contact-form-wrap .form-row.from-row-full,
.gs-contact-form-wrap .form-row.form-row-full {
  grid-column: 1 / -1;
  margin-bottom: 14px;
}
.gs-contact-form-wrap .form-item,
.gs-contact-form-wrap .form-input-wrapper {
  width: 100%;
}
.gs-contact-form-wrap .form-input,
.gs-contact-form-wrap input[type="text"],
.gs-contact-form-wrap input[type="email"],
.gs-contact-form-wrap input[type="tel"],
.gs-contact-form-wrap input[type="url"],
.gs-contact-form-wrap select,
.gs-contact-form-wrap textarea,
.gs-contact-form-wrap .wpcf7-form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gs-border, #e8e4de);
  border-radius: 10px;
  background: #fff;
  color: var(--gs-text, #2d2d2d);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.gs-contact-form-wrap .form-input:focus,
.gs-contact-form-wrap .wpcf7-form-control:focus {
  outline: none;
  border-color: var(--gs-primary, #1a1a1a);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gs-primary, #1a1a1a) 12%, transparent);
}
.gs-contact-form-wrap textarea,
.gs-contact-form-wrap .is-textarea {
  min-height: 120px;
  resize: vertical;
}
.gs-contact-form-wrap select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.gs-contact-form-wrap .primary-btn.is-submit,
.gs-contact-form-wrap .is-submit {
  margin-top: 8px;
}
.gs-contact-form-wrap .is-submit button,
.gs-contact-form-wrap input[type="submit"],
.gs-contact-form-wrap .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  background: var(--gs-primary, #1a1a1a);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.gs-contact-form-wrap .is-submit button:hover,
.gs-contact-form-wrap .wpcf7-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
/* submit hide rules removed – use visible submit */
.gs-contact-form-wrap .wpcf7-not-valid-tip {
  font-size: 12px;
  margin-top: 6px;
}
.gs-contact-form-wrap .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
}
@media (max-width: 600px) {
  .gs-contact-form-wrap .box-contact {
    grid-template-columns: 1fr;
  }
}


/* ========== CF7 Submit – always visible ========== */
.gs-contact-form-wrap .wpcf7-form-control-wrap {
  margin-bottom: 12px;
  display: block;
  width: 100%;
}
.gs-contact-form-wrap .is-submit,
.gs-contact-form-wrap .primary-btn.is-submit,
.gs-contact-form-wrap p:has(input[type="submit"]),
.gs-contact-form-wrap .wpcf7-form > p:last-of-type {
  grid-column: 1 / -1 !important;
  margin-top: 12px;
  width: 100%;
}
.gs-contact-form-wrap input[type="submit"],
.gs-contact-form-wrap input.wpcf7-submit,
.gs-contact-form-wrap .wpcf7-submit,
.gs-contact-form-wrap .is-submit input[type="submit"],
.gs-contact-form-wrap .is-submit .wpcf7-submit,
.gs-contact-form-wrap button[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px;
  padding: 14px 24px !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 999px !important;
  background: var(--gs-primary, #1a1a1a) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: none !important;
  text-indent: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  position: relative !important;
  height: auto !important;
}
.gs-contact-form-wrap input[type="submit"]:hover,
.gs-contact-form-wrap .wpcf7-submit:hover,
.gs-contact-form-wrap button[type="submit"]:hover {
  opacity: 0.92 !important;
  transform: translateY(-1px);
}
/* If nested CF7 submit inside custom button was hidden – unhide */
.gs-contact-form-wrap .input-hiden,
.gs-contact-form-wrap .input-hidden,
.gs-contact-form-wrap #submit_ft {
  /* do not clip the only submit control */
  position: static !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 14px 24px !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  border: none !important;
  background: var(--gs-primary, #1a1a1a) !important;
  color: #fff !important;
  font-size: 15px !important;
  border-radius: 999px !important;
}
