/* ============================================================
   REBOOT AUTOMAT — Main Stylesheet
   ============================================================ */

@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/orbitron-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/open-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #2CB42C;
  --green-dark: #25a025;
  --black:      #000000;
  --gray-light: #F5F5F5;
  --gray-300:   #D1D5DB;
  --gray-400:   #9CA3AF;
  --gray-700:   #374151;
  --white:      #ffffff;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  line-height: 1.2;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dark); }

/* ── HEADER ── */
header {
  background: var(--black);
  border-bottom: 1px solid #1f2937;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo img { height: 50px; width: auto; object-fit: contain; }
nav.desktop { display: flex; align-items: center; gap: 2rem; }
nav.desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  transition: color 0.2s;
}
nav.desktop a:hover,
nav.desktop a.active { color: var(--green); }
.social-links { display: flex; align-items: center; gap: 1rem; }
.social-links a { color: var(--white); transition: color 0.2s; }
.social-links a:hover { color: var(--green); }
.social-links svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 4px;
}
.hamburger svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 1rem;
  border-top: 1px solid #1f2937;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  transition: color 0.2s;
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--green); }
.mobile-social { display: flex; gap: 1rem; padding-top: 0.5rem; }
.mobile-social a { color: var(--white); transition: color 0.2s; }
.mobile-social a:hover { color: var(--green); }
.mobile-social svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ── STICKY CTA ── */
.sticky-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
}

/* ── BUTTONS ── */
.btn-green {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 0.875rem 1.75rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(44, 180, 44, 0.4);
  display: inline-block;
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 180, 44, 0.5);
  color: var(--white);
}
.btn-green:active { transform: translateY(0); }

/* ── LAYOUT UTILITIES ── */
.section-black { background: var(--black); padding: 5rem 0; }
.section-light { background: var(--gray-light); padding: 5rem 0; }
.section-dark  { background: #0a0a0a; padding: 5rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

/* Headings inside dark sections use green */
.section-black .section-header h2 { color: var(--green); }
.section-black .service-detail-body h2 { color: var(--green); }

/* Headings inside light sections default to black */
.section-light .section-header h2 { color: var(--black); }
.section-light .section-header p   { color: var(--gray-700); }

/* Service detail headings in light sections */
.section-light .service-detail-body h2 { color: var(--black); }

/* FAQ heading */
.section-light .faq-question .q-text { color: var(--black); }
.text-green  { color: var(--green); }
.text-dark   { color: var(--gray-700); }
.text-muted  { color: var(--gray-400); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: #d1d5db;
  margin-bottom: 2rem;
}

/* ── PAGE HERO (shorter, interior pages) ── */
.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.page-hero-content h1 { font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 1rem; }
.page-hero-content p { font-size: 1.1rem; color: #d1d5db; }

/* ── PLAIN PAGE HEADER (no image) ── */
.page-header { background: var(--black); padding: 4rem 0; text-align: center; }
.page-header h1 { font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 1rem; }
.page-header p { font-size: 1.1rem; color: #d1d5db; }

/* ── SERVICE CARDS (Home) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}
.service-card-img {
  height: 220px;
  overflow: hidden;
  background: #111;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-body { padding: 1.5rem; }
.service-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--black);
}
.service-card-body p { color: var(--gray-700); font-size: 0.95rem; }

/* ── BENEFITS GRID ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.benefit-card {
  background: var(--gray-light);
  padding: 1.75rem;
  border-radius: 10px;
  transition: box-shadow 0.3s;
}
.benefit-card:hover { box-shadow: 0 4px 20px rgba(44,180,44,0.15); }
.benefit-icon { margin-bottom: 1rem; }
.benefit-icon svg {
  width: 32px; height: 32px;
  stroke: var(--green); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--black); }
.benefit-card p { color: var(--gray-700); font-size: 0.95rem; }

/* ── CITY TAGS ── */
.cities-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.city-tag {
  background: var(--white);
  color: var(--gray-700);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ── SERVICE DETAIL (Services page) ── */
.service-detail { padding: 5rem 0; }
.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.service-detail-img {
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}
.service-detail-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.service-detail-body h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.5rem;
}
.service-detail-body p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.95rem; }
.feature-list li .check { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 1rem; max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}
.faq-question:hover { background: #f9f9f9; }
.faq-question span.q-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.4;
}
.faq-chevron {
  color: var(--gray-400);
  transition: transform 0.3s, color 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-chevron svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--green); }
.faq-item.open { border-color: var(--green); }
.faq-item.open .faq-question span.q-text { color: var(--green); }
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── ABOUT ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.value-card { background: var(--gray-light); padding: 2rem; border-radius: 10px; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--black); }
.value-card p { color: var(--gray-700); font-size: 0.95rem; line-height: 1.7; }
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 2rem; color: var(--black); }
.prose h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--black); }
.prose p { color: var(--gray-700); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }

/* ── CTA SECTION ── */
.cta-section { text-align: center; }
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1.5rem; }
.cta-section p {
  font-size: 1.1rem;
  color: #d1d5db;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-form-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.contact-info-stack { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.contact-info-card h2 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--black); }
.contact-info-card p { color: var(--gray-700); margin-bottom: 0.75rem; font-size: 0.95rem; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--gray-700); font-size: 0.95rem; }
.checklist li .check { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--gray-700); margin-bottom: 0.4rem; }
.form-group label .req { color: #ef4444; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(44,180,44,0.15);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #ef4444; }
.form-group select option { background: var(--white); color: var(--black); }
.form-error { color: #ef4444; font-size: 0.8rem; margin-top: 0.3rem; }
.form-note { font-size: 0.8rem; color: #6b7280; text-align: center; margin-bottom: 1rem; }
.btn-submit {
  width: 100%;
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 0.875rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.btn-submit:hover { background: var(--green-dark); }
.success-state { text-align: center; padding: 3rem 1rem; }
.success-icon {
  width: 80px; height: 80px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.success-icon svg {
  width: 40px; height: 40px;
  fill: none; stroke: var(--white);
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.success-state h2 { font-size: 1.75rem; margin-bottom: 1rem; color: var(--black); }
.success-state p { color: var(--gray-700); margin-bottom: 1.5rem; }
.btn-reset {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-reset:hover { background: var(--green-dark); }

/* ── PRIVACY ── */
.privacy-card {
  background: var(--white);
  border-radius: 10px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: 0 auto;
}
.privacy-card h2 { font-size: 1.35rem; margin-bottom: 1rem; color: var(--black); }
.privacy-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--black); }
.privacy-card p { color: var(--gray-700); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.25rem; }
.privacy-section { margin-bottom: 2.5rem; }
.privacy-card a { color: var(--green); }
.privacy-card a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid #1f2937;
  padding: 3rem 0;
  text-align: center;
}
.footer-social { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 2rem; }
.footer-social a { color: var(--white); transition: color 0.2s; }
.footer-social a:hover { color: var(--green); }
.footer-social svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; margin-bottom: 2rem; }
.footer-nav a { font-size: 0.875rem; color: var(--gray-400); transition: color 0.2s; }
.footer-nav a:hover { color: var(--green); }
.footer-copy { font-size: 0.875rem; color: #6b7280; }

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }
.fade-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav.desktop, .social-links { display: none; }
  .hamburger { display: block; }
  .service-detail-inner { grid-template-columns: 1fr; }
  .service-detail-inner .order-swap { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 1.5rem; }
  .privacy-card { padding: 1.5rem; }
  .service-detail-img img { height: 260px; }
}
