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

:root {
	--red: #ff2836;
	--blue: #244bd6;
	--ink: #151515;
	--muted: #5d6470;
	--line: #e3e5ea;
	--dark: #2f2f2f;
	--light: #f7f8fa;
	--white: #ffffff;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

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

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

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

.site-page {
	width: 100%;
	overflow: hidden;
	background: var(--white);
}

.section-band {
	padding: clamp(64px, 8vw, 112px) 24px;
}

.section-inner {
	width: min(1120px, 100%);
	margin: 0 auto;
}

.light-band {
	background: var(--light);
}

.dark-band {
	background:
		radial-gradient(circle at 8% 20%, rgba(255, 255, 255, 0.05) 0 140px, transparent 141px),
		radial-gradient(circle at 90% 80%, rgba(0, 0, 0, 0.12) 0 180px, transparent 181px),
		var(--dark);
	color: var(--white);
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--red);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

h1,
h2,
h3,
p {
	overflow-wrap: anywhere;
}

h1,
h2,
h3 {
	margin: 0;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.04;
}

h1 {
	max-width: 560px;
	font-size: clamp(34px, 3.2vw, 42px);
}

h2 {
	font-size: clamp(27px, 3vw, 38px);
}

h3 {
	font-size: clamp(19px, 1.6vw, 24px);
}

p {
	margin: 16px 0 0;
	font-size: clamp(16px, 1.4vw, 20px);
	font-weight: 500;
}

.hero-section {
	position: relative;
	min-height: 72vh;
	display: grid;
	align-items: center;
	padding-top: clamp(36px, 4vw, 54px);
	padding-bottom: clamp(42px, 5vw, 70px);
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0 45%, rgba(255, 255, 255, 0.72) 100%),
		var(--light);
}

.hero-grid,
.split-grid,
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
	gap: clamp(36px, 6vw, 84px);
	align-items: center;
}

.hero-copy h2 {
	margin-top: 22px;
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.12;
}

.hero-copy p {
	max-width: 690px;
}

.button-link,
button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin-top: 28px;
	padding: 14px 24px;
	border: 0;
	border-radius: 7px;
	background: var(--blue);
	color: var(--white);
	font-family: inherit;
	font-size: 14px;
	font-weight: 900;
	text-align: center;
	text-transform: uppercase;
	line-height: 1.15;
	overflow-wrap: anywhere;
	cursor: pointer;
	transition: background 160ms ease, transform 160ms ease;
}

.button-link:hover,
.button-link:focus-visible,
button:hover,
button:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible {
	background: #193bbb;
	transform: translateY(-1px);
}

.photo-frame {
	margin: 0;
	border-radius: 8px;
	overflow: hidden;
	background: #ddd;
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.16);
}

.photo-frame img {
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
}

.hero-photo {
	width: min(520px, 100%);
	aspect-ratio: 1 / 1;
	border: 18px solid var(--red);
	border-radius: 50%;
	box-shadow: none;
}

.hero-photo img {
	object-fit: contain;
	background: var(--white);
	transform: scale(0.82);
	transform-origin: center;
}

.benefit {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	max-width: 690px;
	margin-top: 22px;
}

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

.benefit p {
	margin: 0;
}

.mission-section h3 {
	margin-top: 30px;
	color: var(--red);
}

.accent-line {
	width: 110px;
	height: 5px;
	margin-top: 28px;
	background: var(--red);
}

.centered-copy {
	max-width: 850px;
	text-align: center;
}

.turned-section {
	background: var(--white);
}

.turned-section h3 {
	margin-top: 14px;
	color: var(--red);
}

.section-heading {
	max-width: 760px;
	margin-bottom: clamp(32px, 5vw, 56px);
}

.section-heading h2 {
	color: var(--red);
}

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

.service-card,
.process-item {
	min-width: 0;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--white);
	box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.service-card h3,
.process-item h3 {
	margin-top: 18px;
	font-size: 22px;
}

.service-card p,
.process-item p {
	font-size: 16px;
}

.icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 8px;
	background: rgba(255, 40, 54, 0.12);
	color: var(--red);
	font-size: 28px;
	font-weight: 900;
}

.house::before { content: "\2302"; }
.handshake::before { content: "\25C6"; }
.tools::before { content: "\2692"; }
.truck::before { content: "\25AA"; }
.porch::before { content: "\25AC"; }
.clipboard::before { content: "\25A3"; }

.process-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.process-item {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	align-items: start;
	border-top: 5px solid var(--red);
}

.process-item span {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--red);
	color: var(--white);
	font-size: 24px;
	font-weight: 900;
}

.process-item h3 {
	margin-top: 0;
	font-size: 20px;
}

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

.home-card {
	margin: 0;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
	background: #ddd;
}

