/*
Theme Name: Caravanster
Theme URI: https://caravansterllc.com
Author: Caravanster LLC
Description: Corporate multilingual theme for Caravanster LLC.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: caravanster
*/

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("assets/fonts/outfit-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("assets/fonts/outfit-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ---------- Tokens ---------- */
:root {
	--ink: #1F2A36;
	--ink-2: #2B3847;
	--ink-3: #3A4858;
	--terra: #B5482C;
	--terra-2: #E0714A;
	--terra-dark: #973A22;
	--saffron: #D9922E;
	--cream: #F6EFE3;
	--paper: #FBF8F3;
	--white: #FFFFFF;
	--sand: #CFC5B3;
	--taupe: #5A5148;
	--text: #26313D;
	--muted: #5F6873;
	--line: rgba(31, 42, 54, .12);
	--line-light: rgba(246, 239, 227, .16);
	--font-head: "Outfit", "Plex Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", "Plex Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 1px 2px rgba(31, 42, 54, .06), 0 8px 24px rgba(31, 42, 54, .08);
	--shadow-lg: 0 2px 4px rgba(31, 42, 54, .06), 0 24px 48px rgba(31, 42, 54, .14);
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(64px, 9vw, 120px);
	--header-h: 76px;
}
html[lang="ar"] {
	--font-head: "Plex Arabic", "Outfit", system-ui, sans-serif;
	--font-body: "Plex Arabic", "Inter", system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--terra); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terra-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.3; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.2em; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 8px; }

.cv-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.cv-narrow { max-width: 780px; }

/* ---------- Header ---------- */
.cv-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 248, 243, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.cv-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(31, 42, 54, .06); }
.admin-bar .cv-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cv-header { top: 0; } }
.cv-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.cv-logo { flex: none; display: block; }
.cv-logo img { height: 40px; width: auto; }
.cv-nav { margin-inline-start: auto; }
.cv-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.cv-nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; transition: background .15s, color .15s; }
.cv-nav a:hover { background: rgba(31, 42, 54, .06); color: var(--ink); }
.cv-nav a[aria-current="page"] { color: var(--terra); background: rgba(181, 72, 44, .08); }
.cv-nav__cta { display: none; }
.cv-header__actions { display: flex; align-items: center; gap: 10px; }

/* Language switcher */
.cv-lang { position: relative; }
.cv-lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 600 14px/1 var(--font-body); cursor: pointer; text-transform: uppercase; }
.cv-lang__btn:hover { border-color: rgba(31, 42, 54, .3); }
.cv-lang__btn svg { width: 14px; height: 14px; opacity: .6; transition: transform .15s; }
.cv-lang.is-open .cv-lang__btn svg { transform: rotate(180deg); }
.cv-flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(31, 42, 54, .12); flex: none; display: inline-block; }
.cv-lang__name { display: inline-flex; align-items: center; gap: 10px; }
.cv-lang__menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 210px; margin: 0; padding: 6px; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all .15s; }
.cv-lang.is-open .cv-lang__menu { opacity: 1; visibility: visible; transform: none; }
.cv-lang__menu a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 15px; }
.cv-lang__menu a:hover { background: var(--cream); }
.cv-lang__menu a[aria-current="true"] { font-weight: 650; color: var(--terra); }
.cv-lang__menu small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

.cv-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.cv-burger span, .cv-burger span::before, .cv-burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.cv-burger span::before, .cv-burger span::after { content: ""; position: absolute; left: 0; }
.cv-burger span::before { top: -6px; }
.cv-burger span::after { top: 6px; }
.nav-open .cv-burger span { background: transparent; }
.nav-open .cv-burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .cv-burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
	.cv-header .cv-btn--sm { display: none; }
}
@media (max-width: 1024px) {
	.cv-burger { display: inline-flex; }
	.cv-header__actions { margin-inline-start: auto; }
	.cv-nav { position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 12px var(--gutter) 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; display: none; }
	.admin-bar .cv-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .cv-nav { display: block; }
	.cv-nav ul { flex-direction: column; gap: 2px; }
	.cv-nav a { font-size: 18px; padding: 12px 14px; border-radius: 12px; }
	.cv-header .cv-btn--sm { display: none; }
	.cv-nav__cta { display: block; margin-top: 12px; }
	.cv-nav .cv-nav__cta a { color: var(--white); background: var(--terra); justify-content: center; display: flex; }
}
@media (max-width: 480px) {
	.cv-logo img { height: 32px; }
	.cv-header__inner { gap: 12px; }
}

