@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
	--green: #087d4b;
	--deep-green: #075c3b;
	--yellow: #f3ce28;
	--ink: #17352c;
	--muted: #61756c;
	--cream: #f7f8f1;
	--white: #ffffff;
	--line: #dce7df;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	background:
		linear-gradient(rgba(247, 248, 241, .82), rgba(247, 248, 241, .82)),
		url('img/fondo.jpg') center / cover fixed;
	font-family: 'DM Sans', sans-serif;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	font-family: 'Manrope', sans-serif;
}

h1 {
	max-width: 650px;
	margin-bottom: 20px;
	font-size: clamp(42px, 6vw, 76px);
	line-height: .99;
	letter-spacing: -.04em;
}

h2 {
	margin-bottom: 16px;
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.08;
	letter-spacing: -.035em;
}

.eyebrow {
	margin: 0 0 16px;
	color: var(--green);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.header-inner,
.footer-inner,
.welcome,
.services,
.community,
.contact-strip,
.values-section,
.services-page,
.community-grid,
.notice-band,
.contact-page,
.content-layout {
	width: min(1120px, calc(100% - 48px));
	margin: 0 auto;
}

.site-header {
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	min-height: 92px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--deep-green);
	font-size: 12px;
	line-height: 1.25;
	letter-spacing: .08em;
}

.brand img {
	width: 130px;
	height: 130px;
	object-fit: contain;
}

.brand strong {
	font-family: 'Manrope', sans-serif;
	font-size: 17px;
	letter-spacing: .04em;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 30px;
	font-size: 14px;
	font-weight: 600;
}

.main-nav a {
	padding: 34px 0 31px;
	border-bottom: 3px solid transparent;
	color: #53655d;
	transition: color .2s, border-color .2s;
}

.main-nav a:hover,
.main-nav a.active {
	color: var(--green);
	border-color: var(--yellow);
}

.nav-dropdown {
	position: relative;
	height: 100%;
}

.dropdown-trigger {
	padding: 34px 0 31px;
	border-bottom: 3px solid transparent;
	color: #53655d;
	cursor: pointer;
	list-style: none;
	transition: color .2s, border-color .2s;
}

.dropdown-trigger::-webkit-details-marker {
	display: none;
}

.dropdown-trigger::after {
	content: '⌄';
	display: inline-block;
	margin-left: 6px;
	font-size: 13px;
	transition: transform .2s;
}

.nav-dropdown[open] .dropdown-trigger::after {
	transform: rotate(180deg);
}

.nav-dropdown:hover .dropdown-trigger,
.nav-dropdown:focus-within .dropdown-trigger,
.dropdown-trigger.active {
	color: var(--green);
	border-color: var(--yellow);
}

.dropdown-menu {
	position: absolute;
	top: calc(100% - 1px);
	right: -18px;
	z-index: 10;
	min-width: 210px;
	display: grid;
	padding: 8px;
	border: 1px solid var(--line);
	background: var(--white);
	box-shadow: 0 14px 30px rgba(23, 53, 44, .12);
}

.dropdown-menu a,
.main-nav .dropdown-menu a {
	padding: 11px 12px;
	border: 0;
	color: var(--muted);
	font-size: 13px;
	white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
	color: var(--green);
	background: #eef6ed;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid var(--green);
	font-size: 13px;
	font-weight: 700;
	transition: transform .2s, background .2s, color .2s;
}

.button:hover {
	transform: translateY(-2px);
}

.button-primary {
	color: white;
	background: var(--green);
}

.button-primary:hover {
	background: var(--deep-green);
}

.button-outline {
	color: var(--green);
	background: transparent;
}

.button-outline:hover {
	color: var(--deep-green);
	background: rgba(255, 255, 255, .7);
}

.button-light {
	color: var(--deep-green);
	background: var(--yellow);
	border-color: var(--yellow);
	white-space: nowrap;
}

.button-light:hover {
	background: #ffe26a;
}

.text-link {
	color: var(--green);
	font-size: 14px;
	font-weight: 700;
}

.text-link span {
	margin-left: 8px;
	font-size: 20px;
}

