/* ==========================================================
   DESERT EV — Landing page styles (mobile-first)
   Bootstrap 5 handles grid/navbar/modal/accordion;
   everything visual below is custom.
   ========================================================== */

/* ---------- FONTS ---------- */
@font-face {
  font-family: "Inter";
  src: url("../assets/vendor/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- TOKENS ---------- */
:root {
  --ev-green: #16A34A;
  --ev-green-dark: #128a3e;
  --ev-green-soft: #E8F6EE;
  --ev-dark: #111111;
  --ev-white: #FFFFFF;
  --ev-bg: #F7F8F7;
  --ev-text: #2b2f2c;
  --ev-muted: #5e665f;
  --ev-border: #E3E7E4;

  --radius-card: 20px;
  --radius-btn: 10px;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, .04), 0 2px 8px rgba(17, 17, 17, .04);
  --shadow-md: 0 6px 24px rgba(17, 17, 17, .08);

  --section-y: 48px;
  --header-h: 60px;

  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-color: var(--ev-text);
  --bs-body-bg: var(--ev-white);
  --bs-link-color: var(--ev-green);
}

@media (min-width: 768px) { :root { --section-y: 64px; --header-h: 68px; } }
@media (min-width: 992px) { :root { --section-y: 96px; --header-h: 76px; } }

/* ---------- BASE ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  font-size: 15px;
  line-height: 1.6;
  overflow-x: clip;               /* safety net: never allow sideways scroll */
  text-rendering: optimizeLegibility;
}
@media (min-width: 576px) { body { font-size: 16px; } }
@media (min-width: 992px) { body { font-size: 17px; } }

img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--ev-dark); letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
p { overflow-wrap: break-word; }

.text-ev { color: var(--ev-green); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--ev-dark); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 3px solid rgba(22, 163, 74, .55); outline-offset: 2px; }

/* ---------- SHARED SECTION PARTS ---------- */
.section { padding-block: var(--section-y); }
.section-sm { padding-block: calc(var(--section-y) * .6); }
.section--tint { background: var(--ev-bg); }

