/* ============================================
   GO Property Maintenance — Styles
   ============================================ */

:root {
  --green-light: #9BD24C;
  --green: #6EA82D;
  --green-dark: #395C18;
  --blue-light: #8FCBEC;
  --blue: #3F8FCB;
  --blue-dark: #1E4E93;
  --ink: #0E2A21;
  --ink-soft: #16382C;
  --cream: #F8F6EF;
  --paper: #FFFFFF;
  --stone: #6B7770;
  --stone-light: #9AA59C;
  --line: rgba(14,42,33,0.1);
  --shadow: 0 20px 50px -20px rgba(14,42,33,0.35);
  --ease: cubic-bezier(.16,.84,.44,1);
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
#services, #work, #about, #area, #contact { scroll-margin-top: 84px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; line-height: 1.6; }
section { position: relative; }
em { font-style: italic; color: var(--green); font-family: var(--font-display); }

::selection { background: var(--green); color: white; }

@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--green);
  transition: opacity .2s;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(110,168,45,0.55);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s, background .25s;
}
.cursor-ring.hover {
  width: 64px; height: 64px;
  background: rgba(110,168,45,0.08);
  border-color: var(--blue);
}
.cursor-ring.drag {
  width: 54px; height: 54px;
  background: rgba(63,143,203,0.15);
  border-color: var(--blue);
}

.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--green-light), var(--green));
  color: white;
  box-shadow: 0 14px 30px -10px rgba(110,168,45,0.55);
}
.btn-primary:hover { box-shadow: 0 18px 40px -12px rgba(110,168,45,0.7); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(14,42,33,0.04); }
.btn-call {
  background: white;
  color: var(--ink);
  font-size: 1.25rem;
  padding: 20px 42px;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.4);
}
.btn-call svg { width: 22px; height: 22px; color: var(--green); }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5vw;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.nav.scrolled {
  background: rgba(248,246,239,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 5vw;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}
.nav-brand-text {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.nav-brand-text em {
  font-style: normal;
  color: var(--stone);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9em;
}
.nav-links {
  display: flex;
  gap: 34px;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--green);
  transition: width .3s var(--ease);
}
.nav-link:hover::after { width: 100%; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: white;
  padding: 11px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform .35s var(--ease), background .3s;
}
.nav-cta svg { width: 15px; height: 15px; color: var(--green-light); }
.nav-cta:hover { background: var(--green-dark); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(78vw, 320px);
  height: 100vh;
  background: var(--ink);
  color: white;
  z-index: 600;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 40px;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-size: 1.3rem;
  font-weight: 700;
}
.mobile-call {
  margin-top: 20px;
  background: var(--green);
  padding: 14px 20px;
  border-radius: 12px;
  text-align: center;
  font-size: 1.05rem !important;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #143526 0%, var(--ink) 55%, #0A1E17 100%);
  padding: 140px 6vw 100px;
}
#particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110,168,45,0.35), rgba(63,143,203,0.15) 45%, transparent 70%);
  filter: blur(40px);
  top: var(--gy, 30%);
  left: var(--gx, 50%);
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  transition: top .3s ease-out, left .3s ease-out;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  color: var(--green-light);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-logo-wrap {
  perspective: 800px;
  margin-bottom: 34px;
}
.hero-logo {
  width: min(60vw, 420px);
  filter: drop-shadow(0 25px 45px rgba(0,0,0,0.45));
  transition: transform .15s ease-out;
  transform-style: preserve-3d;
}
.hero-title {
  color: white;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.08;
  margin-bottom: 26px;
}
.hero-title em { color: var(--green-light); }
.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 640px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}
.hero-actions .btn-ghost {
  color: white;
  border-color: rgba(255,255,255,0.28);
}
.hero-actions .btn-ghost:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: white;
}
.stat-label {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.stat-divider {
  width: 1px; height: 34px;
  background: rgba(255,255,255,0.18);
}
.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scroll-cue-line {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
  position: relative;
}
.scroll-cue-line i {
  position: absolute;
  top: -40px; left: 0;
  width: 100%; height: 100%;
  background: var(--green-light);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ============================================
   SECTION HEAD (shared)
   ============================================ */
.section-head {
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
  padding: 0 6vw;
}
.eyebrow {
  color: var(--green);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 16px;
}
.section-sub {
  color: var(--stone);
  font-size: 1.05rem;
}
.section-head.light .eyebrow { color: var(--green-light); }
.section-head.light h2 { color: white; }
.section-head.light .section-sub { color: rgba(255,255,255,0.65); }

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 130px 6vw 100px;
  background: var(--cream);
}
.service-group { margin-bottom: 70px; }
.service-group:last-child { margin-bottom: 0; }
.service-group-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.service-group-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--green-light);
  -webkit-text-stroke: 1px var(--green);
  color: transparent;
}
.service-group-head h3 {
  font-size: 1.5rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.tilt-card {
  perspective: 900px;
}
.tilt-card-inner {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 24px;
  height: 100%;
  transition: transform .15s ease-out, box-shadow .3s var(--ease), border-color .3s;
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt-card-inner:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(110,168,45,0.14), rgba(63,143,203,0.14));
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
  margin-bottom: 20px;
  transform: translateZ(30px);
}
.card-icon svg { width: 26px; height: 26px; }
.tilt-card-inner h4 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  transform: translateZ(20px);
}
.tilt-card-inner p {
  color: var(--stone);
  font-size: 0.92rem;
  transform: translateZ(10px);
}

