/* === VARIABLES & RESET === */
:root {
  --bg-dark: #1a1a1a;
  --bg-light: #f4f4f4;
  --white: #ffffff;
  --accent: #ff4500; /* Safety Orange */
  --accent-hover: #ff6347;
  --text-main: #2c2c2c;
  --text-light: #666666;
  --border: #e0e0e0;
  --container: 1200px;
  --font-head: "Archivo", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}

/* === UTILS === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 100px 0;
}
.bg-dark {
  background-color: var(--bg-dark);
  color: #cccccc;
}
.bg-dark h2,
.bg-dark h3 {
  color: var(--white);
}
.bg-light {
  background-color: var(--bg-light);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 30px;
  letter-spacing: -1px;
}
h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 25px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  max-width: 700px;
}

.highlight {
  color: var(--accent);
}
.divider {
  width: 100px;
  height: 5px;
  background: var(--accent);
  margin-bottom: 30px;
}
.center {
  text-align: center;
  margin: 0 auto 60px;
  max-width: 900px;
}
.center-w {
  display: flex;
  justify-content: center;
}

/* === BUTTONS === */
.btn-accent {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 36px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateX(5px);
}

.btn-black {
  padding: 12px 24px;
  background: var(--bg-dark);
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-black:hover {
  opacity: 0.8;
}

.btn-outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border: 2px solid var(--text-main);
  color: var(--text-main);
  font-weight: 600;
  text-transform: uppercase;
}
.btn-outline:hover {
  background: var(--text-main);
  color: var(--white);
}

.full {
  width: 100%;
}
.link-bold {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.link-arrow {
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  display: inline-block;
  margin-top: 10px;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}
.h-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}
.logo-txt {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--text-main);
}
.d-nav {
  display: flex;
  gap: 40px;
}
.d-nav a {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.d-nav a:hover,
.d-nav a.active {
  color: var(--accent);
}
.h-act {
  display: flex;
  align-items: center;
  gap: 25px;
}
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* === MOBILE MENU === */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  padding: 25px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: 0.4s ease;
}
.menu-overlay.open {
  transform: translateX(0);
}
.mo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
.mo-logo {
  font-weight: 800;
  font-size: 1.5rem;
  font-family: var(--font-head);
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
}
.mo-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: auto;
}
.mo-list a {
  font-size: 1.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
}
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: #f4f4f4;
  z-index: -1;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}
.hl-icon {
  background: var(--text-main);
  color: var(--white);
  padding: 5px 10px;
  font-weight: 700;
  font-size: 0.8rem;
}
.hl-txt {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.hero-lead {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: var(--text-light);
}
.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-sub {
  font-size: 0.8rem;
  opacity: 0.6;
  border-left: 2px solid var(--accent);
  padding-left: 15px;
}

.stat-card {
  background: var(--white);
  padding: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
  position: relative;
}
.stat-card.main {
  max-width: 350px;
  margin-left: auto;
}
.sc-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #888;
}
.sc-val {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-head);
  color: var(--text-main);
}
.sc-meta {
  color: #4caf50;
  font-weight: 600;
  margin-top: 5px;
}
.stat-card.small {
  position: absolute;
  bottom: -30px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  font-weight: 700;
  border-left: 5px solid var(--accent);
}

/* === SECTIONS === */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.f-item {
  display: flex;
  gap: 20px;
}
.f-item i {
  min-width: 30px;
  color: var(--accent);
}
.f-item h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.f-item p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text-light);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}
.step-box:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}
.step-box.highlight {
  background: var(--accent);
  color: var(--white);
  border: none;
}
.step-box.highlight h3,
.step-box.highlight p {
  color: var(--white);
}
.step-idx {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-head);
  opacity: 0.3;
  display: block;
  margin-bottom: 20px;
  line-height: 1;
}
.step-box h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* Split */
.split-rev {
  display: flex;
  flex-direction: column-reverse;
  gap: 60px;
  align-items: center;
}
.img-side,
.txt-side {
  flex: 1;
}
.img-side {
  position: relative;
}
.img-side img {
  filter: grayscale(100%);
  transition: 0.5s;
}
.img-side:hover img {
  filter: grayscale(0%);
}
.float-stat {
  position: absolute;
  top: 30px;
  right: -30px;
  background: var(--accent);
  color: var(--white);
  padding: 20px;
  text-align: center;
}
.float-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-head);
  line-height: 1;
}
.label-sm {
  text-transform: uppercase;
  font-weight: 700;
  color: #888;
  font-size: 0.8rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  border-top: 2px solid var(--text-main);
  border-bottom: 2px solid var(--text-main);
  padding: 40px 0;
}
.stat-unit {
  text-align: center;
}
.su-num {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-head);
  margin-bottom: 5px;
}
.su-lbl {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  color: #888;
}

