/* Roofie location-page skeleton prototype. */

.roofie-location-page {
  background: #fff;
  color: var(--site-ink);
}

.roofie-location-page * { box-sizing: border-box; }

.roofie-location-shell {
  width: min(1170px, calc(100% - 30px));
  margin: 0 auto;
}

.roofie-location-breadcrumbs {
  padding: 13px 0;
  border-bottom: 1px solid var(--site-border);
  background: var(--site-soft);
  font-size: 14px;
}

.roofie-location-breadcrumbs a { color: var(--site-muted); }
.roofie-location-breadcrumbs span { margin: 0 8px; color: var(--site-muted); }

.roofie-location-hero {
  --roofie-location-hero-image: url("../images/main-slider/image-1.jpg");
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 96px 0 88px;
  background-image:
    linear-gradient(90deg, rgba(var(--site-ink-rgb),.86) 0%, rgba(var(--site-ink-rgb),.72) 52%, rgba(var(--site-ink-rgb),.52) 100%),
    var(--roofie-location-hero-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
}

.roofie-location-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--site-ink-rgb),.04), rgba(var(--site-ink-rgb),.18));
}

.roofie-location-hero__inner,
.roofie-location-hero__content { position: relative; z-index: 1; }
.roofie-location-hero__content { max-width: 760px; }

.roofie-location-eyebrow {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--site-accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.roofie-location-hero .roofie-location-eyebrow { margin-bottom: 18px; }

.roofie-location-hero h1 {
  max-width: 780px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(52px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.02em;
}

.roofie-location-hero p {
  max-width: 610px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 18px;
  line-height: 1.6;
}

.roofie-location-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.roofie-location-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid var(--site-accent);
  border-radius: 4px;
  background: var(--site-accent);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}

.roofie-location-trust {
  background: var(--site-ink);
  color: #fff;
}

.roofie-location-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
}

.roofie-location-trust__item {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 14px;
  border-right: 1px solid rgba(255,255,255,.1);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.roofie-location-trust__item:last-child { border-right: 0; }

.roofie-location-trust__item b {
  width: 22px;
  height: 22px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--site-accent);
  color: #fff;
  font-size: 12px;
}

.roofie-location-section { padding: 92px 0; }
.roofie-location-section--soft { background: var(--site-soft); }
.roofie-location-section--warm { background: var(--site-warm); }

.roofie-location-split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(360px,.9fr);
  gap: 68px;
  align-items: center;
}

.roofie-location-section h2 {
  max-width: 740px;
  margin: 0 0 22px;
  color: var(--site-ink);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
}

.roofie-location-section h3 {
  margin: 0 0 12px;
  color: var(--site-ink);
  font-size: 23px;
  line-height: 1.18;
}

.roofie-location-placeholder-lines {
  display: grid;
  gap: 10px;
  max-width: 650px;
}

.roofie-location-placeholder-lines > span:empty:not([data-roofie-context-lead]) {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: var(--site-border);
}

.roofie-location-placeholder-lines > span:empty:not([data-roofie-context-lead]):nth-child(2) { width: 92%; }
.roofie-location-placeholder-lines > span:empty:not([data-roofie-context-lead]):nth-child(3) { width: 78%; }

.roofie-location-image-placeholder {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--site-edge);
  border-radius: 7px;
  background: linear-gradient(135deg,var(--site-soft),var(--site-border));
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.roofie-location-services {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  margin-top: 36px;
}

.roofie-location-service-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--site-border);
  border-radius: 7px;
  background: #fff;
}

.roofie-location-service-card__image {
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 5px;
  background: var(--site-soft);
  color: var(--site-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.roofie-location-service-card a {
  margin-top: auto;
  color: var(--site-accent);
  font-size: 14px;
  font-weight: 800;
}

.roofie-location-local-list {
  display: grid;
  gap: 11px;
  margin-top: 24px;
}

.roofie-location-local-list div {
  padding: 13px 15px;
  border-left: 3px solid var(--site-accent);
  background: #fff;
  font-weight: 700;
}

.roofie-location-process {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  margin-top: 38px;
}

.roofie-location-step {
  padding: 28px 22px;
  border-top: 3px solid var(--site-accent);
  background: #fff;
  box-shadow: 0 12px 30px rgba(var(--site-ink-rgb),.05);
}

.roofie-location-step strong {
  display: block;
  margin-bottom: 20px;
  color: var(--site-accent);
  font-size: 13px;
  letter-spacing: .08em;
}

.roofie-location-expect {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  margin-top: 36px;
}

.roofie-location-expect article {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--site-border);
  border-radius: 7px;
  background: #fff;
}

.roofie-location-faq {
  max-width: 900px;
  margin: 34px auto 0;
  border-top: 1px solid var(--site-border);
}

.roofie-location-faq details { border-bottom: 1px solid var(--site-border); }

.roofie-location-faq summary {
  position: relative;
  padding: 23px 46px 23px 0;
  list-style: none;
  cursor: pointer;
  color: var(--site-ink);
  font-size: 18px;
  font-weight: 800;
}

.roofie-location-faq summary::-webkit-details-marker { display: none; }
.roofie-location-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--site-edge);
  border-radius: 50%;
  color: var(--site-accent);
}
.roofie-location-faq details[open] summary::after { content: '−'; }
.roofie-location-faq__body { padding: 0 46px 22px 0; }

