/* =====================================================================
   SITE PAGES (Services, Pricing, Booking, Testimonials, Contact)
   Loaded after styles.css. Additive only; homepage estimator styles unchanged.
   ===================================================================== */

/* ---------- Desktop inline navigation (hidden on tablet/mobile) ---------- */
.header-nav {
  display: none;
}

.header-dropdown-menu .menu-section-label {
  display: block;
  padding: 10px 16px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #94a3b8;
}

.header-dropdown-menu .menu-divider {
  height: 1px;
  background-color: #e2e8f0;
  margin: 4px 0;
}

.menu-item-link.is-current {
  background-color: var(--light-blue-bg);
}

@media (min-width: 1025px) {
  .header-left {
    flex: 0 0 auto;
  }

  .header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
    justify-content: center;
    margin: 0 20px;
  }

  .header-nav a {
    position: relative;
    padding: 8px 14px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: color 0.15s, background-color 0.15s;
  }

  .header-nav a:hover {
    color: var(--primary-navy);
    background-color: #f1f5f9;
  }

  .header-nav a.is-current {
    color: var(--primary-navy);
  }

  .header-nav a.is-current::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 1px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--primary-navy);
  }

  /* Page links live in the desktop nav, so the menu only needs the extras */
  .header-dropdown-menu .menu-pages-group {
    display: none;
  }
}

.site-header .header-trust-item span {
  white-space: nowrap;
}

/* Keep the header on one line between laptop and wide-desktop widths */
@media (min-width: 1025px) and (max-width: 1279px) {
  .site-header .header-trust-item {
    display: none;
  }
}

/* ---------- Page layout ---------- */
.site-page-body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-main {
  flex: 1 0 auto;
  width: 100%;
}

.page-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.page-hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--hover-blue) 100%);
  color: #ffffff;
  padding: 64px 0 56px;
  text-align: center;
}

.page-hero-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #bfdbfe;
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}

.page-hero p {
  font-size: 17px;
  line-height: 1.6;
  color: #dbeafe;
  max-width: 640px;
  margin: 0 auto;
}

.page-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.page-section {
  padding: 64px 0;
}

.page-section.alt {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-heading h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.section-heading p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Buttons for pages ---------- */
.btn-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-page-primary {
  background-color: var(--primary-navy);
  color: #ffffff;
}

.btn-page-primary:hover {
  background-color: #001d3d;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-page-primary:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.btn-page-light {
  background-color: #ffffff;
  color: var(--primary-navy);
}

.btn-page-light:hover {
  background-color: #f1f5f9;
  transform: translateY(-1px);
}

.btn-page-outline {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-page-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.btn-page-outline-dark {
  background-color: transparent;
  color: var(--primary-navy);
  border-color: var(--primary-navy);
}

.btn-page-outline-dark:hover {
  background-color: var(--light-blue-bg);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.info-card {
  background-color: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.info-card-media {
  height: 240px;
  background-color: var(--light-blue-bg);
  overflow: hidden;
}

.info-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info-card-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.info-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--light-blue-bg);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.info-card-icon svg {
  width: 26px;
  height: 26px;
}

.info-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0 0 10px;
}

.info-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-main);
}

.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--success-green) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- 3-step process ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-step {
  position: relative;
  background-color: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px 28px;
  box-shadow: var(--shadow-sm);
}

.process-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-navy);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0 0 8px;
}

.process-step p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- Feature strip ---------- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-item .info-card-icon {
  width: 44px;
  height: 44px;
  margin: 0;
}

.feature-item .info-card-icon svg {
  width: 22px;
  height: 22px;
}

.feature-item strong {
  display: block;
  font-size: 15px;
  color: var(--primary-navy);
  margin-bottom: 3px;
}

.feature-item span {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background-color: var(--bg-white);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
  border-color: var(--primary-navy);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-navy);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0 0 6px;
}

.pricing-card .pricing-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 20px;
  min-height: 44px;
}

.pricing-amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-amount sup {
  font-size: 20px;
  vertical-align: top;
  position: relative;
  top: 6px;
  margin-right: 2px;
}

.pricing-unit {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.pricing-card .check-list {
  flex: 1;
  margin-bottom: 26px;
}

.pricing-card .btn-page {
  width: 100%;
  box-sizing: border-box;
}

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin: 28px auto 0;
  max-width: 640px;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  color: var(--primary-blue);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border-color);
}

