/* ==========================================================================
   YZ GLOBAL TRADING - ARCHITECTURAL BRAND CSS
   ========================================================================== */

:root {
  --primary: #0A3C26;       /* Deep Forest Velvet Sage */
  --primary-light: #125437; /* Emerald Accents */
  --gold: #B89343;          /* Burnished Antique Gold Tint */
  --gold-light: #F4EEDF;    /* Soft Cream Gold Wash */
  --slate-dark: #111A15;    /* Luxury Midnight Onyx */
  --bg-clean: #FAF9F5;      /* Ivory Chalk Canvas background */
  --white: #FFFFFF;
  --text-main: #2D3A34;     /* Refined Carbon Charcoal */
  --text-muted: #5C6B63;    /* Professional Mid-Tone Grey */
  --border-light: #E3E8E5;  /* Super crisp line partitions */

  --radius-luxury: 12px;    /* Elegant, subtle rounded edges */
  --shadow-soft: 0 10px 35px rgba(10, 60, 38, 0.04);
  --shadow-hover: 0 25px 60px rgba(10, 60, 38, 0.1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
  --container-max: 1280px;
}

/* RESET & BODY BASIS */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-clean);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

/* TYPOGRAPHY ANCHORS */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--slate-dark);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; margin-bottom: 20px; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 600; color: var(--primary); }

p { color: var(--text-muted); font-size: 1rem; }
a { text-decoration: none; color: inherit; transition: all var(--transition-smooth); }
ul { list-style: none; }

/* REUSABLE LAYOUT CONTAINER */
.container {
  width: min(var(--container-max), 90%);
  margin: 0 auto;
}

.section {
  padding: 120px 0;
}

/* REFINED SECTION TAGS */
.section-header {
  max-width: 720px;
  margin: 0 auto 70px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 4px;
  background-color: var(--gold-light);
  color: #8A6A23;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* PREMIUM BUTTON SETS */
.btn-primary, .btn-secondary, .quote-btn, .btn-primary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.btn-primary, .quote-btn {
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-primary:hover, .quote-btn:hover {
  background-color: var(--slate-dark);
  border-color: var(--slate-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-primary-light {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--white);
}

.btn-primary-light:hover {
  background-color: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION FRAMEWORK & HEADER
   ========================================================================== */
.top-bar {
  background-color: var(--slate-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
  width: min(var(--container-max), 90%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-left { display: flex; gap: 30px; }
.top-right a:hover { color: var(--gold); }

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 249, 245, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-smooth);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
}

.logo { display: flex; align-items: center; gap: 14px; }
.logo-circle {
  width: 44px; height: 44px; border-radius: 4px;
  background-color: var(--primary);
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.05em;
}

.logo-text h3 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.01em; color: var(--primary); }
.logo-text span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); display: block; }

nav { display: flex; gap: 40px; align-items: center; }
nav a { font-size: 0.88rem; font-weight: 500; color: var(--text-main); }
nav a:hover { color: var(--gold); }

/* ==========================================================================
   HERO CANVAS & TRUST ARCHITECTURE
   ========================================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: var(--slate-dark);
}

.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17, 26, 21, 0.8) 0%, rgba(17, 26, 21, 0.95) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  width: min(var(--container-max), 90%);
  margin: 0 auto;
  max-width: 880px;
  padding: 120px 0;
}

.hero-tag {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 25px;
}

.hero h1 { color: var(--white); margin-bottom: 30px; font-weight: 400; line-height: 1.1; }
.hero-lead { color: rgba(255, 255, 255, 0.75); font-size: 1.15rem; font-family: var(--font-sans); font-weight: 300; max-width: 740px; line-height: 1.7; }

.hero-buttons { display: flex; gap: 16px; margin: 45px 0; }

.hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

/* Row setup for inline health badges */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px 0 35px 0;
  width: 100%;
}

.h-badge {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(4px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: #b5893d;
  border-radius: 50%;
  display: inline-block;
}

/* THE B2B TRUST STRIP */
.trust-strip {
  background-color: var(--white);
  padding: 60px 0;
  position: relative; z-index: 5;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}

.trust-item h3 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 600; margin-bottom: 10px; color: var(--primary); }
.trust-item p { font-size: 0.88rem; line-height: 1.6; }

/* ==========================================================================
   PRODUCT SHOWCASE MODULES
   ========================================================================== */
.products { background-color: #F5F4EF; }

.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 35px;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-luxury);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: all var(--transition-smooth);
  border: 1px solid rgba(10, 60, 38, 0.03);
}

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