.roofie-location-cta {
  padding: 74px 0;
  background: var(--site-accent);
  color: #fff;
}

.roofie-location-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.roofie-location-cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(34px,4vw,48px);
}

.roofie-location-cta p { margin: 0; color: rgba(255,255,255,.88); }

.roofie-location-cta .roofie-location-btn {
  flex: 0 0 auto;
  border-color: #fff;
  background: #fff;
  color: var(--site-ink) !important;
}

.roofie-location-footer {
  padding: 54px 0 0;
  background: var(--site-ink);
  color: var(--site-onDark);
}

.roofie-location-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr .8fr .8fr 1fr;
  gap: 42px;
  padding-bottom: 42px;
}

.roofie-location-footer__logo img { max-width: 145px; height: auto; }
.roofie-location-footer__brand p { max-width: 390px; margin: 16px 0 0; color: var(--site-onDark); line-height: 1.7; }
.roofie-location-footer__label { padding-top: 4px; color: #fff; font-size: 18px; font-weight: 800; }

.roofie-location-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
}

.roofie-location-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.roofie-location-footer a { color: var(--site-onDark); }

@media (max-width: 991px) {
  .roofie-location-split { grid-template-columns: 1fr; gap: 38px; }
  .roofie-location-services,
  .roofie-location-process { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .roofie-location-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .roofie-location-breadcrumbs { display: none; }

  .roofie-location-hero {
    min-height: min(460px, calc(100svh - 84px));
    padding: 38px 0 34px;
    background-image:
      linear-gradient(90deg, rgba(var(--site-ink-rgb),.87) 0%, rgba(var(--site-ink-rgb),.75) 62%, rgba(var(--site-ink-rgb),.60) 100%),
      var(--roofie-location-hero-image);
    background-position: 28% center;
  }

  .roofie-location-hero__content { max-width: 355px; }
  .roofie-location-hero .roofie-location-eyebrow { margin-bottom: 11px; font-size: 12px; }
  .roofie-location-hero h1 { max-width: 350px; margin-bottom: 15px; font-size: clamp(43px,12vw,52px); line-height: 1; }
  .roofie-location-hero p { max-width: 330px; font-size: 15px; line-height: 1.42; }
  .roofie-location-hero__actions { margin-top: 21px; }
  .roofie-location-hero__actions .roofie-location-btn { min-height: 43px; padding: 9px 17px; font-size: 14px; }

  .roofie-location-section { padding: 68px 0; }
  .roofie-location-trust__grid,
  .roofie-location-services,
  .roofie-location-process,
  .roofie-location-expect,
  .roofie-location-footer__grid { grid-template-columns: 1fr; }

  .roofie-location-trust__item {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    text-align: left;
  }
  .roofie-location-trust__item:last-child { border-bottom: 0; }
  .roofie-location-image-placeholder { min-height: 240px; }
  .roofie-location-cta__inner,
  .roofie-location-footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .roofie-location-hero { min-height: min(440px, calc(100svh - 76px)); padding: 32px 0; background-position: 25% center; }
  .roofie-location-hero h1 { font-size: 43px; }
}

/* Factory-enhanced Roofie locality process and reassurance components. */
.roofie-location-step{display:flex;min-height:clamp(190px,16vw,235px);flex-direction:column}
.roofie-location-step h3{margin-bottom:14px}
.roofie-location-step [data-location-step-copy]{margin:0;color:var(--site-muted);font-size:15px;line-height:1.6}
.roofie-location-expect article{position:relative;min-height:220px;overflow:hidden;padding:34px 28px 30px 76px;border:0;border-top:3px solid var(--roofie-red,var(--site-accent));background:linear-gradient(145deg,#fff 0%,#fff 72%,var(--site-warm) 100%);box-shadow:0 14px 34px rgba(var(--site-ink-rgb),.07)}
.roofie-location-expect article::before{content:'✓';position:absolute;top:32px;left:26px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--roofie-red,var(--site-accent));color:#fff;font-size:14px;font-weight:900}
.roofie-location-expect article::after{content:'';position:absolute;right:-28px;bottom:-38px;width:100px;height:100px;border:18px solid rgba(var(--site-accent-rgb),.06);border-radius:50%}
.roofie-location-expect h3{position:relative;z-index:1;margin-bottom:14px}
.roofie-location-expect [data-copy-shape=concise-reassurance]{position:relative;z-index:1;display:block;color:var(--site-muted);font-size:15px;line-height:1.65}
