/*
Theme Name: Lead Transplant
Author: Hazel
Author URI: https://hazelsw.com
Description: A custom theme built for Lead Transplant
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--color-background: #fff;
	--color-foreground: #020617;
	--color-accent: #66c1d9;
	--color-muted: #e2e8f0;
	--color-muted-foreground: #64748b;
	--background-gradient: linear-gradient(
		135deg,
		var(--color-foreground) -1.9%,
		rgba(0, 165, 198, 1) 91.8%
	);
	--section-padding-lg: 8rem 0;
	--section-padding-md: 6rem 0;
	--section-padding-sm: 4rem 0;
	--section-padding-xs: 2rem 0;
}

html {
	font-size: 16px;
}

body {
/* 	background: #eff5fa; */
	color: var(--color-foreground);
	width: 100%;
	height: 100%;
	overscroll-behavior: none;
	font-family: 'Inter', Helvetica, sans-serif;
}

ul {
	list-style: none;
}
a {
	color: inherit;
}
button,
a {
	cursor: pointer;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	text-wrap: pretty;
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
	font-weight: normal;
}

.font-highlight {
	font-family: 'Instrument Serif', serif;
	font-style: italic;
	letter-spacing: 0.025em;
}

.text-bg-highlight {
	color: inherit;
	background-color: transparent;
	display: inline-block;
	background-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='40' height='8' viewBox='0 0 40 8'><path d='M0 4C5 2.5 10 6 15 4C20 2 25 5.5 30 3.5C35 2 40 4.5 40 4' stroke='%2366c1d9' stroke-width='2.5' stroke-linecap='round' fill='none'/><path d='M0 4.2C8 2.8 12 5.8 20 4.2C28 2.6 32 5.6 40 4.2' stroke='%2366c1d9' stroke-width='1.2' stroke-linecap='round' fill='none'/><path d='M0 4.1C6 3 14 5.2 22 4.1C30 3 38 5.1 40 4.1' stroke='%2366c1d9' stroke-width='0.6' stroke-linecap='round' fill='none'/></svg>");
	background-repeat: repeat-x;
	background-position: bottom;
	background-size: 40px 8px;
	padding-bottom: 2px;
}

.container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;

	@media (max-width: 1024px) {
		padding: 0 1rem;
	}
}

.container-sm {
	width: 100%;
	max-width: 672px;
	margin: 0 auto;
	padding: 0 1.5rem;

	@media (max-width: 1024px) {
		padding: 0 1rem;
	}
}

.btn {
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	border-radius: 2rem;
	border: none;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
	letter-spacing: -0.025em;
	font-family: 'Inter', Helvetica, sans-serif;
	text-wrap: nowrap;
}

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

.btn-primary svg {
	color: var(--color-accent);
	background-color: white;
}

.btn-secondary {
	background-color: var(--color-foreground);
	color: var(--color-background);
}

.btn-secondary svg {
	color: var(--color-foreground) !important;
	background-color: var(--color-background) !important;
}

.btn svg {
	width: 24px;
	height: 24px;
	padding: 4px;
	overflow: visible;
	transition: transform 0.3s ease-in-out;
	background: var(--color-background);
	border-radius: 100%;
	flex-shrink: 0;
	border: none;
}

.btn:hover svg {
	transform: rotate(90deg);
}

.btn-dark {
	background-color: var(--color-background);
	color: var(--color-foreground);
}

.btn-dark svg {
	background: var(--background-gradient);
	color: var(--color-background);
}

.section-header {
	margin-bottom: 6rem;

	@media (max-width: 768px) {
		margin-bottom: 4rem;
	}
}

.section-header h2,
.section-header h1 {
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.025em;
	font-size: 2.25rem;

	@media (max-width: 1024px) {
		font-size: 1.875rem;
	}
}

.section-badge {
	font-size: 0.75rem;
	position: relative;
	letter-spacing: -0.025em;
	padding-left: 1rem;
	width: fit-content;
	border-radius: 2rem;
	margin: 0 auto 1rem auto;
	font-weight: 300;
}

.section-badge::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%); /* center vertically */
	width: 6px; /* circle size */
	height: 6px;
	border-radius: 50%;
	background: var(--background-gradient);
	filter: blur(1px);
}

.floating-btn {
	position: fixed;
	top: 0;
	left: 0;
	transition: transform 0.1s linear;
	padding: 0.5rem 1rem;
	background-color: var(--color-background);
	color: var(--color-foreground);
	border-radius: 2rem;
	box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
	font-size: 0.875rem;
	letter-spacing: -0.025em;
	font-family: 'Inter', Helvetica, sans-serif;
}

