/* =========================
   HOME.CSS (complete)
   ========================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #c62828;
  --primary-dark: #8e0000;

  --ink: #0f1215;
  --ink-2: #151a20;

  --text: #1a1f24;
  --muted: #606b75;

  --bg: #ffffff;
  --bg-soft: #f5f6f7;

  --border: rgba(0,0,0,0.10);
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-strong: 0 18px 60px rgba(0,0,0,0.14);
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  overflow-x: hidden;
  max-width: 100%;
}

.muted { color: var(--muted); }

/* -------- Shared section header -------- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.section-tag {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 0.9rem;
  letter-spacing: -0.2px;
}

.section-description {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.85;
}

/* -------- Buttons -------- */
.btn-primary, .btn-secondary, .btn-tertiary, .btn-outline {
  padding: 1rem 1.6rem;
  font-size: 1.05rem;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.20);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,0.26); }

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.85);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }

.btn-tertiary {
  background: rgba(255,255,255,0.10);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-tertiary:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(198,40,40,0.45);
}
.btn-outline:hover { background: rgba(198,40,40,0.06); transform: translateY(-2px); }

/* =========================
   HERO
   ========================= */
/*.hero {
  min-height: 78vh;
  background:
    radial-gradient(900px 500px at 20% 15%, rgba(255,255,255,0.10), transparent 55%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.10) 100%);
  pointer-events: none;
}*/

.hero-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.8rem 1.5rem 3.2rem;

  display: grid;
  grid-template-columns: 1fr;   /* single column (hero-side removed) */
  gap: 2.5rem;
  align-items: center;

  position: relative;
  z-index: 2;                   /* sits above ::before / ::after overlays */
}

.hero-content {
  text-align: center;
}

.hero-content h1 {
  font-size: 3.4rem;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 1.1rem;
  letter-spacing: -0.4px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  margin-bottom: 1rem;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
  margin-bottom: 1.7rem;
  max-width: 75ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.9rem;
  justify-content: center;
}

/* FIX: your note line looked dark/dirty on red in screenshot */
.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.35rem;
  justify-content: center;
}

.note-pill {
  color: rgba(255,255,255,0.92);
  background: rgba(0,0,0,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  line-height: 1.2;
}

/* Right side “quiet card” */
.hero-side {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* =========================
   GRID / CARDS
   ========================= */
.grid-3 {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  padding: 0 1rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--muted);
  line-height: 1.75;
}

/* =========================
   WHO FOR
   ========================= */
.who-for {
  padding: 5rem 0;
  background: var(--bg);
}

/* =========================
   PRODUCTS SECTION - FIXED
   ========================= */

.products-section {
  padding: 5rem 0;
  background: var(--bg-soft);
}

.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  padding: 0 1rem;
}

.product-card {
  flex: 0 1 calc(33.333% - 1.07rem);
  min-width: 260px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}

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

.product-image {
  height: 240px; /* Increased from 210px for better proportions */
  background: linear-gradient(135deg, #f2f3f4, #e9ecef);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* Prevent image area from shrinking */
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Changed from 'contain' to 'cover' for uniform image display */
  object-position: center;
  display: block;
  background: #fff;
}

.img-placeholder {
  width: 86%;
  height: 70%;
  border-radius: 14px;
  border: 1px dashed rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.55);
}

.product-content {
  padding: 1.6rem;
  
  /* KEY FIX: Make content area flexible and push link to bottom */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
  font-weight: 800;
  
  /* Ensure consistent title height (approximately 2 lines) */
  min-height: 3.2rem;
  line-height: 1.3;
}

.product-description {
  color: var(--muted);
  margin-bottom: 0.9rem;
  line-height: 1.75;
  
  /* KEY FIX: Limit description to 3 lines and add ellipsis */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1; /* Takes up available space */
}

/* The muted text below description */
.product-content .muted {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.65;
  font-size: 0.95rem;
  
  /* Limit to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-link {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease;
  
  /* KEY FIX: Push link to bottom of card */
  margin-top: auto;
  padding-top: 0.5rem;
}

.product-link:hover { 
  transform: translateX(4px); 
}

.products-foot {
  text-align: center;
  margin-top: 2rem;
}

/* =========================
   RESPONSIVE UPDATES
   ========================= */

/* Update the responsive section */
@media (max-width: 1100px) {
  .products-grid .product-card { flex: 0 1 calc(50% - 0.8rem); }
}

