/* ============================================================
   ACE UNLOCKS — Sub-page Styles (Services, About, Contact, Area)
   ============================================================ */

/* ── Page Hero ───────────────────────────────────────────── */
@keyframes hero-glow-breathe {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1;   }
}

.page-hero {
  background: var(--bg-dark);
  padding: 160px 40px 100px;
  position: relative;
  overflow: hidden;
}
/* Atmospheric red glow + subtle diagonal texture */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 88% 18%, rgba(214,40,40,0.18) 0%, transparent 68%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.013) 40px,
      rgba(255,255,255,0.013) 41px
    );
  pointer-events: none;
  z-index: 0;
  animation: hero-glow-breathe 8s ease-in-out infinite;
}
/* Bottom ellipse cut into page background */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: ellipse(60% 100% at 50% 100%);
  z-index: 1;
}
.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
/* Oversized decorative background word — set per-page via HTML */
.page-hero-wordmark {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-52%);
  font-family: var(--font);
  font-size: clamp(10rem, 22vw, 20rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--white);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}
.page-hero .section-label {
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-hero .section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 24px;
}
.page-hero h1 .h-line { display: block; }
.page-hero h1 em { font-style: normal; color: var(--red); }
.page-hero .hero-sub {
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 40px;
}
.page-hero .btn-red { margin-bottom: 0; }

/* ── CTA Band (shared with homepage) ────────────────────── */
.cta-band {
  background: var(--red);
  padding: 120px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 24px,
    rgba(0,0,0,0.04) 24px,
    rgba(0,0,0,0.04) 48px
  );
  pointer-events: none;
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-band-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}
.cta-band-headline {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 24px;
}
.cta-band-sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 52px;
  line-height: 1.5;
}
.cta-band .btn {
  background: var(--white);
  color: var(--red);
  font-size: 1.2rem;
  padding: 22px 52px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.20);
}
.cta-band .btn:hover {
  background: var(--yellow);
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.30);
}

/* ── Services page ───────────────────────────────────────── */
.services-main {
  background: var(--bg);
  padding: 100px 40px;
}
.services-detail-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.service-detail-card {
  background: var(--bg);
  padding: 52px 48px;
}
.service-detail-card:hover { background: var(--bg-off); }
.service-detail-card .service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 28px;
}
.service-detail-card .service-icon svg { width: 30px; height: 30px; }
.service-detail-card h2 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.1;
}
.service-detail-card .service-desc {
  font-size: 1.07rem;
  line-height: 1.75;
  color: var(--text-mid);
  font-weight: 500;
  margin-bottom: 24px;
}
.service-detail-card h4 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.service-detail-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-detail-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 500;
}
.service-detail-card li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* Additional services list */
.add-services {
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 48px;
  background: var(--bg-off);
  border-radius: var(--radius);
}
.add-services h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}
.add-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.add-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
}
.add-service-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ── About page ──────────────────────────────────────────── */
.about-story {
  background: var(--bg);
  padding: 100px 40px;
  overflow: hidden;
}
.about-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-body p {
  font-size: 1.0rem;
  line-height: 1.8;
  color: var(--text-mid);
  font-weight: 500;
  margin-bottom: 20px;
}
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--text); font-weight: 700; }
.about-image-stack { position: relative; }
.about-image-stack img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
}
.about-image-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--red);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 10px;
  text-align: center;
}
.about-image-badge .num { font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.about-image-badge .label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; margin-top: 4px; }

.credentials-section {
  background: var(--bg-off);
  padding: 80px 40px;
}
.credentials-inner { max-width: 1100px; margin: 0 auto; }
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: 52px;
}
.credential-item {
  background: var(--bg-off);
  padding: 40px 32px;
  text-align: center;
}
.credential-item svg { width: 40px; height: 40px; fill: var(--red); margin: 0 auto 18px; display: block; }
.credential-item h4 { font-size: 1rem; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.credential-item p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; font-weight: 500; }

