/* ============ EL WOOD landing — design tokens ============ */
:root {
  --red: #e02d2d;
  --red-dark: #c22222;
  --red-soft: #fdeaea;
  --blue: #17479e;
  --blue-dark: #103576;
  --blue-soft: #e3edfa;
  --bg: #fdfcfb;
  --bg-soft: #f6f8fb;
  --card: #ffffff;
  --border: #ecedf1;
  --text: #16233c;
  --text-body: #4a566e;
  --text-muted: #8b95a8;
  --radius: 16px;
  --shadow: 0 10px 40px -12px rgba(22, 35, 60, 0.12);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.icon { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn--lg { height: 54px; padding: 0 32px; font-size: 16px; }

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(224, 45, 45, 0.5);
}
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue-soft);
}
.btn--outline:hover { background: var(--blue-soft); border-color: var(--blue-soft); }

.btn--white {
  background: #fff;
  color: var(--blue);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.3); }

/* ============ Logo (CSS recreation) ============ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.5px;
  line-height: 1;
}
.logo__el {
  background: var(--red-soft);
  color: var(--red);
  padding: 8px 12px;
  border-radius: 10px;
}
.logo__wood {
  background: var(--blue-soft);
  color: var(--blue);
  padding: 8px 14px;
  border-radius: 10px;
}

/* ============ Header ============ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(253, 252, 251, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px -12px rgba(22, 35, 60, 0.1);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.header__right { display: flex; align-items: center; gap: 18px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-body);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--red); }
.nav__cta { height: 42px; padding: 0 20px; font-size: 14px; }

.lang {
  display: flex;
  gap: 2px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
}
.lang__btn {
  border: none;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  border-radius: 7px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.lang__btn:hover { color: var(--text); }
.lang__btn.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 1px 4px rgba(22, 35, 60, 0.12);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(9, 22, 48, 0.88) 0%,
    rgba(13, 33, 70, 0.72) 45%,
    rgba(13, 33, 70, 0.25) 100%);
}

.hero__content { max-width: 640px; color: #fff; }

.hero__badge {
  display: inline-block;
  background: rgba(224, 45, 45, 0.15);
  border: 1px solid rgba(224, 45, 45, 0.45);
  color: #ffb4b4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(38px, 5.6vw, 60px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 22px;
  color: #fff;
}
.hero__title span {
  background: linear-gradient(90deg, #6ea8ff, #a8c8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 36px;
}
.hero__subtitle strong { color: #fff; }

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============ Stats ============ */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -56px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat {
  padding: 34px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat__value {
  font-size: 40px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============ Sections ============ */
.section { padding: 110px 0; }
.section--soft { background: var(--bg-soft); }

.section__head {
  max-width: 620px;
  margin: 0 auto 60px;
  text-align: center;
}
.section__eyebrow {
  display: inline-block;
  color: var(--red);
  background: var(--red-soft);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section__title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.section__desc { margin-top: 16px; font-size: 16.5px; }

/* ============ Products ============ */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.product__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product:hover .product__img img { transform: scale(1.05); }
.product__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
}

.product__body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product__name {
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.product__text { font-size: 15px; margin-bottom: 18px; }

.product__specs {
  border-top: 1px solid var(--border);
  margin-bottom: 22px;
  flex: 1;
}
.product__specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.product__specs span { color: var(--text-muted); }
.product__specs b { color: var(--text); font-weight: 700; text-align: right; }

.product__btn { width: 100%; }

/* ============ Features ============ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature__icon--blue { background: var(--blue-soft); }
.feature__icon--blue svg { fill: var(--blue); }
.feature__icon--red { background: var(--red-soft); }
.feature__icon--red svg { fill: var(--red); }

.feature__title {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.feature__text { font-size: 14.5px; }

/* ============ About ============ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__media { position: relative; }
.about__media > img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 11;
  object-fit: cover;
  width: 100%;
}
.about__routecard {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px 26px;
  width: max-content;
  max-width: 92%;
}
.route { display: flex; align-items: center; gap: 14px; }
.route__point {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.route__point--dest {
  background: var(--blue-soft);
  color: var(--blue);
  padding: 7px 14px;
  border-radius: 100px;
}
.route__flag { font-size: 18px; }
.route__line {
  width: 34px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 5px, transparent 5px 10px);
}

.about__content .section__title { margin-bottom: 20px; }
.about__text { margin-bottom: 16px; font-size: 16px; }
.about__text strong { color: var(--text); }

.about__list { margin: 22px 0 30px; }
.about__list li {
  position: relative;
  padding: 7px 0 7px 34px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e02d2d"><path d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z"/></svg>') center / 13px no-repeat;
}

/* ============ CTA band ============ */
.cta {
  background: linear-gradient(115deg, var(--blue-dark) 0%, var(--blue) 60%, #2563c4 100%);
  padding: 70px 0;
}
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta__title {
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.cta__text { color: rgba(255, 255, 255, 0.75); font-size: 16px; }
.cta__phones { display: flex; flex-direction: column; gap: 12px; }

/* ============ Contact ============ */
.contact {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: stretch;
}
.contact__cards { display: flex; flex-direction: column; gap: 20px; }
.contact__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.contact__card .feature__icon { margin-bottom: 14px; }
.contact__card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.contact__card p, .contact__card a { font-size: 15px; color: var(--text-body); }
.contact__card a:hover { color: var(--red); }

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 480px;
  background: var(--bg-soft);
}

/* ============ Footer ============ */
.footer {
  background: #0d1b36;
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__brand p { margin-top: 18px; font-size: 15px; max-width: 300px; }

.logo--footer .logo__el { background: rgba(224, 45, 45, 0.18); }
.logo--footer .logo__wood { background: rgba(110, 168, 255, 0.15); color: #8db4f5; }

.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.footer__col a, .footer__col span { font-size: 14.5px; }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
}
.footer__bottom a { color: #8db4f5; }

/* ============ Floating call button ============ */
.fab {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(224, 45, 45, 0.6);
  animation: fab-pulse 2.2s infinite;
}
.fab .icon { width: 24px; height: 24px; }
@keyframes fab-pulse {
  0% { box-shadow: 0 10px 30px -6px rgba(224, 45, 45, 0.6), 0 0 0 0 rgba(224, 45, 45, 0.4); }
  70% { box-shadow: 0 10px 30px -6px rgba(224, 45, 45, 0.6), 0 0 0 16px rgba(224, 45, 45, 0); }
  100% { box-shadow: 0 10px 30px -6px rgba(224, 45, 45, 0.6), 0 0 0 0 rgba(224, 45, 45, 0); }
}

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab { animation: none; }
  .product__img img, .product, .feature, .btn { transition: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .products__grid, .features__grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 72px; }
  .contact { grid-template-columns: 1fr; }
  .contact__cards { flex-direction: row; }
  .contact__map { min-height: 380px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .burger { display: flex; }
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px -20px rgba(22, 35, 60, 0.25);
    padding: 12px 24px 20px;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    z-index: -1;
  }
  .nav.open { transform: translateY(0); }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav__cta { margin-top: 16px; justify-content: center; }

  .hero { min-height: auto; padding: 130px 0 100px; }
  .hero__actions .btn { width: 100%; }

  .products__grid, .features__grid { grid-template-columns: 1fr; }
  .contact__cards { flex-direction: column; }

  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta__phones { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }

  .about__routecard { position: static; transform: none; margin-top: 16px; width: 100%; }
  .route { justify-content: center; flex-wrap: wrap; }

  .fab { display: flex; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px; }
  .stat__value { font-size: 30px; }
  .route__line { width: 18px; }
}