/* ---------- Buttons ---------- */
.cv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font: 600 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.cv-btn svg { width: 18px; height: 18px; flex: none; transition: transform .15s; }
html[dir="rtl"] .cv-btn svg { transform: scaleX(-1); }
.cv-btn:hover svg { transform: translateX(3px); }
html[dir="rtl"] .cv-btn:hover svg { transform: scaleX(-1) translateX(3px); }
.cv-btn--primary { background: var(--terra); color: var(--white); box-shadow: 0 6px 16px rgba(181, 72, 44, .28); }
.cv-btn--primary:hover { background: var(--terra-dark); color: var(--white); transform: translateY(-1px); }
.cv-btn--dark { background: var(--ink); color: var(--cream); }
.cv-btn--dark:hover { background: var(--ink-2); color: var(--white); }
.cv-btn--ghost { border-color: rgba(31, 42, 54, .22); color: var(--ink); background: transparent; }
.cv-btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.cv-btn--light { border-color: rgba(246, 239, 227, .35); color: var(--cream); background: transparent; }
.cv-btn--light:hover { border-color: var(--cream); color: var(--white); background: rgba(246, 239, 227, .06); }
.cv-btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.cv-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cv-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--terra); }
.cv-link svg { width: 16px; height: 16px; transition: transform .15s; }
html[dir="rtl"] .cv-link svg { transform: scaleX(-1); }
.cv-link:hover svg { transform: translateX(3px); }

/* ---------- Sections ---------- */
.cv-section { padding-block: var(--section); position: relative; }
.cv-section--tight { padding-block: calc(var(--section) * .6); }
.cv-section--cream { background: var(--cream); }
.cv-section--white { background: var(--white); }
.cv-section--dark { background: var(--ink); color: rgba(246, 239, 227, .82); }
.cv-section--dark h1, .cv-section--dark h2, .cv-section--dark h3, .cv-section--dark h4 { color: var(--cream); }
.cv-section--dark a:not(.cv-btn) { color: var(--terra-2); }
.cv-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.cv-head--center { text-align: center; margin-inline: auto; }
.cv-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cv-head--split > div { max-width: 700px; }
.cv-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 600 13px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
html[lang="ar"] .cv-eyebrow { letter-spacing: 0; font-size: 14px; }
.cv-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.cv-section--dark .cv-eyebrow { color: var(--saffron); }
.cv-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.cv-section--dark .cv-lead { color: rgba(246, 239, 227, .75); }
.cv-muted { color: var(--muted); }

/* ---------- Hero ---------- */
.cv-hero { background: var(--ink); color: rgba(246, 239, 227, .8); overflow: hidden; position: relative; }
.cv-hero::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(224, 113, 74, .22), transparent); pointer-events: none; }
html[dir="rtl"] .cv-hero::before { inset: auto auto -40% -10%; }
.cv-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(56px, 8vw, 110px); position: relative; }
.cv-hero h1 { color: var(--cream); margin-bottom: 24px; }
.cv-hero h1 em { font-style: normal; color: var(--terra-2); }
.cv-hero .cv-lead { color: rgba(246, 239, 227, .78); max-width: 580px; margin-bottom: 36px; }
.cv-hero__mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; transform: rotate(-2deg); }
html[dir="rtl"] .cv-hero__mosaic { transform: rotate(2deg); }
.cv-hero__mosaic figure { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: var(--ink-2); box-shadow: 0 16px 32px rgba(0, 0, 0, .25); }
.cv-hero__mosaic figure:nth-child(3n+2) { transform: translateY(24px); }
.cv-hero__mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cv-hero__mosaic figure:hover img { transform: scale(1.06); }
.cv-hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; margin-bottom: 28px; border: 1px solid var(--line-light); border-radius: 999px; font-size: 14px; color: rgba(246, 239, 227, .85); }
html[dir="rtl"] .cv-hero__badge { padding: 8px 8px 8px 14px; }
.cv-hero__badge b { background: var(--terra); color: var(--white); border-radius: 999px; padding: 4px 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.cv-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); position: relative; }
.cv-facts > div { padding: 28px 24px 34px 0; }
html[dir="rtl"] .cv-facts > div { padding: 28px 0 34px 24px; }
.cv-facts > div + div { border-inline-start: 1px solid var(--line-light); padding-inline-start: 24px; }
.cv-facts b { display: block; font: 700 clamp(1.3rem, 2vw, 1.6rem)/1.2 var(--font-head); color: var(--cream); margin-bottom: 6px; }
.cv-facts span { font-size: 14.5px; color: rgba(246, 239, 227, .68); }
@media (max-width: 900px) {
	.cv-hero__grid { grid-template-columns: 1fr; }
	.cv-hero__mosaic { max-width: 520px; transform: none; }
	html[dir="rtl"] .cv-hero__mosaic { transform: none; }
	.cv-facts { grid-template-columns: 1fr 1fr; }
	.cv-facts > div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
	.cv-facts > div:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}
