/* Ironclad 4x4 — style.css */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

a { color: #b35c00; }
a:hover { color: #7a3d00; }
ul { padding-left: 1.2em; }
li { margin-bottom: 4px; }

/* ── HEADER ── */
header {
  background: #1a1a1a;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 32px;
  border-bottom: 1px solid #333;
  flex-wrap: wrap;
}

.site-name {
  font-size: 1.15rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  color: #fff;
}

.location {
  font-size: 0.85rem;
  color: #aaa;
  flex: 1;
}

.header-phone {
  font-size: 0.9rem;
  color: #ccc;
  text-decoration: none;
}
.header-phone:hover { color: #fff; }

nav {
  display: flex;
  gap: 0;
  padding: 0 32px;
  flex-wrap: wrap;
}

nav a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: #ccc;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
nav a:hover { color: #fff; border-bottom-color: #b35c00; }
nav .emergency-link { color: #e07050; margin-left: auto; }
nav .emergency-link:hover { color: #ff8060; }

/* ── SECTIONS ── */
main section {
  padding: 60px 32px;
  max-width: 1000px;
  margin: 0 auto;
}

h1 { font-size: 2rem; line-height: 1.2; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; border-bottom: 2px solid #e0e0e0; padding-bottom: 8px; }
h3 { font-size: 1.1rem; margin-bottom: 8px; }
p  { margin-bottom: 12px; color: #444; }

/* ── INTRO ── */
.intro {
  background: #f7f4f0;
  max-width: 100%;
  padding: 64px 32px;
  border-bottom: 1px solid #ddd;
}
.intro > * { max-width: 600px; }
.intro h1 { font-size: 2.4rem; color: #1a1a1a; }
.intro p { font-size: 1.05rem; color: #555; margin-bottom: 24px; }

/* ── BUTTON ── */
.btn {
  display: inline-block;
  background: #b35c00;
  color: #fff;
  padding: 11px 24px;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: #8f4900; color: #fff; }
.btn-full { width: 100%; text-align: center; }

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #ddd;
  border: 1px solid #ddd;
}

.service {
  background: #fff;
  padding: 28px;
}
.service h3 { color: #1a1a1a; }
.service a {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: bold;
}

.service--emergency {
  background: #fff8f6;
}
.service--emergency h3 { color: #8b2500; }
.emergency-link { color: #c0392b !important; }
.emergency-link:hover { color: #8b2500 !important; }

/* ── ABOUT ── */
.about { background: #f7f4f0; max-width: 100%; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.about > * { max-width: 680px; }

/* ── CONTACT ── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-info h2 { font-size: 1.5rem; }
.contact-info p { font-size: 0.92rem; margin-bottom: 8px; }

form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 4px; }

label { font-size: 0.8rem; font-weight: bold; color: #555; text-transform: uppercase; letter-spacing: 0.05em; }

input, select, textarea {
  border: 1px solid #ccc;
  padding: 9px 11px;
  font-size: 0.93rem;
  font-family: inherit;
  color: #222;
  background: #fff;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid #b35c00;
  outline-offset: -1px;
}
textarea { resize: vertical; }

.form-success { display: none; color: #2e7d32; font-size: 0.9rem; }

/* ── FOOTER ── */
footer {
  background: #1a1a1a;
  color: #888;
  text-align: center;
  padding: 20px 32px;
  font-size: 0.82rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  nav .emergency-link { margin-left: 0; }
  .header-top { padding: 12px 20px; }
  nav { padding: 0 20px; }
  main section { padding: 48px 20px; }
  .intro { padding: 48px 20px; }
  .about { padding: 48px 20px; }
}
