/* ADS Automation - static rebuild
   Tokens locked from live Divi site (see _audit/HOMEPAGE-AUDIT.md) */

:root {
  --blue: #0090d2;        /* bright brand blue - top bar, buttons, accents */
  --navy: #003f6d;        /* dark brand navy - headings, nav, footer */
  --text: #666;           /* body copy */
  --text-dark: #333;      /* darker copy, hero subtext */
  --white: #fff;
  --gray-100: #eaeaea;
  --gray-200: #ddd;

  --font: "Open Sans", Arial, sans-serif;
  --maxw: 1080px;         /* Divi default content width */
  --gutter: 24px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--navy); font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  padding: 10px 24px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background .2s ease;
}
.btn:hover { background: var(--navy); color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { position: relative; z-index: 100; }

.top-bar { background: var(--blue); }
.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 30px;
  gap: 20px;
}
.top-bar a { color: var(--white); font-size: 12px; }
.top-bar a:hover { opacity: .8; }

.main-header { background: var(--white); box-shadow: 0 1px 0 rgba(0,0,0,.1); }
.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 24px;
}
.brand img { height: 56px; width: auto; }

/* primary nav */
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.main-nav a {
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.main-nav a:hover { color: var(--blue); }
.main-nav .has-sub { position: relative; }
.main-nav .caret { width: 10px; height: 10px; fill: currentColor; }
.main-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  list-style: none;
  margin: 0; padding: 8px 0;
  display: none;
  z-index: 50;
}
.main-nav .has-sub:hover .submenu { display: block; }
.main-nav .submenu a {
  display: block;
  padding: 8px 20px;
  font-weight: 600;
  white-space: nowrap;
}
.main-nav .submenu a:hover { background: #f4f7fa; }

.search-toggle {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--navy); display: grid; place-items: center;
}
.search-toggle svg { width: 18px; height: 18px; display: block; fill: currentColor; }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  color: var(--navy); padding: 6px;
}
.nav-toggle svg { width: 28px; height: 28px; display: block; fill: currentColor; }

/* ============================================================
   HERO (section 0) - slider
   ============================================================ */
.hero {
  position: relative;
  border-bottom: 4px solid var(--blue);
  overflow: hidden;
}
.hero-slides { position: relative; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.hero-slide.is-active { position: relative; opacity: 1; pointer-events: auto; }
.hero-slide .container {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero-copy { max-width: 460px; }
.hero-slide h1 {
  font-size: 52px;
  line-height: 1;
  color: var(--navy);
  margin: 0 0 18px;
}
.hero-slide .hero-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-dark);
  margin: 0 0 26px;
}

/* dark-layout slide (e.g. navy blueprint bg) - light text */
.hero-slide.is-dark h1,
.hero-slide.is-dark .hero-sub { color: var(--white); }

/* two-column slide: foreground render on left, copy on right */
.hero-slide.has-media .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-slide.has-media .hero-media {
  flex: 0 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide.has-media .hero-media img {
  max-height: 400px;
  width: auto;
}
.hero-slide.has-media .hero-copy {
  flex: 0 1 46%;
  max-width: none;
}

/* slider controls */
.hero-dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}
.hero-dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  padding: 0; cursor: pointer;
}
.hero-dots button.is-active { background: var(--white); }

.hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,.25);
  border: 0; cursor: pointer;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  opacity: 0; transition: opacity .2s ease;
}
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow svg { width: 20px; height: 20px; fill: var(--white); display: block; }
.hero-arrow.prev { left: 0; }
.hero-arrow.next { right: 0; }

/* ============================================================
   INTERIOR PAGE HERO (reusable header band for all subpages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #f4f7fa 0%, #e3ebf2 100%);
  border-bottom: 4px solid var(--blue);
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { font-size: 44px; color: var(--navy); margin: 0 0 12px; }
.page-hero p { color: var(--text); max-width: 780px; margin: 0 auto; font-size: 18px; }

@media (max-width: 680px) {
  .page-hero { padding: 40px 0; }
  .page-hero h1 { font-size: 34px; }
  .page-hero p { font-size: 16px; }
}

/* ============================================================
   IMAGE BANNER HERO (service / interior pages)
   ============================================================ */
