/* Pamphlet-specific overrides on top of styles.css (full-site stylesheet) */

/* Fix off-brand orange tint on card icons — use brand blue */
.card__icon {
  background: rgba(75, 111, 165, 0.10);
}

/* Hero photo treatment: image set via inline style on .hero__bg, dark overlay from styles.css ::after stays */

/* Service teaser cards on the homepage */
.service-card .card__price {
  display: inline-block;
  background: var(--accent);
  color: var(--dark-bg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--space-md);
  text-transform: none;
}
.service-card .card__cta {
  display: inline-block;
  margin-top: var(--space-md);
  background: #F1E4A9;
  color: var(--dark-bg);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background var(--transition-fast), transform .2s var(--ease-out);
}
.service-card .card__cta:hover {
  background: #E8D88E;
  color: var(--dark-bg);
  transform: translateY(-1px);
}
.service-card ul {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 0;
}
.service-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-on-light-secondary);
  margin-bottom: 6px;
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

/* Deep service blocks (services.html) */
.service-deep {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--light-border);
}
.service-deep:last-of-type { border-bottom: none; }
@media (min-width: 860px) {
  .service-deep { grid-template-columns: 5fr 4fr; align-items: start; }
  .service-deep--reverse > .service-deep__body { order: 2; }
  .service-deep--reverse > .service-deep__sidebar { order: 1; }
}
.service-deep__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}
.service-deep__body h2 {
  margin-bottom: var(--space-md);
  color: var(--text-on-light);
}
.service-deep__body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-on-light-secondary);
  margin-bottom: var(--space-md);
}
.service-deep__sidebar {
  background: var(--light-card);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: sticky;
  top: 100px;
}
.service-deep__sidebar h4 {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}
.service-deep__price {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-on-light);
  margin-bottom: var(--space-xs);
  line-height: 1.1;
}
.service-deep__price-note {
  font-size: 13px;
  color: var(--text-on-light-secondary);
  margin-bottom: var(--space-lg);
}
.service-deep__quote-pitch {
  font-size: 15px;
  color: var(--text-on-light);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}
.service-deep__cta {
  display: block;
  width: 100%;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  transition: background var(--transition-fast);
  margin-bottom: var(--space-sm);
}
.service-deep__cta:hover {
  background: var(--primary-dark);
  color: var(--white);
}
.service-deep__email {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--text-on-light-secondary);
}
.service-deep__email:hover {
  color: var(--primary);
}

