/* ==========================================================================
   BURO landing page (start.html) + global footer
   Landing rules are scoped to .buro-landing so nothing leaks into the
   calculator flow pages. The footer block at the end of this file is global.
   Load AFTER the theme stylesheet.
   ========================================================================== */

.buro-landing {
  /* brand tokens */
  --buro-blue: #2a6ab7;
  --buro-blue-dark: #00367b;
  --buro-blue-light: #4e9be8;
  --buro-ink: #0b1b2e;
  --buro-ink-soft: #12283f;
  --buro-surface: #f2f6fb;
  --buro-line: #dbe4ef;
  --buro-text: #253449;
  --buro-text-muted: #5b6b80;

  --buro-radius: 14px;
  --buro-section-y: 4.5rem;

  color: var(--buro-text);
}

/* Numeric values, dimensions and specs: house font, but aligned digits. */
.buro-landing .buro-fact-value,
.buro-landing .buro-step-num,
.buro-landing .buro-badge {
  font-variant-numeric: tabular-nums lining-nums;
}

/* Fixed header offset for in-page anchors */
.buro-landing section[id] {
  scroll-margin-top: 90px;
}

/* --------------------------------------------------------------------------
   Shared section rhythm
   -------------------------------------------------------------------------- */

.buro-landing .buro-section {
  padding-top: var(--buro-section-y);
  padding-bottom: var(--buro-section-y);
  background-color: #fff;
}

.buro-landing .buro-section-light {
  background-color: var(--buro-surface);
}

.buro-landing .buro-section-dark {
  background-color: var(--buro-ink);
  color: rgba(255, 255, 255, 0.82);
}

/* The theme styles h1..h6 with element selectors, so inheriting white from a
   dark wrapper is not enough. Set the colour directly on the headline elements. */
.buro-landing .buro-section-dark h1,
.buro-landing .buro-section-dark h2,
.buro-landing .buro-section-dark h3,
.buro-landing .buro-section-dark .h1,
.buro-landing .buro-section-dark .h2,
.buro-landing .buro-hero h1 {
  color: #fff;
}

.buro-landing .buro-heading {
  color: var(--buro-ink);
}

.buro-landing .buro-section-dark .buro-heading {
  color: #fff;
}

.buro-landing .buro-lead {
  color: var(--buro-text-muted);
}

.buro-landing .buro-section-dark .buro-lead {
  color: rgba(255, 255, 255, 0.78);
}

.buro-landing .buro-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--buro-blue);
}

.buro-landing .buro-eyebrow-light {
  color: var(--buro-blue-light);
}

.buro-landing .buro-section-dark .buro-eyebrow {
  color: var(--buro-blue-light);
}

/* Signature element: a dimension line borrowed from technical drawings. */
.buro-landing .buro-gauge {
  display: block;
  width: 132px;
  height: 13px;
  margin: 1.1rem auto 0;
  border-bottom: 2px solid var(--buro-blue);
  background-image: repeating-linear-gradient(
    to right,
    var(--buro-blue) 0 1px,
    transparent 1px 22px
  );
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 22px 7px;
}

.buro-landing .buro-section-dark .buro-gauge {
  border-bottom-color: var(--buro-blue-light);
  background-image: repeating-linear-gradient(
    to right,
    var(--buro-blue-light) 0 1px,
    transparent 1px 22px
  );
}

/* --------------------------------------------------------------------------
   Icons
   -------------------------------------------------------------------------- */

.buro-landing .buro-icon,
.buro-landing .buro-icon-sm {
  fill: none;
  stroke: currentColor;
  flex: 0 0 auto;
}

.buro-landing .buro-icon {
  width: 30px;
  height: 30px;
  color: var(--buro-blue);
}

.buro-landing .buro-icon-sm {
  width: 20px;
  height: 20px;
  vertical-align: -0.22em;
  margin-right: 0.45rem;
}

/* --------------------------------------------------------------------------
   Buttons on dark backgrounds
   (light sections keep the global .btn-primary / .btn-dark of the theme)
   -------------------------------------------------------------------------- */

.buro-landing .buro-btn-light {
  color: #fff;
  background-color: var(--buro-blue);
  border: 1px solid var(--buro-blue);
  font-weight: 600;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.9);
}

