/* ============================================================
   HANDYMAN NV — Brand Styles
   ============================================================ */

/* 1. Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800&display=swap');

/* 2. Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 2. CSS Custom Properties */
:root {
  --dark:   #1A1917;
  --ground: #F5F2ED;
  --amber:  #C17F3A;
  --green:  #3A5240;
  --gray:   #575350;
  --white:  #FFFFFF;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  3rem;
  --space-xl:  4rem;
  --space-2xl: 5rem;

  --max-width: 1200px;
  --radius:    4px;
  --nav-h:     64px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ground);
  color: var(--dark);
  line-height: 1.6;
}

/* ============================================================
   3. NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--dark);
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-wordmark {
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}

.nav-wordmark span {
  color: var(--amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  font-size: 0.95rem;
  transition: opacity 0.15s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.btn {
  display: inline-block;
  background: var(--amber);
  color: var(--dark);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn:hover {
  background: #a96c2e;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid var(--white);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

/* ============================================================
   4. HERO
   ============================================================ */

.hero {
  background: var(--dark);
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-2xl) var(--space-md);
  align-items: center;
}

.hero-eyebrow {
  color: var(--amber);
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-sub {
  color: var(--white);
  opacity: 0.75;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  flex-wrap: wrap;
}

.hero-photo {
  background: rgba(87, 83, 80, 0.3);
  border-radius: 8px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
}

/* ============================================================
   5. SECTION UTILITIES
   ============================================================ */

.section {
  background: var(--ground);
  padding: var(--space-2xl) var(--space-md);
}

.section-dark {
  background: var(--dark);
  padding: var(--space-2xl) var(--space-md);
  color: var(--white);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-eyebrow {
  color: var(--amber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

/* ============================================================
   6. SERVICES GRID
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: var(--space-xl);
}

.service-tile {
  background: var(--white);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-tile svg {
  width: 2rem;
  height: 2rem;
  color: var(--green);
  flex-shrink: 0;
}

.service-tile h3 {
  font-size: 1rem;
  font-weight: 700;
}

.service-tile p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ============================================================
   7. TRUST PILLARS GRID
   ============================================================ */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: var(--space-xl);
}

.pillar {
  background: #222220;
  padding: 2.5rem;
  border-top: 3px solid var(--green);
}

.pillar-num {
  color: var(--amber);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.pillar h3 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pillar p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

/* ============================================================
   8. ABOUT SECTION
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  margin-top: var(--space-xl);
}

.about-photo {
  background: rgba(87, 83, 80, 0.15);
  border-radius: 8px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.9rem;
}

.about-body {
  display: flex;
  flex-direction: column;
}

.about-body p {
  color: var(--gray);
  margin-bottom: var(--space-sm);
}

.about-callout {
  border-left: 3px solid var(--amber);
  padding-left: 1.5rem;
  margin-top: var(--space-md);
}

.about-callout p {
  color: var(--gray);
}

.about-callout a {
  color: var(--amber);
  font-weight: 700;
  text-decoration: none;
}

.about-callout a:hover {
  text-decoration: underline;
}

/* ============================================================
   9. FORM STYLES
   ============================================================ */

.form-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.form-intro {
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.form-intro h2 {
  color: var(--white);
}

.form-intro p {
  color: rgba(255, 255, 255, 0.75);
  margin-top: var(--space-sm);
}

.form-intro a {
  color: var(--amber);
  text-decoration: none;
  font-weight: 700;
}

.form-intro a:hover {
  text-decoration: underline;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--amber);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

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

.form-status {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  min-height: 1.5rem;
}

.form-status.success {
  color: var(--amber);
}

.form-status.error {
  color: #e74c3c;
}

/* ============================================================
   10. FOOTER
   ============================================================ */

.footer {
  background: var(--dark);
  padding: var(--space-xl) var(--space-md) var(--space-md);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-wordmark {
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.footer-col p,
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--white);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================================
   11. RESPONSIVE — 768px BREAKPOINT
   ============================================================ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: var(--space-xl) var(--space-md);
    gap: var(--space-md);
  }

  .hero-photo {
    min-height: 260px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .form-section-inner {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.25rem;
  }
}
