/*
Theme Name: Eupnea Flow
Theme URI: https://flow.eupnea.no
Description: Kontinuerlig respirasjonsovervaking for sykehus, legevakt og hjemmemonitorering — WordPress-tema med ACF Pro-moduler.
Version: 1.1.0
Author: Eupnea AS
Text Domain: eupnea-flow
*/

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

:root {
  --bg-page:       #f5e8da;
  --bg-section:    #f5e8da;
  --bg-card:       #f0e4d6;
  --bg-white:      #ffffff;
  --bg-green:      #1a3a2a;
  --bg-green-light:#e8ede6;
  --bg-mint:       #7ecfbf;
  --bg-sensor:     #a8e4d4;

  --text-dark:     #1a3a2a;
  --text-body:     #3d5a4a;
  --text-muted:    #6b8a7a;
  --text-on-dark:  #ffffff;
  --text-mint:     #7ecfbf;

  --green:         #1a3a2a;
  --green-hover:   #0f2a1c;
  --mint:          #7ecfbf;
  --peach:         #f5e8da;
  --peach-light:   #faf2ea;

  --border:        rgba(26,58,42,0.1);
  --radius:        16px;
  --radius-lg:     24px;
  --radius-pill:   100px;
  --wrap:          1200px;

  --font-display:  'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* LAYOUT */
.ef-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* TYPOGRAPHY */
.ef-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-dark); margin-bottom: 16px;
}
.ef-eyebrow--light { color: var(--text-mint); }

/* BUTTONS */
.ef-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: var(--radius-pill); border: none; cursor: pointer;
  transition: all 0.2s;
}
.ef-btn-primary { background: var(--green); color: var(--text-on-dark); }
.ef-btn-primary:hover { background: var(--green-hover); }
.ef-btn-outline { background: transparent; color: var(--text-dark); font-weight: 600; }
.ef-btn-outline:hover { opacity: 0.7; }
.ef-btn-white { background: var(--bg-white); color: var(--text-dark); }
.ef-btn-white-outline {
  background: transparent; color: var(--text-on-dark);
  border: 1px solid rgba(255,255,255,0.3);
}

/* =============================================
   NAV
   ============================================= */
.ef-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* Custom logo */
.ef-nav__logo { display: flex; align-items: center; }
.ef-nav__logo .custom-logo-link { display: flex; align-items: center; }
.ef-nav__logo .custom-logo-link img,
.ef-nav__logo .custom-logo { height: 32px; width: auto; display: block; }
.ef-nav__logo-fallback {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--text-dark);
}

/* Mobile menu from wp_nav_menu */
.ef-mobile-menu { display: flex; flex-direction: column; gap: 0; list-style: none; padding: 0; margin: 0; }
.ef-mobile-menu li a {
  display: block; padding: 14px 0; font-size: 18px; font-weight: 600;
  color: #1a3a2a; border-bottom: 1px solid rgba(26,58,42,0.1); text-decoration: none;
}
.ef-mobile-menu li a:hover { opacity: 0.7; }
.ef-nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.ef-nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
}
.ef-nav__logo-icon { width: 32px; height: 32px; }
.ef-nav__logo-icon svg { width: 100%; height: 100%; }
.ef-nav__links { display: flex; gap: 32px; align-items: center; }
.ef-nav__links a {
  font-size: 14px; font-weight: 500; color: var(--text-body); transition: color 0.2s;
}
.ef-nav__links a:hover { color: var(--text-dark); }
.ef-nav__right { display: flex; align-items: center; gap: 16px; }
.ef-nav__theme-toggle {
  width: 36px; height: 36px; border: none; background: none;
  cursor: pointer; font-size: 18px; color: var(--text-body);
}
.ef-nav__lang {
  display: flex; align-items: center; background: var(--bg-card);
  border-radius: var(--radius-pill); padding: 4px; font-size: 12px; font-weight: 700;
}
.ef-nav__lang span, .ef-nav__lang a span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 28px; border-radius: var(--radius-pill); transition: all 0.2s;
}
.ef-nav__lang .active { background: var(--green); color: var(--text-on-dark); }
.ef-nav__lang a { color: var(--text-muted); }
.ef-nav__cta {
  display: inline-flex; align-items: center; padding: 10px 20px;
  background: var(--green); color: var(--text-on-dark);
  font-size: 13px; font-weight: 600; border-radius: var(--radius-pill);
}
.ef-nav__cta:hover { background: var(--green-hover); }
.ef-nav__eupnea-link {
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  text-decoration: none; padding: 4px 0; transition: color 0.2s;
}
.ef-nav__eupnea-link:hover { color: var(--green); }
.ef-nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.ef-nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 1px; }

