/*
Theme Name: Sueno Real Casitas
Theme URI: https://suenorealcasitas.netsouldigital.com/
Author: Netsoul Digital
Description: Custom one-page flyer-inspired WordPress theme for Sueno Real Casitas.
Version: 1.0.22
*/

:root {
	--red: #ff2836;
	--red-dark: #e91f2b;
	--blue: #244bd6;
	--ink: #161616;
	--muted: #555;
	--line: #dedede;
	--dark: #333333;
	--panel: #f7f7f7;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #eeeeee;
	color: var(--ink);
	font-family: "Poppins", Arial, sans-serif;
	line-height: 1.25;
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

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

.flyer-page {
	position: relative;
	display: grid;
	grid-template-columns: 34% 33% 33%;
	width: 100%;
	max-width: 1400px;
	min-height: 100vh;
	margin: 0 auto;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 18px 70px rgba(0, 0, 0, 0.15);
}

.mission-panel,
.services-panel,
.lead-panel {
	position: relative;
	min-width: 0;
	min-height: 100vh;
	padding: clamp(26px, 3.8vw, 48px);
	overflow: hidden;
}

.mission-panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	background:
		radial-gradient(circle at 10% 46%, rgba(255, 255, 255, 0.035) 0 58px, transparent 59px),
		radial-gradient(circle at 17% 18%, rgba(0, 0, 0, 0.09) 0 145px, transparent 146px),
		radial-gradient(circle at 82% 84%, rgba(0, 0, 0, 0.08) 0 155px, transparent 156px),
		var(--dark);
	color: #fff;
	text-align: center;
}

.wave-mark {
	width: 150px;
	height: 24px;
	margin-bottom: 4px;
	background: repeating-radial-gradient(ellipse at center, transparent 0 12px, var(--red) 13px 17px, transparent 18px 30px);
	clip-path: inset(0 0 46% 0);
}

.mission-copy {
	width: 100%;
	max-width: 360px;
	margin: 0 auto;
}

.mission-copy h1,
.mission-copy h2,
.mission-copy h3,
.services-panel > h2,
.lead-copy h2,
.form-wrap h2 {
	margin: 0;
	font-weight: 900;
	letter-spacing: 0;
}

.mission-copy h1 {
	font-size: clamp(30px, 2.7vw, 40px);
}

.mission-copy h2 {
	font-size: clamp(24px, 2.2vw, 34px);
	line-height: 1.02;
}

.mission-copy h3 {
	color: var(--red);
	font-size: clamp(25px, 2.25vw, 34px);
	line-height: 1.02;
}

.mission-copy p {
	margin: 14px 0 0;
	font-size: clamp(16px, 1.35vw, 21px);
	font-weight: 500;
}

.mini-divider {
	position: relative;
	width: 72%;
	height: 22px;
	border-top: 3px solid var(--red);
}

.mini-divider span {
	position: absolute;
	left: 50%;
	top: -18px;
	width: 34px;
	height: 34px;
	transform: translateX(-50%);
	background: var(--dark);
}

.mini-divider span::before {
	content: "\2302";
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	color: var(--red);
	font-size: 36px;
	font-weight: 900;
}

