/* ============================================================
   ELEVATE VENDING GROUP — Main Stylesheet
   Brand Colors:
     Primary:   Dark Navy  #0D1B2A
     Secondary: Emerald    #0E7C61
     Accent:    Soft White #F8F9FA
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0D1B2A;
  --navy-dark:   #070F18;
  --navy-mid:    #162336;
  --navy-light:  #1E3048;
  --emerald:     #0E7C61;
  --emerald-light:#12A07D;
  --emerald-dark: #0A6050;
  --emerald-pale: #E6F5F1;
  --white:       #FFFFFF;
  --soft-white:  #F8F9FA;
  --light-gray:  #EEF1F4;
  --mid-gray:    #7A8FA6;
  --dark-text:   #0D1B2A;
  --body-text:   #2E4560;
  --shadow-sm:   0 2px 8px rgba(13,27,42,.09);
  --shadow-md:   0 6px 24px rgba(13,27,42,.13);
  --shadow-lg:   0 16px 48px rgba(13,27,42,.18);
  --radius:      10px;
  --radius-lg:   18px;
  --transition:  .25s ease;
  --max-width:   1180px;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--body-text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section    { padding: 90px 0; }
.section-sm { padding: 60px 0; }

/* ── Typography ───────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.15; color: var(--dark-text); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.2; color: var(--dark-text); }
h3 { font-size: 1.25rem; font-weight: 700; color: var(--dark-text); }
h4 { font-size: 1.05rem; font-weight: 600; color: var(--dark-text); }
p  { margin-bottom: .75rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 12px;
}

.section-title { text-align: center; margin-bottom: 12px; }
.section-sub   { text-align: center; color: var(--mid-gray); max-width: 580px; margin: 0 auto 52px; font-size: 1.05rem; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}
.btn-primary:hover {
  background: var(--emerald-light);
  border-color: var(--emerald-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,124,97,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.50);
}
.btn-outline:hover {
  background: rgba(255,255,255,.10);
  border-color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-lg { padding: 17px 38px; font-size: 1.05rem; }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(13,27,42,.09);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--navy);
}
.nav-logo-icon {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-text {
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: .04em;
  color: var(--navy);
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--emerald);
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--body-text);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--soft-white);
  color: var(--navy);
}
.nav-cta { margin-left: 10px; }
.nav-mobile-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--navy); font-size: 1.5rem; padding: 6px;
}
.nav-mobile { display: none; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-mobile.open {
    display: flex; flex-direction: column; gap: 4px;
    padding: 16px 24px 20px;
    background: var(--white);
    border-top: 1px solid var(--light-gray);
  }
  .nav-mobile a {
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--body-text);
    display: block;
  }
  .nav-mobile a:hover { background: var(--soft-white); color: var(--navy); }
  .nav-mobile .btn { width: 100%; justify-content: center; margin-top: 8px; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230E7C61' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(14,124,97,.15);
  border: 1px solid rgba(14,124,97,.30);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #4DCDAA;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 span { color: #4DCDAA; }
.hero p {
  color: rgba(255,255,255,.76);
  font-size: 1.12rem;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.hero-stat-num {
  font-size: 1.9rem; font-weight: 800;
  color: #4DCDAA;
  line-height: 1;
}
.hero-stat-label {
  font-size: .82rem; color: rgba(255,255,255,.55);
  margin-top: 4px;
}
.hero-visual {
  display: flex; flex-direction: column; gap: 14px;
}
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex; align-items: center; gap: 14px;
  color: var(--white);
  transition: all var(--transition);
}
.hero-card:hover {
  background: rgba(14,124,97,.18);
  border-color: rgba(14,124,97,.4);
  transform: translateX(6px);
}
.hero-card-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.hero-card-title { font-weight: 700; font-size: .93rem; margin-bottom: 2px; }
.hero-card-sub   { font-size: .8rem; color: rgba(255,255,255,.58); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 110px 0 70px; }
  .hero-visual { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
}

/* ── Service Cards ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald);
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  background: var(--emerald-pale);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  transition: all var(--transition);
}
.service-icon-img {
  width: 100%; height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
  transition: transform var(--transition);
}
.service-card:hover .service-icon-img {
  transform: scale(1.03);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
}
/* Service detail photos */
.service-detail-img {
  width: 100%; height: 280px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p  { font-size: .93rem; color: var(--mid-gray); margin-bottom: 18px; }
.service-tag {
  display: inline-block;
  background: var(--emerald-pale);
  color: var(--emerald-dark);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.service-card:hover .service-tag {
  background: rgba(14,124,97,.12);
  color: var(--emerald);
}

/* Service page detail cards */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--light-gray);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-visual {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}
.service-detail-visual::after {
  content: '';
  position: absolute; bottom: -30px; right: -30px;
  width: 140px; height: 140px;
  background: rgba(14,124,97,.12);
  border-radius: 50%;
}
.service-detail-emoji { font-size: 4.5rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,.2)); }
.service-detail-tag {
  background: rgba(14,124,97,.2);
  color: #4DCDAA;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
}
.service-features { margin: 20px 0 28px; }
.service-feature {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
}
.service-feature:last-child { border-bottom: none; }
.service-feature-icon {
  width: 26px; height: 26px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: .75rem; font-weight: 900;
  margin-top: 2px;
}
.service-feature-text { font-size: .93rem; }
.service-feature-text strong { display: block; color: var(--dark-text); margin-bottom: 2px; }

