/* ═══════════════════════════════════════
   VELNIX SYSTEMS — Global Stylesheet
   Brand: Green #1a6b2e + Gold #c9a227
═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --green:       #1a6b2e;
  --green-dark:  #0d3d18;
  --green-mid:   #2d9e4e;
  --green-light: #d1fae5;
  --gold:        #c9a227;
  --gold-dark:   #a07c1a;
  --gold-light:  #fef3c7;
  --ink:         #0a0f0b;
  --ink2:        #111c13;
  --white:       #ffffff;
  --gray:        #6b7c6e;
  --light:       #f4faf6;
  --border:      rgba(26,107,46,0.2);
  --radius:      12px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --transition:  0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #1a2e1e; background: var(--white); overflow-x: hidden; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: 'Outfit', sans-serif; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.5rem,5.5vw,4.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.95rem,3.2vw,2.8rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { font-size: .97rem; color: var(--gray); line-height: 1.75; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, var(--gold) 0%, #d4a942 100%);
  color: #fff; border: none;
  padding: 1rem 2.2rem; border-radius: 12px;
  font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(201,162,39,0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,39,0.45); }
.btn-green {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, var(--green) 0%, #239247 100%);
  color: #fff; border: none;
  padding: 1rem 2.2rem; border-radius: 12px;
  font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(26,107,46,0.3);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,107,46,0.4); }
.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: var(--green);
  border: 2px solid var(--green); padding: .82rem 2rem;
  border-radius: 8px; font-family: 'DM Sans', sans-serif;
  font-size: .95rem; font-weight: 600; cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--green); color: #fff; }

/* ── SECTION COMMONS ── */
.section { padding: 5.5rem 0; }
.section-dark { background: var(--ink2); color: var(--white); }
.section-dark p { color: rgba(255,255,255,.55); }
.section-light { background: var(--light); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.section-label { font-size: .72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.section-title { color: var(--green-dark); margin-bottom: 1rem; }
.section-dark .section-title { color: var(--white); }
.section-sub { max-width: 520px; margin-bottom: 3rem; }

/* ── NAV ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 70px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--green-dark); }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: .88rem; font-weight: 500; color: var(--gray); transition: color var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { background: var(--gold); color: #fff; border: none; padding: .55rem 1.4rem; border-radius: 7px; font-family: 'DM Sans', sans-serif; font-size: .88rem; font-weight: 700; cursor: pointer; transition: background var(--transition); }
.nav-cta:hover { background: var(--gold-dark); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--green); border-radius: 2px; transition: .3s; }
.nav-mobile { display: none; position: fixed; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1.5rem 2rem; flex-direction: column; gap: 1.2rem; z-index: 998; }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 1rem; font-weight: 500; color: var(--green-dark); padding: .5rem 0; border-bottom: 1px solid var(--border); }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 8rem 0 4rem; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green-dark) 0%, #1a5c2e 55%, #0d3d18 100%);
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 55% at 70% 50%, rgba(201,162,39,.12) 0%, transparent 65%);
}
.hero-dots {
  position: absolute; inset: 0; opacity: .04;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(201,162,39,.15); border: 1px solid rgba(201,162,39,.3); color: var(--gold); font-size: .73rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: .38rem 1rem; border-radius: 20px; margin-bottom: 2rem; }
.hero-badge i { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; display: inline-block; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.2} }
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero h1 .gold { color: var(--gold); }
.hero p { color: rgba(255,255,255,.65); font-size: 1.1rem; max-width: 520px; margin-bottom: 2.8rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-stats { display: flex; gap: 3rem; flex-wrap: wrap; }
.hstat-n { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -1px; line-height: 1; }
.hstat-n em { color: var(--gold); font-style: normal; }
.hstat-l { font-size: .78rem; color: rgba(255,255,255,.45); margin-top: .2rem; }

/* ── SERVICES CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid rgba(26,107,46,0.08);
  border-radius: 16px; padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.card:hover { border-color: rgba(26,107,46,0.2); transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 54px; height: 54px; border-radius: 12px; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.3rem; }
.card h3 { color: var(--green-dark); margin-bottom: .6rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.tag { font-size: .7rem; font-weight: 600; padding: .2rem .65rem; border-radius: 20px; background: var(--green-light); color: var(--green); border: 1px solid rgba(26,107,46,.2); }

/* ── WHY GRID ── */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.why-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 1.8rem; transition: border-color var(--transition); }
.why-card:hover { border-color: var(--gold); }
.why-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(201,162,39,.12); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1.1rem; }
.why-card h4 { color: #fff; font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }

/* ── CONTACT FORM ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .8rem; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: .78rem; font-weight: 700; color: var(--green-dark); letter-spacing: .5px; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select {
  background: #fff; border: 1.5px solid #d1d5db; border-radius: 8px;
  padding: .78rem 1rem; font-family: 'DM Sans', sans-serif; font-size: .92rem;
  color: #1a2e1e; outline: none; transition: border-color var(--transition); width: 100%;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--green); }
.form-group textarea { height: 120px; resize: none; }

/* ── FOOTER ── */
.footer { background: var(--ink); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand .logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: 1rem; display: block; }
.footer-brand .logo span { color: var(--gold); }
.footer-brand p { font-size: .84rem; color: rgba(255,255,255,.35); line-height: 1.7; max-width: 280px; }
.footer-col h5 { font-family: 'Syne', sans-serif; font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { font-size: .84rem; color: rgba(255,255,255,.38); transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.22); }

/* ── WHATSAPP FLOAT ── */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 997; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: transform var(--transition); }
.wa-float:hover { transform: scale(1.12); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { padding: 8rem 0 4rem; background: linear-gradient(135deg, var(--green-dark), #1a5c2e); text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: .8rem; }
.page-hero p { color: rgba(255,255,255,.6); margin: 0 auto; }

/* ── JOB CARDS ── */
.job-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; transition: border-color var(--transition), box-shadow var(--transition); margin-bottom: 1rem; }
.job-card:hover { border-color: var(--green); box-shadow: var(--shadow); }
.job-badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: 20px; background: var(--green-light); color: var(--green); margin-bottom: .5rem; }
.job-card h3 { font-size: 1.05rem; color: var(--green-dark); margin-bottom: .3rem; }
.job-meta { display: flex; gap: 1rem; flex-wrap: wrap; }
.job-meta span { font-size: .82rem; color: var(--gray); display: flex; align-items: center; gap: .3rem; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .navbar { padding: 0 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .cards-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 7rem 0 3rem; }
  h1 { letter-spacing: -1px; }
}
