:root {
  --bg: #f7f8fb;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --text: #1e2630;
  --muted: #5f6d7b;
  --brand: #f7a21b;
  --brand-strong: #ff7f11;
  --line: rgba(30, 38, 48, 0.12);
  --radius: 18px;
  --shadow: 0 16px 30px rgba(22, 31, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(247, 162, 27, 0.18), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(255, 127, 17, 0.1), transparent 35%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(247, 162, 27, 0.08), rgba(255, 255, 255, 0.45));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: linear-gradient(90deg, #ffc34a, #ff962d);
  border-bottom: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(214, 108, 8, 0.28);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 28px rgba(214, 108, 8, 0.34);
}

.nav-wrap {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 18px;
}

.brand img {
  width: 62px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-dropdown {
  position: relative;
}

.drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  text-transform: uppercase;
}

.drop-trigger::after {
  content: "▾";
  font-size: 12px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 300px;
  max-height: 74vh;
  overflow: auto;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: #ef0033;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 25;
}

.dropdown-menu a {
  display: block;
  padding: 10px 36px 10px 16px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.02em;
  position: relative;
}

.dropdown-menu a::after {
  content: "›";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.contact-link {
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(90deg, var(--brand), var(--brand-strong));
  color: #121212;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

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

.btn-ghost {
  background: transparent;
  border-color: rgba(31, 43, 55, 0.3);
  color: var(--text);
}

.btn-small {
  padding: 10px 16px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  right: -220px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 162, 27, 0.35), transparent 65%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 14px;
}

.eyebrow.center {
  text-align: center;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
  font-size: clamp(44px, 7vw, 82px);
  margin-bottom: 16px;
}

.hero-copy p {
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 28px 0;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-meta div {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.85);
}

.hero-meta strong {
  display: block;
  color: var(--brand);
  font-size: 22px;
}

.hero-meta span {
  color: var(--muted);
  font-size: 13px;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86));
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 140px;
  margin-bottom: 20px;
}

.hero-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 10px;
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
  font-size: clamp(34px, 5.2vw, 62px);
  text-align: center;
  margin: 0 auto 28px;
  max-width: 16ch;
}

.section-title.left {
  text-align: left;
  margin-left: 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.bullet-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.bullet-list li {
  margin-bottom: 10px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.stat strong {
  display: block;
  font-size: 34px;
  color: var(--brand);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.step span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(247, 162, 27, 0.2);
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 12px;
}

.step p,
.about-copy {
  color: var(--muted);
}

.about-mark {
  display: flex;
  justify-content: center;
}

.about-mark img {
  width: min(360px, 90%);
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.45));
}

.cta-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px;
  text-align: center;
  background: linear-gradient(130deg, rgba(247, 162, 27, 0.24), rgba(255, 127, 17, 0.2));
}

.cta-box h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(30px, 4.8vw, 56px);
  margin-bottom: 10px;
}

.cta-box p {
  margin: 0 0 24px;
  color: #2e3742;
}

.map-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.map-box iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

.map-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-wrap p,
.footer-wrap a {
  color: var(--muted);
  text-decoration: none;
  margin: 0;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

.products-page .section {
  padding: 70px 0;
}

.breadcrumb {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-transform: lowercase;
}

.products-title {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
  margin: 0 0 26px;
  font-size: clamp(44px, 7vw, 74px);
}

.products-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.category-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.category-chip {
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  font-weight: 800;
  padding: 13px 10px;
  border-radius: 0;
  background: #42aad5;
  color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.category-chip:hover {
  transform: translateY(-2px);
  filter: brightness(0.95);
}

.products-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, #f5f6f9, #dcdfe4);
}

.products-visual img {
  width: min(330px, 84%);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.shop-by-category .section-title.left {
  margin-bottom: 14px;
}

.category-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-tile {
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d2dae3;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(23, 33, 45, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(23, 33, 45, 0.14);
}

.category-tile img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.category-tile span {
  display: block;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: #1d2a37;
}

.product-section .section-title.left {
  margin-bottom: 10px;
}

.catalog-copy {
  margin: 0 0 20px;
  color: #2f3b47;
  max-width: 90ch;
}

.promo-strip {
  margin: 0 0 20px;
  border: 1px solid #d6ad3b;
  background: linear-gradient(90deg, #f8df98, #f2b12f);
  color: #1d1d1d;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 18px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  align-items: start;
}

.filter-panel {
  background: #a9be2b;
  color: #ffffff;
  padding: 20px;
}

.filter-panel h3 {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 28px;
  font-family: "Bebas Neue", sans-serif;
}

.filter-panel button {
  width: 100%;
  text-align: left;
  border: 0;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  padding: 10px 12px;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 800;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 18px;
}

.product-item {
  background: #ffffff;
  border: 1px solid #ced4dc;
  padding: 12px;
}

.product-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3f4c5b;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid #c7ced7;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(186, 194, 205, 0.95)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 2px, rgba(120, 130, 143, 0.1) 2px, rgba(120, 130, 143, 0.1) 4px);
}

.product-thumb-image {
  height: 180px;
  width: 100%;
  object-fit: cover;
  border: 1px solid #c7ced7;
}

.product-item h4 {
  margin: 10px 0 6px;
  font-size: 18px;
  line-height: 1.3;
}

.product-item p {
  margin: 0;
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
}

.simple-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.simple-item {
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 20px;
}

.simple-item h4 {
  margin: 0 0 8px;
  font-size: 20px;
}

.simple-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid #d2d9e2;
  margin-bottom: 12px;
}

.simple-item p {
  margin: 0;
  color: var(--muted);
}

.iron-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.iron-hero img {
  border: 1px solid #cad1db;
  background: #ffffff;
}

.iron-hero h3 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 48px);
}