.floating-btn > span {
	display: flex;
	align-items: center;
	gap: 2rem;
	transform: scale(0);
	transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-btn svg {
	width: 24px;
	height: 24px;
	padding: 6px;
	background: var(--color-foreground);
	color: var(--color-background);
	border-radius: 100%;
}

.floating-btn.visible {
	opacity: 1;
}

.floating-btn.visible > span {
	transform: scale(1);
}

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

@media (max-width: 768px) {
	.md-only {
		display: none;
	}
}

.text-reveal {
	display: block;
	overflow: hidden;
	padding: 0 1px;
}

.text-reveal > span {
	display: inline-block;
	transform: translateY(100%);
}

.custom-cursor {
	position: fixed;
	top: 0;
	left: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	pointer-events: none;
	transform: translate(-50%, -50%);
	background-color: var(--color-muted);
	transition: transform 0.1s ease-out;
	z-index: 9999;
}

@media (max-width: 768px) {
	.custom-cursor {
		display: none;
	}
}

.custom-cursor.hidden {
	display: none;
}

.page-section {
	padding: var(--section-padding-sm);
}

.page-content p {
	margin-bottom: 0.5rem;
}

.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
	margin: 2rem 0 0.75rem 0;
}

.wp-block-separator {
	border-top: 0.5px solid var(--color-muted-foreground);
	margin: 3rem auto;
	max-width: 672px;
}

.container-single {
	max-width: 576px;
	margin: 0 auto;
}

ul.checklist {
	list-style: none !important;
	padding: 0;
}

.center {
	max-width: fit-content;
	margin: 0 auto;
}

ul.checklist li {
	position: relative;
	padding-left: 32px; /* make room for icon */
}

ul.checklist li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2300A86B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21.801 10A10 10 0 1 1 17 3.335'/><path d='m9 11 3 3L22 4'/></svg>")
		no-repeat center center;
	background-size: contain;
}

.curved-underline {
	display: inline-block;
	background-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='50' height='10' viewBox='0 0 50 10' fill='none'><path d='M1 5C10 10 20 0 30 5C40 10 50 0 59 5' stroke='%2366c1d9' stroke-width='2' stroke-linecap='round'/></svg>");
	background-repeat: repeat-x;
	background-position: bottom;
	background-size: 50px 10px;
	padding-bottom: 5px;
}
ul li{
	list-style: disc;
	padding-left: 16px;
}



.site-footer {
    margin: 0 1rem 0 1rem;
    border-radius: 1rem 1rem 0 0;
    color: white;
    overflow: hidden;
    position: relative;
    background-color: var(--color-foreground);
}

.cta-section {
    padding: var(--section-padding-md);

    @media (max-width: 1024px) {
        padding: var(--section-padding-sm);
    }
}

.cta-section h2 {
    text-align: center;
    margin: 0 auto 1rem auto;
}

.cta-section p {
    text-align: center;
    text-wrap: balance;
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: -0.5px;
    margin: 0 auto;
    max-width: 576px;
    font-weight: 300;
}

.cta-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.get-in-touch-link {
    position: relative;
    cursor: none;
    width: fit-content;
}

.cta-section h3 {
    text-align: center;
    font-size: 8vw;
    letter-spacing: -0.025em;
    color: white;

    @media (max-width: 1024px) {
        font-size: 10vw;
    }
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    color: var(--color-muted);

    @media (max-width: 1024px) {
        flex-direction: column;
    }
}

.footer-legal a {
    color: var(--color-muted);
    transition: color 0.3s ease-in-out;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal p, .footer-legal a {
    font-size: 0.75rem !important;
    font-weight: 300;
}

.footer-legal > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-legal img {
    height: 10px;
    width: auto;
    display: inline-block;
    opacity: 0.85;
}

.main-footer {
    display: flex;
    gap: 2rem;
    margin-bottom: 6rem;

    @media (max-width: 1024px) {
        flex-direction: column;
        align-items: center;
        margin-bottom: 4rem;
    }
}

.footer-branding {
    flex: 1;
    display: flex;
    flex-direction: column;

    @media (max-width: 1024px) {
        align-items: center;
        flex-direction: column-reverse;
    }
}

.footer-content-section {
    padding: var(--section-padding-xs);
}

.footer-content-section a {
    position: relative;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 300;
    font-size: 0.75rem;
    width: fit-content;
    text-wrap: nowrap;
}

.footer-content-section a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* adjust spacing below text */
    width: 0%;
    height: 1px; /* thickness of underline */
    background-color: currentColor; /* matches text color */
    transition: width 0.3s ease;
}

.footer-content-section a:hover::after {
    width: 100%;
}

.footer-content-section a svg {
    height: 16px;
    width: 16px;
}

.footer-menu {
    flex: 2;
    display: flex;
    justify-content: end;
}

.footer-menu h2 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.socials {
    display: flex;
    flex-direction: column;

    @media (max-width: 1024px) {
        align-items: center;
        text-align: center;
    }
}

.socials a {
    width: 100%;
    justify-content: space-between;
}

.socials ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-email {
    font-size: 1.5rem !important;
    font-weight: 500;
    letter-spacing: -1px;
}