.buro-landing .buro-btn-light:hover,
.buro-landing .buro-btn-light:focus,
.buro-landing .buro-btn-light:active {
  color: #fff;
  background-color: var(--buro-blue-light);
  border-color: var(--buro-blue-light);
}

.buro-landing .buro-btn-outline-light {
  color: #fff;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.buro-landing .buro-btn-outline-light:hover,
.buro-landing .buro-btn-outline-light:focus,
.buro-landing .buro-btn-outline-light:active {
  color: var(--buro-ink);
  background-color: #fff;
  border-color: #fff;
}

.buro-landing a:focus-visible,
.buro-landing .btn:focus-visible {
  outline: 3px solid var(--buro-blue-light);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.buro-landing .buro-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* fallback colour so the hero stays readable if the image is missing */
  background-color: var(--buro-ink);
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.buro-landing .buro-hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}

/* Darkens the left half only, so the photo stays visible on the right. */
.buro-landing .buro-hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(
    100deg,
    rgba(11, 27, 46, 0.95) 0%,
    rgba(11, 27, 46, 0.88) 42%,
    rgba(11, 27, 46, 0.55) 68%,
    rgba(11, 27, 46, 0.25) 100%
  );
}

.buro-landing .buro-hero-inner {
  position: relative;
}

.buro-landing .buro-hero-title {
  font-weight: 700;
  line-height: 1.14;
  text-wrap: balance;
}

/* Higher specificity than the h1 rule above, so the accent word keeps its colour. */
.buro-landing .buro-hero-title .buro-metal {
  background-image: linear-gradient(100deg, #8fc3f5 0%, #4e9be8 46%, #d6e8fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.buro-landing .buro-hero-lead {
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.85);
}

.buro-landing .buro-hero-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}

.buro-landing .buro-hero-note a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.buro-landing .buro-hero-note a:hover {
  color: var(--buro-blue-light);
}

.buro-landing .buro-hero-note-sep {
  margin: 0 0.4rem;
  color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   Key facts bar
   -------------------------------------------------------------------------- */

.buro-landing .buro-facts {
  background-color: #fff;
  border-bottom: 1px solid var(--buro-line);
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.buro-landing .buro-fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  height: 100%;
}

.buro-landing .buro-fact-value {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--buro-ink);
}

.buro-landing .buro-fact-label {
  font-size: 0.85rem;
  color: var(--buro-text-muted);
}

/* --------------------------------------------------------------------------
   Two paths
   -------------------------------------------------------------------------- */

.buro-landing .buro-path {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background-color: #fff;
  border: 1px solid var(--buro-line);
  border-top: 3px solid var(--buro-blue);
  border-radius: var(--buro-radius);
  box-shadow: 0 18px 40px -32px rgba(11, 27, 46, 0.55);
}

.buro-landing .buro-path h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--buro-ink);
  margin-bottom: 0.75rem;
}

.buro-landing .buro-path p {
  color: var(--buro-text-muted);
}

.buro-landing .buro-path-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
}

.buro-landing .buro-path-list li {
  padding: 0.35rem 0;
  color: var(--buro-text);
}

.buro-landing .buro-path-list .buro-icon-sm {
  color: var(--buro-blue);
}

.buro-landing .buro-path-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.buro-landing .buro-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.buro-landing .buro-step {
  padding-top: 1.1rem;
  border-top: 2px solid var(--buro-line);
}

.buro-landing .buro-step-num {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--buro-blue);
  margin-bottom: 0.5rem;
}

.buro-landing .buro-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--buro-ink);
  margin-bottom: 0.4rem;
}

