:root {
	--bg: #f8faf6;
	--surface: #ffffff;
	--surface-low: #f2f4f1;
	--surface-high: #e7e9e5;
	--surface-variant: #e1e3e0;
	--text: #191c1b;
	--muted: #404944;
	--outline: #707974;
	--outline-variant: #bfc9c3;
	--primary: #00352e;
	--primary-container: #004e44;
	--primary-fixed: #a0f2e1;
	--secondary: #964900;
	--secondary-container: #fc820c;
	--secondary-fixed: #ffdcc6;
	--shadow: 0 12px 40px rgba(25, 28, 27, 0.06);
	--radius-xl: 1.5rem;
	--radius-lg: 1rem;
	--radius-md: 0.75rem;
	--container: 1120px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	min-height: max(884px, 100dvh);
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "Inter", sans-serif;
	line-height: 1.5;
}

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

img {
	max-width: 100%;
	height: auto;
}

button,
input,
textarea,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-shell {
	width: min(calc(100% - 2rem), var(--container));
	margin: 0 auto;
	padding: 6rem 0 8rem;
}

.topbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 50;
	background: linear-gradient(180deg, rgba(0, 53, 46, 0.96) 0%, rgba(0, 40, 35, 0.94) 100%);
	backdrop-filter: blur(18px);
	box-shadow: 0 10px 30px rgba(0, 53, 46, 0.18);
}

.topbar__inner {
	width: min(calc(100% - 2rem), var(--container));
	min-height: 5.25rem;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.8rem 0;
}

.topbar__divider {
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(160, 242, 225, 0.2) 50%, transparent 100%);
}

.brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	max-width: 300px;
}

.brand__logo {
	display: inline-flex;
	align-items: center;
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.brand__logo-image {
	display: block;
	width: auto;
	height: 68px;
	filter: brightness(1.08) contrast(1.02);
}

.topbar__search {
	display: none;
	align-items: center;
	gap: 0.65rem;
	width: min(33%, 360px);
	padding: 0.55rem 1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
}

.topbar__search input,
.hero__mobile-search input {
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--text);
	outline: 0;
}

.topbar__search-icon,
.hero__mobile-search-icon {
	color: var(--outline);
	font-size: 1rem;
	line-height: 1;
}