/* ── Contact page ────────────────────────────────────────── */
.contact-main {
  background: var(--bg);
  padding: 80px 40px 100px;
  overflow: hidden;
}
.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 40px;
  line-height: 1.05;
}
.contact-big-call {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  background: var(--red);
  border-radius: var(--radius);
  text-decoration: none;
  margin-bottom: 32px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 24px rgba(214,40,40,0.30);
}
.contact-big-call:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(214,40,40,0.42); }
.contact-big-call svg { width: 28px; height: 28px; fill: var(--white); }
.contact-big-call div { flex: 1; }
.contact-big-call .call-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 4px; }
.contact-big-call .call-number { font-size: 1.6rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.contact-details { display: flex; flex-direction: column; gap: 0; }
.contact-detail-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail-row:last-child { border-bottom: none; }
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(214,40,40,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; fill: var(--red); }
.contact-detail-text { flex: 1; }
.contact-detail-text strong { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px; }
.contact-detail-text p, .contact-detail-text a { font-size: 0.95rem; font-weight: 600; color: var(--text); line-height: 1.5; transition: color 0.2s; }
.contact-detail-text a:hover { color: var(--red); }

/* Contact form */
.contact-form-wrap h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}
.contact-form-wrap .form-sub { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 32px; font-weight: 500; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--text-muted); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(214,40,40,0.10);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field select { cursor: pointer; }
.form-note { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; line-height: 1.5; }
.form-submit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 20px rgba(214,40,40,0.28);
  align-self: flex-start;
}
.form-submit:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(214,40,40,0.38); }
.form-submit svg { width: 18px; height: 18px; fill: currentColor; }

/* Map section */
.map-section { background: var(--bg-off); }
.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ── Service Area page ───────────────────────────────────── */
.sa-intro {
  background: var(--bg);
  padding: 80px 40px 100px;
}
.sa-grid {
  max-width: 1100px;
  margin: 0 auto;
}
.sa-neighborhoods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 52px;
}
.sa-neighborhood {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.2s ease;
}
.sa-neighborhood:hover { background: var(--bg-off); }
.sa-neighborhood h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sa-neighborhood h3::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.sa-neighborhood p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}
.sa-map-section { background: var(--bg-off); }
.sa-map-section iframe { width: 100%; height: 480px; border: none; display: block; }

/* ── Photo strip (interior pages) ────────────────────────── */
.photo-strip {
  background: var(--bg);
  padding: 0 40px 80px;
}
.photo-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.photo-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.photo-strip-item {
  background: var(--bg-off);
  position: relative;
  min-width: 0;
}
.photo-strip-item img,
.photo-strip-item video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: transform 0.4s ease;
}
.photo-strip-item:hover img,
.photo-strip-item:hover video { transform: scale(1.03); }
.photo-strip--uniform .photo-strip-item { overflow: hidden; }
.photo-strip--uniform .photo-strip-item img,
.photo-strip--uniform .photo-strip-item video {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  height: 100%;
}
.photo-strip-placeholder {
  border: 2px dashed var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  min-height: 200px;
}
.photo-strip-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.photo-strip-placeholder-inner svg { width: 28px; height: 28px; fill: var(--border); }
.photo-strip-placeholder-inner span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (max-width: 600px) {
  .photo-strip-grid { grid-template-columns: 1fr; }
  .photo-strip { padding: 0 20px 60px; }
}

/* ── 404 page ────────────────────────────────────────────── */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-dark);
  padding: 40px;
}
.not-found-inner { max-width: 500px; }
.not-found-num {
  font-size: clamp(8rem, 20vw, 14rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--red);
  margin-bottom: 24px;
  opacity: 0.3;
}
.not-found h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}
.not-found p { font-size: 1rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 40px; font-weight: 500; }
.not-found .btn-red { margin: 0 auto 16px; display: inline-flex; }

/* ── Responsive sub-pages ────────────────────────────────── */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr 1fr; }
  .sa-neighborhoods { grid-template-columns: 1fr 1fr; }
  .add-services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .cta-band { padding: 80px 24px; }
  .cta-band-headline { font-size: clamp(2.4rem, 10vw, 4rem); }
}

@media (max-width: 600px) {
  .page-hero { padding: 130px 20px 80px; }
  .page-hero h1 { font-size: clamp(2.4rem, 10vw, 4rem); }
  .form-row { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
  .sa-neighborhoods { grid-template-columns: 1fr; }
  .add-services-grid { grid-template-columns: 1fr; }
  .services-main, .about-story, .contact-main, .sa-intro { padding: 60px 20px 80px; }
}
