@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');

:root {
  --orange:  #e8460a;
  --black:   #1a1a1a;
  --white:   #ffffff;
  --grey-bg: #efefef;
  --grey-dk: #2b2b2b;
  --text:    #333333;
  --sans:    'Open Sans', Helvetica, Arial, sans-serif;
}

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

body {
  background: var(--grey-bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}

/* ── NAV ── */
nav {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e8e8e8;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none !important;
}

/* SVG recreation of the Dochtech logo mark */
.nav-logo svg { width: 44px; height: 44px; }

.logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.01em;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li a {
  display: block;
  padding: 0 1rem;
  line-height: 72px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.nav-links li a:hover { color: var(--orange); text-decoration: none; }
.nav-links li a.active { color: var(--orange); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero.png');
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(100%);
}

/* dark overlay to darken hero photo like original */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
}

.hero-title-area {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 2rem 2rem;
}

.hero-title-area h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  text-align: center;
  max-width: 700px;
  line-height: 1.1;
}

/* ── CHECKLIST BAR ── */
.check-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.check-bar-item {
  padding: 1.5rem 1rem 1.6rem;
  text-align: center;
  border-right: 1px solid #ddd;
}

.check-bar-item:last-child { border-right: none; }
.check-bar-item:nth-child(odd)  { background: #ffffff; }
.check-bar-item:nth-child(even) { background: #f2f2f2; }

.check-bar-item .tick {
  display: block;
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 0.6rem;
}

.check-bar-item p {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
}

/* ── PAGE HERO (inner pages — dark rock texture) ── */
.page-hero {
  position: relative;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #222;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background-image: url('hero.png');
  background-size: cover;
  background-position: center 60%;
  filter: grayscale(100%) brightness(0.35);
}

.page-hero h1 {
  position: relative; z-index: 1;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  padding: 2.5rem 2rem;
}

/* ── LAYOUT ── */
.section     { padding: 4rem 2.5rem; background: var(--grey-bg); }
.section-white { padding: 4rem 2.5rem; background: var(--white); }

.container { max-width: 1080px; margin: 0 auto; }

.section-heading       { text-align: center; margin-bottom: 3rem; }
.section-heading h2    { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.6rem; }
.section-heading .sub  { font-size: 0.85rem; color: var(--orange); max-width: 54ch; margin: 0 auto; line-height: 1.65; }

/* ── ORANGE BUTTON ── */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white) !important;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.7rem 2rem;
  border-radius: 30px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover { background: #c93d08; }

.btn-dark {
  background: var(--black);
  border-radius: 4px;
  padding: 0.65rem 1.8rem;
}

.btn-dark:hover { background: #333; }

/* ── SERVICES (numbered, 3-col) ── */
.services-numbered {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 3rem;
}

.svc-item { text-align: center; padding: 1.5rem 0.5rem; }

.svc-num {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.svc-item h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.8rem;
}

.svc-item p {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.75;
  text-align: left;
}

.svc-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 1.5rem auto;
  width: 60%;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--grey-bg);
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 2.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(1rem, 2.5vw, 1.45rem);
  font-weight: 700;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  font-size: 0.85rem;
  color: var(--orange);
  line-height: 1.7;
  margin-bottom: 0.3rem;
}

.about-text .client-list {
  list-style: disc;
  padding-left: 1.4rem;
  font-size: 0.85rem;
  color: var(--text);
  margin: 0.4rem 0 1rem;
}

.about-text .client-list li { margin-bottom: 0.15rem; }

.about-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-photo-wrap img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(100%);
}

/* ── PORTFOLIO ── */
.portfolio-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  margin-top: 2.5rem;
}

.portfolio-section-title:first-of-type { margin-top: 0; }

.portfolio-entry {
  margin-bottom: 2.2rem;
}

.portfolio-entry p {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 0.4rem;
}

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

input, textarea, select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
  border-radius: 3px;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

input:focus, textarea:focus, select:focus { border-color: var(--orange); }
textarea { resize: vertical; min-height: 120px; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.2rem;
}

.form-group { margin-bottom: 1rem; }

.success-msg {
  display: none;
  background: #dff0d8;
  border: 1px solid #c3e6cb;
  color: #2d6a2d;
  padding: 0.9rem 1.2rem;
  border-radius: 3px;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.contact-info-block { margin-bottom: 1.5rem; }
.contact-info-block h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
.contact-info-block p, .contact-info-block a { font-size: 0.85rem; color: var(--text); display: block; line-height: 1.7; }
.contact-info-block a:hover { color: var(--orange); }

/* ── FOOTER ── */
footer {
  background: var(--grey-dk);
  padding: 2.5rem 2.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

.footer-links ul li {
  padding: 0.18rem 0 0.18rem 1rem;
  position: relative;
  font-size: 0.82rem;
}

.footer-links ul li::before { content: '›'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.footer-links ul li a { color: var(--orange); }
.footer-links ul li a:hover { text-decoration: underline; }

.footer-info p { font-size: 0.82rem; color: #999; line-height: 1.8; }

.footer-bottom {
  background: var(--grey-dk);
  border-top: 1px solid #444;
  text-align: center;
  padding: 0.9rem 2.5rem;
  font-size: 0.76rem;
  color: #777;
  margin-top: 2rem;
}

/* ── HAMBURGER ── */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--black); }

@media (max-width: 768px) {
  nav { padding: 0 1.2rem; }
  .hamburger { display: flex; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid #eee; }
  .nav-links.open { display: flex; }
  .nav-links li a { line-height: 1; padding: 0.85rem 1.2rem; border-bottom: 1px solid #f2f2f2; }
  .check-bar { grid-template-columns: 1fr 1fr; }
  .section, .section-white { padding: 2.5rem 1.2rem; }
  .services-numbered { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; padding: 2rem 1.2rem 0; }
  .cta-band { padding: 2rem 1.2rem; }
  .hero-title-area h1 { font-size: 1.9rem; }
}