.topbar__right {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.topbar__nav {
	display: none;
	align-items: center;
	gap: 1.5rem;
}

.topbar__nav a {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.topbar__contact,
.topbar__nav a {
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.topbar__nav a.is-active {
	color: #ffb786;
}

.hero {
	margin-bottom: 2rem;
}

.hero h1,
.section-heading h2,
.job-card h3,
.job-modal__header h2,
.job-modal__section h3 {
	margin: 0;
	font-family: "Manrope", sans-serif;
}

.hero h1 {
	font-size: clamp(1.95rem, 3.8vw, 2.65rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--primary);
}

.hero__text {
	margin: 0.35rem 0 0;
	color: var(--muted);
}

.hero__mobile-search {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-top: 1.5rem;
	padding: 0.9rem 1rem;
	border-radius: var(--radius-lg);
	background: var(--surface-high);
}

.quick-filters {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	padding: 0 0 1.5rem;
	margin-bottom: 0.25rem;
}

.quick-filters::-webkit-scrollbar {
	display: none;
}

.filter-chip {
	flex: 0 0 auto;
	padding: 0.6rem 1rem;
	border: 0;
	border-radius: 999px;
	background: var(--surface-high);
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 700;
	white-space: nowrap;
}

.filter-chip--active {
	background: var(--secondary-container);
	color: #5e2c00;
}

.jobs-section {
	margin-top: 0.25rem;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.section-heading h2 {
	font-size: 1.65rem;
	font-weight: 700;
	color: var(--primary);
}

.section-heading__text {
	color: var(--muted);
	font-size: 0.95rem;
}

.job-list {
	display: grid;
	gap: 1.5rem;
}

.job-card {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: 1.5rem;
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.job-card[data-search] {
	transition:
		transform 180ms ease,
		box-shadow 180ms ease;
}

.job-card[data-search]:hover {
	transform: translateY(-2px);
}

.job-card[hidden] {
	display: none;
}

.job-card--empty {
	border: 1px solid rgba(191, 201, 195, 0.75);
}

.job-card__content {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
}

.job-card__icon-wrap {
	flex: 0 0 auto;
}

.job-card__icon {
	width: 3.5rem;
	height: 3.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-md);
	background: var(--surface-low);
	color: var(--primary);
}

.job-card__icon svg {
	width: 1.9rem;
	height: 1.9rem;
}

.job-card__icon--externa {
	color: var(--secondary);
}

.job-card__body {
	min-width: 0;
}

.job-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.25rem;
}

.job-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.18rem 0.45rem;
	border-radius: 0.25rem;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.job-badge--interna {
	color: var(--primary-container);
	background: var(--primary-fixed);
}

.job-badge--externa {
	color: #5e2c00;
	background: var(--secondary-fixed);
}

.job-date {
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 500;
}

.job-date::before {
	content: "•";
	margin-right: 0.35rem;
}

.job-card h3 {
	font-size: 1.28rem;
	font-weight: 700;
	line-height: 1.2;
}

.job-company {
	margin: 0.2rem 0 0;
	color: var(--muted);
	font-size: 0.92rem;
	font-weight: 500;
}

.job-card__action {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
}

.job-card__fact p {
	margin: 0;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--outline);
}

.job-card__fact strong {
	display: block;
	margin-top: 0.15rem;
	font-weight: 700;
	color: var(--primary);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.95rem 1.5rem;
	border: 0;
	border-radius: var(--radius-md);
	font-size: 0.9rem;
	font-weight: 700;
	box-shadow: 0 12px 24px rgba(25, 28, 27, 0.08);
	transition:
		background-color 180ms ease,
		box-shadow 180ms ease,
		opacity 180ms ease,
		transform 180ms ease;
}

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

.button--primary {
	background: var(--primary);
	color: #fff;
	box-shadow: 0 14px 30px rgba(0, 53, 46, 0.18);
}

.button--external {
	background: var(--secondary-container);
	color: #5e2c00;
	box-shadow: 0 14px 30px rgba(252, 130, 12, 0.18);
}

.button--primary:hover,
.button--primary:focus-visible {
	background: #00453c;
	box-shadow: 0 18px 36px rgba(0, 53, 46, 0.24);
}

.button--external:hover,
.button--external:focus-visible {
	background: #ff951f;
	box-shadow: 0 18px 36px rgba(252, 130, 12, 0.24);
}

.job-card__button {
	min-width: 180px;
}

.job-modal[hidden] {
	display: none;
}

.job-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: end;
	justify-content: center;
	padding: 0;
}

.job-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 53, 46, 0.4);
	backdrop-filter: blur(8px);
}

.job-modal__dialog {
	position: relative;
	width: min(calc(100% - 1rem), 42rem);
	max-height: min(795px, calc(100vh - 1rem));
	overflow-y: auto;
	border-radius: 2rem 2rem 0 0;
	background: var(--surface);
	box-shadow: 0 24px 80px rgba(25, 28, 27, 0.18);
}

.job-modal__close {
	flex: 0 0 auto;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 999px;
	background: var(--surface-high);
	color: var(--outline);
	font-size: 1.2rem;
}

.job-modal__header {
	position: sticky;
	top: 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 2rem 2rem 1rem;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(12px);
	z-index: 2;
}

.job-modal__type {
	display: inline-block;
	margin: 0 0 0.5rem;
	padding: 0.18rem 0.45rem;
	border-radius: 0.25rem;
	background: var(--primary-fixed);
	color: var(--primary-container);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.job-modal__header h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--primary);
}

.job-modal__company {
	margin: 0.35rem 0 0;
	color: var(--muted);
	font-weight: 500;
}