.home-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.deposit-layout {
	display: grid;
	grid-template-columns: 108px minmax(0, 1fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
	max-width: 860px;
	padding: clamp(30px, 5vw, 54px);
	border: 2px dashed var(--red);
	border-radius: 8px;
	background: #fffdfd;
}

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

.contact-grid {
	align-items: start;
}

.contact-section h3 {
	margin-top: 12px;
	font-size: 22px;
}

.contact-links {
	display: grid;
	gap: 14px;
	margin-top: 34px;
	font-weight: 800;
}

.contact-links a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
}

.contact-links span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--white);
	color: var(--red);
}

.form-wrap {
	min-width: 0;
	padding: clamp(22px, 4vw, 34px);
	border-radius: 8px;
	background: var(--white);
	color: var(--ink);
	box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

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

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

.wpcf7 form {
	display: grid;
	gap: 12px;
}

.wpcf7-form p {
	margin: 0;
}

.wpcf7-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
	min-width: 0;
}

.wpcf7-form br {
	display: none;
}

.wpcf7-not-valid-tip {
	margin-top: 5px;
	font-size: 12px;
	font-weight: 700;
}

.wpcf7-response-output {
	margin: 14px 0 0 !important;
	padding: 10px 12px !important;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 800;
}

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

input,
button,
input[type="submit"] {
	width: 100%;
	font-family: inherit;
}

input[type="text"],
input[type="tel"],
input[type="email"],
.wpcf7 .src-input {
	min-height: 48px;
	padding: 0 16px;
	border: 1.5px solid #afbad0;
	border-radius: 7px;
	background: #fafafa;
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
}

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

.choice-line > span:first-child {
	flex: 1 1 auto;
	min-width: 0;
}

.choice-line .wpcf7-form-control-wrap {
	width: auto;
	flex: 0 0 auto;
}

.choice-line .wpcf7-radio {
	display: inline-flex;
	gap: 14px;
	flex: 0 0 auto;
	align-items: center;
}

.choice-line .wpcf7-list-item {
	margin: 0;
}

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

.choice-line .wpcf7-list-item-label {
	display: inline-block;
}

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

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

.choice-line input[type="radio"] {
	flex: 0 0 auto;
}

button {
	margin-top: 0;
}

input[type="submit"] {
	margin-top: 0;
}

@media (max-width: 920px) {
	.section-band {
		padding: 56px 20px;
	}

	.section-inner {
		width: 100%;
		max-width: 100%;
	}

	.hero-section {
		min-height: auto;
	}

	.hero-grid,
	.split-grid,
	.contact-grid,
	.deposit-layout {
		grid-template-columns: 1fr;
	}

	.hero-grid {
		gap: 36px;
	}

	.hero-copy,
	.centered-copy,
	.section-heading {
		width: min(100%, 350px);
		max-width: 350px;
		margin-right: 0;
		margin-left: 0;
		text-align: left;
	}

	.card-grid,
	.homes-grid {
		grid-template-columns: 1fr;
		width: min(100%, 350px);
		max-width: 350px;
	}

	.photo-frame img {
		min-height: 280px;
	}

	.hero-photo {
		width: min(380px, 100%);
		margin: 0;
		border-width: 14px;
	}

	.process-item {
		grid-template-columns: 54px minmax(0, 1fr);
		gap: 16px;
	}

	.deposit-layout {
		width: min(100%, 350px);
		max-width: 350px;
		padding: 26px;
	}

	.photo-frame:not(.hero-photo),
	.process-list,
	.contact-links,
	.form-wrap {
		width: min(100%, 350px);
		max-width: 350px;
	}

	.process-list {
		grid-template-columns: 1fr;
	}

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

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

	.choice-line .choice-label {
		flex-basis: 100%;
	}

	.choice-line label {
		white-space: normal;
	}
}

@media (max-width: 520px) {
	.section-band {
		padding: 46px 16px;
	}

	h1 {
		font-size: 39px;
	}

	h2 {
		font-size: 30px;
	}

	.hero-copy h2,
	h3 {
		font-size: 21px;
	}

	p {
		font-size: 15px;
	}

	.button-link,
	button,
	input[type="submit"] {
		width: 100%;
		min-height: 48px;
		padding-right: 16px;
		padding-left: 16px;
		white-space: normal;
	}

	.hero-copy h2 {
		font-size: 20px;
	}

	.service-card h3,
	.process-item h3 {
		font-size: 20px;
	}

	.benefit {
		grid-template-columns: 30px minmax(0, 1fr);
	}

	.service-card,
	.process-item {
		padding: 22px;
	}

	.process-item {
		grid-template-columns: 1fr;
	}

	.home-card {
		aspect-ratio: 1 / 1;
	}

	.deposit-layout {
		padding: 22px;
	}

	.deposit-icon {
		width: 76px;
		height: 76px;
		font-size: 46px;
	}

	.form-wrap {
		padding: 20px;
	}

	.contact-links a {
		width: 100%;
		overflow-wrap: anywhere;
	}
}
