/* ==========================================================================
   Claudia Soruco — main stylesheet
   Palette and typography extracted from material/home.pdf
   ========================================================================== */

@font-face {
	font-family: 'Fredoka';
	src: url('../fonts/fredoka-variable.woff2') format('woff2');
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Quicksand';
	src: url('../fonts/quicksand-regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Quicksand';
	src: url('../fonts/quicksand-medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Quicksand';
	src: url('../fonts/quicksand-semibold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Quicksand';
	src: url('../fonts/quicksand-bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--green: #7c8571;
	--green-dark: #5f6857;
	--green-deep: #474e40;
	--terracotta: #b7826c;
	--terracotta-dark: #a06e59;
	--cream: #f4e9d7;
	--cream-soft: #faf5ec;
	--gold: #d1ab87;
	--ink: #23211e;
	--muted: #6f6a62;
	--white: #ffffff;
	--bg: #fdfcfa;
	--border: #e8e1d6;
	--radius: 18px;
	--radius-sm: 10px;
	--container: 1120px;
	--shadow: 0 18px 50px rgba(70, 60, 48, 0.08);
	--font-head: 'Fredoka', 'Trebuchet MS', sans-serif;
	--font-body: 'Quicksand', 'Segoe UI', sans-serif;
	--whatsapp: #25d366;
	--whatsapp-dark: #1ebe5b;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--terracotta);
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.55em;
	color: var(--green);
	font-family: var(--font-head);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0.005em;
}

h1 {
	font-size: clamp(2.1rem, 4vw, 3rem);
}

h2 {
	font-size: clamp(1.9rem, 3.4vw, 2.85rem);
}

h3 {
	font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0 0 1.2em;
	padding-left: 1.2em;
}

figure {
	margin: 0;
}

.container {
	width: min(var(--container), 72.5vw);
	margin-inline: auto;
}

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

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 999;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--cream);
	color: var(--green-deep);
	border-radius: 8px;
	font-weight: 600;
}

.center {
	text-align: center;
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--terracotta);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

:focus-visible {
	outline: 2px solid var(--terracotta);
	outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 30px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
		transform 0.25s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--cream {
	background: var(--cream);
	color: var(--green);
}

.btn--cream:hover {
	background: var(--terracotta);
	color: var(--white);
}

.btn--terracotta {
	background: var(--terracotta);
	color: var(--white);
}

.btn--terracotta:hover {
	background: var(--terracotta-dark);
	color: var(--white);
}

.btn--outline {
	border-color: var(--green);
	color: var(--green);
	background: transparent;
}

.btn--outline:hover {
	background: var(--green);
	color: var(--white);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
	position: relative;
	z-index: 30;
	background: var(--green);
	color: #f6f4ee;
	padding: 14px 0 0;
}

.site-header__top {
	position: relative;
	min-height: 92px;
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	padding-top: 2px;
}

.site-header__brand {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

.site-header__brand .brand,
.site-header__brand .custom-logo-link {
	display: block;
}

.site-header__brand img {
	width: 152px;
	height: auto;
}

.site-header__utilities {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-top: 4px;
}

.header-book {
	padding-bottom: 3px;
	border-bottom: 1px solid currentColor;
	font-size: 14px;
	font-weight: 500;
	color: #f6f4ee;
}

.header-book:hover {
	color: var(--cream);
}

.header-social {
	display: flex;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.header-social a,
.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	color: #f6f4ee;
}

.header-social a:hover,
.footer-social a:hover {
	background: rgba(255, 255, 255, 0.14);
	color: var(--white);
}

.header-social svg,
.footer-social svg {
	width: 17px;
	height: 17px;
}

.lang-switch {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lang-switch ul,
.lang-switch .lang-list {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lang-switch .lang-list li {
	list-style: none;
}

.lang-switch li + li::before {
	content: '/';
	margin-right: 6px;
	opacity: 0.5;
}

.lang-switch a {
	color: rgba(255, 255, 255, 0.78);
}

.lang-switch .current-lang a,
.lang-switch .current-lang {
	color: var(--white);
}

.lang-switch__current {
	color: var(--white);
}

.main-nav {
	padding: 14px 0 20px;
}

.main-nav .menu {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: clamp(16px, 3vw, 42px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav a {
	display: inline-block;
	padding: 4px 1px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.main-nav a:hover {
	color: var(--white);
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a {
	color: var(--white);
	box-shadow: inset 0 -1px 0 var(--cream);
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	background: transparent;
	color: var(--white);
	cursor: pointer;
}

.nav-toggle svg {
	width: 22px;
	height: 22px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	min-height: 570px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--bg);
}

.hero__media {
	position: absolute;
	inset: 0 0 0 auto;
	width: 79%;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero__media::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to right,
		var(--bg) 0%,
		rgba(253, 252, 250, 0.92) 10%,
		rgba(253, 252, 250, 0.35) 32%,
		rgba(253, 252, 250, 0) 52%
	);
	pointer-events: none;
}

.hero__media::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to top,
		rgba(253, 252, 250, 0.88) 0%,
		rgba(253, 252, 250, 0.35) 7%,
		transparent 19%
	);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 2;
	padding: 56px 0 64px;
}

.hero__content {
	max-width: 540px;
}

.hero__mark {
	width: 170px;
	height: auto;
	margin-bottom: 12px;
}

.hero__title {
	margin-bottom: 0.4em;
	font-size: clamp(1.9rem, 2.7vw, 2.4rem);
	font-weight: 500;
	line-height: 1.2;
	color: var(--green);
}

.hero__title span {
	display: block;
}

.hero__text {
	max-width: 460px;
	margin: 18px 0 26px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

/* --------------------------------------------------------------------------
   Sections and titles
   -------------------------------------------------------------------------- */

.section {
	padding: 82px 0;
}

.section--services {
	padding-top: 64px;
}

.section--about {
	padding-top: 68px;
	padding-bottom: 72px;
}

.section-title {
	margin: 0 0 44px;
	text-align: center;
	font-size: clamp(2rem, 3.6vw, 2.9rem);
	font-weight: 500;
	color: var(--green);
}

.section-title--left {
	text-align: left;
	margin-bottom: 18px;
	font-size: clamp(1.8rem, 2.7vw, 2.4rem);
}

.section-title--small {
	margin-top: 72px;
	margin-bottom: 30px;
	font-size: clamp(1.6rem, 2.6vw, 2rem);
}

/* --------------------------------------------------------------------------
   Service cards (home)
   -------------------------------------------------------------------------- */

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

.service-card {
	position: relative;
	display: block;
	aspect-ratio: 543 / 526;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--cream-soft);
}

.service-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.service-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(38, 32, 26, 0.35) 0%, rgba(38, 32, 26, 0) 46%);
}

.service-card__label {
	position: absolute;
	right: 9%;
	bottom: 22px;
	left: 9%;
	padding: 13px 10px;
	border-radius: 8px;
	background: var(--cream);
	color: var(--green);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.07em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	transition: background 0.25s ease, color 0.25s ease;
}

.service-card:hover img,
.service-card:focus-visible img {
	transform: scale(1.045);
}

.service-card:hover .service-card__label,
.service-card:focus-visible .service-card__label {
	background: var(--terracotta);
	color: var(--white);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
	display: grid;
	grid-template-columns: 330px minmax(0, 1fr);
	gap: 64px;
	align-items: center;
}

.about__media img {
	width: 100%;
	aspect-ratio: 542 / 860;
	object-fit: cover;
	border-radius: var(--radius);
}

.about__content p {
	margin-bottom: 14px;
	font-size: 17px;
	line-height: 1.7;
}

.about__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 26px;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.section--testimonials {
	padding-top: 30px;
	padding-bottom: 34px;
}

.testimonials {
	position: relative;
	padding: 0 6px;
}

.testimonials__track {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 6px 2px 10px;
}

.testimonials__track::-webkit-scrollbar {
	display: none;
}

.testimonial {
	flex: 0 0 calc((100% - 54px) / 4);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	min-height: 208px;
	padding: 18px 16px 14px;
	border: 1px solid #e9e6e1;
	border-radius: 8px;
	background: #fbfbfa;
}

.testimonial__head {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 10px;
}

.testimonial__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #5b3f8c;
	color: var(--white);
	font-size: 13px;
	font-weight: 700;
}

.testimonial:nth-child(2n) .testimonial__avatar {
	background: #a53c5e;
}

.testimonial:nth-child(3n) .testimonial__avatar {
	background: #2f6b62;
}

.testimonial__name {
	flex: 1;
	overflow: hidden;
	color: #3f3d3a;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.testimonial__brand svg {
	width: 17px;
	height: 17px;
}

.stars {
	display: inline-flex;
	gap: 1px;
	color: #f2b01e;
	margin-bottom: 8px;
}

.star svg {
	width: 14px;
	height: 14px;
}

.star:not(.is-on) {
	color: #dedad3;
}

.testimonial__text {
	flex: 1;
	margin: 0 0 8px;
	color: #56534e;
	font-size: 12.5px;
	line-height: 1.55;
}

.testimonial__more {
	align-self: flex-start;
	color: #6f6a62;
	font-size: 11px;
	text-decoration: underline;
}

.testimonial__more:hover {
	color: var(--terracotta);
}

.carousel-arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 50%;
	background: var(--white);
	color: var(--green);
	cursor: pointer;
	transform: translateY(-50%);
	transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.carousel-arrow:hover {
	background: var(--green);
	color: var(--white);
}

.carousel-arrow[disabled] {
	opacity: 0.35;
	cursor: default;
}

.carousel-arrow svg {
	width: 18px;
	height: 18px;
}

.carousel-arrow--prev {
	left: -54px;
}

.carousel-arrow--next {
	right: -54px;
}

/* Video testimonials ------------------------------------------------------ */

.video-testimonials {
	margin-bottom: 10px;
}

.video-testimonials__intro {
	max-width: 620px;
	margin: -14px auto 34px;
	color: var(--muted);
	text-align: center;
	font-size: 15px;
	line-height: 1.6;
}

.video-testimonials__grid {
	columns: 3;
	column-gap: 26px;
}

.testimonial-video {
	break-inside: avoid;
	margin: 0 0 26px;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--white);
}

.testimonial-video__media {
	position: relative;
	aspect-ratio: var(--video-ratio, 16 / 9);
	overflow: hidden;
	background: #141414;
}

.testimonial-video__facade {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: #141414;
	cursor: pointer;
}

.testimonial-video__facade img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.94;
	transition: opacity 0.3s ease, transform 0.5s ease;
}

.testimonial-video__facade:hover img {
	opacity: 1;
	transform: scale(1.03);
}

.testimonial-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: rgba(244, 233, 215, 0.95);
	color: var(--green);
	transform: translate(-50%, -50%);
	transition: background 0.25s ease, color 0.25s ease;
}

