/* ===== Reset básico ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

/* ===== Design tokens ===== */
:root {
  --accent: #7CB342;
  --accent-dark: #5f9130;
  --ink: #1a1c18;
  --ink-soft: #4a4d47;
  --paper: #ffffff;
  --paper-soft: #f5f6f3;
  --border: #e4e6e0;
  --radius: 14px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1120px;
}

body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  /* background: var(--paper); */
  background: var(--paper-soft) ;
   line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; }
strong { color: var(--accent-dark); font-weight: 600; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }

.section-inner, .header-inner, .footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-inner p +p{
  margin-top: 1rem;
}

.container{
   max-width: var(--container);
   margin: 0 auto;
   position:relative;
}

main a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.25s ease, text-underline-offset 0.25s ease;
}

main a:hover {
  text-decoration-color: var(--accent-dark);
  text-underline-offset: 6px;
}
/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85em;
}
.logo-text { font-family: var(--font-display); font-weight: 600; color: var(--ink); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); }

.site-nav ul { display: flex; gap: 28px; }
.site-nav a, .site-nav li.is-active {
  display: flex; align-items: baseline; gap: 6px;
  text-decoration: none; font-weight: 500; color: var(--ink-soft);
  font-size: 0.95em;
}
.site-nav a:hover { color: var(--accent-dark); }
.site-nav li.is-active { color: var(--ink); font-weight: 600; }
.site-nav .n { font-size: 0.7em; color: var(--accent); font-family: var(--font-display); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, #1a1c18 0%, #2b2f26 100%);
  color: #fff;
  padding: 90px 0 80px;
}
.hero-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; max-width: 760px; }
.eyebrow {
  color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.8em; font-weight: 600; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: #fff; margin-bottom: 20px; }
.hero h1 strong { color: var(--accent); }
.hero-lead { font-size: 1.15em; color: #d4d6ce; max-width: 620px; margin-bottom: 24px; }
.hero-lead strong { color: #fff; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.badge {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px; padding: 8px 16px;
  font-size: 0.82em; color: #e7e9e3;
}

.btn {
  display: inline-block; text-decoration: none;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 0.95em;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--accent); color: #12140f; }
.btn-primary:hover { background: #8fc957; transform: translateY(-2px); }

/* ===== Sections ===== */
.section { padding: 72px 0;  background: var(--paper);  }
.section h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }
.section-lead { max-width: 640px; margin-bottom: 32px; }
.section-extra { margin-top: 24px; max-width: 720px; }
.section-extra a, .cert-card a { color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.section-extra a:hover, .cert-card a:hover { text-decoration: underline; }

.intro-block { background: var(--paper-soft); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.two-col h2 { max-width: 420px; }

/* Skills */
.skills-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.skills-grid li {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-weight: 600; color: var(--ink);
  font-size: 0.92em;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.skills-grid li:hover { border-color: var(--accent); transform: translateY(-2px); }

/* Certificados */
.certs-block { background: var(--paper-soft); }
.cert-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 8px;
}
.cert-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.cert-card h3 { font-size: 1.05em; margin-bottom: 8px; text-transform: uppercase; line-height: 1.3; }
.cert-card p { font-size: 0.92em; }

/* Empresas */
.companies-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 24px;
}
.companies-grid li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9em;
}

/* CTA final */
.cta-block { background: var(--ink); color: #fff; text-align: center; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: #cfd2c9; margin-bottom: 28px; }

/* ===== Footer ===== */
.site-footer { background: var(--paper-soft); border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.copyright { font-size: 0.8em; color: var(--ink-soft); }
.social-links a { color: var(--ink-soft); }
.social-links a:hover { color: var(--accent-dark); }
.social-links svg{
  width: 28px;
  height: 28px;
}



/* ===== Responsive ===== */
@media screen and (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
}

@media screen and (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .site-nav.is-open { max-height: 320px; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .site-nav a, .site-nav li.is-active { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
}