/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  --black:   #0a0a0a;
  --white:   #ffffff;
  --gray:    #f4f4f4;
  --accent:  #8b3520;   /* terracotta — pulled from logo's red rock */
  --accent2: #3a6060;   /* muted teal — from logo's water/sky */
  --text:    #1a1a1a;
  --muted:   #666666;

  --font-heading: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;

  --nav-h: 68px;
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ═══════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════ */
.section-label {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid currentColor;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn--white {
  color: var(--white);
  border-color: var(--white);
  background: transparent;
}
.btn--white:hover { background: var(--white); color: var(--black); }

.btn--dark {
  color: var(--white);
  border-color: var(--black);
  background: var(--black);
}
.btn--dark:hover { background: var(--accent); border-color: var(--accent); }

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--black);
  height: var(--nav-h);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav__logo-badge {
  height: 46px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
}

.nav__logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }

.nav__phone {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--accent);
  padding: 10px 20px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.nav__phone:hover { background: #6a2815; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

/* ═══════════════════════════════════════════
   HERO  (compact credential banner — mirrors Big-D certification section)
═══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 520px;      /* fixed height — no vh dependency */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  margin-top: var(--nav-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a2e1e 0%, #2d4a35 60%, #1c3a25 100%);
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* Badge block — mirrors Big-D's "Great Place to Work" certification badge */
.hero__badge {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 14px 22px;
  background: rgba(0,0,0,0.35);
}

.hero__badge-stars {
  font-size: 1.4rem;
  color: #f5a623;
  letter-spacing: 3px;
  line-height: 1;
}

.hero__badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--white);
}

.hero__badge-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__badge-text span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 800px;
}

/* ═══════════════════════════════════════════
   SILHOUETTE DIVIDER
═══════════════════════════════════════════ */
.silhouette-divider {
  display: block;
  line-height: 0;
  background: var(--black); /* matches hero bottom */
}

.silhouette-divider img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════
   OUR WORK
═══════════════════════════════════════════ */
.work {
  padding: 80px 0 0;
}

.work__header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px 32px;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.work__item {
  position: relative;
  overflow: hidden;
  height: 320px;   /* explicit height — no dependency on img content */
  cursor: pointer;
}

/* Inner photo div fills the item */
.work__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

/* Caption strip */
.work__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  background: rgba(0,0,0,0.65);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 16px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.work__item:hover .work__caption { transform: translateY(0); }
.work__item:hover .work__photo { transform: scale(1.04); }

/* When real photo added, set background-image on .work__photo instead */

.work__item:hover img { transform: scale(1.04); }


/* ═══════════════════════════════════════════
   MISSION
═══════════════════════════════════════════ */
.mission {
  padding: 100px 40px;
  background: var(--white);
}

.mission__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.mission__text {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--black);
  max-width: 1100px;
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
.services {
  padding: 80px 0 100px;
  background: var(--gray);
}

.services__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.services__label {
  text-align: right;
}

.services__sub {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: right;
  margin-top: 12px;
}

.services__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-self: center;
}

.services__list li {
  padding: 18px 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #ddd;
  text-transform: uppercase;
}

.services__list li:nth-last-child(-n+2) { border-bottom: none; }

/* ═══════════════════════════════════════════
   QUICK FACTS
═══════════════════════════════════════════ */
.facts {
  background: var(--black);
  padding: 60px 40px;
}

.facts__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.facts__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.facts__number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--white);
  letter-spacing: 0.04em;
}

.facts__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ═══════════════════════════════════════════
   REVIEWS
═══════════════════════════════════════════ */
.reviews {
  padding: 100px 40px;
  background: var(--white);
}

.reviews__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.reviews__inner > .section-label {
  margin-bottom: 48px;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.review-card {
  border: 1px solid #e5e5e5;
  padding: 32px;
}

.review-card__stars {
  font-size: 1.1rem;
  color: #f5a623;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}

.review-card__author {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact {
  background: var(--gray);
  padding: 100px 40px;
}

.contact__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__sub {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
  margin-bottom: 24px;
}

.contact__phone {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--black);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.contact__phone:hover { color: var(--accent); }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__form input,
.contact__form textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 14px 18px;
  border: 1px solid #ccc;
  background: var(--white);
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.contact__form input:focus,
.contact__form textarea:focus { border-color: var(--black); }

.contact__form textarea { resize: vertical; }

.contact__form .btn { align-self: flex-start; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer__logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 14px;
}

.footer__logo-badge {
  height: 56px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.footer__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer__logo-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
}

.footer__logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.footer__brand p,
.footer__brand a {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.footer__brand a:hover { color: var(--white); }

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 20px 40px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .work__grid { grid-template-columns: repeat(2, 1fr); }

  .services__inner { grid-template-columns: 1fr; gap: 32px; }
  .services__label, .services__sub { text-align: left; }

  .contact__inner { grid-template-columns: 1fr; gap: 48px; }

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

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

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════ */
@media (max-width: 640px) {
  .nav__inner { padding: 0 20px; }
  .nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--black);
    padding: 20px;
    gap: 16px;
  }
  .nav__links.open { display: flex; }
  .nav__hamburger { display: flex; }
  .nav__phone { display: none; }

  .hero__content { padding: 0 20px; }
  .work__header { padding: 0 20px 24px; }
  .work__grid { grid-template-columns: 1fr 1fr; }

  .mission { padding: 64px 20px; }
  .services { padding: 60px 0 64px; }
  .services__inner { padding: 0 20px; }
  .services__list { grid-template-columns: 1fr; }

  .facts { padding: 48px 20px; }
  .facts__inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  .reviews { padding: 64px 20px; }
  .reviews__grid { grid-template-columns: 1fr; }

  .contact { padding: 64px 20px; }

  .footer__inner { padding: 40px 20px; flex-direction: column; }
  .footer__bottom { padding: 16px 20px; }
}