.faq-answer {
  padding: 16px 22px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.faq-answer p {
  margin: 0;
}

/* ---------- Testimonials ---------- */
.review-feature {
  max-width: 820px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.review-stars {
  color: #f59e0b;
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.review-feature blockquote {
  margin: 0 0 22px;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text-main);
}

.review-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--primary-navy);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-author strong {
  display: block;
  font-size: 15px;
  color: var(--primary-navy);
}

.review-author span {
  font-size: 13.5px;
  color: var(--text-muted);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

.review-card {
  margin: 0;
  background-color: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 26px 28px 28px;
  box-shadow: var(--shadow-sm);
}

.review-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-card-top > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.review-card-top strong {
  display: block;
  font-size: 15.5px;
  color: var(--primary-navy);
}

.review-card-top span {
  font-size: 13px;
  color: var(--text-muted);
}

.review-source {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--light-blue-bg);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-source svg {
  width: 17px;
  height: 17px;
}

.review-card blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .review-grid { grid-template-columns: 1fr; }
  .review-card { padding: 22px 20px 24px; }
}

.case-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--primary-blue);
  background-color: var(--light-blue-bg);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background-color: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

a.contact-info-item:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.contact-info-item .info-card-icon {
  width: 44px;
  height: 44px;
  margin: 0;
}

.contact-info-item .info-card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-item small {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-info-item strong {
  font-size: 16px;
  color: var(--primary-navy);
  word-break: break-word;
}

.contact-form-card {
  background-color: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0 0 6px;
}

.contact-form-card > p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0 0 22px;
}

.page-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.page-form label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.page-form input,
.page-form select,
.page-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-main);
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.page-form textarea {
  min-height: 130px;
  resize: vertical;
}

.page-form input:focus,
.page-form select:focus,
.page-form textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 59, 115, 0.12);
}

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
}

.form-status.success {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ---------- Booking page ---------- */
.booking-steps-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.booking-steps-mini .process-step {
  padding: 22px 20px;
}

.booking-steps-mini .process-step-num {
  width: 36px;
  height: 36px;
  font-size: 15px;
  margin-bottom: 12px;
}

.booking-steps-mini h3 {
  font-size: 16px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--hover-blue) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 6px;
}

.cta-band p {
  font-size: 15.5px;
  color: #dbeafe;
  margin: 0;
}

.cta-band-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Footer (all pages): centered links row + copyright row ---------- */
.site-footer-minimal {
  padding: 22px 20px 20px;
}

.footer-minimal-inner {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.footer-social-link {
  order: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  padding: 6px 14px 6px 6px;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  transition: background-color 0.15s, border-color 0.15s;
}

.footer-social-link:hover {
  background-color: #f0f6ff;
  border-color: #bfd4f7;
}

.footer-social-icon {
  color: #1877f2;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-icon svg {
  width: 22px;
  height: 22px;
}

.footer-minimal-inner > span {
  order: 3;
  font-size: 13px;
  font-weight: 500;
  color: #000000;
}

.footer-minimal-links {
  order: 1;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
}

.footer-minimal-links > span {
  display: none;
}

.footer-minimal-links a {
  color: #000000;
  font-size: 13.5px;
  font-weight: 600;
  padding: 2px 0;
}

@media (max-width: 580px) {
  .footer-minimal-links {
    gap: 8px 18px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .booking-steps-mini { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .card-grid.cols-3,
  .pricing-grid,
  .process-steps { grid-template-columns: 1fr; }
  .pricing-grid { max-width: 460px; margin: 0 auto; gap: 30px; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-hero { padding: 44px 0 40px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero p { font-size: 15.5px; }
  .page-section { padding: 44px 0; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: 24px; }
  .card-grid.cols-2 { grid-template-columns: 1fr; }
  .review-feature { padding: 28px 22px; }
  .review-feature blockquote { font-size: 17px; }
  .cta-band { padding: 30px 24px; text-align: center; justify-content: center; }
  .cta-band-actions { justify-content: center; width: 100%; }
  .contact-form-card { padding: 24px 20px; }
}

@media (max-width: 580px) {
  .page-container { padding: 0 16px; }
  .feature-strip,
  .booking-steps-mini,
  .page-form-row { grid-template-columns: 1fr; }
  .page-hero-actions .btn-page,
  .cta-band-actions .btn-page { width: 100%; box-sizing: border-box; }
  .info-card-media { height: 200px; }
}
