/*
 * Contact Us page. Loaded only on /contact-us/ and scoped to the .ct-* classes.
 * Reuses the global tokens from main.css (navy, gold, Playfair Display, Inter).
 */

.ct-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.ct-wrap {
	max-width: 1450px;
	margin-inline: auto;
	padding-inline: clamp(1.1rem, 3.4vw, 3.25rem);
}

.ct-gold { color: #b88635; background: linear-gradient(100deg, #a8782e 0%, #d5ac62 45%, #b88635 75%, #9c6a23 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.ct-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin: 0 0 1.1rem;
	color: #b88635;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.ct-eyebrow::before { content: ""; width: 2rem; height: 1.5px; background: currentColor; }

.ct-eyebrow--light { color: #d5ac62; }
.ct-eyebrow--light::after { content: ""; width: 2rem; height: 1.5px; background: currentColor; }

/* Hero -------------------------------------------------------------------- */
.ct-hero {
	position: relative;
	overflow: clip;
	color: #fff;
	background: linear-gradient(100deg, #061a35 0%, #07224a 55%, #0c2d63 100%);
}

.ct-hero__stage { position: relative; display: flex; min-height: clamp(330px, 25vw, 370px); }

.ct-hero__copy {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 50%;
	padding: clamp(1.4rem, 2.2vw, 2.1rem) 1rem clamp(1.4rem, 2.2vw, 2.1rem) clamp(1.25rem, 5.8vw, 5.4rem);
}

.ct-hero h1 {
	margin: 0 0 1.1rem;
	font-family: "Playfair Display", var(--sb-serif);
	font-size: clamp(2.2rem, 3.6vw, 3.4rem);
	font-weight: 600;
	line-height: 1.08;
	color: #fff;
	text-wrap: initial;
}

.ct-hero__line { display: block; }

.ct-hero__lead { max-width: min(34rem, 36vw); margin: 0 0 1.25rem; color: rgba(255, 255, 255, 0.92); font-size: clamp(0.95rem, 1.05vw, 1.03rem); line-height: 1.6; }

.ct-hero__points { display: flex; flex-wrap: wrap; gap: 0.9rem clamp(1.2rem, 2.4vw, 2.4rem); margin: 0; padding: 0; list-style: none; }
.ct-hero__points li { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; font-weight: 500; line-height: 1.3; }

.ct-hero__point-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 3.1rem;
	height: 3.1rem;
	border: 1.5px solid #c9a352;
	border-radius: 50%;
	color: #d5ac62;
}

.ct-hero__point-icon .icon { width: 1.35rem; height: 1.35rem; stroke-width: 1.4; }

.ct-hero__visual { position: absolute; top: 0; bottom: 0; left: 42%; right: 0; z-index: 1; }

.ct-hero__photo { position: absolute; inset: 0; overflow: hidden; clip-path: url(#ct-hero-clip); }
.ct-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }

.ct-hero__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(6, 26, 53, 0.45) 0%, rgba(6, 26, 53, 0) 38%), linear-gradient(to top, rgba(6, 26, 53, 0.25), rgba(6, 26, 53, 0) 40%);
	pointer-events: none;
}

.ct-ribbons { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ct-ribbons--m { display: none; }
.ct-rb { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.ct-rb--band { stroke: #1b4a96; stroke-opacity: 0.55; stroke-width: 36px; }
.ct-rb--gold { stroke: url(#ct-gold-fade); stroke-width: 1.6px; }
.ct-rb--goldm { stroke: #d5ac62; stroke-width: 1.5px; }

.ct-glass {
	position: absolute;
	top: 11%;
	right: clamp(1rem, 3.4vw, 3.25rem);
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 0.85rem 1.3rem 0.85rem 1.05rem;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.72);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 16px 34px -16px rgba(7, 27, 64, 0.55);
	color: #071b40;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.35;
}

.ct-glass__icon { display: grid; place-items: center; width: 2rem; height: 2rem; color: #b88635; }
.ct-glass__icon .icon { width: 1.8rem; height: 1.8rem; stroke-width: 2; }

/* Main: form + information ------------------------------------------------ */
.ct-main { padding-block: clamp(1.6rem, 2.6vw, 2.4rem) clamp(1.6rem, 2.4vw, 2.2rem); background: linear-gradient(180deg, #f6faff 0%, #fff 100%); }

.ct-main__grid { display: grid; grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); gap: clamp(1.1rem, 2vw, 1.9rem); align-items: start; }

.ct-card { background: #fff; border: 1px solid rgba(34, 84, 170, 0.07); border-radius: 14px; box-shadow: 0 18px 44px -26px rgba(34, 84, 170, 0.35), 0 2px 8px -2px rgba(34, 84, 170, 0.07); }

.ct-form-card { padding: clamp(1.4rem, 2.6vw, 2.5rem); }
.ct-side { display: grid; gap: clamp(1.1rem, 2vw, 1.9rem); min-width: 0; }

.ct-rule { display: block; width: 2.1rem; height: 2px; margin-bottom: 1.4rem; background: #b88635; }
.ct-h2 { margin: 0 0 0.45rem; font-family: "Playfair Display", var(--sb-serif); font-size: clamp(1.6rem, 2.1vw, 2rem); font-weight: 600; line-height: 1.15; color: #071b40; text-wrap: initial; }
.ct-sub { margin: 0 0 1.5rem; color: #536581; font-size: 0.95rem; line-height: 1.55; }

/* Form */
.ct-form-card .field { margin-bottom: 1.1rem; }
.ct-form-card .field label { margin-bottom: 0.42rem; color: #071b40; font-size: 0.86rem; font-weight: 500; }
.ct-req { color: #c0392b; }
.ct-form-card .field__opt { color: #71819a; }

.ct-form-card .field input[type="text"],
.ct-form-card .field input[type="email"],
.ct-form-card .field input[type="tel"],
.ct-form-card .field select,
.ct-form-card .field textarea {
	height: 50px;
	min-height: 50px;
	padding: 0 0.95rem;
	border: 1px solid #d5e1f2;
	border-radius: 5px;
	background: #fff;
	color: #071b40;
	font-size: 0.95rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ct-form-card .field textarea { height: auto; min-height: 7.2rem; padding: 0.8rem 0.95rem; }
.ct-form-card ::placeholder { color: #9aa8bd; opacity: 1; }

.ct-form-card .field input:focus,
.ct-form-card .field select:focus,
.ct-form-card .field textarea:focus { outline: none; border-color: #b88635; box-shadow: 0 0 0 3px rgba(184, 134, 53, 0.22); }

.ct-form-card .field input:user-invalid,
.ct-form-card .field select:user-invalid,
.ct-form-card .field textarea:user-invalid { border-color: #c0392b; }

.ct-form-card .field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%23536581' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 0.95rem center; }

.phone { display: flex; }
.ct-form-card .phone .phone__cc { flex: 0 0 auto; width: 8.1rem; padding-right: 1.8rem; border-right: 0; border-radius: 5px 0 0 5px; background-color: #f6faff; background-position: right 0.6rem center; font-size: 0.85rem; text-overflow: ellipsis; }
.ct-form-card .phone .phone__num { flex: 1 1 auto; min-width: 0; border-radius: 0 5px 5px 0; }

.ct-form-card .field--check { margin: 0.4rem 0 1.25rem; }
.ct-form-card .field--check label { margin: 0; color: #536581; font-size: 0.88rem; font-weight: 400; }
.ct-form-card .field--check input { accent-color: #071b40; }

.ct-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	width: 100%;
	min-height: 52px;
	padding: 0 1.5rem;
	border: 0;
	border-radius: 6px;
	background: linear-gradient(135deg, #b3822f 0%, #9c6a23 52%, #8a5b1c 100%);
	box-shadow: 0 14px 26px -14px rgba(156, 106, 35, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	color: #fff;
	font: 600 0.98rem/1 var(--sb-sans);
	cursor: pointer;
	transition: background 0.25s ease, transform 0.2s ease, opacity 0.2s ease;
}

.ct-submit:hover { background: linear-gradient(135deg, #a07127 0%, #865a1c 52%, #75500f 100%); transform: translateY(-1px); }
.ct-submit:focus-visible { outline: 3px solid #071b40; outline-offset: 3px; }
.ct-submit .icon { width: 1.1rem; height: 1.1rem; }
.ct-submit[disabled] { opacity: 0.7; cursor: progress; transform: none; }

/* Submit + WhatsApp buttons side by side, stacked on phones. */
.ct-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.ct-wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 52px;
	padding: 0 1.2rem;
	border: 1.5px solid #071b40;
	border-radius: 6px;
	background: #fff;
	color: #071b40;
	font: 600 0.98rem/1 var(--sb-sans);
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.ct-wa .icon { width: 1.2rem; height: 1.2rem; color: #1f9d55; }
.ct-wa:hover { background: #071b40; color: #fff; }
.ct-wa:hover .icon { color: #7fe3a8; }
.ct-wa:focus-visible { outline: 3px solid #b88635; outline-offset: 3px; }
.form__privacy a { color: #8a6422; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 559px) { .ct-actions { grid-template-columns: minmax(0, 1fr); } }

/* Contact information */
.ct-info { padding: clamp(1.4rem, 2.4vw, 2.2rem); background: linear-gradient(180deg, #f1f7ff 0%, #f6faff 100%); }

.ct-rows { margin: 0; padding: 0; list-style: none; }
.ct-rows li { display: flex; align-items: flex-start; gap: 1rem; padding: 0.85rem 0; }

.ct-ico { display: grid; place-items: center; flex: none; width: 3.4rem; height: 3.4rem; border-radius: 50%; }
.ct-ico .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.6; }
.ct-ico--gold { background: #f7ecd6; color: #b88635; }
.ct-ico--green { background: #dff5e8; color: #1f9d55; }
.ct-ico--blue { background: #e4eefe; color: #2e6bd8; }
.ct-ico--purple { background: #ece8fd; color: #6a4fd3; }
.ct-ico--sq { width: 3.3rem; height: 3.3rem; border-radius: 12px; }

.ct-row__label { margin: 0 0 0.1rem; color: #071b40; font-size: 0.98rem; font-weight: 600; }
.ct-row__value,
.ct-row__text { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; color: #071b40; font-size: 1.05rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.ct-row__text { display: block; font-weight: 500; font-size: 1rem; line-height: 1.5; }
.ct-row__value:hover { color: #9c6a23; }
.ct-row__value .icon { width: 1rem; height: 1rem; }
.ct-row__note { margin: 0.15rem 0 0; color: #536581; font-size: 0.88rem; }
.ct-row__link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.3rem; color: #071b40; font-size: 0.85rem; font-weight: 500; text-decoration: none; }
.ct-row__link .icon { width: 0.9rem; height: 0.9rem; transition: transform 0.2s ease; }
.ct-row__link:hover .icon { transform: translateX(3px); }
.ct-row__link:hover { color: #9c6a23; }

/* Map */
.ct-map { padding: 1rem 1.1rem 1.1rem; background: linear-gradient(180deg, #f1f7ff 0%, #f6faff 100%); }
.ct-map__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; }
.ct-map__title { display: flex; align-items: center; gap: 0.7rem; margin: 0; font-family: var(--sb-sans); font-size: 0.98rem; font-weight: 600; letter-spacing: 0; color: #071b40; }
.ct-map__pin { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #f7ecd6; color: #b88635; }
.ct-map__pin .icon { width: 1rem; height: 1rem; }
.ct-map .ct-row__link { margin-top: 0; font-size: 0.8rem; }
.ct-map__frame { height: clamp(11rem, 12vw, 12.5rem); overflow: hidden; border-radius: 10px; background: #dfe9f6; }
.ct-map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.ct-map__note { margin: 0.6rem 0 0; color: #71819a; font-size: 0.8rem; }

/* Why contact us ----------------------------------------------------------- */
.ct-why { padding-block: clamp(2rem, 3.4vw, 3.2rem) clamp(1.8rem, 3vw, 2.6rem); background: #fff; }
.ct-why__head { display: flex; flex-direction: column; align-items: center; margin-bottom: 1.7rem; text-align: center; }
.ct-why__head .ct-eyebrow { margin-bottom: 0.7rem; }
.ct-why__head .ct-eyebrow::after { content: ""; width: 2rem; height: 1.5px; background: currentColor; }
.ct-why__title { margin: 0; font-family: "Playfair Display", var(--sb-serif); font-size: clamp(1.7rem, 2.7vw, 2.45rem); font-weight: 600; line-height: 1.15; color: #071b40; text-wrap: initial; }

.ct-why__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(0.7rem, 1.2vw, 1.1rem); margin: 0; padding: 0; list-style: none; }

.ct-why__card { display: flex; align-items: center; gap: 0.85rem; padding: 1.1rem 1rem; border: 1px solid rgba(34, 84, 170, 0.06); border-radius: 12px; background: #fff; box-shadow: 0 12px 32px -22px rgba(34, 84, 170, 0.4); }
.ct-why__card > div { min-width: 0; }
.ct-why__card h3 { margin: 0 0 0.25rem; color: #071b40; font-size: 0.93rem; font-weight: 600; line-height: 1.25; }
.ct-why__card p { margin: 0; color: #71819a; font-size: 0.78rem; line-height: 1.4; }

.ct-extra { padding-block: 2rem; }

/* Bottom CTA --------------------------------------------------------------- */
.ct-cta-wrap { padding-block: 0.4rem clamp(2rem, 3.4vw, 3rem); background: #fff; }

.ct-cta {
	position: relative;
	display: flex;
	min-height: clamp(190px, 15vw, 225px);
	border-radius: 14px;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(100deg, #061a35 0%, #07224a 60%, #0c2d63 100%);
	box-shadow: 0 26px 50px -30px rgba(7, 27, 64, 0.6);
}

.ct-cta__copy { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: 50%; padding: clamp(1.4rem, 2.4vw, 2.2rem) 1rem clamp(1.4rem, 2.4vw, 2.2rem) clamp(1.4rem, 3.4vw, 3.2rem); }
.ct-cta__copy .ct-eyebrow { margin-bottom: 0.7rem; }
.ct-cta h2 { margin: 0 0 0.6rem; font-family: "Playfair Display", var(--sb-serif); font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 600; line-height: 1.1; color: #fff; text-wrap: initial; }
.ct-cta__copy p:not(.ct-eyebrow) { max-width: min(30rem, 34vw); margin: 0 0 1.2rem; color: rgba(255, 255, 255, 0.92); font-size: 0.95rem; line-height: 1.55; }

.ct-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	height: 3.1rem;
	padding: 0 1.6rem;
	border-radius: 6px;
	background: linear-gradient(135deg, #c99a42 0%, #b88635 55%, #9c6a23 100%);
	box-shadow: 0 12px 24px -12px rgba(184, 134, 53, 0.85);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ct-cta__btn:hover { transform: translateY(-2px); }
.ct-cta__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ct-cta__btn .icon { width: 1.05rem; height: 1.05rem; }

.ct-cta__visual { position: absolute; top: 0; bottom: 0; left: 44%; right: 0; z-index: 1; }
.ct-cta__photo { position: absolute; inset: 0; overflow: hidden; clip-path: url(#ct-cta-clip); }
.ct-cta__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.ct-cta__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 26, 53, 0.5) 0%, rgba(6, 26, 53, 0) 40%); }

.ct-cta__glass {
	position: absolute;
	right: clamp(0.9rem, 2vw, 1.6rem);
	bottom: clamp(0.9rem, 1.8vw, 1.4rem);
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.8rem 1.2rem 0.8rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 12px;
	background: rgba(7, 27, 64, 0.72);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 500;
	line-height: 1.35;
}

.ct-cta__glass-icon { color: #d5ac62; }
.ct-cta__glass-icon .icon { width: 1.9rem; height: 1.9rem; stroke-width: 1.4; }

/* Entrance animation (off under prefers-reduced-motion via the global rule in main.css) */
@keyframes ct-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ct-hero__copy > * { animation: ct-rise 0.6s ease both; }
.ct-hero h1 { animation-delay: 0.06s; }
.ct-hero__lead { animation-delay: 0.12s; }
.ct-hero__points { animation-delay: 0.18s; }
.ct-glass { animation: ct-rise 0.7s 0.4s ease both; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1199px) {
	/* Narrow form card: give the phone field its own full-width row. */
	.ct-form-card .field-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1099px) {
	.ct-why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
	.ct-hero__lead, .ct-cta__copy p:not(.ct-eyebrow) { max-width: 36rem; }
	.ct-hero__stage { display: block; min-height: 0; }
	.ct-hero__copy { width: auto; padding: 2.2rem var(--sb-gutter) 1.6rem; }
	.ct-hero h1 { font-size: clamp(2rem, 7.6vw, 2.8rem); }
	.ct-hero__visual { position: relative; left: auto; right: auto; height: clamp(250px, 58vw, 400px); }
	.ct-hero__photo { clip-path: url(#ct-hero-clip-m); }
	/* Nudge the photo down so the Burj Khalifa spire clears the curved top edge. */
	.ct-hero__photo img { position: absolute; top: 11%; left: 0; height: 112%; object-position: 62% 30%; }
	.ct-ribbons--d { display: none; }
	.ct-ribbons--m { display: block; }
	.ct-glass { top: 24%; right: var(--sb-gutter); }

	.ct-main__grid { grid-template-columns: minmax(0, 1fr); }

	.ct-cta { flex-direction: column; min-height: 0; }
	.ct-cta__copy { width: auto; padding: 1.8rem 1.5rem 1.2rem; }
	.ct-cta__visual { position: relative; left: auto; right: auto; height: clamp(190px, 48vw, 300px); }
	.ct-cta__photo { clip-path: url(#ct-cta-clip-m); }
	.ct-cta__photo img { object-position: 55% 45%; }
	.ct-cta .ct-ribbons--d { display: none; }
	.ct-cta .ct-ribbons--m { display: block; }
}

@media (max-width: 639px) {
	.ct-why__grid { grid-template-columns: minmax(0, 1fr); }
	.ct-hero__points { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
	.ct-glass { padding: 0.65rem 0.9rem 0.65rem 0.75rem; font-size: 0.78rem; }
	.ct-field-row, .field-row { grid-template-columns: minmax(0, 1fr); }
	.ct-form-card .phone .phone__cc { width: 8.6rem; }
	.ct-map__head { flex-wrap: wrap; }
	.ct-cta__glass { left: 0.9rem; right: 0.9rem; padding: 0.65rem 0.9rem; }
}