.testimonial-video__facade:hover .testimonial-video__play,
.testimonial-video__facade:focus-visible .testimonial-video__play {
	background: var(--terracotta);
	color: var(--white);
}

.testimonial-video__play svg {
	width: 22px;
	height: 22px;
	margin-left: 2px;
}

.testimonial-video__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: #000;
}

.testimonial-video__body {
	padding: 15px 17px 17px;
}

.testimonial-video__name {
	margin: 0 0 4px;
	color: #3f3d3a;
	font-family: var(--font-head);
	font-size: 1.05rem;
	line-height: 1.3;
}

.testimonial-video__text {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}

.testimonial-single .testimonial-video {
	max-width: 420px;
	margin: 0 auto 30px;
}

.testimonial-single .testimonial-video--landscape {
	max-width: 760px;
}

@media (max-width: 1000px) {
	.video-testimonials__grid {
		columns: 2;
	}
}

@media (max-width: 640px) {
	.video-testimonials__grid {
		columns: 1;
	}
}

/* --------------------------------------------------------------------------
   Characters + footer
   -------------------------------------------------------------------------- */

.characters {
	padding: 18px 0 56px;
	text-align: center;
}

.characters img {
	width: min(100%, 780px);
	margin-inline: auto;
}

.site-footer {
	padding: 34px 0 22px;
	background: var(--green);
	color: #f6f4ee;
	border-top: 2px solid var(--cream);
}

