/* ========================================
   TERRA NOVA LANDSCAPING — STYLESHEET
======================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:   #1a3d1a;
  --green:        #2d6a2d;
  --green-mid:    #3d8b3d;
  --green-light:  #5aab5a;
  --green-pale:   #e8f5e8;
  --gold:         #b8960c;
  --gold-light:   #d4a817;
  --cream:        #fafaf7;
  --white:        #ffffff;
  --gray-100:     #f5f5f0;
  --gray-200:     #e8e8e0;
  --gray-400:     #a0a090;
  --gray-600:     #666655;
  --gray-800:     #333322;
  --black:        #111108;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
  --radius:       12px;
  --radius-sm:    8px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.18);
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(45,106,45,.35);
}
.btn--primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,106,45,.45);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn--sm { padding: 10px 22px; font-size: 14px; }
.btn--lg { padding: 18px 42px; font-size: 17px; }
.btn--full { width: 100%; }

/* ── SECTION HEADERS ── */
.section__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section__sub {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 560px;
}
.section__header {
  text-align: center;
  margin-bottom: 60px;
}
.section__header .section__sub { margin: 0 auto; }

/* ========================================
   NAV
======================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  transition: padding var(--transition);
}
.nav.scrolled .nav__inner { padding: 14px 24px; }
.nav__logo img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  transition: border-color var(--transition);
}
.nav.scrolled .nav__logo img { border-color: var(--green-pale); }
.nav__logo-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  align-items: center;
}
.nav.scrolled .nav__logo-text { color: var(--green-dark); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  padding: 8px 14px;
  border-radius: 50px;
  transition: var(--transition);
}
.nav.scrolled .nav__link { color: var(--gray-800); }
.nav__link:hover { background: rgba(255,255,255,.15); color: var(--white); }
.nav.scrolled .nav__link:hover { background: var(--green-pale); color: var(--green); }
.nav__cta {
  background: var(--green) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 16px rgba(45,106,45,.4);
}
.nav__cta:hover {
  background: var(--green-mid) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45,106,45,.5);
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav__burger:hover { background: rgba(255,255,255,.15); }
.nav.scrolled .nav__burger:hover { background: var(--green-pale); }
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .nav__burger span { background: var(--gray-800); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================
   HERO
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      #0d2b0d 0%,
      #1a4d1a 30%,
      #2d6a2d 60%,
      #1e4d1e 100%
    );
}
/* Animated gradient shimmer */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(90,171,90,.25) 0%, transparent 70%);
  animation: shimmer 8s ease-in-out infinite alternate;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 80%, rgba(26,61,26,.6) 0%, transparent 60%);
}
@keyframes shimmer {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.05); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.05) 50%, rgba(0,0,0,.3) 100%);
}

/* Floating particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  animation: float linear infinite;
}
@keyframes float {
  0%   { transform: translateY(100vh) rotate(0deg);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}
.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--green-light);
  border-radius: 2px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  color: #8fcc8f;
}
.hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 14px;
  position: relative;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.7);
  border-radius: 2px;
  animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { top: 6px; opacity: 1; }
  50%       { top: 22px; opacity: 0.3; }
}

/* ========================================
   TRUST BAR
======================================== */
.trust {
  background: var(--green-dark);
  padding: 40px 0;
}
.trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 40px;
  gap: 4px;
}
.trust__item strong {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-serif);
}
.trust__item span {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.trust__divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.15);
}

/* ========================================
   SERVICES
======================================== */
.services { background: var(--cream); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-pale);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green);
  transition: var(--transition);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card:hover .service-card__icon { background: var(--green); color: var(--white); }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 10px;
}
.service-card p { font-size: 15px; color: var(--gray-600); line-height: 1.7; }