/* =============================================
   HERO
   ============================================= */
.ef-hero { padding: 140px 0 80px; }
.ef-hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 24px;
}
.ef-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px); font-weight: 300;
  line-height: 1.05; letter-spacing: -0.03em;
  max-width: 900px; margin-bottom: 24px;
}
.ef-hero__title .muted { color: var(--text-muted); }
.ef-hero__sub {
  font-size: 18px; line-height: 1.7; color: var(--text-body);
  max-width: 600px; margin-bottom: 8px;
}
.ef-hero__sub-small {
  font-size: 15px; color: var(--text-muted); max-width: 600px; margin-bottom: 32px;
}
.ef-hero__btns { display: flex; gap: 16px; align-items: center; margin-bottom: 64px; flex-wrap: wrap; }
.ef-hero__image {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 48px;
}
.ef-hero__image img { width: 100%; height: auto; }
.ef-hero__overlay-badge {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,0.95); border-radius: var(--radius-pill);
  padding: 8px 20px; display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
}
.ef-hero__overlay-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--mint);
}
.ef-hero__overlay-badge .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--mint);
  animation: efPulse 2s infinite;
}
@keyframes efPulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.ef-hero__overlay-stats { position: absolute; bottom: 24px; left: 24px; display: flex; gap: 12px; }
.ef-hero__stat-card {
  background: rgba(26,58,42,0.85); backdrop-filter: blur(8px);
  border-radius: var(--radius); padding: 16px 24px; color: var(--text-on-dark);
}
.ef-hero__stat-card .label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; opacity: 0.7; margin-bottom: 4px;
}
.ef-hero__stat-card .value {
  font-family: var(--font-display); font-size: 32px; font-weight: 300;
}
.ef-hero__stat-card .value small { font-size: 14px; font-weight: 400; opacity: 0.7; }
.ef-hero__stat-card .status-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; margin-right: 6px;
}
.ef-hero__image-placeholder {
  background: var(--bg-card); padding: 80px 40px; text-align: center;
  border-radius: var(--radius-lg); color: var(--text-muted); font-size: 14px;
}

/* Trust badges */
.ef-trust-badges {
  padding: 48px 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); background: var(--bg-card);
}
.ef-trust-badges__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ef-trust-badge { display: flex; align-items: center; gap: 16px; }
.ef-trust-badge__icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--peach);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.ef-trust-badge__title { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.ef-trust-badge__sub { font-size: 12px; color: var(--text-muted); }

/* =============================================
   WHY IT MATTERS
   ============================================= */
.ef-why { padding: 120px 0; text-align: center; }
.ef-why__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px); font-weight: 300; line-height: 1.1;
  max-width: 800px; margin: 0 auto 24px;
}
.ef-why__body {
  font-size: 17px; line-height: 1.8; color: var(--text-body);
  max-width: 700px; margin: 0 auto;
}

/* =============================================
   PROBLEM
   ============================================= */
.ef-problem { padding: 80px 0 100px; }
.ef-problem__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px); font-weight: 300; line-height: 1.1;
  max-width: 700px; margin-bottom: 48px;
}
.ef-problem__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ef-problem__card { background: var(--peach-light); border-radius: var(--radius-lg); padding: 32px; }
.ef-problem__card-num { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.ef-problem__card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.ef-problem__card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* =============================================
   SENSOR
   ============================================= */
.ef-sensor { padding: 100px 0; }
.ef-sensor__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ef-sensor__image-wrap {
  background: var(--bg-sensor); border-radius: var(--radius-lg);
  padding: 48px; display: flex; align-items: center; justify-content: center;
  min-height: 500px;
}
.ef-sensor__image-wrap img { max-height: 400px; width: auto; }
.ef-sensor__image-placeholder { color: var(--text-muted); font-size: 14px; text-align: center; }
.ef-sensor__features { margin-top: 32px; }
.ef-sensor__feature {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 15px;
}
.ef-sensor__feature:first-child { border-top: 1px solid var(--border); }
.ef-sensor__feature .check { color: var(--text-muted); font-size: 18px; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.ef-how { padding: 80px 0 100px; }
.ef-how__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px); font-weight: 300; line-height: 1.1;
  max-width: 700px; margin-bottom: 64px;
}
.ef-how__steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative;
}
.ef-how__steps::before {
  content: ''; position: absolute; top: 28px; left: 28px; right: 28px;
  height: 2px; background: var(--border);
}
.ef-how__step { text-align: center; position: relative; }
.ef-how__step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--peach);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; font-weight: 300;
  margin: 0 auto 20px; position: relative; z-index: 1;
}
.ef-how__step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.ef-how__step p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* =============================================
   DASHBOARD
   ============================================= */
