﻿:root {
	--green: #3f9a64;
	--green-dark: #2c6b4a;
	--green-soft: #eaf6ea;
	--ink: #1f2a2e;
	--muted: #5f6b70;
	--bg: #f7f6f2;
	--white: #ffffff;
	--shadow: 0 20px 45px rgba(18, 34, 28, 0.12);
	--radius: 22px;
	--max: 1140px;
}

* {box-sizing: border-box}

body {
	font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
}

a {color: inherit; text-decoration: none}
img {max-width: 100%; height: auto; display: block}

.container {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 24px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(31, 42, 46, 0.08);
}

.back-bar {
	background: var(--white);
	border-bottom: 1px solid rgba(31, 42, 46, 0.08);
}

.back-bar .container {
	padding: 10px 24px;
}

.back-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--green-dark);
	border: 1px solid rgba(31, 42, 46, 0.14);
	border-radius: 14px;
	padding: 8px 14px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 10px 20px rgba(18, 34, 28, 0.08);
}

.back-btn::before {
	content: "←";
	font-size: 16px;
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 0;
}

.logo img {height: 72px}

.menu {
	display: flex;
	gap: 20px;
	font-weight: 500;
}

.menu-link {
	padding: 5px 0;
	position: relative;
	color: var(--muted);
}

.menu-link.active,
.menu-link:hover {
	color: var(--green-dark);
}

.menu-link.active::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 100%;
	height: 2px;
	background: var(--green);
	border-radius: 999px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--green);
	color: var(--white);
	padding: 12px 22px;
	border-radius: 14px;
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
	box-shadow: 0 10px 30px rgba(45, 122, 106, 0.25);
}

.btn:hover {
	transform: translateY(-2px) scale(1.01);
	box-shadow: 0 14px 34px rgba(45, 122, 106, 0.28);
	filter: saturate(1.08);
}

.btn:active {
	transform: translateY(0) scale(0.98);
	box-shadow: 0 8px 20px rgba(45, 122, 106, 0.2);
	filter: saturate(0.98);
}

.btn-outline {
	background: transparent;
	color: var(--green-dark);
	border-color: rgba(45, 122, 106, 0.5);
	box-shadow: none;
}

.btn-ghost {
	background: var(--white);
	color: var(--green-dark);
	border: 1px solid rgba(31, 42, 46, 0.12);
	box-shadow: none;
}

.hero .btn-ghost {
	background: rgba(255, 255, 255, 0.92);
	border-color: rgba(16, 24, 20, 0.25);
}

.btn-whatsapp {
	background: var(--green);
	color: var(--white);
	border-color: transparent;
	box-shadow: 0 10px 30px rgba(45, 122, 106, 0.25);
	border-radius: 14px;
}

.btn-whatsapp:hover {
	transform: translateY(-1px);
}

.btn-floating {
	position: fixed;
	bottom: 20px;
	right: 24px;
	z-index: 1000;
	background: var(--green);
	color: var(--white);
	padding: 14px 18px;
	border-radius: 14px;
	font-weight: 600;
	font-size: 15px;
	box-shadow: 0 8px 24px rgba(45, 122, 106, 0.35);
	display: none;
	align-items: center;
	gap: 8px;
	border: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-floating:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 12px 32px rgba(45, 122, 106, 0.42);
}

.btn-floating svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: transparent;
	border: none;
	padding: 8px;
	cursor: pointer;
	z-index: 100;
}

.hamburger span {
	display: block;
	width: 25px;
	height: 3px;
	background: var(--green-dark);
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-active span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
	opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

.hero {
	position: relative;
	overflow: hidden;
	padding: 35px 0 44px;
	color: var(--white);
}

html {
	overflow-x: clip;
}

html, body {
	max-width: 100%;
}

.hero-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(72, 160, 92, 0.9), rgba(236, 247, 235, 0.95));
	filter: none;
}

.hero::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 100%;
	background: none;
	pointer-events: none;
}

.hero-content {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 32px;
	align-items: stretch;
}

.hero-sticky-wrap {
	margin-top: -120px;
	position: relative;
	z-index: 4;
}

.hero-sticky-grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 16px;
	align-items: start;
}

.hero-motto {
	font-family: "Great Vibes", "Brush Script MT", "Segoe Script", cursive;
	font-size: 79px;
	line-height: 1.1;
	color: var(--green-dark);
	text-shadow: 0 10px 24px rgba(255, 255, 255, 0.35);
	align-self: end;
	position: sticky;
	top: 16px;
	white-space: nowrap;
	transform: translateY(-50%);
}

.hero-sticky-col {
	display: flex;
	justify-content: flex-end;
}