@media (max-width: 520px) {
	.cv-hero__mosaic { gap: 8px; }
	.cv-hero__mosaic figure { border-radius: 10px; }
	.cv-facts > div { padding: 20px 12px 22px 0; }
	.cv-facts > div + div { padding-inline-start: 12px; }
	.cv-btns .cv-btn { width: 100%; }
}

/* Inner page hero */
.cv-page-hero { background: var(--cream); padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.cv-page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; inset: -140px -120px auto auto; border-radius: 50%; border: 48px solid rgba(181, 72, 44, .07); pointer-events: none; }
html[dir="rtl"] .cv-page-hero::after { inset: -140px auto auto -120px; }
.cv-page-hero h1 { max-width: 900px; font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.cv-page-hero .cv-lead { max-width: 720px; margin-bottom: 0; }
.cv-crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.cv-crumbs a { color: var(--muted); text-decoration: none; }
.cv-crumbs a:hover { color: var(--terra); }

/* ---------- Grids & cards ---------- */
.cv-grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.cv-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cv-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cv-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .cv-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cv-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cv-grid--2, .cv-grid--3, .cv-grid--4 { grid-template-columns: 1fr; } }

.cv-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 2.6vw, 34px); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.cv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cv-card h3 { margin-bottom: 10px; }
.cv-card p { color: var(--muted); font-size: 16px; margin-bottom: 0; }
.cv-card p + p { margin-top: 12px; }
.cv-card .cv-link { margin-top: 18px; }
.cv-section--cream .cv-card { border-color: transparent; }
.cv-section--dark .cv-card { background: var(--ink-2); border-color: var(--line-light); }
.cv-section--dark .cv-card p { color: rgba(246, 239, 227, .7); }
.cv-icon { width: 52px; height: 52px; border-radius: 14px; display: inline-grid; place-items: center; background: rgba(181, 72, 44, .1); color: var(--terra); margin-bottom: 22px; }
.cv-icon svg { width: 26px; height: 26px; }
.cv-section--dark .cv-icon { background: rgba(217, 146, 46, .14); color: var(--saffron); }
.cv-num { font: 700 14px/1 var(--font-head); color: var(--terra); letter-spacing: .08em; margin-bottom: 18px; display: block; }