/* ========================================
   ABOUT
======================================== */
.about { background: var(--white); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__img-wrap {
  position: relative;
  height: 500px;
}
.about__img {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
}
.about__img--1 {
  top: 0; left: 0;
  width: 75%;
  height: 75%;
  background: linear-gradient(135deg, #1a4d1a 0%, #3d8b3d 50%, #6db56b 100%);
  box-shadow: var(--shadow-md);
}
.about__img--2 {
  bottom: 0; right: 0;
  width: 65%;
  height: 65%;
  background: linear-gradient(135deg, #2d5a1e 0%, #5a9e3e 50%, #8fc03e 100%);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about__img--1::after, .about__img--2::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.1) 0%, transparent 60%),
    repeating-linear-gradient(45deg, transparent 0, transparent 10px, rgba(0,0,0,.03) 10px, rgba(0,0,0,.03) 11px);
}
.about__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--green-pale);
  z-index: 2;
}
.about__badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--green);
}
.about__badge span {
  display: block;
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.about__badge em {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
}
.about__text .section__title { margin-bottom: 20px; }
.about__text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about__list {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-700);
  font-weight: 500;
}
.checkmark {
  width: 22px;
  height: 22px;
  background: var(--green-pale);
  color: var(--green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ========================================
   PORTFOLIO
======================================== */
.portfolio { background: var(--gray-100); }
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
}
.portfolio__item--large {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}
.portfolio__img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition);
}
.portfolio__img:hover { transform: scale(1.02); }
.portfolio__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.portfolio__img:hover .portfolio__photo { transform: scale(1.05); }
/* hide image if it fails to load — gradient shows through */
.portfolio__photo[src=""],
.portfolio__photo:not([src]) { display: none; }
.portfolio__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}
.portfolio__img:hover .portfolio__overlay {
  opacity: 1;
  transform: translateY(0);
}
.portfolio__overlay h4 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 18px;
  margin-bottom: 4px;
}
.portfolio__overlay p {
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials { background: var(--white); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 20px; right: 28px;
  font-size: 80px;
  font-family: var(--font-serif);
  color: var(--green-pale);
  line-height: 1;
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.testimonial__stars {
  color: var(--gold-light);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial > p {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial__avatar {
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial__author strong {
  display: block;
  font-size: 15px;
  color: var(--gray-800);
}
.testimonial__author span {
  font-size: 13px;
  color: var(--gray-400);
}

/* ========================================
   CTA BAND
======================================== */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 38px);
  color: var(--white);
  margin-bottom: 8px;
}
.cta-band p { color: rgba(255,255,255,.75); font-size: 17px; }
.cta-band .btn--primary {
  background: var(--white);
  color: var(--green);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
  flex-shrink: 0;
}
.cta-band .btn--primary:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

/* ========================================
   CONTACT
======================================== */
.contact { background: var(--cream); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__info .section__title { margin-bottom: 16px; }
.contact__info > p {
  color: var(--gray-600);
  margin-bottom: 36px;
  line-height: 1.7;
}
.contact__details { display: flex; flex-direction: column; gap: 16px; }
.contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
a.contact__item:hover {
  border-color: var(--green-mid);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.contact__icon {
  width: 44px;
  height: 44px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.contact__icon svg { width: 22px; height: 22px; }
.contact__item span {
  display: block;
  font-size: 12px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.contact__item strong {
  display: block;
  font-size: 15px;
  color: var(--gray-800);
  font-weight: 500;
}
.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.contact__form h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--gray-800);
}

/* ── FORMS ── */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(61,139,61,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: var(--black);
  padding: 72px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand img {
  height: 56px;
  width: 56px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
}
.footer__brand p {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}
.footer__links h4,
.footer__contact h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer__links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__contact { display: flex; flex-direction: column; }
.footer__contact a,
.footer__contact p {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer__contact a:hover { color: var(--white); }
.footer__bottom {
  text-align: center;
  padding: 20px 24px;
}
.footer__bottom p {
  font-size: 13px;
  color: rgba(255,255,255,.3);
}

/* ========================================
   LIGHTBOX
======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(6px);
}
.lightbox__box {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  z-index: 1;
  transform: scale(0.88);
  transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox.open .lightbox__box { transform: scale(1); }
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.lightbox__caption {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  text-align: center;
}
.lightbox__caption strong { color: var(--white); font-weight: 600; margin-right: 6px; }
.lightbox__close {
  position: fixed;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition);
  z-index: 2;
  cursor: pointer;
  border: none;
}
.lightbox__close:hover { background: rgba(255,255,255,.25); }
.lightbox__close svg { width: 18px; height: 18px; }
/* Cursor hint on portfolio items */
.portfolio__img { cursor: zoom-in; }

/* ========================================
   MODAL
======================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.open {
  pointer-events: all;
  opacity: 1;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
}
.modal__box {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 48px 44px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,.3);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  scrollbar-width: thin;
}
.modal.open .modal__box {
  transform: scale(1) translateY(0);
}
.modal__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: var(--transition);
}
.modal__close:hover { background: var(--gray-200); color: var(--gray-800); }
.modal__close svg { width: 16px; height: 16px; }
.modal__icon { font-size: 36px; margin-bottom: 16px; }
.modal__box h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--gray-800);
  margin-bottom: 8px;
}
.modal__box > p {
  color: var(--gray-600);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.modal__disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 12px;
}
.modal__success {
  text-align: center;
  padding: 20px 0;
}
.success__icon {
  width: 72px; height: 72px;
  background: var(--green-pale);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 20px;
}
.modal__success h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--gray-800);
  margin-bottom: 10px;
}
.modal__success p { color: var(--gray-600); margin-bottom: 24px; }
.success__contact { border-top: 1px solid var(--gray-200); padding-top: 20px; }
.success__contact p { font-size: 13px; color: var(--gray-400); margin-bottom: 8px; }
.success__contact a {
  font-size: 18px;
  font-weight: 600;
  color: var(--green);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__img-wrap { height: 360px; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Nav */
  .nav__links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__link { color: var(--gray-800) !important; font-size: 20px; padding: 12px 28px; }
  .nav__link:hover { background: var(--green-pale) !important; color: var(--green) !important; }
  .nav__cta { font-size: 16px !important; padding: 14px 36px !important; }
  .nav__burger { display: flex; z-index: 1000; }

  /* Portfolio — 2 cols with explicit row height */
  .portfolio__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 12px;
  }
  .portfolio__item { height: 200px; }
  .portfolio__item--large { grid-column: 1 / 3; height: 240px; }

  /* Contact section */
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact__form-wrap {
    padding: 24px 20px;
    width: 100%;
    min-width: 0;
  }
  .contact__details { gap: 12px; }
  .contact__item {
    padding: 14px 16px;
    gap: 12px;
    word-break: break-word;
  }
  .contact__item strong { font-size: 13px; word-break: break-all; }

  .trust__divider { display: none; }
  .trust__item { padding: 16px 20px; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .modal__box { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .services__grid { grid-template-columns: 1fr; }

  /* Portfolio — single col on very small screens */
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio__item { height: 220px; }
  .portfolio__item--large { grid-column: 1; height: 240px; }

  .about__img-wrap { height: 280px; }
  .testimonials__grid { grid-template-columns: 1fr; }

  /* Contact form tighter on small screens */
  .contact__form-wrap { padding: 20px 16px; }
  .contact__item strong { font-size: 12px; }
  .contact { padding-left: 0; padding-right: 0; }
  .contact .container { padding: 0 16px; }
}
