/*
	HERSHE English Consultation Page
	Scoped with the hc- prefix to reduce conflicts with the existing website CSS.
	Brand palette based on HERSHE's existing website:
	Primary purple: #471b56
	Soft lavender: #eee8f2
	Light gray: #f6f6f6
	Border gray: #e6e4e3
*/

:root {
	--hc-purple: #471b56;
	--hc-purple-dark: #35113f;
	--hc-purple-soft: #eee8f2;
	--hc-ink: #252525;
	--hc-body: #5c5c5c;
	--hc-gray: #f6f6f6;
	--hc-line: #e6e4e3;
	--hc-white: #ffffff;
	--hc-danger: #a92838;
	--hc-cardo: "Cardo", Georgia, "Times New Roman", serif;
	--hc-aptos: "Aptos", "Segoe UI", Arial, sans-serif;
	--hc-shadow: 0 24px 70px rgba(53, 17, 63, 0.09);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--hc-white);
	color: var(--hc-ink);
	font-family: var(--hc-aptos);
	-webkit-font-smoothing: antialiased;
}

.hc-page {
	width: 100%;
	overflow: hidden;
}

.hc-hero {
	position: relative;
	min-height: 620px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 160px 30px 130px;
	background:
		radial-gradient(circle at 15% 22%, rgba(71, 27, 86, 0.11), transparent 27%),
		radial-gradient(circle at 85% 78%, rgba(108, 86, 115, 0.12), transparent 28%),
		linear-gradient(145deg, var(--hc-purple-soft) 0%, #fafafa 54%, #f0edf1 100%);
	text-align: center;
}

.hc-hero::before,
.hc-hero::after {
	content: "";
	position: absolute;
	width: 380px;
	height: 380px;
	border: 1px solid rgba(71, 27, 86, 0.16);
	border-radius: 50%;
}

.hc-hero::before {
	top: -210px;
	left: -185px;
}

.hc-hero::after {
	right: -230px;
	bottom: -205px;
}

.hc-hero-inner {
	position: relative;
	z-index: 1;
	width: min(900px, 100%);
}

.hc-kicker,
.hc-section-label {
	margin: 0 0 17px;
	color: var(--hc-purple);
	font-family: var(--hc-aptos);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.19em;
	line-height: 1.3;
}

.hc-hero h1 {
	margin: 0;
	font-family: var(--hc-cardo);
	font-size: clamp(54px, 7.4vw, 96px);
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 0.99;
}

.hc-hero-copy {
	max-width: 680px;
	margin: 28px auto 0;
	color: var(--hc-body);
	font-size: 17px;
	line-height: 1.8;
}

.hc-benefits {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 18px 34px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.hc-benefits li {
	font-size: 13px;
	font-weight: 700;
}

.hc-benefits li::before {
	content: "✓";
	margin-right: 9px;
	color: var(--hc-purple);
}

.hc-form-section {
	width: min(1180px, calc(100% - 40px));
	margin: -62px auto 105px;
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	background: var(--hc-white);
	box-shadow: var(--hc-shadow);
}

.hc-form-intro {
	padding: 60px 43px;
	background: var(--hc-purple);
	color: var(--hc-white);
}

.hc-form-intro .hc-section-label {
	color: #d9c9df;
}

.hc-form-intro h2,
.hc-direct-section h2,
.hc-success h2 {
	margin: 0;
	font-family: var(--hc-cardo);
	font-weight: 400;
}

.hc-form-intro h2 {
	font-size: 38px;
	line-height: 1.18;
}

.hc-form-intro-copy {
	margin: 25px 0 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: 14px;
	line-height: 1.75;
}

.hc-hours {
	margin: 32px 0 0;
	padding-top: 25px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	line-height: 1.7;
}

.hc-hours strong,
.hc-hours span {
	display: block;
}

.hc-hours strong {
	margin-bottom: 7px;
	color: var(--hc-white);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hc-form-card {
	padding: 20px clamp(30px, 5vw, 72px) 70px;
}

.hc-fieldset {
	margin: 0;
	padding: 46px 0;
	border: 0;
	border-bottom: 1px solid var(--hc-line);
}

.hc-fieldset legend {
	margin: 0 0 25px;
	padding: 0;
	font-family: var(--hc-cardo);
	font-size: 28px;
	font-weight: 700;
}

.hc-consent-fieldset {
	padding-top: 45px;
}

.hc-consent-box {
	display: flex;
	gap: 15px;
	align-items: flex-start;
	margin: 0;
	padding: 21px;
	background: var(--hc-purple-soft);
	border: 1px solid transparent;
	cursor: pointer;
}

.hc-consent-box:focus-within {
	border-color: var(--hc-purple);
}

.hc-consent-box input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--hc-purple);
}

.hc-consent-box strong,
.hc-consent-box small {
	display: block;
}

.hc-consent-box strong {
	color: var(--hc-ink);
	font-size: 14px;
	line-height: 1.5;
}

.hc-consent-box small {
	margin-top: 7px;
	color: var(--hc-body);
	font-size: 12px;
	line-height: 1.6;
}

.hc-privacy-details {
	margin-top: 13px;
	font-size: 12px;
}

.hc-privacy-details summary {
	width: fit-content;
	color: var(--hc-purple);
	font-weight: 700;
	cursor: pointer;
}

.hc-privacy-details div {
	margin-top: 12px;
	padding: 17px 20px;
	background: var(--hc-gray);
	color: var(--hc-body);
	line-height: 1.65;
}

.hc-privacy-details p {
	margin: 0 0 7px;
}

.hc-privacy-details p:last-child {
	margin-bottom: 0;
}

.hc-grid {
	display: grid;
	gap: 22px;
}

.hc-grid-two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hc-phone-grid {
	grid-template-columns: minmax(180px, 0.75fr) minmax(260px, 1.6fr);
}

.hc-field + .hc-field,
.hc-grid + .hc-field {
	margin-top: 25px;
}

.hc-grid-cell {
	min-width: 0;
	align-self: start;
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.hc-grid-cell > .hc-field {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.hc-grid-cell > .hc-field > label:first-child {
	margin-top: 0 !important;
}

.hc-country-code-control {
	position: relative;
}

.hc-country-code-control input {
	padding-right: 44px;
}

.hc-country-code-control::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 7px;
	height: 7px;
	border-right: 2px solid var(--hc-purple);
	border-bottom: 2px solid var(--hc-purple);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.hc-field label,
.hc-field-label,
.hc-subfield > span {
	display: block;
	margin-bottom: 9px;
	color: var(--hc-ink);
	font-size: 13px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.4;
}

.hc-field label span,
.hc-field-label b,
.hc-subfield b {
	color: var(--hc-purple);
}

.hc-subfield em {
	margin-left: 5px;
	color: #8b858e;
	font-size: 10px;
	font-style: normal;
	font-weight: 400;
}

.hc-field input,
.hc-field select,
.hc-field textarea,
.hc-subfield input,
.hc-subfield select {
	width: 100%;
	min-height: 52px;
	padding: 14px 15px;
	border: 1px solid #d7d2d8;
	border-radius: 0;
	outline: none;
	background: var(--hc-white);
	color: var(--hc-ink);
	font-family: var(--hc-aptos);
	font-size: 15px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.hc-field textarea {
	min-height: 150px;
	resize: vertical;
	line-height: 1.65;
}

.hc-field input:focus,
.hc-field select:focus,
.hc-field textarea:focus,
.hc-subfield input:focus,
.hc-subfield select:focus {
	border-color: var(--hc-purple);
	box-shadow: 0 0 0 3px rgba(71, 27, 86, 0.1);
}

.hc-birth-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.35fr 0.8fr;
	gap: 14px;
}

.hc-contact-methods {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
}

.hc-language-methods {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hc-contact-methods label {
	margin: 0;
	cursor: pointer;
}

.hc-contact-methods input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.hc-contact-methods span {
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	border: 1px solid #d7d2d8;
	color: var(--hc-body);
	font-size: 13px;
	font-weight: 700;
	transition: 0.18s ease;
}

.hc-contact-methods input:checked + span {
	border-color: var(--hc-purple);
	background: var(--hc-purple);
	color: var(--hc-white);
}

.hc-contact-methods input:focus-visible + span {
	outline: 3px solid rgba(71, 27, 86, 0.2);
	outline-offset: 2px;
}

.hc-help-text,
.hc-server-note {
	margin: 10px 0 0;
	color: #7a747d;
	font-size: 11px;
	line-height: 1.55;
}

.hc-help-before {
	margin: -3px 0 11px;
}

.hc-server-note {
	color: var(--hc-purple);
}

.hc-multi-select {
	position: relative;
	border: 1px solid #d7d2d8;
	background: var(--hc-white);
}

.hc-multi-select[open] {
	border-color: var(--hc-purple);
	box-shadow: 0 0 0 3px rgba(71, 27, 86, 0.08);
}

.hc-multi-select summary {
	min-height: 52px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 16px;
	color: var(--hc-body);
	font-size: 14px;
	cursor: pointer;
	list-style: none;
}

.hc-multi-select summary::-webkit-details-marker {
	display: none;
}

.hc-multi-select summary::after {
	content: "+";
	flex: 0 0 auto;
	color: var(--hc-purple);
	font-family: var(--hc-aptos);
	font-size: 23px;
	font-weight: 400;
	line-height: 1;
}

.hc-multi-select[open] summary::after {
	content: "−";
}

.hc-multi-select-label {
	min-width: 0;
	flex: 1 1 auto;
	overflow: hidden;
	padding-right: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hc-multi-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	padding: 8px 18px 18px;
	border-top: 1px solid var(--hc-line);
}

.hc-option-group {
	padding: 20px 14px 10px;
}

.hc-option-group p {
	margin: 0 0 13px;
	color: var(--hc-purple);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hc-option-group label {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	margin: 0 0 11px;
	color: var(--hc-ink);
	font-size: 13px;
	font-weight: 400;
	cursor: pointer;
}

.hc-option-group input {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	min-height: auto;
	margin: 0;
	padding: 0;
	accent-color: var(--hc-purple);
}

.hc-option-group-full {
	grid-column: 1 / -1;
	padding-top: 15px;
	border-top: 1px solid var(--hc-line);
}

.hc-recommendation-option {
	padding-bottom: 0;
}

.hc-submit-area {
	padding-top: 42px;
	text-align: center;
}

.hc-submit-area > p {
	margin: 0 0 18px;
	color: var(--hc-body);
	font-size: 13px;
	line-height: 1.6;
}

.hc-book-button {
	width: 100%;
	min-height: 58px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 13px 24px;
	border: 1px solid var(--hc-purple);
	background: var(--hc-purple);
	color: var(--hc-white);
	font-family: var(--hc-aptos);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.18s ease, transform 0.18s ease;
}

.hc-book-button:hover {
	background: var(--hc-purple-dark);
	transform: translateY(-1px);
}

.hc-book-button:focus-visible {
	outline: 3px solid rgba(71, 27, 86, 0.25);
	outline-offset: 3px;
}

.hc-submit-area small {
	display: block;
	margin-top: 12px;
	color: #817b84;
	font-size: 11px;
	line-height: 1.5;
}

.hc-success {
	padding: 58px 48px 48px;
	text-align: center;
}

.hc-success-dialog {
	width: min(570px, calc(100% - 40px));
	max-width: none;
	padding: 0;
	border: 0;
	background: var(--hc-white);
	box-shadow: 0 28px 90px rgba(26, 10, 31, 0.28);
}

.hc-success-dialog::backdrop {
	background: rgba(25, 18, 27, 0.58);
}

.hc-success-dialog:not([open]) {
	display: none;
}

.hc-success-icon {
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	margin: 0 auto 22px;
	border-radius: 50%;
	background: var(--hc-purple-soft);
	color: var(--hc-purple);
	font-size: 24px;
}

.hc-success h2 {
	font-size: 38px;
}

.hc-success > p:not(.hc-section-label) {
	margin: 14px 0 0;
	color: var(--hc-body);
	font-size: 14px;
	line-height: 1.7;
}

.hc-success > p + p:not(.hc-section-label) {
	margin-top: 9px;
}

.hc-success form {
	margin-top: 28px;
}

.hc-dialog-close {
	min-width: 150px;
	min-height: 50px;
	padding: 12px 28px;
	border: 1px solid var(--hc-purple);
	background: var(--hc-purple);
	color: var(--hc-white);
	font-family: var(--hc-aptos);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.18s ease;
}

.hc-dialog-close:hover {
	background: var(--hc-purple-dark);
}

.hc-dialog-close:focus-visible {
	outline: 3px solid rgba(71, 27, 86, 0.25);
	outline-offset: 3px;
}

.hc-direct-section {
	width: min(1080px, calc(100% - 40px));
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
	gap: 65px;
	align-items: center;
	margin: 0 auto 110px;
	padding: 52px;
	background: var(--hc-gray);
}

.hc-direct-section h2 {
	font-size: 39px;
}

.hc-direct-section > div:first-child > p:last-child {
	margin: 15px 0 0;
	color: var(--hc-body);
	font-size: 13px;
	line-height: 1.65;
}

.hc-direct-actions {
	display: grid;
	gap: 12px;
}

.hc-direct-button {
	min-height: 55px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 14px 20px;
	border: 1px solid var(--hc-purple);
	color: var(--hc-purple);
	font-family: var(--hc-aptos);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease;
}

.hc-direct-button:hover {
	background: var(--hc-purple);
	color: var(--hc-white);
}

.hc-direct-whatsapp {
	background: var(--hc-white);
}

.hc-direct-email {
	border-color: #beb7c1;
}

@media (min-width: 641px) {
	.hc-grid.hc-grid-two,
	.hc-grid.hc-phone-grid {
		align-items: start;
	}
}

@media (max-width: 900px) {
	.hc-form-section {
		grid-template-columns: 1fr;
	}

	.hc-form-intro {
		padding: 42px;
	}

	.hc-form-intro h2 {
		max-width: 600px;
	}

	.hc-direct-section {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

@media (max-width: 640px) {
	.hc-hero {
		min-height: 490px;
		padding: 82px 22px 95px;
	}

	.hc-hero h1 {
		font-size: 51px;
		line-height: 1.02;
	}

	.hc-hero-copy {
		font-size: 15px;
	}

	.hc-benefits {
		flex-direction: column;
		gap: 9px;
	}

	.hc-form-section {
		width: 100%;
		margin-top: 0;
		margin-bottom: 72px;
		box-shadow: none;
	}

	.hc-form-intro {
		padding: 40px 22px;
	}

	.hc-form-intro h2 {
		font-size: 33px;
	}

	.hc-form-card {
		padding: 6px 20px 48px;
	}

	.hc-fieldset {
		padding: 39px 0;
	}

	.hc-fieldset legend {
		font-size: 25px;
	}

	.hc-grid-two,
	.hc-phone-grid,
	.hc-birth-grid {
		grid-template-columns: 1fr;
	}

	.hc-grid {
		gap: 19px;
	}

	.hc-contact-methods {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hc-multi-options {
		grid-template-columns: 1fr;
	}

	.hc-option-group-full {
		grid-column: auto;
	}

	.hc-direct-section {
		width: calc(100% - 30px);
		margin-bottom: 72px;
		padding: 35px 22px;
	}

	.hc-direct-section h2 {
		font-size: 34px;
	}
}
