/* SEO landing pages (page.php). Relies on variables from style.css. */

.pg-hero {
  background: var(--orange);
  background-image:
    radial-gradient(ellipse at 85% 0%, #F97316 0%, transparent 50%),
    radial-gradient(ellipse at 5% 100%, #C44600 0%, transparent 50%);
  padding: 120px 28px 64px;
  position: relative;
}
.pg-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255,255,255,.10) 1.5px, transparent 0);
  background-size: 28px 28px;
}
.pg-hero-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.pg-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; font-size: 13px; }
.pg-crumbs li { color: rgba(255,255,255,.7); }
.pg-crumbs li + li::before { content: '›'; margin-right: 6px; color: rgba(255,255,255,.5); }
.pg-crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.pg-crumbs a:hover { text-decoration: underline; }
.pg-eyebrow {
  display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  color: #fff; border-radius: 999px; padding: 6px 16px; margin-bottom: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
}
.pg-hero h1 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 900; color: #fff;
  line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 18px;
}
.pg-lead { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.85); max-width: 720px; margin-bottom: 30px; }
.pg-meta { font-size: 14px; color: rgba(255,255,255,.75); }
.pg-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.pg-btn {
  display: inline-block; text-align: center; text-decoration: none;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  padding: 14px 26px; border-radius: 12px; transition: background .18s, transform .18s, box-shadow .18s;
}
.pg-btn:hover { transform: translateY(-2px); }
.pg-btn-white { background: #fff; color: var(--orange); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.pg-btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.pg-btn-ghost:hover { background: rgba(255,255,255,.22); }
.pg-btn-orange { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.pg-btn-orange:hover { background: var(--orange-press); }
.pg-btn-outline { background: #fff; color: var(--dark); border: 1.5px solid #ddd; }
.pg-btn-outline:hover { border-color: #aaa; }

.pg-wrap {
  max-width: var(--max-w); margin: 0 auto; padding: 64px 28px 24px;
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start;
}
.pg-content { min-width: 0; }
.pg-sec { margin-bottom: 44px; }
.pg-sec h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; color: var(--dark); letter-spacing: -.6px; line-height: 1.2; margin-bottom: 16px; }
.pg-sec p { font-size: 17px; line-height: 1.8; color: var(--body); margin-bottom: 14px; }
.pg-sec a { color: var(--orange); font-weight: 600; text-decoration: none; }
.pg-sec a:hover { text-decoration: underline; }
.pg-sec strong { color: var(--dark); }
.pg-list, .pg-steps { margin: 4px 0 0 0; padding: 0; list-style: none; }
.pg-list li {
  position: relative; padding: 0 0 0 30px; margin-bottom: 12px;
  font-size: 17px; line-height: 1.7; color: var(--body);
}
.pg-list li::before {
  content: '✓'; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  background: rgba(230,81,0,.1); color: var(--orange); border-radius: 50%;
  font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.pg-steps { counter-reset: step; }
.pg-steps li {
  position: relative; padding: 4px 0 4px 52px; margin-bottom: 16px; min-height: 36px;
  font-size: 17px; line-height: 1.7; color: var(--body); counter-increment: step;
}
.pg-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px;
  background: var(--orange); color: #fff; border-radius: 50%; font-weight: 900; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}

.pg-aside { position: sticky; top: 96px; }
.pg-aside-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 20px; padding: 28px 24px; }
.pg-aside-card h2 { font-size: 20px; font-weight: 900; color: var(--dark); margin-bottom: 10px; letter-spacing: -.3px; }
.pg-aside-card p { font-size: 14px; line-height: 1.7; color: var(--body); margin-bottom: 18px; }
.pg-aside-card .pg-btn { display: block; margin-bottom: 10px; }
.pg-aside-track { display: block; text-align: center; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--orange); text-decoration: none; }

.pg-faq details {
  border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; margin-bottom: 12px; background: #fff;
}
.pg-faq summary {
  cursor: pointer; padding: 18px 0; font-size: 17px; font-weight: 700; color: var(--dark);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--orange); flex-shrink: 0; }
.pg-faq details[open] summary::after { content: '–'; }
.pg-faq details p { padding-bottom: 18px; margin: 0; font-size: 16px; }

.pg-area-grid, .pg-card-grid, .pg-contact-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.pg-area-card { border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; background: #fff; }
.pg-area-card h3 { font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.pg-area-card p { font-size: 14px; line-height: 1.6; margin: 0; }

.pg-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pg-chips li {
  background: rgba(230,81,0,.07); border: 1px solid rgba(230,81,0,.16); color: var(--dark);
  border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600;
}
.pg-chips-links li { padding: 0; }
.pg-chips-links a { display: block; padding: 8px 16px; color: var(--dark); text-decoration: none; font-weight: 600; }
.pg-chips-links li:hover { background: var(--orange); }
.pg-chips-links li:hover a { color: #fff; }

.pg-related { background: var(--bg-alt); padding: 56px 28px; margin-top: 32px; }
.pg-services-strip { padding: 48px 28px 64px; }
.pg-related-inner { max-width: var(--max-w); margin: 0 auto; }
.pg-related h2, .pg-services-strip h2 { font-size: 26px; font-weight: 900; color: var(--dark); letter-spacing: -.5px; margin-bottom: 22px; }
.pg-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-content .pg-card-grid { grid-template-columns: 1fr; }
.pg-card {
  display: block; background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 22px; text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.pg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.pg-card-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.pg-card h3 { font-size: 17px; font-weight: 800; color: var(--dark); line-height: 1.3; margin-bottom: 8px; }
.pg-card p { font-size: 14px; line-height: 1.65; color: var(--body); margin-bottom: 12px; }
.pg-card-more { font-size: 14px; font-weight: 700; color: var(--orange); }

.pg-contact-card {
  display: block; text-decoration: none; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 22px; transition: transform .2s, box-shadow .2s;
}
.pg-contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.pg-contact-card h3 { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.pg-contact-card p { font-size: 14px; color: var(--body); margin-bottom: 10px; }
.pg-contact-card span { font-weight: 700; color: var(--orange); font-size: 15px; word-break: break-all; }
.pg-address { margin-top: 24px; line-height: 1.8; }

.pg-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 28px 80px; }
.pg-404 h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 900; color: var(--dark); letter-spacing: -2px; margin-bottom: 12px; }
.pg-404 p { font-size: 18px; color: var(--body); margin-bottom: 28px; }
.pg-404 .pg-cta-row { justify-content: center; }

@media (max-width: 1000px) {
  .pg-wrap { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .pg-aside { position: static; order: 2; }
  .pg-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .pg-hero { padding: 100px 20px 48px; }
  .pg-wrap { padding: 40px 20px 16px; }
  .pg-area-grid, .pg-card-grid, .pg-contact-grid { grid-template-columns: 1fr; }
  .pg-related, .pg-services-strip { padding-left: 20px; padding-right: 20px; }
  .pg-lead { font-size: 16px; }
  .pg-cta-row .pg-btn { flex: 1 1 100%; }
}

/* ── Home page additions ─────────────────────────── */
h1.hero-title { font-size: clamp(38px, 5vw, 64px); letter-spacing: -2px; line-height: 1.04; }
.hero-title-soft { color: rgba(255,255,255,.78); }
.hero-cta { margin-bottom: 36px; }
.svc-name a { color: inherit; text-decoration: none; }
.svc-name a:hover { color: var(--orange); }
.home-svc-links { justify-content: center; margin-top: 36px; }
.home-seo, .home-areas { padding: 80px 28px; }
.home-areas { background: var(--bg-alt); }
.home-seo-inner { max-width: 900px; margin: 0 auto; }
.home-seo-inner p { font-size: 17px; line-height: 1.8; color: var(--body); margin-bottom: 16px; }
.home-seo-inner p a { color: var(--orange); font-weight: 600; text-decoration: none; }
.home-seo-inner p a:hover { text-decoration: underline; }
.home-areas .pg-chips { margin-top: 22px; }
@media (max-width: 600px) {
  .home-seo, .home-areas { padding: 56px 20px; }
}

/* Mobile/tablet: keep the H1 and CTAs above the fold, app mockup below the copy */
@media (max-width: 1000px) {
  .hero { align-items: flex-start; }
  .hero-app-mockup { order: 2 !important; }
  .hero-app-img { max-width: 260px !important; max-height: 460px !important; }
}