.section-head { max-width: 760px; margin: 0 auto 28px; }
@media (min-width: 768px) { .section-head { margin-bottom: 44px; } }
.section-title { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.5rem); font-weight: 800; margin: 0; text-transform: uppercase; }
.section-title--light { color: #fff; }
.section-sub { color: var(--ev-muted); margin: 12px 0 0; }

.eyebrow {
  display: inline-block; margin: 0 0 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ev-green);
}
.eyebrow--muted { color: var(--ev-muted); }
.eyebrow--onDark { color: #4ade80; }

.disclaimer { font-size: .8rem; line-height: 1.5; color: var(--ev-muted); margin: 12px 0 0; }
.disclaimer--box { background: rgba(17, 17, 17, .04); border-left: 3px solid var(--ev-green); border-radius: 6px; padding: 10px 12px; }

.icon-badge {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--ev-green-soft); color: var(--ev-green); font-size: 1.4rem;
}
.icon-badge--muted { background: #eceeed; color: var(--ev-muted); }

/* ---------- BUTTONS ---------- */
.btn-ev, .btn-ev-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem;
  border-radius: var(--radius-btn); border: 2px solid var(--ev-green);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn-ev { background: var(--ev-green); color: #fff; }
.btn-ev:hover, .btn-ev:focus-visible { background: var(--ev-green-dark); border-color: var(--ev-green-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(22, 163, 74, .28); }
.btn-ev:active { transform: translateY(0); }
.btn-ev-outline { background: transparent; color: var(--ev-dark); border-color: var(--ev-dark); }
.btn-ev-outline:hover, .btn-ev-outline:focus-visible { background: var(--ev-dark); color: #fff; transform: translateY(-1px); }
.btn-ev--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }
.btn-ev--light { background: #fff; color: var(--ev-green-dark); border-color: #fff; }
.btn-ev--light:hover, .btn-ev--light:focus-visible { background: var(--ev-dark); border-color: var(--ev-dark); color: #fff; box-shadow: none; }
.btn-ev .bi { transition: transform .2s ease; }
.btn-ev:hover .bi-arrow-right { transform: translateX(3px); }

.link-btn {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  background: none; border: 0; padding: 8px 0; min-height: 44px;
  color: var(--ev-green-dark); font-weight: 600; font-size: .95rem;
}
.link-btn:hover { text-decoration: underline; }

/* ---------- HEADER ---------- */
.site-header {
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--ev-border);
  z-index: 1030;
}
.site-header .navbar { min-height: var(--header-h); padding-block: 0; }
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; line-height: 1; padding: 0; margin: 0; }
@media (min-width: 992px) { .brand { font-size: 1.45rem; } }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { height: 34px; width: auto; display: block; }
@media (min-width: 992px) { .brand__mark { height: 42px; } }
.brand--footer .brand__mark { height: 52px; }
.brand__desert { color: var(--ev-dark); }
.brand__ev { color: var(--ev-green); }
.brand, .brand:hover { text-decoration: none; }
.brand:hover { opacity: .85; }

.nav-toggle { border: 1px solid var(--ev-border); border-radius: 10px; width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--ev-dark); }
.nav-toggle:focus { box-shadow: 0 0 0 3px rgba(22, 163, 74, .35); }
.nav-toggle .nav-toggle__close { display: none; font-size: 1.1rem; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

.navbar-nav .nav-link { color: var(--ev-text); font-weight: 500; font-size: .95rem; padding: .85rem 0; border-bottom: 1px solid var(--ev-border); }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--ev-green); }

/* Mobile menu: full-width stacked panel */
@media (max-width: 991.98px) {
  .navbar-collapse { padding-bottom: 16px; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .navbar-collapse .btn { width: 100%; margin-top: 16px; }
  .navbar-nav .nav-link { font-size: 1.05rem; min-height: 48px; display: flex; align-items: center; }
}
@media (min-width: 992px) {
  .navbar-nav { gap: .25rem; }
  .navbar-nav .nav-link { border: 0; padding: .5rem .85rem; position: relative; }
  .navbar-nav .nav-link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; background: var(--ev-green); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
  .navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }
}

/* ---------- HERO ---------- */
.hero { padding-top: 32px; background: linear-gradient(180deg, var(--ev-bg) 0%, #fff 100%); overflow: hidden; }
@media (min-width: 992px) { .hero { padding-top: 64px; } }

.hero__title { font-size: 2rem; font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin: 0 0 16px; }
@media (min-width: 375px) { .hero__title { font-size: 2.25rem; } }
@media (min-width: 768px) { .hero__title { font-size: 2.75rem; } }
@media (min-width: 992px) { .hero__title { font-size: 3.5rem; } }

.lead-text { font-size: 1rem; color: var(--ev-muted); max-width: 34rem; margin-bottom: 24px; }
@media (min-width: 768px) { .lead-text { font-size: 1.1rem; } }

.hero__actions { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: 24px; }
@media (min-width: 576px) { .hero__actions { display: flex; flex-wrap: wrap; } }

.trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; font-size: .9rem; font-weight: 600; color: var(--ev-text); }
.trust-list li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.trust-list .bi { color: var(--ev-green); font-size: 1.1rem; flex: none; }
@media (min-width: 576px) { .trust-list { display: flex; flex-wrap: wrap; gap: 10px 22px; } }

.hero__media { background: var(--ev-green-soft); border-radius: var(--radius-card); padding: 8px; box-shadow: var(--shadow-md); }
.hero__media img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 14px; }
@media (min-width: 768px) { .hero__media { padding: 12px; } }

/* ---------- AFFORDABILITY ---------- */
.affordability { padding-top: 8px; }
.afford-card { background: var(--ev-green-soft); border: 1px solid rgba(22, 163, 74, .2); border-radius: 24px; padding: 28px 20px; }
@media (min-width: 768px) { .afford-card { padding: 40px; } }
.afford__title { font-size: 1.5rem; font-weight: 800; margin: 0; }
@media (min-width: 992px) { .afford__title { font-size: 1.6rem; } }
.afford__price { font-size: clamp(2.6rem, 13vw, 3.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ev-green); margin: 0 0 8px; white-space: nowrap; }
@media (min-width: 992px) { .afford__price { font-size: 2.9rem; } }
@media (min-width: 1200px) { .afford__price { font-size: 3.3rem; } }
.afford__sub { font-weight: 700; color: var(--ev-dark); margin: 0; }
.afford__text { margin: 0; }

/* ---------- PROBLEM / SOLUTION ---------- */
.panel { border-radius: var(--radius-card); padding: 24px 20px; border: 1px solid var(--ev-border); }
@media (min-width: 768px) { .panel { padding: 36px; } }
.panel--problem { background: var(--ev-bg); display: flex; flex-direction: column; }
.panel--solution { background: #fff; box-shadow: var(--shadow-sm); border-color: rgba(22, 163, 74, .3); display: flex; flex-direction: column; }
.panel__title { font-size: 1.6rem; font-weight: 800; margin: 0 0 16px; }
@media (min-width: 768px) { .panel__title { font-size: 2rem; } }
.panel__text { color: var(--ev-muted); }
.panel__figure { margin: 8px 0 0; background: var(--ev-green-soft); border-radius: 16px; padding: 12px; text-align: center; flex: 1 1 auto; display: flex; align-items: center; justify-content: center; }
.panel__figure img { width: auto; max-width: 100%; height: auto; max-height: 460px; object-fit: contain; display: block; }

.problem-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; flex: 1 1 auto; justify-content: space-between; }
@media (min-width: 992px) { .problem-list li { background: #fff; border: 1px solid var(--ev-border); border-radius: 16px; padding: 22px 20px; flex: 1 1 0; align-items: center; } }
.problem-list li { display: flex; gap: 14px; align-items: flex-start; }
.problem-list h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 2px; }
.problem-list p { margin: 0; color: var(--ev-muted); font-size: .95rem; }

/* ---------- FEATURES ---------- */
.feature-card { background: #fff; border: 1px solid var(--ev-border); border-radius: var(--radius-card); padding: 22px 20px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(22, 163, 74, .4); }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin: 16px 0 6px; }
.feature-card p { margin: 0; font-size: .92rem; color: var(--ev-muted); }

/* ---------- BENEFIT PANELS ---------- */
.benefit { border-radius: var(--radius-card); padding: 28px 22px; display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 768px) { .benefit { padding: 36px; } }
.benefit__icon { font-size: 2rem; margin-bottom: 14px; }
.benefit__title { font-size: 1.5rem; font-weight: 800; margin: 0 0 14px; }
@media (min-width: 768px) { .benefit__title { font-size: 1.75rem; } }
.benefit p { margin-bottom: 0; }
.benefit--green { background: var(--ev-green); color: #fff; }
.benefit--green .benefit__title { color: #fff; }
.benefit--green .benefit__icon { color: #fff; }
.benefit--light { background: var(--ev-green-soft); border: 1px solid rgba(22, 163, 74, .2); }
.benefit--light .benefit__icon { color: var(--ev-green); }
.benefit--photo { background: var(--ev-dark); color: #d6dad7; padding: 0; }
.benefit--photo .benefit__body { padding: 28px 22px 20px; }
@media (min-width: 768px) { .benefit--photo .benefit__body { padding: 36px 36px 24px; } }
.benefit--photo .benefit__title { color: #fff; }
.benefit--photo img { width: 100%; height: auto; object-fit: contain; display: block; margin-top: auto; }

/* ---------- COLOURS ---------- */
.colour-card { background: #fff; border: 1px solid var(--ev-border); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.colour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.colour-card__img { overflow: hidden; background: #eef0ee; }
.colour-card__img img { display: block; width: 100%; height: auto; object-fit: contain; transition: transform .5s ease; }
.colour-card:hover .colour-card__img img { transform: scale(1.04); }
.colour-card__body { padding: 14px 18px 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.colour-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 10px; }
.swatch { width: 18px; height: 18px; border-radius: 50%; background: var(--sw); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(17, 17, 17, .25); flex: none; }

/* ---------- MADE FOR INDIA (dark) ---------- */
.india { background: var(--ev-dark); color: #fff; }
.who-card { border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-card); padding: 22px 20px; display: flex; align-items: center; gap: 16px; transition: background-color .25s ease, border-color .25s ease, transform .25s ease; }
.who-card:hover { background: rgba(22, 163, 74, .14); border-color: var(--ev-green); transform: translateY(-3px); }
.who-card .bi { font-size: 1.8rem; color: #4ade80; flex: none; }
.who-card h3 { color: #fff; font-size: 1.1rem; font-weight: 600; letter-spacing: 0; margin: 0; }
@media (min-width: 992px) {
  .who-card { flex-direction: column; text-align: center; padding: 28px 12px; gap: 14px; }
  .who-card .bi { font-size: 2.1rem; }
}

/* ---------- STEPS ---------- */
.steps { margin: 0; padding: 0; }
.step-card { background: #fff; border: 1px solid var(--ev-border); border-radius: var(--radius-card); padding: 28px 24px; position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-card__num { display: block; font-size: 3rem; font-weight: 800; line-height: 1; color: var(--ev-green); letter-spacing: -.04em; margin-bottom: 14px; }
.step-card h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: .06em; margin: 0 0 8px; }
.step-card p { margin: 0; color: var(--ev-muted); }

/* ---------- SPECIFICATIONS ---------- */
.spec-card { background: #fff; border: 1px solid var(--ev-border); border-radius: var(--radius-card); padding: 8px 20px 20px; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .spec-card { padding: 12px 36px 28px; } }
.spec-list { margin: 0; }
/* Stacked on mobile (no horizontal scroll), two-column from 576px */
.spec-row { display: block; padding: 14px 0; border-bottom: 1px solid var(--ev-border); }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ev-muted); margin-bottom: 2px; }
.spec-row dd { margin: 0; font-weight: 600; color: var(--ev-dark); overflow-wrap: anywhere; }
.spec-row--pending dd { color: #8a918b; font-weight: 500; font-style: italic; }
@media (min-width: 576px) {
  .spec-row { display: grid; grid-template-columns: minmax(130px, 38%) 1fr; gap: 16px; align-items: baseline; }
  .spec-row dt { margin: 0; }
}
.spec-card__note { margin-top: 4px; }

/* ---------- GALLERY ---------- */
.gallery-item { display: block; width: 100%; padding: 0; border: 0; background: var(--ev-bg); border-radius: 16px; overflow: hidden; cursor: zoom-in; position: relative; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.gallery-item img { display: block; width: 100%; height: auto; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover { box-shadow: var(--shadow-md); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after { content: "\F52A"; font-family: bootstrap-icons; position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(17, 17, 17, .65); color: #fff; font-size: 1rem; opacity: 0; transition: opacity .2s ease; }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
@media (hover: none) { .gallery-item::after { opacity: 1; } }

/* Fixed ratios only from tablet up; mobile keeps natural height (never crops) */
@media (min-width: 576px) { .gallery-item img { aspect-ratio: 16 / 10; } }
@media (min-width: 992px) {
  .gallery-item--feature img { aspect-ratio: auto; height: 100%; min-height: 100%; }
  .gallery-item--feature { height: 100%; }
  .gallery-item--wide img { aspect-ratio: 16 / 5; }
}

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--ev-border); border-radius: 14px !important; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq .accordion-button { font-weight: 600; font-size: 1rem; color: var(--ev-dark); padding: 18px 20px; min-height: 56px; background: #fff; box-shadow: none; gap: 12px; }
.faq .accordion-button:not(.collapsed) { background: var(--ev-green-soft); color: var(--ev-dark); }
.faq .accordion-button:focus { box-shadow: inset 0 0 0 3px rgba(22, 163, 74, .35); }
.faq .accordion-body { padding: 4px 20px 20px; color: var(--ev-muted); background: #fff; }
.faq .accordion-button:not(.collapsed) + * .accordion-body, .faq .show .accordion-body { background: var(--ev-green-soft); }

/* ---------- FINAL CTA ---------- */
.final-cta { background: #fff; padding-top: calc(var(--section-y) * .8); }
.cta-card { background: var(--ev-green); color: #fff; border-radius: 24px; padding: 40px 20px; }
@media (min-width: 768px) { .cta-card { padding: 64px 40px; } }
.cta-card__title { color: #fff; font-size: 1.75rem; font-weight: 800; margin: 0 0 12px; }
@media (min-width: 768px) { .cta-card__title { font-size: 2.5rem; } }
.cta-card__text { font-size: 1.05rem; max-width: 36rem; margin: 0 auto 24px; color: rgba(255, 255, 255, .92); }
.cta-card__btn { width: 100%; }
@media (min-width: 576px) { .cta-card__btn { width: auto; min-width: 280px; } }
.cta-card__note { margin: 16px 0 0; font-size: .9rem; color: rgba(255, 255, 255, .85); }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ev-dark); color: #c4c9c5; padding: 48px 0 24px; font-size: .95rem; }
@media (min-width: 992px) { .site-footer { padding: 72px 0 28px; } }
.brand--footer { font-size: 1.5rem; }
.brand--footer .brand__desert { color: #fff; }
.footer-text { margin: 14px 0 0; max-width: 22rem; }
.footer-title { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #fff; margin: 0 0 16px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: #c4c9c5; text-decoration: none; display: inline-block; padding: 2px 0; }
.footer-links a:hover { color: #4ade80; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .bi { color: #4ade80; margin-top: 3px; flex: none; }
.footer-contact span { min-width: 0; overflow-wrap: anywhere; }
.footer-address { font-style: normal; margin: 0; line-height: 1.5; }
.footer-address a { display: inline-block; margin-top: 4px; color: #4ade80; }
.footer-contact a { color: #c4c9c5; text-decoration: none; }
.footer-contact a:hover { color: #4ade80; text-decoration: underline; }
.copyright p { margin: 0; }
.copyright .credit { margin-top: 6px; }
.copyright .heart { color: #ff0000; }
.copyright .credit a { text-decoration: none; }
.copyright .credit a:hover { text-decoration: underline; }
.credit__brand { color: #8587ff; font-weight: 600; }
.copyright { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; text-align: center; }

/* ---------- MODALS ---------- */
.ev-modal { border: 0; border-radius: 20px; }
.ev-modal .modal-header { border-bottom: 0; padding: 20px 20px 0; }
.ev-modal .modal-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.ev-modal .modal-body { padding: 16px 20px 24px; }
@media (min-width: 576px) { .ev-modal .modal-header { padding: 28px 32px 0; } .ev-modal .modal-body { padding: 16px 32px 32px; } }
.modal-dialog { margin-inline: 12px; }
@media (min-width: 576px) { .modal-dialog { margin-inline: auto; } }

.form-label { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form-control, .form-select { min-height: 48px; border-radius: var(--radius-btn); border-color: #cfd5d1; font-size: 16px; /* 16px stops iOS zoom */ }
.form-control:focus, .form-select:focus { border-color: var(--ev-green); box-shadow: 0 0 0 3px rgba(22, 163, 74, .2); }

.form-success { text-align: center; padding: 12px 0 0; }
.form-success .bi { font-size: 3rem; color: var(--ev-green); }
.form-success p { font-size: 1.1rem; font-weight: 600; color: var(--ev-dark); margin: 12px 0 20px; }
.form-success[hidden] { display: none; }

/* Lightbox */
.lightbox { background: rgba(10, 10, 10, .96); border: 0; border-radius: 16px; color: #fff; overflow: hidden; }
.lightbox__close { position: absolute; top: 12px; right: 12px; z-index: 3; opacity: 1; background-color: rgba(0, 0, 0, .5); border-radius: 50%; padding: 12px; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 56px 8px 8px; }
.lightbox__stage img { max-width: 100%; max-height: 74vh; max-height: 74dvh; width: auto; height: auto; object-fit: contain; display: block; }
.lightbox__caption { text-align: center; margin: 0; padding: 8px 56px 18px; font-size: .9rem; color: #c4c9c5; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: background-color .2s ease; }
.lightbox__nav:hover { background: var(--ev-green); }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }

/* ---------- REVEAL ANIMATION (subtle fade-up) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