.prod-img-wrap { width: 100%; height: 280px; overflow: hidden; background-color: var(--slate-dark); }
.prod-img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%); transition: all var(--transition-smooth); }
.product-card:hover .prod-img-wrap img { transform: scale(1.04); filter: grayscale(0%); }

.prod-info { padding: 40px; display: flex; flex-direction: column; flex-grow: 1; }
.prod-info h3 { font-size: 1.5rem; margin-bottom: 14px; font-weight: 500; }
.prod-info p { margin-bottom: 25px; flex-grow: 1; font-size: 0.95rem; line-height: 1.65; }

.prod-badge {
  display: inline-block; align-self: flex-start;
  padding: 6px 12px; background-color: var(--bg-clean); border: 1px solid var(--border-light);
  font-size: 0.78rem; font-weight: 600; color: var(--primary); border-radius: 4px; text-transform: uppercase; letter-spacing: 0.04em;
}

/* ==========================================================================
   ASYMMETRIC SPLIT DESIGNS & CROP ACCENTS
   ========================================================================== */
.split-container {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center;
}

.split-hero-img {
  width: 100%; height: 550px; object-fit: cover; border-radius: var(--radius-luxury); box-shadow: var(--shadow-hover);
}

.health-feature-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 40px;
}

.health-f-card h4 { font-size: 1rem; margin-bottom: 10px; position: relative; padding-bottom: 8px; }
.health-f-card h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 1.5px; background-color: var(--gold); }
.health-f-card p { font-size: 0.88rem; line-height: 1.6; margin-top: 10px; }

/* SPECIALTY ACCENT STRIP */
.specialty-accent { background-color: var(--white); border-top: 1px solid var(--border-light); }
.specialty-container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }

.premium-list { margin: 30px 0 40px; display: grid; gap: 12px; }
.premium-list li {
  font-size: 0.95rem; font-weight: 500; color: var(--text-main); position: relative; padding-left: 24px;
}
.premium-list li::before {
  content: "—"; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}

.specialty-img img {
  width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-luxury); box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   STATISTICS & INDUSTRIAL FLOW
   ========================================================================== */
.section-stats-bar {
  background-color: var(--primary); color: var(--white); padding: 70px 0;
}

.stats-bar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}

.stat-bar-box h4 { color: var(--gold); font-size: 1.5rem; font-weight: 500; margin-bottom: 8px; }
.stat-bar-box p { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; line-height: 1.5; }

/* SECTORFLEX TAG CLOUD */
.industries-serve { background-color: var(--white); text-align: center; border-bottom: 1px solid var(--border-light); }
.industry-flex-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 960px; margin: 0 auto;
}

.ind-badge {
  padding: 14px 28px; background-color: var(--bg-clean); border: 1px solid var(--border-light);
  font-size: 0.9rem; font-weight: 600; color: var(--slate-dark); border-radius: 4px; transition: all var(--transition-smooth);
}

.ind-badge:hover {
  background-color: var(--primary); color: var(--white); border-color: var(--primary); transform: translateY(-2px);
}

/* ==========================================================================
   WHY US INTEGRITY & TIMELINE WORKFLOWS
   ========================================================================== */
.why-us { background-color: #FAF9F5; }

.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}

.why-card {
  background-color: var(--white); padding: 45px; border-radius: var(--radius-luxury);
  border: 1px solid var(--border-light); transition: all var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent;
}

.why-num {
  font-family: var(--font-serif); font-size: 1.8rem; color: var(--gold); display: block; margin-bottom: 20px; font-weight: 400;
}

