/* e-DRIVE 2026 · ecofin.ro — scoped under .edrive */
.edrive {
  --ef-ink: #062f35;
  --ef-950: #03282d;
  --ef-900: #004249;
  --ef-800: #094a54;
  --ef-700: #0f5d67;
  --ef-600: #18727a;
  --ef-500: #1f9aa0;
  --ef-400: #249ca2;
  --ef-300: #30b4ba;
  --ef-200: #6eb4bb;
  --ef-100: #dff1f2;
  --ef-sand: #f5f2f0;
  --ef-gray: #f4f4f4;
  --ef-text: #4f5b5d;
  --ef-strong: #1b2b2e;
  --ef-gold-300: #f6d824;
  --ef-gold-400: #e4c018;
  --ef-gold-500: #deba18;
  --ef-gold-700: #9c6600;
  --ef-gold-grad: linear-gradient(135deg, #f6d824 0%, #deba18 55%, #b07a08 100%);
  --ef-radius: 18px;
  --ef-head: "Wix Madefor Display", "DM Sans", system-ui, sans-serif;
  --ef-body: "DM Sans", system-ui, sans-serif;
  --ef-serif: Georgia, "Times New Roman", serif;
  font-family: var(--ef-body);
  color: var(--ef-text);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
}
.edrive *, .edrive *::before, .edrive *::after { box-sizing: border-box; }
.edrive img, .edrive svg { max-width: 100%; }
.edrive p { margin: 0 0 1em; }
.edrive a:not(.ed-btn) { color: var(--ef-600); }
.edrive :focus-visible { outline: 3px solid var(--ef-gold-400); outline-offset: 3px; border-radius: 6px; }
/* base.css din temă: input:hover/focus { -webkit-appearance: none; outline: 0 !important; box-shadow: none !important } */
.edrive input[type=radio], .edrive input[type=checkbox], .edrive input[type=range] { -webkit-appearance: auto; appearance: auto; }
.edrive input[type=radio]:focus-visible, .edrive input[type=checkbox]:focus-visible, .edrive input[type=range]:focus-visible { outline: 3px solid var(--ef-gold-400) !important; }

.ed-wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.ed-section { padding: clamp(72px, 9vw, 120px) 0; }

/* typography */
.ed-h2 {
  font-family: var(--ef-head);
  font-weight: 600;
  color: var(--ef-800);
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
}
.ed-h2 em { font-family: var(--ef-serif); font-style: italic; font-weight: 400; color: var(--ef-500); }
.ed-h2--light { color: #fff; }
.ed-h2--light em { color: var(--ef-gold-300); }
.ed-head { max-width: 640px; margin-bottom: 40px; }
.ed-head--center { margin-inline: auto; text-align: center; }
.ed-small { font-size: 13.5px; color: #5f6b6d; line-height: 1.5; }

.ed-pill {
  display: inline-block;
  font-family: var(--ef-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ef-800);
  background: var(--ef-sand);
  border-radius: 50px;
  padding: 7px 16px;
  margin: 0;
}
.ed-pill--dark { color: #e9f6f7; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }

/* buttons */
.ed-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ef-head); font-weight: 600; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
  border-radius: 50px; padding: 16px 28px; border: 0; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.ed-btn:hover { transform: translateY(-2px); }
.ed-btn--gold { background: var(--ef-gold-grad); color: #2a1d00; box-shadow: 0 10px 30px -10px rgba(222,186,24,.65); }
.ed-btn--gold:hover { box-shadow: 0 16px 40px -12px rgba(222,186,24,.85); color: #2a1d00; }
.ed-btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.4); background: transparent; }
.ed-btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.ed-btn--teal { background: var(--ef-600); color: #fff; }
.ed-btn--teal:hover { background: var(--ef-700); color: #fff; }
.ed-btn--link { background: none; color: var(--ef-600); padding: 10px 4px; letter-spacing: .5px; }
.ed-btn--link:disabled { opacity: .35; cursor: default; transform: none; }

/* HERO */
.ed-hero {
  position: relative; isolation: isolate; color: #e9f6f7;
  background: radial-gradient(120% 90% at 85% 10%, #0f5d67 0%, #094a54 38%, #03282d 100%);
  padding: clamp(150px, 16vw, 190px) 0 56px;
  overflow: hidden;
}
.ed-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ed-hero__glow { position: absolute; width: 720px; height: 720px; right: -160px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(48,180,186,.35), rgba(48,180,186,0) 62%); filter: blur(10px); }
.ed-hero__grid { position: absolute; inset: 0; opacity: .22;
  background-image: linear-gradient(rgba(110,180,187,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(110,180,187,.25) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(80% 70% at 70% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(80% 70% at 70% 40%, #000 30%, transparent 75%); }
.ed-band { position: absolute; height: 46px; width: 140%; left: -20%; border-radius: 50px; background: rgba(255,255,255,.035); transform: rotate(-32deg); }
.ed-band--1 { top: 18%; } .ed-band--2 { top: 48%; height: 24px; background: rgba(246,216,36,.05); } .ed-band--3 { top: 76%; }

.ed-hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.ed-crumbs { font-size: 13px; margin-bottom: 22px; color: rgba(233,246,247,.7); }
.edrive .ed-crumbs a { color: rgba(233,246,247,.85); text-decoration: none; }
.edrive .ed-crumbs a:hover { color: #fff; }
.ed-crumbs span[aria-hidden] { margin: 0 8px; }
.ed-hero__title {
  font-family: var(--ef-head); font-weight: 700; color: #fff;
  font-size: clamp(46px, 7.4vw, 92px); line-height: 1.0; letter-spacing: -0.035em;
  margin: 22px 0 22px;
}
.ed-gold { background: var(--ef-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ed-hero__lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 540px; color: rgba(233,246,247,.9); }
.ed-hero__lead strong { color: #fff; }
.ed-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 30px; }
.ed-hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: rgba(233,246,247,.75); }
.ed-hero__facts li { position: relative; padding-left: 18px; }
.ed-hero__facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--ef-gold-400); box-shadow: 0 0 12px var(--ef-gold-400); }
.ed-hero__facts b { color: #fff; font-weight: 600; }
.ed-hero__art { position: relative; }
.ed-scene { width: 100%; height: auto; display: block; overflow: visible; }
.ed-battery__pct { font: 700 16px/1 var(--ef-head); fill: #2a1d00; }
.ed-road__dash { animation: ed-road 1.1s linear infinite; }
@keyframes ed-road { to { stroke-dashoffset: -48; } }

.ed-status {
  display: flex; gap: 14px; align-items: flex-start; margin: 46px 0 0; padding: 18px 22px;
  border-radius: 14px; background: rgba(3,40,45,.55); border: 1px solid rgba(110,180,187,.25);
  font-size: 14.5px; color: rgba(233,246,247,.88); backdrop-filter: blur(6px);
}
.ed-status b { color: #fff; }
.ed-status__dot { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--ef-gold-300); box-shadow: 0 0 0 0 rgba(246,216,36,.6); animation: ed-ping 2s infinite; }
@keyframes ed-ping { 0% { box-shadow: 0 0 0 0 rgba(246,216,36,.55); } 80%,100% { box-shadow: 0 0 0 12px rgba(246,216,36,0); } }

/* STATS */
.ed-stats { background: #fff; border-bottom: 1px solid #eceae8; }
.ed-stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.ed-stat { padding: 34px 18px; border-right: 1px solid #eceae8; text-align: center; }
.ed-stat:last-child { border-right: 0; }
.ed-stat__num { font-family: var(--ef-head); font-weight: 700; color: var(--ef-800); font-size: clamp(26px, 2.6vw, 36px); margin: 0 0 4px; letter-spacing: -0.02em; white-space: nowrap; }
.ed-stat__label { font-size: 13.5px; margin: 0; color: #5f6b6d; }

/* ABOUT */
.ed-about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.ed-slash { position: relative; aspect-ratio: 1 / 1.05; border-radius: 6px; overflow: hidden;
  background: linear-gradient(160deg, #0f5d67, #03282d); }
.ed-slash::before { content: ""; position: absolute; left: 0; top: 0; width: 34%; height: 26%; background: var(--ef-500); clip-path: polygon(0 0, 100% 0, 0 100%); }
.ed-slash span { position: absolute; width: 170%; height: 54px; left: -35%; border-radius: 60px; background: #fff; transform: rotate(-52deg); }
.ed-slash span:nth-child(1) { top: 8%; } .ed-slash span:nth-child(2) { top: 36%; height: 30px; } .ed-slash span:nth-child(3) { top: 62%; } .ed-slash span:nth-child(4) { top: 92%; height: 30px; }
.ed-slash__icon { position: absolute; width: 38%; left: 31%; top: 30%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.ed-checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ed-checks li { position: relative; padding-left: 40px; color: var(--ef-strong); font-weight: 500; }
.ed-checks li::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ef-100); }
.ed-checks li::after { content: ""; position: absolute; left: 10px; top: 7px; width: 7px; height: 12px; border: solid var(--ef-500); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* MEASURES */
.ed-measures { background: var(--ef-sand); }
.ed-tabs { position: relative; display: inline-flex; gap: 6px; padding: 6px; border-radius: 60px; background: #fff; box-shadow: 0 12px 40px -24px rgba(9,74,84,.45); margin-bottom: 28px; }
.ed-tab { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; font: 600 14px/1 var(--ef-head); color: var(--ef-800); padding: 15px 24px; border-radius: 60px; transition: color .3s ease; }
.ed-tab.is-active { color: #fff; }
.ed-tabs__ink { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: 0; border-radius: 60px; background: var(--ef-800); transition: transform .45s cubic-bezier(.7,0,.2,1), width .45s cubic-bezier(.7,0,.2,1); }
.ed-card { position: relative; background: #fff; border-radius: var(--ef-radius); padding: clamp(28px, 4vw, 48px); box-shadow: 0 30px 70px -40px rgba(9,74,84,.35); overflow: hidden; }
.ed-card__num { position: absolute; right: 26px; top: 6px; font: 800 clamp(90px, 12vw, 150px)/1 var(--ef-head); color: transparent; -webkit-text-stroke: 1.5px rgba(31,154,160,.22); letter-spacing: -0.04em; pointer-events: none; }
.ed-defs { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 48px; margin: 0; position: relative; }
.ed-defs dt { font: 600 12px/1.4 var(--ef-head); letter-spacing: 1px; text-transform: uppercase; color: var(--ef-600); margin-bottom: 6px; }
.ed-defs dd { margin: 0; color: var(--ef-strong); }
.ed-card__note { margin: 26px 0 0; padding: 14px 18px; border-left: 3px solid var(--ef-gold-400); background: #fffbea; font-size: 14.5px; color: #5b4a10; border-radius: 0 10px 10px 0; }
.ed-card__budget { margin: 28px 0 0; font: 700 22px/1 var(--ef-head); color: var(--ef-800); }
.ed-card__budget span { font: 600 12px/1 var(--ef-head); letter-spacing: 1px; text-transform: uppercase; color: #5f6b6d; margin-right: 10px; }

/* QUIZ */
.ed-quiz-sec__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.ed-quiz { position: relative; background: #fff; border-radius: var(--ef-radius); padding: clamp(26px, 3.5vw, 40px); box-shadow: 0 30px 70px -40px rgba(9,74,84,.4); border: 1px solid #eef0ef; min-height: 380px; }
.ed-quiz__progress { height: 6px; border-radius: 6px; background: var(--ef-100); overflow: hidden; margin-bottom: 26px; }
.ed-quiz__progress span { display: block; height: 100%; width: 20%; background: var(--ef-gold-grad); border-radius: 6px; transition: width .5s cubic-bezier(.7,0,.2,1); }
.ed-q { border: 0; padding: 0; margin: 0; display: none; }
.ed-q.is-active { display: grid; gap: 10px; }
.ed-q legend { font: 600 clamp(20px, 2vw, 24px)/1.3 var(--ef-head); color: var(--ef-800); margin-bottom: 14px; padding: 0; }
.ed-q label { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1.5px solid #e3e8e8; border-radius: 12px; cursor: pointer; color: var(--ef-strong); font-weight: 500; transition: border-color .2s, background .2s, transform .2s; }
.ed-q label:hover { border-color: var(--ef-300); background: #f6fbfb; transform: translateX(3px); }
.ed-q input { accent-color: var(--ef-500); width: 18px; height: 18px; }
.ed-quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.ed-quiz__count { font: 600 13px/1 var(--ef-head); color: #5f6b6d; }
.ed-quiz__result[hidden] { display: none; }
.ed-quiz__verdict { font: 700 clamp(22px, 2.4vw, 28px)/1.25 var(--ef-head); color: var(--ef-800); margin-bottom: 14px; }
.ed-quiz__verdict.is-warn { color: #9a5b00; }
.ed-quiz__notes { padding-left: 20px; margin: 0 0 16px; color: var(--ef-strong); }
.ed-quiz__notes li { margin-bottom: 8px; }
.ed-quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }

/* CALCULATOR */
.ed-calc-sec { background: linear-gradient(180deg, #fff 0%, var(--ef-sand) 100%); }
.ed-calc { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px -50px rgba(9,74,84,.55); }
.ed-calc__form { background: #fff; padding: clamp(26px, 4vw, 46px); display: grid; gap: 22px; }
.ed-field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.ed-field > span, .ed-field legend { font: 600 14px/1.3 var(--ef-head); color: var(--ef-800); padding: 0; }
.ed-field input[type=number] { font: 600 18px/1 var(--ef-body); color: var(--ef-strong); padding: 14px 16px; border: 1.5px solid #dfe5e5; border-radius: 12px; width: 100%; background: #fbfcfc; }
.ed-field input[type=number]:focus { border-color: var(--ef-500); outline: none; box-shadow: 0 0 0 4px rgba(31,154,160,.15) !important; }
.ed-range { display: flex; align-items: center; gap: 16px; }
.ed-range input { flex: 1; accent-color: var(--ef-500); height: 28px; }
.ed-range output { min-width: 44px; text-align: center; font: 700 20px/1 var(--ef-head); color: #fff; background: var(--ef-800); border-radius: 10px; padding: 10px 8px; }
.ed-field--inline { display: flex; flex-wrap: wrap; gap: 10px; }
.ed-field--inline legend { width: 100%; margin-bottom: 8px; }
.ed-field--inline label { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border: 1.5px solid #dfe5e5; border-radius: 40px; cursor: pointer; font-weight: 500; color: var(--ef-strong); }
.ed-field--inline input { accent-color: var(--ef-500); }
.ed-switch { display: flex; gap: 12px; align-items: center; cursor: pointer; font-weight: 500; color: var(--ef-strong); }
.ed-switch input { width: 20px; height: 20px; accent-color: var(--ef-500); }
.ed-calc__out { background: radial-gradient(120% 100% at 100% 0%, #0f5d67 0%, #094a54 45%, #03282d 100%); color: #e9f6f7; padding: clamp(26px, 4vw, 46px); display: flex; flex-direction: column; justify-content: center; }
.ed-calc__label { font: 600 12px/1 var(--ef-head); letter-spacing: 1px; text-transform: uppercase; color: var(--ef-200); margin-bottom: 10px; }
.ed-calc__big { font: 800 clamp(44px, 5.6vw, 72px)/1 var(--ef-head); letter-spacing: -0.03em; margin: 0 0 20px; color: #fff; white-space: nowrap; }
.ed-calc__big span { background: var(--ef-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ed-calc__bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.12); overflow: hidden; margin-bottom: 24px; }
.ed-calc__bar span { display: block; height: 100%; width: 79%; background: var(--ef-gold-grad); border-radius: 8px; transition: width .6s cubic-bezier(.7,0,.2,1); }
.ed-calc__rows { margin: 0 0 18px; display: grid; gap: 12px; }
.ed-calc__rows div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed rgba(110,180,187,.3); padding-bottom: 10px; }
.ed-calc__rows dt { color: rgba(233,246,247,.75); }
.ed-calc__rows dd { margin: 0; font: 700 16px/1.4 var(--ef-head); color: #fff; white-space: nowrap; }
.ed-calc__out .ed-small { color: rgba(233,246,247,.6); margin: 0; }

/* RULES */
.ed-rules__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: rule; }
.ed-rule { position: relative; background: #fff; border: 1px solid #eceae8; border-radius: var(--ef-radius); padding: 30px 28px 26px; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.ed-rule:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(9,74,84,.5); border-color: var(--ef-100); }
.ed-rule::after { counter-increment: rule; content: "0" counter(rule); position: absolute; right: 22px; top: 18px; font: 700 14px/1 var(--ef-head); color: #c5cfd0; }
.ed-rule h3 { font: 600 19px/1.3 var(--ef-head); color: var(--ef-800); margin: 18px 0 10px; }
.ed-rule p { margin: 0; font-size: 15.5px; }
.ed-ico { width: 52px; height: 52px; fill: none; stroke: var(--ef-600); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ed-ico .ed-ico__accent { stroke: var(--ef-gold-500); stroke-width: 2.6; }

/* SCORE */
.ed-score { background: radial-gradient(120% 120% at 0% 0%, #0f5d67 0%, #094a54 40%, #03282d 100%); color: rgba(233,246,247,.85); }
.ed-score__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.ed-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.ed-bars li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label val" "track track"; gap: 8px 12px; align-items: end; }
.ed-bars__label { grid-area: label; font: 600 15px/1.2 var(--ef-head); color: #fff; }
.ed-bars b { grid-area: val; font: 800 28px/1 var(--ef-head); color: #fff; }
.ed-bars__track { grid-area: track; height: 14px; border-radius: 14px; background: rgba(255,255,255,.1); overflow: hidden; }
.ed-bars__fill { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: 14px; background: linear-gradient(90deg, #30b4ba, #1f9aa0); transform-origin: left; }
.ed-bars .is-bonus .ed-bars__fill { background: var(--ef-gold-grad); }
.ed-bars .is-bonus b { color: var(--ef-gold-300); }

/* TIMELINE */
.ed-timeline { list-style: none; position: relative; margin: 0 auto; padding: 0; max-width: 860px; }
.ed-timeline__rail { position: absolute; left: 140px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: #e2e8e8; }
.ed-timeline__fill { position: absolute; left: 0; top: 0; width: 100%; height: 52%; border-radius: 3px; background: var(--ef-gold-grad); transform-origin: top; }
.ed-timeline li { position: relative; display: grid; grid-template-columns: 140px 1fr; gap: 36px; padding: 14px 0; }
.ed-timeline li::before { content: ""; position: absolute; left: 134px; top: 21px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid #c9d3d4; z-index: 1; transition: border-color .4s, background .4s, box-shadow .4s; }
.ed-timeline li.is-done::before { border-color: var(--ef-500); background: var(--ef-500); }
.ed-timeline li.is-now::before { border-color: var(--ef-gold-400); background: #fff; box-shadow: 0 0 0 6px rgba(246,216,36,.25); }
.ed-timeline time { font: 700 15px/1.4 var(--ef-head); color: var(--ef-800); text-align: right; padding-right: 8px; }
.ed-timeline li.is-now time { color: #9a6c00; }
.ed-timeline p { margin: 0; color: var(--ef-strong); }
.ed-timeline li.is-now p { font-weight: 600; }

/* PROCESS */
.ed-process { background: var(--ef-sand); }
.ed-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.ed-step { background: #fff; border-radius: var(--ef-radius); padding: 28px 22px; position: relative; }
.ed-step__n { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--ef-800); color: #fff; font: 700 15px/1 var(--ef-head); box-shadow: 0 0 0 6px var(--ef-sand); }
.ed-step:nth-child(2) .ed-step__n { background: var(--ef-gold-grad); color: #2a1d00; }
.ed-step h3 { font: 600 18px/1.3 var(--ef-head); color: var(--ef-800); margin: 18px 0 8px; }
.ed-step p { margin: 0; font-size: 15px; }

/* FAQ */
.ed-faq-sec__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.ed-faq details { border-bottom: 1px solid #e6eaea; }
.ed-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font: 600 18px/1.35 var(--ef-head); color: var(--ef-800); }
.ed-faq summary::-webkit-details-marker { display: none; }
.ed-faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ef-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23094a54' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .35s ease, background-color .35s ease; }
.ed-faq details[open] summary::after { transform: rotate(45deg); background-color: #fff3c4; }
.ed-faq details p { margin: 0 0 22px; padding-right: 50px; }

/* CTA */
.ed-cta { background: radial-gradient(110% 120% at 100% 100%, #0f5d67 0%, #094a54 40%, #03282d 100%); color: rgba(233,246,247,.88); position: relative; overflow: hidden; }
.ed-cta::before { content: ""; position: absolute; width: 140%; height: 60px; left: -20%; top: 30%; border-radius: 60px; background: rgba(255,255,255,.03); transform: rotate(-28deg); }
.ed-cta__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.ed-cta__contact { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.edrive .ed-cta__contact a { color: #fff; font: 600 18px/1.4 var(--ef-head); text-decoration: none; border-bottom: 1px solid rgba(246,216,36,.5); }
.ed-cta__form { background: #fff; border-radius: 22px; padding: clamp(24px, 3.5vw, 40px); color: var(--ef-text); box-shadow: 0 40px 90px -40px rgba(0,0,0,.6); }
.ed-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ed-form label { display: grid; gap: 6px; font: 600 13.5px/1.3 var(--ef-head); color: var(--ef-800); }
.ed-form .is-wide { grid-column: 1 / -1; }
.ed-form input, .ed-form select, .ed-form textarea { font: 500 16px/1.4 var(--ef-body); color: var(--ef-strong); padding: 13px 14px; border: 1.5px solid #dfe5e5; border-radius: 12px; background: #fbfcfc; width: 100%; }
.ed-form input:focus, .ed-form select:focus, .ed-form textarea:focus { border-color: var(--ef-500); outline: none; box-shadow: 0 0 0 4px rgba(31,154,160,.15); }
.ed-form .ed-consent { display: flex; gap: 10px; align-items: flex-start; font: 400 13.5px/1.5 var(--ef-body); color: var(--ef-text); }
.ed-form .ed-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ef-500); flex: none; }
.ed-form button { justify-self: start; }
.ed-form__msg { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--ef-600); }

/* WPForms inside the contact card */
.ed-cta__form .wpforms-container { margin: 0 !important; }
.ed-cta__form .wpforms-field { padding: 0 0 14px !important; }
.ed-cta__form .wpforms-field-label, .ed-cta__form .wpforms-field-sublabel, .ed-cta__form legend { font: 600 13.5px/1.3 var(--ef-head) !important; color: var(--ef-800) !important; }
.ed-cta__form input[type=text], .ed-cta__form input[type=email], .ed-cta__form input[type=tel], .ed-cta__form input[type=number], .ed-cta__form textarea, .ed-cta__form select {
  font: 500 16px/1.4 var(--ef-body) !important; color: var(--ef-strong) !important; padding: 13px 14px !important;
  border: 1.5px solid #dfe5e5 !important; border-radius: 12px !important; background: #fbfcfc !important;
  width: 100% !important; max-width: 100% !important; height: auto !important; box-shadow: none !important;
}
.ed-cta__form textarea { min-height: 110px !important; }
.ed-cta__form input:focus, .ed-cta__form textarea:focus, .ed-cta__form select:focus { border-color: var(--ef-500) !important; box-shadow: 0 0 0 4px rgba(31,154,160,.15) !important; outline: none !important; }
.ed-cta__form .wpforms-field-row { display: flex !important; gap: 12px; }
.ed-cta__form .wpforms-field-row-block { flex: 1; padding: 0 !important; }
.ed-cta__form ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.ed-cta__form li label, .ed-cta__form .wpforms-field-checkbox label, .ed-cta__form .wpforms-field-gdpr-checkbox label { font: 400 13.5px/1.55 var(--ef-body) !important; color: var(--ef-text) !important; }
.ed-cta__form input[type=checkbox] { accent-color: var(--ef-500); width: 18px; height: 18px; }
.ed-cta__form .wpforms-submit-container { padding: 6px 0 0 !important; }
.ed-cta__form button[type=submit], .ed-cta__form .wpforms-submit {
  font: 600 13px/1 var(--ef-head) !important; letter-spacing: 1px !important; text-transform: uppercase !important;
  background: var(--ef-600) !important; color: #fff !important; border: 0 !important; border-radius: 50px !important;
  padding: 16px 28px !important; height: auto !important; cursor: pointer; transition: background .25s ease, transform .25s ease;
}
.ed-cta__form button[type=submit]:hover, .ed-cta__form .wpforms-submit:hover { background: var(--ef-700) !important; transform: translateY(-2px); }
.ed-cta__form .wpforms-error, .ed-cta__form label.wpforms-error { color: #b42318 !important; font-size: 13px !important; }
.ed-cta__form .wpforms-confirmation-container-full { background: var(--ef-100) !important; border: 0 !important; border-radius: 12px; color: var(--ef-800) !important; }

.ed-disclaimer { font-size: 13px; color: #5f6b6d; padding: 26px 0 40px; margin: 0 !important; line-height: 1.6; }

/* reveal defaults (JS sets them up) */
.edrive .js-hide { opacity: 0; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .ed-steps { grid-template-columns: repeat(3, 1fr); }
  .ed-stats__grid { grid-template-columns: repeat(3, 1fr); }
  .ed-stat:nth-child(3) { border-right: 0; }
  .ed-stat:nth-child(n+4) { border-top: 1px solid #eceae8; }
}
@media (max-width: 960px) {
  .ed-hero__inner, .ed-about__grid, .ed-quiz-sec__grid, .ed-score__grid, .ed-faq-sec__grid, .ed-cta__grid, .ed-calc { grid-template-columns: 1fr; }
  .ed-hero__art { max-width: 520px; margin: 0 auto; order: 2; }
  .ed-rules__grid { grid-template-columns: 1fr 1fr; }
  .ed-defs { grid-template-columns: 1fr; }
  .ed-about__visual { max-width: 420px; }
}
@media (max-width: 640px) {
  .edrive { font-size: 16px; }
  .ed-wrap { width: calc(100% - 32px); }
  .ed-hero { padding-top: 130px; }
  .ed-hero__ctas .ed-btn { width: 100%; justify-content: center; }
  .ed-stats__grid { grid-template-columns: 1fr 1fr; }
  .ed-stat { border-right: 0 !important; border-top: 1px solid #eceae8; }
  .ed-stat:nth-child(-n+2) { border-top: 0; }
  .ed-stat:last-child { grid-column: 1 / -1; }
  .ed-rules__grid, .ed-steps { grid-template-columns: 1fr; }
  .ed-tabs { display: flex; width: 100%; }
  .ed-tab { flex: 1; padding: 14px 10px; font-size: 13px; }
  .ed-timeline__rail { left: 9px; }
  .ed-timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 38px; }
  .ed-timeline li::before { left: 3px; }
  .ed-timeline time { text-align: left; }
  .ed-form { grid-template-columns: 1fr; }
  .ed-faq details p { padding-right: 0; }
  .ed-card__num { font-size: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .edrive *, .edrive *::before, .edrive *::after { animation: none !important; transition: none !important; }
}
