/* Hire LATAM Devs - static site styles */

:root {
  --ink: #0b1220;
  --ink-2: #121b30;
  --ink-3: #1c2842;
  --text: #1b2433;
  --muted: #566074;
  --line: #e3e7ee;
  --soft: #f5f7fa;
  --white: #ffffff;
  --orange: #f26b1d;
  --amber: #f5b01a;
  --accent-text: #b8440a;
  --grad: linear-gradient(90deg, #f26b1d 0%, #f5b01a 100%);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.06), 0 10px 28px rgba(11, 18, 32, 0.07);
  --max: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 8px; z-index: 200;
}
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn--primary { background: var(--grad); color: var(--ink); box-shadow: 0 8px 22px rgba(242, 107, 29, 0.35); }
.btn--primary:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(242, 107, 29, 0.45); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { color: var(--ink); background: var(--soft); }
.btn--sm { padding: 12px 20px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: var(--ink);
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
}
.logo small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; margin-top: 1px; }
.logo-text { line-height: 1.1; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; }
.nav a:hover { color: var(--orange); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--ink);
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(242, 107, 29, 0.33), transparent 60%),
    radial-gradient(700px 480px at -10% 110%, rgba(245, 176, 26, 0.16), transparent 60%);
  padding: 88px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.hero .eyebrow {
  color: var(--amber); background: rgba(245, 176, 26, 0.12); border: 1px solid rgba(245, 176, 26, 0.3);
  padding: 7px 14px; border-radius: 999px; letter-spacing: 0.06em;
}
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.2rem); font-weight: 800; margin-bottom: 0.4em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; color: rgba(255, 255, 255, 0.82); max-width: 34em; margin-bottom: 1.6em; }
.checks { display: grid; gap: 10px; margin-bottom: 2em; }
.checks li { position: relative; padding-left: 32px; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad);
}
.checks li::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 6px; height: 10px;
  border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0.9);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.stat-card {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px; padding: 28px; backdrop-filter: blur(8px);
}
.stat-card h2 { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-bottom: 20px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; padding: 18px; }
.stat strong { display: block; font-size: 2.1rem; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; font-size: 14px; color: rgba(255, 255, 255, 0.75); margin-top: 6px; line-height: 1.35; }
.stat-note { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); margin: 16px 0 0; }

/* ---------- Trust strip ---------- */
.trust { background: var(--soft); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; }
.trust-label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.trust-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; }
.trust-names li { font-weight: 800; font-size: 18px; color: #8892a4; letter-spacing: -0.01em; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
.section-head p { font-size: 1.12rem; color: var(--muted); margin: 0; }
.section--dark .section-head p { color: rgba(255, 255, 255, 0.72); }
.section--dark .eyebrow { color: var(--amber); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.pillar .icon {
  width: 46px; height: 46px; border-radius: 12px; background: rgba(242, 107, 29, 0.1); color: var(--orange);
  display: grid; place-items: center; margin-bottom: 18px;
}
.pillar .icon svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.15rem; font-weight: 800; }
.pillar p { color: var(--muted); font-size: 15.5px; margin: 0; }
.assurances { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.assurances li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14.5px; color: var(--ink);
}
.assurances li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); margin-right: 10px; }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.role { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.role:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #f5c9ad; }
.role .tag {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.02em; color: var(--ink);
  background: var(--grad); padding: 5px 11px; border-radius: 8px; margin-bottom: 14px;
}
.role h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 6px; }
.role p { font-size: 15px; color: var(--muted); margin: 0; }
.roles-foot { margin-top: 32px; text-align: center; color: var(--muted); font-size: 16px; }

/* Engagement models */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.model { border-left: 4px solid var(--orange); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 24px; box-shadow: var(--shadow); }
.model h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.model p { font-size: 15.5px; color: var(--muted); margin: 0; }

