/*
 * Coridor: the whole stylesheet.
 *
 * Values are measured on https://coridor.ro (Avada 7.13.2) on 2026-11-20 at 1440, 900 and 390px:
 * container 1600px with 30px sides, 20px gutters, 16px card radius, sections 110px apart,
 * Figtree (closest open typeface to the wordmark) for all text, Noto Serif Light Italic for the tagline voice.
 *
 * Migrated content carries layout hints as custom properties on the element itself
 * (--cr-pt, --cr-bg, ...). Custom properties inherit, so every class that reads them resets
 * them first; the inline style on the element then wins for that element only.
 */

/* ---------- Fonts (self-hosted, @fontsource 5.3.0, both SIL OFL 1.1) ----------
   The "coridor" wordmark is custom lettering, not a font. Figtree is the closest open typeface
   (geometric, round o, flat terminals; compared by shape against the logo, see coridor/CLAUDE.md).
   The logo's tagline "extended perspectives" is set in a light serif italic: Noto Serif Light Italic
   (the successor of Droid Serif), used for the same role here. Its Latin Extended file is cut down to
   the Romanian letters (ă â î ș ț). */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/figtree-latin-400-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/figtree-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/figtree-latin-700-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/figtree-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Noto Serif"; font-style: italic; font-weight: 300; font-display: swap; src: url(../fonts/noto-serif-latin-300-italic.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Serif"; font-style: italic; font-weight: 300; font-display: swap; src: url(../fonts/noto-serif-latin-ext-300-italic.woff2) format("woff2"); unicode-range: U+0102-0103, U+00C2, U+00E2, U+00CE, U+00EE, U+015E-0163, U+0218-021B; }

/* ---------- Tokens: the Avada global palette of coridor.ro ---------- */
:root {
	--cr-c1: #fff;      /* white cards */
	--cr-c2: #f5f5f5;   /* page */
	--cr-c3: #e0d9e5;   /* lilac */
	--cr-c4: #5a0f63;   /* dark purple: buttons, display titles, values */
	--cr-c5: #941881;   /* purple cards */
	--cr-c6: #d9d9d9;   /* grey cards */
	--cr-c7: #333;
	--cr-c8: #000;
	--cr-ff: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--cr-ff-alt: var(--cr-ff);
	--cr-ff-tagline: "Noto Serif", Georgia, "Times New Roman", serif;
	--cr-wrap: 1600px;
	--cr-side: 30px;
	--cr-gap: 20px;
	--cr-r: 16px;
	--cr-sec-gap: 110px;
	/* Type scale: the golden ratio. Four sizes and no others, each the one below times φ (1.618):
	   1rem (16px) · φ (25.9px) · φ² (41.9px) · φ³ (67.8px). Line height is φ for running text.
	   Roles: --cr-fs-1 body, buttons, forms, footer · --cr-fs-2 h3, leads, card titles, values
	   · --cr-fs-3 h1, h2 · --cr-fs-4 the two display titles ("Echipa", "Portofoliul"). */
	--cr-phi: 1.618;
	--cr-fs-1: 1rem;
	--cr-fs-2: 1.618rem;
	--cr-fs-3: 2.618rem;
	--cr-fs-4: 4.236rem;
	--cr-display: var(--cr-fs-4);
	--cr-h1: var(--cr-fs-3);
	--cr-h2: var(--cr-fs-3);
	--cr-h3: var(--cr-fs-2);
}


