@charset "UTF-8";
/*
* Main SCSS entry point for RoofDoctor.
* Compile to ../css/main.css after customizing variables and components.
*/
:root {
  /* Brand tokens */
  --rd-teal: #007b83; /* Primary */
  --rd-red: #d72f32; /* Accent */
  --rd-charcoal: #2e3a3e; /* Dark Neutral */
  --rd-mist: #f5f8f7; /* Light Neutral */
  --rd-radius: 14px;
  --rd-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  /* Bootstrap variable overrides (scoped via :root) */
  --bs-primary: var(--rd-teal);
  --bs-dark: var(--rd-charcoal);
  --bs-light: var(--rd-mist);
  --bs-body-color: var(--rd-charcoal);
  --bs-link-color: var(--rd-teal);
  --bs-link-hover-color: #005f65;
  --bs-border-radius: var(--rd-radius);
  --bs-font-sans-serif: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

/* Typography mapping */
h1,
h2 {
  font-family: "Figtree", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 800;
}

h2,
h2[class] {
  font-weight: 900;
  color: var(--rd-teal);
}

h3,
h4 {
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

body,
p,
li {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

/* Utility helpers */
.text-charcoal {
  color: var(--rd-charcoal) !important;
}

.bg-mist {
  background: var(--rd-mist) !important;
}

.shadow-soft {
  box-shadow: var(--rd-shadow);
}

.rd-section {
  padding: 4rem 0;
}

.rd-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: #5d6a6e;
}

/* Buttons */
.btn-primary {
  background: var(--rd-teal);
  border-color: var(--rd-teal);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #00666d;
  border-color: #00666d;
}

.btn-accent {
  background: var(--rd-red);
  color: #fff;
  border: 1px solid var(--rd-red);
}

.btn-accent:hover,
.btn-accent:focus {
  background: #b02628;
  border-color: #b02628;
  color: #fff;
}

/* Form focus states */
.form-control:focus,
.form-select:focus {
  border-color: var(--rd-teal);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 131, 0.15);
}

/* Cards */
.rd-card {
  border: 1px solid #e7eded;
  border-radius: var(--rd-radius);
}

.rd-card .rd-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--rd-red);
  color: #fff;
}

.rd-step-number {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--rd-red);
  line-height: 1;
}

/* Section title */
.rd-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.rd-title:before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--rd-teal);
  border-radius: 2px;
}

/* Hero example */
.rd-hero {
  background: var(--rd-teal);
  color: #fff;
}

.rd-hero h1 {
  font-weight: 900;
}

.rd-hero .btn-primary {
  background: var(--rd-red);
  color: #fff;
  border-color: var(--rd-red);
}

.rd-hero .btn-primary:hover,
.rd-hero .btn-primary:focus {
  background: #b02628;
  color: #fff;
  border-color: #b02628;
}

.rd-hero .btn-outline-primary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.rd-hero .btn-outline-primary:hover,
.rd-hero .btn-outline-primary:focus {
  color: var(--rd-teal);
  background: #fff;
  border-color: #fff;
}

.rd-hero .badge {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Nav logo lockup (placeholder) */
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--rd-teal);
  display: inline-block;
  margin-right: 0.5rem;
  position: relative;
}

.logo-mark::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

/* Code chips */
.token {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.85rem;
  background: #f1f4f4;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.accordion-button:focus {
  border-color: var(--rd-teal);
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 131, 0.25);
}

.accordion-button:not(.collapsed) {
  background: var(--rd-teal);
  color: #fff;
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

/* List styles */
.rd-list-cross {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rd-list-cross li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}

.rd-list-cross li::before {
  content: "✚";
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--rd-red);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

.rd-list-cross li:last-child {
  margin-bottom: 0;
}

/* Pulse divider */
.rd-pulse {
  width: 100%;
  height: 32px;
  display: block;
}

.rd-pulse svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rd-pulse--accent path {
  stroke: var(--rd-red);
}

.rd-pulse--teal path {
  stroke: var(--rd-teal);
}

.rd-pulse--sm {
  height: 20px;
}

.rd-pulse--lg {
  height: 48px;
}

/* Before/after slider */
.rd-before-after {
  --rd-before-after-position: 50;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--rd-radius);
  isolation: isolate;
}

.rd-before-after__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: inherit;
  background: #000;
  cursor: col-resize;
  user-select: none;
}

.rd-before-after__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.rd-before-after__before {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: calc(var(--rd-before-after-position) * 1%);
  clip-path: inset(0 calc(100% - var(--rd-before-after-position) * 1%) 0 0);
  border-right: 2px solid rgba(255, 255, 255, 0.8);
  z-index: 1;
}

.rd-before-after__before .rd-before-after__image {
  position: absolute;
  inset: 0;
}

.rd-before-after__handle {
  position: absolute;
  top: 50%;
  left: calc(var(--rd-before-after-position) * 1%);
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(46, 58, 62, 0.7);
  color: #fff;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: background 0.2s ease;
  z-index: 2;
}

.rd-before-after__handle-icon {
  font-size: 1.25rem;
}

.rd-before-after:focus-within .rd-before-after__handle,
.rd-before-after__media:hover .rd-before-after__handle {
  background: var(--rd-teal);
}

.rd-before-after__slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

.rd-before-after__slider::-webkit-slider-thumb {
  appearance: none;
  width: 1px;
  height: 1px;
}

.rd-before-after__slider::-moz-range-thumb {
  width: 1px;
  height: 1px;
  border: 0;
}

.navbar-light .navbar-toggler {
  border: 0;
  padding: 0.375rem;
}

.navbar-light .navbar-toggler:focus {
  box-shadow: none;
}

.navbar-light .navbar-toggler-icon {
  transition: background-image 0.2s ease-in-out;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(46,58,62,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-light .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (max-width: 575.98px) {
  .navbar .navbar-brand img {
    max-width: 240px;
  }
}

@media (max-width: 991.98px) {
  .navbar .rd-mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--rd-teal);
    padding: 6rem 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center !important;
    text-align: center;
    gap: 2.5rem;
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
    min-height: 100vh;
  }

  .navbar .rd-mobile-nav.show {
    display: flex !important;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .navbar .rd-mobile-nav .navbar-nav {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .navbar .rd-mobile-nav .nav-link {
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff !important;
  }

  .navbar .rd-mobile-nav .nav-link.active {
    text-decoration: underline;
  }

  .navbar .rd-mobile-nav .btn {
    background: #fff;
    color: var(--rd-teal);
    border: none;
    padding-inline: 1.75rem;
    font-weight: 600;
  }

  .navbar .navbar-toggler {
    z-index: 1050;
  }
}

/*# sourceMappingURL=main.css.map */