.ef-dashboard { background: var(--bg-green); padding: 100px 0; color: var(--text-on-dark); }
.ef-dashboard__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px); font-weight: 300; line-height: 1.1; margin-bottom: 12px;
}
.ef-dashboard__heading .mint { color: var(--mint); }
.ef-dashboard__sub {
  font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.7);
  max-width: 600px; margin-bottom: 64px;
}
.ef-dashboard__showcase {
  position: relative; display: flex; align-items: center;
  justify-content: center; gap: 24px; padding: 40px 0;
}
.ef-dashboard__mockup-wrap { flex: 0 1 auto; max-width: 700px; text-align: center; }
.ef-dashboard__mockup {
  border-radius: var(--radius-lg); overflow: hidden; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.ef-dashboard__mockup img { width: 100%; }
.ef-dashboard__mockup-stand {
  width: 80px; height: 50px; margin: 0 auto;
  background: linear-gradient(180deg, #555 0%, #888 100%);
  clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
  border-radius: 0 0 4px 4px;
}

/* Floating side cards */
.ef-dashboard__float-card {
  background: var(--bg-white); border-radius: var(--radius); padding: 20px 24px;
  color: var(--text-dark); min-width: 220px; max-width: 260px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15); flex-shrink: 0;
}
.ef-dashboard__float-card--left { align-self: flex-start; margin-top: 40px; }
.ef-dashboard__float-card--right { align-self: flex-start; margin-top: 20px; }
.ef-dashboard__float-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px;
}
.ef-dashboard__float-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dark);
}
.ef-dashboard__float-dot { width: 8px; height: 8px; border-radius: 50%; }
.ef-dashboard__float-dot--green { background: #4ade80; }
.ef-dashboard__float-count { font-size: 12px; color: var(--text-muted); }
.ef-dashboard__float-value {
  font-family: var(--font-display); font-size: 36px; font-weight: 300;
  color: var(--text-dark); margin-bottom: 8px;
}
.ef-dashboard__float-value small { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.ef-dashboard__float-graph { width: 100%; height: 40px; margin-bottom: 12px; }
.ef-dashboard__float-status { font-size: 13px; color: var(--text-muted); }

/* Patient rows in right card */
.ef-dashboard__patient-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid rgba(26,58,42,0.06);
  font-size: 13px;
}
.ef-dashboard__patient-row:last-child { border-bottom: none; }
.ef-dashboard__patient-id { font-weight: 600; font-family: monospace; min-width: 70px; }
.ef-dashboard__patient-rr { color: var(--text-muted); min-width: 40px; }
.ef-dashboard__patient-status { display: flex; align-items: center; gap: 6px; }
.ef-dashboard__patient-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.ef-dashboard__alert {
  background: var(--peach-light); border-radius: var(--radius); padding: 20px 24px;
  max-width: 500px; margin: 24px auto 0; text-align: left; color: var(--text-dark);
}
.ef-dashboard__alert-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.ef-dashboard__alert-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #e53e3e; display: flex; align-items: center; gap: 6px;
}
.ef-dashboard__alert-label .dot { width: 8px; height: 8px; border-radius: 50%; background: #e53e3e; }
.ef-dashboard__alert-time { font-size: 12px; color: var(--text-muted); }
.ef-dashboard__alert h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.ef-dashboard__alert p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.ef-dashboard__alert-btns { display: flex; gap: 8px; }
.ef-dashboard__alert-btns .btn {
  padding: 6px 14px; border-radius: var(--radius-pill); font-size: 12px;
  font-weight: 600; border: 1px solid var(--border); background: var(--bg-white);
  color: var(--text-dark); cursor: pointer;
}
.ef-dashboard__alert-btns .btn--red { background: #e53e3e; color: white; border-color: #e53e3e; }
.ef-dashboard__image-placeholder {
  background: rgba(255,255,255,0.1); padding: 80px 40px; border-radius: var(--radius-lg);
  text-align: center; color: rgba(255,255,255,0.5); font-size: 14px;
}

/* =============================================
   CLINICAL USE CASES
   ============================================= */
.ef-usecases { padding: 100px 0; }
.ef-usecases__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px); font-weight: 300; line-height: 1.1;
  max-width: 600px; margin-bottom: 48px;
}
.ef-usecases__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ef-usecase { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); }
.ef-usecase__image { aspect-ratio: 4/3; overflow: hidden; }
.ef-usecase__image img { width: 100%; height: 100%; object-fit: cover; }
.ef-usecase__image-placeholder {
  width: 100%; height: 100%; background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 12px;
}
.ef-usecase__content { padding: 20px 24px; }
.ef-usecase__content h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.ef-usecase__content p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* =============================================
   VALIDATION
   ============================================= */