.footer-nav .menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px 34px;
	margin: 0;
	padding: 0 0 22px;
	list-style: none;
}

.footer-nav a {
	color: rgba(255, 255, 255, 0.9);
	font-size: 15px;
	font-weight: 500;
}

.footer-nav a:hover {
	color: var(--white);
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.copyright {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.92);
}

.footer-social {
	display: flex;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */

.page-hero {
	padding: 64px 0 58px;
	background: var(--cream-soft);
	text-align: center;
}

.page-hero h1 {
	margin-bottom: 10px;
	font-size: clamp(2rem, 3.6vw, 2.9rem);
}

.page-hero__subtitle {
	max-width: 640px;
	margin: 0 auto;
	color: var(--muted);
	font-size: 17px;
}

.page-hero .hero__actions {
	justify-content: center;
	margin-top: 26px;
}

.page-hero--404 {
	padding: 90px 0;
}

.page-content {
	padding-top: 62px;
}

.page-content--tight {
	padding-bottom: 20px;
}

.prose {
	max-width: 760px;
	margin-inline: auto;
	font-size: 17.5px;
	line-height: 1.75;
}

.prose--wide {
	max-width: 880px;
}

.prose--center {
	max-width: 760px;
	text-align: center;
}

.prose h2 {
	margin: 2em 0 0.55em;
	font-size: clamp(1.6rem, 2.6vw, 2rem);
}

.prose h2:first-child,
.prose h3:first-child {
	margin-top: 0;
}

.prose h3 {
	margin: 1.8em 0 0.5em;
	font-size: 1.35rem;
}

.prose p {
	margin-bottom: 1.1em;
}

.prose ul {
	padding-left: 0;
	list-style: none;
}

.prose ul li {
	position: relative;
	margin-bottom: 0.5em;
	padding-left: 26px;
}

.prose ul li::before {
	content: '';
	position: absolute;
	top: 0.62em;
	left: 4px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--terracotta);
}

