/* ============================================================
   custom.css — modern refresh layer (Apple/iOS-inspired light theme)
   Loaded after main.css/animations.css. Only overrides/extends
   existing theme classes; does not replace the base theme.
   ============================================================ */

:root {
	--ink: #1d1d1f;        /* apple near-black text */
	--ink-secondary: #6e6e73; /* apple muted gray text */
	--surface: #ffffff;
	--surface-alt: #f5f5f7; /* apple light gray section bg */
	--hairline: #d2d2d7;    /* apple divider gray */
	--accent: #0071e3;      /* apple blue */
	--accent-dark: #0058b0;
	--accent-light: #42a5f5;
	--whatsapp: #25d366;
}

html {
	scroll-behavior: smooth;
}

/* ---------- SF Pro-style system font stack ---------- */
/* Uses San Francisco on Apple devices (system font), with Inter
   as a metrically-close fallback everywhere else. */
body,
h1, h2, h3, h4, h5, h6,
input,
textarea,
button,
select,
.form-control,
.theme_buttons a,
.theme_button,
.sf-menu a,
.breadcrumb,
.pagination > li > a,
.pagination > li > span,
.vidaloka {
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif !important;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: var(--ink);
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	letter-spacing: -0.02em;
}

.vidaloka {
	font-weight: 700;
	letter-spacing: -0.03em;
}

p {
	color: var(--ink-secondary);
	line-height: 1.7;
}

::selection {
	background: var(--accent);
	color: #fff;
}

a:focus-visible,
button:focus-visible,
.theme_button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* ============================================================
   Color palette — iPhone-style light theme
   ============================================================ */

/* single accent color across the site instead of red/green/pink */
.highlight,
.ls .highlight,
.ds .highlight,
.cs .highlight,
.response,
.cs .response {
	color: var(--accent) !important;
	border-color: var(--accent) !important;
}

.highlight2,
.ls .highlight2,
.ds .highlight2,
.cs .highlight2 {
	color: var(--accent) !important;
	border-color: var(--accent) !important;
}

.highlight3 {
	color: var(--accent) !important;
	border-color: var(--accent) !important;
}

a.hover-highlight:hover,
a.hover-highlight2:hover {
	color: var(--accent) !important;
}

.theme_background {
	background-color: var(--surface) !important;
}

/* light, airy section backgrounds */
.l-grey {
	background: var(--surface-alt) !important;
}

.ls {
	background-color: var(--surface);
	color: var(--ink-secondary);
}

/* ---------- pill buttons, Apple CTA style ---------- */
.theme_buttons a,
.theme_button,
.cs .theme_buttons a,
.cs .theme_button,
.cs .theme_buttons a.color1,
.cs .theme_button.color1,
.cs .theme_buttons.inverse a,
.cs .theme_button.inverse {
	background-color: var(--accent) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 980px !important;
	padding: 15px 34px !important;
	min-width: 0;
	font-size: 15px;
	font-weight: 600;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: 0 4px 14px rgba(0, 113, 227, 0.28);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.theme_buttons a:hover,
.theme_button:hover,
.theme_buttons a:focus,
.theme_button:focus,
.cs .theme_buttons a:hover,
.cs .theme_button:hover,
.cs .theme_buttons a:focus,
.cs .theme_button:focus,
.cs .theme_buttons a.color1:hover,
.cs .theme_button.color1:hover,
.cs .theme_buttons.inverse a:hover,
.cs .theme_button.inverse:hover {
	background-color: var(--accent-dark) !important;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 113, 227, 0.34);
}

/* ---------- hero / slider: neutral scrim instead of red tint ---------- */
.page_mainslider.ds {
	background-color: var(--ink);
}

.page_mainslider .cs {
	background-color: var(--ink);
	background-image: none;
}

.transp_main_bg_color,
.transp_main_bg_color2,
.transp_main_bg_color3 {
	border-top-color: rgba(0, 0, 0, 0.5) !important;
}

/* ---------- about section card ---------- */
#about .main_bg_color3 {
	background-color: var(--surface-alt) !important;
	color: var(--ink) !important;
	border-radius: 18px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

#about .main_bg_color3 p {
	color: var(--ink-secondary);
}

/* ---------- footer: light theme, CSS-grid layout ---------- */
.page_footer.ds {
	background-color: var(--surface-alt) !important;
	color: var(--ink-secondary) !important;
	border-top: 1px solid var(--hairline);
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	align-items: start;
	gap: 48px;
	text-align: left;
}

.footer-col-brand {
	max-width: 46ch;
}

.footer-lede {
	margin: 16px 0 0;
	color: var(--ink-secondary) !important;
	line-height: 1.7;
}

