/* ═══════════════════════════════════════════════════════════════════════════
   Romenal — main.css
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────────────────────── */
:root {
	--navy:       #1e2e6e;
	--teal:       #3a9e8c;
	--teal-light: #ecfdf5;
	--blue:       #3d5af1;
	--grey-bg:    #f5f5f7;
	--white:      #ffffff;
	--text:       #374151;
	--text-light: #6b7280;
	--border:     #e5e7eb;
	--font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--container:  1100px;
	--radius:     8px;
	--shadow:     0 2px 12px rgba(0,0,0,0.08);
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ── Container ───────────────────────────────────────────────────────────── */
.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section--white { background: var(--white); }
.section--grey  { background: var(--grey-bg); }

.section__title {
	font-size: 2rem;
	font-weight: 700;
	color: var(--navy);
	text-align: center;
	margin-bottom: 48px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: var(--radius);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	border: none;
	transition: opacity 0.2s ease, transform 0.15s ease;
	cursor: pointer;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--blue    { background: var(--blue);  color: var(--white); }
.btn--teal    { background: var(--teal);  color: var(--white); }
.btn--primary { background: var(--blue);  color: var(--white); }
.btn--lg      { padding: 16px 40px; font-size: 1rem; letter-spacing: 0.08em; }
.btn--full    { width: 100%; text-align: center; }

/* ═══════════════════════════════════════════════════
   HEADER / NAV
════════════════════════════════════════════════════ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--white);
	box-shadow: 0 1px 0 var(--border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 70px;
}

.site-logo {
	font-size: 1.9rem;
	font-weight: 400;
	color: #5060c8;
	font-family: 'Mulish', 'Inter', sans-serif;
	letter-spacing: 0;
}

.site-nav { display: flex; align-items: center; gap: 16px; }

.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
}

.nav-links a {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--text);
	position: relative;
	padding-bottom: 2px;
	transition: color 0.2s;
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--teal);
	transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--navy); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	padding: 4px;
}

.nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--navy);
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ═══════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════ */
.hero {
	position: relative;
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--navy);
	background-size: cover;
	background-position: center;
	background-attachment: scroll;
	text-align: center;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 20, 60, 0.45);
}

.hero__content {
	position: relative;
	z-index: 1;
	max-width: 740px;
	padding: 60px 24px;
}

.hero__title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	color: var(--white);
	line-height: 1.2;
	margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════════ */
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.service-card {
	background: var(--white);
	border-radius: var(--radius);
	padding: 40px 32px;
	text-align: center;
	box-shadow: var(--shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.service-card__icon {
	width: 72px;
	height: 72px;
	background: var(--teal);
	border-radius: 50% 50% 50% 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
}

.service-card__icon svg {
	width: 32px;
	height: 32px;
	color: var(--white);
}

.service-card h3 {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 12px;
}

.service-card p {
	font-size: 0.9rem;
	color: var(--text-light);
	line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   BROKER SERVICE
════════════════════════════════════════════════════ */
.broker-service {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.broker-service__image img {
	width: 100%;
	height: 420px;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.broker-service__image-placeholder {
	width: 100%;
	height: 420px;
	background: var(--grey-bg);
	border-radius: var(--radius);
	border: 2px dashed var(--border);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: var(--text-light);
	font-size: 0.85rem;
	text-align: center;
	padding: 20px;
}

.broker-service__image-placeholder svg {
	width: 48px;
	height: 48px;
	color: var(--border);
}

.broker-service__content h2 {
	font-size: 1.9rem;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 8px;
}

.broker-service__lead {
	font-size: 1rem;
	font-weight: 600;
	color: var(--teal);
	margin-bottom: 24px;
}

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: 14px; }

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 0.95rem;
	color: var(--text);
	line-height: 1.5;
}

.checklist li::before {
	content: '';
	flex: 0 0 22px;
	height: 22px;
	margin-top: 1px;
	background: var(--teal);
	border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-size: 14px;
	background-position: center;
	background-repeat: no-repeat;
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════ */
.testimonials { max-width: 700px; margin: 0 auto; text-align: center; }

.testimonials__track { position: relative; }

.testimonial { display: none; animation: fadeIn 0.4s ease; }
.testimonial.active { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.testimonial blockquote {
	font-size: 1.1rem;
	font-style: italic;
	color: var(--text);
	line-height: 1.7;
	margin-bottom: 20px;
}

.testimonial cite {
	font-size: 0.9rem;
	color: var(--text-light);
	font-style: normal;
	font-weight: 500;
}

.testimonials__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 28px;
}

.dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--border);
	border: none;
	padding: 0;
	transition: background 0.2s ease;
}

.dot.active { background: var(--navy); }

/* ═══════════════════════════════════════════════════
   CONTACT SECTION
════════════════════════════════════════════════════ */
.contact-section {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 60px;
	align-items: start;
}

.contact-section__text h2 {
	font-size: 1.9rem;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 16px;
}

.contact-section__text p {
	color: var(--text-light);
	line-height: 1.7;
	margin-bottom: 24px;
}

.contact-details h3 {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--teal);
	margin-bottom: 8px;
	margin-top: 20px;
}

.contact-details p {
	font-size: 0.95rem;
	color: var(--text);
	line-height: 1.8;
}

.contact-details a { color: var(--blue); }
.contact-details a:hover { text-decoration: underline; }

/* ── Form ────────────────────────────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 18px; }

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

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--navy);
}

.form-group label span { color: var(--teal); }

.form-group input,
.form-group textarea {
	padding: 12px 16px;
	border: 1.5px solid var(--border);
	border-radius: var(--radius);
	font-size: 0.95rem;
	font-family: var(--font);
	color: var(--text);
	background: var(--white);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	outline: none;
	width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(58,158,140,0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-success,
.form-error {
	padding: 14px 18px;
	border-radius: var(--radius);
	font-size: 0.9rem;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 10px;
}

.form-success {
	background: var(--teal-light);
	color: #065f46;
	border: 1px solid #6ee7b7;
}

.form-success svg { color: var(--teal); flex-shrink: 0; }

.form-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fca5a5;
}

/* ═══════════════════════════════════════════════════
   CONTACT BAR (teal strip above footer)
════════════════════════════════════════════════════ */
.contact-bar {
	background: var(--teal);
	padding: 20px 0;
}

.contact-bar__inner {
	display: flex;
	justify-content: center;
	gap: 60px;
	flex-wrap: wrap;
}

.contact-bar__item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--white);
	font-weight: 500;
	font-size: 1rem;
	transition: opacity 0.2s;
}