.prose blockquote {
	margin: 2em 0;
	padding: 22px 26px;
	border-left: 3px solid var(--terracotta);
	background: var(--cream-soft);
	color: var(--green-dark);
	font-family: var(--font-head);
	font-size: 1.2rem;
	line-height: 1.5;
}

.prose blockquote p:last-child {
	margin-bottom: 0;
}

.prose img {
	border-radius: 14px;
}

.prose a {
	color: var(--terracotta);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Service carousel (Terapia)
   -------------------------------------------------------------------------- */

.section--services-carousel {
	padding-top: 20px;
}

.services-carousel {
	position: relative;
	padding: 0 6px;
}

.services-carousel__track {
	display: flex;
	gap: 26px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 6px 2px 14px;
}

.services-carousel__track::-webkit-scrollbar {
	display: none;
}

.service-tile {
	flex: 0 0 300px;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
}

.service-tile__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius) var(--radius) 0 0;
	background: var(--cream-soft);
}

.service-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.service-tile__media:hover img {
	transform: scale(1.04);
}

.service-tile__label {
	position: absolute;
	right: 14px;
	bottom: 14px;
	left: 14px;
	padding: 10px;
	border-radius: 7px;
	background: var(--cream);
	color: var(--green);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
}

.service-tile__body {
	flex: 1;
	padding: 22px 20px 24px;
	border: 1px solid var(--border);
	border-top: 0;
	border-radius: 0 0 var(--radius) var(--radius);
	background: var(--white);
}

