/* ==========================================================================
   LandPro — Demo Template Styles
   ========================================================================== */

:root {
  --ink: #111411;
  --lime: #C6FF3B;
  --white: #FFFFFF;
  --offwhite: #F4F5F1;
  --gray: #6B6F68;

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --container-w: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
}

p { margin: 0; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lime);
  color: var(--ink);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-lime {
  background: var(--lime);
  color: var(--ink);
}
.btn-lime:hover { background: #d7ff66; }

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

.btn-lg { padding: 17px 32px; font-size: 1.02rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(17, 20, 17, 0.96);
  backdrop-filter: blur(6px);
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  display: inline-flex;
  color: var(--lime);
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav ul {
  display: flex;
  gap: 32px;
}

.main-nav ul a {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--white);
  opacity: 0.88;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.main-nav ul a:hover { opacity: 1; color: var(--lime); }

.nav-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.phone-link svg { color: var(--lime); flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
  display: block;
}
.eyebrow-dark { color: #5b7a12; }

.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--lime);
}

.hero-sub {
  margin-top: 26px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 46ch;
}

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

.hero-actions .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.hero-actions .btn-outline:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shape {
  position: absolute;
  width: 88%;
  height: 88%;
  background: var(--lime);
  border-radius: var(--radius-lg);
  top: 6%;
  right: -8%;
  z-index: 0;
}

.hero-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--ink);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  transform: translate(-18px, 0);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--offwhite);
  border-bottom: 1px solid #e4e5df;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}
.trust-item svg { color: var(--ink); flex-shrink: 0; }

/* ---------- Services ---------- */
.services {
  padding: 110px 0;
  background: var(--white);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  max-width: 18ch;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(17,20,17,0.08);
}

.service-card--wide { grid-column: span 2; }

.service-card--dark {
  background: var(--ink);
  color: var(--white);
}
.service-card--dark .service-num { color: var(--lime); }
.service-card--dark p { color: rgba(255,255,255,0.7); }

.service-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 22px;
}

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

.service-card p {
  color: var(--gray);
  font-size: 1rem;
  max-width: 42ch;
}

/* ---------- Gallery ---------- */
.gallery {
  padding: 100px 0;
  background: var(--ink);
  color: var(--white);
}
.gallery .eyebrow-dark { color: #7a9a1e; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.gallery-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #1c1f1b;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.4s ease;
}

.gallery-item--tall img { aspect-ratio: 4 / 5.6; }

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

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
}

/* ---------- About ---------- */
.about {
  padding: 100px 0;
  background: var(--offwhite);
}

.about-inner { display: flex; justify-content: center; }

.about-copy {
  max-width: 720px;
  text-align: left;
}

.about-copy p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-top: 22px;
  max-width: 60ch;
}

.about-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  color: var(--ink);
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  background: var(--lime);
  border-radius: 4px;
}

.about-copy .btn { margin-top: 36px; }

/* ---------- Quote / Contact ---------- */
.quote {
  padding: 110px 0;
  background: var(--white);
}

.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.quote-sub {
  margin-top: 22px;
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 50ch;
}

.quote-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--offwhite);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s ease;
}
a.contact-card:hover { background: #e9ebe3; }
.contact-card svg { color: var(--ink); flex-shrink: 0; }

.map-frame {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e4e5df;
}
.map-frame iframe { display: block; }

.quote-form {
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: none;
  padding: 0;
  margin: 0;
}

.form-row--split {
  flex-direction: row;
  gap: 20px;
}
.form-row--split > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label, legend {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 0;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #d7d9d1;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ink);
}

textarea { resize: vertical; }

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink);
}

.checkbox-item input { width: auto; accent-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.logo-text--footer {
  font-size: 1.6rem;
}

.footer-brand p {
  margin-top: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 34ch;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--lime);
}

.footer-col p {
  margin-bottom: 10px;
  color: rgba(255,255,255,0.72);
}

.footer-col a:hover { color: var(--lime); }

.footer-bottom {
  padding: 24px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .quote-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--tall { grid-column: span 2; }
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 28px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .main-nav.is-open {
    max-height: 480px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
  }

  .main-nav ul a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 20px;
  }

  .phone-link { justify-content: center; }

  .nav-cta-row .btn { width: 100%; }

  .hamburger { display: flex; }

  /* Known-bug avoidance: phone number text is in a real <span>,
     so it can be safely targeted/hidden if ever needed. It's kept
     visible here (stacked in the mobile menu) rather than hidden. */
  .phone-link span { display: inline; }

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

  .hero-media { order: -1; margin-bottom: 20px; }

  .hero-frame { transform: none; max-width: 420px; margin: 0 auto; }
  .hero-shape { right: 4%; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card--wide { grid-column: span 2; }

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

@media (max-width: 640px) {
  .header-inner { height: 72px; }
  .logo-text { font-size: 1.25rem; }

  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .trust-inner { justify-content: flex-start; }
  .trust-item { flex: 1 1 45%; font-size: 0.9rem; }

  .services, .gallery, .about, .quote { padding: 64px 0; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--tall { grid-column: span 1; }
  .gallery-item img, .gallery-item--tall img { aspect-ratio: 4/3; }

  .quote-form { padding: 28px 22px; }
  .form-row--split { flex-direction: column; }
  .checkbox-grid { grid-template-columns: 1fr; }

  .footer-inner { padding-bottom: 40px; }
}