.iron-hero p {
  margin: 0 0 10px;
}

.iron-hero ul {
  margin: 0;
  padding-left: 22px;
}

.iron-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.iron-spec-card {
  background: #ffffff;
  border: 1px solid #d5dce5;
  border-radius: 12px;
  padding: 16px;
}

.iron-spec-card h4 {
  margin: 0 0 8px;
  font-size: 22px;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
}

.iron-spec-card p {
  margin: 0 0 8px;
}

.iron-spec-card .btn {
  margin-top: 8px;
  width: 100%;
}

.in-stock {
  color: #118300;
  font-weight: 700;
}

.low-stock {
  color: #d05a00;
  font-weight: 700;
}

.page-hero {
  max-width: 760px;
}

.page-copy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 30px);
  line-height: 1.35;
  max-width: 32ch;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  padding: 22px;
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: #1f2b37;
}

.quote-form label:last-of-type {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #cfd7e2;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: #1f2b37;
  background: #ffffff;
}

.quote-form textarea {
  min-height: 130px;
  resize: vertical;
}

.quote-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
  padding-inline: 28px;
}

.admin-login {
  max-width: 560px;
}

.admin-error {
  background: #ffe5e5;
  color: #8c1f1f;
  border: 1px solid #efb4b4;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 16px;
  font-weight: 700;
}

.admin-table-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: auto;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1200px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #e5ebf2;
  padding: 10px;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.admin-table th {
  background: #f1f5fa;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-page .contact-hero {
  animation: contactFade 0.6s ease both;
}

.contact-page .info-card,
.contact-page .map-box {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-page .info-card:hover,
.contact-page .map-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(20, 30, 42, 0.14);
}

@keyframes contactFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quote-page .quote-hero {
  animation: quoteHeroIn 0.65s ease both;
}

.quote-page .quote-form {
  position: relative;
  overflow: hidden;
  animation: quoteFormIn 0.75s ease both;
}

.quote-page .quote-form::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, rgba(247, 162, 27, 0.18), rgba(255, 127, 17, 0.08), rgba(247, 162, 27, 0.18));
  opacity: 0;
  z-index: 0;
  animation: quoteGlow 3.8s ease-in-out infinite;
}

.quote-page .quote-form > * {
  position: relative;
  z-index: 1;
}

.quote-page .quote-form label {
  opacity: 0;
  transform: translateY(10px);
  animation: quoteFieldIn 0.45s ease forwards;
}

.quote-page .quote-form label:nth-of-type(1) { animation-delay: 0.08s; }
.quote-page .quote-form label:nth-of-type(2) { animation-delay: 0.14s; }
.quote-page .quote-form label:nth-of-type(3) { animation-delay: 0.2s; }
.quote-page .quote-form label:nth-of-type(4) { animation-delay: 0.26s; }
.quote-page .quote-form label:nth-of-type(5) { animation-delay: 0.32s; }
.quote-page .quote-form label:nth-of-type(6) { animation-delay: 0.38s; }
.quote-page .quote-form label:nth-of-type(7) { animation-delay: 0.44s; }

.quote-page .quote-form .btn {
  opacity: 0;
  transform: translateY(10px);
  animation: quoteFieldIn 0.45s ease forwards;
  animation-delay: 0.5s;
}

@keyframes quoteHeroIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes quoteFormIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes quoteFieldIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes quoteGlow {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.2; }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .cards-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .products-hero-grid,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .category-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .simple-catalog {
    grid-template-columns: 1fr 1fr;
  }

  .iron-hero {
    grid-template-columns: 1fr;
  }

  .iron-spec-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    height: 76px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 77px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 20px;
    border-top: 1px solid var(--line);
  }

  .drop-trigger::after {
    margin-left: auto;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    min-width: 100%;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    border-radius: 0;
    display: none;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding-left: 20px;
    font-size: 14px;
  }

  .contact-link {
    white-space: normal;
  }

  .hero-grid,
  .split,
  .cards-grid,
  .timeline,
  .stats {
    grid-template-columns: 1fr;
  }

  .category-panel,
  .product-grid,
  .category-gallery,
  .simple-catalog,
  .iron-spec-grid {
    grid-template-columns: 1fr;
  }

  .products-visual {
    min-height: 240px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-box {
    padding: 30px 20px;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
}
