/* OFERO Electric — one brand system, from the model lineup to the store map. */
:root {
  --green: #76e44e;
  --ink: #142119;
  --muted: #59675d;
  --line: #dce6d9;
  --soft: #f4f8f2;
  --electric-dark: #0c1911;
  --green-text: #296e21;
  --radius: 18px;
}
body { background: #fff; color: var(--ink); }
::selection { background: var(--green); color: var(--ink); }
section[id] { scroll-margin-top: calc(var(--header-height) + 20px); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible { outline: 3px solid #43972c; outline-offset: 4px; }
.section { padding-block: 88px; }
.section h2 { letter-spacing: -1.5px; text-wrap: balance; }
.eyebrow { color: var(--green-text); font-weight: 600; }
.button { border-radius: 8px; min-height: 48px; background: var(--green); border-color: var(--green); color: var(--ink); }
.button:hover { background: #91ec71; border-color: #91ec71; transform: translateY(-2px); box-shadow: 0 8px 22px #23471c16; }
.button:disabled { opacity: .5; transform: none; box-shadow: none; }
.text-link { color: var(--green-text); min-height: 44px; }

/* A quiet, bright header leaves the actual product campaigns in focus. */
.header { position: sticky; top: 0; z-index: 30; background: #fffffff2; backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); box-shadow: 0 3px 22px #16271905; gap: 34px; }
.header .brand { width: 138px; }
.header nav { height: 100%; gap: clamp(16px, 2vw, 30px); font-size: 14px; }
.header .contact-button { padding-inline: 20px; min-height: 46px; }
.nav-dropdown > a { transition: color .2s; }
.nav-dropdown > a:hover, .nav-dropdown:focus-within > a { color: var(--green-text); }
.nav-menu { border-top: 3px solid var(--green); border-radius: 0 0 10px 10px; box-shadow: 0 18px 40px #14271915; }
.nav-menu a:hover, .nav-menu a:focus-visible { background: #effbe8; color: var(--green-text); }
.hero-carousel { border-bottom: 4px solid var(--green); }
.slide-copy .eyebrow, .campaign-copy .eyebrow { color: var(--green-text); }
.is-night .slide-copy .eyebrow, .campaign-dark .campaign-copy .eyebrow { color: var(--green); }

/* Product cards: real unit photography on a restrained, electric-green floor. */
.collection { background: linear-gradient(180deg, #fff, var(--soft)); }
.collection h2 { max-width: 900px; margin-inline: auto; line-height: 1.12; }
.model-filters { gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: #fff; max-width: 510px; margin-bottom: 32px; }
.model-filters button { min-height: 46px; padding: 11px 20px; border: 0; border-radius: 8px; font-size: 14px; }
.model-filters button[aria-pressed=true] { background: var(--green); color: var(--ink); }
.models { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.model { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding-bottom: 25px; transition: border-color .25s, box-shadow .25s; }
.model:hover { border-color: #85c86e; box-shadow: 0 12px 28px #1427190b; transform: none; }
.model-image { height: clamp(240px, 22vw, 330px); padding: 15px 18px 0; background: radial-gradient(ellipse at 50% 90%, #d9efcd, #f7faf5 62%); }
.model-image:hover img { transform: scale(1.035); }
.model h3 { margin: 24px 25px 10px; font-size: 27px; font-weight: 400; }
.model p { margin-inline: 25px; font-size: 14px; min-height: 44px; line-height: 1.6; color: var(--muted); }
.model .text-link { margin: 13px 25px 0; font-size: 14px; }
.all-models { margin-block: 30px 16px; }
.range-note { color: var(--muted); line-height: 1.65; }

/* Lithium and power systems share a darker, technical material palette. */
.lithium-section { background: radial-gradient(ellipse at 85% 5%, #25472c70, transparent 52%), var(--electric-dark); color: #f5faf2; }
.lithium-copy .eyebrow, .technology-heading .eyebrow { color: var(--green); }
.lithium-copy h2 { font-weight: 300; }
.lithium-copy h2 span { color: var(--green); }
.battery-visual { border: 1px solid #76e44e2b; border-radius: var(--radius); padding: 24px 18px; background: #76e44e05; }
.battery-photo { background: transparent; }
.battery-figures { gap: 24px; border-color: #76e44e35; }
.battery-figures > div { padding: 10px 0 10px 20px; border-left: 2px solid var(--green); }
.battery-figures strong { color: var(--green); font-size: clamp(38px, 4vw, 54px); }
.technology-grid { gap: 20px; }
.technology-grid article { min-width: 0; border: 1px solid #76e44e24; border-radius: 14px; padding: 26px 22px; background: #ffffff04; transition: border-color .25s, background .25s; }
.technology-grid article:hover { border-color: #76e44e80; background: #76e44e08; }
.technology-grid h4 { font-size: 20px; }
.technology-grid p { font-size: 15px; color: #c3d2c5; }
.technology-note { line-height: 1.65; color: #adbfaf; }

.benefits-section { background: #fff; grid-template-columns: .95fr 1.05fr; gap: 8%; }
.benefits-visual { top: calc(var(--header-height) + 35px); }
.benefits-visual > img { border-radius: var(--radius); background: radial-gradient(ellipse at center, #eef8e7, #fff 72%); }
.benefits-list details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.benefits-list summary { padding: 20px 22px; font-size: 17px; gap: 16px; }
.benefits-list details[open] { border-color: #91cd7c; background: #f6fbf2; }
.benefits-list details[open] summary { color: var(--green-text); }
.benefits-list details p { margin: 0 22px 22px 63px; font-size: 15px; }
.warranty-strip { padding-block: 42px; background: #edf9e6; border-block: 1px solid #d2e8c8; }
.warranty-strip strong { font-size: 52px; color: #255f1d; }
.about-section { background: var(--soft); }
.about-image { border-radius: var(--radius); border: 1px solid var(--line); }
.about-copy .about-motto { color: var(--green-text) !important; }
.inquiry-section { padding-block: 60px; background: var(--green); }
.inquiry-section .eyebrow { color: #245218; }
.inquiry-section .button { background: var(--electric-dark); border-color: var(--electric-dark); color: #fff; }
.inquiry-section .button:hover { background: #213c28; border-color: #213c28; }

/* Stores: a real location selector and its real Google pin, side by side. */
.ownership { display: grid; grid-template-columns: minmax(0, 1fr); gap: 70px; background: #fff; }
.store-section { min-width: 0; }
.store-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 35px; }
.ownership .store-heading h2 { font-size: clamp(34px, 3.4vw, 52px); line-height: 1.1; }
.store-heading > p { font-size: 16px; color: var(--muted); line-height: 1.65; padding-bottom: 5px; max-width: 370px; }
.store-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: 32px; height: auto; min-height: 0; align-items: stretch; }
.store-copy { padding: 30px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.store-selector { display: grid; gap: 18px; }
.store-selector label, .location-directory > label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.store-selector select { display: block; width: 100%; min-height: 50px; margin-top: 9px; padding: 12px; background: #fff; color: var(--ink); border: 1px solid #bacbb4; border-radius: 8px; font: inherit; font-size: 16px; }
.store-selector select:hover { border-color: #67b64b; }
.store-type { display: inline-flex; align-items: center; font-size: 11px; font-weight: 500; padding: 6px 10px; border: 1px solid #cce4c1; border-radius: 5px; background: #edf9e6; color: #306626; line-height: 1.35; }
.store-copy h3 { margin: 17px 0 12px; font-size: clamp(25px, 2.5vw, 33px); font-weight: 400; line-height: 1.15; }
.store-copy p { font-size: 15px; line-height: 1.7; max-width: 400px; margin-bottom: 15px; }
.store-contact a { font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.store-copy a.text-link { display: inline-flex; margin: 4px 0 0; font-size: 14px; text-decoration: none; }
.store-copy a.text-link:hover { text-decoration: underline; }
.store-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: auto; }
.store-actions .button { min-height: 50px; padding: 13px 20px; font-size: 14px; white-space: normal; }
.store-actions > .text-link { font-size: 14px; }
.store-map, .location-map-view, .inquiry-map { min-width: 0; }
.map-panel { height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; box-shadow: 0 6px 25px #152b1406; }
.map-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 22px 24px; background: var(--electric-dark); color: #fff; }
.map-label { display: block; font-size: 10px; font-weight: 500; letter-spacing: 2px; color: var(--green); margin-bottom: 8px; }
.map-panel-head h3 { font-size: 23px; font-weight: 400; margin: 0; line-height: 1.2; }
.map-panel-head .store-type { background: #76e44e12; border-color: #76e44e40; color: var(--green); text-align: center; flex-shrink: 0; }
.map-panel iframe { display: block; width: 100%; height: 400px; min-height: 350px; flex: 1; border: 0; background: #edf1e9; }
.map-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 24px; font-size: 13px; border-top: 1px solid var(--line); background: #fff; }
.map-panel-foot > span { color: var(--muted); display: flex; align-items: center; gap: 7px; }
.map-panel-foot i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.map-panel-foot a { font-weight: 500; color: var(--green-text); line-height: 1.5; text-decoration: none; }
.map-panel-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.map-empty { padding: 34px 25px; min-height: 355px; justify-content: center; align-items: center; text-align: center; background: radial-gradient(ellipse at center, #e8f7df, var(--soft) 75%); }
.map-pin { color: #438b2a; font-size: 48px; margin-bottom: 18px; }
.map-empty h3 { font-size: 23px; font-weight: 400; margin-bottom: 10px; }
.map-empty p { color: var(--muted); font-size: 14px; max-width: 220px; line-height: 1.6; }

.support-section { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: 40px; align-items: start; border: 1px solid #24432a; padding: 50px; border-radius: var(--radius); background: radial-gradient(ellipse at 95% 50%, #2c542966, transparent 65%), var(--electric-dark); color: #fff; overflow: hidden; }
.support-section > .eyebrow, .support-section > h2, .support-section > p, .support-section > .button { grid-column: 1; }
.support-section .eyebrow { color: var(--green); }
.ownership .support-section h2 { font-size: clamp(29px, 3vw, 45px); line-height: 1.1; }
.support-section > p:not(.eyebrow) { color: #c1d2c4; font-size: 16px; margin-top: 18px; }
.support-section .button { justify-self: start; margin: 25px 0 0; }
.support-visual { grid-column: 2; grid-row: 1 / span 4; align-self: center; height: 310px; background: none; margin: 0; min-width: 0; }
.support-visual img { position: static; width: 100%; height: 100%; object-fit: contain; transform: none; filter: drop-shadow(0 20px 14px #0003); }

/* Location-aware inquiry and directory dialogs. Existing submission behavior stays intact. */
dialog { border-radius: var(--radius); border: 1px solid #ffffff40; }
dialog::backdrop { background: #08150dbb; backdrop-filter: blur(8px); }
.dialog-top { background: var(--electric-dark); color: #fff; border-bottom: 2px solid var(--green); }
.dialog-top > span { color: #bce4a9; }
.close-dialog { border-radius: 6px; min-height: 44px; }
.close-dialog:hover { background: #76e44e16; }
.dialog-intro h2 { font-weight: 400; letter-spacing: -1px; }
.dialog-intro p { line-height: 1.7; }
dialog:has(.inquiry-dialog) { max-width: 1100px; }
.inquiry-dialog { max-width: 980px; }
.form-grid { gap: 22px 20px; }
.form-grid label { font-size: 14px; }
.form-grid input, .form-grid select, .form-grid textarea { border-radius: 8px; border-color: #bdcdb6; min-height: 50px; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: #56a738; }
.inquiry-location-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 26px; padding-block: 8px; align-items: stretch; }
.location-fields { display: flex; flex-direction: column; justify-content: center; gap: 20px; min-width: 0; }
.map-compact { border-radius: 12px; }
.map-compact .map-panel-head { padding: 17px 18px; }
.map-compact .map-panel-head h3 { font-size: 19px; }
.map-compact .map-panel-head .store-type { font-size: 10px; padding: 5px 7px; }
.map-compact iframe { height: 230px; min-height: 230px; }
.map-compact .map-panel-foot { padding: 14px 18px; font-size: 12px; }
.map-empty.map-compact { min-height: 340px; }
.consent input { accent-color: #357c23; }
.privacy-statement { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; background: var(--soft); }
.form-submit { min-width: 200px; }
.request-summary { border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
dialog:has(.locations-dialog) { max-width: 1250px; }
.locations-explorer { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 26px; align-items: start; }
.location-directory { min-width: 0; }
.location-search { border: 1px solid #bdcdb6; border-radius: 8px; padding: 13px 15px; min-height: 50px; margin-top: 9px; width: 100%; font-size: 16px; }
.locations-explorer .location-results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 20px; max-height: 610px; overflow-y: auto; padding: 2px 8px 4px 2px; overscroll-behavior: contain; }
.location-item { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; }
.location-item:has([aria-pressed=true]) { background: #f4fbef; border-color: #8cc975; box-shadow: inset 3px 0 var(--green); }
.location-item h3 { font-size: 23px; font-weight: 400; margin: 15px 0 10px; }
.location-item p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.location-links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 20px; margin-top: 14px; }
.location-links a { color: var(--ink); font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.location-links .text-link { font-size: 13px; }
.location-links [aria-pressed=true] { text-decoration: underline; text-underline-offset: 4px; }
.location-map-view { position: sticky; top: 70px; padding-top: 26px; }
.location-map-view .map-panel iframe { height: 430px; }
.empty-locations { padding: 24px 10px; color: var(--muted); }
.product-dialog { border-radius: 12px; }
.product-dialog .dialog-top { background: var(--electric-dark); }
.product-facts { background: #edf8e7; border-color: #cde2c2; }
.product-facts > div { border-left: 2px solid #82c767; padding-left: 20px; }
.product-specifications { background: var(--soft); }
.product-next { background: #edf9e6; }

footer { background: var(--electric-dark); color: #b8cbbd; border-top: 3px solid var(--green); padding-block: 55px; }
footer .brand { width: 145px; padding: 5px 10px; border-radius: 8px; background: #fff; }
footer nav a, .footer-email { color: #eaf4e6; min-height: 32px; }
footer a:hover { color: var(--green); }
.footer-email { overflow-wrap: anywhere; }
.social-links { gap: 12px; }
.social-links a { border: 1px solid #4d6552; border-radius: 50%; width: 42px; height: 42px; }
.social-links img { filter: invert(1); width: 21px; height: 21px; }
.social-links a:hover { border-color: var(--green); background: var(--green); transform: translateY(-2px); }
.social-links a:hover img { filter: none; }

@media (max-width: 1120px) {
  .section { padding-block: 68px; }
  .models { gap: 18px; }
  .model h3, .model p { margin-inline: 20px; }
  .model .text-link { margin-inline: 20px; }
  .technology-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-copy { padding: 25px; }
  .store-layout { gap: 24px; }
  .map-panel-head { padding: 20px; }
  .map-panel-head .store-type { font-size: 10px; padding: 5px 7px; }
}
@media (max-width: 1040px) {
  :root { --header-height: 74px; }
  .header { height: var(--header-height); justify-content: space-between; }
  .header .brand { width: 130px; }
  .menu-toggle { display: block; background: #fff; border: 1px solid #b9ceb0; border-radius: 7px; padding: 12px 17px; min-height: 44px; font-size: 14px; }
  .header nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; height: auto; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 18px var(--page-gutter) 25px; background: #fff; border-bottom: 1px solid var(--line); }
  .header nav.open { display: flex; }
  .nav-dropdown { display: block; height: auto; }
  .nav-dropdown > a { height: auto; min-height: 48px; padding-block: 14px; }
  .nav-dropdown > a::before { margin-left: auto; }
  .nav-menu { position: static; display: block; opacity: 1; visibility: visible; pointer-events: auto; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--green); border-radius: 0; background: #f6faf3; padding: 0 0 0 8px; margin-bottom: 12px; }
  .nav-menu a { min-height: 42px; font-size: 13px; padding: 11px 14px; }
  .header .contact-button { margin: 10px 0 0; font-size: 14px; }
  .benefits-section { gap: 5%; }
  .store-heading > p { max-width: 260px; font-size: 14px; }
  .store-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; }
  .map-panel-head { flex-wrap: wrap; }
  .map-panel-foot { padding-inline: 18px; }
  .support-section { padding: 40px; column-gap: 25px; }
  .locations-explorer { gap: 20px; }
}
@media (max-width: 760px) {
  :root { --header-height: 68px; --page-gutter: 6vw; }
  .header .brand { width: 125px; }
  .section { padding-block: 48px; }
  .section h2 { letter-spacing: -1px; }
  .collection h2 { font-size: 32px; max-width: 480px; }
  .model-filters { gap: 4px; margin-bottom: 25px; }
  .model-filters button { padding: 11px 10px; font-size: 13px; }
  .models { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .model-image { height: 330px; }
  .model h3 { font-size: 28px; }
  .model p { min-height: 0; }
  .model .text-link { margin-top: 12px; }
  .lithium-top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .battery-visual { padding: 20px 12px; }
  .battery-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; margin-top: 35px; }
  .battery-figures > div { padding-left: 13px; }
  .battery-figures strong { font-size: 40px; }
  .technology-grid { gap: 14px; }
  .technology-grid article { padding: 22px 16px; }
  .technology-grid h4 { font-size: 18px; }
  .technology-grid p { font-size: 14px; }
  .benefits-section { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .benefits-visual { position: static; }
  .benefits-list summary { font-size: 16px; padding: 18px; gap: 13px; }
  .benefits-list details p { margin: 0 18px 20px 56px; font-size: 14px; }
  .warranty-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 14px; padding-block: 32px; }
  .warranty-strip strong { font-size: 39px; }
  .warranty-strip strong span { display: block; font-size: 10px; margin-top: 7px; }
  .warranty-strip > p { grid-column: 1 / -1; max-width: none; }
  .about-section { grid-template-columns: minmax(0, 1fr); }
  .about-image { height: 400px; }
  .inquiry-section { gap: 27px; padding-block: 40px; flex-direction: column; align-items: flex-start; }
  .inquiry-section .button { width: 100%; justify-content: space-between; }
  .ownership { gap: 42px; }
  .store-heading { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
  .ownership .store-heading h2 { font-size: 35px; }
  .store-heading > p { max-width: none; padding-bottom: 0; font-size: 15px; }
  .store-layout { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; gap: 20px; }
  .store-copy { padding: 25px; gap: 24px; }
  .store-copy p { font-size: 15px; }
  .store-copy h3 { font-size: 30px; }
  .store-actions { align-items: stretch; }
  .store-actions .button { justify-content: space-between; }
  .map-panel-head { padding: 20px; flex-wrap: nowrap; }
  .map-panel-head h3 { font-size: 22px; }
  .map-panel iframe { height: 360px; min-height: 360px; }
  .map-panel-foot { padding: 17px 20px; }
  .support-section { grid-template-columns: minmax(0, 1fr); padding: 32px 25px 15px; gap: 0; border-top: 1px solid #24432a; }
  .ownership .support-section h2 { font-size: 34px; }
  .support-visual { grid-column: 1; grid-row: 5; height: 280px; margin-top: 15px; }
  footer { padding-block: 40px; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 32px 18px; }
  .footer-note { grid-column: 1 / -1; }
  footer .brand { width: 130px; }
  footer nav a { min-height: 36px; }
  dialog { width: calc(100% - 20px); border-radius: 12px; max-height: 94dvh; }
  .dialog-top { padding: 12px 18px; }
  #dialog-content { padding: 26px 20px; }
  .dialog-intro h2, .inquiry-dialog h2 { font-size: 32px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .inquiry-location-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .map-compact iframe { height: 260px; min-height: 260px; }
  .map-empty.map-compact { min-height: 265px; }
  .map-compact .map-panel-head { flex-wrap: nowrap; }
  .form-submit { width: 100%; justify-content: space-between; }
  .locations-explorer { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .locations-explorer .location-results { max-height: 325px; }
  .location-map-view { position: static; padding-top: 0; }
  .location-map-view .map-panel iframe { height: 340px; min-height: 340px; }
  .location-item { padding: 18px; }
  .product-dialog { width: 100%; max-height: 100dvh; border-radius: 0; }
  .product-facts > div { padding-left: 11px; }
}
@media (max-width: 380px) {
  .model-filters button { font-size: 12px; padding-inline: 8px; }
  .model-image { height: 285px; }
  .technology-grid { grid-template-columns: minmax(0, 1fr); }
  .store-copy { padding: 22px; }
  .map-panel-head, .map-compact .map-panel-head { flex-wrap: wrap; }
  .map-panel-foot { padding-inline: 15px; font-size: 12px; }
  .map-panel-head h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .model, .model-image img, .technology-grid article, .social-links a, .nav-menu { transition: none; }
  .button:hover, .model-image:hover img, .social-links a:hover { transform: none; }
}