.contact-bar__item:hover { opacity: 0.85; }

/* ═══════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */
.site-footer {
	background: #f9fafb;
	border-top: 1px solid var(--border);
	padding-top: 60px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
}

.footer-logo {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--navy);
	display: inline-block;
	margin-bottom: 12px;
}

.footer-tagline {
	font-size: 0.875rem;
	color: var(--text-light);
	line-height: 1.6;
}

.footer-col h4 {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--navy);
	margin-bottom: 14px;
}

.footer-col p {
	font-size: 0.875rem;
	color: var(--text-light);
	line-height: 1.8;
	margin-bottom: 8px;
}

.footer-col a { color: var(--text-light); }
.footer-col a:hover { color: var(--teal); }

.footer-bottom {
	border-top: 1px solid var(--border);
	padding: 20px 0;
}

.footer-bottom p {
	font-size: 0.8rem;
	color: var(--text-light);
	text-align: center;
}

/* ═══════════════════════════════════════════════════
   PAGE HERO (inner pages)
════════════════════════════════════════════════════ */
.page-hero {
	background: var(--navy);
	color: var(--white);
	text-align: center;
}

.page-hero--sm { padding: 60px 0; }

.page-hero h1 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 700;
	margin-bottom: 10px;
}

.page-hero p {
	font-size: 1rem;
	color: rgba(255,255,255,0.75);
}

/* ═══════════════════════════════════════════════════
   GENERIC CONTENT
════════════════════════════════════════════════════ */
.content-narrow { max-width: 760px; }

.content-narrow h2 { font-size: 1.5rem; color: var(--navy); margin: 28px 0 12px; }
.content-narrow p  { color: var(--text); line-height: 1.75; margin-bottom: 16px; }

/* ═══════════════════════════════════════════════════
   MOBILE — max 768px
════════════════════════════════════════════════════ */
@media ( max-width: 768px ) {

	.section { padding: 60px 0; }

	/* Nav */
	.nav-toggle { display: flex; }

	.nav-links {
		display: none;
		position: absolute;
		top: 70px;
		left: 0;
		right: 0;
		background: var(--white);
		flex-direction: column;
		padding: 20px 24px 28px;
		gap: 20px;
		box-shadow: 0 4px 16px rgba(0,0,0,0.1);
		border-top: 1px solid var(--border);
	}

	.nav-links.open { display: flex; }

	.site-header { position: relative; }

	/* Hero */
	.hero { min-height: 480px; }

	/* Services */
	.services-grid { grid-template-columns: 1fr; }

	/* Broker */
	.broker-service { grid-template-columns: 1fr; gap: 36px; }
	.broker-service__image img,
	.broker-service__image-placeholder { height: 280px; }

	/* Contact section */
	.contact-section { grid-template-columns: 1fr; gap: 40px; }

	/* Form */
	.form-row--two { grid-template-columns: 1fr; }

	/* Contact bar */
	.contact-bar__inner { gap: 24px; flex-direction: column; align-items: center; }

	/* Footer */
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
