/* ===================================================
   Акумулатори Трявна — style.css
   =================================================== */

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

:root {
  --primary: #1e3a5f;
  --primary-dark: #152a47;
  --primary-light: #2d548a;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fcd34d;
  --viber: #7c3aed;
  --viber-dark: #6d28d9;
  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --success: #059669;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 16px rgba(30, 58, 95, .12);
  --shadow-lg: 0 8px 32px rgba(30, 58, 95, .18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.22s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

a {
  text-decoration: none;
  color: inherit;
}

strong {
  font-weight: 700;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn:active {
  transform: translateY(0);
}

.btn--call {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(245, 158, 11, .4);
}

.btn--call:hover {
  box-shadow: 0 6px 20px rgba(245, 158, 11, .55);
}

.btn--viber {
  background: linear-gradient(135deg, var(--viber), var(--viber-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(124, 58, 237, .35);
}

.btn--viber:hover {
  box-shadow: 0 6px 20px rgba(124, 58, 237, .5);
}

.btn--lg {
  padding: .9rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: .45rem .9rem;
  font-size: .82rem;
}

.btn--outline-call {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent-dark);
}

.btn--outline-call:hover {
  background: var(--accent);
  color: #fff;
}

/* ---- SECTION HEADER ---- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: .5rem;
}

.section-title .accent {
  color: var(--primary);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ---- TOP BAR ---- */
.topbar {
  background: var(--primary-dark);
  color: #fff;
  font-size: .82rem;
  padding: .45rem 0;
  display: none;
}

@media (min-width: 768px) {
  .topbar {
    display: block;
  }
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar__info {
  color: #93c5fd;
}

.topbar__contacts {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.topbar__link {
  transition: color var(--transition);
}

.topbar__link--viber {
  color: #c4b5fd;
}

.topbar__link--viber:hover {
  color: #fff;
}

.topbar__link--call {
  color: var(--accent-light);
  font-weight: 700;
}

.topbar__link--call:hover {
  color: #fff;
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  padding-bottom: .75rem;
}

.navbar__logo {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary);
  flex-shrink: 0;
}

.navbar__links {
  display: none;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 768px) {
  .navbar__links {
    display: flex;
  }
}

.navbar__link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.navbar__link:hover {
  color: var(--primary);
}

.navbar__cta {
  display: none;
  gap: .5rem;
}

@media (min-width: 560px) {
  .navbar__cta {
    display: flex;
  }
}

/* burger */
.navbar__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem;
}

@media (min-width: 768px) {
  .navbar__burger {
    display: none;
  }
}

.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 1.25rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 56px;
  z-index: 99;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav__link {
  padding: .8rem 0;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-nav__link:last-of-type {
  border-bottom: none;
}

.mobile-nav__link:hover {
  color: var(--primary);
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #0f1e30 100%);
  color: #fff;
  padding: 4rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  opacity: .04;
  font-size: 5rem;
  pointer-events: none;
  overflow: hidden;
  transform: rotate(-15deg);
  align-content: flex-start;
  padding: 2rem;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 3.5rem;
  }
}

.hero__content {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .hero__content {
    text-align: left;
  }
}

.hero__badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.hero__title--accent {
  color: var(--accent-light);
}

.hero__subtitle {
  color: #93c5fd;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 34rem;
}

.hero__subtitle strong {
  color: #fff;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero__cta {
    justify-content: flex-start;
  }
}

.hero__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  flex-shrink: 0;
}

.hero__card {
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  text-align: center;
  transition: background var(--transition);
}

.hero__card:hover {
  background: rgba(255, 255, 255, .16);
}

.hero__card-icon {
  font-size: 2.5rem;
  margin-bottom: .3rem;
}

.hero__card-label {
  font-size: .85rem;
  font-weight: 600;
  color: #bfdbfe;
}

.hero__perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 2rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .hero__perks {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero__perk {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.hero__perk>span {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.hero__perk b {
  display: block;
  font-size: .85rem;
  color: #fff;
}

.hero__perk small {
  display: block;
  font-size: .75rem;
  color: #93c5fd;
}

/* ---- PRODUCTS SECTION ---- */
.products {
  padding: 5rem 0;
  background: var(--white);
}

.products__controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .products__controls {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Ah dropdown */
.products__ah-wrap {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

.ah-label {
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.ah-select {
  padding: .6rem 2rem .6rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231e3a5f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right .75rem center / 12px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ah-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, .1);
}

.products__filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.filter-btn {
  padding: .5rem 1rem;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: var(--bg-light);
  color: var(--text-muted);
  transition: all var(--transition);
  font-family: inherit;
}

.filter-btn:hover {
  background: #dbeafe;
  color: var(--primary);
}

.filter-btn--active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(30, 58, 95, .25);
}

.brand-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.25rem;
}

.products__count {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* ---- LOADING / ERROR / EMPTY ---- */
.hidden {
  display: none !important;
}

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 4rem 0;
  color: var(--text-muted);
}

.loading__spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-state,
.no-results {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}

.error-state__icon,
.no-results__icon {
  font-size: 3rem;
  margin-bottom: .75rem;
}

.error-state a,
.no-results a {
  color: var(--primary);
  font-weight: 600;
}

/* ---- PRODUCT GRID ---- */
.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

/* ---- PRODUCT CARD ---- */
.battery-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.battery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Featured card — gold border */
.battery-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .3), var(--shadow-md);
}

.battery-card--featured:hover {
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .5), var(--shadow-lg);
}

/* Featured RIBBON — голям привличащ внимание банер */
.featured-ribbon {
  background: linear-gradient(135deg, #f59e0b, #d97706, #b45309);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: center;
  padding: .55rem 1rem;
  animation: ribbon-pulse 2s ease-in-out infinite;
}

@keyframes ribbon-pulse {

  0%,
  100% {
    box-shadow: 0 2px 10px rgba(245, 158, 11, .4);
  }

  50% {
    box-shadow: 0 2px 20px rgba(245, 158, 11, .7);
  }
}

/* Card body — info + image side by side */
.battery-card__body {
  display: flex;
  align-items: stretch;
}

.battery-card__info {
  flex: 1;
  min-width: 0;
}

.battery-card__img-wrap {
  width: 110px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem;
  position: relative;
  background: var(--bg-light);
  border-left: 1px solid var(--border);
}

.battery-card__img {
  max-width: 90px;
  max-height: 100px;
  object-fit: contain;
  border-radius: 6px;
}

@media (max-width: 400px) {
  .battery-card__img-wrap {
    width: 80px;
  }

  .battery-card__img {
    max-width: 65px;
    max-height: 75px;
  }
}

/* Banner "Топ Марка" stamp */
.top-brand-stamp {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: .55rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .2rem .45rem;
  border-radius: 6px;
  border: 2px solid #fcd34d;
  box-shadow: 0 2px 8px rgba(245, 158, 11, .4);
  transform: rotate(-6deg);
  line-height: 1.2;
  white-space: nowrap;
  animation: stamp-pulse 2.5s ease-in-out infinite;
}

.top-brand-stamp span {
  font-size: .6rem;
}

@keyframes stamp-pulse {

  0%,
  100% {
    box-shadow: 0 2px 8px rgba(245, 158, 11, .4);
  }

  50% {
    box-shadow: 0 2px 14px rgba(245, 158, 11, .7);
  }
}

.battery-card__header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: .85rem 1rem .75rem;
  position: relative;
}

/* TIP бадж */
.battery-card__tip-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  padding: .2rem .6rem;
  border-radius: 100px;
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.badge--agm {
  background: rgba(237, 233, 254, .25);
  color: #ddd6fe;
  border: 1px solid rgba(196, 181, 253, .3);
}

.badge--efb {
  background: rgba(219, 234, 254, .25);
  color: #bfdbfe;
  border: 1px solid rgba(147, 197, 253, .3);
}

.badge--pro {
  background: rgba(254, 243, 199, .25);
  color: #fde68a;
  border: 1px solid rgba(252, 211, 77, .3);
}

.badge--plus {
  background: rgba(209, 250, 229, .25);
  color: #a7f3d0;
  border: 1px solid rgba(110, 231, 183, .3);
}

.badge--basic {
  background: rgba(255, 255, 255, .15);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, .2);
}

.battery-card__brand {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #93c5fd;
}

.battery-card__model {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.battery-card__specs {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}

.battery-card__spec {
  background: var(--bg-light);
  border-radius: 8px;
  padding: .45rem .6rem;
  text-align: center;
}

.battery-card__spec-label {
  font-size: .68rem;
  color: var(--text-muted);
  margin-bottom: .1rem;
}

.battery-card__spec-val {
  font-size: .88rem;
  font-weight: 700;
}

.battery-card__warranty {
  font-size: .73rem;
  color: var(--text-muted);
  margin-top: .3rem;
  display: flex;
  align-items: center;
  gap: .3rem;
  grid-column: 1/-1;
}

.battery-card__warranty span {
  font-weight: 600;
  color: var(--text);
}

/* FOOTER цени */
.battery-card__footer {
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
}

.battery-card__prices {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.battery-card__price-row {
  display: flex;
  align-items: baseline;
  gap: .35rem;
}

.price-label {
  font-size: .68rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Редовна цена — задрасква се */
.price-regular {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
}

/* ЕКО промо цена — зелена, голяма */
.price-eco {
  font-size: 1.5rem;
  font-weight: 900;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: .35rem;
  line-height: 1;
}

.eco-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: .65rem;
  font-weight: 800;
  padding: .15rem .45rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .05em;
  border: 1px solid #86efac;
  vertical-align: middle;
}

.eco-badge--inline {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-size: .8rem;
  font-weight: 800;
  padding: .2rem .6rem;
  border-radius: 100px;
  border: 1px solid #86efac;
}

.price-inquiry {
  font-size: .9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}

.cta-banner__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.cta-banner__sub {
  color: #93c5fd;
  font-size: .9rem;
  margin-bottom: 1.5rem;
}

.cta-banner__btns {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- SERVICES ---- */
.services {
  padding: 5rem 0;
  background: var(--bg-light);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: .75rem;
}

.service-card__text {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-card__badge {
  display: inline-block;
  background: #fffbeb;
  color: #b45309;
  font-size: .8rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 100px;
}

/* ---- CONTACT ---- */
.contact {
  padding: 5rem 0;
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: transform var(--transition), filter var(--transition);
  text-decoration: none;
}

.contact-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

.contact-btn--call {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
}

.contact-btn--viber {
  background: linear-gradient(135deg, var(--viber), var(--viber-dark));
  color: #fff;
}

.contact-btn__icon {
  font-size: 2.5rem;
}

.contact-btn__label {
  font-size: .82rem;
  opacity: .85;
  font-weight: 500;
}

.contact-btn__num {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
}

.contact-btn__hours {
  font-size: .75rem;
  opacity: .75;
}

.btn--navigate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  box-shadow: 0 4px 15px rgba(22, 163, 74, .35);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  border: none;
  text-decoration: none;
  cursor: pointer;
  margin-top: .5rem;
}

.btn--navigate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(22, 163, 74, .5);
  filter: brightness(1.05);
}

.contact__details {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__detail-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.contact__detail b {
  display: block;
  font-weight: 700;
  margin-bottom: .3rem;
}

.contact__detail p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact__closed {
  color: #ef4444 !important;
  font-weight: 600;
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 350px;
}

.contact__map iframe {
  display: block;
  min-height: 350px;
}

/* ---- ECO SECTION ---- */
.eco-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-top: 3px solid #86efac;
  border-bottom: 3px solid #86efac;
}

.eco-inner {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

@media (max-width: 640px) {
  .eco-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.eco-icon {
  font-size: 5rem;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(22, 163, 74, .3));
}

.eco-content {
  flex: 1;
}

.eco-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: #14532d;
  margin-bottom: 1rem;
}

.eco-accent {
  color: #16a34a;
}

.eco-text {
  color: #166534;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.eco-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .6rem;
}

.eco-list li {
  font-size: .9rem;
  font-weight: 600;
  color: #15803d;
  padding: .5rem .75rem;
  background: rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  border: 1px solid #bbf7d0;
}

/* ---- FOOTER ---- */
.footer {
  background: #0f1e30;
  color: #fff;
  padding: 2.5rem 0;
}

.footer__inner {
  text-align: center;
}

.footer__logo {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: .4rem;
}

.footer__sub {
  color: #60a5fa;
  font-size: .88rem;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.footer__link {
  color: #93c5fd;
  font-size: .88rem;
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--accent-light);
}

.footer__copy {
  font-size: .75rem;
  color: #475569;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 1rem;
  margin-top: .5rem;
}

/* ---- FAB (mobile) ---- */
.fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  z-index: 200;
}

@media (min-width: 768px) {
  .fab {
    display: none;
  }
}

.fab__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}

.fab__btn:hover {
  transform: scale(1.1);
}

.fab__btn--call {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
}

.fab__btn--viber {
  background: linear-gradient(135deg, var(--viber), var(--viber-dark));
  color: #fff;
}

/* ---- ECO NAVBAR LINK ---- */
.navbar__link--eco {
  color: #16a34a !important;
  font-weight: 700;
  border: 1.5px solid #86efac;
  border-radius: 100px;
  padding: .25rem .75rem;
  transition: all var(--transition);
}

.navbar__link--eco:hover {
  background: #dcfce7;
  color: #15803d !important;
  border-color: #4ade80;
}

/* ---- BATTERY TYPES SECTION ---- */
.battery-types {
  padding: 5rem 0;
  background: var(--bg-light);
}

.btype__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.btype-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btype-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Card header strip */
.btype-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1rem;
  color: #fff;
}

.btype-card--agm .btype-card__header {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.btype-card--efb .btype-card__header {
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
}

.btype-card--traction .btype-card__header {
  background: linear-gradient(135deg, #065f46, #059669);
}

.btype-card__icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
}

.btype-card__badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 100px;
  padding: .2rem .65rem;
  margin-bottom: .35rem;
}

.btype-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.btype-card__sub {
  font-size: .72rem;
  opacity: .75;
  margin-top: .15rem;
}

.btype-card__text {
  padding: 1rem 1.25rem .5rem;
  font-size: .93rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.btype-card__list {
  list-style: none;
  padding: .25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.btype-card__list li {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
}

/* CTA block at bottom */
.btype__cta {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.btype__cta p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}