.why-card h3 { font-size: 1.25rem; font-family: var(--font-sans); font-weight: 600; margin-bottom: 12px; }
.why-card p { font-size: 0.9rem; line-height: 1.6; }

/* TIMELINE LAYOUT */
.process-timeline { background-color: var(--white); border-bottom: 1px solid var(--border-light); }
.timeline-wrapper {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative;
}

.time-step { position: relative; }
.time-num {
  width: 36px; height: 36px; border-radius: 4px; background-color: var(--gold-light); color: var(--gold);
  display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; margin-bottom: 20px;
}

.time-step h4 { font-family: var(--font-sans); font-size: 1rem; margin-bottom: 10px; color: var(--slate-dark); }
.time-step p { font-size: 0.82rem; line-height: 1.55; }

/* APPLICATIONS SECTION */
.industrial-applications { background-color: #FAF9F5; text-align: center; }
.app-pill-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto;
}

.app-pill-grid span {
  padding: 12px 22px; background-color: var(--white); border: 1px solid var(--border-light);
  border-radius: 4px; font-size: 0.88rem; font-weight: 500; color: var(--text-muted);
}

/* ==========================================================================
   EXPORT CORRIDORS & TRANSACTION PANEL
   ========================================================================== */
.markets { background-color: var(--white); }
.market-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}

.market-card {
  padding: 40px; background-color: var(--bg-clean); border-radius: var(--radius-luxury);
  border: 1px solid var(--border-light); transition: all var(--transition-smooth);
}

.market-card:hover { box-shadow: var(--shadow-soft); background-color: var(--white); border-color: transparent; }
.market-card h3 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 600; margin-bottom: 10px; color: var(--primary); }
.market-card p { font-size: 0.88rem; line-height: 1.6; }

/* ASSURANCE ASSIGNED MODULE */
.assurance-panel { background-color: #F4F3EE; }
.assurance-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ass-img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius-luxury); box-shadow: var(--shadow-soft); }

.assurance-bullet-list { margin-top: 25px; display: grid; gap: 12px; }
.assurance-bullet-list li {
  font-size: 0.92rem; color: var(--text-main); position: relative; padding-left: 26px; font-weight: 500;
}

.assurance-bullet-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--primary-light); font-weight: 700;
}

/* INTERACTIVE FAQ ACCORDION */
.faq-panel { background-color: var(--white); border-top: 1px solid var(--border-light); }
.faq-accordion-box { max-width: 800px; margin: 0 auto; display: grid; gap: 16px; }

.faq-row {
  background-color: var(--bg-clean); border: 1px solid var(--border-light); border-radius: 4px; padding: 20px 30px;
  transition: all var(--transition-smooth);
}

.faq-row[open] { background-color: var(--white); box-shadow: var(--shadow-soft); }
.faq-row summary { font-weight: 600; font-size: 1rem; color: var(--slate-dark); cursor: pointer; outline: none; list-style: none; }
.faq-row summary::-webkit-details-marker { display: none; }
.faq-body p { margin-top: 15px; font-size: 0.9rem; line-height: 1.6; }

/* ==========================================================================
   COMMERCIAL INTAKE SYSTEM (THE B2B FORM)
   ========================================================================== */
.commercial-intake { background-color: #FAF9F5; border-top: 1px solid var(--border-light); }
.intake-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }

.intake-card-item { margin-top: 30px; background-color: var(--white); padding: 20px; border-radius: 6px; border: 1px solid var(--border-light); }
.intake-card-item h5 { font-family: var(--font-sans); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); margin-bottom: 4px; }
.intake-card-item p { font-size: 1rem; font-weight: 600; color: var(--primary); }

.intake-form-wrapper {
  background-color: var(--white); padding: 50px; border-radius: var(--radius-luxury);
  box-shadow: var(--shadow-soft); border: 1px solid var(--border-light);
  display: block; width: 100%;
}