.banner-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 4px solid var(--blue);
}
.banner-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.1) 100%);
}
.banner-hero .container {
  position: relative; z-index: 1;
  min-height: 300px;
  display: flex;
  align-items: center;
}
.banner-hero h1 {
  color: var(--white);
  font-size: 52px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  padding-left: 22px;
  border-left: 6px solid var(--blue);
}

@media (max-width: 680px) {
  .banner-hero .container { min-height: 200px; }
  .banner-hero h1 { font-size: 32px; padding-left: 16px; border-left-width: 5px; }
}

/* ============================================================
   INTRO SPLIT (text left, image right)
   ============================================================ */
.intro-split { padding: 60px 0; background: var(--white); }
.intro-split .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.intro-split p { color: var(--text); margin: 0; }
.intro-split img { width: 100%; height: auto; }

@media (max-width: 860px) {
  .intro-split .container { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   NAVY TWO-COLUMN BAND (e.g. Our Designs + Core Requirements)
   ============================================================ */
.band-navy { background: var(--navy); color: rgba(255,255,255,.9); padding: 60px 0; }
.band-navy .container {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 48px;
}
.band-navy h2 { color: var(--white); font-size: 28px; margin: 0 0 18px; }
.band-navy p { color: rgba(255,255,255,.9); margin: 0 0 16px; }
.band-navy ul { list-style: none; margin: 0; padding: 0; }
.band-navy ul li {
  position: relative;
  padding: 6px 0 6px 22px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.band-navy ul li::before {
  content: "";
  position: absolute; left: 0; top: 15px;
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
}

.band-navy.is-single .container { grid-template-columns: 1fr; }

@media (max-width: 860px) {
  .band-navy .container { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   MACHINES SECTION (intro + two list cards)
   ============================================================ */
/* plain text content section */
.prose-block { background: var(--white); padding: 60px 0; }
.prose-block h2 { font-size: 28px; color: var(--navy); margin: 34px 0 16px; }
.prose-block .container > *:first-child { margin-top: 0; }
.prose-block p { color: var(--text); margin: 0 0 16px; }
.prose-block ul, .prose-block ol { color: var(--text); margin: 0 0 16px; padding-left: 22px; }
.prose-block li { margin: 5px 0; }
.prose-block .machines-cards { margin-top: 30px; }
.prose-block .float-right {
  float: right;
  max-width: 300px;
  margin: 6px 0 18px 34px;
}

@media (max-width: 680px) {
  .prose-block .float-right { float: none; max-width: 100%; margin: 0 0 18px; }
}

/* ============================================================
   PROJECTS GRID
   ============================================================ */
.projects-section { background: var(--white); padding: 8px 0 80px; }
.projects-section h2 { font-size: 28px; color: var(--navy); margin: 0 0 6px; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 34px;
}
.project-card { display: flex; flex-direction: column; text-decoration: none; }
.project-thumb {
  background: var(--white);
  border: 1px solid #e2e6ea;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 16px;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.project-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform .4s ease;
}
.project-card:hover .project-thumb {
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(0, 63, 109, .16);
  transform: translateY(-4px);
}
.project-card:hover .project-thumb img { transform: scale(1.06); }
.project-card h3 {
  font-size: 17px;
  color: var(--navy);
  line-height: 1.3;
  margin: 16px 0 0;
  transition: color .2s ease;
}
.project-card:hover h3 { color: var(--blue); }

@media (max-width: 1040px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (max-width: 460px) { .projects-grid { grid-template-columns: 1fr; } }

/* more-projects mini hub (bottom of each project detail page) */
.more-projects { background: #f1f3f5; padding: 56px 0 92px; }
.more-projects h2 { font-size: 26px; color: var(--navy); text-align: center; margin: 0 0 30px; }
.more-projects .more-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 0;
}
.more-grid .project-thumb { aspect-ratio: 4 / 3; padding: 12px; }
.more-grid h3 { font-size: 15px; margin-top: 12px; }
@media (max-width: 1040px) { .more-projects .more-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .more-projects .more-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 420px)  { .more-projects .more-grid { grid-template-columns: 1fr; } }

/* ============================================================
   RESOURCES HUB CARDS
   ============================================================ */
.resource-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.resource-card {
  display: block;
  background: var(--white);
  border: 1px solid #e2e6ea;
  border-left: 5px solid var(--blue);
  padding: 32px 34px;
  text-decoration: none;
  transition: box-shadow .25s ease, transform .25s ease, border-left-color .25s ease;
}
.resource-card:hover {
  box-shadow: 0 12px 28px rgba(0, 63, 109, .14);
  transform: translateY(-4px);
  border-left-color: var(--navy);
}
.resource-card h2 { font-size: 22px; color: var(--navy); margin: 0 0 10px; }
.resource-card p { color: var(--text); margin: 0 0 16px; }
.resource-card .link-arrow { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.resource-card .link-arrow svg { width: 14px; height: 14px; fill: currentColor; }
.resource-card:hover .link-arrow { color: var(--navy); }

@media (max-width: 680px) { .resource-cards { grid-template-columns: 1fr; gap: 20px; } }

/* ============================================================
   LEGAL PAGES (Termageddon policy embeds)
   ============================================================ */
.legal-body { background: var(--white); padding: 50px 0 72px; }
.legal-body .policy_embed_div { width: 100% !important; }
.legal-body .uc-settings { margin: 0 0 24px; }
.legal-body .uc-settings a { color: var(--blue); font-weight: 600; text-decoration: none; }
.legal-body .uc-settings a:hover { color: var(--navy); }

/* ============================================================
   ABOUT: Milestones timeline + Core Group + image band
   ============================================================ */
.intro-split h2 { font-size: 28px; color: var(--navy); margin: 0 0 16px; }

.milestones { background: var(--navy); padding: 56px 0 64px; text-align: center; }
.milestones h2 { color: var(--white); font-size: 30px; margin: 0 0 14px; }
.milestones .sep { width: 90px; height: 2px; background: rgba(255,255,255,.35); margin: 0 auto 42px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto 36px; }
.milestone .yr { color: var(--white); font-size: 34px; font-weight: 700; line-height: 1; margin: 0 0 8px; }
.milestone .ev { color: #4ea9e0; font-size: 14px; font-weight: 600; line-height: 1.35; }
.milestone-note { color: rgba(255,255,255,.9); max-width: 840px; margin: 0 auto; }
@media (max-width: 760px) { .timeline { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 420px) { .timeline { grid-template-columns: 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 32px; }
.team-card { max-width: 260px; }
.team-card img { width: 100%; height: auto; display: block; }
.team-card h4 { font-size: 18px; color: var(--navy); margin: 14px 0 2px; }
.team-card .role { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8a939b; margin: 0; }
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr; } }

.image-band { background: var(--gray-200) center / cover no-repeat; min-height: 180px; }

/* ============================================================
   NEWS ARTICLE (single post: content + sidebar)
   ============================================================ */
.article-wrap { background: var(--white); padding: 54px 0 72px; }
.article-wrap .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 50px;
  align-items: start;
}
.article-main h1 { font-size: 32px; color: var(--navy); line-height: 1.25; margin: 0 0 10px; }
.article-meta { font-size: 13px; color: #8a939b; margin: 0 0 26px; }
.article-main h2 { font-size: 24px; color: var(--navy); margin: 32px 0 14px; }
.article-main p { color: var(--text); margin: 0 0 16px; }
.article-main ul { color: var(--text); margin: 0 0 16px; padding-left: 22px; }
.article-main li { margin: 5px 0; }
.article-main .float-right { float: right; max-width: 300px; margin: 6px 0 18px 30px; }
.article-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; clear: both; }
.article-gallery img { width: 100%; height: auto; display: block; }

.article-sidebar .widget { margin: 0 0 34px; }
.article-sidebar h3 { font-size: 20px; color: var(--navy); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--blue); }
.article-sidebar ul { list-style: none; margin: 0; padding: 0; }
.article-sidebar li { margin: 0 0 12px; line-height: 1.4; }
.article-sidebar a { color: var(--text); text-decoration: none; }
.article-sidebar a:hover { color: var(--blue); }

@media (max-width: 900px) {
  .article-wrap .container { grid-template-columns: 1fr; gap: 32px; }
  .article-sidebar { border-top: 1px solid #e8ebee; padding-top: 28px; }
}
@media (max-width: 680px) {
  .article-main .float-right { float: none; max-width: 100%; margin: 0 0 18px; }
  .article-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   NEWS / BLOG LIST
   ============================================================ */
.post-list { background: var(--white); padding: 56px 0 70px; }
.post-item { padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid #e8ebee; }
.post-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.post-item h2 { font-size: 26px; line-height: 1.25; margin: 0 0 6px; }
.post-item h2 a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
.post-item h2 a:hover { color: var(--blue); }
.post-date { font-size: 13px; color: #8a939b; margin: 0 0 12px; }
.post-excerpt { color: var(--text); margin: 0 0 12px; }
.read-more { color: var(--blue); font-weight: 600; text-decoration: none; }
.read-more:hover { color: var(--navy); }

/* ============================================================
   CONTACT: Email Us band (blue corner wedge + navy bottom divider)
   ============================================================ */
.contact-band {
  position: relative;
  background: linear-gradient(25deg, var(--blue) 15%, rgba(255,255,255,0) 15%);
  padding: 56px 0 96px;
}
.contact-band .divider-bottom {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 61px;
  fill: var(--navy);
  display: block;
  z-index: 1;
}
.contact-band > .container { position: relative; z-index: 2; }
.contact-band h2 { font-size: 28px; color: var(--navy); margin: 0 0 12px; }
.contact-band > .container > p { color: var(--text); margin: 0 0 28px; max-width: 720px; }

/* Contact Information navy band */
.contact-info { background: var(--navy); padding: 54px 0 66px; text-align: center; margin-top: -1px; position: relative; }
.contact-info h2 { color: var(--white); font-size: 30px; margin: 0 0 14px; }
.contact-info .sep { width: 90px; height: 2px; background: rgba(255,255,255,.35); margin: 0 auto 42px; }
.contact-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 760px;
  margin: 0 auto;
}
.contact-cols h3 { color: var(--white); font-size: 28px; margin: 0 0 10px; }
.contact-cols p, .contact-cols a { color: #4ea9e0; font-size: 18px; line-height: 1.5; text-decoration: none; }
.contact-cols a:hover { color: var(--white); }

@media (max-width: 600px) { .contact-cols { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   LEAD FORM (Sales Form / Contact)
   ============================================================ */
.lead-form { max-width: 880px; }
.lead-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.lead-form .field { margin: 0 0 18px; }
.lead-form .field.full { grid-column: 1 / -1; }
.lead-form label { display: block; font-weight: 600; color: var(--navy); margin: 0 0 6px; }
.lead-form .sub { font-size: 12px; color: #8a939b; margin: 4px 0 0; }
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  font: inherit;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid #c8ced4;
  border-radius: 0;
  padding: 11px 13px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 144, 210, .15);
}
.lead-form textarea { min-height: 180px; resize: vertical; }
.lead-form .form-actions { margin-top: 8px; text-align: right; }
.lead-form .form-msg { margin: 14px 0 0; font-weight: 600; display: none; }
.lead-form .form-msg.ok  { display: block; color: #1c7c3b; }
.lead-form .form-msg.err { display: block; color: #b4232a; }
/* honeypot - visually hidden, global (not form-scoped) */
.hp, input[name="leit_company_url"] {
  position: absolute !important; left: -10000px !important; top: auto !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
  opacity: 0 !important; pointer-events: none !important;
}

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

/* generic two-column row (text + image) inside a prose block */
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: center; margin-top: 10px; }
.two-col img { width: 100%; height: auto; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }

/* polygon separator band (reusable): navy top triangle + blue corner wedge */
.poly-band {
  position: relative;
  background: linear-gradient(168deg, var(--blue) 11%, var(--white) 11%);
  padding: 130px 0 70px;
  overflow: hidden;
}
.poly-band .divider-top {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100px;
  fill: var(--navy);
  z-index: 1;
}
.poly-band > .container { position: relative; z-index: 2; }

/* plain (no separator) cards section */
.cards-plain { background: var(--white); padding: 60px 0 70px; }

.machines-head h2 { font-size: 28px; color: var(--navy); margin: 0 0 16px; }
.machines-head p { color: var(--text); margin: 0 0 36px; max-width: 980px; }
.machines-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.list-card {
  background: #f1f3f5;
  padding: 34px 36px;
}
.list-card h2 { font-size: 24px; font-style: italic; color: var(--navy); margin: 0 0 18px; }
.list-card p { color: var(--text); margin: 0 0 14px; }
.list-card p:last-child { margin-bottom: 0; }
.list-card ul { list-style: none; margin: 0; padding: 0; }
.list-card li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--text);
}
.list-card li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
}
.list-card li ul { margin-top: 4px; }

/* media + text split (e.g. consultation savings) */
.split { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: center; }
.split img { width: 100%; height: auto; }
.split h2 { font-size: 28px; color: var(--navy); margin: 0 0 16px; }
.split p { color: var(--text); margin: 0; }

@media (max-width: 768px) {
  .machines-cards { grid-template-columns: 1fr; gap: 24px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split img { max-width: 260px; }
}

/* ============================================================
   SECTION 1: OUR SERVICES
   ============================================================ */
.services { padding: 60px 0 70px; background: var(--white); }
.section-head { text-align: center; }
.section-head h2 { font-size: 38px; margin: 0 0 14px; }
.section-head p { color: var(--text); max-width: 820px; margin: 0 auto; }

.service-tiles {
  max-width: 1154px;
  margin: 40px auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px;
}
.service-tile {
  position: relative;
  aspect-ratio: 291 / 370;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.service-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.12) 38%, rgba(0,0,0,0) 62%);
  transition: background .25s ease;
}
.service-tile:hover::after {
  background: linear-gradient(to top, rgba(0,63,109,.78) 0%, rgba(0,63,109,.3) 55%, rgba(0,63,109,.06) 100%);
}
.service-tile h3 {
  position: relative; z-index: 2;
  color: var(--white);
  font-size: 20px;
  line-height: 1.25;
  text-align: center;
  margin: 0;
  padding: 0 12px 26px;
}

@media (max-width: 900px) {
  .service-tiles { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 520px) {
  .service-tiles { grid-template-columns: 1fr; }
  .service-tile { aspect-ratio: 16 / 10; }
}

/* ============================================================
   SECTION 2: INDUSTRIES SERVED (CTA panel over factory bg)
   ============================================================ */
.industries {
  background:
    linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)),
    url('../images/render-1.jpg') center / cover no-repeat;
  padding: 70px 0;
}
.industries .container { max-width: 1154px; display: flex; justify-content: flex-end; }
.cta-panel {
  background: var(--gray-300, #d6d6d6);
  padding: 40px;
  width: 50%;
  max-width: none;
}
.cta-panel h2 { font-size: 32px; color: var(--navy); margin: 0 0 14px; }
.cta-panel p { color: var(--text); margin: 0 0 22px; }

@media (max-width: 980px) {
  .industries .container { justify-content: center; }
  .cta-panel { width: 100%; max-width: none; }
}

/* ============================================================
   SECTION 3: TESTIMONIAL
   ============================================================ */
.testimonial { background: var(--navy); padding: 70px 0 47px; }
.testimonial blockquote { margin: 0 auto; text-align: center; max-width: 920px; }
.testimonial .quote {
  color: var(--white);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
}
.testimonial .attrib {
  display: block;
  color: var(--blue);
  font-size: 22px;
  font-weight: 700;
  font-style: normal;
}

@media (max-width: 680px) {
  .testimonial .quote { font-size: 22px; }
  .testimonial .attrib { font-size: 19px; }
}

/* ============================================================
   SECTION 4: GETTING TO KNOW ADS
   ============================================================ */
.getting-to-know {
  position: relative;
  background: linear-gradient(220deg, var(--blue) 12%, rgba(255,255,255,0) 12%);
  padding: 140px 0 80px;
  overflow: hidden;
}
.getting-to-know .divider-top {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100px;
  fill: var(--navy);
  transform: scaleX(-1);
  z-index: 1;
}
.gtk-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.gtk-copy h2 { font-size: 32px; color: var(--navy); margin: 0 0 16px; }
.gtk-copy p { color: var(--text); margin: 0 0 24px; }

/* video lite-load */
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
}
.video-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.15);
  transition: background .2s ease;
}
.video-thumb:hover::after { background: rgba(0,0,0,.05); }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--blue);
  display: grid; place-items: center;
  transition: transform .2s ease, background .2s ease;
}
.video-thumb:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); background: var(--navy); }
.play-btn svg { width: 34px; height: 34px; fill: var(--white); display: block; margin-left: 3px; }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

@media (max-width: 980px) {
  .gtk-grid { grid-template-columns: 1fr; gap: 28px; }
  .gtk-video { max-width: 560px; }
  .getting-to-know { padding: 110px 0 60px; }
}

/* ============================================================
   SECTION 5: CONTACT CTA
   ============================================================ */
.contact-cta {
  position: relative;
  background: var(--gray-200) url('../images/render-3.png') center / cover no-repeat;
  padding: 60px 0;
}
.contact-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--navy);
  opacity: .85;
}
.contact-cta .container { position: relative; z-index: 1; display: flex; justify-content: center; }
.cta-box {
  background: transparent;
  max-width: 680px;
  padding: 10px 20px;
  text-align: center;
}
.cta-box h2 { color: var(--white); font-size: 32px; margin: 0 0 14px; }
.cta-box p { color: var(--white); margin: 0 0 24px; }