@media (max-width: 640px) {
	/* Phones: every heading steps down one place on the same scale. Still four sizes in all,
	   on a phone only three are in use (1rem, φ, φ²). */
	:root { --cr-display: var(--cr-fs-3); --cr-h1: var(--cr-fs-2); --cr-h2: var(--cr-fs-2); --cr-h3: var(--cr-fs-2); --cr-sec-gap: 90px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--cr-c2);
	color: var(--cr-c8);
	font: 400 var(--cr-fs-1)/var(--cr-phi) var(--cr-ff);
	letter-spacing: .015em;
	-webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a:hover { color: var(--cr-c5); }
:focus-visible { outline: 3px solid var(--cr-c5); outline-offset: 3px; }
p { margin: 0 0 20px; }
ul { margin: 0 0 20px; padding-left: 40px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; font-weight: 400; line-height: 1.2; letter-spacing: -.015em; }
.cr-text h2, .cr-text h3 { font-size: var(--cr-fs-2); margin: 34px 0 24px; }

.screen-reader-text, .cr-skip:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.cr-skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; background: var(--cr-c1); border-radius: 8px; }

/* ---------- Header ---------- */
.cr-header {
	max-width: var(--cr-wrap);
	margin: 0 auto;
	padding: 32px var(--cr-side) 0;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}
.cr-logo img { display: block; width: 181px; }
.cr-mark img { display: block; width: 45px; }

/* ---------- Main and sections ---------- */
.cr-main {
	max-width: var(--cr-wrap);
	margin: 0 auto;
	padding: 52px var(--cr-side) 0;
}

.cr-sec, .cr-col {
	--cr-pt: initial; --cr-pr: initial; --cr-pb: initial; --cr-pl: initial;
	--cr-pt-m: initial; --cr-pr-m: initial; --cr-pb-m: initial; --cr-pl-m: initial;
	--cr-pt-s: initial; --cr-pr-s: initial; --cr-pb-s: initial; --cr-pl-s: initial;
	--cr-mb: initial; --cr-bg: initial; --cr-bgimg: initial; --cr-bgimg-s: initial; --cr-bgpos: initial; --cr-radius: initial;
	padding: var(--cr-pt, 0) var(--cr-pr, 0) var(--cr-pb, 0) var(--cr-pl, 0);
	background-color: var(--cr-bg, transparent);
	background-image: var(--cr-bgimg, none);
	background-position: var(--cr-bgpos, center);
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: var(--cr-radius, 0);
}
@media (max-width: 1024px) {
	.cr-sec, .cr-col {
		padding: var(--cr-pt-m, var(--cr-pt, 0)) var(--cr-pr-m, var(--cr-pr, 0)) var(--cr-pb-m, var(--cr-pb, 0)) var(--cr-pl-m, var(--cr-pl, 0));
	}
}
@media (max-width: 640px) {
	.cr-sec, .cr-col {
		background-image: var(--cr-bgimg-s, var(--cr-bgimg, none));
		padding: var(--cr-pt-s, var(--cr-pt-m, var(--cr-pt, 0))) var(--cr-pr-s, var(--cr-pr-m, var(--cr-pr, 0))) var(--cr-pb-s, var(--cr-pb-m, var(--cr-pb, 0))) var(--cr-pl-s, var(--cr-pl-m, var(--cr-pl, 0)));
	}
}

.cr-sec { margin: 0 0 var(--cr-sec-gap); }
.cr-main > .cr-sec:last-child, .cr-main > :last-child { margin-bottom: 70px; }
.cr-sec--card { border-radius: var(--cr-radius, var(--cr-r)); background-color: var(--cr-bg, var(--cr-c1)); }
/* Cards printed by the templates (no inline layout hints). */
.cr-article, .cr-card { padding: 30px; }
@media (max-width: 640px) { .cr-article, .cr-card { padding: 20px; } }

/* Rows and columns: a flex row with a 20px gutter. A column of fraction f takes
   f * 100% minus its share of the gutters, so any mix that adds up to 1 fills the row. */