.buro-landing .buro-step p {
  font-size: 0.92rem;
  color: var(--buro-text-muted);
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .buro-landing .buro-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .buro-landing .buro-steps {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Standard part configurator section
   The included partial brings its own layout — no grid class is applied here.
   -------------------------------------------------------------------------- */

.buro-landing .buro-config-lead {
  max-width: 44rem;
}

/* --------------------------------------------------------------------------
   Badges and service lists (dark section)
   -------------------------------------------------------------------------- */

.buro-landing .buro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.buro-landing .buro-badge {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background-color: var(--buro-ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.buro-landing .buro-svc-group {
  margin-bottom: 1.5rem;
}

.buro-landing .buro-svc-group h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 0.6rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.buro-landing .buro-svc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.buro-landing .buro-svc-list li {
  display: flex;
  align-items: flex-start;
  font-size: 0.92rem;
  padding: 0.3rem 0;
  color: rgba(255, 255, 255, 0.8);
}

.buro-landing .buro-svc-list .buro-icon-sm {
  color: var(--buro-blue-light);
  margin-top: 0.1rem;
}

/* --------------------------------------------------------------------------
   Application chips
   -------------------------------------------------------------------------- */

.buro-landing .buro-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.buro-landing .buro-chip {
  padding: 0.5rem 1rem;
  font-size: 0.92rem;
  color: var(--buro-blue-dark);
  background-color: var(--buro-surface);
  border: 1px solid var(--buro-line);
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   SEO text block — full section width, two columns below the intro
   -------------------------------------------------------------------------- */

.buro-landing .buro-seo {
  max-width: 68rem;
  margin: 0 auto;
}

.buro-landing .buro-seo p {
  color: var(--buro-text-muted);
}

.buro-landing .buro-seo-intro {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.buro-landing .buro-seo-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2.5rem;
}

.buro-landing .buro-seo-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--buro-ink);
  margin-bottom: 0.7rem;
}

@media (max-width: 767.98px) {
  .buro-landing .buro-seo-cols {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.buro-landing .buro-cta {
  padding-top: var(--buro-section-y);
  padding-bottom: var(--buro-section-y);
}

.buro-landing .buro-cta h2 {
  color: #fff;
}

.buro-landing .buro-cta-lead {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   Reveal animation — content is visible by default, motion is opt-in
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .buro-landing .buro-reveal {
    animation: buro-fade-up 0.6s ease-out both;
  }

  .buro-landing .buro-delay-1 { animation-delay: 0.08s; }
  .buro-landing .buro-delay-2 { animation-delay: 0.16s; }
  .buro-landing .buro-delay-3 { animation-delay: 0.24s; }
  .buro-landing .buro-delay-4 { animation-delay: 0.32s; }

  @keyframes buro-fade-up {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */

@media (max-width: 767.98px) {
  .buro-landing {
    --buro-section-y: 3rem;
  }

  .buro-landing .buro-hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .buro-landing .buro-hero-veil {
    background-image: linear-gradient(
      180deg,
      rgba(11, 27, 46, 0.9) 0%,
      rgba(11, 27, 46, 0.86) 100%
    );
  }

  .buro-landing .buro-hero .btn,
  .buro-landing .buro-cta .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Global footer (base.html) — shown on every page, not scoped to the landing
   ========================================================================== */

.buro-footer {
  --buro-footer-blue: #4e9be8;
  --buro-footer-line: rgba(255, 255, 255, 0.12);

  background-color: #0b1b2e;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 3.25rem;
  padding-bottom: 1.5rem;
  font-size: 0.92rem;
}

.buro-footer .buro-footer-cols {
  row-gap: 2.25rem;
}

/* Thin accent rule above the brand column, echoes the landing gauge */
.buro-footer .buro-footer-name {
  display: block;
  padding-top: 0.85rem;
  border-top: 2px solid var(--buro-footer-blue);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.buro-footer .buro-footer-claim {
  margin: 0.75rem 0 1rem;
  max-width: 24rem;
  color: rgba(255, 255, 255, 0.62);
}

.buro-footer .buro-footer-address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.buro-footer .buro-footer-title {
  display: block;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--buro-footer-line);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--buro-footer-blue);
}

.buro-footer .buro-footer-links,
.buro-footer .buro-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.buro-footer .buro-footer-links li {
  padding: 0.22rem 0;
}

.buro-footer .buro-footer-contact li {
  padding: 0.28rem 0;
}

.buro-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.buro-footer a:hover,
.buro-footer a:focus {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.buro-footer a:focus-visible {
  outline: 2px solid var(--buro-footer-blue);
  outline-offset: 3px;
}

.buro-footer .buro-footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.buro-footer .buro-footer-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  flex: 0 0 auto;
  color: var(--buro-footer-blue);
}

.buro-footer .buro-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--buro-footer-line);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767.98px) {
  .buro-footer {
    padding-top: 2.5rem;
    text-align: left;
  }

  .buro-footer .buro-footer-bottom {
    justify-content: flex-start;
  }
}
