/* ================================================================
   PENNOLA — Customer Portal Styles (customer.css)
   Supplements style.css — do not remove style.css link
================================================================ */

/* ===== CUSTOMER HEADER VARIANT ===== */
.customer-header { border-bottom-color: var(--gold); }

.call-btn {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 7px 16px !important;
  border-radius: 7px !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  white-space: nowrap;
  transition: background 0.2s !important;
}

.call-btn:hover {
  background: var(--gold-light) !important;
  text-decoration: none !important;
}

/* ===== CUSTOMER HERO ===== */
.customer-hero {
  background: linear-gradient(150deg, var(--navy) 0%, #0d2540 40%, #142033 100%);
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.ch-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ch-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.ch-content h2 {
  font-size: 3.4rem;
  color: var(--white);
  margin: 14px 0 18px;
  line-height: 1.18;
}

.ch-content > p {
  color: rgba(255,255,255,0.65);
  font-size: 1.08rem;
  margin-bottom: 36px;
  line-height: 1.75;
}

.ch-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.cta-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.22s;
  display: inline-flex;
  align-items: center;
}

.cta-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
  text-decoration: none;
}

.cta-secondary {
  border: 2px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.22s;
  display: inline-flex;
  align-items: center;
}

.cta-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  text-decoration: none;
}

.ch-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.ch-trust span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* ===== SERVICE GRID ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 4px solid var(--gold);
}

.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.svc-icon { font-size: 2rem; margin-bottom: 12px; }

.svc-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.svc-card > p {
  font-size: 0.855rem;
  color: var(--text-mid);
  margin-bottom: 12px;
  line-height: 1.58;
}

.svc-card ul { list-style: none; }
.svc-card ul li {
  font-size: 0.8rem;
  color: var(--text-mid);
  padding: 3px 0 3px 16px;
  position: relative;
}

.svc-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 0.75rem;
}

/* ===== WHY CARDS ===== */
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.why-card:hover { transform: translateY(-2px); }

.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 10px;
  line-height: 1;
}

.why-card h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.why-card p { font-size: 0.87rem; color: var(--text-mid); line-height: 1.6; }

/* ===== QUOTE FORM LAYOUT ===== */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

/* ===== QUOTE FORM SECTIONS ===== */
.q-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.q-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  font-family: 'Inter', sans-serif;
}

.qs-num {
  background: var(--gold);
  color: var(--navy);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.req { color: var(--red); font-weight: 700; }

.cust-addon-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* ===== SUBMIT SUCCESS ===== */
.submit-success {
  background: var(--green-bg);
  border: 2px solid #4caf82;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  margin-top: 24px;
}

.ss-icon {
  width: 60px;
  height: 60px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 18px;
}

.submit-success h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.submit-success p {
  font-size: 0.92rem;
  color: var(--green-text);
  line-height: 1.65;
  margin-bottom: 6px;
}

.submit-note {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

.submitted-summary-box {
  background: var(--white);
  border: 1px solid #4caf82;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 18px;
  text-align: left;
}

.submitted-summary-box h5 {
  font-size: 0.78rem;
  color: var(--green-text);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}

.ssb-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 4px 0;
  border-bottom: 1px dotted #d0eadb;
  color: var(--text-dark);
}

.ssb-row:last-child { border-bottom: none; }
.ssb-label { color: var(--text-mid); }

/* ===== SIDEBAR ===== */
.quote-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 88px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
  font-size: 0.82rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}

/* Next steps */
.next-steps { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.next-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.ns-num {
  background: var(--navy);
  color: var(--gold-light);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

/* Contact */
.sidebar-contact { border-top: 4px solid var(--gold); }

.contact-link {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-bottom: 8px;
  transition: all 0.18s;
}

.phone-link { background: var(--navy); color: var(--gold-light); }
.phone-link:hover { background: #0d2040; color: var(--gold-light); text-decoration: none; }
.email-link { background: var(--light-bg); color: var(--text-dark); }
.email-link:hover { background: var(--border); text-decoration: none; }

.hours-note { font-size: 0.76rem; color: var(--text-light); margin-top: 6px; text-align: center; }

/* Guarantee */
.sidebar-guarantee {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: 1px solid rgba(201,168,76,0.3);
  text-align: center;
}

.sidebar-guarantee h4 { color: var(--gold-light); border-bottom-color: rgba(201,168,76,0.3); }
.sidebar-guarantee p { font-size: 0.83rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

.guarantee-seal {
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.8;
  margin-bottom: 8px;
}

/* Service area tags */
.service-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-area-list span {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.75rem;
  color: var(--text-mid);
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .quote-layout { grid-template-columns: 1fr; }
  .quote-sidebar { position: relative; top: auto; order: -1; display: grid; grid-template-columns: 1fr 1fr; }
  .ch-content h2 { font-size: 2.6rem; }
}

@media (max-width: 680px) {
  .customer-hero { padding: 70px 20px 56px; min-height: auto; }
  .ch-content h2 { font-size: 2.1rem; }
  .ch-cta { flex-direction: column; }
  .cta-primary, .cta-secondary { justify-content: center; }
  .service-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .quote-sidebar { grid-template-columns: 1fr; }
  nav .call-btn { display: none; }
}
