:root {
  --black: #161616;
  --logo-bg: #202020;
  --orange: #c8742f;
  --orange-dark: #a85e22;
  --white: #ffffff;
  --off-white: #f5f4f2;
  --text: #222222;
  --muted: #5a5a5a;
  --border: #dddad5;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--orange-dark); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .55em 1.1em;
  border-radius: var(--radius);
  border: 2px solid var(--orange);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.3;
}
.btn-lg { padding: .75em 1.4em; font-size: 1.05rem; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover, .btn-primary:focus { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover, .btn-outline:focus { background: var(--white); color: var(--black); }
.btn-outline-dark { background: transparent; color: var(--text); border-color: var(--text); }
.btn-outline-dark:hover, .btn-outline-dark:focus { background: var(--text); color: var(--white); }

/* Header */
.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 3px solid var(--orange);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  min-width: 0;
}
.brand img { border-radius: 4px; flex-shrink: 0; }
.header-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* Hero */
.hero { background: var(--logo-bg); color: var(--white); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero h1 { font-size: 2.4rem; }
.hero .lead { color: var(--orange); }
.hero p { color: #e6e6e6; }
.hero-logo { max-width: 380px; width: 100%; justify-self: center; border-radius: 8px; }
.lead { font-size: 1.3rem; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.25em; }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--off-white); }
.section h2 { border-left: 5px solid var(--orange); padding-left: 12px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 20px;
}
.card p { margin: 0; color: var(--muted); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.photo {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e8e5e0;
}
.photo:nth-child(1), .photo:nth-child(2) { grid-column: span 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.photo:hover img, .photo:focus img { transform: scale(1.03); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 0 0 1em; }
.contact-list li { padding: 8px 0; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.contact-list span { display: inline-block; width: 70px; color: var(--muted); font-weight: 600; }
.contact-list a { font-weight: 600; }

.contact-form {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.contact-form label { font-weight: 600; margin: 12px 0 4px; }
.contact-form label:first-of-type { margin-top: 0; }
.contact-form input, .contact-form textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #bbb;
  border-radius: var(--radius);
  background: var(--white);
  width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
}
.contact-form button { margin-top: 18px; align-self: flex-start; }
.form-note { margin: 10px 0 0; font-size: .875rem; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--black);
  color: #d0d0d0;
  padding: 28px 0;
  text-align: center;
  border-top: 3px solid var(--orange);
}
.site-footer p { margin: 0 0 .4em; }
.site-footer strong { color: var(--white); }
.site-footer a { color: var(--white); overflow-wrap: anywhere; }
.small { font-size: .875rem; }

/* Mobile */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 36px; gap: 20px; }
  .hero-logo { order: -1; max-width: 220px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form button { align-self: stretch; }
  .section { padding: 40px 0; }
}
@media (max-width: 420px) {
  .brand span { font-size: .95rem; }
  .brand img { width: 40px; height: 40px; }
  .header-actions .btn { padding: .5em .85em; }
}
