/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #22c55e;
  --primary-dk: #16a34a;
  --dark:       #0f0f1a;
  --dark2:      #1a1a2e;
  --text:       #1e1e2e;
  --muted:      #6b7280;
  --light:      #f8f8fc;
  --white:      #ffffff;
  --border:     #e5e7eb;
  --radius:     14px;
  --shadow:     0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.14);
  --font:       'Inter', system-ui, sans-serif;
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dk); border-color: var(--primary-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(34,197,94,.35); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}
.btn-whatsapp:hover { background: #1ebe5d; border-color: #1ebe5d; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,211,102,.35); }
.btn-whatsapp svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-facebook {
  background: #1877f2;
  color: var(--white);
  border-color: #1877f2;
}
.btn-facebook:hover { background: #1465d3; border-color: #1465d3; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(24,119,242,.35); }
.btn-facebook svg { width: 18px; height: 18px; flex-shrink: 0; }

.footer-social {
  display: flex;
  gap: 12px;
  margin: 4px 0;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition), transform var(--transition);
}
.footer-social a:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.btn-lg { padding: 15px 32px; font-size: 1rem; }

/* =====================
   HEADER
   ===================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

#header.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 96px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.1rem;
  margin-right: auto;
}
.logo img { width: 81px; height: 81px; border-radius: 50%; }
.logo strong { color: var(--primary); }

header nav ul {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

header nav ul li a {
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}
header nav ul li a:hover { color: var(--white); background: rgba(255,255,255,.1); }

.header-cta { margin-left: 4px; }
.header-cta:first-of-type { margin-left: 8px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.mobile-nav {
  display: none;
  background: var(--dark);
  padding: 16px 24px 24px;
}
.mobile-nav ul { flex-direction: column; gap: 4px; }
.mobile-nav ul li a {
  display: block;
  color: rgba(255,255,255,.85);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
}
.mobile-nav ul li a:hover { background: rgba(255,255,255,.08); }
.mobile-nav ul li .btn { margin-top: 8px; width: 100%; justify-content: center; }
.mobile-nav.open { display: block; }

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a3e 50%, #0f1a2e 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(34,197,94,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(99,102,241,.1) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: rgba(34,197,94,.15);
  color: var(--primary);
  border: 1px solid rgba(34,197,94,.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.hero-content h1 span { color: var(--primary); }

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.hero-scroll span { color: rgba(255,255,255,.4); font-size: .75rem; letter-spacing: 1px; text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent); animation: scrollAnim 1.5s ease-in-out infinite; }

@keyframes scrollAnim {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(.6); opacity: .4; }
}

/* =====================
   SECTION HEADERS
   ===================== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(34,197,94,.1);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* =====================
   SERVICES
   ===================== */
.services {
  padding: 100px 0;
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.service-img {
  height: 200px;
  overflow: hidden;
  margin: -36px -28px 24px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.service-card:hover .service-img img { transform: scale(1.05); }

.service-body { flex: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(34,197,94,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--primary); }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card > p {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card ul li {
  font-size: .875rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* =====================
   WHY US
   ===================== */
.why-us {
  padding: 100px 0;
  background: var(--white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-text .section-tag { display: inline-block; }

.why-us-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin: 16px 0;
  letter-spacing: -.02em;
}

.why-us-text > p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.features-list { display: flex; flex-direction: column; gap: 28px; }

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(34,197,94,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 20px; height: 20px; stroke: var(--primary); }

.feature h4 { font-weight: 700; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

.why-us-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--border);
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-2px); }

.stat-card.accent { background: var(--primary); border-color: var(--primary); }
.stat-card.accent .stat-number,
.stat-card.accent .stat-label { color: var(--white); }

.stat-card.dark { background: var(--dark); border-color: var(--dark); }
.stat-card.dark .stat-number,
.stat-card.dark .stat-label { color: var(--white); }

.stat-number { font-size: 2rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.stat-label { font-size: .85rem; color: var(--muted); font-weight: 500; }

/* =====================
   ABOUT
   ===================== */
.about {
  padding: 80px 0;
  background: var(--dark);
}
.about .section-tag { background: rgba(34,197,94,.2); }
.about .section-header h2 { color: var(--white); }
.about .section-header p { color: rgba(255,255,255,.65); }

/* =====================
   CONTACT
   ===================== */
.contact {
  padding: 100px 0;
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(34,197,94,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; stroke: var(--primary); }

.contact-card h4 { font-weight: 700; margin-bottom: 4px; font-size: .95rem; }
.contact-card p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--dark);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.footer-logo img { width: 36px; height: 36px; border-radius: 50%; }

.footer-tagline { color: rgba(255,255,255,.5); font-size: .9rem; }
.footer-copy { color: rgba(255,255,255,.3); font-size: .8rem; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .why-us-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-us-visual { order: -1; }
}

@media (max-width: 900px) {
  .header-inner { gap: 16px; }
}

@media (max-width: 768px) {
  header nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-content { padding-top: 130px; }
  .hero-scroll { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-us-visual { grid-template-columns: 1fr 1fr; }

  .hero-actions { flex-wrap: wrap; gap: 12px; }
  .hero-actions .btn { flex: 1 1 200px; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.2rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .why-us-visual { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 24px 16px; }
  .stat-number { font-size: 1.6rem; }
  .service-img { height: 180px; }
  .map-wrap { height: 260px; }
  .mobile-nav ul li .btn { width: 100%; justify-content: center; text-align: center; }
}