.footer-col-title {
	margin: 0 0 20px;
	font-size: 13px;
	font-weight: 700;
	color: var(--ink) !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-list li {
	color: var(--ink-secondary);
	font-size: 15px;
}

@media (max-width: 767px) {
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 40px;
		text-align: center;
	}

	.footer-col-brand {
		max-width: none;
		margin: 0 auto;
	}
}

.page_copyright.ls {
	background-color: var(--surface);
	border-top: 1px solid var(--hairline);
}

/* ---------- WhatsApp floating button ---------- */
.float {
	display: flex;
	align-items: center;
	justify-content: center;
	bottom: 20px;
	right: 20px;
	background-color: var(--whatsapp);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	animation: float-pulse 2.6s ease-in-out infinite;
}

.float .my-float {
	margin-top: 0;
}

.float:hover {
	transform: scale(1.08);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

@keyframes float-pulse {
	0%, 100% {
		box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(37, 211, 102, 0.5);
	}
	50% {
		box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22), 0 0 0 10px rgba(37, 211, 102, 0);
	}
}

@media (max-width: 480px) {
	.float {
		width: 52px;
		height: 52px;
		bottom: 16px;
		right: 16px;
		font-size: 26px;
	}
}

/* ---------- service cards ---------- */
.service-teaser {
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
	border-radius: 18px;
	padding: 28px 20px;
	background-color: var(--surface);
}

.service-teaser:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
	background-color: var(--surface-alt);
}

.round-icon.border_icon {
	border-color: var(--hairline) !important;
	transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.service-teaser:hover .round-icon.border_icon,
.service-teaser .round-icon.border_icon.highlight {
	background-color: var(--accent) !important;
	border-color: var(--accent) !important;
	transform: scale(1.08);
}

.service-teaser:hover .round-icon.border_icon i,
.service-teaser .round-icon.border_icon.highlight i {
	color: #ffffff !important;
}

/* ---------- contact section: flat light bg instead of map image ---------- */
.page_contacts.parallax {
	background-image: none !important;
	background-color: var(--surface-alt);
}

/* ---------- contact cards: light instead of red gradient ---------- */
.contact-teaser.cs,
.cs.contact-teaser {
	background: var(--surface) !important;
	background-image: none !important;
	color: var(--ink) !important;
	border-radius: 18px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	border: 1px solid var(--hairline);
}

.contact-teaser.cs h3,
.contact-teaser.cs p,
.contact-teaser.cs .small-text {
	color: var(--ink) !important;
}

.contact-teaser.cs .light {
	color: var(--ink-secondary) !important;
}

.contact-teaser .round-icon.ls {
	background-color: var(--surface-alt);
}

.contact-teaser .round-icon.ls i {
	color: var(--accent) !important;
}

/* ---------- footer brand: bold name only ---------- */
.footer-brand {
	display: inline-block;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--ink) !important;
	text-decoration: none;
}

.footer-brand:hover {
	color: var(--accent) !important;
}

/* ---------- top utility bar: logo + call + appointment ---------- */
.topline-flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 18px;
	min-height: 44px;
}

.topline-brand {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	text-decoration: none;
}

.topline-brand-name {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.015em;
	color: var(--ink);
}

.topline-brand-tagline {
	font-size: 12px;
	font-weight: 600;
	color: var(--ink-secondary);
	text-transform: uppercase;
	letter-spacing: 0.07em;
}

.topline-brand:hover .topline-brand-name {
	color: var(--accent);
}

.topline-actions {
	display: flex;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
}

.topline-action {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.topline-action-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: none;
	border-radius: 50%;
	background: var(--surface-alt);
	color: var(--accent);
	font-size: 15px;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.topline-action-text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
	text-align: left;
}

.topline-action-text small {
	font-size: 11px;
	font-weight: 500;
	color: var(--ink-secondary);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.topline-action-text strong {
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
}

.topline-action:hover .topline-action-icon {
	background: var(--accent);
	color: #ffffff;
	transform: scale(1.06);
}

.topline-action-cta .topline-action-text strong {
	color: var(--accent);
}

@media (max-width: 767px) {
	.topline-flex {
		justify-content: center;
		text-align: center;
	}

	.topline-brand {
		align-items: center;
		width: 100%;
	}

	.topline-actions {
		width: 100%;
		justify-content: center;
		gap: 24px;
	}
}

@media (max-width: 420px) {
	.topline-action-text strong {
		white-space: normal;
	}
}

/* ---------- about section image ---------- */
img.about {
	border-radius: 18px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
	max-width: 100%;
}

.about-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.about-row .col-md-3 {
	margin-bottom: 20px;
}

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

	.float {
		animation: none;
	}

	.theme_buttons a,
	.theme_button,
	.service-teaser,
	.round-icon.border_icon,
	.float {
		transition: none;
	}
}
