/* ============================================================
   ALPINE ROOFING — CITY LANDING PAGE STYLES
   Dedicated stylesheet for all roofing-[city].html pages
   ============================================================ */

/* ── HERO ───────────────────────────────────────────────────── */
.cp-hero {
  position: relative;
  background: #0A0A0A;
  padding: 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.cp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cp-hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(232,114,12,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(232,114,12,.06) 0%, transparent 45%),
    linear-gradient(160deg, #111 0%, #0A0A0A 60%, #141414 100%);
}
.cp-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 39px,
    rgba(232,114,12,.04) 39px, rgba(232,114,12,.04) 40px
  ), repeating-linear-gradient(
    90deg, transparent, transparent 39px,
    rgba(232,114,12,.04) 39px, rgba(232,114,12,.04) 40px
  );
}

.cp-hero-inner {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  width: 100%;
}
.cp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(200,200,200,.45);
  font-family: var(--mono);
  margin-bottom: 32px;
}
.cp-breadcrumb a { color: rgba(232,114,12,.75); }
.cp-breadcrumb a:hover { color: #E8720C; }
.cp-breadcrumb span { color: rgba(200,200,200,.25); }

.cp-hero-content {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 60px;
  align-items: start;
}
.cp-hero-left {}

.cp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #E8720C;
  background: rgba(232,114,12,.1);
  border: 1px solid rgba(232,114,12,.25);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
  font-family: var(--mono);
}
.cp-badge-dot {
  width: 6px; height: 6px;
  background: #E8720C;
  border-radius: 50%;
  animation: cp-pulse 2s ease-in-out infinite;
}
@keyframes cp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}

.cp-h1-city {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(232,114,12,.8);
  font-family: var(--mono);
  margin-bottom: 12px;
}
.cp-hero-left h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.cp-hero-left h1 .cp-h1-main { display: block; }
.cp-hero-left h1 em { color: #E8720C; font-style: normal; }

.cp-hero-sub {
  font-size: 1.05rem;
  color: rgba(200,200,200,.72);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.cp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.cp-btn-lg {
  padding: 14px 28px !important;
  font-size: .95rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.cp-trust-row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(232,114,12,.15);
}
.cp-trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 24px 0 0;
}
.cp-trust-item strong {
  font-size: 1.1rem;
  font-weight: 900;
  color: #E8720C;
  line-height: 1;
}
.cp-trust-item span {
  font-size: .68rem;
  color: rgba(200,200,200,.5);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-family: var(--mono);
}
.cp-trust-divider {
  width: 1px;
  height: 32px;
  background: rgba(232,114,12,.2);
  margin: 0 24px 0 0;
  flex-shrink: 0;
}

/* ── HERO FORM CARD ─────────────────────────────────────────── */
.cp-hero-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(232,114,12,.15);
  position: sticky;
  top: 100px;
}
.cp-card-header {
  background: #0A0A0A;
  padding: 28px 32px 24px;
  border-bottom: 2px solid #E8720C;
}
.cp-card-badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(232,114,12,.8);
  font-family: var(--mono);
  margin-bottom: 10px;
}
.cp-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.25;
}
.cp-card-sub {
  font-size: .85rem;
  color: rgba(200,200,200,.6);
  line-height: 1.5;
}

.cp-form { padding: 28px 32px 32px; }
.cp-form-row { margin-bottom: 0; }
.cp-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cp-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.cp-form-group label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #444;
  font-family: var(--mono);
}
.cp-form-group input,
.cp-form-group select,
.cp-form-group textarea {
  border: 1.5px solid #E0E0E0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .92rem;
  color: #1A1A1A;
  background: #FAFAF8;
  transition: border-color .2s ease, box-shadow .2s ease;
  outline: none;
  font-family: inherit;
  cursor: auto !important;
}
.cp-form-group input:focus,
.cp-form-group select:focus,
.cp-form-group textarea:focus {
  border-color: #E8720C;
  box-shadow: 0 0 0 3px rgba(232,114,12,.12);
  background: #fff;
}
.cp-form-group textarea { resize: vertical; min-height: 80px; }

.cp-form-submit {
  width: 100%;
  background: #E8720C;
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 14px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
  margin-top: 4px;
  margin-bottom: 12px;
}
.cp-form-submit:hover {
  background: #C05A08;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232,114,12,.35);
}
.cp-form-note {
  font-size: .72rem;
  color: #888;
  text-align: center;
  line-height: 1.5;
  font-family: var(--mono);
}

