/* ============================================
   Quote Site — Clean & Modern Design System
   ============================================ */

:root {
  --color-bg: #EEF1EE;
  --color-ink: #1B2320;
  --color-accent: #B5652B;
  --color-accent-dark: #96501F;
  --color-accent-2: #3E6B63;
  --color-glass: #DCE8E6;
  --color-muted: #6B726D;
  --color-error: #C0392B;
  --color-white: #FFFFFF;
  --color-card: #F7F9F6;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 4px;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header / Hero ---------- */

header {
  width: 100%;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-2) 55%, var(--color-ink) 100%);
  color: var(--color-white);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

header h1 {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  position: relative;
  display: inline-block;
}

/* Signature element: a white "wipe" bar that sweeps in under the headline */
header h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  height: 4px;
  width: 100%;
  background: var(--color-white);
  transform: scaleX(0);
  transform-origin: left;
  animation: wipe-in 0.7s ease-out 0.2s forwards;
}

@keyframes wipe-in {
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  header h1::after {
    animation: none;
    transform: scaleX(1);
  }
}

header p {
  color: var(--color-glass);
  font-size: 1.1rem;
  margin: 0.75rem 0 0;
  max-width: 60ch;
}

/* ---------- Main / Form Section ---------- */

main {
  max-width: var( --max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
}

#quote-form-section h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

form {
  background: var(--color-card);
  border: 1px solid #ECECEA;
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
  display: block;
}

input,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-ink);
  background: var(--color-bg);
  border: 1.5px solid #E2E2E0;
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(143, 212, 0, 0.15);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

button[type="submit"] {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-accent);
  border: none;
  border-radius: var(--radius);
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  margin-top: 0.5rem;
}

button[type="submit"]:hover {
  background: var(--color-accent-dark);
}

button[type="submit"]:active {
  transform: scale(0.98);
}

button[type="submit"]:disabled {
  background: #D8D8D6;
  color: var(--color-muted);
  cursor: not-allowed;
}

button[type="submit"]:focus-visible {
  outline: 3px solid var(--color-ink);
  outline-offset: 2px;
}

#formStatus {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  min-height: 1.2rem;
  margin: 0;
}
/*
#quote-form-section form {
  max-width: 480px;
  margin: 0 auto;
}

#quote-form-section h2,
#quote-form-section > p {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
*/
/* ---------- Services ---------- */

#services,
#why-us {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

#services h2,
#why-us h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.service-check {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.service-list h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
}

.service-list p {
  color: var(--color-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Why Choose Us ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-item {
  background: var(--color-card);
  border: 1px solid #ECECEA;
  border-top: 3px solid var(--color-accent-2);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.4rem;
  color: var(--color-accent-2);
}

.why-item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* ---------- Footer Contact ---------- */

footer h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-ink);
  margin: 0 0 0.75rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
/*
footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  color: var(--color-muted);
  font-size: 0.85rem;
  border-top: 2px solid var(--color-accent-2);
}
  */
footer {
  max-width: none;
  width: 100%;
  background: var(--color-ink);
  margin: 0;
  padding: 2.5rem 1.5rem 3rem;
  color: var(--color-bg);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

footer h3 {
  color: var(--color-white);
}

.footer-contact a {
  color: var(--color-accent);
}

.footer-contact a:hover {
  color: var(--color-bg);
}