.service-tile__body h3 {
	margin-bottom: 8px;
	font-size: 1.28rem;
}

.service-tile__body h3 a:hover {
	color: var(--terracotta);
}

.service-tile__body p {
	margin-bottom: 14px;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.55;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--terracotta);
	font-size: 14px;
	font-weight: 600;
}

.link-arrow svg {
	width: 15px;
	height: 15px;
	transition: transform 0.2s ease;
}

.link-arrow:hover svg {
	transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Single service
   -------------------------------------------------------------------------- */

.service-hero {
	padding: 64px 0;
	background: var(--cream-soft);
}

.service-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 60px;
	align-items: center;
}

.service-hero__content h1 {
	margin: 16px 0 12px;
	font-size: clamp(2rem, 3.4vw, 2.7rem);
}

.service-hero__subtitle {
	max-width: 420px;
	color: var(--muted);
	font-size: 17px;
}

.service-hero__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--green);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.back-link svg {
	width: 16px;
	height: 16px;
}

.service-content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 64px;
	align-items: start;
}

.service-content .prose {
	margin: 0;
}

.service-bullets {
	padding: 28px;
	border-radius: var(--radius);
	background: var(--cream-soft);
}

.service-bullets h2 {
	font-size: 1.35rem;
}

.service-bullets ul {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.service-bullets li {
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 14.5px;
	line-height: 1.5;
}

.service-bullets li svg {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	color: var(--terracotta);
}

/* --------------------------------------------------------------------------
   Resources and videos
   -------------------------------------------------------------------------- */

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

.resource-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--white);
}

.resource-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--cream-soft);
}

.resource-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.resource-card__media:hover img {
	transform: scale(1.04);
}

.resource-card__tag {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 12px;
	border-radius: 6px;
	background: var(--cream);
	color: var(--green);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.resource-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: var(--gold);
}

.resource-card__placeholder svg {
	width: 42px;
	height: 42px;
}

.resource-card__body {
	flex: 1;
	padding: 20px;
}

.resource-card__body h3 {
	font-size: 1.2rem;
}

.resource-card__body h3 a:hover {
	color: var(--terracotta);
}

.resource-card__body p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
}

.video-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--white);
}

.video-card__facade,
.video-card__link {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 0;
	border: 0;
	overflow: hidden;
	background: #1f1f1f;
	cursor: pointer;
}

.video-card__facade img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.9;
	transition: opacity 0.3s ease, transform 0.5s ease;
}

.video-card__facade:hover img {
	opacity: 1;
	transform: scale(1.03);
}

.video-card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(244, 233, 215, 0.95);
	color: var(--green);
	transform: translate(-50%, -50%);
	transition: background 0.25s ease, color 0.25s ease;
}

.video-card__facade:hover .video-card__play,
.video-card__link:hover .video-card__play {
	background: var(--terracotta);
	color: var(--white);
}

.video-card__play svg {
	width: 22px;
	height: 22px;
	margin-left: 2px;
}

.video-card__link {
	color: var(--white);
}

.video-card__link .video-card__title {
	position: absolute;
	bottom: 16px;
	left: 16px;
	right: 16px;
	margin: 0;
	color: var(--white);
	font-family: var(--font-head);
	font-size: 1.15rem;
}

.video-card__body {
	flex: 1;
	padding: 18px 20px 22px;
}

.video-card__category {
	margin: 0 0 6px;
	color: var(--terracotta);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.video-card__body h3 {
	margin-bottom: 8px;
	font-size: 1.15rem;
}

.video-card__body p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
}

.video-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #111;
}

.video-embed iframe,
.video-embed video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.empty-state {
	padding: 40px 0;
	color: var(--muted);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 70px;
	align-items: start;
}

.contact-info .prose {
	max-width: none;
	margin: 0 0 26px;
}

.contact-list {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 15px;
}

.contact-list svg {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: var(--terracotta);
}

.contact-list a:hover {
	color: var(--terracotta);
}

.contact-list--large li {
	font-size: 16px;
}