@media (max-width: 768px) {
  .cta-box { padding: 6px 12px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); }
.footer-main { padding: 50px 0; }
.footer-main .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}
.footer-col h4 { color: var(--white); font-size: 18px; margin: 0 0 14px; }
.footer-col a { color: rgba(255,255,255,.85); }
.footer-col a:hover { color: var(--white); }
.footer-contact p { margin: 0 0 6px; }

.footer-bottom { background: rgba(0,0,0,.32); }
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 16px; padding-bottom: 16px;
  font-size: 13px;
  line-height: 1;
}
.footer-bottom a { color: rgba(255,255,255,.85); }
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .main-nav > ul > li { border-bottom: 1px solid #eee; }
  .main-nav a { padding: 12px var(--gutter); }
  .main-nav .submenu {
    position: static; display: block; box-shadow: none; padding: 0 0 8px;
  }
  .main-nav .submenu a { padding-left: 40px; font-weight: 400; }
  .main-nav .caret { display: none; }
  .search-toggle { display: none; }
}

@media (max-width: 900px) {
  .hero-slide.has-media .container { flex-direction: column; }
  .hero-slide.has-media .hero-media,
  .hero-slide.has-media .hero-copy { flex: 0 1 auto; width: 100%; }
  .hero-slide.has-media .hero-media img { max-height: 220px; }
}

@media (max-width: 680px) {
  .hero-slide h1 { font-size: 36px; }
  .hero-slide .container { min-height: 380px; padding-top: 28px; padding-bottom: 28px; }
  /* light slides: scrim behind copy so navy text stays legible over the bg image */
  .hero-slide:not(.is-dark) .hero-copy { background: rgba(255,255,255,.78); padding: 18px; }
}
