/* Axar Plastic Industries — site styles
   Brand colours: red #E01B12, green #009A34 (from the company logo). */

:root {
  --red: #e01b12;
  --red-dark: #b31510;
  --green: #009a34;
  --ink: #16191c;
  --body: #3d454d;
  --line: #e3e6e9;
  --bg: #ffffff;
  --bg-alt: #f6f7f8;
  --max: 1160px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.95rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

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

.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 48px 0; }

.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.rule {
  width: 60px;
  height: 4px;
  background: var(--red);
  border: 0;
  margin: 0 0 20px;
}
.section-head--center .rule { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: #007a29; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { border-color: #fff; color: #fff; background: transparent; }
.btn--light:hover { background: #fff; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.logo img { height: 48px; width: auto; }
.nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--red); }
.nav a.is-active { color: var(--red); border-bottom-color: var(--red); }
.header-cta { display: inline-block; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: #0d1012;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.hero__inner { position: relative; padding: 96px 0; max-width: 760px; }
.hero h1 { color: #fff; font-size: 3rem; }
.hero p { color: #e8eaec; font-size: 1.2rem; max-width: 620px; }
.hero .accent-bar {
  width: 84px; height: 5px; background: var(--red); margin-bottom: 24px;
}
.hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }

.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 66px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: #ccd1d6; margin: 0; max-width: 720px; }

/* ---------- Layout helpers ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 46px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius); border-bottom: 5px solid var(--green); }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  height: 100%;
}
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media img { aspect-ratio: 4 / 3; object-fit: cover; }
.card--media .card__body { padding: 24px; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.card__value-mark { width: 34px; height: 4px; background: var(--green); margin-bottom: 14px; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--green);
}
.checklist--red li::before { background: var(--red); }

.benefits { list-style: none; margin: 16px 0 0; padding: 0; }
.benefits li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: 0.96rem; }
.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.tag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tag {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

/* ---------- Reviews ---------- */
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 26px;
  height: 100%;
}
.review .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 16px; font-style: italic; color: var(--body); }
.review cite { font-style: normal; font-weight: 700; color: var(--ink); }

/* ---------- Service block (services page) ---------- */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-of-type { border-bottom: 0; }
.service-block:nth-child(even) .service-block__media { order: 2; }
.service-block__media img { border-radius: var(--radius); border-bottom: 5px solid var(--red); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; padding: 66px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ccd1d6; max-width: 720px; margin: 0 auto 24px; }
.cta-band .note { font-size: 0.92rem; color: #9aa3ab; margin-top: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: start; }
.info-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.info-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.info-card address { font-style: normal; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--ink); font-size: 0.92rem; margin-bottom: 6px; }
.field input,
.field textarea {
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 12px 13px;
  border: 1px solid #ccd2d8;
  border-radius: var(--radius);
  background: #fff;
}
.field input:focus,
.field textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.field textarea { min-height: 130px; resize: vertical; }
.req { color: var(--red); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.88rem; color: #6b747c; margin-top: 14px; }
.form-error {
  background: #fdecea;
  border: 1px solid var(--red);
  color: var(--red-dark);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.form-success {
  background: #e8f7ec;
  border: 1px solid var(--green);
  color: #056b26;
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 340px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c0c7; padding: 54px 0 0; font-size: 0.96rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #b9c0c7; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; }
.footer-logo { background: #fff; border-radius: var(--radius); padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 42px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding: 18px 0;
  font-size: 0.88rem;
  color: #8d959c;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .tag-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .service-block, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse .split__media,
  .service-block:nth-child(even) .service-block__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 52px 0; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 20px 18px; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav li:last-child { border-bottom: 0; }
  .nav a { display: block; padding: 13px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-header { position: relative; }
}
