/* =========================================================
   01_FINAL – Shared Styles
   File: css/style.css
   ========================================================= */

/* =========================================================
   01. Root variables & base reset
   ========================================================= */

:root {
  /* Layout widths */
  --hero-width: min(1450px, 96vw);
  --content-width: min(1120px, 92vw);

  /* Colors */
  --ink: #181A1B;
  --accent: #C0D3D6;
  --bg-light: #F7F9FA;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  background: #ffffff;
  color: var(--ink);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================================
   02. Global typography helpers
   ========================================================= */

.text-muted {
  color: #555;
}

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

/* =========================================================
   03. Header / Navigation
   ========================================================= */

header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-inner {
  max-width: var(--hero-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 30px;
  display: block;
}

.nav-btn {
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid #ffffff;
  font-size: 14px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.nav-btn:hover {
  background: #ffffff;
  color: var(--ink);
}

/* =========================================================
   04. Hero section
   ========================================================= */

.hero {
  background: #ffffff;
  padding: 28px 0 52px;
}

.hero-inner {
  max-width: var(--hero-width);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0,0,0,0.28);
  min-height: clamp(380px, 60vh, 640px);
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0.40) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 0 40px 56px;
  color: #ffffff;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(44px, 4.7vw, 64px);
  max-width: 840px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* Hero CTAs */

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn-primary,
.hero-btn-secondary {
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
}

.hero-btn-primary {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

.hero-btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.hero-btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.75);
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.12);
}

/* =========================================================
   05. Hero tagline copy (under the video)
   ========================================================= */

.hero-copy {
  max-width: var(--hero-width);
  margin: 36px auto 56px;
  padding: 0 24px;
  text-align: center;
}

.accent-bar {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 20px;
  border-radius: 999px;
}

.tagline-main {
  font-size: 30px;
  font-weight: 600;
  max-width: 620px;
  margin: 0 auto 14px;
  letter-spacing: -0.01em;
}

.tagline-sub {
  color: #555;
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* =========================================================
   06. "See the difference" – before/after area
   ========================================================= */

.ba-wrap {
  background: var(--bg-light);
  padding: 72px 0 82px;
}

.ba-card {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 16px;
}

.ba-section {
  display: flex;
  gap: 44px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.ba-copy {
  flex: 1;
  min-width: 280px;
}

.ba-copy h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 4px;
}

.pill-row {
  display: flex;
  gap: 8px;
  margin: 18px 0 18px;
  flex-wrap: wrap;
}

.pill {
  padding: 7px 16px;
  border-radius: 6px;
  border: 1px solid #D5D8DA;
  background: #ffffff;
  cursor: pointer;
  font-size: 14px;
}

.pill.active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.service-headline {
  font-weight: 600;
  margin: 8px 0 6px;
  font-size: 16px;
}

.service-detail {
  font-size: 15px;
  color: #555;
  max-width: 440px;
}

.ba-media {
  flex: 1;
  min-width: 280px;
}

.ba-video-frame {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 18px 38px rgba(0,0,0,0.22);
}

.ba-video-frame::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 ratio placeholder */
}

.ba-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  border: none;
  background: transparent;
}

/* Before / After labels under the video */
.ba-label-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 4px 0;
  font-size: 13px;
  color: var(--ink);
  opacity: 0.8;
}

.ba-label-row span {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about {
  width: 100%;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.about__content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
}

.about__figure {
  flex-shrink: 0;
}

.about__photo {
  width: 220px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.about__caption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #777;
}

.about__text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about__text p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-cta-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.about-cta-link:hover {
  background: #ffffff;
  color: var(--ink);
}

/* Responsive about layout */

@media (max-width: 700px) {
  .about__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about__photo {
    width: 180px;
    margin-bottom: 0.25rem;
  }

  .about__text p {
    text-align: left;
  }
}

/* =========================================================
   07. CTA strip
   ========================================================= */

.cta-section {
  background: var(--accent);
}

.cta-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 32px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-inner h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cta-inner p {
  font-size: 15px;
  color: var(--ink);
}

.cta-btn {
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
}

.cta-btn:hover {
  background: #ffffff;
  color: var(--ink);
}

/* =========================================================
   08. Footer
   ========================================================= */

.site-footer {
  border-top: 1px solid #F0F1F2;
  padding: 28px 16px 40px; /* top | sides | bottom */
}

.footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px; /* space between logo and text */
  color: #777;
  font-size: 12px;
}

.footer-logo {
  height: 25px; /* your chosen size */
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}

.footer-link {
  text-decoration: none;
  opacity: 0.8;
  font-size: 12px;
}

.footer-link:hover {
  opacity: 1;
}

/* =========================================================
   09. Modal (Contact form) – still used on FAQ
   ========================================================= */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal--open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.modal__content {
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  max-width: 480px;
  width: 100%;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.16);
  z-index: 1001;
  font-size: 14px;
}

.modal__content h2 {
  margin-bottom: 4px;
  font-size: 20px;
}

.modal__subtitle {
  margin-bottom: 16px;
  font-size: 13px;
  color: #555;
}

.modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

#qualifyForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#qualifyForm input,
#qualifyForm select,
#qualifyForm textarea {
  border: 1px solid #D5D8DA;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}

.modal__submit {
  margin-top: 8px;
  padding: 9px 16px;
  border-radius: 6px;
  border: none;
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
}

/* =========================================================
   10. FAQ page layout
   ========================================================= */

.page-header {
  max-width: var(--content-width);
  margin: 40px auto 26px;
  padding: 0 16px;
}

.page-header h1 {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 15px;
  color: #555;
  max-width: 620px;
}

.faq-section {
  max-width: var(--content-width);
  margin: 0 auto 60px;
  padding: 0 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* FAQ group headers */
.faq-group-title {
  margin-top: 20px;
  padding-top: 12px;
  color: #7FA0A6;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Native <details>/<summary> for simple accordion */
.faq-item {
  border-radius: 8px;
  border: 1px solid #E1E4E7;
  background: #ffffff;
  padding: 0 14px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 0;
  font-weight: 600;
  font-size: 15px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "＋";
  float: right;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "–";
}

/* FAQ answer body padding */
.faq-item__body {
  padding-bottom: 12px;   /* gives the bottom the same breathing room as the top */
}

/* Paragraphs AND bullet text share the same size & rhythm */
.faq-item p,
.faq-item li {
  font-size: 14px;
  color: #555;
  line-height: 1.55;
}

/* Tidy bullets inside FAQ items */
.faq-item ul {
  margin: 6px 0 10px;
  padding-left: 20px;
}

.faq-item li {
  margin-bottom: 4px;
}

/* =========================================================
   11. Form grouping & hints
   ========================================================= */

.form-group {
  margin-top: 18px;
}

.form-group-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #777;
  margin-bottom: 6px;
}

.modal__content label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}

.modal__content label select,
.modal__content label input,
.modal__content label textarea {
  margin-top: 4px;
}

.field-hint {
  display: block;
  font-size: 12px;
  color: #777;
  margin: -4px 0 10px;
}

/* =========================================================
   12. Responsive adjustments
   ========================================================= */

@media (max-width: 1024px) {
  .hero {
    padding: 24px 0 40px;
  }
  .hero-content {
    padding-bottom: 44px;
  }
}

@media (max-width: 800px) {
  .hero-inner,
  .hero-copy {
    padding-left: 14px;
    padding-right: 14px;
  }

  .ba-card,
  .cta-inner,
  footer,
  .page-header,
  .faq-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-frame {
    border-radius: 16px;
    min-height: 420px;
  }

  .hero-content {
    padding: 0 22px 38px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .ba-section {
    flex-direction: column;
    align-items: center;
  }

  .ba-copy {
    text-align: center;
  }

  .ba-copy h2 {
    margin-left: auto;
    margin-right: auto;
  }

  .pill-row {
    justify-content: center;
  }

  .ba-media {
    width: 100%;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .page-header {
    text-align: center;
  }

  .page-header p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .modal__content {
    margin: 0 16px;
  }

  .tagline-main {
    font-size: 24px;
  }

  .form-group {
    margin-top: 14px;
  }

  .modal__content label {
    margin-bottom: 8px;
  }

  .field-hint {
    font-size: 11px;
    margin-bottom: 8px;
  }
}


/* =========================================================
   13. Contact page
   ========================================================= */

.contact-page {
  max-width: var(--content-width);
  margin: 40px auto 60px;
  padding: 0 16px;
}

.contact-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-copy {
  flex: 1;
  min-width: 260px;
}

.contact-copy h1 {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.contact-lead {
  font-size: 15px;
  color: #555;
  margin-bottom: 16px;
  max-width: 420px;
}

.contact-points {
  list-style: disc;
  padding-left: 18px;
  font-size: 14px;
  color: #555;
}

.contact-points li {
  margin-bottom: 6px;
}

.contact-card {
  flex: 1;
  min-width: 280px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  padding: 20px 18px 22px;
}

/* Hide honeypot field from real users */
.hp-field {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

/* Form layout */

.field-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.field-half {
  flex: 1;
}

.field-block {
  margin-bottom: 14px;
}

.contact-card label,
.field-label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 600; 
}

/* Make only the prompts bold, keep all input text normal */
.contact-card input,
.contact-card select,
.contact-card textarea,
.checkbox-item span,
.radio-item span,
.field-hint {
  font-weight: 400;
}

/* Inputs in contact card reuse visual language of modal */

.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  border: 1px solid #D5D8DA;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}

/* Checkbox / radio grids */

.checkbox-grid,
.radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 6px 12px;
  margin-top: 4px;
}

.checkbox-item,
.radio-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #333;
}

.checkbox-item input,
.radio-item input {
  width: auto;
}

/* Submit button */

.contact-submit {
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
}

.contact-submit:hover {
  background: #ffffff;
  color: var(--ink);
}

/* Responsive */

@media (max-width: 800px) {
  .contact-layout {
    flex-direction: column;
  }

  .contact-copy h1 {
    text-align: center;
  }

  .contact-lead {
    max-width: none;
  }
}