/* =============================================================
   CONTACT US  —  rif-ct-*
   ============================================================= */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
	--ct-dark:    #1a1a2e;
	--ct-mid:     #16213e;
	--ct-accent:  #e91e8c;
	--ct-accent2: #ff6b35;
	--ct-light:   #f8f9fc;
	--ct-white:   #ffffff;
	--ct-muted:   #6b7280;
	--ct-border:  #e5e7eb;
	--ct-radius:  14px;
	--ct-shadow:  0 8px 32px rgba(0,0,0,.10);
	--ct-trans:   all .35s cubic-bezier(.4,0,.2,1);
}

/* ── Reset scoped to wrapper ─────────────────────────────────── */
.rif-ct *, .rif-ct *::before, .rif-ct *::after { box-sizing: border-box; }
.rif-ct { font-family: inherit; color: var(--ct-dark); }

/* ── Shared utilities ────────────────────────────────────────── */
.rif-ct-container {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.rif-ct-full-w {
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
}

.rif-ct-eyebrow {
	display: inline-block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ct-accent);
	margin-bottom: .75rem;
}
.rif-ct-eyebrow--light { color: rgba(255,255,255,.8); }

.rif-ct-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .85rem 2rem;
	border-radius: 50px;
	font-weight: 700;
	font-size: .9rem;
	letter-spacing: .04em;
	text-decoration: none;
	transition: var(--ct-trans);
	cursor: pointer;
}
.rif-ct-btn--pink {
	background: linear-gradient(135deg, var(--ct-accent), var(--ct-accent2));
	color: #fff;
	box-shadow: 0 6px 20px rgba(233,30,140,.35);
}
.rif-ct-btn--pink:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(233,30,140,.45); }

.rif-ct-btn--white {
	background: var(--ct-white);
	color: var(--ct-accent);
	box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.rif-ct-btn--white:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.18); }

.rif-ct-btn--ghost-white {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255,255,255,.55);
}
.rif-ct-btn--ghost-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ── Scroll-reveal ───────────────────────────────────────────── */
.rif-ct-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .6s ease, transform .6s ease;
}
.rif-ct-reveal--right {
	opacity: 0;
	transform: translateX(32px);
	transition: opacity .65s ease, transform .65s ease;
}
.rif-ct-reveal--delay1 { transition-delay: .12s; }
.rif-ct-reveal--delay2 { transition-delay: .24s; }
.rif-ct-reveal--delay3 { transition-delay: .36s; }
.rif-ct-reveal.is-visible,
.rif-ct-reveal--right.is-visible {
	opacity: 1;
	transform: none;
}

/* ============================================================
   HERO
   ============================================================ */
.rif-ct-hero {
	position: relative;
	min-height: 520px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--ct-dark);
}

.rif-ct-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center top;
}
.rif-ct-hero__bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(26,26,46,.92) 0%, rgba(26,26,46,.65) 60%, rgba(26,26,46,.55) 100%);
}
.rif-ct-hero__bg::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 180px;
	background: linear-gradient(to top, rgba(26,26,46,.6), transparent);
}

.rif-ct-hero__inner {
	position: relative;
	z-index: 2;
	padding-block: 5rem 4rem;
	text-align: center;
}

.rif-ct-hero__title {
	font-size: clamp(2.2rem, 6vw, 4rem);
	font-weight: 800;
	color: var(--ct-white);
	line-height: 1.12;
	margin: .4rem 0 1.1rem;
}
.rif-ct-hero__title em {
	font-style: normal;
	background: linear-gradient(90deg, var(--ct-accent), var(--ct-accent2));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.rif-ct-hero__sub {
	font-size: clamp(1rem, 2.2vw, 1.2rem);
	color: rgba(255,255,255,.78);
	max-width: 600px;
	margin-inline: auto;
	line-height: 1.7;
}

/* Scroll indicator */
.rif-ct-hero__scroll {
	position: absolute;
	bottom: 1.8rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}
.rif-ct-hero__scroll span {
	display: block;
	width: 22px;
	height: 36px;
	border: 2px solid rgba(255,255,255,.4);
	border-radius: 11px;
	position: relative;
}
.rif-ct-hero__scroll span::after {
	content: '';
	position: absolute;
	top: 5px;
	left: 50%;
	transform: translateX(-50%);
	width: 4px;
	height: 8px;
	background: rgba(255,255,255,.6);
	border-radius: 2px;
	animation: ct-scroll 1.8s infinite;
}
@keyframes ct-scroll {
	0%   { opacity: 1; transform: translate(-50%, 0); }
	100% { opacity: 0; transform: translate(-50%, 10px); }
}

/* ============================================================
   INFO BAR  (4 cards)
   ============================================================ */
.rif-ct-info-bar {
	background: var(--ct-white);
	padding-block: 2.5rem;
	box-shadow: 0 4px 24px rgba(0,0,0,.07);
	z-index: 10;
}

.rif-ct-info-bar__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.rif-ct-info-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.5rem 1.2rem;
	border-radius: var(--ct-radius);
	border: 1px solid var(--ct-border);
	transition: var(--ct-trans);
}
.rif-ct-info-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ct-shadow);
	border-color: rgba(233,30,140,.25);
}