@media (max-width: 768px) {
  .service-detail, .service-detail.reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* ── Why Choose Us ────────────────────────────────────────── */
.why-section { background: var(--soft-white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
}
.why-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1.5px solid var(--light-gray);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald);
}
.why-icon {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(13,27,42,.20);
}
.why-card h3 { margin-bottom: 10px; }
.why-card p  { font-size: .93rem; color: var(--mid-gray); margin: 0; }

/* ── Stats Strip ──────────────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 60px 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num  { font-size: 2.6rem; font-weight: 800; color: #4DCDAA; line-height: 1; }
.stat-label{ font-size: .88rem; color: rgba(255,255,255,.60); margin-top: 6px; }

@media (max-width: 640px) { .stats-row { grid-template-columns: 1fr 1fr; } }

/* ── Industries ───────────────────────────────────────────── */
.industries-grid {
  display: flex; flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}
.industry-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: .9rem; font-weight: 600;
  color: var(--dark-text);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.industry-pill:hover {
  border-color: var(--emerald);
  color: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--emerald-pale);
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: rgba(14,124,97,.08);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 220px; height: 220px;
  background: rgba(14,124,97,.06);
  border-radius: 50%;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; position: relative; z-index: 1; }
.cta-banner p  { color: rgba(255,255,255,.72); max-width: 500px; margin: 0 auto 32px; font-size: 1.05rem; position: relative; z-index: 1; }
.cta-actions   { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── Contact Form ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p  { margin-bottom: 28px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 22px;
}
.contact-item-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--emerald-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-item h4 { margin-bottom: 2px; }
.contact-item p  { font-size: .9rem; color: var(--mid-gray); margin: 0; }

.form-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .86rem; font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--dark-text);
  background: var(--soft-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(14,124,97,.12);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.65);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 14px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  color: var(--white);
  font-size: .85rem; letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: .9rem; transition: color var(--transition); }
