/*
Theme Name: Connected Coffee
Theme URI: https://connectedcoffee.ie
Author: Lombardy Artisan Ltd
Author URI: https://thecoffeelady.ie
Description: Custom theme for Connected Coffee — managed coffee service by The Coffee Lady.
Version: 1.0
License: Private
Text Domain: connected-coffee
*/

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

:root {
  --red: #C00000;
  --red-hover: #a50000;
  --dark: #111111;
  --white: #ffffff;
  --light-grey: #f7f7f7;
  --text: #1a1a1a;
  --muted: #555555;
  --nav-height: 70px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ─── BUTTONS ─── */
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.2s, transform 0.15s;
}
.btn-red:hover { background: var(--red-hover); transform: translateY(-1px); color: #fff; text-decoration: none; }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.45);
  transition: border-color 0.2s;
}
.btn-outline-white:hover { border-color: #fff; color: #fff; text-decoration: none; }

.btn-outline-dark {
  display: inline-block;
  border: 2px solid rgba(0,0,0,0.2);
  color: var(--muted);
  text-decoration: none;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-dark:hover { border-color: var(--text); color: var(--text); text-decoration: none; }

/* ─── NAV ─── */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: var(--nav-height);
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* RED LOGO for light nav — swap src to red logo once uploaded */
.nav-logo-red img { height: 44px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }

.nav-powered {
  font-size: 11px !important;
  color: #bbb !important;
  font-weight: 400 !important;
  border-left: 1px solid #eee;
  padding-left: 28px;
}
.nav-powered:hover { color: var(--red) !important; }

.nav-login {
  border: 2px solid var(--red) !important;
  color: var(--red) !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 700 !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-login:hover { background: var(--red) !important; color: #fff !important; }

.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-hover) !important; color: #fff !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ─── ZIGZAG DIVIDERS ─── */
.zz-dark-down { background: var(--dark); line-height: 0; }
.zz-dark-down svg { display: block; width: 100%; fill: #111111; }
.zz-white-up { background: var(--dark); line-height: 0; }
.zz-white-up svg { display: block; width: 100%; fill: #ffffff; }
.zz-dark-from-white { background: #fff; line-height: 0; }
.zz-dark-from-white svg { display: block; width: 100%; fill: #111111; }
.zz-white-from-grey { background: var(--light-grey); line-height: 0; }
.zz-white-from-grey svg { display: block; width: 100%; fill: #111111; }
.zz-grey-from-white { background: #fff; line-height: 0; }
.zz-grey-from-white svg { display: block; width: 100%; fill: var(--light-grey); }

/* ─── SECTION SHARED ─── */
.section-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.section-h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text);
}
.on-dark .section-h2,
.section-h2.on-dark { color: #fff; }

.section-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 18px;
}
.on-dark .section-body { color: rgba(255,255,255,0.65); }

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.on-dark .check-list li { color: #fff; }
.check-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--red);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

/* ─── CONTENT WRAPPERS ─── */
.content-wrap { padding: 80px 48px; }
.content-wrap.dark { background: var(--dark); }
.content-wrap.light { background: var(--white); }
.content-wrap.grey { background: var(--light-grey); }

.content-max { max-width: 1100px; margin: 0 auto; }

.content-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.section-img {
  width: 100%;
  border-radius: 8px;
  display: block;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-left { color: #fff; }

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.65;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #fff;
}
.hero-title em { font-style: italic; color: var(--red); }

.hero-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 28px;
  max-width: 460px;
  color: #fff;
}

.hero-checklist {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.92;
  color: #fff;
}
.hero-checklist li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--red);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-note { font-size: 11px; opacity: 0.5; color: #fff; margin-top: 6px; }

/* ─── HERO RIGHT: MACHINE VISUAL ─── */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.machine-card {
  width: 280px;
  height: 320px;
  background: #1e1e1e;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.machine-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(192,0,0,0.12) 0%, transparent 70%);
}
.machine-screen {
  width: 200px;
  height: 140px;
  background: #0d0d0d;
  border-radius: 8px;
  border: 1px solid rgba(192,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.machine-screen-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(192,0,0,0.12) 0%, transparent 70%);
}
.machine-screen-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #e8e4df;
  position: relative;
  z-index: 1;
}
.machine-screen-count {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
  position: relative;
  z-index: 1;
}
.machine-screen-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  position: relative;
  z-index: 1;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1.5s ease-in-out infinite;
}
.machine-nozzle {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.machine-nozzle-cap {
  width: 20px;
  height: 12px;
  background: #2a2a2a;
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
}
.machine-stream {
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, #6b3c1e, #3b1f0e);
  margin: 0 auto;
  border-radius: 0 0 2px 2px;
  animation: dispense 2.5s ease-in-out infinite;
}

.float-card {
  position: absolute;
  background: rgba(22,22,22,0.92);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  min-width: 180px;
}
.float-card-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 4px;
}
.float-card-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #e8e4df;
}
.float-card-sub { font-size: 10px; color: #555; margin-top: 2px; }

/* ─── ICON STRIP ─── */
.icon-strip { background: var(--dark); padding: 52px 48px; }
.icon-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.icon-circle {
  width: 64px;
  height: 64px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.icon-label {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

/* ─── PROCESS STEPS ─── */
.process-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(0,0,0,0.06);
  border-radius: 6px;
  overflow: hidden;
}
.process-step {
  background: #fff;
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.process-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.process-step:hover::before { transform: scaleX(1); }
.process-step:hover { background: var(--light-grey); }

.step-num {
  font-size: 56px;
  font-weight: 800;
  color: rgba(192,0,0,0.55);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
  font-family: 'Montserrat', sans-serif;
}
.step-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.step-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ─── INCLUDES GRID ─── */
.includes-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(0,0,0,0.06);
  border-radius: 6px;
  overflow: hidden;
}
.include-item {
  background: #fff;
  padding: 36px 32px;
  transition: background 0.2s;
}
.include-item:hover { background: var(--light-grey); }
.include-icon {
  width: 50px;
  height: 50px;
  background: rgba(192,0,0,0.08);
  border: 1px solid rgba(192,0,0,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.include-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.include-desc { font-size: 13px; line-height: 1.7; color: var(--muted); }
.on-dark .include-desc { color: rgba(255,255,255,0.7); }
.on-dark .include-title { color: #fff; }

/* ─── IOT SECTION ─── */
.iot-section { background: var(--red); padding: 72px 48px; }
.iot-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.iot-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.iot-header p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.6; }
.iot-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  overflow: hidden;
}
.iot-stat { background: rgba(0,0,0,0.15); padding: 36px 24px; text-align: center; }
.iot-icon { font-size: 28px; margin-bottom: 14px; }
.iot-value { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 6px; font-family: 'Montserrat', sans-serif; }
.iot-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}
.iot-note { text-align: center; margin-top: 28px; font-size: 13px; color: rgba(255,255,255,0.65); }

/* ─── SECTORS ─── */
.sectors-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: rgba(0,0,0,0.06);
  border-radius: 6px;
  overflow: hidden;
}
.sector-item {
  background: #fff;
  padding: 32px 20px;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  display: block;
  color: inherit;
}
.sector-item:hover { background: var(--light-grey); transform: translateY(-2px); }
.sector-icon { font-size: 32px; margin-bottom: 12px; }
.sector-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.3;
}

/* ─── MACHINES PAGE ─── */
.machine-variant {
  max-width: 1100px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.machine-variant:last-child { margin-bottom: 0; }

.machine-variant-badge {
  display: inline-block;
  background: rgba(192,0,0,0.08);
  border: 1px solid rgba(192,0,0,0.2);
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.drink-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.drink-pill {
  background: var(--light-grey);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: var(--text);
}

.machine-img-wrap {
  background: var(--light-grey);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.machine-img-wrap img { max-height: 300px; width: auto; }
.machine-img-placeholder {
  font-size: 80px;
  opacity: 0.3;
}

/* ─── HOW IT WORKS PAGE ─── */
.hiw-steps {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hiw-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hiw-step:last-child { border-bottom: none; }
.hiw-step-num {
  font-size: 64px;
  font-weight: 800;
  color: rgba(192,0,0,0.55);
  line-height: 1;
  letter-spacing: -0.04em;
  font-family: 'Montserrat', sans-serif;
}
.hiw-step-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.hiw-step-desc { font-size: 15px; line-height: 1.75; color: var(--muted); }

.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { color: var(--red); }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 24px; }

/* ─── CONTACT PAGE ─── */
.contact-form-wrap {
  max-width: 780px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-row.single { grid-template-columns: 1fr; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}
input::placeholder,
textarea::placeholder { color: rgba(255,255,255,0.35); }
input:focus, textarea:focus, select:focus { border-color: var(--red); }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; cursor: pointer; }
select option { background: #1a1a1a; color: #fff; }
textarea { min-height: 120px; resize: vertical; }

.form-optin { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0; }
.form-optin input[type="checkbox"] { width: auto; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.form-optin label { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5; }
.form-submit { text-align: center; margin-top: 28px; }
#form-response { margin-top: 16px; text-align: center; font-size: 14px; font-weight: 600; color: #22c55e; }
#form-response.error { color: #ef4444; }

/* ─── CTA SECTION ─── */
.cta-section {
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(192,0,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section h2 em { font-style: italic; color: var(--red); }
.cta-section p { font-size: 16px; color: var(--muted); max-width: 480px; margin: 0 auto 40px; line-height: 1.6; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* ─── CONTACT STRIP ─── */
.contact-strip {
  background: #161616;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.contact-strip-item {
  padding: 44px 52px;
  border-right: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: background 0.2s;
  display: block;
}
.contact-strip-item:last-child { border-right: none; }
.contact-strip-item:hover { background: rgba(255,255,255,0.03); }
.contact-strip-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
}
.contact-strip-value { font-size: 18px; font-weight: 700; color: #fff; }

/* ─── FOOTER ─── */
footer {
  background: #000;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.45); }
.footer-brand span { color: var(--red); }
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.03em; }
.footer-parent { font-size: 11px; color: rgba(255,255,255,0.25); text-align: right; }
.footer-parent a { color: var(--red); text-decoration: none; }
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { font-size: 11px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* ─── SCROLL REVEAL ─── */
.anim { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }

/* ─── KEYFRAMES ─── */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }
@keyframes dispense { 0%,100%{height:0;opacity:0} 20%{opacity:1} 50%{height:28px;opacity:1} 70%{height:28px;opacity:0.5} 90%{height:0;opacity:0} }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  #main-header { padding: 0 28px; }
  .hero-inner { grid-template-columns: 1fr; padding: 60px 28px; }
  .hero-right { display: none; }
  .content-grid, .machine-variant { grid-template-columns: 1fr; gap: 40px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .includes-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .iot-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-strip-inner { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .content-wrap { padding: 60px 28px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: #fff; padding: 24px 28px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .process-grid { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .iot-grid { grid-template-columns: 1fr; }
  .icon-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-strip { grid-template-columns: 1fr; }
  .contact-strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  footer { flex-direction: column; text-align: center; }
  .footer-parent { text-align: center; }
  .hiw-step { grid-template-columns: 1fr; gap: 8px; }
  .hiw-step-num { font-size: 40px; }
}