.rif-ct-info-card__icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(233,30,140,.12), rgba(255,107,53,.10));
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ct-accent);
}
.rif-ct-info-card__icon svg { width: 20px; height: 20px; }

.rif-ct-info-card__body h3 {
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--ct-muted);
	margin: 0 0 .3rem;
}
.rif-ct-info-card__body p {
	font-size: .97rem;
	font-weight: 600;
	color: var(--ct-dark);
	margin: 0 0 .15rem;
	line-height: 1.5;
}
.rif-ct-info-card__body p a {
	color: var(--ct-accent);
	text-decoration: none;
}
.rif-ct-info-card__body p a:hover { text-decoration: underline; }
.rif-ct-info-card__body span {
	font-size: .8rem;
	color: var(--ct-muted);
}

/* ============================================================
   MAIN  (2-col: sidebar + form)
   ============================================================ */
.rif-ct-main {
	background: var(--ct-light);
	padding-block: 5rem;
}

.rif-ct-main__grid {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: 3.5rem;
	align-items: start;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.rif-ct-sidebar {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	position: sticky;
	top: 100px;
}

.rif-ct-sidebar__block { }

.rif-ct-sidebar__title {
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	font-weight: 800;
	color: var(--ct-dark);
	line-height: 1.2;
	margin: .4rem 0 .9rem;
}
.rif-ct-sidebar__title em {
	font-style: normal;
	background: linear-gradient(90deg, var(--ct-accent), var(--ct-accent2));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.rif-ct-sidebar__body {
	font-size: .97rem;
	color: var(--ct-muted);
	line-height: 1.75;
}

.rif-ct-sidebar__sub-title {
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ct-muted);
	margin: 0 0 .9rem;
}

.rif-ct-topic-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .55rem;
}
.rif-ct-topic-list li {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .92rem;
	color: var(--ct-dark);
	font-weight: 500;
}
.rif-ct-topic-list li svg {
	width: 14px;
	height: 14px;
	color: var(--ct-accent);
	flex-shrink: 0;
}

/* Social links */
.rif-ct-social {
	display: flex;
	gap: .6rem;
	flex-wrap: wrap;
}
.rif-ct-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--ct-white);
	border: 1px solid var(--ct-border);
	color: var(--ct-dark);
	text-decoration: none;
	transition: var(--ct-trans);
}
.rif-ct-social__link svg { width: 16px; height: 16px; }
.rif-ct-social__link:hover {
	background: linear-gradient(135deg, var(--ct-accent), var(--ct-accent2));
	color: #fff;
	border-color: transparent;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(233,30,140,.3);
}

/* ── Form card ───────────────────────────────────────────────── */
.rif-ct-form-wrap { }

.rif-ct-form-card {
	background: var(--ct-white);
	border-radius: calc(var(--ct-radius) + 4px);
	box-shadow: var(--ct-shadow);
	overflow: hidden;
}

.rif-ct-form-card__header {
	background: linear-gradient(135deg, var(--ct-dark), var(--ct-mid));
	padding: 2rem 2.2rem 1.6rem;
}
.rif-ct-form-card__header h3 {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--ct-white);
	margin: 0 0 .4rem;
}
.rif-ct-form-card__header p {
	font-size: .9rem;
	color: rgba(255,255,255,.65);
	margin: 0;
}

.rif-ct-form-card__body {
	padding: 2.2rem;
}

/* ── CF7 overrides ───────────────────────────────────────────── */
.rif-ct-form-card__body .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

.rif-ct-form-card__body .wpcf7-form p {
	margin: 0;
}

.rif-ct-form-card__body .wpcf7-form label {
	display: block;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ct-muted);
	margin-bottom: .4rem;
}

