/* ==========================================================================
   Reveria — main stylesheet
   ========================================================================== */

:root {
	--c-bg-dark:       #0E0E0E;
	--c-bg-dark-2:     #1A1A1A;
	--c-bg-green:      #1f4d36;
	--c-bg-green-2:    #163a28;
	--c-bg-light:      #EAF1F7;
	--c-text:          #ECECEC;
	--c-text-muted:    #B8B8B8;
	--c-text-dark:     #1a1a1a;
	--c-border:        rgba(201, 161, 74, 0.25);
	--c-gold:          #e0ba75;
	--c-gold-soft:     #fde5a5;
	--c-gold-dark:     #7f5e2f;

	--gold-gradient: linear-gradient(135deg,
		#7f5e2f 0%,
		#e0ba75 25%,
		#fde5a5 50%,
		#e0ba75 75%,
		#7f5e2f 100%);
	--gold-gradient-text: linear-gradient(180deg,
		#7f5e2f 0%,
		#e0ba75 30%,
		#fde5a5 50%,
		#e0ba75 70%,
		#7f5e2f 100%);

	--container:       1440px;
	--container-narrow: 760px;
	--radius:          14px;
	--radius-sm:       8px;

	--shadow-card:     0 18px 40px rgba(0, 0, 0, 0.35);

	--ease:            cubic-bezier(0.4, 0, 0.2, 1);
	--header-h:        72px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--c-text);
	background: var(--c-bg-dark);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-gold-soft); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover, a:focus { color: var(--c-gold); }
button { font-family: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4 {
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.02em;
	margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2.2rem, 3.3vw, 3.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0);
}

/* ---------- Gold gradient text ---------- */
.gold-gradient {
	background: var(--gold-gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	letter-spacing: 0.04em;
}

/* ---------- Layout ---------- */
.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}
.container.narrow { max-width: var(--container-narrow); }
.center { text-align: center; }
.pad-xl { padding-block: 120px; }

.section { padding: clamp(60px, 9vw, 120px) 0; position: relative; }
.section__title { margin-bottom: clamp(28px, 4vw, 48px); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
	text-decoration: none;
	white-space: nowrap;
}
.btn--sm  { padding: 10px 18px; font-size: 0.8rem; }
.btn--lg  { padding: 18px 36px; font-size: 1rem; }
.btn--gold {
	background: var(--gold-gradient);
	color: #1a1a1a;
}
.btn--gold:hover, .btn--gold:focus {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(224, 186, 117, 0.45);
	color: #1a1a1a;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(14, 14, 14, 0.85);
	backdrop-filter: saturate(140%) blur(10px);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	min-height: var(--header-h);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--c-text);
	font-weight: 700;
	letter-spacing: 0.08em;
	font-size: 1.1rem;
}
.brand__logo { max-height: 40px; width: auto; }
.brand__mark {
	display: inline-grid;
	place-items: center;
	width: 38px; height: 38px;
	border: 1.5px solid var(--c-gold);
	border-radius: 8px;
	color: var(--c-gold);
	background: var(--gold-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 800;
}
.brand__text { font-weight: 700; }

.primary-nav {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 32px;
}
.primary-nav ul {
	display: flex;
	gap: 28px;
}
.primary-nav ul a {
	color: var(--c-text);
	font-weight: 500;
	font-size: 0.92rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	position: relative;
}
.primary-nav ul a:hover { color: var(--c-gold-soft); }

.nav-toggle {
	display: none;
	margin-left: auto;
	background: transparent;
	border: 0;
	width: 40px; height: 40px;
	padding: 8px;
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	height: 2px;
	background: var(--c-gold-soft);
	margin: 5px 0;
	transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.section--hero {
	padding: 0;
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100svh - var(--header-h));
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
	background-image: var(--hero-image);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.hero__overlay {
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.65) 30%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0) 90%),
		linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
	pointer-events: none;
}
.hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	display: flex;
}
.hero__content {
	max-width: 50%;
	width: 100%;
	padding: 100px 0;
}
.hero__heading {
	font-size: clamp(2rem, 4.6vw, 4rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.01em;
	margin-bottom: 1.5rem;
}
.hero__subtitle {
	color: #DDD;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	max-width: 540px;
	margin: 0 0 36px;
}

/* ---------- About ---------- */
.section--about {
	background: linear-gradient(180deg, var(--c-bg-dark) 0%, var(--c-bg-dark-2) 100%);
}
.about__card {
	position: relative;
	border: 2.5px solid var(--c-gold);
	border-radius: var(--radius);
	background: rgba(0, 0, 0, 0.35);
	padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 80px);
	text-align: center;
}
.about__copy h2 { margin-bottom: 20px; }
.about__copy p {
	color: var(--c-text-muted);
	font-size: 1.5rem;
	max-width: 720px;
	margin: 0 auto;
}
.about__image {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translate(-50%, 50%);
	width: 96px; height: 96px;
	display: grid; place-items: center;
	border: 2.5px solid var(--c-gold);
	border-radius: 12px;
	overflow: hidden;
	padding: 10px;
	background: var(--c-bg-dark-2);
	z-index: 2;
}
.about__image img {
	width: 100%; height: 100%;
	object-fit: contain;
}
.about__image--placeholder {
	background: linear-gradient(135deg, rgba(224,186,117,0.08) 0%, rgba(127,94,47,0.22) 100%);
}
.section--about { padding-bottom: clamp(80px, 10vw, 140px); }

