/* Pembroke Roofing — Lead Gen Site */
:root {
  --primary: #c0392b;
  --dark: #1a1a1a;
  --mid: #444;
  --light: #f5f5f5;
  --accent: #e74c3c;
  --white: #fff;
}

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
}

/* HEADER */
header {
  background: var(--dark);
  color: var(--white);
  padding: 0;
}

.header-top {
  background: var(--primary);
  text-align: center;
  padding: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo { font-size: 24px; font-weight: 700; color: var(--white); text-decoration: none; }
.logo span { color: var(--primary); }

nav a {
  color: #ccc;
  text-decoration: none;
  margin-left: 28px;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: var(--white); }

.cta-phone {
  background: var(--primary);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  margin-left: 24px;
  transition: background 0.2s;
}
.cta-phone:hover { background: var(--accent); }

/* HERO */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: var(--white);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 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' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}
.hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 20px; color: #ccc; margin-bottom: 36px; line-height: 1.6; }

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.4);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--white); }

.trust-bar {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaa;
  font-size: 14px;
  font-weight: 500;
}
.trust-item span.icon { font-size: 18px; }

/* SERVICES */
.services {
  padding: 72px 40px;
  background: var(--white);
  text-align: center;
}
.section-label {
  text-transform: uppercase;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--mid);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 52px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: var(--light);
  padding: 36px 28px;
  border-radius: 8px;
  text-align: left;
  border-top: 4px solid var(--primary);
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.service-icon { font-size: 36px; margin-bottom: 16px; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--mid); font-size: 15px; line-height: 1.6; }

/* WHY US */
.why-us {
  background: var(--dark);
  color: var(--white);
  padding: 72px 40px;
}
.why-inner { max-width: 1100px; margin: 0 auto; }
.why-us .section-title { color: var(--white); text-align: center; }
.why-us .section-label { text-align: center; }
.why-us .section-sub { color: #aaa; text-align: center; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.why-item { text-align: center; }
.why-item .num {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.why-item h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.why-item p { color: #aaa; font-size: 14px; line-height: 1.6; }

/* ESTIMATE FORM */
.estimate {
  background: var(--light);
  padding: 72px 40px;
  text-align: center;
}
.estimate-inner { max-width: 680px; margin: 0 auto; }
.estimate .section-title { font-size: 34px; }
.estimate .section-sub { margin-bottom: 36px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}
.form-grid .full { grid-column: 1 / -1; }

label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--mid); text-transform: uppercase; letter-spacing: 0.5px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
}
textarea { resize: vertical; min-height: 100px; }

.submit-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 8px;
  width: 100%;
  transition: background 0.2s;
}
.submit-btn:hover { background: var(--accent); }

.form-note { font-size: 13px; color: #888; margin-top: 10px; }

/* SERVICE AREA */
.area {
  padding: 72px 40px;
  background: var(--white);
  text-align: center;
}
.area-inner { max-width: 900px; margin: 0 auto; }
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}
.area-tag {
  background: var(--light);
  border: 1px solid #ddd;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mid);
}

/* FOOTER */
footer {
  background: #111;
  color: #888;
  text-align: center;
  padding: 32px 40px;
  font-size: 14px;
}
footer a { color: #aaa; text-decoration: none; margin: 0 8px; }

@media (max-width: 700px) {
  .header-main { padding: 16px 20px; flex-wrap: wrap; gap: 12px; }
  nav { display: none; }
  .hero { padding: 52px 20px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 17px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: 1; }
  .services, .why-us, .estimate, .area { padding: 52px 20px; }
}
