/* ============================================================
   REBOOT HOMES — 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 {
  --blue:       #5ACCFA;
  --blue-dark:  #3ab8e8;
  --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(--blue); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-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(--blue); }
.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(--blue); }
.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(--blue); }
.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(--blue); }
.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-blue {
  background: var(--blue);
  color: var(--black);
  border: none;
  padding: 0.875rem 1.75rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  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(90, 204, 250, 0.4);
  display: inline-block;
}
.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90, 204, 250, 0.5);
  color: var(--black);
}
.btn-blue: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; }
.container-narrow { max-width: 750px; 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; }
.section-black .section-header h2 { color: var(--blue); }
.section-light .section-header h2 { color: var(--black); }
.section-light .section-header p { color: var(--gray-700); }
.text-blue   { color: var(--blue); }
.text-dark   { color: var(--gray-700); }
.text-muted  { color: var(--gray-400); }
.text-black  { color: var(--black); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}
.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: 800px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--blue);
  margin-bottom: 1.5rem;
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #d1d5db;
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* ── ICON BADGE ── */
.icon-badge {
  width: 80px;
  height: 80px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.icon-badge svg {
  width: 36px; height: 36px;
  stroke: var(--blue); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
/* Light background variant — border and icon use blue, no change needed visually */
.icon-badge-light {
  border-color: var(--blue);
}
.icon-badge-light svg {
  stroke: var(--blue);
}

/* ── CONTENT SECTION ── */
.content-section { text-align: center; }
.content-section h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--blue); margin-bottom: 1.5rem; }
.content-section p { color: #d1d5db; font-size: 1rem; line-height: 1.8; margin-bottom: 1rem; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ── BULLET LIST ── */
.bullet-list { list-style: none; text-align: left; max-width: 500px; margin: 1.5rem auto 0; display: flex; flex-direction: column; gap: 0.6rem; }
.bullet-list li { display: flex; align-items: center; gap: 0.75rem; color: #d1d5db; font-size: 0.95rem; }
.bullet-list-dark li { color: var(--gray-700); }
.check-blue { color: #5ACCFA; font-weight: 700; flex-shrink: 0; }

/* ── STEPS (How it Works) ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 1rem; }
.step-card { text-align: center; padding: 2rem 1.5rem; background: var(--white); border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: box-shadow 0.3s, transform 0.3s; }
.step-card:hover { box-shadow: 0 8px 30px rgba(90,204,250,0.15); transform: translateY(-4px); }
.step-number { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: var(--white); font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.step-card h3 { font-size: 1rem; color: var(--black); margin-bottom: 0.75rem; }
.step-card p { color: var(--gray-700); font-size: 0.9rem; line-height: 1.7; }

/* ── 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.06); }
.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-item.open .faq-question span.q-text { color: var(--blue); }
.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(--blue); }
.faq-item.open { border-color: var(--blue); }
.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; }

/* ── VALUES GRID ── */
.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; }

/* ── 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; }

/* ── PROSE ── */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 2rem; color: var(--black); }
.prose p { color: var(--gray-700); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }

/* ── CONTACT FORM ── */
.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); font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.75rem; }
.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(--blue); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.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(--blue);
  box-shadow: 0 0 0 3px rgba(90, 204, 250, 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-group select option { background: var(--white); color: var(--black); }

/* ── CHECKBOXES ── */
.checkbox-group { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.25rem; }
.checkbox-group label { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--gray-700); cursor: pointer; font-family: 'Open Sans', sans-serif; font-weight: 400; }
.checkbox-group input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }

.btn-submit {
  width: 100%; background: var(--blue); 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(--blue-dark); }
.success-state { text-align: center; padding: 3rem 1rem; }
.success-icon { width: 80px; height: 80px; background: var(--blue); 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(--blue); 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(--blue-dark); }

/* ── PAGE HEADER ── */
.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; }

/* ── DIVIDER ── */
.section-divider { border: none; border-top: 1px solid #1f2937; margin: 0; }

/* ── SERVICE CARDS ── */
.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.08); transition: box-shadow 0.3s, transform 0.3s; }
.service-card:hover { box-shadow: 0 8px 30px rgba(90,204,250,0.15); transform: translateY(-4px); }
.service-card-body { padding: 1.75rem; }
.service-card-body h3 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--black); }
.service-card-body p { color: var(--gray-700); font-size: 0.95rem; line-height: 1.7; }
.service-card-icon { width: 48px; height: 48px; background: var(--blue); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.service-card-icon svg { width: 26px; height: 26px; stroke: var(--white); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── CITIES ── */
.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; }

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

/* ── 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(--blue); }
.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(--blue); }
.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(--blue); }
.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; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 1.5rem; }
  .privacy-card { padding: 1.5rem; }
}