.footer-col ul a:hover { color: #4DCDAA; }
.footer-bottom {
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .85rem;
}
.footer-bottom a { color: #4DCDAA; }
.footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── About Page ───────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 130px 0 80px;
  color: var(--white);
  text-align: center;
}
.about-hero h1 { color: var(--white); margin-bottom: 16px; }
.about-hero p  { color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto; font-size: 1.1rem; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  color: var(--white);
}
.about-visual .big-emoji { font-size: 5rem; display: block; margin-bottom: 16px; }
.about-visual h3 { color: #4DCDAA; font-size: 1.4rem; }
.mission-block {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
}
.mission-block .eyebrow { display: block; margin-bottom: 12px; }
.mission-block h2 { color: var(--white); margin-bottom: 16px; }
.mission-block p  { color: rgba(255,255,255,.72); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials-section { background: var(--soft-white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald);
}
.testimonial-stars {
  font-size: 1rem;
  color: #FFB800;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: .95rem;
  color: var(--body-text);
  margin-bottom: 24px;
  font-style: italic;
  line-height: 1.75;
}
.testimonial-author {
  border-top: 1px solid var(--light-gray);
  padding-top: 16px;
}
.testimonial-role {
  font-weight: 700;
  color: var(--dark-text);
  font-size: .93rem;
}
.testimonial-company {
  font-size: .85rem;
  color: var(--emerald);
  margin-top: 2px;
}

/* ── Service Area ──────────────────────────────────────────── */
.service-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  margin-top: 40px;
}
.service-area-col h4 {
  color: var(--navy);
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.service-area-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-area-list li {
  font-size: .95rem;
  color: var(--body-text);
  padding-left: 20px;
  position: relative;
}
.service-area-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  background: var(--soft-white);
  transition: background var(--transition);
}
.faq-question:hover {
  background: var(--white);
}
.faq-question h4 {
  margin: 0;
  font-size: .95rem;
  color: var(--dark-text);
}
.faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--emerald-pale);
  color: var(--emerald);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-item.open .faq-toggle {
  background: var(--emerald);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 24px;
}
.faq-answer p {
  font-size: .93rem;
  color: var(--body-text);
  line-height: 1.7;
  margin: 0;
}

/* ── Leadership ────────────────────────────────────────────── */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.leadership-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.leadership-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald);
}
.leadership-emoji {
  font-size: 3.5rem;
  margin-bottom: 16px;
}
.leadership-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.leadership-role {
  display: inline-block;
  background: var(--emerald-pale);
  color: var(--emerald);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.leadership-card p {
  font-size: .93rem;
  color: var(--mid-gray);
  margin: 0;
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 120px 0 60px;
  color: var(--white);
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p  { color: rgba(255,255,255,.70); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  justify-content: center;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: #4DCDAA; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Utility ──────────────────────────────────────────────── */
.text-emerald { color: var(--emerald); }
.text-navy    { color: var(--navy); }
.text-center  { text-align: center; }
.mt-0         { margin-top: 0 !important; }
.bg-off-white { background: var(--soft-white); }

/* ── Blog Styles ──────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.blog-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: .85rem;
}

.blog-date {
  color: var(--mid-gray);
  font-weight: 600;
}

.blog-category {
  background: var(--emerald-pale);
  color: var(--emerald);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.blog-card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--dark-text);
  line-height: 1.3;
  flex-grow: 1;
}

.blog-card-excerpt {
  color: var(--mid-gray);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.blog-read-more {
  color: var(--emerald);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.blog-read-more:hover {
  gap: 12px;
}

/* ── Breadcrumb Section ────────────────────────────────────── */
.breadcrumb-section {
  background: var(--soft-white);
  padding: 16px 0;
  border-bottom: 1px solid var(--light-gray);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--mid-gray);
}

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

.breadcrumb a:hover {
  color: var(--emerald-light);
}

.breadcrumb span {
  color: var(--light-gray);
}

/* ── Article Layout ───────────────────────────────────────── */
.article-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
}

.article-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-meta-top {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.article-category {
  background: rgba(14,124,97,.25);
  color: #4DCDAA;
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.article-date {
  color: rgba(255,255,255,.70);
  font-weight: 600;
}

.article-header h1 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.article-subtitle {
  color: rgba(255,255,255,.80);
  font-size: 1.15rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.article-byline {
  color: rgba(255,255,255,.70);
  font-size: .95rem;
}

/* ── Article Body ──────────────────────────────────────────– */
.article {
  padding: 80px 0;
}

.article .container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  align-items: start;
}

.article-body {
  max-width: 760px;
  line-height: 1.8;
}

.article-section {
  margin-bottom: 56px;
}

.article-section h2 {
  font-size: 1.75rem;
  margin-bottom: 24px;
  color: var(--dark-text);
}

.article-section h3 {
  font-size: 1.25rem;
  margin: 28px 0 16px;
  color: var(--dark-text);
}

.article-section p {
  margin-bottom: 16px;
  color: var(--body-text);
  line-height: 1.8;
}

.article-section ul {
  margin: 16px 0 24px;
  padding-left: 24px;
}

.article-list {
  list-style: none;
  padding-left: 0;
}

.article-list li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  color: var(--body-text);
}

.article-list li:before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: bold;
}

/* ── Comparison Table ──────────────────────────────────────– */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table thead {
  background: var(--navy);
  color: var(--white);
}

.comparison-table th {
  padding: 18px;
  text-align: left;
  font-weight: 700;
  font-size: .95rem;
  border-right: 1px solid rgba(14,124,97,.20);
}

.comparison-table th:last-child {
  border-right: none;
}

.comparison-table td {
  padding: 18px;
  border-bottom: 1px solid var(--light-gray);
  border-right: 1px solid var(--light-gray);
  color: var(--body-text);
  font-size: .95rem;
}

.comparison-table td:last-child {
  border-right: none;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table td strong {
  color: var(--dark-text);
  font-weight: 700;
}

/* ── Article CTA ───────────────────────────────────────────– */
.article-cta {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-light) 100%);
  color: var(--white);
  padding: 56px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 72px;
}

