/* =============================================
   GROTIVE DIGITAL — SHARED STYLESHEET
   Grow Digitally. Scale Globally.
============================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --navy: #0A2540;
  --navy-light: #0f3460;
  --electric: #007BFF;
  --electric-dark: #0056b3;
  --green: #00C853;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-xs: 0 1px 4px rgba(10,37,64,0.06);
  --shadow-sm: 0 2px 8px rgba(10,37,64,0.08);
  --shadow-md: 0 8px 32px rgba(10,37,64,0.10);
  --shadow-lg: 0 24px 64px rgba(10,37,64,0.14);
  --shadow-xl: 0 40px 80px rgba(10,37,64,0.18);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--navy); background: var(--white); overflow-x: hidden; line-height: 1.6; }

/* ── LAYOUT ─────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 130px 0; }

/* ── TYPOGRAPHY ─────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.15; }
.heading-xl  { font-size: clamp(2.8rem, 5vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; }
.heading-lg  { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; }
.heading-md  { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; letter-spacing: -0.02em; }
.heading-sm  { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; letter-spacing: -0.015em; }
.text-gradient { background: linear-gradient(135deg, var(--electric) 0%, var(--green) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-white { color: #fff; }
.text-muted { color: var(--gray-600); }

/* ── BADGE / TAG ────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,123,255,0.08); color: var(--electric);
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px;
  border: 1px solid rgba(0,123,255,0.2);
}
.tag::before { content: ''; width: 6px; height: 6px; background: var(--green); border-radius: 50%; flex-shrink: 0; }
.tag-green { background: rgba(0,200,83,0.1); color: var(--green); border-color: rgba(0,200,83,0.25); }
.tag-green::before { background: var(--electric); }

/* ── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 100px;
  cursor: pointer; transition: var(--transition);
  border: 2px solid transparent; text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--electric); color: #fff; box-shadow: 0 4px 20px rgba(0,123,255,0.35); }
.btn-primary:hover { background: var(--electric-dark); box-shadow: 0 8px 32px rgba(0,123,255,0.5); transform: translateY(-2px); }
.btn-secondary { background: var(--navy); color: #fff; box-shadow: 0 4px 20px rgba(10,37,64,0.25); }
.btn-secondary:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--gray-200); }
.btn-outline:hover { border-color: var(--electric); color: var(--electric); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--navy); box-shadow: 0 4px 20px rgba(0,200,83,0.35); }
.btn-green:hover { background: #00a844; transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-icon { width: 48px; height: 48px; padding: 0; border-radius: 50%; }

/* ── SECTION HEADER ─────────────────────── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header .tag { margin-bottom: 20px; }
.section-header h2 { margin: 16px 0; }
.section-header p { font-size: 1.05rem; color: var(--gray-600); line-height: 1.75; }

/* ── CARDS ──────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 36px;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-dark { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }

/* ── NAVBAR ─────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
  background: rgba(10,37,64,0.96);
  backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: 0 4px 32px rgba(0,0,0,0.15);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; gap: 24px;
}
.nav-logo {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  color: #fff; text-decoration: none; letter-spacing: -0.03em; flex-shrink: 0;
}
.nav-logo .dot { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 14px; font-weight: 500; transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--green);
  transform: scaleX(0); transition: var(--transition);
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-actions .btn { padding: 10px 20px; font-size: 13px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy); z-index: 999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  color: #fff; text-decoration: none;
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700;
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--electric); }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; color: rgba(255,255,255,0.5);
  font-size: 28px; cursor: pointer; transition: var(--transition);
}
.mobile-close:hover { color: #fff; }

/* ── PAGE HERO (reusable) ───────────────── */
.page-hero {
  background: var(--navy); position: relative; overflow: hidden;
  padding: 160px 0 100px;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(0,123,255,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(0,200,83,0.10) 0%, transparent 50%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 2; max-width: 760px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.breadcrumb a { color: rgba(255,255,255,0.5); font-size: 13px; text-decoration: none; transition: var(--transition); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: rgba(255,255,255,0.3); font-size: 13px; }
.breadcrumb .current { color: rgba(255,255,255,0.8); font-size: 13px; }
.page-hero h1 { color: #fff; margin-bottom: 20px; }
.page-hero p { font-size: 1.15rem; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 36px; max-width: 600px; font-weight: 300; }
.page-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── FOOTER ─────────────────────────────── */
footer { background: var(--navy); color: rgba(255,255,255,0.65); }
.footer-top { padding: 80px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .nav-logo { display: inline-block; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.75; max-width: 280px; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.social-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer; transition: var(--transition);
  text-decoration: none; color: rgba(255,255,255,0.6);
}
.social-btn:hover { background: var(--electric); border-color: var(--electric); color: #fff; transform: translateY(-2px); }
.footer-col h5 {
  color: #fff; font-family: var(--font-display); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; transition: var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 13px; transition: var(--transition); }
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ── WHATSAPP FLOAT ─────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  font-size: 26px; text-decoration: none; color: #fff;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45); transition: var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 36px rgba(37,211,102,0.6); }

/* ── SCROLL REVEAL ──────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── FORMS ──────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--navy); }
.form-control {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; color: var(--navy);
  background: var(--white); outline: none; transition: var(--transition);
}
.form-control:focus { border-color: var(--electric); box-shadow: 0 0 0 3px rgba(0,123,255,0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

/* ── GRID UTILITIES ─────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 24px; }

/* ── DIVIDER ────────────────────────────── */
.divider { height: 1px; background: var(--gray-200); margin: 40px 0; }
.divider-dark { background: rgba(255,255,255,0.08); }

/* ── STAT BADGE ─────────────────────────── */
.stat-badge {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 14px 20px;
  backdrop-filter: blur(10px);
}
.stat-badge-val { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: #fff; }
.stat-badge-label { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ── MEDIA QUERIES ──────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 20px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-lg { padding: 80px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links, .nav-actions .btn:first-child { display: none; }
  .hamburger { display: flex; }
  .page-hero { padding: 120px 0 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-header { margin-bottom: 40px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn-lg { padding: 15px 28px; font-size: 15px; }
}