.cr-row { display: flex; flex-wrap: wrap; gap: var(--cr-gap); align-items: stretch; }
.cr-col {
	--f: 1;
	flex: 0 0 calc(var(--f) * 100% - (1 - var(--f)) * var(--cr-gap));
	min-width: 0;
	display: flex;
	flex-direction: column;
}
.cr-w-1-1 { --f: 1; }
.cr-w-1-2 { --f: .5; }
.cr-w-1-3 { --f: calc(1 / 3); }
.cr-w-2-3 { --f: calc(2 / 3); }
.cr-w-1-4 { --f: .25; }
.cr-w-3-4 { --f: .75; }
.cr-w-2-5 { --f: .4; }
.cr-w-3-5 { --f: .6; }
.cr-col > .cr-row + .cr-row { margin-top: var(--cr-gap); }
.cr-col--photo { min-height: 240px; }
.cr-col--card { color: var(--cr-c8); }

@media (max-width: 1024px) {
	/* Avada's tablet copies of the program and portfolio grids used halves. */
	.cr-w-1-4 { --f: .5; }
	.cr-w-3-4 { --f: 1; }
	.cr-col--spacer.cr-w-1-4 { display: none; }
}
@media (max-width: 640px) {
	.cr-col { --f: 1 !important; }
	.cr-col--spacer { display: none; }
	.cr-col--photo { min-height: 220px; }
}

/* ---------- Titles and text ---------- */
.cr-title {
	--cr-fg: initial; --cr-mb: initial;
	color: var(--cr-fg);
	line-height: 1.2;
	letter-spacing: -.015em;
	margin: 0 0 var(--cr-mb, 20px);
}
/* Size follows the element, not the size class Avada picked: h1 and h2 are φ², everything else
   that is a title (h3, lead paragraphs, card titles, values) is φ. The cr-h* classes stay for weight. */
.cr-title { font-size: var(--cr-fs-2); }
h1.cr-title { font-size: var(--cr-h1); font-weight: 700; }
h2.cr-title { font-size: var(--cr-h2); }
h3.cr-title { font-size: var(--cr-h3); }
.cr-h4 strong, .cr-h3 strong { font-weight: 700; }
.cr-hp { font-size: var(--cr-fs-1); line-height: var(--cr-phi); letter-spacing: .015em; }
.cr-title.cr-display { font-size: var(--cr-display); }
.cr-ff-alt { font-family: var(--cr-ff-alt); font-weight: 700; }
.cr-fw-400 { font-weight: 400; }
/* The logo's tagline voice: light serif italic, for one short line per page at most. */
.cr-tagline { font-family: var(--cr-ff-tagline); font-style: italic; font-weight: 300; letter-spacing: 0; }
.cr-title > :last-child { margin-bottom: 0; }
.cr-title ul { margin-top: 14px; font-size: inherit; }
.cr-col > :last-child { margin-bottom: 0; }

.cr-text { --cr-fg: initial; color: var(--cr-fg); }
.cr-text > :last-child { margin-bottom: 0; }
.cr-text li { margin: 0; }

.cr-gap { --cr-sp: initial; height: var(--cr-sp, 20px); flex: none; }
.cr-hr { border: 0; border-top: 1px solid var(--cr-c6); margin: 20px 0; }

/* ---------- Images ---------- */
.cr-img { --cr-maxw: initial; --cr-radius: initial; margin: 0 0 20px; max-width: var(--cr-maxw, 100%); }
.cr-img img { display: block; width: 100%; border-radius: var(--cr-radius, 0); }
.cr-ar-3-2 img { aspect-ratio: 3 / 2; object-fit: cover; }
.cr-ar-4-3 img { aspect-ratio: 4 / 3; object-fit: cover; }
.cr-ar-1-1 img { aspect-ratio: 1; object-fit: cover; }
.cr-ar-16-9 img { aspect-ratio: 16 / 9; object-fit: cover; }
.cr-align-right { margin-left: auto; }
.cr-align-center { margin-inline: auto; }