/* ── CREDENTIALS STRIP ──────────────────────────────────────── */
.cp-creds {
  background: #141414;
  border-top: 1px solid rgba(232,114,12,.15);
  border-bottom: 1px solid rgba(232,114,12,.15);
  padding: 24px 0;
}
.cp-creds-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.cp-cred {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 32px;
}
.cp-cred-icon {
  width: 40px; height: 40px;
  background: rgba(232,114,12,.1);
  border: 1px solid rgba(232,114,12,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E8720C;
  flex-shrink: 0;
}
.cp-cred div { display: flex; flex-direction: column; gap: 1px; }
.cp-cred strong { font-size: .88rem; font-weight: 800; color: #fff; }
.cp-cred span { font-size: .68rem; color: rgba(200,200,200,.5); font-family: var(--mono); letter-spacing: .06em; }
.cp-cred-divider { width: 1px; height: 40px; background: rgba(232,114,12,.15); flex-shrink: 0; }

/* ── SECTION SHARED ─────────────────────────────────────────── */
.cp-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.cp-section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--ivory);
  margin: 12px 0;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.cp-section-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── WHY SECTION ────────────────────────────────────────────── */
.cp-why { padding: 96px 0; background: var(--bg); }
.cp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cp-why-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid rgba(232,114,12,.1);
  border-top: 3px solid #E8720C;
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
  overflow: hidden;
}
.cp-why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(232,114,12,.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
}
.cp-why-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.1); }
.cp-why-card:hover::before { opacity: 1; }
.cp-why-num {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: #E8720C;
  font-family: var(--mono);
  margin-bottom: 14px;
}
.cp-why-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ivory);
  margin-bottom: 10px;
  line-height: 1.3;
}
.cp-why-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── SERVICES ───────────────────────────────────────────────── */
.cp-services { padding: 96px 0; background: var(--bg-deep); }
.cp-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cp-service-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  border: 1px solid rgba(232,114,12,.1);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}
.cp-service-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,.1); }
.cp-service-featured {
  border-color: rgba(232,114,12,.3);
  border-top: 3px solid #E8720C;
  background: linear-gradient(160deg, #FFFBF7 0%, #fff 100%);
}
.cp-service-tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #E8720C;
  background: rgba(232,114,12,.1);
  border: 1px solid rgba(232,114,12,.2);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 18px;
  font-family: var(--mono);
  width: fit-content;
}
.cp-service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ivory);
  margin-bottom: 12px;
  line-height: 1.2;
}
.cp-service-card > p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.cp-service-list {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}
.cp-service-list li {
  padding: 9px 0;
  font-size: .88rem;
  color: var(--muted-2);
  border-bottom: 1px solid rgba(232,114,12,.08);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.cp-service-list li::before {
  content: '▸';
  color: #E8720C;
  font-size: .75rem;
  flex-shrink: 0;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: .88rem;
  font-weight: 700;
  border-radius: 10px;
  border: 2px solid #E8720C;
  color: #E8720C;
  background: transparent;
  transition: background .2s ease, color .2s ease;
  text-decoration: none;
  letter-spacing: .04em;
  cursor: pointer;
}
.btn-secondary:hover { background: #E8720C; color: #fff; }

/* ── PROCESS ────────────────────────────────────────────────── */
.cp-process {
  padding: 96px 0;
  background: #0A0A0A;
}
.cp-process .cp-section-header h2 { color: #fff; }
.cp-process .cp-section-sub { color: rgba(200,200,200,.6); }
.cp-process-steps {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}
.cp-process-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #E8720C, rgba(232,114,12,.1));
}
.cp-step {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}
.cp-step:last-child { margin-bottom: 0; }
.cp-step-num {
  width: 56px;
  height: 56px;
  background: #E8720C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 900;
  color: #fff;
  font-family: var(--mono);
  letter-spacing: .1em;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(232,114,12,.2), 0 8px 24px rgba(232,114,12,.3);
}
.cp-step-body { padding-top: 10px; }
.cp-step-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.cp-step-body p {
  font-size: .92rem;
  color: rgba(200,200,200,.65);
  line-height: 1.65;
}

/* ── REVIEWS ────────────────────────────────────────────────── */
.cp-reviews { padding: 96px 0; background: var(--bg); }
.cp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}
.cp-review {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid rgba(232,114,12,.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.cp-review:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.cp-review-featured {
  border-color: rgba(232,114,12,.3);
  border-top: 3px solid #E8720C;
  background: linear-gradient(160deg, #FFFBF7 0%, #fff 100%);
}
.cp-review-stars { color: #E8720C; font-size: 1rem; letter-spacing: 2px; }
.cp-review blockquote {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin: 0;
  border: none;
  padding: 0;
}
.cp-review-attr {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid rgba(232,114,12,.1);
  padding-top: 16px;
}
.cp-review-attr strong { font-size: .88rem; color: var(--ivory); font-weight: 700; }
.cp-review-attr span { font-size: .75rem; color: var(--muted-2); font-family: var(--mono); letter-spacing: .06em; }
.cp-reviews-cta { text-align: center; margin-top: 48px; }

/* ── FAQ ────────────────────────────────────────────────────── */
.cp-faq { padding: 96px 0; background: var(--bg-deep); }
.cp-faq-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
.cp-faq-left { position: sticky; top: 100px; }
.cp-faq-left h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--ivory);
  margin: 12px 0;
  line-height: 1.2;
}
.cp-faq-left p { font-size: .95rem; color: var(--muted); line-height: 1.6; }
.cp-faq-right { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(232,114,12,.1);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: rgba(232,114,12,.35); }
.faq-item summary {
  padding: 20px 24px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ivory);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.4;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: #E8720C;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq-item[open] summary::after {
  content: '−';
  transform: rotate(0deg);
}
.faq-item summary:hover { color: #E8720C; }
.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid rgba(232,114,12,.1);
}
.faq-answer p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
}

/* ── SERVICE AREAS STRIP ────────────────────────────────────── */
.cp-areas {
  padding: 60px 0;
  background: #0A0A0A;
  border-top: 1px solid rgba(232,114,12,.1);
}
.cp-areas .cp-section-header { margin-bottom: 32px; }
.cp-areas .eyebrow { color: rgba(232,114,12,.7); }
.cp-areas h2 { color: #fff; font-size: 1.6rem; margin: 8px 0 0; }
.cp-areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.cp-area-link {
  display: inline-block;
  padding: 9px 18px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(200,200,200,.75);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(232,114,12,.2);
  border-radius: 8px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cp-area-link:hover {
  background: rgba(232,114,12,.12);
  color: #E8720C;
  border-color: rgba(232,114,12,.4);
}

/* ── FINAL CTA ──────────────────────────────────────────────── */
.cp-final-cta {
  background: linear-gradient(160deg, #111 0%, #0A0A0A 100%);
  padding: 96px 0;
  border-top: 3px solid #E8720C;
}
.cp-final-cta-inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 60px;
  align-items: center;
}
.cp-final-cta-left .eyebrow { color: rgba(232,114,12,.75); }
.cp-final-cta-left h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  margin: 12px 0 16px;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.cp-final-cta-left p {
  font-size: .95rem;
  color: rgba(200,200,200,.65);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 36px;
}
.cp-final-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.cp-guarantee-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(232,114,12,.25);
  border-radius: 20px;
  padding: 36px 32px;
}
.cp-guarantee-icon {
  width: 64px; height: 64px;
  background: rgba(232,114,12,.12);
  border: 1px solid rgba(232,114,12,.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E8720C;
  margin-bottom: 20px;
}
.cp-guarantee-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.cp-guarantee-list {
  list-style: none;
  margin-bottom: 24px;
}
.cp-guarantee-list li {
  padding: 8px 0;
  font-size: .88rem;
  color: rgba(200,200,200,.7);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cp-guarantee-list li::before {
  content: '✓';
  color: #E8720C;
  font-weight: 900;
  font-size: .8rem;
  flex-shrink: 0;
}
.cp-guarantee-sig {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(232,114,12,.15);
}
.cp-guarantee-sig span {
  font-size: .75rem;
  font-weight: 700;
  color: #E8720C;
  font-family: var(--mono);
  letter-spacing: .08em;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cp-hero-content { grid-template-columns: 1fr; }
  .cp-hero-card { position: static; max-width: 540px; }
  .cp-final-cta-inner { grid-template-columns: 1fr; }
  .cp-faq-inner { grid-template-columns: 1fr; }
  .cp-faq-left { position: static; }
}
@media (max-width: 900px) {
  .cp-why-grid { grid-template-columns: 1fr 1fr; }
  .cp-services-grid { grid-template-columns: 1fr; }
  .cp-reviews-grid { grid-template-columns: 1fr; }
  .cp-creds-inner { gap: 0; justify-content: flex-start; }
  .cp-cred { padding: 8px 20px; }
}
@media (max-width: 640px) {
  .cp-hero { min-height: auto; }
  .cp-hero-inner { padding: 100px 0 60px; }
  .cp-why-grid { grid-template-columns: 1fr; }
  .cp-trust-row { gap: 16px; flex-direction: column; align-items: flex-start; }
  .cp-trust-divider { display: none; }
  .cp-form-row-2 { grid-template-columns: 1fr; }
  .cp-creds-inner { flex-direction: column; align-items: flex-start; }
  .cp-cred-divider { width: 40px; height: 1px; margin: 0; }
  .cp-process-steps::before { display: none; }
  .cp-step { gap: 20px; }
}
