@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;800&display=swap");

@font-face {
  font-family: "roca";
  src: local("roca"), local("Roca"), local("Roca Two"), local("RocaTwo"), local("roca-two");
  font-display: swap;
}

:root {
  --page-width: 72rem;
  --radius-xl: 1.5rem;
  --radius-md: 1rem;
  --shadow-soft: 0 28px 64px rgba(80, 22, 52, 0.14);
  --font-display: "roca", "Roca Two", "roca-two", "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 17px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-shell {
  padding: 2rem 1rem 4rem;
}

.site-brand-bar,
.home-page,
.job-page {
  width: min(100%, var(--page-width));
  margin: 0 auto;
}

.site-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  padding: 0.2rem 0;
}

.site-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-brand-logo {
  display: block;
  width: min(11rem, 36vw);
  height: auto;
  filter: none;
}

.header-social-link {
  margin-top: 0;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--panel) 72%, transparent);
  border-color: color-mix(in srgb, var(--line) 70%, transparent);
  box-shadow: none;
}

.hero-panel,
.content-panel,
.job-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  display: grid;
  gap: 1.75rem;
  padding: 2.35rem;
}

.hero-panel-home {
  margin-bottom: 1.5rem;
}

.hero-copy-block {
  min-width: 0;
}

.job-hero-aside {
  display: grid;
  gap: 1rem;
}

.job-cover-image {
  display: block;
  width: 100%;
  max-width: 21rem;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--radius-xl) - 0.3rem);
}

.eyebrow,
.back-link {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow,
.hero-copy,
.back-link,
.prose p,
.prose li {
  color: var(--muted);
}

h1,
h2,
.prose h2,
.prose h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1;
}

h1 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
}

h2,
.prose h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}

.prose h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.hero-copy {
  max-width: 42rem;
  font-size: 0.94rem;
  line-height: 1.62;
}

.cta-row,
.cta-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.cta-stack-top,
.cta-stack-bottom {
  align-items: stretch;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 3.2rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.button-icon,
.social-icon {
  width: 1.28rem;
  height: 1.28rem;
  flex: 0 0 auto;
}

.button {
  gap: 0.55rem;
}

.button-primary {
  background: var(--accent);
  color: #fffdf9;
}

.button-whatsapp {
  background: #25d366;
  color: #082914;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.job-card {
  padding: 1.55rem;
}

.job-card h2 {
  margin: 0.45rem 0 0.95rem;
}

.job-card p {
  margin: 0;
  line-height: 1.72;
  font-size: 0.98rem;
}

.text-link {
  margin-top: 1rem;
  padding-left: 0;
  color: var(--accent-strong);
}

.content-panel {
  margin-top: 1.5rem;
  padding: 1.7rem;
}

.action-panel h2 {
  margin-top: 0.2rem;
}

.contact-email {
  margin: 0.75rem 0 1.1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  word-break: break-word;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.social-link:hover {
  color: var(--text);
}

.social-link-icon {
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none;
}

.prose {
  font-size: 1.02rem;
  line-height: 1.82;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose h1 {
  display: none;
}

.prose h2,
.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}

.prose ul {
  padding-left: 1.35rem;
}

.prose li + li,
.prose p + p {
  margin-top: 0.55rem;
}

.prose strong {
  color: var(--text);
}

@media (min-width: 820px) {
  .hero-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .job-hero-aside {
    justify-items: end;
    align-self: stretch;
  }

  .cta-stack {
    align-items: flex-end;
    flex-direction: column;
  }

  .cta-stack-bottom {
    align-items: flex-start;
    flex-direction: row;
  }
}

@media (max-width: 819px) {
  .site-shell {
    padding-top: 1rem;
  }

  .site-brand-bar {
    margin-bottom: 0.75rem;
  }

  .site-brand-logo {
    width: min(9.5rem, 42vw);
  }

  .hero-panel,
  .content-panel,
  .job-card {
    border-radius: 1.4rem;
  }

  .job-hero-aside {
    justify-items: stretch;
  }

  .job-cover-image {
    max-width: none;
  }

  h1 {
    line-height: 0.98;
  }

  .button,
  .text-link {
    width: 100%;
  }
}