.hero,
.page-hero {
	background: radial-gradient(circle at 82% 25%, rgba(243, 206, 40, .22), transparent 25%), linear-gradient(120deg, #eaf4e6 0%, #f7f8f1 55%, #e4f0e8 100%);
}

.hero {
	min-height: 470px;
	padding: 78px max(24px, calc((100% - 1120px) / 2));
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 48px;
}

.hero-content {
	max-width: 680px;
}

.hero-text {
	max-width: 545px;
	margin-bottom: 32px;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.65;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero-note {
	align-self: center;
	display: flex;
	align-items: center;
	width: min(34vw, 380px);
}

.hero-note img {
	display: block;
	width: 100%;
	height: auto;
}

.hero-note p {
	margin: 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.45;
}

.hero-note strong {
	color: var(--ink);
	font-size: 13px;
}

.note-mark {
	color: var(--green);
	font-size: 29px;
	font-weight: 500;
}

.welcome {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	padding: 90px 0 80px;
}

.welcome > p {
	align-self: end;
	margin-bottom: 4px;
	color: var(--muted);
	line-height: 1.75;
}

.services {
	padding-bottom: 94px;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 28px;
}

.section-heading h2 {
	margin-bottom: 0;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.service-card {
	min-height: 214px;
	padding: 26px;
	border-top: 3px solid var(--green);
	background: var(--white);
}

.service-number {
	color: var(--yellow);
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 800;
}

.service-card h3 {
	margin: 38px 0 10px;
	font-size: 20px;
}

.service-card p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
}

.community {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 62px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.community h2 {
	margin-bottom: 0;
}

.contact-strip {
	display: grid;
	grid-template-columns: 1.15fr 1fr auto;
	align-items: center;
	gap: 42px;
	padding: 72px 0;
}

.contact-strip h2 {
	margin-bottom: 0;
}

.contact-strip > p {
	margin: 0;
	color: var(--muted);
	line-height: 1.6;
}

.page-hero {
	min-height: 360px;
	padding: 76px max(24px, calc((100% - 1120px) / 2));
	display: flex;
	align-items: center;
}

.page-hero > div {
	max-width: 720px;
}

.page-hero h1 {
	margin-bottom: 20px;
}

.content-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	padding: 90px 0 84px;
}

.content-copy {
	align-self: end;
	color: var(--muted);
	line-height: 1.75;
}

.content-copy p:last-child {
	margin-bottom: 0;
}

.identity-section {
	width: min(1120px, calc(100% - 48px));
	margin: 0 auto;
	padding-bottom: 94px;
}

.identity-section .section-heading {
	display: block;
}

.identity-section .section-heading h2 {
	margin-bottom: 28px;
}

.identity-list {
	border-top: 1px solid var(--line);
}

.identity-list details {
	border-bottom: 1px solid var(--line);
}

.identity-list summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 4px;
	color: var(--ink);
	font-family: 'Manrope', sans-serif;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.identity-list summary::-webkit-details-marker {
	display: none;
}

.identity-list summary span {
	color: var(--green);
	font-size: 26px;
	font-weight: 400;
	transition: transform .2s;
}

.identity-list details[open] summary span {
	transform: rotate(45deg);
}

.identity-list details p {
	max-width: 760px;
	margin: -4px 48px 22px 4px;
	color: var(--muted);
	line-height: 1.7;
}

.values-section,
.services-page {
	padding-bottom: 94px;
}

.values-section .section-heading {
	display: block;
}

.values-section .section-heading h2,
.services-page .section-heading h2 {
	margin-bottom: 0;
}

.services-page .service-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.services-page .text-link {
	margin-top: auto;
	padding-top: 24px;
}

.community-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding-bottom: 94px;
}

.community-grid article {
	min-height: 190px;
	padding: 26px;
	border-top: 3px solid var(--green);
	background: var(--white);
}

.community-grid h3 {
	margin: 38px 0 10px;
	font-size: 20px;
}

.community-grid p {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
}

.notice-band {
	margin-bottom: 90px;
	padding: 52px;
	background: #e4f0e8;
}

.notice-band h2 {
	margin-bottom: 12px;
}

.notice-band > p:not(.eyebrow) {
	max-width: 560px;
	color: var(--muted);
	line-height: 1.65;
}

.notice-band .button {
	margin-top: 12px;
}

.contact-page {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	padding: 90px 0;
}

.contact-intro {
	max-width: 420px;
	color: var(--muted);
	line-height: 1.7;
}

.contact-options {
	display: grid;
	gap: 12px;
}

.contact-options > * {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 4px 14px;
	padding: 20px;
	border-left: 3px solid var(--green);
	background: var(--white);
}

.contact-options .service-number {
	grid-row: span 2;
}

.contact-options strong {
	font-family: 'Manrope', sans-serif;
	font-size: 16px;
}

.contact-options a:hover strong {
	color: var(--green);
}

.contact-options span:last-child {
	color: var(--muted);
	font-size: 13px;
}

.site-footer {
	color: #dcebe3;
	background: var(--deep-green);
}

.footer-inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr auto;
	align-items: center;
	gap: 32px;
	min-height: 124px;
}