/* Case studies */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case {
  display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius); padding: 26px 22px; text-decoration: none; color: #fff; transition: transform 0.15s ease, border-color 0.15s ease;
}
.case:hover { transform: translateY(-4px); border-color: rgba(245, 176, 26, 0.55); color: #fff; }
.case .where { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.case h3 { font-size: 1.12rem; font-weight: 800; color: #fff; margin-bottom: 18px; }
.case .more { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--amber); }
.cases-foot { text-align: center; margin-top: 36px; }
.cases-foot a { color: var(--amber); font-weight: 700; }

/* Testimonials */
.quotes { columns: 3; column-gap: 20px; }
.quote {
  break-inside: avoid; margin: 0 0 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.quote blockquote { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--text); position: relative; padding-top: 30px; }
.quote blockquote::before {
  content: "\201C"; position: absolute; left: -2px; top: -6px; font-size: 56px; line-height: 1; font-weight: 800; color: var(--orange); font-family: Georgia, serif;
}
.quote figcaption { font-size: 14.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.quote figcaption strong { display: block; color: var(--ink); font-size: 15.5px; }
.quote figcaption a { color: var(--muted); }
.quotes-foot { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 24px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad); color: var(--ink); font-weight: 800; display: grid; place-items: center; font-size: 17px;
  box-shadow: 0 6px 16px rgba(242, 107, 29, 0.35);
}
.step h3 { font-size: 1.15rem; font-weight: 800; margin-top: 6px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* CTA band */
.cta-band { background: var(--grad); padding: 72px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin: 0 0 8px; color: var(--ink); }
.cta-band p { margin: 0; font-size: 1.1rem; color: rgba(11, 18, 32, 0.8); font-weight: 500; }
.cta-band .btn { background: var(--ink); color: #fff; box-shadow: none; }
.cta-band .btn:hover { color: #fff; background: var(--ink-3); transform: translateY(-2px); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: border-color 0.15s ease; }
.faq details[open] { border-color: #f5c9ad; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1.06rem; color: var(--ink); padding: 20px 36px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 20px; font-weight: 700; color: var(--orange);
}
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 22px; color: var(--muted); font-size: 16.5px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform 0.15s ease;
}
.post-card:hover { transform: translateY(-4px); color: var(--text); }
.post-card .meta { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.post-card h3 { font-size: 1.22rem; font-weight: 800; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: 15.5px; }
.post-card .more { margin-top: auto; font-weight: 700; color: var(--accent-text); font-size: 15px; }
.blog-foot { text-align: center; margin-top: 32px; }

/* Contact */
.contact-card {
  max-width: 860px; margin: 0 auto; text-align: center; background: var(--ink); color: #fff; border-radius: 26px; padding: 64px 32px;
  background-image: radial-gradient(600px 300px at 80% 0%, rgba(242, 107, 29, 0.3), transparent 60%);
}
.contact-card h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.contact-card p { color: rgba(255, 255, 255, 0.78); max-width: 34em; margin: 0 auto 28px; font-size: 1.1rem; }
.contact-card .fine { font-size: 14px; color: rgba(255, 255, 255, 0.55); margin: 18px auto 0; }

/* Footer */
.site-footer { background: #070c17; color: rgba(255, 255, 255, 0.72); padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo small { color: rgba(255, 255, 255, 0.55); }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, 0.5); }

/* ---------- Blog pages ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 64px 0 56px; background-image: radial-gradient(700px 300px at 85% -20%, rgba(242, 107, 29, 0.3), transparent 60%); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; max-width: 22em; margin-bottom: 0.3em; }
.page-hero p { color: rgba(255, 255, 255, 0.78); font-size: 1.15rem; max-width: 38em; margin: 0; }
.crumbs { font-size: 14px; margin-bottom: 18px; color: rgba(255, 255, 255, 0.6); }
.crumbs a { color: var(--amber); text-decoration: none; }
.article-meta { margin-top: 20px; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.article { max-width: 740px; margin: 0 auto; padding: 64px 24px 24px; }
.article h2 { font-size: 1.7rem; font-weight: 800; margin: 2em 0 0.5em; }
.article p, .article li { font-size: 18px; line-height: 1.75; }
.article ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.article li { margin-bottom: 0.4em; }
.article blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--orange); font-size: 1.15rem; color: var(--ink); font-weight: 600; line-height: 1.55;
}
.article blockquote cite { display: block; margin-top: 8px; font-size: 14.5px; font-weight: 500; font-style: normal; color: var(--muted); }
.callout { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 2.4em 0; text-align: center; }
.callout h3 { font-size: 1.3rem; font-weight: 800; }
.callout p { font-size: 16.5px; color: var(--muted); margin-bottom: 18px; }
.related { max-width: 740px; margin: 0 auto; padding: 0 24px 80px; }
.related h2 { font-size: 1.3rem; font-weight: 800; }
.related ul { display: grid; gap: 8px; }
.related a { font-weight: 700; }
.blog-index { padding: 72px 0 96px; }
.article h3 { font-size: 1.2rem; font-weight: 800; margin: 1.6em 0 0.3em; }
.tldr { background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 2em; }
.tldr .label { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px; }
.tldr p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--ink); font-weight: 500; }
.table-wrap { overflow-x: auto; margin: 1.6em 0 2.2em; border: 1px solid var(--line); border-radius: var(--radius); }
.article table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.article caption { text-align: left; font-weight: 800; padding: 14px 16px; color: var(--ink); }
.article th, .article td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.article thead th { background: var(--ink); color: #fff; border-top: 0; font-size: 14px; letter-spacing: 0.03em; }
.article tbody th { background: var(--soft); color: var(--ink); font-weight: 700; width: 24%; }
.article .sources { margin-top: 2.6em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.article .sources h2 { font-size: 1.05rem; margin: 0 0 0.6em; }
.article .sources li { font-size: 15.5px; line-height: 1.6; }
.stat-note a { color: rgba(255, 255, 255, 0.75); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .pillars, .roles, .cases { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .quotes { columns: 2; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; box-shadow: 0 18px 30px rgba(11, 18, 32, 0.1);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 14px; border-bottom: 0; }
  .models { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .section { padding: 68px 0; }
  .pillars, .roles, .cases, .steps, .posts { grid-template-columns: 1fr; }
  .quotes { columns: 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .contact-card { padding: 48px 22px; }
  .btn { width: 100%; }
  .cta-row .btn { width: 100%; }
  .header-inner .btn { width: auto; }
  .logo small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
