/* ==========================================================================
   Ruksaat theme — design tokens, base, buttons, header, drawer, footer
   ========================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }

:root {
	--rk-black: #0b0b0d;
	--rk-ink: #131317;
	--rk-panel: #1a1a20;
	--rk-panel-2: #23232b;
	--rk-gold: #c9a45c;
	--rk-gold-2: #e2c686;
	--rk-gold-3: #a8843f;
	--rk-gold-ink: #85672b;   /* gold that passes contrast on white */
	--rk-white: #ffffff;
	--rk-paper: #f6f4ef;
	--rk-text: #1c1c21;
	--rk-muted: #63636e;
	--rk-muted-dark: rgba(255, 255, 255, 0.72);
	--rk-line: #e7e2d7;
	--rk-line-dark: rgba(255, 255, 255, 0.12);
	--rk-whatsapp: #25d366;

	--rk-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--rk-font-display: "Playfair Display", Georgia, "Times New Roman", serif;

	--rk-radius: 16px;
	--rk-radius-sm: 10px;
	--rk-shadow: 0 18px 40px -18px rgba(11, 11, 13, 0.25);
	--rk-shadow-lg: 0 30px 60px -20px rgba(11, 11, 13, 0.45);
	--rk-wrap: 1240px;
	--rk-gutter: clamp(16px, 4vw, 32px);
	--rk-header-h: 80px;
	--rk-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 767px) {
	:root { --rk-header-h: 64px; }
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.rk-no-scroll { overflow: hidden; }
body.rk-theme {
	margin: 0;
	padding-top: var(--rk-header-h);
	font-family: var(--rk-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--rk-text);
	background: var(--rk-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body.rk-theme.rk-overlay-header { padding-top: 0; }
.rk-theme h1, .rk-theme h2, .rk-theme h3, .rk-theme h4 {
	font-family: var(--rk-font-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: inherit;
	margin: 0 0 0.5em;
}
.rk-theme a { color: var(--rk-gold-ink); text-decoration: none; transition: color 0.2s var(--rk-ease); }
.rk-theme a:hover, .rk-theme a:focus { color: var(--rk-gold-3); }
.rk-theme img { max-width: 100%; height: auto; }
.rk-theme :focus-visible { outline: 2px solid var(--rk-gold); outline-offset: 3px; border-radius: 4px; }
.rk-theme ::selection { background: var(--rk-gold); color: var(--rk-black); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.rk-wrap { width: 100%; max-width: calc(var(--rk-wrap) + 2 * var(--rk-gutter)); margin: 0 auto; padding-left: var(--rk-gutter); padding-right: var(--rk-gutter); box-sizing: border-box; }
.rk-theme .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.rk-theme .skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 12px; top: 12px; z-index: 1000; padding: 10px 16px; background: var(--rk-gold); color: var(--rk-black); border-radius: 8px; }
.rk-ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.2em; }

/* Default WordPress content (pages not built with Elementor) */
.rk-theme .site-main { max-width: 860px; margin: 0 auto; padding: 56px var(--rk-gutter) 80px; }
.rk-theme .site-main .page-header .entry-title { font-size: clamp(32px, 4vw, 44px); }

/* ---------- Buttons ---------- */
.rk-btn {
	--btn-bg: var(--rk-gold); --btn-fg: var(--rk-black); --btn-bd: var(--rk-gold);
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 48px; padding: 0 24px;
	font: 600 15px/1 var(--rk-font); letter-spacing: 0.01em;
	color: var(--btn-fg) !important; background: var(--btn-bg);
	border: 1px solid var(--btn-bd); border-radius: 999px;
	cursor: pointer; white-space: nowrap; text-decoration: none !important;
	transition: background 0.25s var(--rk-ease), color 0.25s var(--rk-ease), border-color 0.25s var(--rk-ease), transform 0.25s var(--rk-ease), box-shadow 0.25s var(--rk-ease);
}
.rk-btn:hover, .rk-btn:focus-visible { transform: translateY(-1px); }
.rk-btn--gold { background: linear-gradient(135deg, var(--rk-gold-2) 0%, var(--rk-gold) 55%, var(--rk-gold-3) 100%); box-shadow: 0 8px 22px -10px rgba(201, 164, 92, 0.7); }
.rk-btn--gold:hover { box-shadow: 0 12px 28px -10px rgba(201, 164, 92, 0.9); }
.rk-btn--ghost { --btn-bg: transparent; --btn-fg: var(--rk-white); --btn-bd: rgba(255, 255, 255, 0.35); }
.rk-btn--ghost:hover { --btn-bd: var(--rk-gold); --btn-fg: var(--rk-gold-2); }
.rk-btn--dark { --btn-bg: var(--rk-black); --btn-fg: var(--rk-white); --btn-bd: var(--rk-black); }
.rk-btn--dark:hover { --btn-bg: var(--rk-ink); --btn-fg: var(--rk-gold-2); }
.rk-btn--outline { --btn-bg: transparent; --btn-fg: var(--rk-black); --btn-bd: rgba(11, 11, 13, 0.25); }
.rk-btn--outline:hover { --btn-bd: var(--rk-black); }
.rk-btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.rk-btn--block { width: 100%; }

/* ---------- Header ---------- */
.rk-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 900;
	height: var(--rk-header-h);
	background: var(--rk-black);
	border-bottom: 1px solid var(--rk-line-dark);
	transition: background 0.3s var(--rk-ease), border-color 0.3s var(--rk-ease), backdrop-filter 0.3s;
}
.admin-bar .rk-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rk-header { top: 46px; } }
.rk-header--overlay { background: linear-gradient(180deg, rgba(11, 11, 13, 0.7) 0%, rgba(11, 11, 13, 0) 100%); border-bottom-color: transparent; }
.rk-header.is-scrolled { background: rgba(11, 11, 13, 0.94); border-bottom-color: var(--rk-line-dark); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); }
.rk-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.rk-logo { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.rk-theme .rk-logo__img { display: block; height: 30px; width: auto; max-width: none; }
@media (max-width: 767px) { .rk-theme .rk-logo__img { height: 24px; } }
@media (max-width: 380px) { .rk-theme .rk-logo__img { height: 21px; } }

.rk-nav { margin-left: auto; }
.rk-nav__list { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.rk-nav__list a {
	position: relative; display: block; padding: 8px 0;
	font: 500 14px/1.2 var(--rk-font); color: rgba(255, 255, 255, 0.86) !important; white-space: nowrap;
}
.rk-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: var(--rk-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--rk-ease);
}
.rk-nav__list a:hover, .rk-nav__list .current-menu-item > a { color: var(--rk-white) !important; }
.rk-nav__list a:hover::after, .rk-nav__list .current-menu-item > a::after { transform: scaleX(1); }
.rk-header__actions { display: flex; align-items: center; gap: 12px; }
.rk-header__call { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--rk-line-dark); border-radius: 999px; color: #fff !important; font: 600 14px/1 var(--rk-font); white-space: nowrap; }
.rk-header__call .rk-ico { color: var(--rk-gold); }
.rk-header__call:hover { border-color: var(--rk-gold); color: var(--rk-gold-2) !important; }
@media (max-width: 1599px) and (min-width: 1280px) { .rk-header__call span { display: none; } .rk-header__call { width: 40px; padding: 0; justify-content: center; } }
@media (max-width: 1279px) { .rk-header__call { width: 44px; height: 44px; padding: 0; justify-content: center; } .rk-header__call span { display: none; } }

.rk-burger { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--rk-line-dark); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.rk-burger__bar { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--rk-white); border-radius: 2px; }
.rk-burger__bar:nth-child(1) { top: 15px; }
.rk-burger__bar:nth-child(2) { top: 21px; right: 18px; background: var(--rk-gold); }
.rk-burger__bar:nth-child(3) { top: 27px; }

