/* =============================================
   GREEN NEST SOLUTIONS — STYLESHEET
   Fonts: Cormorant Garamond + DM Sans
   ============================================= */

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

:root {
  --primary:       #2B7A5B;
  --primary-dark:  #1E5A42;
  --primary-deep:  #163E2E;
  --secondary:     #4A7C5F;
  --accent:        #7BA67A;
  --accent-soft:   #A8C5A0;
  --sage:          #B5C9B0;
  --mist:          #E8F0E5;
  --cream:         #F7F5F0;
  --white:         #FFFFFF;
  --charcoal:      #2C2C2C;
  --mid:           #6B6B6B;
  --light:         #9B9B9B;
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'DM Sans', sans-serif;
  --nav-h:         96px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--cream); color: var(--charcoal); font-family: var(--font-body); font-weight: 300; line-height: 1.7; -webkit-font-smoothing: antialiased; }

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

/* ── UTILITIES ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.section-pad { padding: 96px 0; }
.bg-mist { background: var(--mist); }
.bg-cream { background: var(--cream); }
.bg-primary-deep { background: var(--primary-deep); }
.bg-primary-dark { background: var(--primary-dark); }
.bg-secondary { background: var(--secondary); }
.bg-accent { background: var(--accent); }

.section-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 500;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--primary-deep);
  margin-bottom: 24px;
}
h2 em { font-style: italic; color: var(--primary); }
h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; color: var(--primary-deep); margin-bottom: 10px; }
h4 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary-deep); margin-bottom: 10px; }
p { color: var(--mid); font-size: 0.95rem; line-height: 1.85; margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

.divider { width: 48px; height: 1px; background: var(--accent); margin-bottom: 28px; }
.divider.centered { margin-left: auto; margin-right: auto; }

/* ── GRID LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.grid-2-alt { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; align-items: stretch; }
.grid-2-alt.reverse { grid-template-columns: 1.4fr 1fr; }
.grid-2-alt.reverse .service-detail-visual { order: 2; }
.grid-2-alt.reverse .service-detail-content { order: 1; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 36px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary.btn-full { width: 100%; text-align: center; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid var(--primary);
  border-radius: 2px;
  transition: all 0.2s ease;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-outline-light {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 2px;
  transition: all 0.2s ease;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: white; }

.btn-text {
  display: inline-block;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.btn-text:hover { color: var(--primary-dark); }

/* ── NAVIGATION ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(247,245,240,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--mist);
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 88px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links .btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 2px;
  font-weight: 500;
}
.nav-links .btn-nav:hover { background: var(--primary-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: linear-gradient(150deg, #0d2a1e 0%, #163E2E 28%, #1E5A42 55%, #2B7A5B 80%, #4A7C5F 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Radial glow orbs */
.hero-bg::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,166,122,0.14) 0%, transparent 70%);
  top: -100px; right: -80px;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,197,160,0.10) 0%, transparent 70%);
  bottom: -60px; left: 15%;
}

/* Ripple rings */
.hero-bg .ripple {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(122,166,122,0.16);
  animation: rippleOut 7s ease-out infinite;
}
.hero-bg .ripple:nth-child(1) { width: 220px; height: 220px; bottom: -40px; right: 18%; animation-delay: 0s; }
.hero-bg .ripple:nth-child(2) { width: 400px; height: 400px; bottom: -120px; right: 13%; animation-delay: 1.8s; }
.hero-bg .ripple:nth-child(3) { width: 580px; height: 580px; bottom: -200px; right: 8%; animation-delay: 3.6s; }
.hero-bg .ripple:nth-child(4) { width: 180px; height: 180px; top: 20%; left: -30px; animation-delay: 1s; }
.hero-bg .ripple:nth-child(5) { width: 320px; height: 320px; top: 12%; left: -70px; animation-delay: 2.8s; }

@keyframes rippleOut {
  0%   { transform: scale(0.5); opacity: 0; }
  25%  { opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Wave lines */
.hero-bg .wave {
  position: absolute;
  left: -5%; width: 110%;
  border-bottom: 1px solid rgba(122,166,122,0.09);
  border-radius: 50%;
  animation: waveDrift 9s ease-in-out infinite;
}
.hero-bg .wave:nth-child(6)  { height: 70px;  top: 22%; animation-delay: 0s; }
.hero-bg .wave:nth-child(7)  { height: 90px;  top: 38%; animation-delay: 1.2s; border-color: rgba(168,197,160,0.07); }
.hero-bg .wave:nth-child(8)  { height: 80px;  top: 56%; animation-delay: 2.4s; }
.hero-bg .wave:nth-child(9)  { height: 100px; top: 72%; animation-delay: 0.6s; border-color: rgba(122,166,122,0.06); }

@keyframes waveDrift {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  padding-top: 40px;
}
.hero-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 24px;
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.4s;
}
.hero h1 em { font-style: italic; color: var(--accent-soft); }
.hero-sub {
  max-width: 520px;
  font-size: 1.05rem;
  color: var(--sage);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.6s;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.8s;
}
.hero-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--primary-deep);
  padding: 20px 0;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 32px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.trust-icon { color: var(--accent); font-size: 0.9rem; }