.footer-brand {
	margin-bottom: 8px;
	color: var(--yellow);
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .06em;
}

.footer-credit,
.copyright {
	margin: 0;
	color: #a9c5b8;
	font-size: 12px;
}

.social-links {
	display: flex;
	gap: 22px;
	font-size: 13px;
	font-weight: 600;
}

.social-links a:hover {
	color: var(--yellow);
}

.copyright {
	text-align: right;
}

@media (max-width: 760px) {
	.header-inner {
		width: min(100% - 32px, 540px);
		min-height: auto;
		padding: 16px 0 12px;
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.brand img {
		width: 54px;
		height: 54px;
	}

	.main-nav {
		width: 100%;
		gap: 0;
		justify-content: space-between;
		overflow-x: auto;
	}

	.main-nav a {
		padding: 8px 4px 10px;
		white-space: nowrap;
		font-size: 12px;
	}

	.nav-dropdown {
		height: auto;
	}

	.dropdown-trigger {
		padding: 8px 4px 10px;
		font-size: 12px;
	}

	.dropdown-menu {
		top: calc(100% + 2px);
		right: 0;
		min-width: 190px;
	}

	.hero {
		min-height: 0;
		padding: 58px 24px 54px;
		display: block;
	}

	h1 {
		font-size: clamp(40px, 12vw, 58px);
	}

	.hero-text {
		font-size: 15px;
	}

	.hero-note {
		width: min(70vw, 260px);
		margin: 36px auto 0;
	}

	.welcome {
		display: block;
		padding: 64px 0 60px;
	}

	.welcome > p {
		margin-top: 28px;
	}

	.section-heading {
		display: block;
	}

	.service-grid {
		grid-template-columns: 1fr;
	}

	.service-card {
		min-height: 0;
	}

	.community {
		display: block;
		padding: 48px 0;
	}

	.text-link {
		display: inline-block;
		margin-top: 18px;
	}

	.contact-strip {
		display: block;
		padding: 58px 0;
	}

	.contact-strip > p {
		margin: 22px 0 26px;
	}

	.footer-inner {
		width: min(100% - 32px, 540px);
		display: block;
		padding: 34px 0;
	}

	.social-links {
		margin: 26px 0;
		flex-wrap: wrap;
	}

	.copyright {
		text-align: left;
	}

	.page-hero {
		min-height: 320px;
		padding: 58px 24px;
	}

	.content-layout,
	.contact-page {
		display: block;
		padding: 64px 0;
	}

	.content-copy {
		margin-top: 28px;
	}

	.identity-section {
		width: min(100% - 32px, 540px);
		padding-bottom: 64px;
	}

	.identity-list summary {
		padding: 18px 2px;
		font-size: 16px;
	}

	.identity-list details p {
		margin-right: 24px;
	}

	.values-section,
	.services-page,
	.community-grid {
		padding-bottom: 64px;
	}

	.community-grid {
		grid-template-columns: 1fr;
	}

	.notice-band {
		margin-bottom: 64px;
		padding: 34px 24px;
	}

	.contact-options {
		margin-top: 34px;
	}
}
