/* Rodolfo Gari Reviews — matches the site carousel (navy / teal, Plus Jakarta Sans) */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Jost:wght@600;700;800&display=swap');

.rg-scene {
	--rg-navy: #0a3d6b;
	--rg-teal: #14907f;
	--rg-sky: #42a6b8;
	--rg-mist: #eef6fb;
	--rg-ink: #24374a;
	--rg-muted: #5b6b7b;
	padding: clamp(24px, 5vw, 64px) 16px;
	background: #dff2f7;
	position: relative;
}

.rg-scene,
.rg-scene * ,
.rg-card,
.rg-card * {
	font-family: 'Plus Jakarta Sans', sans-serif;
	box-sizing: border-box;
}

.rg-form-wrap {
	max-width: 620px;
	margin: 0 auto;
	padding: clamp(24px, 4vw, 44px);
	background: rgba(255, 255, 255, .88);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(20, 144, 127, .35);
	border-radius: 18px;
	box-shadow: 0 20px 50px rgba(10, 61, 107, .18);
	color: var(--rg-ink);
}

.rg-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.rg-field { margin-bottom: 20px; }

.rg-field label {
	display: block;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--rg-navy);
}

.rg-field input[type="text"],
.rg-field textarea {
	width: 100%;
	padding: 13px 15px;
	background: #fff;
	border: 1px solid rgba(10, 61, 107, .22);
	border-radius: 10px;
	color: var(--rg-ink);
	font-size: 14px;
	line-height: 1.4;
	transition: border-color .2s, box-shadow .2s;
}

.rg-field textarea { min-height: 130px; resize: vertical; }