@media (max-width: 600px) {
  .products-grid { gap: 1.2rem; }
  .products-grid .product-card { flex: 0 1 100%; }
  
  .product-image {
    height: 220px;
  }
  
  .product-title {
    font-size: 1.2rem;
    min-height: auto;
  }
  
  .product-content {
    padding: 1.4rem;
  }
}

/* =========================
   WHY NOW
   ========================= */
.why-now {
  padding: 5rem 0;
  background: var(--bg);
}

/* =========================
   PILLARS
   ========================= */
.pillars {
  padding: 5rem 0;
  background: var(--bg-soft);
}

/* =========================
   GLOBAL MARKETS (included here to avoid broken CSS link)
   ========================= 
.global-markets {
  padding: 5rem 0;
  background: var(--bg);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.gm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.gm-title {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

.gm-lead {
  color: var(--muted);
  max-width: 860px;
  margin: 0 auto 2.2rem;
  line-height: 1.85;
  font-size: 1.12rem;
}

.gm-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.gm-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 1rem;
  box-shadow: var(--shadow);
}

.gm-country {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
}

.gm-desc {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

.gm-cta {
  margin-top: 2rem;
}

.gm-link {
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}
.gm-link:hover { text-decoration: underline; }*/

/* =========================
   CTA / CONTACT
   ========================= */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  text-align: center;
}

.cta-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.12rem;
  opacity: 0.92;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  transition: transform 0.18s ease, background 0.18s ease;
}

.contact-item:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: rgba(198,40,40,0.95);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-details h4 {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 0.15rem;
  text-align: left;
}

.contact-details p {
  font-size: 1.1rem;
  font-weight: 800;
  text-align: left;
}

.contact-details a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1100px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-side { display: none; }

  .products-grid .product-card { flex: 0 1 calc(50% - 0.8rem); }
  .grid-3 { grid-template-columns: 1fr; }
  .gm-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero { min-height: auto; }
  .hero-container { padding: 1.8rem 1rem 1.6rem; }

  .hero-content h1 { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-body { font-size: 0.98rem; }

  .hero-buttons { gap: 0.75rem; }
  .btn-primary, .btn-secondary, .btn-tertiary { width: 100%; text-align: center; }

  .products-grid .product-card { flex: 0 1 100%; }
  .gm-grid { grid-template-columns: 1fr; }

  body { padding-bottom: 95px; } /* WhatsApp bubble safety */
}

/* ===== HERO RIGHT IMAGE: edge-fade plate (premium) ===== */
.hero-side{
  display:flex;
  align-items:center;
  justify-content:flex-end; /* sits nicely to the right */
}

/* Plate = no empty frame, no padding slab */
.hero-plate{
  width: min(520px, 100%);
  border-radius: 22px;
  overflow: hidden;
  position: relative;

  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);

  background: transparent;   /* IMPORTANT */
  aspect-ratio: auto;        /* IMPORTANT: remove forced ratio */
}


/* Image fills the plate */
.hero-plate img{
  width: 100%;
  height: auto;              /* IMPORTANT */
  display: block;
}

/* Key: fade edges so the studio white doesn't look pasted */
.hero-plate::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.55));
  pointer-events:none;
  z-index:1;
}


/* Caption = slim, deliberate bar (not a giant pill) */
.hero-plate figcaption{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;

  padding: 10px 12px;
  border-radius: 14px;

  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;

  background: rgba(0,0,0,0.46);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
}

/* Mobile: hide plate (hero stays clean) */
@media (max-width: 968px){
  .hero-side{ display:none; }
}
/* ===== HERO: workshop photo background (dark, premium) ===== */
.hero{
  position: relative;
  overflow: hidden;

  /* Keep your red identity, but let the photo show through */
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Workshop photo layer */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("/media/hero/brush_level.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Make it subtle + moody */
  opacity: 0.28;                     /* ↑ slightly */
  filter: grayscale(0.9)
          contrast(1.1)
          brightness(0.78);          /* ↑ important */

  pointer-events:none;
  z-index:0;
}

/* Dark overlay for legibility (this is the main darkness) */
.hero::before{
  content:"";
  position:absolute;
  inset:0;

  background:
    /* faint diagonal engineering grain */
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.025) 0px,
      rgba(255,255,255,0.025) 1px,
      rgba(0,0,0,0.02) 1px,
      rgba(0,0,0,0.02) 3px
    ),

    /* existing dark control gradient */
    linear-gradient(
      180deg,
      rgba(0,0,0,0.42) 0%,
      rgba(0,0,0,0.55) 100%
    );

  pointer-events:none;
  z-index:0;
}

.hero-proof{
  margin: 10px auto 20px auto;
  font-size: 0.90rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 75ch;
}