/* ---------- Buttons and circles ---------- */
.cr-btnwrap { margin: 0 0 20px; }
.cr-btn {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	padding: 13px 29px;
	min-height: 58px;
	border: 0;
	border-radius: var(--cr-r);
	background: var(--cr-c4);
	color: var(--cr-c1);
	font: 700 var(--cr-fs-1)/1.2 var(--cr-ff-alt);
	letter-spacing: .015em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.cr-btn:hover, .cr-btn:focus-visible { background: var(--cr-c6); color: var(--cr-c5); }
.cr-btn .cr-ico { font-size: var(--cr-fs-2); display: inline-flex; }
.cr-ico .cr-svg, .cr-circle .cr-svg { display: block; }
@media (max-width: 640px) {
	.cr-btn { gap: 12px; padding: 13px 20px; }
	.cr-btn .cr-ico { font-size: var(--cr-fs-2); }
}

.cr-circlewrap { margin-top: auto; padding-top: 10px; display: flex; justify-content: flex-end; }
.cr-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--cr-c4);
	color: var(--cr-c1);
	font-size: var(--cr-fs-2);
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
.cr-circle:hover, .cr-circle:focus-visible { background: var(--cr-c6); color: var(--cr-c5); }
.cr-circle .cr-ico { display: inline-flex; font-size: var(--cr-fs-2); }

/* ---------- Title bar (legal pages) ---------- */
.cr-titlebar { text-align: center; padding: 64px 0 76px; }
.cr-titlebar .cr-title { margin: 0; }
.cr-meta { margin: 8px 0 0; color: var(--cr-c7); font-size: var(--cr-fs-1); }
.cr-article .cr-title { margin-bottom: 24px; }
.cr-list { display: grid; gap: var(--cr-gap); }
.cr-list .cr-sec { margin: 0; }