@media (max-width: 1279px) {
	.rk-nav { display: none; }
	.rk-header__actions { margin-left: auto; }
	.rk-burger { display: inline-block; }
}
@media (max-width: 639px) {
	.rk-header__account { display: none; }
}

/* ---------- Drawer ---------- */
.rk-drawer { position: fixed; inset: 0; z-index: 1000; }
.rk-drawer[hidden] { display: none; }
.rk-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); opacity: 0; transition: opacity 0.25s var(--rk-ease); }
.rk-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
	background: var(--rk-black); color: var(--rk-white);
	padding: 18px var(--rk-gutter) 32px; box-sizing: border-box; overflow-y: auto;
	display: flex; flex-direction: column; gap: 28px;
	transform: translateX(100%); transition: transform 0.3s var(--rk-ease);
	border-left: 1px solid var(--rk-line-dark);
}
.rk-drawer.is-open .rk-drawer__backdrop { opacity: 1; }
.rk-drawer.is-open .rk-drawer__panel { transform: none; }
.rk-drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.rk-drawer__close { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--rk-line-dark); border-radius: 12px; background: transparent; color: var(--rk-white); cursor: pointer; font-size: 20px; }
.rk-drawer__list { list-style: none; margin: 0; padding: 0; }
.rk-drawer__list li { border-bottom: 1px solid var(--rk-line-dark); }
.rk-drawer__list a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font: 500 18px/1.3 var(--rk-font); color: var(--rk-white) !important; }
.rk-drawer__list a::after { content: "→"; color: var(--rk-gold); font-size: 16px; }
.rk-drawer__list .current-menu-item > a { color: var(--rk-gold-2) !important; }
.rk-drawer__cta { display: grid; gap: 12px; }
.rk-drawer__contact { display: grid; gap: 10px; margin-top: auto; }
.rk-drawer__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--rk-muted-dark) !important; font-size: 15px; }
.rk-drawer__contact .rk-ico { color: var(--rk-gold); }

