:root {
  --red: #b9141d;
  --dark-red: #841016;
  --black: #101010;
  --charcoal: #1b1b1b;
  --text: #202020;
  --muted: #666;
  --white: #fff;
  --shadow: 0 18px 45px rgba(0, 0, 0, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #ddd;
  box-shadow: 0 6px 22px rgba(0,0,0,.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand img {
  width: 320px;
  max-width: 62vw;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--red);
}

/* ================= BUTTONS ================= */
.call-btn,
.primary-btn {
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  color: white;
  padding: 13px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.secondary-btn {
  border: 2px solid var(--black);
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 900;
  background: white;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 32px;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: linear-gradient(105deg, rgba(255,255,255,.94) 0 50%, rgba(0,0,0,.1) 50%),
              url('assets/business-card-theme.png') center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 43%;
  background: linear-gradient(90deg, rgba(0,0,0,.2), rgba(0,0,0,.8));
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 900;
  font-size: .82rem;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: .92;
  margin: 12px 0 20px;
  font-family: Georgia, 'Times New Roman', serif;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 20px;
}

.lead {
  font-size: 1.2rem;
  max-width: 620px;
  color: #333;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

/* ================= OWNER CARD ================= */
.owner-card {
  color: white;
  background: rgba(0,0,0,.72);
  border-left: 8px solid var(--red);
  padding: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.owner-card h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  margin: 8px 0;
}

/* ================= QUICK CONTACT ================= */
.quick-contact {
  background: var(--black);
  color: white;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 0;
}

.contact-strip strong {
  color: #ccc;
  display: block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .2em;
}

/* ================= SECTIONS ================= */
.section {
  padding: 88px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.card {
  background: white;
  border: 1px solid #ddd;
  border-top: 5px solid var(--red);
  padding: 26px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

/* ================= ESTIMATE ================= */
.split-section {
  background: linear-gradient(135deg, #f7f7f7, #fff);
  padding: 88px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.estimate-section {
  background: var(--charcoal);
  color: white;
  padding: 100px 0 120px;
}

.estimate-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.estimate-form {
  background: white;
  color: var(--black);
  padding: 34px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

label {
  font-weight: 800;
  display: block;
}

input, select, textarea {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
  border: 1px solid #bbb;
  border-radius: 10px;
  font: inherit;
}

.form-note {
  margin-top: 8px;
  color: var(--red);
  font-weight: 800;
}

/* ================= FOOTER (FIXED PROPERLY) ================= */
.footer {
  background: #070707;
  color: white;
  padding: 60px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: flex-start;
}

.footer strong {
  display: block;
  margin-bottom: 6px;
  letter-spacing: .5px;
}

.footer a {
  display: block;
  color: #ddd;
  margin: 6px 0;
}

.footer a:hover {
  color: white;
}

.footer p {
  color: #aaa;
  margin: 6px 0 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 35px;
  padding-top: 15px;
  text-align: center;
  font-size: .85rem;
  color: #888;
}

/* ================= MOBILE ================= */
@media (max-width: 850px) {
  .nav {
    min-height: 70px;
    position: relative;
  }

  .brand img {
    width: 250px;
    max-width: 55vw;
  }

  .menu-btn {
    display: block;
    font-size: 28px;
    padding: 8px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
    gap: 18px;
    z-index: 100;
  }

  .nav-links.show {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 110px 0 70px;
    background: linear-gradient(135deg, #ffffff, #f5f5f5) !important;
  }

  .hero::after {
    display: none !important;
  }

  .hero-grid,
  .split-grid,
  .estimate-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cards,
  .contact-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .estimate-form {
    padding: 28px;
  }

  input, select, textarea {
    padding: 16px;
    font-size: 1rem;
  }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn,
  .call-btn {
    padding: 16px 20px;
    text-align: center;
    min-height: 52px;
  }

  .hero h1 {
    font-size: 2.65rem !important;
  }
}

/* ================= GALLERY ================= */
.gallery-grid {
  display: flex;
  overflow-x: auto;
  gap: 18px;
  padding: 10px 0 20px;
  scroll-snap-type: x mandatory;
}

.gallery-grid img {
  flex: 0 0 300px;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

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

@media (max-width: 850px) {
  .gallery-grid img {
    flex: 0 0 280px;
    height: 220px;
  }
}

@media (max-width: 480px) {
  .gallery-grid img {
    flex: 0 0 260px;
    height: 200px;
  }
}

/* ================= FLOAT BUTTON ================= */
.floating-call {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--red);
  color: #fff;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 700;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