/* ---------- Contact: form and map ---------- */
.cr-form { display: grid; gap: 28px; }
.cr-field label { display: block; font-size: var(--cr-fs-1); line-height: 1.2; margin: 0 0 1px; }
.cr-field input, .cr-field textarea {
	display: block;
	width: 100%;
	min-height: 62px;
	padding: 10px 14px;
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, .3);
	border-right: 1px solid rgba(0, 0, 0, .3);
	border-radius: 6px;
	background: transparent;
	color: var(--cr-c8);
	font: 400 var(--cr-fs-1)/1.2 var(--cr-ff);
}
.cr-field textarea { min-height: 105px; resize: vertical; }
.cr-field input:focus, .cr-field textarea:focus { outline: 2px solid var(--cr-c5); outline-offset: 0; }
.cr-form .cr-btn { justify-self: start; font-family: var(--cr-ff); font-weight: 400; margin-top: -12px; }
.cr-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cr-notice { padding: 16px 20px; margin: 0 0 24px; border-radius: 8px; text-align: center; }
.cr-notice--ok { background: #e6f4ea; color: #0f5132; }
.cr-notice--err { background: #fdecea; color: #842029; }

.cr-map { height: 100%; min-height: 620px; }
.cr-map iframe { display: block; width: 100%; height: 100%; min-height: 620px; border: 0; border-radius: var(--cr-r); }
@media (max-width: 640px) {
	.cr-map, .cr-map iframe { min-height: 420px; }
}

/* ---------- Footer ---------- */
.cr-footer {
	max-width: var(--cr-wrap);
	margin: 0 auto;
	padding: 0 var(--cr-side) 30px;
}
.cr-footer__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cr-footer__logo { display: block; width: 181px; margin-bottom: 16px; }
.cr-footer__about p { margin: 0; }
.cr-footer__about a { text-decoration: none; }
.cr-footer__circles { display: flex; gap: 10px; }
.cr-footer__bar {
	margin-top: 80px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	font-size: var(--cr-fs-1);
	line-height: var(--cr-phi);
}
.cr-footer__bar p { margin: 0; }
.cr-footer__bar a { text-decoration: none; }
.cr-footer__credit { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cr-footer__credit img { display: inline-block; vertical-align: middle; }
@media (max-width: 640px) {
	.cr-footer__top { flex-direction: column; align-items: stretch; }
	.cr-footer__circles { justify-content: flex-end; margin-top: 30px; }
	.cr-footer__bar { flex-direction: column; align-items: flex-start; margin-top: 70px; }
}

/* ---------- Complianz banner on the type scale: only while the plugin is still active ----------
   banner-1-optin.css loads after this file, hence the id on the close button. Delete once Complianz is gone. */
.cmplz-cookiebanner {
	--cmplz_title_font_size: var(--cr-fs-1);
	--cmplz_text_font_size: var(--cr-fs-1);
	--cmplz_link_font_size: var(--cr-fs-1);
	--cmplz_button_font_size: var(--cr-fs-1);
	--cmplz_category_header_title_font_size: var(--cr-fs-1);
	--cmplz_category_header_active_font_size: var(--cr-fs-1);
	--cmplz_category_body_font_size: var(--cr-fs-1);
	font-family: var(--cr-ff);
}
.cmplz-cookiebanner .cmplz-title { font-weight: 700; }
.cmplz-cookiebanner .cmplz-btn { font-family: inherit; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close:hover { font-size: var(--cr-fs-2); }

/* ---------- Legal pages: tables and code ---------- */
.cr-text h3 + p, .cr-text h2 + p { margin-top: 0; }
.cr-table { overflow-x: auto; margin: 0 0 24px; }
.cr-table table { width: 100%; border-collapse: collapse; font-size: var(--cr-fs-1); line-height: var(--cr-phi); }
.cr-table th, .cr-table td { padding: 10px 14px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--cr-c6); }
.cr-table th { font-weight: 700; }
.cr-text code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1em; overflow-wrap: anywhere; }

/* ---------- Cookie consent (inc/consent.php) ---------- */
.cr-consent {
	position: fixed;
	z-index: 1000;
	left: 20px;
	bottom: 20px;
	width: min(560px, calc(100% - 40px));
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 30px;
	border-radius: 16px;
	background: var(--cr-c1);
	color: var(--cr-c7);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
	font-size: var(--cr-fs-1);
	line-height: var(--cr-phi);
}
.cr-consent[hidden] { display: none; }
.cr-consent p { margin: 0 0 16px; }
.cr-consent__title { font-weight: 700; color: var(--cr-c4); }
.cr-consent__prefs { display: grid; gap: 14px; margin: 0 0 20px; }
.cr-consent__prefs[hidden] { display: none; }
.cr-consent__opt { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.cr-consent__opt input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--cr-c4); }
.cr-consent__opt strong { display: block; }
.cr-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.cr-consent__actions .cr-btn { min-height: 48px; padding: 10px 22px; font-family: var(--cr-ff); }
.cr-consent__actions .cr-btn[hidden] { display: none; }
.cr-btn--ghost { background: var(--cr-c2); color: var(--cr-c4); }
.cr-consent__links { margin: 0; }
.cr-consent__links a { color: var(--cr-c5); }
@media (max-width: 640px) {
	.cr-consent { left: 10px; bottom: 10px; width: calc(100% - 20px); padding: 20px; }
	.cr-consent__actions .cr-btn { flex: 1 1 auto; justify-content: center; }
}
.cr-map__gate {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	min-height: inherit;
	padding: 30px;
	border-radius: var(--cr-r);
	background: var(--cr-c1);
}
.cr-map iframe[hidden] { display: none; }
.cr-map__gate p { margin: 0 0 16px; }
.cr-map__gate p:last-child { margin: 0; }
.cr-map__gate a { color: var(--cr-c5); }
[data-cr-consent-open][hidden], [data-cr-consent-map][hidden] { display: none; }

/* ---------- Visibility helpers written by the migration ---------- */
@media (min-width: 1025px) { .cr-hide-l { display: none !important; } }
@media (min-width: 641px) and (max-width: 1024px) { .cr-hide-m { display: none !important; } }
@media (max-width: 640px) { .cr-hide-s { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
