/* Fonts loaded via <link> in index.html */

:root {
  --brand-950: #06150a;
  --brand-900: #0a1f0f;
  --brand-800: #163a20;
  --brand-700: #1f4d2b;
  --brand-600: #29653a;
  --brand-500: #357e49;
  --accent:    #5fae3a;
  --accent-dk: #488a2b;
  --accent-lt: #7fca55;
  --slate-50:  #f7faf6;
  --slate-100: #eef4ea;
  --slate-200: #dfe9db;
  --text-primary:   #14201a;
  --text-secondary: #45564b;
  --text-muted:     #66786c;
  --text-on-dark:       rgba(224,238,222,0.92);
  --text-on-dark-muted: rgba(190,212,188,0.55);
  --border-dark: rgba(255,255,255,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #ffffff;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

/* ---- Layout ---- */
.w-full-padded {
  width: 100%;
  padding-left:  clamp(1.5rem, 4vw, 8rem);
  padding-right: clamp(1.5rem, 4vw, 8rem);
}
section { position: relative; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--brand-900); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
::selection { background: rgba(95,174,58,0.25); }

/* ---- Typography ---- */
.font-display { font-family: 'Barlow', 'Inter', sans-serif; }

.hero-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 6.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.section-title {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.1;
  font-weight: 300;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.6s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal-left.visible { opacity: 1; transform: none; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: white;
  color: var(--brand-800);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-primary:hover  { background: #eef4ea; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.btn-primary:active { transform: scale(0.97); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-outline:hover  { border-color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.08); transform: translateY(-1px); }
.btn-outline:active { transform: scale(0.97); }

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dk) 100%);
  color: white;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(95,174,58,0.3);
}
.btn-solid:hover  { opacity: 0.92; transform: translateY(-1px); }
.btn-solid:active { transform: scale(0.97); }

/* ---- Form inputs ---- */
.form-input, .form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: white;
  padding: 0.875rem 1.125rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  font-family: inherit;
  border-radius: 0;
}
.form-input:focus, .form-textarea:focus { border-color: rgba(95,174,58,0.7); background: rgba(255,255,255,0.09); }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.32); }
.form-textarea { resize: vertical; min-height: 130px; }

/* ---- Hover underline link ---- */
.hover-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
}
.hover-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.hover-link:hover::after { width: 100%; }

/* =========================================================
   TOP INFO BAR
========================================================= */
.topbar {
  background: #0c2013;
  height: 34px;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
}
.topbar a { text-decoration: none; display: flex; align-items: center; gap: 0.4rem; transition: color 0.2s; }
.topbar a:hover { color: white; }
.topbar .sep { opacity: 0.25; }

/* =========================================================
   HEADER / NAV
========================================================= */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand-800);
  border-bottom: 1px solid var(--border-dark);
  height: 80px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
header.site-header.scrolled {
  background: rgba(22,58,32,0.97);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 2px 24px rgba(6,15,10,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: 'Barlow', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.01em;
}
.logo span { color: var(--accent-lt); }

nav.main-nav { display: flex; align-items: center; gap: 0.25rem; }
nav.main-nav a.nav-link {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  letter-spacing: 0.015em;
  transition: color 0.15s;
}
nav.main-nav a.nav-link:hover { color: white; }

.nav-cta {
  margin-left: 0.75rem;
  padding: 0.65rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dk) 100%);
  box-shadow: 0 2px 14px rgba(95,174,58,0.3);
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.9; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle svg { display: block; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 60; display: none;
}
.mobile-drawer.open { display: block; }
.mobile-drawer .backdrop {
  position: absolute; inset: 0;
  background: rgba(6,10,8,0.88);
  backdrop-filter: blur(6px);
}
.mobile-drawer .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 78%; max-width: 320px;
  background: var(--brand-800);
  border-left: 1px solid var(--border-dark);
  display: flex; flex-direction: column;
}
.mobile-drawer .panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-dark);
}
.mobile-drawer nav { flex: 1; overflow-y: auto; padding: 1rem 0.75rem; }
.mobile-drawer nav a {
  display: block;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.mobile-drawer nav a:hover { color: white; background: rgba(255,255,255,0.04); }
.mobile-drawer .panel-foot { padding: 1rem; border-top: 1px solid var(--border-dark); }
.mobile-drawer .panel-foot a {
  display: flex; align-items: center; justify-content: center;
  padding: 0.9rem; color: white; text-decoration: none; font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
}

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(6,21,10,0.78) 0%, rgba(10,31,15,0.88) 55%, rgba(10,31,15,0.97) 100%),
    linear-gradient(120deg, #163a20 0%, #0a1f0f 60%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(95,174,58,0.18), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(95,174,58,0.12), transparent 50%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding-top: 5rem; padding-bottom: 5rem; width: 100%; }
.hero-lead {
  font-size: 1.1rem;
  color: var(--text-on-dark);
  max-width: 560px;
  margin-top: 1.75rem;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

/* =========================================================
   SECTION SPACING
========================================================= */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-dark { background: var(--brand-900); color: var(--text-on-dark); }
.section-alt { background: var(--slate-50); }
.section-head { max-width: 680px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-desc { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; margin-top: 1rem; }
.section-dark .section-desc { color: var(--text-on-dark-muted); }

/* =========================================================
   SERVICES GRID
========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.service-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  padding: 2.25rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(20,32,26,0.1);
  border-color: var(--accent-lt);
}
.service-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--slate-100);
  color: var(--accent-dk);
  margin-bottom: 1.5rem;
}
.service-card h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.service-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; }

/* =========================================================
   PROCESS / STEPS
========================================================= */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step-item { position: relative; padding-top: 1rem; }
.step-num {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 2.75rem;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step-item h4 { font-family: 'Barlow', sans-serif; font-size: 1.15rem; font-weight: 600; color: white; margin-bottom: 0.5rem; }
.step-item p { color: var(--text-on-dark-muted); font-size: 0.9rem; line-height: 1.6; }

/* =========================================================
   ABOUT / SPLIT
========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-visual {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--brand-700), var(--brand-900));
  position: relative;
  overflow: hidden;
}
.about-visual::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(95,174,58,0.35), transparent 55%);
}
.check-list { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.9rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.95rem; color: var(--text-secondary); }
.check-list svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--accent-dk); }

/* =========================================================
   GALLERY
========================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 0.75rem; }
.gallery-item {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--brand-600), var(--brand-900));
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* =========================================================
   CONTACT
========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.contact-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-dark);
  color: var(--accent-lt);
}
.contact-info-item h4 { font-size: 0.95rem; font-weight: 600; color: white; margin-bottom: 0.25rem; }
.contact-info-item p, .contact-info-item a { color: var(--text-on-dark-muted); font-size: 0.9rem; text-decoration: none; line-height: 1.5; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* =========================================================
   FOOTER
========================================================= */
footer.site-footer { background: var(--brand-950); color: var(--text-on-dark-muted); padding: 3.5rem 0 1.75rem; font-size: 0.85rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border-dark); }
.footer-grid h5 { color: white; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-grid ul li { margin-bottom: 0.6rem; }
.footer-grid ul a { text-decoration: none; transition: color 0.2s; }
.footer-grid ul a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-dark); color: var(--text-on-dark-muted); text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--accent); color: white; border-color: var(--accent); }

/* =========================================================
   WHATSAPP FLOAT
========================================================= */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25); text-decoration: none;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { aspect-ratio: 16/9; order: -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav.main-nav { display: none; }
  .mobile-toggle { display: block; }
  .topbar { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
