/* ===== GestionezSmart — Global Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Georgia&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --verde: #0A6644;
  --verde-dark: #074d32;
  --verde-darker: #053d27;
  --verde-accent: #34D399;
  --verde-light: #e6f5ef;
  --verde-muted: #c6e8d8;
  --alb: #ffffff;
  --bg: #f7faf8;
  --text: #1a2e24;
  --text-muted: #4a6859;
  --text-light: #7a9e8b;
  --border: #d0e8da;
  --shadow: 0 2px 24px rgba(10,102,68,0.08);
  --shadow-lg: 0 8px 48px rgba(10,102,68,0.14);
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --font-title: Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --nav-h: 72px;
}

*, *::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(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: bold;
  line-height: 1.2;
  color: var(--verde-darker);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }

p { color: var(--text-muted); font-size: 1.05rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Utility ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.text-verde { color: var(--verde); }
.text-accent { color: var(--verde-accent); }

.badge {
  display: inline-block;
  background: var(--verde-light);
  color: var(--verde);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--verde-muted);
  margin-bottom: 16px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 14px 28px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.22s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--verde);
  color: var(--alb);
  border-color: var(--verde);
}
.btn-primary:hover {
  background: var(--verde-dark);
  border-color: var(--verde-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(10,102,68,0.25);
}

.btn-accent {
  background: var(--verde-accent);
  color: var(--verde-darker);
  border-color: var(--verde-accent);
}
.btn-accent:hover {
  background: #28c487;
  border-color: #28c487;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(52,211,153,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--verde);
  border-color: var(--verde);
}
.btn-outline:hover {
  background: var(--verde-light);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--alb);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--verde);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg { width: 24px; height: 24px; }

.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--verde-darker);
  letter-spacing: -0.02em;
}
.logo-tagline {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.18s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--verde); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--verde-accent);
  border-radius: 2px;
}

.nav-cta { margin-left: 12px; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

/* ── Footer ── */
.footer {
  background: var(--verde-darker);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-name,
.footer-brand .logo-tagline { color: rgba(255,255,255,0.9); }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.55); }

.footer-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  margin-top: 14px;
  line-height: 1.7;
}

.footer h5 {
  color: var(--verde-accent);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.93rem;
  transition: color 0.18s;
}
.footer-links a:hover { color: var(--verde-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ── Cards ── */
.card {
  background: var(--alb);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--verde-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--verde);
  font-size: 24px;
}

.card-icon svg { width: 26px; height: 26px; stroke: var(--verde); fill: none; stroke-width: 1.8; }

/* ── Section header ── */
.section-header { margin-bottom: 56px; }
.section-header p { max-width: 560px; margin: 16px auto 0; font-size: 1.1rem; }

/* ── Dividers ── */
.divider {
  width: 56px;
  height: 3px;
  background: var(--verde-accent);
  border-radius: 3px;
  margin: 20px auto 0;
}

/* ── Soon badge ── */
.soon {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(52,211,153,0.15);
  color: var(--verde);
  border: 1px solid rgba(52,211,153,0.4);
  padding: 3px 10px;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: 8px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Mobile nav overlay ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(255,255,255,0.98);
  z-index: 99;
  flex-direction: column;
  padding: 32px 24px;
  gap: 4px;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color 0.18s;
}
.mobile-nav a:hover { color: var(--verde); }
.mobile-nav .btn { margin-top: 20px; justify-content: center; }

/* ── Page hero dark ── */
.page-hero {
  background: linear-gradient(135deg, var(--verde-darker) 0%, var(--verde) 100%);
  padding: 80px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2334D399' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.page-hero > * { position: relative; }
.page-hero h1 { color: var(--alb); font-size: clamp(1.9rem, 4vw, 3rem); }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 580px; margin: 16px auto 0; }
