/* SEO Phase 1 page styles. Companion to revisions.css. */

:root {
  --seo-bg-cream: #f4efe6;
  --seo-bg-cream-deep: #ebe4d4;
  --seo-ink: #12202a;
  --seo-ink-muted: rgba(18, 32, 42, 0.78);
  --seo-ink-faint: rgba(18, 32, 42, 0.62);
  --seo-amber: #ff6a13;
}

/* --- Page hero (used on service & city pages) --- */
.page-hero {
  padding: clamp(6rem, 12vw, 10rem) clamp(1.25rem, 4vw, 4rem) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 106, 19, 0.10), transparent 32rem),
    linear-gradient(135deg, #f7f1e6 0%, #e5dccb 100%);
  color: var(--seo-ink);
}

.page-hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.page-hero-title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: 0.005em;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  color: var(--seo-ink);
  margin: 0;
}

.page-hero-title em {
  display: block;
  font-style: normal;
  color: var(--seo-amber);
  font-size: 0.62em;
  font-weight: 500;
  letter-spacing: 0.015em;
  margin-top: 0.5rem;
}

.page-hero-body p {
  font-family: "Lato", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
  color: var(--seo-ink-muted);
  max-width: 72ch;
  margin: 0 0 1rem 0;
}

.page-hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

/* Override secondary button for light/cream backgrounds (page-hero, related-links, etc.) */
.page-hero .btn-secondary,
.page-section:not(.page-section--dark) .btn-secondary,
.related-links .btn-secondary {
  color: var(--seo-ink);
  border-color: rgba(18, 32, 42, 0.32);
}

.page-hero .btn-secondary:hover,
.page-section:not(.page-section--dark) .btn-secondary:hover {
  border-color: var(--seo-amber);
  color: var(--seo-amber);
}

/* --- Trust strip --- */
.trust-strip {
  background: #0d1a22;
  color: #f4efe6;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 4vw, 4rem);
  border-top: 3px solid var(--seo-amber);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-strip-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-left: 2px solid rgba(255, 106, 19, 0.5);
  padding-left: 0.85rem;
}

.trust-num {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  color: var(--seo-amber);
}

.trust-label {
  font-family: "Lato", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.72);
}

/* --- Generic page sections --- */
.page-section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 4vw, 4rem);
  background: var(--seo-bg-cream);
  color: var(--seo-ink);
}

.page-section--dark {
  background: linear-gradient(140deg, #0d1a22 0%, #14242f 100%);
  color: #f4efe6;
}

.page-section--dark .section-title { color: #fff; }
.page-section--dark .page-section-body p { color: rgba(244, 239, 230, 0.78); }
.page-section--dark .feature-card-title { color: #fff; }
.page-section--dark .feature-card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }

.page-section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.page-section .section-title {
  margin-top: 0.4rem;
  margin-bottom: 1.5rem;
  max-width: 18ch;
}

.page-section-body p {
  font-family: "Lato", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: var(--seo-ink-muted);
  max-width: 72ch;
}

.page-section-body a {
  color: var(--seo-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.page-section--dark .page-section-body a { color: var(--seo-amber); }

/* --- Feature grid (cards) --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-card {
  padding: 1.5rem 1.4rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 32, 42, 0.08);
  border-left: 3px solid var(--seo-amber);
  border-radius: 4px;
}

.feature-card-title {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.005em;
  margin: 0 0 0.6rem 0;
  color: var(--seo-ink);
}

.feature-card-desc {
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--seo-ink-muted);
  margin: 0;
}

.feature-card a { color: var(--seo-amber); text-decoration: underline; }

/* --- Steps list --- */
.steps-list {
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.step-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--seo-amber);
  border-radius: 4px;
  align-items: flex-start;
}

.page-section:not(.page-section--dark) .step-item {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(18, 32, 42, 0.08);
  color: var(--seo-ink);
}

.step-num {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--seo-amber);
  min-width: 2.25rem;
}

.step-item strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.01em;
}

.step-item p {
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: inherit;
  opacity: 0.85;
}

/* --- FAQ --- */
.faq-section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 4vw, 4rem);
  background: #fbf6ec;
  color: var(--seo-ink);
}

