/* Quote Page CSS - Based on index.css */

:root{
  --bg:#000;
  --white:#fff;
  --brand:#295391;
  --brand-dark:#1e3f6b;
  --gray:#8a8a8a;
  --gray-dark:#6b6b6b;
  --muted:#7c8796;
  --card-border:#d9dee6;
  --star:#f4b400;
  --verified:#1a73e8;
  --radius:5px;
  --radius-lg:12px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --shadow-brand: 0 6px 12px rgba(41, 83, 145, 0.4);
  --shadow-dark: 0 6px 12px rgba(0, 0, 0, 0.3);
}

html, body { height: 100%; }

body{
  margin:0;
  overflow-x:hidden;
  font-family:"Montserrat", sans-serif;
  background-color: #000000;
}

* { box-sizing: border-box; }

/* Toast */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--brand);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-brand);
  display: none;
  z-index: 9999;
  max-width: 400px;
}

.toast.active {
  display: block;
}

.toast strong {
  display: block;
  font-weight: 700;
}

.toast .small {
  font-size: 0.85rem;
  margin-top: 4px;
  opacity: 0.9;
}

/* Header */
.quote-header {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.quote-header-content {
  max-width: 1200px;
  margin: 0 auto;
}

.quote-header .logo {
  height: 60px;
  margin-bottom: 20px;
}

.quote-header h1 {
  font-size: 48px;
  margin: 20px 0 10px;
  font-weight: 700;
}

.quote-header .header-subtitle {
  font-size: 18px;
  opacity: 0.95;
  margin: 0;
}

/* Topbar Floater */
.topbar-floater {
  position: sticky;
  top: 0;
  background: var(--brand);
  color: white;
  padding: 12px 20px;
  text-align: center;
  font-size: 14px;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#topbar-message1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#topbar-message1 i {
  color: #ffd700;
}

/* Quote Container */
.quote-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px 40px;
}

.quote-cta-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-dark);
}

.quote-cta-section p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
  color: #333;
}

.quote-link-btn,
.phone-btn {
  display: inline-block;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 10px;
  text-decoration: none;
}

.quote-link-btn {
  background: var(--brand);
  color: white;
}

.quote-link-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

.phone-btn {
  background: #f0f0f0;
  color: var(--brand);
  border: 2px solid var(--brand);
}

.phone-btn:hover {
  background: var(--brand);
  color: white;
}

.or-text {
  color: var(--gray);
  margin: 20px 0 10px;
}

/* Form Styling */
.wrap {
  margin: 40px 0;
}

.pill {
  background: white;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pill > div:first-child strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.btnrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background: white;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

.row > div label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: #333;
}

.row input,
.row select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
}

.row input:focus,
.row select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(41, 83, 145, 0.1);
}

.small {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
}

.tot {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand);
  margin: 16px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

table th {
  background: #f5f5f5;
  text-align: left;
  padding: 12px;
  border-bottom: 2px solid var(--card-border);
  font-weight: 600;
  font-size: 14px;
}

table td {
  padding: 12px;
  border-bottom: 1px solid var(--card-border);
  font-size: 14px;
}

table tbody tr:last-child td {
  border-bottom: none;
}

.secondary {
  background: white;
  border: 1px solid var(--card-border);
  color: var(--gray-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.err {
  display: none;
  background: #fee;
  border: 1px solid #fcc;
  border-radius: var(--radius);
  padding: 12px;
  margin: 16px 0;
  color: #c33;
  font-size: 14px;
}

.debug {
  display: none;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  padding: 12px;
  margin: 16px 0;
  overflow-x: auto;
}

.debug pre {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #333;
}

.mono {
  font-family: monospace;
  font-size: 13px;
}

/* Footer */
.site-footer {
  background: #111;
  color: #ccc;
  padding: 40px 20px 20px;
  margin-top: 60px;
  border-top: 1px solid #333;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-column h4 {
  font-size: 16px;
  color: white;
  margin: 0 0 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-logo {
  height: 50px;
  margin-bottom: 16px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 13px;
  color: #999;
}

/* Responsive */
@media (max-width: 768px) {
  .quote-header h1 {
    font-size: 32px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .cols-3 { grid-template-columns: 1fr 1fr; }
  .cols-2 { grid-template-columns: 1fr; }

  .quote-cta-section {
    padding: 24px;
  }
}

/* Button styling */
button {
  background: var(--brand);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

button:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