/* Category tiles */
.cv-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
@media (max-width: 1024px) { .cv-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cv-cat { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; background: var(--ink); color: var(--cream); text-decoration: none; isolation: isolate; }
.cv-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); z-index: -2; }
.cv-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 42, 54, 0) 35%, rgba(31, 42, 54, .88) 100%); z-index: -1; }
.cv-cat:hover img { transform: scale(1.07); }
.cv-cat__body { position: absolute; inset: auto 0 0 0; padding: 20px; }
.cv-cat h3 { color: var(--cream); margin: 0 0 4px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.cv-cat span { font-size: 14px; color: rgba(246, 239, 227, .78); line-height: 1.45; display: block; }
@media (max-width: 480px) { .cv-cat__body { padding: 14px; } .cv-cat span { display: none; } }

/* Product category rows (products page) */
.cv-prod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.cv-prod:first-child { border-top: 0; padding-top: 0; }
.cv-prod:nth-child(even) .cv-prod__media { order: 2; }
.cv-prod__media { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.cv-prod__media img { border-radius: var(--radius); width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.cv-prod__media img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.cv-prod__media img.cv-pack { object-fit: contain; background: var(--white); padding: 10%; border: 1px solid var(--line); }
.cv-prod h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cv-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.cv-tags li { padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--taupe); font-size: 14px; font-weight: 500; }
@media (max-width: 800px) { .cv-prod { grid-template-columns: 1fr; } .cv-prod:nth-child(even) .cv-prod__media { order: 0; } }

/* Packshots */
.cv-packs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cv-packs figure { margin: 0; background: var(--white); border-radius: var(--radius); padding: 14px; border: 1px solid var(--line); }
.cv-packs img { aspect-ratio: 1; object-fit: contain; width: 100%; }
@media (max-width: 800px) { .cv-packs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cv-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Logo wall */
.cv-logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.cv-logos--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cv-logos figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); height: 116px; display: grid; place-items: center; padding: 18px 22px; transition: box-shadow .2s, transform .2s; }
.cv-logos figure:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cv-logos img { max-height: 72px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; mix-blend-mode: multiply; transition: filter .25s, opacity .25s; }
.cv-logos figure:hover img { filter: none; opacity: 1; }
.cv-logos figcaption { position: absolute; }
@media (max-width: 1024px) { .cv-logos, .cv-logos--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cv-logos, .cv-logos--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cv-logos figure { height: 96px; } }

/* Model cards */
.cv-model .cv-card { display: flex; flex-direction: column; }
.cv-model .cv-num { position: absolute; top: 28px; inset-inline-end: 28px; margin: 0; color: rgba(181, 72, 44, .45); font-size: 22px; }

/* Media card */
.cv-card--media { padding: 0; overflow: hidden; }
.cv-card--media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cv-card__body { padding: 24px 26px 28px; }

/* Photo grid (small source images) */
.cv-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cv-photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.cv-entity--wide { max-width: 760px; }
.cv-card--media img { aspect-ratio: 16 / 10; }

/* Brewing steps */
.cv-brew { list-style: none; counter-reset: brew; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.cv-brew li { counter-increment: brew; position: relative; padding-inline-start: 52px; color: rgba(246, 239, 227, .82); }
.cv-brew li::before { content: counter(brew); position: absolute; inset-inline-start: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(217, 146, 46, .16); color: var(--saffron); font: 700 15px/1 var(--font-head); }

.cv-markets--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cv-market .cv-link { margin-top: 6px; }
@media (max-width: 900px) { .cv-markets--3 { grid-template-columns: 1fr; } }
.cv-logos--6 { display: flex; flex-wrap: wrap; justify-content: center; }
.cv-logos--6 figure { flex: 0 0 calc((100% - 5 * 14px) / 6); }
@media (max-width: 1024px) { .cv-logos--6 figure { flex-basis: calc((100% - 2 * 14px) / 3); } }
@media (max-width: 520px) { .cv-logos--6 figure { flex-basis: calc((100% - 14px) / 2); } }
.cv-fine { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }

/* Coffee collage */
.cv-coffee-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cv-coffee-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.cv-coffee-media img:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }

/* Feature card */
.cv-feature { position: relative; display: block; border-radius: clamp(20px, 3vw, 32px); overflow: hidden; min-height: 460px; text-decoration: none; isolation: isolate; background: var(--ink); }
.cv-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.cv-feature:hover img { transform: scale(1.04); }
.cv-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(31, 42, 54, .92) 0%, rgba(31, 42, 54, .7) 45%, rgba(31, 42, 54, 0) 80%); }
html[dir="rtl"] .cv-feature::after { background: linear-gradient(270deg, rgba(31, 42, 54, .92) 0%, rgba(31, 42, 54, .7) 45%, rgba(31, 42, 54, 0) 80%); }
.cv-feature__body { max-width: 560px; padding: clamp(32px, 5vw, 64px); color: rgba(246, 239, 227, .82); }
.cv-feature h2 { color: var(--cream); }
.cv-feature .cv-eyebrow { color: var(--saffron); }
.cv-feature p { margin-bottom: 28px; }
@media (max-width: 700px) { .cv-feature::after { background: linear-gradient(180deg, rgba(31, 42, 54, .55) 0%, rgba(31, 42, 54, .95) 60%); } .cv-feature { min-height: 520px; display: flex; align-items: flex-end; } }

