﻿:root {
  --primary: #1f5aa6;
  --text: #111;
  --muted: #666;
  --bg: #f6f8fb;
  --card: #ffffff;
  --border: #e6e6e6;
  --radius: 12px;
  --max: 1100px;
  --space: 20px;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* BASE */
body {
  font-family: Georgia, serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}

/* HEADER */
.site-header {
  text-align: center;
  padding: var(--space);
  font-style: italic;
}

/* SECTIONS */
.section {
  max-width: var(--max);
  margin: auto;
  padding: 30px var(--space);
}

/* CENTER TEXT UTILITY */
.text-center {
  text-align: center;
}

/* HERO IMAGE */
.hero-logo {
  width: 90px;
  display: block;
  margin: 10px auto 20px;
}

.image {
  width: 70%;
  display: block;
  margin: 10px auto 20px;
}

/* PHONE */
.phone-number {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.phone-number:hover {
  text-decoration: underline;
}

/* INTRO */
.intro p {
  margin-bottom: 15px;
}

/* ========================= */
/* FORM IMPROVEMENTS (IMPORTANT)
/* ========================= */

.form-wrapper {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: 0.2s ease;
}

.form-wrapper:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.form-header {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 25px;
  font-weight: bold;
}

/* FORM LAYOUT */
.cleaning-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* INPUTS */
input, select, textarea {
  padding: 13px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  transition: 0.2s ease;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31,90,166,0.15);
}

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

/* BUTTON */
button {
  background: var(--primary);
  color: white;
  padding: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: 0.2s ease;
}

button:hover {
  background: #17437a;
  transform: translateY(-1px);
}

/* PRIVACY NOTE (FIXED CENTERING) */
.form-note {
  text-align: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ========================= */
/* SPACE BETWEEN FORM & DIRECTORY (IMPORTANT FIX)
/* ========================= */

.form-section {
  margin-bottom: 90px; /* 👈 THIS CREATES CLEAR VISUAL SEPARATION */
}

/* DIRECTORY */
.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}

.category-list {
  list-style: disc;
  padding-left: 20px;
}

.category-list li {
  margin-bottom: 10px;
}

.category-list a {
  color: var(--primary);
  font-weight: bold;
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: var(--space);
  font-style: italic;
  font-weight: bold;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}