.rif-ct-form-card__body .wpcf7-form input[type="text"],
.rif-ct-form-card__body .wpcf7-form input[type="email"],
.rif-ct-form-card__body .wpcf7-form input[type="tel"],
.rif-ct-form-card__body .wpcf7-form input[type="url"],
.rif-ct-form-card__body .wpcf7-form input[type="number"],
.rif-ct-form-card__body .wpcf7-form select,
.rif-ct-form-card__body .wpcf7-form textarea {
	width: 100%;
	padding: .8rem 1rem;
	border: 1.5px solid var(--ct-border);
	border-radius: 10px;
	font-size: .95rem;
	font-family: inherit;
	color: var(--ct-dark);
	background: var(--ct-light);
	transition: border-color .25s, box-shadow .25s;
	outline: none;
}
.rif-ct-form-card__body .wpcf7-form input:focus,
.rif-ct-form-card__body .wpcf7-form select:focus,
.rif-ct-form-card__body .wpcf7-form textarea:focus {
	border-color: var(--ct-accent);
	box-shadow: 0 0 0 3px rgba(233,30,140,.12);
	background: var(--ct-white);
}

.rif-ct-form-card__body .wpcf7-form textarea {
	min-height: 140px;
	resize: vertical;
}

.rif-ct-form-card__body .wpcf7-form input[type="submit"] {
	background: linear-gradient(135deg, var(--ct-accent), var(--ct-accent2));
	color: #fff;
	border: none;
	padding: .9rem 2.5rem;
	border-radius: 50px;
	font-weight: 700;
	font-size: .95rem;
	letter-spacing: .04em;
	cursor: pointer;
	transition: var(--ct-trans);
	box-shadow: 0 6px 20px rgba(233,30,140,.35);
	align-self: flex-start;
}
.rif-ct-form-card__body .wpcf7-form input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(233,30,140,.45);
}

.rif-ct-form-card__body .wpcf7-response-output {
	border-radius: 10px;
	padding: .75rem 1rem;
	font-size: .88rem;
	margin-top: .5rem;
}
.rif-ct-form-card__body .wpcf7-mail-sent-ok {
	border-color: #22c55e;
	background: rgba(34,197,94,.08);
	color: #166534;
}
.rif-ct-form-card__body .wpcf7-validation-errors,
.rif-ct-form-card__body .wpcf7-spam-blocked {
	border-color: #ef4444;
	background: rgba(239,68,68,.08);
	color: #991b1b;
}

.rif-ct-form-card__body .wpcf7-not-valid-tip {
	font-size: .78rem;
	color: #ef4444;
	margin-top: .25rem;
	display: block;
}

/* ============================================================
   MAP
   ============================================================ */
.rif-ct-map {
	height: 420px;
	position: relative;
	overflow: hidden;
}
.rif-ct-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.rif-ct-map__overlay {
	position: absolute;
	top: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	align-items: center;
	gap: .5rem;
	background: var(--ct-white);
	padding: .5rem 1.2rem .5rem .7rem;
	border-radius: 50px;
	box-shadow: 0 4px 18px rgba(0,0,0,.18);
	font-size: .88rem;
	font-weight: 600;
	color: var(--ct-dark);
	white-space: nowrap;
}
.rif-ct-map__pin svg {
	width: 22px;
	height: 22px;
	color: var(--ct-accent);
}

/* ============================================================
   CTA
   ============================================================ */
.rif-ct-cta {
	position: relative;
	background: var(--ct-dark);
	overflow: hidden;
	padding-block: 5.5rem;
	text-align: center;
}

.rif-ct-cta__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 50% 100%, rgba(233,30,140,.22), transparent),
		radial-gradient(ellipse 60% 50% at 80% 0%, rgba(255,107,53,.15), transparent);
}

.rif-ct-cta__inner { position: relative; z-index: 2; }

.rif-ct-cta__title {
	font-size: clamp(2rem, 5.5vw, 3.2rem);
	font-weight: 800;
	color: var(--ct-white);
	line-height: 1.15;
	margin: .5rem 0 1rem;
}

.rif-ct-cta__sub {
	font-size: 1.05rem;
	color: rgba(255,255,255,.72);
	max-width: 540px;
	margin: 0 auto 2.2rem;
	line-height: 1.7;
}

.rif-ct-cta__actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
	.rif-ct-info-bar__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.rif-ct-main__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	.rif-ct-sidebar {
		position: static;
	}
}

@media (max-width: 640px) {
	.rif-ct-hero { min-height: 420px; }
	.rif-ct-hero__inner { padding-block: 4rem 3.5rem; }

	.rif-ct-info-bar__grid {
		grid-template-columns: 1fr;
	}

	.rif-ct-info-card { flex-direction: column; }

	.rif-ct-main { padding-block: 3rem; }

	.rif-ct-form-card__header { padding: 1.5rem; }
	.rif-ct-form-card__body   { padding: 1.5rem; }

	.rif-ct-map { height: 300px; }

	.rif-ct-cta { padding-block: 4rem; }
	.rif-ct-cta__actions { flex-direction: column; align-items: center; }
}
