/* t7: Local Provider — contact-forward, warm, map area, community-focused */

/* Header — two-tier with contact info on top */
.local-header-top {
  background: var(--primary);
  color: var(--bg);
  font-size: 0.8rem;
  padding: 0.4rem 1.5rem;
}
.header-top-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.local-header-main {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  gap: 1.5rem;
}
.local-logo {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
  text-decoration: none;
}
.local-nav {
  display: flex;
  gap: 1.2rem;
  flex: 1;
}
.local-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
}
.local-nav a:hover { color: var(--primary); }
.local-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--bg);
  padding: 0.55rem 1.3rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}
.local-btn:hover { opacity: 0.9; }
.local-btn-lg { padding: 0.75rem 2rem; font-size: 1.1rem; }

/* Hero — with contact card alongside */
.local-hero {
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
  padding: 3rem 1.5rem;
}
.local-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--bg);
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-main h1 {
  font-size: 2.3rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.hero-tagline {
  color: #666;
  margin-bottom: 1.5rem;
}
.hero-contact-card {
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 1.5rem;
}
.hero-contact-card h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.contact-phone {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.contact-hours {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Map placeholder */
.map-section {
  padding: 0 1.5rem;
}
.map-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.map-placeholder {
  background: color-mix(in srgb, var(--ink) 6%, var(--bg));
  border: 1px dashed #ccc;
  border-radius: 8px;
  padding: 3rem 1.5rem;
  text-align: center;
  color: #888;
  font-size: 1.1rem;
}
.map-address {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Community section */
.community-section {
  padding: 3rem 1.5rem;
}
.community-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.community-inner h2 {
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 0.75rem;
}
.community-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #555;
  line-height: 1.6;
}
.community-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.highlight-item {
  text-align: center;
  padding: 1.25rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 6%, var(--bg));
}
.highlight-item strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--primary);
}
.highlight-item p { color: #555; margin: 0; font-size: 0.9rem; }

/* Content */
.content-section { padding: 2rem 1.5rem; }
.content-inner { max-width: 800px; margin: 0 auto; line-height: 1.7; }

/* Pricing */
.local-pricing {
  padding: 3rem 1.5rem;
  background: color-mix(in srgb, var(--primary) 4%, var(--bg));
  text-align: center;
}
.pricing-inner { max-width: 450px; margin: 0 auto; }
.pricing-inner h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.local-pricing-card {
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 1.5rem;
}
.lpc-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
}
.lpc-price small { font-size: 1rem; font-weight: 400; }
.lpc-label { color: #666; margin-bottom: 1rem; }
.lpc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
}
.lpc-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid #eee;
}
.lpc-list li::before {
  content: "\2713 ";
  color: var(--primary);
  font-weight: 700;
}

/* Contact */
.local-contact {
  padding: 3rem 1.5rem;
}
.local-contact-inner {
  max-width: 950px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}
.lf-group { margin-bottom: 0.85rem; }
.lf-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}
.lf-group input,
.lf-group textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}
.info-block { margin-bottom: 1rem; }
.info-block strong { display: block; color: var(--primary); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.info-block p { margin: 0.15rem 0; }

/* Footer */
.local-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 2.5rem 1.5rem 1.5rem;
}
.local-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand h4 { margin-bottom: 0.5rem; }
.footer-brand p { margin: 0.15rem 0; opacity: 0.8; font-size: 0.9rem; }
.footer-links h4 { margin-bottom: 0.5rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-links a { color: var(--bg); text-decoration: none; opacity: 0.75; font-size: 0.9rem; }
.footer-links a:hover { opacity: 1; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
}
.footer-legal { font-size: 0.8rem; opacity: 0.55; }
.footer-copy { font-size: 0.8rem; opacity: 0.45; margin-top: 0.25rem; }

/* Responsive */
@media (max-width: 768px) {
  .local-hero-inner { grid-template-columns: 1fr; }
  .community-highlights { grid-template-columns: 1fr; }
  .local-contact-inner { grid-template-columns: 1fr; }
  .local-footer-inner { grid-template-columns: 1fr; }
  .local-nav { display: none; }
  .header-top-inner { justify-content: center; font-size: 0.75rem; }
}

/* Checkout page */
.checkout-wrap { padding: var(--space-xl) 0; }
.checkout-container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-md); display: grid; grid-template-columns: 1fr 380px; gap: var(--space-xl); align-items: start; }
.checkout-main h1 { margin-bottom: var(--space-sm); }
.checkout-steps { display: flex; gap: var(--space-md); margin-bottom: var(--space-lg); padding-bottom: var(--space-md); border-bottom: 1px solid #e5e5e5; }
.checkout-steps .step { color: #999; font-size: 0.9rem; }
.checkout-steps .step.active { color: var(--primary, #333); font-weight: 600; }
.checkout-form h2 { font-size: 1.1rem; margin-bottom: var(--space-md); }
.checkout-form .form-group { margin-bottom: var(--space-md); }
.checkout-form input, .checkout-form select { width: 100%; padding: 0.75rem 1rem; border: 1px solid #ddd; border-radius: var(--radius, 6px); font-size: 1rem; font-family: inherit; }
.checkout-form input:focus, .checkout-form select:focus { outline: none; border-color: var(--primary, #333); box-shadow: 0 0 0 2px rgba(0,0,0,0.05); }
.checkout-submit { width: 100%; padding: 1rem; background: var(--primary, #333); color: #fff; border: none; border-radius: var(--radius, 6px); font-size: 1.1rem; font-weight: 600; cursor: pointer; margin-top: var(--space-sm); }
.checkout-submit:hover { opacity: 0.9; }
.checkout-secure { text-align: center; font-size: 0.85rem; color: #666; margin-top: var(--space-sm); }
.checkout-success { padding: var(--space-lg); background: #f0fdf4; border: 1px solid #86efac; border-radius: var(--radius, 6px); }
.checkout-success h2 { color: #166534; }
.order-summary { background: #fafafa; border: 1px solid #e5e5e5; border-radius: var(--radius, 6px); padding: var(--space-lg); position: sticky; top: var(--space-lg); }
.order-summary h3 { margin-bottom: var(--space-md); }
.order-item { display: flex; justify-content: space-between; padding: var(--space-sm) 0; margin-bottom: var(--space-sm); border-bottom: 1px solid #e5e5e5; }
.order-price { font-weight: 700; font-size: 1.1rem; }
.order-includes { list-style: none; padding: var(--space-sm) 0; }
.order-includes li { padding: 4px 0; font-size: 0.9rem; }
.order-includes li::before { content: "✓ "; color: #16a34a; font-weight: 700; }
.order-total { display: flex; justify-content: space-between; padding-top: var(--space-md); border-top: 1px solid #e5e5e5; margin-top: var(--space-sm); }
.total-price { font-size: 1.3rem; font-weight: 700; color: var(--primary, #333); }
.order-note { font-size: 0.8rem; color: #888; margin-top: var(--space-sm); }
.form-success { padding: var(--space-lg); background: #f0fdf4; border: 1px solid #86efac; border-radius: var(--radius, 6px); text-align: center; }
.form-success h3 { color: #166534; margin-bottom: var(--space-sm); }
@media (max-width: 768px) {
  .checkout-container { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