.contact-form-wrap {
	padding: 34px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
	font-size: 1.8rem;
}

.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.field {
	margin-bottom: 18px;
}

.field label {
	display: block;
	margin-bottom: 6px;
	color: var(--green-dark);
	font-size: 13px;
	font-weight: 600;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid #ddd5c8;
	border-radius: var(--radius-sm);
	background: #fffdfa;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.4;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--green);
	box-shadow: 0 0 0 3px rgba(124, 133, 113, 0.15);
	outline: none;
}

.field textarea {
	resize: vertical;
}

.field--check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.field--check input {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	flex: 0 0 18px;
}

.field--check label {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	color: var(--muted);
}

.contact-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-actions {
	margin-top: 8px;
}

.form-notice {
	margin-bottom: 20px;
	padding: 14px 16px;
	border-radius: var(--radius-sm);
	font-size: 14px;
}

.form-notice--success {
	background: #eef3ea;
	color: #3f5a35;
	border: 1px solid #cbdcc2;
}

.form-notice--error {
	background: #fbeeea;
	color: #7a4030;
	border: 1px solid #eccdc2;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
	padding: 58px 0;
	background: var(--green);
	color: #f6f4ee;
}

.cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.cta-band h2 {
	margin-bottom: 6px;
	color: var(--white);
	font-size: clamp(1.6rem, 2.8vw, 2.15rem);
}

.cta-band p {
	margin: 0;
	max-width: 620px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 15.5px;
}

.cta-band .eyebrow {
	color: var(--cream);
}

