/* ----------------------------------------
   Hero
---------------------------------------- */
.ct-page .site-content {
	padding: 0;
}

.ct-hero {
	background: var(--th-gray-100);
	padding: 50px 0;
}

.ct-hero h1 {
	font-size: 40px;
	margin-bottom: 16px;
}

.ct-hero p {
	max-width: 640px;
	font-size: 17px;
	font-weight: 500;
	color: var(--th-navy-soft);
}

/* ----------------------------------------
   Main grid
---------------------------------------- */
.ct-main {
	background: var(--th-gray-100);
	padding: 48px 0 80px;
}

.ct-main__grid {
	display: flex;
	align-items: flex-start;
	gap: 32px;
}

/* ----------------------------------------
   Form
---------------------------------------- */
.ct-form {
	flex: 1 1 60%;
	min-width: 0;
	background: var(--th-white);
	border-radius: 20px;
	padding: 40px;
}

.ct-form h2 {
	font-size: 22px;
	margin-bottom: 8px;
}

.ct-form > p {
	font-size: 15px;
	font-weight: 500;
	color: var(--th-navy-soft);
	margin-bottom: 28px;
}

.ct-form__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	margin-bottom: 28px;
}

.ct-form__field--full {
	grid-column: 1 / -1;
}

.ct-form__field label {
	display: block;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--th-navy);
	margin-bottom: 8px;
}

.ct-form__field input,
.ct-form__field select,
.ct-form__field textarea {
	width: 100%;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 12px 14px;
	font-family: var(--th-font);
	font-size: 15px;
	color: var(--th-navy);
	background: var(--th-gray-50);
}

.ct-form__field input:focus,
.ct-form__field select:focus,
.ct-form__field textarea:focus {
	outline: none;
	border-color: var(--th-navy-soft);
}

.ct-form__field textarea {
	resize: vertical;
}

/* ----------------------------------------
   Contact cards
---------------------------------------- */
.ct-cards {
	flex: 1 1 40%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ct-card {
	background: var(--th-white);
	border-radius: 16px;
	padding: 20px 24px;
	transition: background-color 0.4s ease;
}

.ct-card[open] {
	background: var(--th-green);
}

.ct-card__summary {
	display: flex;
	align-items: center;
	gap: 16px;
	cursor: pointer;
	list-style: none;
}

.ct-card__summary::-webkit-details-marker {
	display: none;
}

.ct-card__icon {
	width: 28px;
	height: 28px;
	object-fit: contain;
	flex: 0 0 auto;
}

.ct-card[open] .ct-card__icon {
	filter: brightness(0) invert(1);
}

.ct-card__summary-text {
	flex: 1 1 auto;
	min-width: 0;
}

.ct-card__title {
	display: block;
	font-weight: 700;
	font-size: 16px;
	color: var(--th-navy);
}

.ct-card[open] .ct-card__title {
	color: var(--th-white);
}

.ct-card__desc {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--th-navy-soft);
	margin-top: 2px;
}

.ct-card[open] .ct-card__desc {
	color: rgba(255, 255, 255, 0.85);
}

.ct-card__details {
	display: grid !important;
	grid-template-rows: 0fr;
	overflow: hidden;
	transition: grid-template-rows 0.4s ease;
}

.ct-card[open] .ct-card__details {
	grid-template-rows: 1fr;
}

.ct-card__details-inner {
	min-height: 0;
	overflow: hidden;
	padding-top: 18px;
}

.ct-card__row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.ct-card__row img {
	width: 16px;
	height: 16px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	flex: 0 0 auto;
}

.ct-card__row a,
.ct-card__row strong {
	color: var(--th-white);
	font-size: 14px;
}

.ct-card__row a {
	text-decoration: underline;
}

.ct-card__office {
	margin-bottom: 16px;
}

.ct-card__office:last-child {
	margin-bottom: 0;
}

.ct-card__office p {
	margin: 0 0 0 26px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

.ct-card__link {
	display: inline-flex;
	align-items: center;
	font-weight: 700;
	font-size: 14px;
	color: var(--th-white);
	background: rgba(255, 255, 255, 0.18);
	padding: 8px 18px;
	border-radius: var(--th-radius-pill);
	text-decoration: none;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */
@media (max-width: 980px) {
	.ct-main__grid {
		flex-direction: column;
	}

	.ct-form {
		width: 100%;
	}

	.ct-cards {
		width: 100%;
	}
}

@media (max-width: 600px) {
	.ct-hero h1 {
		font-size: 30px;
	}

	.ct-form {
		padding: 28px;
	}

	.ct-form__grid {
		grid-template-columns: 1fr;
	}
}