.hero-sticky {
	width: 410px;
	height: auto;
	position: sticky;
	top: 16px;
	transform: translateX(-24px);
	filter: none;
	box-shadow: none;
	border-radius: 0;
}

.hero-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.hero-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 18px;
	box-shadow: none;
}

.hero-text {
	background: linear-gradient(180deg, rgba(236, 247, 235, 0.8), rgba(255, 255, 255, 0.95));
	padding: 24px;
	border-radius: 18px;
	box-shadow: none;
	width: 100%;
	text-align: right;
	color: var(--ink);
	height: 100%;
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 16px;
	font-weight: 600;
	color: var(--green-dark);
	display: block;
	padding: 0;
	border-radius: 0;
	background: none;
	text-shadow: none;
}

.hero h1 {
	font-family: "Playfair Display", "Times New Roman", serif;
	font-size: 44px;
	line-height: 1.15;
	margin: 12px 0 16px;
}

.lead {font-size: 17px; opacity: 0.98}

.hero .lead,
.hero .hero-meta {
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-actions {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

.hero-meta {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 22px;
	font-size: 14px;
	opacity: 0.9;
}

.hero-card {
	background: var(--white);
	color: var(--ink);
	padding: 28px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.hero-card h2 {font-size: 20px; margin-bottom: 12px}

.schedule {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.schedule li {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	border-bottom: 1px solid rgba(31, 42, 46, 0.08);
	font-weight: 500;
}

.note {font-size: 14px; color: var(--muted)}
.schedule-title {
	font-weight: 600;
	margin: 8px 0 6px;
	color: var(--green-dark);
}

.section {padding: 70px 0}
.section-soft {background: var(--white)}

section[id] {
	scroll-margin-top: 110px;
}

#program {
	scroll-margin-top: 110px;
}

.section-head {
	text-align: center;
	margin-bottom: 40px;
}

.section-head h2 {font-size: 32px; margin-bottom: 8px}
.section-head p {color: var(--muted)}
.important-note {
	font-size: 17px;
	font-weight: 600;
	color: #7a1c1c;
	background: #fff4f4;
	border: 2px solid #d94f4f;
	border-left: 6px solid #d94f4f;
	border-radius: 10px;
	padding: 12px 18px;
	display: block;
	margin-top: 12px;
}

.grid {
	display: grid;
	gap: 24px;
}

.cards {grid-template-columns: repeat(3, minmax(0, 1fr))}

.card {
	background: var(--white);
	padding: 20px;
	border-radius: 18px;
	box-shadow: var(--shadow);
	display: grid;
	gap: 12px;
}

.card img {border-radius: 14px; height: 180px; object-fit: cover}
.card h3 {font-size: 20px}
.card p {color: var(--muted)}

.section-actions {
	margin-top: 24px;
	text-align: center;
}

.schedule-section {
	background: var(--white);
	border-bottom: 1px solid rgba(31, 42, 46, 0.06);
}

.schedule-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.schedule-card {
	background: linear-gradient(180deg, rgba(236, 247, 235, 0.75), rgba(255, 255, 255, 0.95));
	border-radius: var(--radius);
	padding: 14px;
	box-shadow: var(--shadow);
	display: grid;
	gap: 16px;
}

.schedule-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.schedule-card--left {
	grid-template-columns: 1fr 1.1fr;
	grid-template-areas:
		"photo content"
		"actions actions";
}

.schedule-card--right {
	grid-template-columns: 1.1fr 1fr;
	grid-template-areas:
		"content photo"
		"actions actions";
}

.schedule-photo-wrap {grid-area: photo;}
.schedule-body {grid-area: content;}
.schedule-actions {grid-area: actions;}

.schedule-photo-wrap {
	position: relative;
	display: grid;
	gap: 12px;
}

.schedule-photo-title {
	position: static;
	font-family: "Playfair Display", "Times New Roman", serif;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: #163226;
	padding: 0;
	background: none;
	border-radius: 0;
	box-shadow: none;
	backdrop-filter: none;
}

.schedule-photo {
	width: 100%;
	height: 240px;
	object-fit: cover;
	object-position: center 30%;
	border-radius: 16px;
}

.split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 36px;
	align-items: center;
}

.checklist {
	list-style: none;
	padding: 0;
	margin: 20px 0;
	display: grid;
	gap: 10px;
}

.checklist li {
	padding-left: 26px;
	position: relative;
	color: var(--muted);
}

.checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 12px;
	height: 12px;
	background: var(--green);
	border-radius: 50%;
}

.image-stack {
	display: grid;
	gap: 16px;
}

.image-stack img {
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: var(--green-dark);
	color: var(--white);
	padding: 32px 40px;
	border-radius: var(--radius);
}

.cta-actions {display: flex; gap: 12px}

.site-footer {
	background: linear-gradient(120deg, #1b3f2e, #163226);
	color: rgba(255, 255, 255, 0.85);
	padding: 50px 0 24px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 24px;
}

.footer-logo {height: 40px; margin-bottom: 12px}

.site-footer a {
	color: rgba(233, 247, 235, 0.95);
}

.site-footer a:hover {
	color: #ffffff;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	padding-top: 16px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.65);
}

.page-hero {
	background: linear-gradient(120deg, rgba(72, 160, 92, 0.9), rgba(236, 247, 235, 0.95));
	color: var(--white);
	padding: 29px 0;
}

.page-hero h1 {font-size: 36px; margin-bottom: 10px}

.blog-hero {
	position: relative;
	overflow: hidden;
	padding-bottom: 140px;
}

.blog-hero-sticky {
	position: absolute;
	right: max(24px, calc((100% - var(--max)) / 2 + 24px));
	bottom: 0;
	transform: none;
	width: min(321px, 52vw);
	height: auto;
	z-index: 2;
	pointer-events: none;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.form-card {
	background: var(--white);
	border-radius: var(--radius);
	padding: 24px;
	box-shadow: var(--shadow);
}

.form-card-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.doctor-avatar {
	width: 80px;
	aspect-ratio: 5 / 4;
	height: auto;
	border-radius: 10px;
	object-fit: cover;
	box-shadow: 0 10px 24px rgba(18, 34, 28, 0.18);
	border: 2px solid rgba(255, 255, 255, 0.9);
}

.form-card h3 {margin-bottom: 12px}

.schedule-mini {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 16px 0 12px;
}

.schedule-mini h4 {
	font-size: 16px;
	margin-bottom: 6px;
	color: var(--green-dark);
}

.schedule-mini .schedule {
	margin-bottom: 0;
}

.form-field {
	display: grid;
	gap: 8px;
	margin-bottom: 14px;
}

.form-field label {
	font-weight: 600;
	font-size: 14px;
}

.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid rgba(31, 42, 46, 0.2);
	font-family: inherit;
	font-size: 14px;
}

.form-field textarea {min-height: 120px; resize: vertical}

.slot-grid {
	display: grid;
	gap: 10px;
}

.slot-day {
	padding: 10px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(31, 42, 46, 0.08);
}

.slot-day-title {
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--green-dark);
}

.slot-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.slot-btn {
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid rgba(31, 42, 46, 0.18);
	background: #ffffff;
	font-size: 12px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.slot-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(45, 122, 106, 0.15);
}

.slot-btn.is-selected {
	background: var(--green);
	color: #ffffff;
	border-color: transparent;
	box-shadow: 0 10px 24px rgba(45, 122, 106, 0.25);
}

.slot-btn.is-booked {
	background: #eef2f1;
	color: #8a969c;
	border-color: transparent;
	cursor: not-allowed;
	box-shadow: none;
}

.slot-selected {
	margin-top: 8px;
	font-size: 13px;
	color: var(--muted);
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.contact-card {
	background: linear-gradient(180deg, rgba(236, 247, 235, 0.8), rgba(255, 255, 255, 0.95));
	padding: 24px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	display: grid;
	gap: 12px;
}

.contact-card--image,
.contact-card--map {
	align-content: start;
}

.contact-photo {
	width: 100%;
	height: 320px;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: var(--shadow);
}

.map-images {
	display: grid;
	gap: 16px;
}

.map-frame iframe {
	width: 100%;
	height: 320px;
	border: 0;
	border-radius: 16px;
	box-shadow: var(--shadow);
}

.service-list {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-item {
	background: var(--white);
	border-radius: 16px;
	padding: 32px;
	box-shadow: var(--shadow);
	display: grid;
	gap: 16px;
}

.service-item img {
	width: 100%;
	height: 190px;
	object-fit: cover;
	border-radius: 12px;
}

.service-media {
	display: block;
	border-radius: 12px;
	overflow: hidden;
}

.service-media img {
	transition: transform 0.35s ease, filter 0.35s ease;
}

.service-media:hover img {
	transform: scale(1.04);
	filter: saturate(1.05);
}

.service-item h3 {font-size: 22px}
.service-item p {font-size: 16px}
.service-link {
	display: inline-flex;
	margin-top: 8px;
	font-weight: 600;
	color: var(--green-dark);
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.blog-card {
	background: var(--white);
	border-radius: 18px;
	box-shadow: var(--shadow);
	overflow: hidden;
	display: grid;
}

.blog-card img {
	width: 100%;
	height: 190px;
	object-fit: cover;
}

.blog-media {
	display: block;
}

.blog-media img {
	transition: transform 0.35s ease, filter 0.35s ease;
}

.blog-media:hover img {
	transform: scale(1.04);
	filter: saturate(1.05);
}

.blog-body {
	padding: 18px;
	display: grid;
	gap: 10px;
}

.blog-body h3 {
	font-size: 20px;
}

.blog-body p {
	color: var(--muted);
	font-size: 15px;
}

.blog-link {
	font-weight: 600;
	color: var(--green-dark);
}

.post-layout {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 28px;
	align-items: start;
}

.post-card {
	background: var(--white);
	border-radius: 18px;
	box-shadow: var(--shadow);
	padding: 24px;
}

.post-card--menu {
	margin-top: 16px;
}

.post-hero-img {
	width: 100%;
	border-radius: 16px;
	box-shadow: var(--shadow);
	margin-bottom: 16px;
}

.post-title {
	font-size: 34px;
	margin-bottom: 10px;
}

.post-lead {
	color: var(--muted);
	font-size: 17px;
}

.post-section-title {
	font-size: 20px;
	margin: 18px 0 8px;
	color: var(--green-dark);
}

.post-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 8px;
}

.post-list li {
	padding-left: 18px;
	position: relative;
	color: var(--muted);
}

.post-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 8px;
	height: 8px;
	background: var(--green);
	border-radius: 50%;
}

.post-links {
	display: grid;
	gap: 10px;
}

.post-menu {
	list-style: disc;
	padding-left: 18px;
	margin: 10px 0 0;
	display: grid;
	gap: 6px;
}

.post-menu a {
	color: var(--green-dark);
	text-decoration: none;
}

@media (max-width: 980px) {
	.hero-content,
	.split,
	.form-grid,
	.contact-grid,
	.footer-grid,
	.post-layout {
		grid-template-columns: 1fr;
	}

	.cards {grid-template-columns: 1fr 1fr}
	.schedule-grid {grid-template-columns: 1fr}
	.blog-grid {grid-template-columns: 1fr 1fr}
	.cta {flex-direction: column; align-items: flex-start}
	.schedule-mini {grid-template-columns: 1fr}

	.hero-sticky-wrap {
		margin-top: 0;
		padding-top: 20px;
	}

	.hero-sticky-grid {
		display: flex;
		flex-direction: row;
		gap: 16px;
		align-items: center;
		justify-content: space-between;
	}

	.hero-motto {
		font-size: 36px;
		text-align: left;
		transform: translateY(-160px);
		margin-top: 0;
		padding-right: 0;
		flex-shrink: 0;
		order: 1;
	}

	.hero-sticky {
		width: 100%;
		max-width: 280px;
		margin: 0;
		transform: translateX(0);
		flex-shrink: 0;
	}

	.hero-sticky-col {
		justify-content: flex-end;
		flex-shrink: 0;
		order: 2;
	}
}

@media (max-width: 900px) {
	.btn-header-appointment {
		display: none;
	}

	.btn-floating {
		display: flex !important;
	}

	.hero-sticky {
		width: 100%;
		max-width: 300px;
		transform: translateX(0);
	}

	.hero-motto {
		font-size: 32px;
		text-align: left;
		transform: translateY(-140px);
	}
}

@media (max-width: 720px) {
	.nav {
		flex-wrap: nowrap;
		position: relative;
	}

	.hamburger {
		display: flex;
		order: 2;
	}

	.logo {
		order: 1;
	}

	.menu {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		background: var(--white);
		flex-direction: column;
		padding: 80px 24px 24px;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
		transform: translateY(-100%);
		transition: transform 0.3s ease;
		z-index: 50;
		gap: 0;
	}

	.menu.is-open {
		transform: translateY(0);
	}

	.menu-link {
		padding: 16px 0;
		border-bottom: 1px solid rgba(31, 42, 46, 0.08);
		font-size: 18px;
	}

	.menu-link.active::after {
		display: none;
	}

	.hero {padding: 64px 0}
	.hero h1 {font-size: 34px}
	.cards {grid-template-columns: 1fr}
	.service-list {grid-template-columns: 1fr}
	.blog-grid {grid-template-columns: 1fr}
	.hero-actions {flex-direction: column; align-items: flex-start}
}

@media (max-width: 540px) {
	.container {padding: 0 18px}
	.hero h1 {font-size: 30px}
	.page-hero h1 {font-size: 28px}
	.schedule-photo-title {font-size: 18px}

	.hero-motto {
		font-size: 28px;
		text-align: left;
		transform: translateY(-124px);
	}

	.hero-sticky {
		max-width: 220px;
	}

	.hero-sticky-grid {
		gap: 12px;
	}

	.btn-floating {
		right: 18px;
		bottom: 18px;
		padding: 12px 16px;
		font-size: 14px;
	}

	.btn-floating svg {
		width: 18px;
		height: 18px;
	}
}

