/* Moon Landscaping LTD — night / moon brand system */
:root {
  --charcoal: #0f1419;
  --charcoal-elevated: #171d24;
  --charcoal-soft: #1e262f;
  --forest: #1a4d3e;
  --forest-bright: #246b55;
  --forest-muted: #163d32;
  --moon: #c8d0d8;
  --moon-bright: #e8eef4;
  --moon-dim: #8a96a3;
  --white: #f7f9fb;
  --white-pure: #ffffff;
  --text: #e6ebf0;
  --text-muted: #9aa5b1;
  --border: rgba(200, 208, 216, 0.14);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;
  --font-sans: "Outfit", system-ui, -apple-system, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--moon-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--moon);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--forest);
  color: var(--white-pure);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(15, 20, 25, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(15, 20, 25, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--moon-bright);
}

.logo:hover {
  color: var(--white-pure);
}

.logo-mark {
  color: var(--moon);
  display: flex;
  flex-shrink: 0;
}

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

.logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.logo-ltd {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moon-dim);
}

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

.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--moon-bright);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--moon);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--forest);
  color: var(--white-pure);
  border-color: var(--forest-bright);
}

.btn-primary:hover {
  background: var(--forest-bright);
  color: var(--white-pure);
}

.btn-secondary {
  background: transparent;
  color: var(--moon-bright);
  border-color: rgba(200, 208, 216, 0.45);
}

.btn-secondary:hover {
  background: rgba(200, 208, 216, 0.08);
  border-color: var(--moon);
  color: var(--white-pure);
}

.btn-ghost {
  background: transparent;
  color: var(--moon-bright);
  border-color: rgba(232, 238, 244, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white-pure);
}

.btn-header {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  background: var(--charcoal-soft);
  color: var(--moon-bright);
  border-color: var(--border);
}

.btn-header:hover {
  background: var(--forest);
  border-color: var(--forest-bright);
  color: var(--white-pure);
}

.btn-block {
  width: 100%;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 20, 25, 0.94) 0%, rgba(15, 20, 25, 0.72) 48%, rgba(26, 77, 62, 0.35) 100%),
    linear-gradient(to top, rgba(15, 20, 25, 0.9) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moon-dim);
}

.eyebrow-light {
  color: var(--moon);
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6.5vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white-pure);
}

.hero-accent {
  color: var(--moon);
  font-style: italic;
  font-weight: 500;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--moon-dim);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest-bright);
  box-shadow: 0 0 0 3px rgba(36, 107, 85, 0.3);
}

/* —— Sections —— */
.section {
  padding: 5.5rem 0;
}

.section-header {
  max-width: 560px;
  margin-bottom: 3rem;
}

.section-header h2,
.about-copy h2,
.contact-info h2,
.winter-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--white-pure);
}

.section-intro {
  margin: 0;
  color: var(--text-muted);
}

/* —— Services —— */
.services {
  background: var(--charcoal);
}

.service-groups {
  display: grid;
  gap: 2.75rem;
}

.service-group-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moon);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--forest-muted);
  color: var(--moon-bright);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  background: var(--charcoal-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.service-card:hover {
  border-color: rgba(36, 107, 85, 0.55);
  background: var(--charcoal-soft);
  transform: translateY(-2px);
}

.service-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--moon-bright);
}

.service-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* —— Winter —— */
.winter {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

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

.winter-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.winter-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 20, 25, 0.92) 0%, rgba(15, 20, 25, 0.78) 55%, rgba(26, 77, 62, 0.55) 100%),
    linear-gradient(to bottom, rgba(15, 20, 25, 0.4), rgba(15, 20, 25, 0.55));
}

.winter-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.winter-copy p {
  color: var(--text-muted);
  max-width: 36rem;
}

.winter-list {
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.winter-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--moon-bright);
  font-weight: 500;
  font-size: 0.98rem;
}

.winter-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moon);
  box-shadow: 0 0 10px rgba(200, 208, 216, 0.5);
}

.winter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.winter-card {
  background: rgba(15, 20, 25, 0.72);
  border: 1px solid rgba(200, 208, 216, 0.22);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.75rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.winter-card-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moon-dim);
}

.winter-card-stat {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--moon-bright);
}

.winter-card-text {
  margin: 0 0 1.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.winter-card-phone {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--moon-bright);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.winter-card-phone:hover {
  color: var(--white-pure);
}

/* —— About —— */
.about {
  background:
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(26, 77, 62, 0.22), transparent 60%),
    var(--charcoal);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
}

.about-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  background: rgba(15, 20, 25, 0.88);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--moon-bright);
  backdrop-filter: blur(8px);
}

.about-badge-moon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--moon);
  box-shadow: 0 0 12px rgba(200, 208, 216, 0.65);
}

.about-copy p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}

.about-facts dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moon-dim);
  margin-bottom: 0.35rem;
}

.about-facts dd {
  margin: 0;
  font-weight: 500;
  color: var(--moon-bright);
  font-size: 0.95rem;
}

.about-facts a {
  text-decoration: none;
  color: inherit;
}

.about-facts a:hover {
  color: var(--white-pure);
  text-decoration: underline;
}

/* —— Contact —— */
.contact {
  background: var(--charcoal-elevated);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info p {
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.contact-details li {
  display: grid;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moon-dim);
}

.contact-details a,
.contact-details span:not(.contact-label) {
  color: var(--moon-bright);
  font-weight: 500;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--white-pure);
}

.contact-form-wrap {
  position: relative;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--moon-dim);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--charcoal-elevated);
  color: var(--moon-bright);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.2s var(--ease);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #5c6773;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(200, 208, 216, 0.3);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a96a3' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.4rem;
}

.form-field select option {
  background: var(--charcoal);
  color: var(--moon-bright);
}

.form-note {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: var(--moon-dim);
  text-align: center;
}

.form-note a {
  color: var(--moon);
}

.form-success {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.75rem;
  background: var(--charcoal);
  border-radius: inherit;
  text-align: center;
}

.form-success[hidden] {
  display: none;
}

.form-success-inner {
  max-width: 320px;
}

.form-success-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--white-pure);
}

.form-success p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.form-success .btn {
  margin: 0.35rem;
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: #c45c5c;
}

/* —— Footer —— */
.site-footer {
  background: #0a0e12;
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 28rem;
}

.footer-nav h3,
.footer-contact h3 {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moon-dim);
}

.footer-nav ul,
.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-nav a,
.footer-contact a {
  text-decoration: none;
  color: var(--moon-bright);
  font-weight: 500;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--white-pure);
}

.footer-contact li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--moon-dim);
}

.footer-bottom p {
  margin: 0;
}

.footer-note {
  opacity: 0.85;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .winter-inner,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    max-width: 520px;
  }

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

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

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(15, 20, 25, 0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }

  .btn-header {
    margin-top: 1rem;
    justify-content: center;
  }

  .hero {
    align-items: center;
    padding: 4rem 0 3.5rem;
    min-height: auto;
  }

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

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.75rem, var(--max));
  }

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

  .hero-actions .btn,
  .winter-actions .btn {
    width: 100%;
  }

  .contact-form-wrap {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