.faq-inner {
  width: min(900px, 100%);
  margin: 0 auto;
}

.faq-section .section-title {
  max-width: 22ch;
  margin-bottom: 2rem;
}

.faq-list {
  display: grid;
  gap: 0.6rem;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(18, 32, 42, 0.08);
  border-left: 3px solid var(--seo-amber);
  border-radius: 4px;
  padding: 0.95rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.005em;
  color: var(--seo-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--seo-amber);
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 600;
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0.75rem 0 0;
  font-family: "Lato", sans-serif;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--seo-ink-muted);
}

/* --- Related links --- */
.related-links {
  background: #f4efe6;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 4rem);
}

.related-links-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.related-links-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.6rem;
}

.related-links-list a {
  display: block;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(18, 32, 42, 0.08);
  border-left: 3px solid var(--seo-amber);
  border-radius: 4px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  color: var(--seo-ink);
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.related-links-list a:hover {
  transform: translateY(-1px);
  border-left-color: #c54a00;
}

/* --- Service cards on homepage as anchors --- */
.services-grid--linked .service-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.services-grid--linked .service-card:hover {
  transform: translateY(-2px);
}

.service-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--seo-amber);
  letter-spacing: 0.005em;
}

/* --- Trust section on homepage --- */
.trust-section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 4vw, 4rem);
  background: linear-gradient(140deg, #1a2a35 0%, #0d1a22 100%);
  color: #f4efe6;
}

.trust-section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.trust-section .section-title {
  color: #fff;
  max-width: 22ch;
  margin-top: 0.5rem;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.trust-card {
  padding: 1.5rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--seo-amber);
  border-radius: 4px;
}

.trust-card h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.005em;
  margin: 0 0 0.55rem 0;
  color: #fff;
}

.trust-card p {
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(244, 239, 230, 0.82);
  margin: 0;
}

/* --- Reviews CTA --- */
.reviews-cta-section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 4rem);
  background: #fbf6ec;
}

.reviews-cta-inner {
  width: min(900px, 100%);
  margin: 0 auto;
}

.reviews-cta-section p {
  font-family: "Lato", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--seo-ink-muted);
  margin-top: 1rem;
}

.reviews-cta-section a { color: var(--seo-amber); text-decoration: underline; }

/* --- Contact page --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 32, 42, 0.08);
  border-left: 3px solid var(--seo-amber);
  border-radius: 4px;
  padding: 1.5rem 1.4rem;
}

.contact-card h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  margin: 0 0 0.6rem 0;
  letter-spacing: 0.01em;
}

.contact-card p {
  font-family: "Lato", sans-serif;
  font-size: 0.96rem;
  line-height: 1.7;
  margin: 0 0 0.4rem 0;
  color: var(--seo-ink-muted);
}

.contact-card a { color: var(--seo-amber); text-decoration: underline; }

.inquiry-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
  max-width: 720px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: 6px;
}

.inquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: "Lato", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: rgba(244, 239, 230, 0.85);
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  color: #f4efe6;
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: 2px solid var(--seo-amber);
  outline-offset: 1px;
  border-color: transparent;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}

.inquiry-form button {
  justify-self: start;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.85rem;
  color: rgba(244, 239, 230, 0.65);
  margin: 0;
}

.form-note a { color: var(--seo-amber); }

/* --- Placeholder note --- */
.placeholder-note {
  font-size: 0.85rem;
  color: rgba(244, 239, 230, 0.55);
  font-style: italic;
}

.page-section:not(.page-section--dark) .placeholder-note {
  color: var(--seo-ink-faint);
}

/* --- Mobile tweaks --- */
@media (max-width: 720px) {
  .page-hero { padding-top: 5.5rem; }
  .feature-grid, .trust-cards, .related-links-list { grid-template-columns: 1fr; }
}

/* Visited link consistency */
.feature-card a:visited,
.related-links-list a:visited,
.faq-item a:visited,
.contact-card a:visited { color: inherit; }