.premium-form { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.form-row { display: flex; gap: 15px; width: 100%; }
.form-row .field-box { flex: 1; min-width: 0; }

.premium-form input[type="text"],
.premium-form input[type="email"],
.premium-form select,
.premium-form textarea {
  width: 100%; padding: 12px 16px; border-radius: 6px; font-family: var(--font-sans); font-size: 14px;
  outline: none; transition: border-color 0.2s ease; background-color: #ffffff !important;
  color: #222222 !important; border: 1px solid #cccccc !important;
}

input:focus, textarea:focus {
  outline: none; background-color: var(--white); border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10, 60, 38, 0.05);
}

.premium-form select option { background-color: #ffffff !important; color: #222222 !important; }
.premium-form ::placeholder { color: #777777 !important; opacity: 1; }
textarea { resize: vertical; }

.form-submit-btn {
  width: 100%; padding: 18px; border: none; border-radius: 4px; background-color: var(--primary);
  color: var(--white); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all var(--transition-smooth);
}
.form-submit-btn:hover { background-color: var(--slate-dark); }

.conditional-fields { width: 100%; animation: fadeInForm 0.3s ease-in-out; }
.conditional-fields .form-row { display: flex; width: 100%; }

@keyframes fadeInForm {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CORPORATE CTA CLOSING */
.corporate-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #051F13 100%);
  text-align: center; padding: 100px 20px; color: var(--white);
}
.corporate-cta h2 { color: var(--white); font-weight: 400; margin-bottom: 15px; }
.corporate-cta p { color: rgba(255, 255, 255, 0.75); font-size: 1.1rem; max-width: 680px; margin: 0 auto 35px; font-weight: 300; }

/* ==========================================================================
   INSTITUTIONAL FOOTER ARCHITECTURE
   ========================================================================== */
.corporate-footer { background-color: var(--slate-dark); color: rgba(255, 255, 255, 0.65); padding: 90px 0 0; font-size: 0.88rem; }
.footer-main-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }

.foot-brand-column h3 { color: var(--white); margin-bottom: 20px; }
.foot-brand-column p { color: rgba(255, 255, 255, 0.5); font-size: 0.85rem; line-height: 1.6; }

.foot-nav-column h4 { font-family: var(--font-sans); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 22px; }
.foot-nav-column ul { display: grid; gap: 12px; }
.foot-nav-column a { color: rgba(255, 255, 255, 0.7); }
.foot-nav-column a:hover { color: var(--white); padding-left: 4px; }

.foot-contact-line { font-weight: 600; color: var(--white); margin-bottom: 10px; }
.footer-bottom-bar { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 30px 0; font-size: 0.78rem; color: rgba(255, 255, 255, 0.4); }

/* ==========================================================================
   STANDALONE B2B PAYMENTS & RETURNS SECTION STYLING
   ========================================================================== */
.payment-terms-policy { background-color: #f9f9f9; padding: 60px 0; font-family: 'Inter', sans-serif; }
.policy-card-grid { display: flex; gap: 25px; justify-content: space-between; width: 100%; }
.policy-box { flex: 1; background: #ffffff; border: 1px solid #e2e8f0; padding: 30px; border-radius: 8px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); text-align: left; }
.policy-box.warning-box { border-top: 4px solid #f39c12; background-color: #fffdf5; }
.policy-icon { font-size: 28px; margin-bottom: 15px; }
.policy-box h3 { font-size: 18px; color: #1a202c; font-weight: 600; margin-bottom: 12px; }
.policy-box p { font-size: 14px; color: #4a5568; line-height: 1.6; margin-bottom: 15px; }
.policy-list { list-style: none; padding: 0; margin: 0; }
.policy-list li { font-size: 13.5px; color: #4a5568; line-height: 1.5; margin-bottom: 10px; position: relative; padding-left: 15px; }
.policy-list li::before { content: "•"; color: #004b23; font-weight: bold; position: absolute; left: 0; }

/* ==========================================================================
   TRADE CONSULTANCY SECTION STYLING
   ========================================================================== */
.trade-consultancy { background-color: #ffffff; padding: 60px 0; font-family: 'Inter', sans-serif; text-align: center; }
.consultancy-header h2 { font-size: 28px; color: #111111; font-weight: 700; margin-bottom: 10px; }
.consultancy-header .subtitle { font-size: 15px; color: #555555; margin-bottom: 40px; }
.consultancy-grid { display: flex; gap: 25px; justify-content: space-between; margin-bottom: 30px; }
.consult-card { flex: 1; background: #fdfdfd; border: 1px solid #e9eff6; padding: 25px; border-radius: 6px; text-align: left; transition: transform 0.2s ease; }
.consult-card:hover { transform: translateY(-3px); border-color: #004b23; }
.consult-icon { font-size: 24px; margin-bottom: 12px; }
.consult-card h3 { font-size: 17px; color: #1a202c; font-weight: 600; margin-bottom: 10px; }
.consult-card p { font-size: 13.5px; color: #4a5568; line-height: 1.6; }
.consultancy-disclaimer { background-color: #f4f6f8; border-radius: 4px; padding: 12px 20px; font-size: 13px; color: #333333; display: inline-block; text-align: left; border: 1px dashed #cccccc; }

/* ==========================================================================
   DESKTOP & TABLET MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .split-container, .specialty-container, .assurance-split, .intake-grid { grid-template-columns: 1fr; gap: 50px; }
  .product-grid, .why-grid, .market-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-wrapper { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .footer-main-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .split-hero-img, .specialty-img img, .ass-img { height: 400px; }
  .policy-card-grid { flex-direction: column; gap: 20px; }
}

@media (max-width: 768px) {
  .product-grid, .why-grid, .market-grid, .timeline-wrapper, .footer-main-grid, .stats-bar-grid, .health-feature-list, .consultancy-grid {
    grid-template-columns: 1fr;
  }
  .form-row { flex-direction: column; gap: 15px; }
  .top-bar-container { flex-direction: column; text-align: center; gap: 10px; }
  .intake-form-wrapper { padding: 30px; }
  .section { padding: 80px 0; }
}

/* ==========================================================================
   ISOLATED MOBILE RESPONSIVE ENGINE (Strict Max-Width 768px)
   ========================================================================== */
/* ==========================================================================
   ISOLATED MOBILE RESPONSIVE ENGINE (Strict Max-Width 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {

  /* Safe structural defaults without breaking inner nesting */
  html, body {
    max-width: 100% !important;
    overflow-x: hidden;
  }

  /* FORCE THE CORE CONTAINERS TO ACT AS RESILIENT INSET SIDE GUTTERS */
  .container,
  .top-bar-container,
  .header-container,
  .hero-content,
  .intake-form-wrapper {
    width: 90% !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* Clear out broken background/floating element artifacts */
  .hero-global-badge, [class*="global-badge"] {
    display: none !important;
  }

  /* Typography adaptive scale-down */
  .hero-content h1 {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }
  .hero-subtitle {
    font-size: 14px !important;
  }

  /* Inline horizontal badge handling */
  .hero-trust-badges {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-start !important;
  }
  .h-badge {
    font-size: 10px !important;
    padding: 5px 10px !important;
  }

  /* Hero stack actions layout alignment */
  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    text-align: center !important;
  }

  /* Flex column vertical card structural fallback */
  .trust-bar-grid, .features-grid, .grid-container, .services-container,
  [class*="grid"], [class*="container"]:not(.navbar .container):not(.top-bar-container) {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 25px !important;
  }
  .trust-item, .feature-card, .col-3, .col-4 {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Turn off bulky inline textual menus */
  .nav-links, nav, .navbar .quote-btn {
    display: none !important;
  }

  /* TRANSFORM BUTTON TARGETS INTO THE FLOATING PILL BAR */
  body a[href*="contact"].btn,
  body a[href*="quote"].btn,
  body a[href*="#contact"],
  body a[href*="#quote"],
  body .quote-btn,
  body .form-submit-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    bottom: 20px !important;
    left: 5% !important;
    width: 90% !important;
    height: 50px !important;
    background-color: #0A3C26 !important; /* Deep Forest Velvet */
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 25px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3) !important;
    z-index: 999999 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  /* Prevent page flow button anomalies from inheriting position specs */
  .hero-buttons a, .intake-card-item a {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    display: inline-flex !important;
  }
}