.cta-band .btn {
	flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Testimonials grid + misc
   -------------------------------------------------------------------------- */

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

.testimonials-grid .testimonial {
	flex: none;
	min-height: 0;
}

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

.post-card {
	padding-bottom: 10px;
}

.post-card img {
	border-radius: var(--radius);
	margin-bottom: 16px;
}

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

.gabinete .prose {
	margin: 0;
}

.gabinete__aside {
	padding: 28px;
	border-radius: var(--radius);
	background: var(--cream-soft);
}

.gabinete__aside h2 {
	font-size: 1.4rem;
}

.gabinete__aside .btn {
	width: 100%;
	margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
	.container {
		width: calc(100% - 56px);
	}

	.carousel-arrow--prev {
		left: -14px;
	}

	.carousel-arrow--next {
		right: -14px;
	}
}

@media (max-width: 1100px) {
	.nav-toggle {
		display: inline-flex;
		position: absolute;
		top: 20px;
		left: 0;
		transform: none;
	}

	.site-header__top {
		min-height: 92px;
		padding-top: 10px;
	}

	.main-nav {
		display: none;
		padding: 0;
	}

	.main-nav.is-open {
		display: block;
		padding: 10px 0 22px;
	}

	.main-nav .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.main-nav .menu li {
		border-top: 1px solid rgba(255, 255, 255, 0.16);
	}

	.main-nav .menu li:last-child {
		border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	}

	.main-nav a {
		display: block;
		padding: 14px 2px;
		font-size: 17px;
	}

	.main-nav .current-menu-item > a,
	.main-nav .current_page_item > a {
		box-shadow: none;
	}

	.header-social {
		display: none;
	}

	.site-header__utilities {
		padding-top: 2px;
	}
}

@media (max-width: 980px) {
	.hero {
		min-height: 0;
	}

	.hero__media {
		width: 100%;
	}

	.hero__media::before {
		background: linear-gradient(
			to right,
			var(--bg) 0%,
			rgba(253, 252, 250, 0.88) 38%,
			rgba(253, 252, 250, 0.55) 72%,
			rgba(253, 252, 250, 0.35) 100%
		);
	}

	.hero__media::after {
		background: linear-gradient(to top, rgba(253, 252, 250, 0.55) 0%, transparent 30%);
	}

	.hero__content {
		max-width: 560px;
	}

	.hero__inner {
		padding: 58px 0 64px;
	}

	.services-grid {
		gap: 20px;
	}

	.service-card__label {
		font-size: 11.5px;
		padding: 11px 8px;
		bottom: 16px;
	}

	.about {
		grid-template-columns: 280px minmax(0, 1fr);
		gap: 40px;
	}

	.testimonial {
		flex-basis: calc((100% - 18px) / 2);
	}

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

	.service-content,
	.gabinete,
	.contact-layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.service-hero__inner {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.contact-form-wrap {
		padding: 26px;
	}

	.cta-band__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 760px) {
	body {
		font-size: 16px;
	}

	.container {
		width: calc(100% - 40px);
	}

	.site-header {
		padding-top: 12px;
	}

	.site-header__brand img {
		width: 128px;
	}

	.header-book {
		display: none;
	}

	.site-header__top {
		min-height: 78px;
	}

	.hero {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.hero__inner {
		order: 1;
		padding: 40px 0 30px;
	}

	.hero__content {
		max-width: none;
	}

	.hero__media {
		position: relative;
		inset: auto;
		order: 2;
		width: 100%;
		height: auto;
	}

	.hero__media img {
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		object-fit: cover;
		object-position: center 35%;
	}

	.hero__media::before,
	.hero__media::after {
		display: none;
	}

	.hero__mark {
		width: 130px;
	}

	.hero__text {
		font-size: 16px;
	}

	.hero__actions .btn,
	.about__actions .btn {
		padding: 11px 22px;
	}

	.section {
		padding: 58px 0;
	}

	.section-title {
		margin-bottom: 32px;
	}

	.services-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.service-card {
		aspect-ratio: 16 / 12;
	}

	.service-card__label {
		font-size: 13px;
		padding: 13px;
	}

	.about {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.about__media {
		max-width: 320px;
	}

	.testimonial {
		flex-basis: 86%;
	}

	.testimonials {
		padding: 0;
	}

	.carousel-arrow {
		width: 36px;
		height: 36px;
		top: auto;
		bottom: -52px;
		transform: none;
	}

	.carousel-arrow--prev {
		left: calc(50% - 44px);
	}

	.carousel-arrow--next {
		right: calc(50% - 44px);
	}

	.section--testimonials {
		padding-bottom: 82px;
	}

	.resources-grid,
	.videos-grid,
	.testimonials-grid {
		grid-template-columns: 1fr;
	}

	.service-tile {
		flex-basis: 82%;
	}

	.field-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-nav .menu {
		gap: 10px 22px;
	}

	.cta-band__inner .btn {
		width: 100%;
	}

	.page-hero {
		padding: 46px 0 42px;
	}

	.gabinete__aside,
	.service-bullets {
		padding: 22px;
	}
}

@media (max-width: 420px) {
	.site-header__brand img {
		width: 112px;
	}

	.lang-switch {
		font-size: 11px;
	}

	.hero__title {
		font-size: 2rem;
	}

	.section-title {
		font-size: 1.85rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* --------------------------------------------------------------------------
   Floating WhatsApp button
   -------------------------------------------------------------------------- */

.cs-wa {
	position: fixed;
	right: 20px;
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--whatsapp);
	color: var(--white);
	box-shadow: 0 10px 24px rgba(35, 33, 30, 0.22);
	transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.cs-wa:hover,
.cs-wa:focus-visible {
	background: var(--whatsapp-dark);
	transform: translateY(-2px) scale(1.04);
	box-shadow: 0 14px 28px rgba(35, 33, 30, 0.26);
}

.cs-wa:focus-visible {
	outline: 3px solid var(--green-deep);
	outline-offset: 3px;
}

.cs-wa svg {
	width: 32px;
	height: 32px;
	stroke-width: 1.9;
}

@media (max-width: 640px) {
	.cs-wa {
		right: 14px;
		bottom: calc(14px + env(safe-area-inset-bottom, 0px));
		width: 52px;
		height: 52px;
	}

	.cs-wa svg {
		width: 28px;
		height: 28px;
	}
}