/* Gallery */
.cv-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.cv-gallery figure { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); }
.cv-gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.cv-gallery figure:hover img { transform: scale(1.05); }
.cv-gallery figcaption { position: absolute; inset-inline-start: 14px; bottom: 14px; background: rgba(31, 42, 54, .78); color: var(--cream); font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
@media (max-width: 900px) { .cv-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cv-gallery { grid-template-columns: 1fr; } }

/* Split */
.cv-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.cv-split--top { align-items: start; }
.cv-split__media { position: relative; }
.cv-split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow-lg); }
.cv-split__media .cv-stamp { position: absolute; inset: auto auto -22px -22px; }
html[dir="rtl"] .cv-split__media .cv-stamp { inset: auto -22px -22px auto; }
@media (max-width: 900px) { .cv-split { grid-template-columns: 1fr; } .cv-split__media .cv-stamp { inset: auto auto -16px 16px; } }
.cv-stamp { background: var(--terra); color: var(--white); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-lg); max-width: 240px; }
.cv-stamp b { display: block; font: 700 1.6rem/1.1 var(--font-head); }
.cv-stamp span { font-size: 14px; opacity: .9; }

/* Checklist */
.cv-check { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.cv-check li { position: relative; padding-inline-start: 34px; }
.cv-check li::before { content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: rgba(181, 72, 44, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B5482C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.cv-section--dark .cv-check li::before { background-color: rgba(217, 146, 46, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9922E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.cv-check--2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 640px) { .cv-check--2 { grid-template-columns: 1fr; } }

/* Steps */
.cv-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); counter-reset: step; }
.cv-step { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.cv-step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -15px; inset-inline-start: 0; background: var(--paper); padding-inline-end: 12px; font: 700 14px/28px var(--font-head); color: var(--terra); letter-spacing: .06em; }
.cv-section--cream .cv-step::before { background: var(--cream); }
.cv-section--white .cv-step::before { background: var(--white); }
.cv-section--dark .cv-step { border-top-color: var(--line-light); }
.cv-section--dark .cv-step::before { background: var(--ink); color: var(--saffron); }
.cv-step h3 { margin-bottom: 10px; }
.cv-step p { color: var(--muted); font-size: 16px; margin: 0; }
.cv-section--dark .cv-step p { color: rgba(246, 239, 227, .7); }
@media (max-width: 900px) { .cv-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 560px) { .cv-steps { grid-template-columns: 1fr; } }

/* Markets */
.cv-markets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cv-market { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.cv-market__code { font: 700 13px/1 var(--font-body); letter-spacing: .12em; color: rgba(246, 239, 227, .5); }
.cv-market h3 { margin: 4px 0 0; color: var(--cream); }
.cv-market p { font-size: 15px; color: rgba(246, 239, 227, .7); margin: 0; flex: 1; }
.cv-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(246, 239, 227, .08); color: rgba(246, 239, 227, .85); }
.cv-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.cv-pill--live { color: #7BD389; background: rgba(123, 211, 137, .12); }
.cv-pill--progress { color: var(--saffron); background: rgba(217, 146, 46, .14); }
.cv-pill--planned { color: rgba(246, 239, 227, .65); }
@media (max-width: 1024px) { .cv-markets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cv-markets { grid-template-columns: 1fr; } .cv-market { min-height: 0; } }

/* Timeline */
.cv-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cv-year { background: var(--white); border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.cv-year::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--terra); }
.cv-year:nth-child(2)::before { background: var(--saffron); }
.cv-year:nth-child(3)::before { background: var(--ink); }
.cv-year__label { font: 700 13px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--terra); margin-bottom: 12px; display: block; }
html[lang="ar"] .cv-year__label { letter-spacing: 0; }
.cv-year h3 { font-size: 1.4rem; }
.cv-year ul { margin: 16px 0 0; }
.cv-year li { font-size: 15.5px; color: var(--muted); margin-bottom: 6px; }
@media (max-width: 900px) { .cv-timeline { grid-template-columns: 1fr; } }

/* Team */
.cv-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.cv-person { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.cv-person:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cv-person__photo { aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.cv-person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(1) contrast(1.05); transition: transform .6s; }
.cv-person:hover .cv-person__photo img { transform: scale(1.04); }
.cv-person__body { padding: 24px 26px 28px; }
.cv-person h3 { margin-bottom: 4px; font-size: 1.3rem; }
.cv-person__role { display: block; color: var(--terra); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.cv-person p { font-size: 15.5px; color: var(--muted); margin: 0; }
.cv-team--compact .cv-person__body { padding: 20px 22px 24px; }
@media (max-width: 1024px) { .cv-team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cv-team { grid-template-columns: 1fr; } }

/* Fact sheet */
.cv-sheet { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.cv-sheet h3 { margin-bottom: 18px; }
.cv-sheet dl { margin: 0; display: grid; grid-template-columns: minmax(120px, 38%) 1fr; }
.cv-sheet dt, .cv-sheet dd { margin: 0; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.cv-sheet dt { color: var(--muted); padding-inline-end: 16px; }
.cv-sheet dd { color: var(--ink); font-weight: 550; }
@media (max-width: 480px) { .cv-sheet dl { grid-template-columns: 1fr; } .cv-sheet dd { border-top: 0; padding-top: 0; } }

/* Group */
.cv-group { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cv-entity { background: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.cv-entity__flag { font: 700 12px/1 var(--font-body); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.cv-entity img { height: 44px; width: auto; margin: 10px 0 14px; object-fit: contain; object-position: left; }
html[dir="rtl"] .cv-entity img { object-position: right; }
.cv-entity p { color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .cv-group { grid-template-columns: 1fr; } }

/* Jobs */
.cv-jobs { display: grid; gap: 18px; }
.cv-job { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.cv-job__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.cv-job h3 { margin: 0; font-size: 1.4rem; }
.cv-meta { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.cv-meta li { font-size: 13.5px; padding: 5px 11px; border-radius: 999px; background: var(--cream); color: var(--taupe); font-weight: 500; }
.cv-job details { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.cv-job summary { cursor: pointer; font-weight: 600; color: var(--terra); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.cv-job summary::-webkit-details-marker { display: none; }
.cv-job summary::after { content: "+"; font-size: 20px; line-height: 1; }
.cv-job details[open] summary::after { content: "–"; }
.cv-job h4 { font-size: 1rem; margin: 18px 0 8px; }
.cv-job ul { color: var(--muted); font-size: 16px; }

/* CTA band */
.cv-cta { background: var(--terra); color: var(--white); border-radius: clamp(20px, 3vw, 32px); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cv-cta::before { content: ""; position: absolute; width: 360px; height: 360px; inset: -120px -80px auto auto; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .09); }
html[dir="rtl"] .cv-cta::before { inset: -120px auto auto -80px; }
.cv-cta h2 { color: var(--white); margin-bottom: 12px; }
.cv-cta p { margin: 0; color: rgba(255, 255, 255, .86); font-size: 1.1rem; max-width: 620px; }
.cv-cta .cv-btn--dark { background: var(--ink); }
.cv-cta .cv-btn--light { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.cv-cta .cv-btns { position: relative; }
@media (max-width: 860px) { .cv-cta { grid-template-columns: 1fr; } }

/* Note */
.cv-note { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); border-inline-start: 4px solid var(--saffron); border-radius: var(--radius); padding: 20px 24px; font-size: 15.5px; color: var(--muted); }
.cv-note strong { color: var(--ink); }
.cv-note p { margin: 0; }

/* Quote / statement */
.cv-statement { font: 600 clamp(1.4rem, 2.8vw, 2.2rem)/1.35 var(--font-head); color: var(--ink); letter-spacing: -.015em; max-width: 980px; }
.cv-statement em { font-style: normal; color: var(--terra); }
.cv-section--dark .cv-statement { color: var(--cream); }

/* Contact */
.cv-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.cv-contact__info { display: grid; gap: 16px; }
.cv-info { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.cv-info .cv-icon { margin: 0; width: 44px; height: 44px; flex: none; }
.cv-info .cv-icon svg { width: 22px; height: 22px; }
.cv-info h3 { font-size: 1rem; margin: 0 0 4px; }
.cv-info p { margin: 0; color: var(--muted); font-size: 15.5px; }
.cv-info a { font-weight: 600; }
.cv-form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow); }
.cv-form-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
@media (max-width: 900px) { .cv-contact { grid-template-columns: 1fr; } }

/* Contact Form 7 */
.wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.wpcf7-form > p, .wpcf7-form .cv-f { margin: 0; }
.wpcf7-form .hidden-fields-container, .wpcf7-form > div[style*="none"] { display: none; }
.wpcf7-form .cv-f--full, .wpcf7-form .cv-f--submit, .wpcf7-form .wpcf7-response-output, .wpcf7-form > p:last-of-type { grid-column: 1 / -1; }
.wpcf7-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="url"], .wpcf7-form input[type="tel"], .wpcf7-form select, .wpcf7-form textarea { width: 100%; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .15s, box-shadow .15s, background .15s; }
.wpcf7-form textarea { min-height: 150px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--terra); background: var(--white); box-shadow: 0 0 0 4px rgba(181, 72, 44, .12); }
.wpcf7-form .wpcf7-acceptance label { font-weight: 400; font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.wpcf7-form .wpcf7-acceptance input { margin-top: 4px; accent-color: var(--terra); width: 16px; height: 16px; flex: none; }
.wpcf7-form .wpcf7-list-item { margin: 0; }
.wpcf7-form input[type="submit"] { font: 600 16px/1 var(--font-body); background: var(--terra); color: var(--white); border: 0; border-radius: 999px; min-height: 54px; padding: 0 34px; cursor: pointer; box-shadow: 0 6px 16px rgba(181, 72, 44, .28); transition: background .15s, transform .15s; }
.wpcf7-form input[type="submit"]:hover { background: var(--terra-dark); transform: translateY(-1px); }
.wpcf7-form .wpcf7-spinner { vertical-align: middle; }
.wpcf7-not-valid-tip { font-size: 13px; color: #B3261E; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 4px 0 0; padding: 14px 16px; border-radius: 12px; font-size: 15px; border-width: 1.5px; }
@media (max-width: 640px) { .wpcf7-form { grid-template-columns: 1fr; } }

/* Prose (legal) */
.cv-prose { max-width: 780px; }
.cv-prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.cv-prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.cv-prose p, .cv-prose li { color: var(--text); }
.cv-prose .cv-updated { color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.cv-footer { background: var(--ink); color: rgba(246, 239, 227, .72); padding-top: clamp(56px, 7vw, 88px); font-size: 15.5px; }
.cv-footer a { color: rgba(246, 239, 227, .82); text-decoration: none; }
.cv-footer a:hover { color: var(--white); }
.cv-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.cv-footer__brand > img { height: 44px; width: auto; margin-bottom: 20px; }
.cv-footer__brand p { max-width: 340px; }
.cv-footer h4 { color: var(--cream); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-body); font-weight: 650; margin-bottom: 18px; }
html[lang="ar"] .cv-footer h4 { letter-spacing: 0; font-size: 15px; }
.cv-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cv-footer address { font-style: normal; line-height: 1.7; }
.cv-footer__bottom { border-top: 1px solid var(--line-light); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 14px; color: rgba(246, 239, 227, .55); }
.cv-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.cv-footer__langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.cv-footer__langs a { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; padding: 5px 10px; border: 1px solid var(--line-light); border-radius: 999px; }
.cv-footer__langs a[aria-current="true"] { background: rgba(246, 239, 227, .1); color: var(--white); }
@media (max-width: 1000px) { .cv-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cv-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Motion ---------- */
.js .cv-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .cv-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.js .cv-reveal { opacity: 1; transform: none; }
}

/* Utilities */
.cv-mt-0 { margin-top: 0; }
.cv-mb-0 { margin-bottom: 0; }
.cv-center { text-align: center; }
.cv-gap-top { margin-top: clamp(36px, 5vw, 56px); }
.cv-404 { min-height: 50vh; display: grid; place-items: center; text-align: center; }