.trust-divider { width: 1px; height: 20px; background: rgba(181,201,176,0.2); }

/* ── INTRO ── */
.intro-visual { display: flex; justify-content: center; }
.intro-card {
  background: var(--white);
  border-radius: 4px;
  padding: 48px 40px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 320px;
}
.intro-stat { text-align: center; padding: 24px 0; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light);
}
.intro-rule { width: 100%; height: 1px; background: var(--mist); }

/* ── SERVICES GRID ── */
.section-header { text-align: center; margin-bottom: 56px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: 4px;
  padding: 36px 28px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.service-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; margin-bottom: 20px; }
.card-link { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); font-weight: 500; }
.section-cta { text-align: center; margin-top: 48px; }

/* ── WHY US ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 16px;
}
.why-item { position: relative; padding-top: 8px; }
.why-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--mist);
  line-height: 1;
  margin-bottom: 8px;
}
.why-item h4 { font-size: 0.88rem; margin-bottom: 10px; }
.why-item p { font-size: 0.88rem; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--primary-deep); padding: 80px 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 { color: var(--white); margin-bottom: 10px; }
.cta-text h2 em { color: var(--accent-soft); }
.cta-text p { color: var(--sage); margin-bottom: 0; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; flex-shrink: 0; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--primary-deep);
  padding: calc(var(--nav-h) + 80px) 0 80px;
  text-align: center;
}
.page-hero-inner { max-width: 600px; margin: 0 auto; padding: 0 32px; }
.page-hero .section-label { color: var(--sage); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--accent-soft); }
.page-hero p { color: var(--sage); font-size: 1rem; margin-bottom: 0; }

/* ── SERVICE DETAIL ── */
.service-detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 380px;
  overflow: hidden;
}
.service-detail-icon { width: 100px; height: 100px; opacity: 0.85; }
.service-detail-num {
  position: absolute;
  bottom: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  user-select: none;
}
.service-detail-content { padding: 64px 56px; }
.service-detail-content .section-label { color: var(--primary); }
.service-list {
  margin: 20px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list li {
  font-size: 0.88rem;
  color: var(--mid);
  padding-left: 20px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}
.contact-form-wrap .section-label { color: var(--primary); }
.contact-form { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 2px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--charcoal);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.75rem; color: var(--light); text-align: center; margin-top: 8px; }

.form-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid var(--mist);
  margin-top: 32px;
}
.form-success.visible { display: block; }
.success-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 20px;
}
.form-success h3 { font-family: var(--font-display); font-size: 1.6rem; color: var(--primary-deep); margin-bottom: 10px; }

.contact-methods { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; margin-bottom: 40px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: 4px;
  padding: 20px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-method:hover { transform: translateX(4px); box-shadow: 0 4px 24px rgba(0,0,0,0.09); }
.method-icon {
  width: 44px;
  height: 44px;
  background: var(--mist);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.method-icon svg { width: 20px; height: 20px; }
.method-text { display: flex; flex-direction: column; gap: 2px; }
.method-label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--light); }
.method-value { font-size: 0.9rem; color: var(--charcoal); font-weight: 400; }
.whatsapp-method .method-icon { background: #dcf8c6; color: #25D366; }

.contact-areas h4 { margin-bottom: 16px; }
.areas-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.area-tag {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 2px;
  padding: 6px 14px;
  font-size: 0.78rem;
  color: var(--mid);
  letter-spacing: 0.05em;
}
.areas-note { font-size: 0.82rem; color: var(--light); font-style: italic; }

/* ── FOOTER ── */
.site-footer { background: var(--primary-deep); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-logo { height: 104px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brand p { color: var(--sage); font-size: 0.85rem; max-width: 280px; }

.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-links h5, .footer-contact h5 {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 6px;
  font-weight: 500;
}
.footer-links a, .footer-contact a {
  font-size: 0.85rem;
  color: var(--sage);
  transition: color 0.2s;
  font-weight: 300;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.whatsapp-link { display: flex; align-items: center; gap: 8px; }
.whatsapp-link svg { width: 16px; height: 16px; fill: #25D366; }

.footer-bottom {
  border-top: 1px solid rgba(181,201,176,0.12);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom span { font-size: 0.75rem; color: rgba(181,201,176,0.5); letter-spacing: 0.08em; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 99;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .grid-2-alt,
  .grid-2-alt.reverse { grid-template-columns: 1fr; }
  .grid-2-alt.reverse .service-detail-visual { order: 0; }
  .grid-2-alt.reverse .service-detail-content { order: 0; }
  .service-detail-visual { min-height: 220px; }
  .service-detail-content { padding: 40px 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 64px 0; }
  .nav-links { display: none; flex-direction: column; gap: 0; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--mist); padding: 16px 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; font-size: 0.85rem; }
  .nav-links .btn-nav { margin: 12px 24px 4px; padding: 12px 24px; text-align: center; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 5rem); }
  .trust-items { flex-direction: column; gap: 4px; }
  .trust-divider { display: none; }
  .trust-item { padding: 6px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { text-align: center; }
}
