:root {
  --bg: #f2e6da;
  --surface: #ffffff;
  --surface-alt: #f2e6da;
  --surface-dark: #1d2326;
  --text: #1f2529;
  --muted: #5d686e;
  --line: rgba(31, 37, 41, 0.12);
  --primary: #b88654;
  --primary-dark: #8b633a;
  --shadow: 0 18px 40px rgba(27, 32, 35, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.page-shell {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(243, 239, 232, 0.86);
  border-bottom: 1px solid rgba(31, 37, 41, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #1d2326, #525f66);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small,
.site-nav a,
.section-heading p,
.service-card p,
.team-body p,
.value-card p,
.footer-grid p,
.testimonial-placeholder p,
.contact-form p,
.hero-points span,
.intro-grid p {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text) !important;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto 5px;
  background: var(--text);
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: end;
  padding: 92px 0 48px;
  color: #fff;
  background-image: url("../img/mujer-trabajando.jpg?v=2");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 20, 22, 0.86) 0%, rgba(17, 20, 22, 0.62) 45%, rgba(17, 20, 22, 0.3) 100%), linear-gradient(180deg, rgba(17, 20, 22, 0.12) 0%, rgba(17, 20, 22, 0.72) 100%);
}

.hero-layout,
.intro-grid,
.purpose-grid,
.footer-grid {
  display: grid;
  gap: 28px;
}

.hero-layout,
.purpose-grid,
.footer-grid {
  grid-template-columns: 1fr 1fr;
}

.hero-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 36px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow-light {
  color: #f0d1a9;
}

.hero h1,
.section-heading h2,
.footer-grid h2,
.purpose-grid h2,
.intro-grid h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 6rem);
}

.hero-text,
.section-heading p,
.purpose-grid p,
.footer-grid p,
.team-body p,
.service-card p,
.value-card p,
.contact-form p,
.testimonial-placeholder p,
.intro-grid p {
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

.hero-text-light {
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #c49563, #94683f);
  box-shadow: 0 18px 32px rgba(148, 104, 63, 0.28);
}

.button-ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
}

.mini-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0d1a9;
}

.hero-panel,
.hero-points,
.services-grid,
.values-grid,
.forms-grid,
.team-grid,
.testimonials-wrap,
.testimonials-grid {
  display: grid;
  gap: 22px;
}

.hero-box {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-box h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-box p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.hero-points article {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.hero-points strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section {
  padding: 96px 0;
}

.intro-band {
  padding: 56px 0 0;
  background: var(--bg);
  border-bottom: 1px solid rgba(31, 37, 41, 0.08);
}

.intro-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: none;
}

.intro-grid > div {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.intro-grid p {
  max-width: 62ch;
}

.intro-grid > div:last-child {
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  margin-top: 24px;
}

.intro-grid > div:first-child {
  max-width: 760px;
}

.section-white {
  background: var(--bg);
}

.values-section {
  background: var(--bg);
}

.section-dark {
  color: #f5f7fb;
  background: var(--surface-dark);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading h2,
.footer-grid h2,
.purpose-grid h2,
.intro-grid h2 {
  font-size: clamp(1.6rem, 4vw, 3rem);
}

.section-heading p {
  margin-top: 16px;
}

.light .eyebrow,
.light p,
.section-dark .contact-form p,
.section-dark .form-note {
  color: rgba(245, 247, 251, 0.78);
}

.services-grid,
.forms-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jobs-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-grid,
.values-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.job-card,
.team-card,
.value-card,
.contact-form,
.testimonial-placeholder,
.footer-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 28px;
  background: #fff;
}

.job-card {
  padding: 28px;
  background: #fff;
}

.job-card h3 {
  margin: 14px 0 12px;
  font-size: 1.5rem;
}

.job-card p {
  color: var(--muted);
  line-height: 1.7;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-meta span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(184, 134, 84, 0.12);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.job-tags li {
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 0.88rem;
}

.job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.job-actions .button {
  min-width: 140px;
}

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.testimonial-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.testimonial-card strong {
  display: block;
  margin-bottom: 6px;
}

.testimonial-card span {
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.job-closed,
.detail-closed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(31, 37, 41, 0.08);
  color: var(--muted);
  font-weight: 700;
}

.detail-closed {
  width: 100%;
  margin: 24px 0 0;
}

.jobs-status {
  margin: 0;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  box-shadow: var(--shadow);
}

.detail-hero {
  padding: 92px 0 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 244, 238, 0.94));
}

.detail-hero-inner h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.detail-summary {
  max-width: 70ch;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.detail-card,
.detail-meta-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-card {
  padding: 30px;
}

.detail-card h2,
.detail-card h3,
.detail-meta-card h3 {
  margin: 0 0 16px;
}

.detail-card h3 {
  margin-top: 30px;
}

.detail-content {
  color: var(--muted);
  line-height: 1.8;
}

.detail-content p {
  margin: 0 0 16px;
}

.detail-meta-card {
  padding: 26px;
}

.detail-meta-list {
  margin: 0;
}

.detail-meta-list div + div {
  margin-top: 16px;
}

.detail-meta-list dt {
  margin-bottom: 6px;
  font-weight: 700;
}

.detail-meta-list dd {
  margin: 0;
  color: var(--muted);
}

.detail-apply {
  width: 100%;
  margin-top: 24px;
}

.detail-back {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 700;
  color: var(--primary-dark);
}

.service-number {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(184, 134, 84, 0.12);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.service-card h3,
.team-body h3,
.value-card h3,
.contact-form h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.service-card ul {
  padding-left: 18px;
  margin: 18px 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.service-card a,
.footer-card a,
.testimonial-placeholder span {
  color: var(--primary-dark);
  font-weight: 700;
}

.team-card {
  overflow: hidden;
  background: #fff;
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 4.3;
  object-fit: cover;
  object-position: center top;
}

.team-body {
  padding: 26px;
}

.team-role {
  margin: 0 0 14px;
  color: var(--primary-dark) !important;
  font-weight: 600;
}

.value-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.7);
}

.contact-form {
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-form label {
  display: block;
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.contact-form button {
  width: 100%;
  margin-top: 18px;
}

.form-note,
.form-message {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.form-message {
  min-height: 1.5em;
  color: #9df2d1;
}

.testimonial-placeholder,
.footer-card {
  padding: 26px 30px;
  background: #fff;
  max-width: 460px;
  width: 100%;
  justify-self: end;
}

.testimonial-placeholder {
  text-align: center;
}

.footer-card p {
  margin: 0 0 4px;
}

.footer-card a {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

#testimonios .testimonial-placeholder {
  max-width: none;
  justify-self: stretch;
}

.footer-card a[aria-disabled="true"] {
  opacity: 0.72;
}

.site-footer {
  padding: 0 0 28px;
}

.site-footer .footer-grid h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.site-footer .footer-grid p {
  max-width: 56ch;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  min-width: 98px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d2326, #525f66);
  color: #fff;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 18px 32px rgba(29, 35, 38, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-layout,
  .intro-grid,
  .purpose-grid,
  .footer-grid,
  .detail-layout,
  .jobs-grid,
  .testimonials-grid,
  .services-grid,
  .forms-grid {
    grid-template-columns: 1fr;
  }

  .footer-card {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }

  .section {
    padding: 76px 0;
  }
}

@media (max-width: 640px) {
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .hero-box,
  .service-card,
  .team-body,
  .value-card,
  .contact-form,
  .testimonial-placeholder,
  .footer-card {
    padding: 22px;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
    min-width: 88px;
  }
}