/* Inclusions list inside service-deep body */
.inclusions {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 600px) {
  .inclusions { grid-template-columns: 1fr 1fr; }
}
.inclusions li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--text-on-light);
  line-height: 1.5;
}
.inclusions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Pillars on Why Bravo */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .pillars { grid-template-columns: 1fr 1fr; }
}
.pillar {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border-top: 4px solid var(--accent);
}
.pillar__num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}
.pillar h3 {
  font-size: 22px;
  color: var(--text-on-light);
  margin-bottom: var(--space-sm);
}
.pillar p {
  color: var(--text-on-light-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* Process steps */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 920px;
  margin: 0 auto;
  counter-reset: step;
}
@media (min-width: 760px) {
  .process { grid-template-columns: repeat(3, 1fr); }
}
.process__step {
  position: relative;
  padding: var(--space-xl) var(--space-lg);
  background: var(--light-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-border);
}
.process__num {
  position: absolute;
  top: -18px;
  left: var(--space-lg);
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.process__step h4 {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: var(--text-on-light);
  font-size: 18px;
}
.process__step p {
  color: var(--text-on-light-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Trust facts */
.trust-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .trust-facts { grid-template-columns: repeat(3, 1fr); }
}
.trust-fact {
  background: var(--white);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}
.trust-fact strong {
  display: block;
  color: var(--primary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}
.trust-fact p {
  color: var(--text-on-light-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Card body should grow to push CTA to bottom on home teaser */
.service-card { display: flex; flex-direction: column; }
.service-card .card__cta { margin-top: auto; align-self: flex-start; }

/* Active nav highlighting consistency on dark header */
.site-header__nav a.active { color: var(--accent); }

/* Service photo at top of each service-deep__body */
.service-deep__photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Home page work strip — three captioned photos under the why-choose section */
.work-strip-wrap {
  background: var(--white);
  padding: var(--space-3xl) 0 var(--space-2xl);
}
.work-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .work-strip { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
}
.work-strip__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
}
.work-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.work-strip__item:hover img { transform: scale(1.04); }
.work-strip__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-lg);
  color: var(--white);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.work-strip__caption span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

/* Full-width photo divider (why-bravo page) */
.photo-divider {
  position: relative;
  height: clamp(280px, 40vw, 460px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.photo-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.30) 0%, rgba(10,10,10,0.55) 100%);
}
.photo-divider__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 64px);
  max-width: 1100px;
  margin: 0 auto;
}
.photo-divider__quote {
  color: var(--white);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.35;
  font-weight: 700;
  max-width: 640px;
}
.photo-divider__quote em {
  color: var(--accent);
  font-style: normal;
}

/* ─────────────────────────────────────────────────────────
   Mobile responsive fixes
   ───────────────────────────────────────────────────────── */

/* Long email addresses shouldn't blow out narrow viewports */
.contact-detail__link,
.footer-col a {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
  /* Keep "Email Us" button visible on mobile (parent rule hides it) */
  .site-header__cta .btn-primary {
    display: inline-flex !important;
    padding: 9px 16px;
    font-size: 13px;
    letter-spacing: 0.02em;
  }

  /* Footer grid: inline style "2fr 1fr 1fr" needs to collapse on mobile */
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-lg);
  }

  /* Service deep blocks: stack body THEN sidebar (override --reverse order) */
  .service-deep,
  .service-deep--reverse {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
  }
  .service-deep--reverse > .service-deep__body { order: 0; }
  .service-deep--reverse > .service-deep__sidebar { order: 1; }

  /* Sticky sidebar doesn't make sense on mobile single-column */
  .service-deep__sidebar { position: static; }

  /* Pillars stack single-col (already handled but reinforce gap) */
  .pillars { gap: var(--space-md); }
  .pillar { padding: var(--space-lg); }
  .pillar h3 { font-size: 19px; }

  /* Process & trust grids stack */
  .process__step { padding: var(--space-lg); }

  /* Inclusions list — single column on mobile */
  .inclusions { grid-template-columns: 1fr; gap: 6px; }
  .inclusions li { font-size: 14px; }

  /* Service teaser cards on home — single col, full bleed */
  .service-card { padding: var(--space-lg); }

  /* Contact page: process steps inside form col stack with tighter spacing */
  .contact-form-col .process { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* Phone (480px and below) */
@media (max-width: 480px) {
  /* Header — even tighter */
  .site-header__cta .btn-primary {
    padding: 8px 12px;
    font-size: 12px;
  }

  /* Footer fully stacks on phone */
  .site-footer .footer-grid {
    grid-template-columns: 1fr !important;
  }

  /* Hero h1: prevent over-narrow word breaks */
  .hero h1 { font-size: clamp(28px, 8vw, 36px); line-height: 1.2; }
  .hero__subtitle { font-size: 15px; }

  /* Pillar headings smaller */
  .pillar h3 { font-size: 18px; }
  .pillar p { font-size: 14px; }

  /* Trust fact cards smaller */
  .trust-fact { padding: var(--space-md); }

  /* Process step number bubble doesn't overlap padding */
  .process__step { padding-top: calc(var(--space-lg) + 8px); }

  /* Service-deep sidebar full width */
  .service-deep__sidebar { padding: var(--space-md); }
  .service-deep__price { font-size: 22px; }

  /* Section padding tighter */
  .service-deep { padding: var(--space-xl) 0; }
}