.dot-row {
	width: min(300px, 80%);
	height: 7px;
	background: radial-gradient(circle, #e4a622 0 2px, transparent 3px) 0 0 / 18px 7px repeat-x;
}

	.round-photo {
		position: relative;
		z-index: 1;
		margin: 0;
		aspect-ratio: 1 / 1;
		border-radius: 50%;
		overflow: hidden;
		background: #ddd;
	}

.round-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lower-photo {
	width: min(470px, 116%);
	margin-top: auto;
	margin-bottom: -84px;
	border: 18px solid var(--red);
}

.services-panel {
	background: #fbfbfb;
	padding-bottom: 94px;
}

.stripe-block {
	position: absolute;
	top: 0;
	right: 9%;
	width: 70px;
	height: 84px;
	background: repeating-linear-gradient(135deg, var(--red) 0 4px, transparent 4px 9px);
}

.services-panel > h2 {
	margin: 0 70px 22px 0;
	color: var(--red);
	text-align: center;
	font-size: clamp(28px, 2.65vw, 43px);
	line-height: 1.02;
}

.service-list {
	display: grid;
	gap: 0;
}

.service-item {
	display: grid;
	grid-template-columns: 62px 1fr;
	gap: 20px;
	align-items: start;
	padding: 19px 0;
	border-bottom: 2px solid var(--line);
}

.service-item h3,
.deposit-card h3 {
	margin: 0;
	font-size: clamp(17px, 1.35vw, 22px);
	font-weight: 900;
}

.service-item p,
.deposit-card p {
	margin: 4px 0 0;
	font-size: clamp(14px, 1.08vw, 18px);
	font-weight: 600;
}

.icon {
	position: relative;
	width: 48px;
	height: 48px;
	color: var(--red);
}

.icon::before {
	content: "";
	position: absolute;
	inset: 0;
	background: currentColor;
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
}

.house::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 10.8 12 3l9 7.8v9.7a.5.5 0 0 1-.5.5H15v-7H9v7H3.5a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 10.8 12 3l9 7.8v9.7a.5.5 0 0 1-.5.5H15v-7H9v7H3.5a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E"); }
.handshake::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.6 12.7 5.5 9.6 2 13.1l5.5 5.5 1.9-1.9 2.2 2.2a2.2 2.2 0 0 0 3.1 0l5.8-5.8-3.5-3.5-2.7 2.7-2.5-2.5c-.6-.6-1.7-.6-2.3 0zM6.7 5 2.6 9.1 5 11.5 9.1 7.4zm10.6 0-2.4 2.4 4.1 4.1 2.4-2.4z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.6 12.7 5.5 9.6 2 13.1l5.5 5.5 1.9-1.9 2.2 2.2a2.2 2.2 0 0 0 3.1 0l5.8-5.8-3.5-3.5-2.7 2.7-2.5-2.5c-.6-.6-1.7-.6-2.3 0zM6.7 5 2.6 9.1 5 11.5 9.1 7.4zm10.6 0-2.4 2.4 4.1 4.1 2.4-2.4z'/%3E%3C/svg%3E"); }
.tools::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m21 6-3.4 3.4-3-3L18 3a5.2 5.2 0 0 0-6.5 6.5L3 18l3 3 8.5-8.5A5.2 5.2 0 0 0 21 6zM6 4 4 6l3 3 2-2z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m21 6-3.4 3.4-3-3L18 3a5.2 5.2 0 0 0-6.5 6.5L3 18l3 3 8.5-8.5A5.2 5.2 0 0 0 21 6zM6 4 4 6l3 3 2-2z'/%3E%3C/svg%3E"); }
.truck::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6h12v9h1.2l2-4H22v4h-1.1a3 3 0 0 1-5.8 0H9.9a3 3 0 0 1-5.8 0H2zm5 12.2A1.2 1.2 0 1 0 7 15.8a1.2 1.2 0 0 0 0 2.4m11 0a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6h12v9h1.2l2-4H22v4h-1.1a3 3 0 0 1-5.8 0H9.9a3 3 0 0 1-5.8 0H2zm5 12.2A1.2 1.2 0 1 0 7 15.8a1.2 1.2 0 0 0 0 2.4m11 0a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4'/%3E%3C/svg%3E"); }
.porch::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5h18v3H3zm2 4h14v8H5zm-2 9h18v3H3zm5-7v6h2v-6zm6 0v6h2v-6z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5h18v3H3zm2 4h14v8H5zm-2 9h18v3H3zm5-7v6h2v-6zm6 0v6h2v-6z'/%3E%3C/svg%3E"); }
.clipboard::before { mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 2h6l1 2h3v18H5V4h3zm0 5v2h6V7zm0 4v2h7v-2zm0 4v2h5v-2z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 2h6l1 2h3v18H5V4h3zm0 5v2h6V7zm0 4v2h7v-2zm0 4v2h5v-2z'/%3E%3C/svg%3E"); }

.deposit-card {
	display: grid;
	grid-template-columns: 82px 1fr;
	gap: 22px;
	align-items: center;
	margin-top: 34px;
	padding: 18px 24px;
	border: 2px dashed var(--red);
	background: #fffdfd;
}

.deposit-icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--red);
	color: #fff;
	font-size: 50px;
	font-weight: 900;
}

.lead-panel {
	padding-bottom: 108px;
	text-align: center;
}

.lead-panel::before {
	display: none;
}

.hero-photo {
	width: min(410px, 94%);
	margin: -56px -40px 28px auto;
	border: 14px solid var(--red);
}

.hero-photo img {
	object-position: center center;
	transform: scale(1.08);
}

.lead-copy {
	position: relative;
	z-index: 2;
	max-width: 470px;
	margin: 0 auto;
}

.lead-copy h2 {
	color: var(--blue);
	font-size: clamp(25px, 2.25vw, 35px);
	line-height: 1.02;
}

.lead-copy h3 {
	margin: 18px 0;
	font-size: clamp(20px, 1.65vw, 26px);
	font-weight: 900;
	line-height: 1.12;
}