.article-cta-content h3 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.article-cta-content p {
  color: rgba(255,255,255,.90);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ── Article Sidebar ───────────────────────────────────────– */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.related-articles {
  background: var(--soft-white);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  position: sticky;
  top: 20px;
}

.related-articles h4 {
  margin-bottom: 24px;
  color: var(--dark-text);
  font-size: 1.1rem;
}

.related-articles ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-articles li {
  margin-bottom: 20px;
}

.related-articles li:last-child {
  margin-bottom: 0;
}

.related-articles a {
  display: block;
  padding: 12px;
  border-left: 3px solid transparent;
  border-radius: 4px;
  transition: all var(--transition);
}

.related-articles a:hover {
  border-left-color: var(--emerald);
  background: var(--white);
}

.related-articles strong {
  display: block;
  color: var(--dark-text);
  margin-bottom: 4px;
  font-size: .95rem;
}

.related-articles span {
  display: block;
  color: var(--mid-gray);
  font-size: .85rem;
  line-height: 1.5;
}

/* ── Responsive Blog ───────────────────────────────────────– */
@media (max-width: 900px) {
  .article .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .related-articles {
    position: static;
  }
}

@media (max-width: 600px) {
  .article {
    padding: 60px 0;
  }

  .article-header {
    padding: 60px 0 40px;
  }

  .article-header h1 {
    font-size: 1.75rem;
  }

  .article-section {
    margin-bottom: 40px;
  }

  .article-section h2 {
    font-size: 1.4rem;
  }

  .article-cta {
    padding: 40px 24px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px;
  }
}

/* ── Responsive tweaks ────────────────────────────────────── */
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
}

/* ── Industry Landing Page Styles ─────────────────────────── */
.page-hero-content {
  padding: 40px 0;
}

.industry-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}

.industry-intro-text .eyebrow {
  display: block;
}

.industry-intro-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat-box {
  background: var(--soft-white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.stat-box:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-box-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box-label {
  font-size: .9rem;
  color: var(--mid-gray);
  font-weight: 600;
}

.industry-solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.solution-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald);
}

.solution-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.solution-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.solution-card p {
  font-size: .95rem;
  color: var(--body-text);
  margin-bottom: 12px;
}

.solution-card p:last-child {
  margin-bottom: 0;
}

.solution-card strong {
  color: var(--navy);
  font-weight: 700;
}

.dfw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.dfw-item {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.dfw-item:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.dfw-item h4 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.dfw-item p {
  font-size: .93rem;
  color: var(--body-text);
  margin: 0;
  line-height: 1.6;
}

.recommended-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.recommended-service {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.recommended-service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald);
}

.rec-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}

.recommended-service h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.recommended-service p {
  font-size: .93rem;
  color: var(--body-text);
  margin: 0;
  line-height: 1.6;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald);
}

.benefit-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
  font-size: 1.3rem;
  margin: 0 auto 12px;
}

.benefit-card h4 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.benefit-card p {
  font-size: .93rem;
  color: var(--body-text);
  margin: 0;
  line-height: 1.6;
}

.stats-row-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.stat-item:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-item-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-item-label {
  font-size: .95rem;
  color: var(--body-text);
  font-weight: 600;
  line-height: 1.5;
}

/* ── Industry Page Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .industry-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .industry-solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 600px) {
  .page-hero {
    padding: 80px 0 40px;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2rem);
  }

  .industry-intro-stats {
    gap: 16px;
  }

  .stat-box {
    padding: 20px 16px;
  }

  .stat-box-num {
    font-size: 1.8rem;
  }

  .solution-card,
  .recommended-service,
  .benefit-card,
  .dfw-item {
    padding: 20px 16px;
  }

  .stats-row-items {
    gap: 16px;
  }
}

/* ── Navigation Dropdowns ──────────────────────────────────── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: var(--body-text);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}

.nav-dropdown-toggle:hover {
  background: var(--soft-white);
}

.nav-dropdown-toggle:hover {
  color: var(--emerald);
}

.nav-dropdown-toggle::after {
  content: '▼';
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition);
  z-index: 100;
  margin-top: 8px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 18px;
  color: var(--body-text);
  font-size: 0.95rem;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.nav-dropdown-menu a:first-child {
  border-radius: 8px 8px 0 0;
}

.nav-dropdown-menu a:last-child {
  border-radius: 0 0 8px 8px;
}

.nav-dropdown-menu a:hover {
  background: var(--emerald-pale);
  color: var(--emerald);
  border-left-color: var(--emerald);
  padding-left: 20px;
}

/* ── Mobile Dropdowns ──────────────────────────────────── */
.nav-mobile-dropdown {
  position: relative;
}

