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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #f3f4f6;
}

/* Layout */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #111827;
  color: #f9fafb;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
}

nav a {
  color: #e5e7eb;
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.95rem;
}

nav a:hover {
  color: #fbbf24;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* HERO WITH VIDEO BACKGROUND */

.hero {
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
  margin-top: 1.5rem;
  color: #f9fafb;
}

/* container that controls overall height/spacing */
.hero-with-video {
  min-height: 420px;
  max-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 2.25rem 4rem;
  background: #111827;
}

/* the actual <video> behaves like a background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

/* soft dark overlay so text is readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.45)
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero h1 {
  margin: 0.75rem 0 0.5rem;
  font-size: 2rem;
  line-height: 1.25;
}

.lead {
  margin: 0.25rem 0 1.25rem;
  font-size: 1.05rem;
  max-width: 40rem;
}

/* Pills / labels */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(250, 204, 21, 0.9);
  color: #fbbf24;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.btn.primary,
.btn:not(.secondary) {
  background: linear-gradient(135deg, #f59e0b, #facc15);
  color: #111827;
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.92);
  color: #f9fafb;
  border: 1px solid rgba(249, 250, 251, 0.25);
}

/* Sections */
.section {
  margin-top: 3rem;
  padding: 2.25rem 1.75rem;
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.25);
}

.section h2 {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.section p {
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.55;
  font-size: 0.98rem;
}

/* two-column grid */
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.75rem;
  margin-top: 1rem;
}

.grid-2 ul {
  padding-left: 1.2rem;
}

/* service area list */
.area-list {
  columns: 2;
  column-gap: 2.25rem;
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.area-list li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.area-list a {
  color: #1f2937;
  text-decoration: none;
}

.area-list a:hover {
  text-decoration: underline;
  color: #f59e0b;
}

/* mini before/after row */
.before-after {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.15rem;
}

.before-after figure {
  margin: 0;
  background: #f9fafb;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.before-after img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Taylors before photo – adjust crop upward */
.before-after img.focus-top,
.gallery-grid img.focus-top {
  object-position: center 20%;
}

.before-after figcaption {
  padding: 0.55rem 0.75rem 0.7rem;
  font-size: 0.86rem;
  color: #374151;
}

/* Footer */
footer {
  background: #020617;
  color: #e5e7eb;
  padding: 2rem 1.25rem 2.5rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-inner a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-inner a:hover {
  color: #fbbf24;
}

.footer-social a {
  display: block;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    margin-left: 0;
    margin-right: 1rem;
  }

  .hero-with-video {
    padding: 3.25rem 1.5rem 3rem;
    min-height: 360px;
    max-height: 520px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .btn-row {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .area-list {
    columns: 1;
  }
}