/* ---------- Footer ---------- */
.rk-footer { background: var(--rk-black); color: var(--rk-muted-dark); font-size: 15px; }
.rk-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.3fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.rk-footer__brand p { margin: 20px 0 0; max-width: 340px; line-height: 1.7; }
.rk-footer__title { font: 600 12px/1 var(--rk-font) !important; letter-spacing: 0.16em !important; text-transform: uppercase; color: var(--rk-gold) !important; margin: 6px 0 20px !important; }
.rk-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rk-footer__list a, .rk-footer__addr { display: inline-flex; align-items: flex-start; gap: 10px; color: var(--rk-muted-dark) !important; line-height: 1.45; }
.rk-footer__list a:hover { color: var(--rk-white) !important; }
.rk-footer__contact .rk-ico { color: var(--rk-gold); margin-top: 2px; }
.rk-footer__social { list-style: none; margin: 24px 0 0; padding: 0; display: flex; gap: 10px; }
.rk-footer__social a { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--rk-line-dark); border-radius: 50%; color: var(--rk-white) !important; }
.rk-footer__social a:hover { border-color: var(--rk-gold); color: var(--rk-gold) !important; }
.rk-footer__bar { border-top: 1px solid var(--rk-line-dark); }
.rk-footer__bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 22px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.rk-footer__bar p { margin: 0; }
@media (max-width: 1023px) {
	.rk-footer__grid { grid-template-columns: repeat(3, 1fr); }
	.rk-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
	.rk-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-top: 56px; }
	.rk-footer__contact { grid-column: 1 / -1; }
}

/* ---------- WhatsApp float ---------- */
.rk-wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 800;
	width: 56px; height: 56px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--rk-whatsapp); color: #fff !important; font-size: 28px;
	box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.45);
	transition: transform 0.25s var(--rk-ease);
}
.rk-wa-float:hover { transform: scale(1.06); }

/* ---------- Elementor page wrapper ---------- */
.rk-theme .elementor-page .elementor { overflow-x: clip; }

/* ---------- Click-to-reveal phone, List your car link (1.0.3) ---------- */
.rk-tel { -webkit-appearance: none; appearance: none; background: transparent; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
button.rk-header__call { border: 1px solid var(--rk-line-dark); }
.rk-header__list { color: rgba(255, 255, 255, 0.82) !important; font: 600 14px/1 var(--rk-font); white-space: nowrap; padding: 0 4px; }
.rk-header__list:hover { color: var(--rk-gold-2) !important; }
@media (max-width: 1399px) { .rk-header__list { display: none; } }
.rk-drawer__list { display: block; margin-top: 4px; text-align: center; color: var(--rk-muted-dark) !important; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.rk-drawer__contact .rk-tel, .rk-footer__list .rk-tel { display: inline-flex; align-items: center; gap: 10px; color: var(--rk-muted-dark); font-size: 15px; line-height: 1.45; }
.rk-footer__list .rk-tel { align-items: flex-start; }
.rk-footer__list .rk-tel:hover, .rk-drawer__contact .rk-tel:hover { color: var(--rk-white); }
.rk-tel:not(.is-revealed) [data-rk-tel-value] { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 4px; }
.rk-tel-pop { position: fixed; z-index: 1001; padding: 10px 16px; border-radius: 12px; background: #fff; color: #0b0b0d !important; font: 700 16px/1 var(--rk-font); letter-spacing: 0.02em; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.45); white-space: nowrap; }
.rk-tel-pop::before { content: ""; position: absolute; top: -6px; right: 18px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
.rk-footer__bar a { color: rgba(255, 255, 255, 0.7) !important; }
.rk-footer__bar a:hover { color: #fff !important; }