.lead-copy p {
	margin: 0;
	font-size: clamp(15px, 1.2vw, 20px);
	font-weight: 500;
}

.benefit {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 14px;
	margin-top: 22px;
	text-align: left;
}

.benefit span {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	font-weight: 900;
}

.blue-space {
	margin: 28px auto 24px;
}

.form-wrap {
	position: relative;
	z-index: 2;
	max-width: 530px;
	margin: 0 auto;
	text-align: left;
}

.form-wrap h2 {
	color: var(--red);
	text-align: center;
	font-size: clamp(19px, 1.7vw, 25px);
}

.form-wrap h3 {
	margin: 10px 0 16px;
	text-align: center;
	font-size: clamp(15px, 1.1vw, 18px);
	font-weight: 900;
}

.form-success {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 6px;
	background: #ecfff2;
	color: #12662b;
	font-weight: 700;
	text-align: center;
}

form {
	display: grid;
	gap: 10px;
}

.field-grid.two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

input,
button {
	width: 100%;
	min-height: 43px;
	border-radius: 7px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
	border: 1.5px solid #afbad0;
	padding: 0 16px;
	background: #fafafa;
	color: var(--ink);
}

.choice-line {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 43px;
	padding: 7px 14px;
	border: 1.5px solid #afbad0;
	border-radius: 7px;
	background: #fafafa;
	font-size: 14px;
	font-weight: 600;
}

.choice-line span {
	margin-right: auto;
}

.choice-line label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.choice-line input {
	width: 18px;
	min-height: 18px;
}

button {
	border: 0;
	background: var(--blue);
	color: #fff;
	font-weight: 900;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 160ms ease, background 160ms ease;
}

button:hover,
button:focus-visible {
	background: #193bbb;
	transform: translateY(-1px);
}

.contact-bar {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 34%;
	display: grid;
	grid-template-columns: 1fr 1.25fr 1fr;
	gap: 18px;
	align-items: center;
	min-height: 70px;
	padding: 16px 38px;
	border-top-left-radius: 58px;
	background: var(--red);
	color: #fff;
	font-size: clamp(13px, 1.2vw, 19px);
	font-weight: 700;
}

.contact-bar a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	white-space: nowrap;
}

.contact-bar a:first-child {
	font-size: clamp(22px, 2vw, 30px);
	font-weight: 900;
}

.contact-bar span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	color: var(--red);
	font-size: 21px;
}

@media (max-width: 1120px) {
	.flyer-page {
		grid-template-columns: minmax(0, 1fr);
	}

	.mission-panel,
	.services-panel,
	.lead-panel {
		min-height: auto;
		padding: 34px 22px;
	}

	.mission-panel {
		padding-bottom: 0;
	}

	.lower-photo {
		width: min(440px, 95%);
		margin-bottom: -40px;
	}

	.services-panel {
		padding-top: 72px;
		padding-bottom: 34px;
	}

	.lead-panel {
		padding-bottom: 120px;
	}

	.hero-photo {
		margin: 0 auto 26px;
	}

	.lead-panel::before {
		display: none;
	}

	.contact-bar {
		position: relative;
		left: auto;
		grid-template-columns: 1fr;
		border-top-left-radius: 0;
	}
}

@media (max-width: 640px) {
	.mission-panel,
	.services-panel,
	.lead-panel {
		padding-right: 18px;
		padding-left: 18px;
	}

	.mission-copy {
		max-width: min(320px, 100%);
	}

	.mission-copy h1 {
		font-size: 31px;
	}

	.mission-copy h2 {
		font-size: 24px;
	}

	.mission-copy h3 {
		font-size: 24px;
	}

	.mission-copy p {
		font-size: 16px;
	}

	.services-panel > h2 {
		margin-right: 42px;
		font-size: 31px;
	}

	.stripe-block {
		right: 18px;
		width: 48px;
	}

	.service-item,
	.deposit-card {
		grid-template-columns: 52px 1fr;
		gap: 14px;
	}

	.hero-photo {
		width: min(330px, 100%);
	}

	.field-grid.two {
		grid-template-columns: 1fr;
	}

	.choice-line {
		flex-wrap: wrap;
		gap: 10px 14px;
	}

	.choice-line span {
		flex: 0 0 100%;
	}

	.contact-bar {
		padding: 16px;
	}
}