.nav-mobile-toggle-sub {
  background: none;
  border: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  cursor: pointer;
  padding: 0;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}

.nav-mobile-toggle-sub:hover {
  color: var(--emerald);
}

.nav-mobile-toggle-sub::after {
  content: '▼';
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.nav-mobile-toggle-sub[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.nav-mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.nav-mobile-toggle-sub[aria-expanded="true"] ~ .nav-mobile-submenu {
  max-height: 500px;
}

.nav-mobile-submenu a {
  display: block;
  padding: 10px 18px 10px 28px;
  color: var(--body-text);
  font-size: 0.9rem;
  border-left: 2px solid var(--light-gray);
  transition: all var(--transition);
}

.nav-mobile-submenu a:hover {
  background: var(--emerald-pale);
  color: var(--emerald);
  border-left-color: var(--emerald);
}

/* ── Technology Page Styles ──────────────────────────────────– */
.tech-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.tech-feature-grid.reverse {
  direction: rtl;
}

.tech-feature-grid.reverse > * {
  direction: ltr;
}

.tech-feature-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.tech-feature-grid h3 {
  margin-bottom: 16px;
}

.tech-feature-grid p {
  color: var(--body-text);
  margin-bottom: 20px;
  line-height: 1.75;
}

.feature-list {
  list-style: none;
  margin: 20px 0;
}

.feature-list li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: var(--body-text);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: bold;
  font-size: 1.1rem;
}

.tech-feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-demo-box {
  background: linear-gradient(135deg, var(--emerald-pale) 0%, var(--soft-white) 100%);
  border: 2px solid var(--emerald);
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.machine-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.machine-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 30px;
  transition: all var(--transition);
}

.machine-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.machine-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.machine-card h4 {
  margin-bottom: 12px;
}

.machine-card p {
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.comparison-table {
  overflow-x: auto;
  margin-top: 32px;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table thead {
  background: var(--navy);
  color: var(--white);
}

.comparison-table th {
  padding: 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.95rem;
  color: var(--body-text);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: var(--soft-white);
}

.comparison-table .highlight {
  color: var(--emerald);
  font-weight: 600;
}

/* ── Responsive Technology Page ──────────────────────────────– */
@media (max-width: 900px) {
  .tech-feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }

  .tech-feature-grid.reverse {
    direction: ltr;
  }

  .machine-features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .machine-card {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .nav-dropdown {
    display: none;
  }

  .nav-mobile-dropdown {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
  }

  .nav-mobile-toggle-sub {
    padding: 0;
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .tech-feature-icon {
    font-size: 2.5rem;
  }

  .tech-demo-box {
    padding: 40px 24px;
    min-height: 150px;
    font-size: 1rem;
  }

  .machine-features-grid {
    grid-template-columns: 1fr;
  }

  .machine-card {
    padding: 20px;
  }

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px;
  }
}

/* ── Case Studies ───────────────────────────────────────────── */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.case-study-card {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-study-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.case-study-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.case-study-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.case-study-meta {
  flex: 1;
}

.case-study-type {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald);
  margin-bottom: 4px;
}

.case-study-location {
  font-size: 0.95rem;
  color: var(--mid-gray);
  font-weight: 500;
}

.case-study-title {
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
  font-size: 1.25rem;
}

.case-study-excerpt {
  color: var(--mid-gray);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.case-study-metric {
  padding: 16px;
  background: var(--soft-white);
  border-radius: var(--radius);
  border-left: 4px solid var(--emerald);
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid-gray);
  margin-bottom: 4px;
}

.metric-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--emerald);
}

.case-study-cta {
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition);
}

.case-study-card:hover .case-study-cta {
  transform: translateX(4px);
}

/* Case Study Detail Page */
.case-study-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white);
  padding-top: 120px;
  padding-bottom: 80px;
}

.case-study-breadcrumb {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.case-study-breadcrumb a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
  transition: color var(--transition);
}

.case-study-breadcrumb a:hover {
  color: var(--emerald-light);
}

.case-study-header-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.case-study-header-grid h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.case-study-intro {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  line-height: 1.7;
}