.hero-text-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.hero-text-link:hover {
  color: var(--text-primary);
  border-bottom-color: currentColor;
}

/* =========================
   WHATSAPP BUTTON
   ========================= */
.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  padding: 1rem 1.6rem;
  font-size: 1.05rem;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 10px 25px rgba(37,211,102,0.25);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37,211,102,0.35);
  background: #20ba5a;
}

/* =========================
   SOCIAL PROOF / STATS
   ========================= */
.proof-section {
  padding: 5rem 0;
  background: var(--bg);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  padding: 0 1rem;
}

.stat-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 18px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 35px rgba(198,40,40,0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 45px rgba(198,40,40,0.28);
}

.stat-number {
  font-size: 3.8rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
}

/* =========================
   SAVE CONTACT SECTION
   ========================= */
.save-contact-section {
  padding: 4rem 0;
  background: var(--bg-soft);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.save-contact-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.save-contact-content h3 {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.save-subtitle {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.save-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-save {
  background: #ffffff;
  color: var(--text);
  border: 2px solid rgba(0,0,0,0.12);
  padding: 1rem 1.6rem;
  font-size: 1.02rem;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn-save:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.10);
}

/* =========================
   REMEMBER THIS BOX
   ========================= */
.remember-box {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #fef5e7 0%, #fdebd0 100%);
  border-top: 2px solid rgba(198,40,40,0.15);
}

.remember-content {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.remember-content h3 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.remember-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.remember-number .label {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 600;
}

.remember-number .number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 1px;
  transition: transform 0.15s ease;
}

.remember-number .number:hover {
  transform: scale(1.05);
}

.remember-note {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

/* =========================
   RESPONSIVE - NEW SECTIONS
   ========================= */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .save-options {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-save {
    width: 100%;
    text-align: center;
  }

  .remember-number .number {
    font-size: 2rem;
  }
}

/* =========================
   HERO SEARCH PANEL
   ========================= */

.hero-search-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.4rem 0 1.1rem;
  max-width: 860px;
}

.hero-search-group {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-search-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.9px;
}

.hero-search-wrap {
  position: relative;
}

.hero-search-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.97rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.hero-search-input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.hero-search-input:focus {
  border-color: rgba(255, 255, 255, 0.70);
  background: rgba(255, 255, 255, 0.20);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.hero-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 500;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  max-height: 320px;
  overflow-y: auto;
}

.hero-search-item {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 1rem;
  cursor: pointer;
  transition: background 0.12s ease;
}

.hero-search-item:hover,
.hero-search-item.is-active {
  background: rgba(198, 40, 40, 0.07);
}

.hero-search-item-label {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.hero-search-item-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.hero-search-item--empty {
  color: var(--muted);
  font-size: 0.92rem;
  cursor: default;
  font-style: italic;
}

.hero-search-item--empty:hover {
  background: none;
}

@media (max-width: 600px) {
  .hero-search-panel {
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.1rem 0 0.9rem;
  }

  .hero-search-group {
    flex: 1 1 100%;
  }

  .hero-search-input {
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
  }
}

/* =========================
   FIND A PART SECTION
   ========================= */

.find-part-section {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 2.4rem 0 2.6rem;
}

.find-part-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.find-part-header {
  margin-bottom: 1.4rem;
  width: 100%;
  max-width: 860px;
  text-align: center;
}

.find-part-hint {
  font-size: 1.05rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* Override frosted-glass styles for light background */
.find-part-section .hero-search-panel {
  margin: 0;
  max-width: 860px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.find-part-section .hero-search-label {
  color: var(--muted);
}

.find-part-section .hero-search-group {
  text-align: left;
}

.find-part-section .hero-search-input {
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.18);
  color: var(--text);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.find-part-section .hero-search-input::placeholder {
  color: rgba(0, 0, 0, 0.38);
}

.find-part-section .hero-search-input:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.10);
}

/* Keep quick-find styles stable on small screens even if shared hero rules change */
@media (max-width: 600px) {
  .find-part-section {
    padding: 1.8rem 0 2rem;
  }

  .find-part-inner {
    padding: 0 1rem;
    align-items: center;
  }

  .find-part-header {
    margin-bottom: 1rem;
  }

  .find-part-hint {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .find-part-section .hero-search-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  .find-part-section .hero-search-group {
    min-width: 0;
  }

  .find-part-section .hero-search-input {
    -webkit-appearance: none;
    appearance: none;
    background: #ffffff;
    border: 1.5px solid rgba(0, 0, 0, 0.18);
    color: var(--text);
  }
}
