/* ── Variables ── */
:root {
  --blue:       #0056b3;
  --blue-dark:  #001a33;
  --blue-light: #e8f1fb;
  --grey:       #555e67;
  --grey-light: #f4f6f8;
  --white:      #ffffff;
  --shadow:     0 4px 24px rgba(0, 26, 51, 0.08);
  --shadow-lg:  0 8px 40px rgba(0, 26, 51, 0.12);
  --radius:     12px;
  --transition: 0.25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--blue-dark);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn--primary:hover {
  background: #004494;
  border-color: #004494;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 86, 179, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn--full { width: 100%; text-align: center; }

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 26, 51, 0.08);
  box-shadow: 0 1px 8px rgba(0, 26, 51, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.header__logo img {
  height: 110px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--transition);
}

.nav__link:hover { color: var(--blue); }
.nav__link:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--white) 60%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero__title span { color: var(--blue); }

.hero__text {
  color: var(--grey);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 460px;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 280px;
}

.hero__icon {
  width: 80px;
  height: 80px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--blue);
}

.hero__icon svg { width: 40px; height: 40px; }

.hero__card p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-dark);
}

/* ── Section headers ── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-title--light { color: var(--white); }

.section-subtitle {
  color: var(--grey);
  font-size: 1rem;
}

/* ── Products ── */
.products {
  padding: 5rem 0;
  background: var(--grey-light);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--blue-light) 0%, #d0e4f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__placeholder {
  color: var(--blue);
  opacity: 0.5;
}

.product-card__placeholder svg {
  width: 64px;
  height: 64px;
}

.product-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.product-card__tag--new { background: #16a34a; }

.product-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-card__desc {
  color: var(--grey);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* ── About ── */
.about {
  padding: 5rem 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__content p {
  color: var(--grey);
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.about__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.about__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.stat {
  background: var(--blue-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  text-align: center;
}

.stat__number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat__label {
  font-size: 0.8rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Contact ── */
.contact {
  padding: 5rem 0;
  background: var(--blue-dark);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact__info p {
  color: rgba(255, 255, 255, 0.7);
  margin: 1rem 0 2rem;
  font-size: 0.95rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.contact__icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form__input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}

.form__input::placeholder { color: rgba(255, 255, 255, 0.4); }

.form__input:focus {
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.1);
}

.form__textarea { resize: vertical; min-height: 110px; }

.form-alert {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.form-alert--success {
  background: rgba(22, 163, 74, 0.15);
  color: #86efac;
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.form-alert--error {
  background: rgba(220, 38, 38, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

/* ── Footer ── */
.footer {
  background: var(--blue-dark);
  padding: 4rem 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.footer__logo-link {
  display: inline-block;
  line-height: 0;
  margin-bottom: 0;
}

.footer__logo {
  display: block;
  height: auto;
  max-height: 190px;
  width: auto;
  max-width: 340px;
}

.footer__desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 320px;
  margin-top: -1.5rem;
}

.footer__title {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__contact li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer__contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
}

.footer__contact a,
.footer__contact span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  gap: 1rem;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
}

.footer__legal {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero__inner,
  .about__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .products__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .hero__visual { display: none; }

  .about__stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 4%;
    gap: 0;
    border-bottom: 1px solid rgba(0, 26, 51, 0.08);
    box-shadow: var(--shadow);
  }

  .nav--open { display: flex; }

  .nav__link {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 26, 51, 0.05);
  }

  .nav-toggle { display: flex; }

  .about__stats {
    grid-template-columns: 1fr;
  }

  .hero { padding: 3rem 0 2.5rem; }
  .products, .about, .contact { padding: 3.5rem 0; }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}