.ef-validation { padding: 100px 0; background: var(--bg-card); }
.ef-validation__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px); font-weight: 300; margin-bottom: 48px;
}
.ef-validation__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ef-validation__card {
  background: var(--peach-light); border-radius: var(--radius-lg);
  padding: 32px; display: flex; gap: 20px; align-items: flex-start;
}
.ef-validation__card-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--green);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-on-dark); font-size: 18px; flex-shrink: 0;
}
.ef-validation__card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.ef-validation__card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* =============================================
   INFRASTRUCTURE COMPARISON
   ============================================= */
.ef-infra { padding: 100px 0; }
.ef-infra__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px); font-weight: 300; line-height: 1.1;
  max-width: 700px; margin-bottom: 48px;
}
.ef-infra__compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ef-infra__col { border-radius: var(--radius-lg); padding: 40px; }
.ef-infra__col--old { background: var(--peach-light); }
.ef-infra__col--new { background: var(--green); color: var(--text-on-dark); }
.ef-infra__col-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 24px; opacity: 0.7;
}
.ef-infra__item { display: flex; align-items: center; gap: 12px; padding: 14px 0; font-size: 15px; }
.ef-infra__item .icon { font-size: 16px; opacity: 0.6; }
.ef-infra__col--new .ef-infra__item .icon { color: var(--mint); opacity: 1; }

/* =============================================
   PLATFORM LAYERS
   ============================================= */
.ef-platform { padding: 100px 0; }
.ef-platform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ef-platform__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px); font-weight: 300; line-height: 1.1; margin-bottom: 24px;
}
.ef-platform__body { font-size: 16px; color: var(--text-body); line-height: 1.7; margin-bottom: 32px; }
.ef-platform__integrations-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px;
}
.ef-platform__integrations-list { font-size: 15px; color: var(--text-body); }
.ef-platform__integrations-list li { padding: 4px 0; list-style: disc; margin-left: 20px; }
.ef-platform__layers { display: flex; flex-direction: column; gap: 12px; }
.ef-platform__layer {
  background: var(--peach-light); border-radius: var(--radius);
  padding: 24px 28px; display: flex; justify-content: space-between; align-items: center;
}
.ef-platform__layer-num {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px;
}
.ef-platform__layer-title { font-size: 18px; font-weight: 700; }
.ef-platform__layer-desc { font-size: 13px; color: var(--text-muted); }

/* =============================================
   OPPORTUNITY
   ============================================= */
.ef-opportunity { padding: 100px 0; }
.ef-opportunity__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px); font-weight: 300; line-height: 1.1;
  max-width: 600px; margin-bottom: 48px;
}
.ef-opportunity__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.ef-opportunity__card { background: var(--peach-light); border-radius: var(--radius-lg); padding: 32px; }
.ef-opportunity__card-num {
  font-family: var(--font-display); font-size: 36px; font-weight: 300;
  color: var(--text-muted); margin-bottom: 16px;
}
.ef-opportunity__card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.ef-opportunity__card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.ef-opportunity__body { font-size: 16px; color: var(--text-body); line-height: 1.7; max-width: 700px; }

/* =============================================
   VIDEO
   ============================================= */
.ef-video { padding: clamp(4rem,7vw,7rem) 0; background: var(--bg-alt); }
.ef-video__heading { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 700; color: var(--text-dark); margin: 12px 0 16px; }
.ef-video__body { font-size: 1.05rem; color: var(--text-body); max-width: 680px; margin-bottom: 32px; line-height: 1.7; }
.ef-video__wrap {
  position: relative; width: 100%; padding-top: 56.25%; /* 16:9 */
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(26,58,42,0.15);
}
.ef-video__wrap iframe,
.ef-video__wrap video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: none; object-fit: cover;
}

/* =============================================
   PILOT CTA
   ============================================= */
.ef-pilot-cta { padding: 80px 0; }
.ef-pilot-cta__inner {
  background: var(--green); border-radius: var(--radius-lg);
  padding: 80px 64px; color: var(--text-on-dark);
}
.ef-pilot-cta__heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px); font-weight: 300; line-height: 1.1;
  max-width: 700px; margin-bottom: 20px;
}
.ef-pilot-cta__body {
  font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.7);
  max-width: 600px; margin-bottom: 32px;
}
.ef-pilot-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* =============================================
   INSTITUTIONAL ANCHORING
   ============================================= */
