/* =========================================
   ALWAYS GREEN BOSTON — home.css
   ========================================= */

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

:root {
  --green-deep: #1a3320;
  --green-mid:  #2d5a3d;
  --green-bright: #4a8c5c;
  --green-light: #7aba8e;
  --cream:      #f5f0e8;
  --cream-dark: #ede5d4;
  --stone:      #9e9082;
  --charcoal:   #1c1c1c;
  --white:      #ffffff;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'DM Sans', sans-serif;

  --radius: 12px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 40px rgba(26, 51, 32, 0.15);
  --shadow-lg: 0 20px 80px rgba(26, 51, 32, 0.25);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn--primary {
  background: var(--green-mid);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 90, 61, 0.4);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn--full { width: 100%; justify-content: center; }

/* ---- SECTION HEADERS ---- */
.section-eyebrow {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--green-deep);
  margin-bottom: 16px;
}
.section-title em {
  font-style: italic;
  color: var(--green-bright);
}
.section-header {
  margin-bottom: 64px;
}

/* ===========================
   NAV
   =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(26, 51, 32, 0.97);
  padding: 14px 48px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
}
.nav__logo-name {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.nav__logo-tag {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  font-weight: 500;
}
.nav__logo-img {
  height: 80px;
  width: auto;
  transform: rotate(-90deg);
}
.footer__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}
.footer__logo-img {
  height: 120px;
  width: 120px;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 0;
  transform: rotate(-90deg);
}
.footer__logo-text {
  display: flex;
  flex-direction: column;
}
.footer__logo-name {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.footer__logo-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  font-weight: 500;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  background: var(--green-bright) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 500 !important;
  transition: background var(--transition) !important;
}
.nav__cta:hover { background: var(--green-light) !important; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--green-deep);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 28px; text-align: center; }
.mobile-menu a {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-banner.svg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}

/* Subtle extra left-side darkening on top of SVG for extra text legibility */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 50%, rgba(5,18,10,0.25) 0%, transparent 60%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(8,22,12,0.5), transparent);
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 35, 20, 0.88) 0%,
    rgba(26, 51, 32, 0.6) 50%,
    rgba(15, 35, 20, 0.3) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 48px;
  margin-left: 4%;
}
.hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  font-weight: 500;
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.2s both;
}
.hero__headline {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.4s both;
}
.hero__headline em {
  font-style: italic;
  color: var(--green-light);
}
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.6s both;
  font-weight: 300;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.8s both;
}
.hero__badge {
  position: absolute;
  bottom: 60px;
  right: 80px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 1s 1.2s both;
  box-shadow: var(--shadow-lg);
}
.hero__badge-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero__badge-num {
  display: block;
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green-deep);
  line-height: 1;
}
.hero__badge-text {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-deep);
  font-weight: 600;
  line-height: 1.3;
}
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeUp 1s 1.5s both;
}
.hero__scroll span {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   STRIP
   =========================== */
.strip {
  background: var(--green-deep);
  overflow: hidden;
  padding: 14px 0;
}
.strip__inner {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.strip__inner span {
  color: var(--green-light);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===========================
   SERVICES
   =========================== */
.services {
  padding: 120px 0;
  background: var(--cream);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(26, 51, 32, 0.08);
  cursor: default;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(74, 140, 92, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--green-mid);
}
.service-card__icon svg {
  width: 30px;
  height: 30px;
}
.service-card h3 {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 10px;
}
.service-card > p {
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card ul li {
  font-size: 0.85rem;
  color: var(--green-mid);
  padding-left: 16px;
  position: relative;
  font-weight: 500;
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--green-light);
  border-radius: 50%;
}

/* ===========================
   STATS
   =========================== */
.stats {
  background: var(--green-deep);
  padding: 80px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat__plus {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--green-light);
  font-weight: 700;
}
.stat p {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 400;
}

/* ===========================
   WORK — BEFORE / AFTER
   =========================== */
.work {
  padding: 120px 0;
  background: var(--cream-dark);
}
.before-after {
  margin-bottom: 64px;
}
.before-after:last-child { margin-bottom: 0; }
.before-after__label-row {
  margin-bottom: 20px;
}
.project-title {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-deep);
}
.before-after__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.before-after__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.before-after__img {
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.before-after__item:hover .before-after__img { transform: scale(1.04); }
.before-after__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.before-after__tag--before {
  background: rgba(28, 28, 28, 0.75);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
}
.before-after__tag--after {
  background: var(--green-mid);
  color: var(--white);
}

@media (max-width: 768px) {
  .before-after__pair { grid-template-columns: 1fr; }
  .before-after__img { height: 280px; }
}

/* ===========================
   ABOUT
   =========================== */
.about {
  padding: 120px 0;
  background: var(--cream);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__text p {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 32px 0 40px;
}
.about__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-deep);
}
.about__feature-icon {
  width: 24px;
  height: 24px;
  background: var(--green-bright);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.about__img-wrap {
  position: relative;
}
/* ABOUT IMAGE — replace url() with your own photo */
.about__img {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: url('images/craftsmanship.jpg') center center / cover no-repeat;
  box-shadow: var(--shadow-lg);
}
.about__img-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 28px;
  box-shadow: var(--shadow);
}
.about__img-badge p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 2px;
}
.about__img-badge strong {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 700;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials {
  padding: 120px 0;
  background: var(--green-deep);
}
.testimonials .section-eyebrow { color: var(--green-light); }
.testimonials .section-title { color: var(--white); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: background var(--transition);
}
.testimonial:hover { background: rgba(255,255,255,0.1); }
.testimonial__stars {
  color: #f5c842;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial p {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial strong {
  color: var(--green-light);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  padding: 120px 0;
  background: var(--green-deep);
  text-align: center;
}
.contact .section-eyebrow { color: var(--green-light); }
.contact .section-title { color: var(--white); margin-bottom: 16px; }

.contact__centered {
  max-width: 700px;
  margin: 0 auto;
}
.contact__sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 52px;
  font-weight: 300;
}
.contact__phones {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact__phone-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 22px 40px;
  color: var(--white);
  transition: var(--transition);
  min-width: 260px;
}
.contact__phone-btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: var(--green-light);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.contact__phone-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}
.contact__phone-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.contact__phone-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  font-weight: 500;
}
.contact__phone-num {
  font-family: var(--ff-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .contact__phones { flex-direction: column; align-items: center; }
  .contact__phone-btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--charcoal);
  padding-top: 72px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer__brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer__links h4 {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--green-light); }
.footer__bottom {
  padding: 20px 48px;
  text-align: center;
}
.footer__bottom p {
  color: rgba(255,255,255,0.25);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats .stat { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .about__inner { grid-template-columns: 1fr; gap: 60px; }
  .about__visual { display: none; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 18px 24px; }
  .nav.scrolled { padding: 14px 24px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .hero__content { padding: 0 24px; margin-left: 0; }
  .hero__badge { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { padding: 20px 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .services { padding: 80px 0; }
  .work { padding: 80px 0; }
  .about { padding: 80px 0; }
  .contact { padding: 80px 0; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
}