.case-study-quick-stats {
  background: rgba(14,124,97,0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(14,124,97,0.3);
}

.quick-stat {
  margin-bottom: 20px;
}

.quick-stat:last-child {
  margin-bottom: 0;
}

.quick-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}

.quick-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.case-study-content {
  max-width: 800px;
  margin: 0 auto;
}

.case-study-content h2 {
  margin-bottom: 24px;
  color: var(--navy);
}

.case-study-content h3 {
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--navy);
}

.case-study-content p {
  line-height: 1.8;
  color: var(--body-text);
  margin-bottom: 16px;
}

.case-study-content ul {
  margin: 20px 0 20px 20px;
  color: var(--body-text);
}

.case-study-content li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.challenge-box,
.solution-highlight {
  background: var(--soft-white);
  border-left: 4px solid var(--emerald);
  padding: 24px;
  border-radius: var(--radius);
  margin: 32px 0;
}

.solution-highlight {
  background: linear-gradient(135deg, var(--emerald-pale) 0%, rgba(18,160,125,0.05) 100%);
  border-color: var(--emerald);
  font-style: italic;
  color: var(--body-text);
}

.solution-highlight p {
  margin-bottom: 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.result-card {
  background: linear-gradient(135deg, var(--emerald-pale) 0%, rgba(18,160,125,0.05) 100%);
  border: 1px solid var(--emerald);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.result-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--emerald);
  margin-bottom: 8px;
}

.result-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.testimonial-large {
  background: var(--soft-white);
  border-left: 4px solid var(--emerald);
  padding: 32px;
  border-radius: var(--radius-lg);
  margin: 48px 0;
}

.testimonial-large p:first-child {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--body-text);
  font-weight: 500;
  margin-bottom: 0;
}

.takeaway-list {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.takeaway-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: start;
}

.takeaway-icon {
  width: 40px;
  height: 40px;
  background: var(--emerald-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--emerald);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.takeaway-item h4 {
  margin-bottom: 8px;
}

.takeaway-item p {
  color: var(--mid-gray);
}

/* Comparison Utilities */
.comparison-cta-box {
  background: linear-gradient(135deg, var(--emerald-pale) 0%, rgba(18,160,125,0.05) 100%);
  border: 2px solid var(--emerald);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}

.comparison-cta-box h3 {
  color: var(--navy);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.comparison-cta-box p {
  color: var(--mid-gray);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin: 40px 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.95rem;
}

.comparison-table thead {
  background: var(--navy);
  color: var(--white);
}

.comparison-table th {
  padding: 24px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--navy-light);
}

.comparison-table th.elevate-col {
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald) 100%);
}

.comparison-table th.other-col {
  background: var(--navy-light);
}

.comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--light-gray);
}

.comparison-table td.feature-name {
  background: var(--soft-white);
  font-weight: 600;
  color: var(--navy);
  min-width: 180px;
}

.comparison-table td.elevate-col {
  background: var(--emerald-pale);
  color: var(--navy);
}

.comparison-table tbody tr:hover td.elevate-col {
  background: rgba(14,124,97,0.15);
}

.competitive-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

.benefit-card {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.benefit-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.benefit-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
}

.benefit-card p {
  color: var(--mid-gray);
  line-height: 1.7;
  margin: 0;
}

.info-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
}

.info-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
}

.info-card h4 {
  margin-bottom: 12px;
  color: var(--navy);
}

.info-card p {
  color: var(--mid-gray);
  margin: 0;
}

.bg-off-white {
  background: var(--soft-white);
}

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

/* Responsive Case Studies */
@media (max-width: 900px) {
  .case-study-header-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .case-study-quick-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
  }

  .quick-stat {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .case-study-card {
    padding: 24px;
  }

  .case-study-title {
    font-size: 1.1rem;
  }

  .comparison-cta-box {
    padding: 32px 24px;
  }

  .competitive-benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .takeaway-item {
    grid-template-columns: 35px 1fr;
    gap: 16px;
  }

  .takeaway-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .case-study-card {
    padding: 20px;
  }

  .case-study-title {
    font-size: 1rem;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

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

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px;
  }

  .comparison-table td.feature-name {
    min-width: 140px;
  }

  .testimonial-large,
  .challenge-box,
  .solution-highlight {
    padding: 20px;
  }

  .takeaway-item {
    grid-template-columns: 30px 1fr;
    gap: 12px;
  }

  .takeaway-icon {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
}