/* ---------- Portfolio (3 tiles) ---------- */
.section--portfolio {
	background: linear-gradient(180deg, var(--c-bg-green) 0%, var(--c-bg-green-2) 100%);
}
.tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.tile {
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-card);
	color: var(--c-text-dark);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,0.45); }
.tile__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #d8e6d6;
}
.tile__img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.5s var(--ease);
}
.tile:hover .tile__img { transform: scale(1.04); }
.tile__img--placeholder {
	background: linear-gradient(135deg, #e7efe6 0%, #c9d8c7 100%);
}
.tile__icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #1f4d36;
	border: 3px solid var(--c-gold);
	display: grid;
	place-items: center;
	margin: -32px auto 0;
	position: relative;
	z-index: 2;
	color: var(--c-gold);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.tile__icon svg { width: 30px; height: 30px; display: block; }
.tile__body { padding: 18px 22px 28px; text-align: center; }
.tile__title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.05em; color: #1a1a1a; }
.tile__desc { color: #555; font-size: 0.95rem; margin: 8px 0 0; }

/* ---------- Investment Strategy ---------- */
.section--strategy {
	background: var(--c-bg-light);
	color: var(--c-text-dark);
}
.section--strategy .section__title {
	background: linear-gradient(95deg,
		#7f5e2f 0%,
		#e0ba75 40%,
		#fde5a5 50%,
		#e0ba75 60%,
		#7f5e2f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}
.strategy__grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}
.strategy__list { display: grid; gap: 26px; }
.strategy__list li {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 22px;
	align-items: center;
	color: #2a2a2a;
}
.strategy__list strong {
	display: block;
	color: #1a1a1a;
	text-transform: uppercase;
	font-size: 1.5rem;
	letter-spacing: 0.05em;
	line-height: 1.3;
}
.strategy__bullet {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--gold-gradient);
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	box-shadow: 0 4px 14px rgba(127, 94, 47, 0.18);
}
.strategy__bullet svg { width: 26px; height: 26px; display: block; }
.strategy__desc { color: #555; font-size: 1rem; display: block; margin-top: 6px; line-height: 1.55; }
.strategy__media {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.strategy__img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: 0 14px 30px rgba(0,0,0,0.12);
	object-fit: cover;
}
.strategy__img--wide { grid-column: 1 / -1; }
.strategy__img--placeholder {
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, #f7fafd 0%, #d6e3ee 100%);
}
.strategy__img--wide.strategy__img--placeholder { aspect-ratio: 16 / 9; }

/* ---------- Contact ---------- */
.section--contact {
	background: linear-gradient(180deg, var(--c-bg-dark-2) 0%, var(--c-bg-dark) 100%);
}
.contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}
.contact__line {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 16px;
	align-items: baseline;
	margin: 0 0 12px;
	color: var(--c-text);
}
.contact__line--address { align-items: start; }
.contact__label {
	color: var(--c-gold);
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	font-weight: 600;
}

/* ---------- Contact form ---------- */
.contact-form .field { margin: 0 0 14px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	width: 100%;
	padding: 14px 16px;
	background: rgba(255,255,255,0.04);
	color: var(--c-text);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: var(--radius-sm);
	font: inherit;
	transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--c-gold);
	background: rgba(255,255,255,0.06);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .field--consent label {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 10px;
	align-items: start;
	color: var(--c-text-muted);
	font-size: 0.88rem;
	line-height: 1.5;
	cursor: pointer;
}
.contact-form .field--consent input { margin-top: 4px; accent-color: var(--c-gold); }
.contact-form .required { color: #e07474; font-weight: 600; margin-left: 2px; }
.contact-form .field--submit { margin-top: 18px; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; }
.form-message {
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	margin: 0 0 16px;
	font-size: 0.92rem;
}
.form-message--ok  { background: rgba(67,176,71,0.15);  color: #c8eecc; border: 1px solid rgba(67,176,71,0.3); }
.form-message--err { background: rgba(220,53,69,0.15);  color: #ffd2d2; border: 1px solid rgba(220,53,69,0.3); }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--c-bg-dark);
	border-top: 1px solid rgba(255,255,255,0.06);
	padding: 48px 0 32px;
}
.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
}
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a {
	color: var(--c-text-muted);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.footer-nav a:hover { color: var(--c-gold-soft); }
.footer-brand { display: grid; justify-items: center; }
.footer-brand__img {
	width: 64px;
	height: auto;
	display: block;
}
.footer-copyright {
	color: var(--c-text-muted);
	font-size: 0.8rem;
	text-align: right;
	margin: 0;
}
.footer-copyright a {
	color: inherit;
	transition: color 0.2s var(--ease);
}
.footer-copyright a:hover,
.footer-copyright a:focus { color: var(--c-gold-soft); }
.footer-sep { margin: 0 6px; opacity: 0.5; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.tiles { grid-template-columns: 1fr 1fr; }
	.strategy__grid { grid-template-columns: 1fr; }
	.contact__grid { grid-template-columns: 1fr; }
	.site-footer__inner { grid-template-columns: 1fr; text-align: center; }
	.footer-nav ul { justify-content: center; }
	.footer-copyright { text-align: center; }
	.hero__content { max-width: 75%; }
}
@media (max-width: 935px) {
	.nav-toggle { display: block; }
	.primary-nav {
		position: absolute;
		top: var(--header-h);
		left: 0; right: 0;
		flex-direction: column;
		gap: 0;
		background: rgba(14, 14, 14, 0.98);
		padding: 16px 24px 24px;
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0.25s var(--ease);
		border-bottom: 1px solid rgba(255,255,255,0.08);
	}
	.primary-nav[data-open="true"] {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}
	.primary-nav ul {
		flex-direction: column;
		gap: 4px;
		width: 100%;
	}
	.primary-nav a {
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid rgba(255,255,255,0.05);
	}
	.nav-cta {
		align-self: center;
		margin-top: 18px;
		padding: 16px 56px;
		font-size: 0.85rem;
	}
}
@media (max-width: 720px) {
	.tiles { grid-template-columns: 1fr; }
	.hero__overlay {
		background:
			linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 100%);
	}
	.contact__line { grid-template-columns: 1fr; gap: 4px; }
	.contact__label { font-size: 0.75rem; }
}