/* Content Box */
.content-box {
  background: var(--text-main);
  color: var(--white);
  padding: 60px;
  max-width: 800px;
  text-align: center;
  position: relative;
}
.content-box h2 {
  color: var(--white);
}
.box-act {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.act-note {
  font-size: 0.8rem;
  opacity: 0.5;
  text-transform: uppercase;
}

/* FAQ */
.faq-cont {
  max-width: 800px;
  margin: 0 auto;
}
.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-el {
  border-bottom: 1px solid #ddd;
}
.faq-trigger {
  width: 100%;
  padding: 20px 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-head);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-trigger:hover {
  color: var(--accent);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
}
.faq-content p {
  padding-bottom: 20px;
  color: var(--text-light);
  margin: 0;
}
.faq-el.active .faq-content {
  max-height: 200px;
}
.faq-el.active i {
  transform: rotate(45deg);
}

/* Form */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contacts-block {
  margin-top: 40px;
  border-top: 1px solid #ddd;
  padding-top: 30px;
}
.cb-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1.1rem;
}

.strict-form {
  background: var(--bg-light);
  padding: 50px;
  border: 1px solid #ddd;
}
.form-group {
  margin-bottom: 25px;
}
.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.form-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid #ddd;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: 0.3s;
}
.form-group input:focus {
  border-color: var(--text-main);
  outline: none;
}
.form-terms {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 0.85rem;
}
.form-terms a {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--text-main);
  color: #888;
  padding: 80px 0 20px;
}
.foot-flex {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.f-logo {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.f-link {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.foot-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 25px;
}
.foot-col a {
  display: block;
  margin-bottom: 12px;
  font-size: 0.9rem;
  transition: 0.3s;
}
.foot-col a:hover {
  color: var(--white);
}
.foot-copy {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}

/* Cookie */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  border-top: 2px solid var(--accent);
  padding: 20px;
  z-index: 5000;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
  display: none;
}
.cb-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
.btn-sm {
  padding: 8px 20px;
  background: var(--text-main);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .d-nav,
  .h-act .link-bold,
  .h-act .btn-black {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero-layout,
  .grid-2,
  .split-rev,
  .form-layout,
  .foot-flex {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-layout {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  } /* Hide on tablet/mobile for simplicity or move order */
  .steps-grid,
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stat-unit {
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
  }
  .content-box {
    padding: 40px 20px;
  }
  .cb-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .hero-bg {
    width: 100%;
    height: 50%;
    bottom: 0;
    top: auto;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }
  h1 {
    font-size: 2.2rem;
  }
  .float-stat {
    display: none;
  }
  .strict-form {
    padding: 30px 20px;
  }
}
.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    text-align: left;
    font-size: 20px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  h3 {
    font-size: 20px;
  }
  .margin {
    font-size: 28px;
  }
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-page-main {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--accent);
  margin-bottom: 30px;
  line-height: 1;
}

.cp-divider {
  width: 60px;
  height: 1px;
  background-color: var(--accent);
  margin: 0 auto 40px auto;
}

.cp-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  border: 1px solid var(--line);
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 60px;
  background: #fcfcfc;
}

.cp-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cp-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.cp-phone-link {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--accent);
  line-height: 1.2;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  margin-bottom: 40px;
}

.cp-phone-link:hover {
  border-bottom-color: var(--accent);
  opacity: 0.8;
}

.cp-address-box {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  width: 100%;
  max-width: 400px;
}

.cp-addr {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.cp-email {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 1rem;
}

.cp-email a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cp-email a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .contact-page-main {
    padding-top: 140px;
    text-align: center;
  }

  .cp-phone-link {
    font-size: 2rem;
  }
}