.job-modal__details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 0 2rem;
	padding: 1.5rem 0;
	border-top: 1px solid rgba(191, 201, 195, 0.35);
	border-bottom: 1px solid rgba(191, 201, 195, 0.35);
}

.job-modal__label {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--outline);
}

.job-modal__section {
	padding: 0 2rem;
}

.job-modal__section + .job-modal__section {
	margin-top: 2rem;
}

.job-modal__section h3 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--primary);
}

.job-modal__section p,
.job-modal__section ul {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.7;
}

.job-modal__section ul {
	padding-left: 1rem;
}

.job-modal__chips {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.job-modal__chips li {
	padding: 0.45rem 0.8rem;
	border-radius: 0.5rem;
	background: var(--surface-low);
	font-size: 0.75rem;
	font-weight: 600;
}

.job-modal__apply {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.job-modal__apply > a,
.job-modal__apply > div {
	display: grid;
	place-items: center;
	gap: 0.35rem;
	padding: 1rem;
	border-radius: 1rem;
	border: 2px solid transparent;
	background: var(--surface-low);
	text-align: center;
}

.job-modal__apply span {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.job-modal__section:last-child {
	padding-bottom: 2rem;
}

body.modal-open {
	overflow: hidden;
}

.contact-modal[hidden] {
	display: none;
}

.contact-modal {
	position: fixed;
	inset: 0;
	z-index: 110;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.contact-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 53, 46, 0.4);
	backdrop-filter: blur(8px);
}

.contact-modal__dialog {
	position: relative;
	width: min(calc(100% - 1rem), 44rem);
	max-height: min(90vh, 920px);
	overflow-y: auto;
	border-radius: 2rem;
	background: var(--surface);
	box-shadow: 0 24px 80px rgba(25, 28, 27, 0.18);
}

.contact-modal__header {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 2rem 2rem 1rem;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	z-index: 2;
}

.contact-modal__header h2 {
	margin: 0;
	font-family: "Manrope", sans-serif;
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	color: var(--primary);
}

.contact-modal__close {
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 999px;
	background: var(--surface-high);
	color: var(--outline);
	font-size: 1.2rem;
}

.contact-modal__body {
	padding: 0 2rem 2rem;
}

.contact-modal__body > :first-child {
	margin-top: 0;
}

.contact-modal__lede {
	margin: 0 0 1.25rem;
	max-width: 36rem;
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.7;
}

.contact-modal__content,
.contact-modal__empty {
	padding: 1.25rem 1.25rem 1.4rem;
	border: 1px solid rgba(191, 201, 195, 0.6);
	border-radius: 1.25rem;
	background: linear-gradient(180deg, rgba(242, 244, 241, 0.72) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.contact-modal__body h1,
.contact-modal__body h2,
.contact-modal__body h3 {
	margin: 0 0 1rem;
	color: var(--primary);
	font-family: "Manrope", sans-serif;
}

.contact-modal__body p,
.contact-modal__body li,
.contact-modal__body label {
	color: var(--muted);
}

.contact-modal__body p {
	margin: 0 0 1rem;
}

.contact-modal__body ul,
.contact-modal__body ol {
	padding-left: 1.2rem;
}

.contact-modal__body img,
.contact-modal__body svg,
.contact-modal__body iframe {
	display: block;
	max-width: 100%;
	height: auto;
}

.contact-modal__body form,
.contact-modal__body .wpforms-container,
.contact-modal__body .wpcf7 {
	margin-top: 1rem;
}

.contact-form {
	margin-top: 1.25rem;
	padding: 1.25rem 1.25rem 1.4rem;
	border: 1px solid rgba(191, 201, 195, 0.65);
	border-radius: 1.25rem;
	background: #fff;
	box-shadow: 0 18px 40px rgba(25, 28, 27, 0.06);
}

.contact-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.contact-form__field {
	display: grid;
	gap: 0.45rem;
}

.contact-form__field--full {
	grid-column: 1 / -1;
}

.contact-form__field label {
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--primary);
}

.contact-form__actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 1rem;
}

.contact-form__notice {
	margin-top: 1rem;
	padding: 0.9rem 1rem;
	border-radius: 1rem;
	font-weight: 600;
}

.contact-form__notice--success {
	background: rgba(160, 242, 225, 0.45);
	color: var(--primary);
}

.contact-form__notice--error {
	background: rgba(255, 218, 214, 0.7);
	color: #8f1d1d;
}

.contact-modal__body input[type="text"],
.contact-modal__body input[type="email"],
.contact-modal__body input[type="tel"],
.contact-modal__body input[type="url"],
.contact-modal__body input[type="search"],
.contact-modal__body textarea,
.contact-modal__body select {
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(191, 201, 195, 0.9);
	border-radius: 0.95rem;
	background: #fff;
	color: var(--text);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.contact-modal__body textarea {
	min-height: 140px;
	resize: vertical;
}

.contact-modal__body input:focus,
.contact-modal__body textarea:focus,
.contact-modal__body select:focus {
	outline: 0;
	border-color: rgba(4, 107, 94, 0.45);
	box-shadow: 0 0 0 4px rgba(160, 242, 225, 0.45);
}

.contact-modal__body button[type="submit"],
.contact-modal__body input[type="submit"],
.contact-modal__body .wpcf7-submit,
.contact-modal__body .wpforms-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.95rem 1.4rem;
	border: 0;
	border-radius: 1rem;
	background: var(--primary);
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	box-shadow: 0 14px 30px rgba(0, 53, 46, 0.18);
}

.mobile-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 70;
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 0.5rem 0.75rem 1.2rem;
	background: rgba(248, 250, 246, 0.88);
	backdrop-filter: blur(18px);
	border-top: 1px solid rgba(191, 201, 195, 0.22);
	box-shadow: 0 -12px 40px rgba(25, 28, 27, 0.06);
}

.mobile-nav__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	min-width: 72px;
	padding: 0.55rem 0.65rem;
	border: 0;
	border-radius: 1rem;
	background: transparent;
	color: rgba(0, 53, 46, 0.55);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mobile-nav__item--active {
	background: rgba(252, 130, 12, 0.12);
	color: var(--secondary);
}

.mobile-nav__icon {
	font-size: 1rem;
	line-height: 1;
}

@media (min-width: 768px) {
	.topbar__search,
	.topbar__nav {
		display: flex;
	}

	.hero__mobile-search {
		display: none;
	}

	.job-card {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 1.5rem;
	}

	.job-card__action {
		justify-content: flex-end;
		width: auto;
		min-width: 280px;
	}

	.job-modal {
		align-items: center;
		padding: 1.5rem;
	}

	.job-modal__dialog {
		border-radius: 2rem;
	}

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

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

	.mobile-nav {
		display: none;
	}
}

@media (max-width: 767px) {
	.site-shell {
		width: min(calc(100% - 1.5rem), var(--container));
		padding-top: 5.5rem;
		padding-bottom: 7rem;
	}

	.topbar__inner {
		width: min(calc(100% - 1.5rem), var(--container));
	}

	.brand__logo-image {
		height: 52px;
	}

	.section-heading {
		flex-direction: column;
		align-items: flex-start;
	}

	.job-card__action {
		flex-direction: column;
		align-items: stretch;
	}

	.job-card__button {
		width: 100%;
	}

	.job-modal__header,
	.job-modal__section {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.contact-modal {
		padding: 0.75rem;
		align-items: flex-end;
	}

	.contact-modal__dialog {
		width: 100%;
		max-height: min(88vh, 920px);
		border-radius: 1.75rem 1.75rem 1.1rem 1.1rem;
	}

	.contact-modal__header,
	.contact-modal__body {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.contact-form__grid {
		grid-template-columns: 1fr;
	}

	.contact-form__actions {
		justify-content: stretch;
	}

	.contact-form__actions .button {
		width: 100%;
	}

	.job-modal__details {
		margin-left: 1.25rem;
		margin-right: 1.25rem;
	}
}