.rg-field input::placeholder,
.rg-field textarea::placeholder { color: #8a99a8; }

.rg-field input:focus,
.rg-field textarea:focus {
	outline: none;
	border-color: var(--rg-teal);
	box-shadow: 0 0 0 3px rgba(20, 144, 127, .18);
}

.rg-field.has-error input,
.rg-field.has-error textarea { border-color: #d63638; }

.rg-counter {
	margin-top: 6px;
	text-align: right;
	font-size: 12px;
	font-weight: 600;
	color: var(--rg-muted);
}

.rg-counter.is-near { color: #c0392b; }

/* Stars */
.rg-stars { display: flex; gap: 6px; }

.rg-star {
	width: 30px;
	height: 30px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	color: rgba(20, 144, 127, .18);
	transition: transform .15s, color .15s;
}

.rg-star svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
	stroke: var(--rg-teal);
	stroke-width: 1.2;
	stroke-linejoin: round;
}

.rg-star.is-hover,
.rg-star.is-on { color: #f5b301; }
.rg-star.is-hover svg,
.rg-star.is-on svg { stroke: #d99a00; }

.rg-star:hover { transform: scale(1.18); }
.rg-star:focus-visible { outline: 3px solid var(--rg-sky); outline-offset: 3px; border-radius: 6px; }

.rg-hint {
	margin: 8px 0 0;
	font-size: 12px;
	font-weight: 500;
	color: var(--rg-muted);
}

/* Submit — same gradient button as the carousel CTA */
.rg-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 6px;
	padding: 16px;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	color: #fff;
	background: linear-gradient(120deg, #42a6b8 0%, #2f8ea6 45%, #0a3d6b 100%);
	background-size: 220% 220%;
	background-position: 0% 50%;
	box-shadow: 0 6px 16px rgba(66, 166, 184, .42);
	transition: background-position .6s ease, transform .25s ease, box-shadow .25s ease;
}

.rg-submit:hover {
	background-position: 100% 50%;
	transform: translateY(-3px);
	box-shadow: 0 12px 24px rgba(66, 166, 184, .55);
}

.rg-submit:active { transform: scale(.98); }
.rg-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.rg-submit:focus-visible { outline: 3px solid var(--rg-sky); outline-offset: 3px; }

.rg-note {
	margin-top: 16px;
	padding: 12px 14px;
	text-align: center;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--rg-navy);
	background: #fff;
	border: 1px solid rgba(20, 144, 127, .35);
	border-radius: 10px;
}

.rg-anchor { color: var(--rg-teal); }

.rg-message {
	margin-bottom: 14px;
	padding: 11px 14px;
	font-size: 13px;
	color: #8a1f1f;
	background: #fdecec;
	border: 1px solid #f1b5b5;
	border-radius: 10px;
}

.rg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.rg-success { text-align: center; padding: 40px 10px; }
.rg-success[hidden], .rg-message[hidden], .rg-form[hidden] { display: none; }
.rg-success-icon { font-size: 44px; color: var(--rg-teal); margin-bottom: 12px; }
.rg-success h3 { margin: 0 0 8px; font-size: 24px; font-weight: 800; color: var(--rg-navy); }
.rg-success p { margin: 0; color: var(--rg-muted); font-size: 15px; }

/* Published reviews list */
.rg-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }

.rg-card {
	position: relative;
	flex: 1 1 300px;
	max-width: 380px;
	padding: 34px 28px 24px;
	background: #fff;
	border: 1px solid rgba(20, 144, 127, .22);
	border-top: 4px solid #14907f;
	border-radius: 18px;
	box-shadow: 0 14px 34px rgba(10, 61, 107, .12);
	color: #24374a;
	transition: transform .25s ease, box-shadow .25s ease;
}

.rg-card:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(10, 61, 107, .18); }

.rg-quote {
	position: absolute;
	top: 6px;
	right: 20px;
	font-family: Georgia, serif;
	font-size: 80px;
	line-height: 1;
	color: rgba(66, 166, 184, .22);
	pointer-events: none;
}

.rg-card-stars { display: flex; gap: 3px; margin-bottom: 12px; }
.rg-mini { width: 18px; height: 18px; color: rgba(20, 144, 127, .18); }
.rg-mini.is-on { color: #f5b301; }
.rg-mini svg { width: 100%; height: 100%; fill: currentColor; }

.rg-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 800; line-height: 1.3; color: #0a3d6b; }
.rg-card-body, .rg-card-body p { font-size: 14.5px; line-height: 1.7; color: #3b4d5f; margin: 0 0 10px; }

.rg-card-foot {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(10, 61, 107, .1);
}

.rg-avatar {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font-weight: 800;
	font-size: 16px;
	color: #fff;
	background: linear-gradient(135deg, #42a6b8, #0a3d6b);
}

.rg-card-meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.rg-card-meta strong { font-size: 14px; color: #0a3d6b; }
.rg-loc { font-size: 12px; color: #5b6b7b; }
.rg-date { margin-left: auto; font-size: 11px; color: #7a8896; white-space: nowrap; }
.rg-empty { text-align: center; color: #5b6b7b; }

@media (max-width: 560px) {
	.rg-row { grid-template-columns: 1fr; gap: 0; }
	.rg-star { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
	.rg-star, .rg-submit { transition: none; }
}

/* Heading (matches blog header) */
.rg-scene .rg-head { text-align: center !important; max-width: 900px; margin: 0 auto clamp(24px, 4vw, 44px); }

.rg-scene .rg-eyebrow {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-bottom: 10px;
}

.rg-scene .rg-line { display: block; flex: 0 1 68px; height: 1px; background: #14907f; }

.rg-scene .rg-eyebrow-text {
	font-family: 'Jost', 'Plus Jakarta Sans', sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: .22em !important;
	text-transform: uppercase !important;
	color: #14907f !important;
	white-space: nowrap;
}

.rg-scene .rg-title {
	margin: 0 !important;
	text-align: center !important;
	font-family: 'Jost', 'Plus Jakarta Sans', sans-serif !important;
	font-size: clamp(32px, 5vw, 60px) !important;
	line-height: 1.1 !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em !important;
	color: #0a3d6b !important;
}

.rg-scene .rg-title em {
	font-style: normal !important;
	font-family: inherit !important;
	font-weight: 700 !important;
	color: #14907f !important;
}

@media (max-width: 560px) {
	.rg-scene .rg-eyebrow-text { font-size: 11px !important; white-space: normal; }
	.rg-scene .rg-line { flex-basis: 28px; }
}

/* Reviews under the form */
.rg-scene .rg-reviews-block { max-width: 1160px; margin: clamp(48px, 7vw, 88px) auto 0; }

.rg-scene .rg-subtitle {
	margin: 0 0 32px !important;
	text-align: center !important;
	font-family: 'Jost', 'Plus Jakarta Sans', sans-serif !important;
	font-size: clamp(24px, 3.2vw, 36px) !important;
	font-weight: 700 !important;
	color: #0a3d6b !important;
}