.ef-anchoring { padding: 100px 0; text-align: center; }
.ef-anchoring__heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px); font-weight: 300; margin-bottom: 48px;
}
.ef-anchoring__partners {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.ef-anchoring__partner { font-size: 17px; color: var(--text-muted); font-weight: 400; }
.ef-anchoring__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ef-anchoring__stat-value {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px); font-weight: 300; margin-bottom: 8px;
}
.ef-anchoring__stat-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted);
}

/* =============================================
   DEMO FORM
   ============================================= */
.ef-demo { padding: 80px 0; }
.ef-demo__inner {
  background: var(--bg-green-light); border-radius: var(--radius-lg);
  padding: 80px 64px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.ef-demo__heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px); font-weight: 300; line-height: 1.1; margin-bottom: 16px;
}
.ef-demo__sub { font-size: 15px; color: var(--text-body); line-height: 1.7; }
.ef-form { display: flex; flex-direction: column; gap: 16px; }
.ef-form__label { font-size: 13px; font-weight: 600; margin-bottom: 4px; display: block; }
.ef-form__input {
  width: 100%; padding: 14px 16px; border: none; border-radius: 12px;
  background: var(--peach); font-size: 14px; font-family: var(--font-body);
  color: var(--text-dark); outline: none; transition: box-shadow 0.2s;
}
.ef-form__input:focus { box-shadow: 0 0 0 2px var(--green); }
.ef-form__input::placeholder { color: var(--text-muted); }
.ef-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ef-form__textarea { resize: vertical; min-height: 80px; }
.ef-form__submit {
  width: 100%; padding: 16px; background: var(--green); color: var(--text-on-dark);
  border: none; border-radius: 12px; font-size: 14px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer;
}
.ef-form__submit:hover { background: var(--green-hover); }

/* =============================================
   FOOTER
   ============================================= */
.ef-footer { padding: 64px 0 32px; border-top: 1px solid var(--border); }
.ef-footer__top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.ef-footer__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 18px; font-weight: 500; margin-bottom: 12px;
}
.ef-footer__tagline { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.ef-footer__col-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 16px;
}
.ef-footer__links li { margin-bottom: 8px; }
.ef-footer__links a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.ef-footer__links a:hover { color: var(--text-dark); }
.ef-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}

/* STICKY CTA (mobile) */
.ef-sticky-cta {
  display: none; position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%); z-index: 90;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .ef-nav__links { display: none; }
  .ef-nav__hamburger { display: flex; }
  .ef-trust-badges__grid { grid-template-columns: repeat(2, 1fr); }
  .ef-usecases__grid { grid-template-columns: repeat(2, 1fr); }
  .ef-anchoring__stats { grid-template-columns: repeat(2, 1fr); }
  .ef-dashboard__float-card { display: none; }
  .ef-dashboard__showcase { flex-direction: column; }
}
@media (max-width: 768px) {
  .ef-hero__title { font-size: 36px; }
  .ef-sensor__grid { grid-template-columns: 1fr; }
  .ef-how__steps { grid-template-columns: repeat(2, 1fr); }
  .ef-how__steps::before { display: none; }
  .ef-problem__cards { grid-template-columns: 1fr; }
  .ef-infra__compare { grid-template-columns: 1fr; }
  .ef-platform__grid { grid-template-columns: 1fr; }
  .ef-opportunity__cards { grid-template-columns: 1fr; }
  .ef-validation__grid { grid-template-columns: 1fr; }
  .ef-usecases__grid { grid-template-columns: 1fr; }
  .ef-trust-badges__grid { grid-template-columns: 1fr; }
  .ef-demo__inner { grid-template-columns: 1fr; padding: 40px 24px; }
  .ef-pilot-cta__inner { padding: 48px 24px; }
  .ef-footer__top { grid-template-columns: 1fr 1fr; }
  .ef-anchoring__stats { grid-template-columns: 1fr 1fr; }
  .ef-nav__right .ef-nav__lang, .ef-nav__right .ef-nav__theme-toggle { display: none; }
  .ef-sticky-cta { display: block; }
}
@media (max-width: 480px) {
  .ef-how__steps { grid-template-columns: 1fr; }
  .ef-footer__top { grid-template-columns: 1fr; }
  .ef-hero__btns { flex-direction: column; align-items: flex-start; }
  .ef-form__row { grid-template-columns: 1fr; }
}