/* ============================================
   BEFORE / AFTER
   ============================================ */
.transform {
  padding: 130px 6vw 120px;
  background: linear-gradient(180deg, var(--ink) 0%, #102D22 100%);
}
.ba-wrap {
  max-width: 980px;
  margin: 0 auto;
}
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.6;
  max-height: 640px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
}
.ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-clip {
  position: absolute; inset: 0;
  width: 55%;
  overflow: hidden;
  border-right: 3px solid white;
}
.ba-clip .ba-before {
  width: var(--clip-w, 100vw);
  max-width: none;
}
.ba-handle {
  position: absolute;
  top: 50%; left: 55%;
  width: 52px; height: 52px;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  pointer-events: none;
}
.ba-handle svg { width: 22px; height: 22px; }
.ba-tag {
  position: absolute;
  top: 20px;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba-tag-before { left: 20px; }
.ba-tag-after { right: 20px; }

.ba-detail {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 20px;
}
.ba-detail-img {
  width: 160px; height: 120px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}
.ba-detail-text h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.ba-detail-text p {
  color: rgba(255,255,255,0.62);
  font-size: 0.92rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 130px 6vw;
  background: var(--cream);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item.span-2 { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  transform: translateY(8px);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 130px 6vw;
  background: var(--paper);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.about-watermark {
  position: absolute;
  width: 340px;
  opacity: 0.07;
  transform: rotate(-8deg);
  z-index: 0;
}
.about-photo-wrap {
  position: relative;
  z-index: 2;
  width: 280px;
  border-radius: 26px;
  overflow: hidden;
  border: 7px solid white;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
  transition: transform .15s ease-out;
  transform-style: preserve-3d;
  background: white;
}
.about-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.about-card {
  position: relative;
  z-index: 3;
  margin: -60px -20px 0 -40px;
  background: linear-gradient(155deg, var(--ink), #0A1E17);
  color: white;
  border-radius: 22px;
  padding: 30px 28px;
  max-width: 300px;
  box-shadow: var(--shadow);
  transition: transform .15s ease-out;
  transform-style: preserve-3d;
  align-self: flex-end;
}
.about-card-icon {
  width: 36px;
  margin-bottom: 16px;
}
.about-card-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 16px;
}
.about-card-name {
  color: var(--green-light);
  font-weight: 700;
  font-size: 0.85rem;
}
.about-copy h2 { margin-bottom: 22px; }
.about-copy p {
  color: var(--stone);
  margin-bottom: 18px;
  font-size: 1.02rem;
}
.about-copy .btn { margin-top: 12px; }

/* ============================================
   SERVICE AREA
   ============================================ */
.area {
  padding: 120px 6vw 140px;
  background: linear-gradient(180deg, #102D22 0%, var(--ink) 100%);
  text-align: center;
}
.area-pins {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}
.pin-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 34px 30px;
  width: 240px;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.pin-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(155,210,76,0.4);
}
.pin-dot {
  display: block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green-light);
  margin: 0 auto 18px;
  box-shadow: 0 0 0 6px rgba(155,210,76,0.15);
  position: relative;
}
.pin-dot::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(155,210,76,0.35);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
.pin-card h4 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.pin-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  background: var(--ink);
  padding: 130px 6vw 50px;
  text-align: center;
  overflow: hidden;
}
#footerParticles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.6;
}
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-logo {
  width: 200px;
  margin-bottom: 34px;
}
.footer-inner h2 {
  color: white;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 16px;
}
.footer-inner > p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
}
.footer-sub {
  margin-top: 22px;
  color: rgba(255,255,255,0.5) !important;
  font-size: 0.9rem;
}
.footer-bottom {
  margin-top: 70px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-visual {
    min-height: auto;
    flex-direction: column;
    padding: 20px 0 50px;
  }
  .about-card {
    margin: -50px 0 0 0;
    align-self: center;
    transform: none;
  }
  .about-photo-wrap { transform: none; }
  .about-copy { order: 2; }
}
@media (max-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }
  .gallery-item.span-2 { grid-column: span 2; }
  .ba-detail { flex-direction: column; text-align: center; }
  .hero { padding-top: 120px; }
  .hero-stats { gap: 18px; }
  .stat-num { font-size: 1.9rem; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.span-2 { grid-column: span 1; }
  .btn { padding: 14px 24px; font-size: 0.88rem; }
  .btn-call { padding: 17px 30px; font-size: 1.05rem; }
}