@media (min-width: 800px) {
	body {
		display: grid;
		min-height: 100vh;
		place-items: start center;
		padding: 0;
	}

	.flyer-page {
		grid-template-columns: 428fr 426fr 426fr;
		width: min(1280px, 100vw);
		height: min(980px, 76.5625vw);
		min-height: 0;
		max-width: 1280px;
		box-shadow: 0 18px 70px rgba(0, 0, 0, 0.16);
	}

	.mission-panel,
	.services-panel,
	.lead-panel {
		min-height: 0;
		height: 100%;
		overflow: hidden;
	}

	.mission-panel {
		gap: 12px;
		padding: 32px 44px 0;
	}

	.wave-mark {
		width: 134px;
		height: 22px;
		margin-bottom: 0;
	}

	.mission-copy {
		max-width: 318px;
	}

	.mission-copy h1 {
		font-size: 22.5px;
		line-height: 1;
	}

	.mission-copy h2 {
		font-size: 19px;
		line-height: 1.04;
	}

	.mission-copy h3 {
		font-size: 19px;
		line-height: 1.04;
	}

	.mission-copy p {
		margin-top: 9px;
		font-size: 15.5px;
		line-height: 1.18;
	}

	.mini-divider {
		width: 250px;
		height: 20px;
		margin: 2px 0 0;
	}

	.dot-row {
		width: 284px;
		height: 7px;
		background-size: 15px 7px;
	}

	.lower-photo {
		width: 360px;
		margin-top: auto;
		margin-bottom: -42px;
		border-width: 15px;
	}

	.services-panel {
		padding: 28px 34px 82px;
	}

	.stripe-block {
		right: 33px;
		width: 64px;
		height: 80px;
	}

	.services-panel > h2 {
		margin: 0 70px 20px 0;
		font-size: 35px;
		line-height: 1.02;
	}

	.service-list {
		gap: 0;
	}

	.service-item {
		grid-template-columns: 50px 1fr;
		gap: 18px;
		padding: 8px 0 9px;
		border-bottom-width: 1.5px;
	}

	.icon {
		width: 36px;
		height: 36px;
	}

	.service-item h3,
	.deposit-card h3 {
		font-size: 16.5px;
		line-height: 1.12;
	}

	.service-item p,
	.deposit-card p {
		margin-top: 3px;
		font-size: 13px;
		line-height: 1.16;
	}

	.deposit-card {
		grid-template-columns: 62px 1fr;
		gap: 16px;
		margin-top: 18px;
		padding: 14px 18px;
	}

	.deposit-icon {
		width: 54px;
		height: 54px;
		font-size: 38px;
	}

	.lead-panel {
		padding: 0 28px 78px;
	}

	.lead-panel::before {
		display: none;
	}

	.hero-photo {
		position: relative;
		top: auto;
		right: auto;
		width: 360px;
		margin: -36px -24px 14px auto;
		border-width: 15px;
	}

	.lead-copy {
		max-width: 398px;
		margin-top: 0;
	}

	.lead-copy h2 {
		font-size: 20px;
		line-height: 1.02;
	}

	.lead-copy h3 {
		margin: 10px 0;
		font-size: 19px;
		line-height: 1.1;
	}

	.lead-copy p {
		font-size: 14.5px;
		line-height: 1.2;
	}

	.benefit {
		grid-template-columns: 30px 1fr;
		gap: 12px;
		margin-top: 14px;
	}

	.benefit span {
		width: 25px;
		height: 25px;
	}

	.blue-space {
		margin: 12px auto 10px;
		width: 350px;
	}

	.form-wrap {
		width: 100%;
		max-width: 420px;
	}

	.form-wrap h2 {
		font-size: 20px;
		line-height: 1.1;
	}

	.form-wrap h3 {
		margin: 5px 0 7px;
		font-size: 13px;
		line-height: 1.12;
	}

	form {
		gap: 8px;
	}

	.field-grid.two {
		gap: 8px;
	}

	input,
	button {
		min-height: 34px;
		border-radius: 6px;
		font-size: 12px;
	}

	input[type="text"],
	input[type="tel"],
	input[type="email"] {
		padding: 0 12px;
	}

	.choice-line {
		min-height: 34px;
		gap: 9px;
		padding: 5px 10px;
		font-size: 11.5px;
	}

	.choice-line input {
		width: 15px;
		min-height: 15px;
	}

	.contact-bar {
		left: 33.4375%;
		grid-template-columns: 1.1fr 1.75fr 1.25fr;
		gap: 8px;
		min-height: 58px;
		padding: 10px 18px;
		border-top-left-radius: 54px;
		font-size: 11px;
	}

	.contact-bar a {
		gap: 8px;
	}

	.contact-bar a:first-child {
		font-size: 22px;
	}

	.contact-bar span {
		width: 26px;
		height: 26px;
		font-size: 16px;
	}
}
