/* ===== Base ===== */
:root {
  --accent: #e54114;
  --accent-dark: #c4340f;
  --text: #4b4f58;
  --heading: #3a3a3a;
  --muted: #7a7d84;
  --footer-bg: #c0c0c0;
  --footer-bottom: #2a2a2a;
  --border: #e6e6e6;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 { color: var(--heading); font-weight: 500; line-height: 1.25; margin: 0 0 .5em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.logo img { width: 200px; height: auto; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--heading);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: color .15s ease;
}

.main-nav a:hover,
.main-nav a.active { color: var(--accent); }

/* Dropdowns */
.has-sub { position: relative; }

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .18s ease;
  flex-direction: column;
  gap: 0;
  padding: 6px 0;
}

.has-sub:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li { width: 100%; }

.sub-menu a {
  text-transform: none;
  font-weight: 400;
  padding: 8px 18px;
  white-space: nowrap;
}

.sub-menu a:hover { background: #f6f6f6; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--heading);
  transition: .2s;
}

/* ===== Hero ===== */
.hero {
  padding: 56px 0 20px;
  text-align: center;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 32px;
  font-weight: 400;
  color: var(--heading);
}

.hero-media img {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .16);
}

/* ===== Section title ===== */
.section-title {
  text-align: center;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ===== Services ===== */
.services { padding: 60px 0; }

.service-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
}

.service-card > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.service-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body h3 {
  font-size: 19px;
  color: var(--accent);
  margin-bottom: 10px;
}

.service-body p {
  font-size: 14px;
  color: var(--text);
  margin: 0 0 16px;
  flex: 1;
}

.read-more {
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .3px;
  align-self: flex-start;
}

.read-more::after { content: " \2192"; }

/* ===== About ===== */
.about {
  padding: 20px 0 70px;
  text-align: center;
}

.about p {
  max-width: 820px;
  margin: 24px auto 0;
  font-size: 17px;
}

/* ===== Interior page banner ===== */
.page-hero {
  background: #2b2f36;
  background-image: linear-gradient(rgba(20, 22, 26, .78), rgba(20, 22, 26, .78)), var(--page-hero-img, none);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 64px 20px;
}

.page-hero h1 {
  color: #fff;
  font-size: 34px;
  font-weight: 500;
  margin: 0 0 8px;
}

.page-hero .crumbs {
  font-size: 14px;
  color: #cdd0d6;
  letter-spacing: .3px;
}

.page-hero .crumbs a { color: #fff; }

/* ===== Interior content ===== */
.page-content { padding: 56px 0 64px; }

.page-content .lead {
  font-size: 18px;
  color: var(--heading);
  max-width: 860px;
}

.page-content p { margin: 0 0 18px; }

.page-content h2 {
  font-size: 22px;
  color: var(--accent);
  margin: 34px 0 14px;
}

.content-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
}

.content-split img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
}

.img-stack { display: grid; gap: 18px; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  background: var(--accent);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

.two-col-list {
  columns: 2;
  column-gap: 40px;
}

.two-col-list.check-list li { break-inside: avoid; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 34px 0;
}

.stat {
  background: #f7f7f8;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.stat .num {
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.stat .lbl { font-size: 14px; color: var(--muted); }

/* ===== Sub-page cards (About / Services landing) ===== */
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.link-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px;
  transition: transform .2s, box-shadow .2s;
}

.link-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .1); }

.link-card h3 { color: var(--accent); margin-bottom: 8px; }

.link-card p { font-size: 15px; margin: 0 0 14px; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  background: #eee;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-grid a:hover img { transform: scale(1.07); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 30px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 4px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, .6);
}

.lightbox .lb-close,
.lightbox .lb-nav {
  position: absolute;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: none;
  cursor: pointer;
  font-size: 30px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  line-height: 1;
}

.lightbox .lb-close { top: 20px; right: 20px; font-size: 26px; }
.lightbox .lb-nav.prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-nav.next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-nav:hover, .lightbox .lb-close:hover { background: rgba(255, 255, 255, .28); }

/* ===== Contact ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-top: 10px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--heading);
  margin: 0 0 6px;
}

.contact-form .field { margin-bottom: 18px; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d4d6da;
  border-radius: 6px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229, 65, 20, .15);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 13px 30px;
  border-radius: 6px;
  font: inherit;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .4px;
  cursor: pointer;
  transition: background .18s;
}

.btn:hover { background: var(--accent-dark); color: #fff; }

.info-card {
  background: #f7f7f8;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

.info-card h3 { color: var(--heading); margin-bottom: 16px; }

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.info-list li { display: flex; gap: 12px; font-size: 15px; }

.info-list .ico {
  flex: 0 0 22px;
  color: var(--accent);
  font-weight: 700;
}

.info-list a { color: var(--text); }
.info-list a:hover { color: var(--accent); }

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ===== Embedded map ===== */
.map-embed {
  margin-top: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.map-embed .map-link {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  background: #f7f7f8;
  border-top: 1px solid var(--border);
}

/* ===== Legal / Privacy ===== */
.legal { max-width: 900px; }

.legal h2 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--heading);
  border-left: 4px solid var(--accent);
  padding-left: 12px;
  margin: 34px 0 14px;
}

.legal h3 {
  font-size: 16px;
  color: var(--accent);
  margin: 22px 0 8px;
}

.legal p { font-size: 15px; }

.legal a { word-break: break-word; }

.legal .updated {
  margin-top: 34px;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 18px;
  font-size: 14px;
}

.privacy-table th,
.privacy-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.privacy-table th {
  background: #f2f2f3;
  color: var(--heading);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .3px;
}

.privacy-table td:first-child { font-weight: 500; width: 34%; }

/* ===== Footer ===== */
.site-footer {
  background: var(--footer-bg);
  color: #333;
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.6fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo { width: 200px; }

.footer-col h4 {
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 18px;
  color: #222;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  color: #333;
  font-size: 15px;
}

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

.contact-info {
  font-style: normal;
  font-size: 15px;
  color: #333;
  line-height: 1.9;
}

.contact-info a { color: #333; }
.contact-info a:hover { color: var(--accent); }

.footer-bottom {
  background: var(--footer-bottom);
  color: #cfcfcf;
  padding: 16px 0;
  font-size: 13px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .nav-open .main-nav { max-height: 80vh; overflow-y: auto; }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
  }

  .main-nav > ul > li { border-bottom: 1px solid #f0f0f0; }

  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 0 0 6px 14px;
  }

  .hero h1 { font-size: 26px; }
}

@media (max-width: 992px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .content-split,
  .contact-layout { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .two-col-list { columns: 1; }
  .page-hero h1 { font-size: 28px; }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
