/*
Theme Name: FVI
Description: Θέμα για την FAIR VALUE INVESTING ΜΟΝΟΠΡΟΣΩΠΗ Ι.Κ.Ε.
Version: 1.2.0
Requires PHP: 8.0
Text Domain: fvi
*/

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/manrope-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/manrope-latin.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: "Literata"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(assets/fonts/literata-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(assets/fonts/literata-latin.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: "Literata"; font-style: italic; font-weight: 500; font-display: swap; src: url(assets/fonts/literata-italic-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 500; font-display: swap; src: url(assets/fonts/literata-italic-latin.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; }


:root {
	--ink: #0E2A3B;
	--ink-2: #17405a;
	--ink-deep: #0a1f2c;
	--brass: #C2925A;
	--brass-dark: #8a6232;
	--brass-soft: #f1e6d6;
	--paper: #F8F6F1;
	--sand: #EFEBE2;
	--line: #DFD9CC;
	--text: #1B2A33;
	--muted: #5B6770;
	--radius: 16px;
	--serif: "Literata", Georgia, "Times New Roman", serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--brass-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; font-optical-sizing: auto; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 48px); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brass); }

.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); color: #fff; transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 246, 241, .9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-text { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); line-height: 1; letter-spacing: -.01em; }
.brand-text small { display: block; margin-top: 5px; font-family: var(--sans); font-weight: 700; font-size: 10.5px; letter-spacing: .38em; text-transform: uppercase; color: var(--brass-dark); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text); }
.site-nav a:hover { color: var(--brass-dark); }
.site-nav .nav-cta { background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--ink-2); color: #fff; }
.nav-toggle { display: none; place-items: center; width: 46px; height: 46px; margin-right: -8px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle:hover { background: var(--sand); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, background .2s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.site-header.is-open .nav-toggle-bars { background: transparent; }
.site-header.is-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 104px); background:
	radial-gradient(800px 420px at 90% 10%, rgba(194, 146, 90, .16), transparent 60%),
	radial-gradient(600px 400px at 0% 100%, rgba(14, 42, 59, .05), transparent 60%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 74px); margin-bottom: 26px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--brass-dark); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 32em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { margin: 0; background: linear-gradient(160deg, var(--ink-2), var(--ink) 55%, var(--ink-deep)); border-radius: 24px; padding: 24px 24px 20px; box-shadow: 0 40px 80px -40px rgba(14, 42, 59, .6); color: rgba(255, 255, 255, .7); }
.hero-figure-head { display: flex; gap: 20px; margin-bottom: 14px; font-size: 13px; font-weight: 600; }
.legend { display: inline-flex; align-items: center; gap: 8px; }
.legend::before { content: ""; width: 18px; height: 3px; border-radius: 2px; }
.legend-price::before { background: #fff; }
.legend-fair::before { background: repeating-linear-gradient(90deg, var(--brass) 0 6px, transparent 6px 10px); }
.hero-figure .grid path { stroke: rgba(255, 255, 255, .07); stroke-width: 1; fill: none; }
.hero-figure .fair { stroke: var(--brass); stroke-width: 3; stroke-dasharray: 10 8; fill: none; }
.hero-figure .price { stroke: #fff; stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s ease-out .3s forwards; }
.hero-figure .dot { fill: var(--brass); opacity: 0; animation: pop .4s ease-out 2.8s forwards; }
.hero-figure figcaption { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.hero-figure .price { animation: none; stroke-dashoffset: 0; }
	.hero-figure .dot { animation: none; opacity: 1; }
	html { scroll-behavior: auto; }
}

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: var(--sand); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); font-size: 18px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px 30px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(14, 42, 59, .35); border-color: #cfc6b4; }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.service-icon { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--brass-soft); fill: none; stroke: var(--brass-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-num { font: 600 15px var(--serif); color: var(--brass-dark); }
.service h3 { font-size: 23px; }
.service > p { color: var(--muted); }
.service ul { list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.service li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 15px; font-weight: 500; }
.service li::before { content: ""; position: absolute; left: 0; top: .68em; width: 10px; height: 2px; background: var(--brass); }

.section-dark { background: var(--ink); color: rgba(255, 255, 255, .75); position: relative; overflow: hidden; }
.section-dark::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; background: url(assets/img/fvi-symbol-white.svg) center / contain no-repeat; opacity: .05; pointer-events: none; }
.section-dark h3 { color: #fff; }
.quote { margin: 0 0 64px; max-width: 900px; }
.quote p { font: 500 clamp(28px, 4vw, 46px)/1.2 var(--serif); font-style: italic; color: #fff; margin-bottom: 18px; }
.quote cite { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; z-index: 1; }
.principle { border-top: 2px solid var(--brass); padding-top: 22px; }
.principle p { margin: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--brass); font: 600 15px var(--serif); color: var(--brass-dark); background: var(--paper); z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 46px; right: -22px; height: 1.5px; background: var(--line); }
.steps p { color: var(--muted); margin: 0; }

.company-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.company-grid > div p:last-child { color: var(--muted); }
.facts { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.facts th, .facts td { text-align: left; padding: 14px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 36%; font-weight: 600; color: var(--muted); }
.facts td { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { display: block; background: var(--ink); color: #fff; text-decoration: none; border-radius: var(--radius); padding: 26px 28px; transition: transform .2s, background .2s; }
.contact-card:last-child { grid-column: 1 / -1; }
.contact-card:hover { background: var(--ink-2); color: #fff; transform: translateY(-2px); }
.contact-card span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px; }
.contact-card strong { display: block; font: 600 22px var(--serif); overflow-wrap: anywhere; }
.contact-card em { font-style: normal; color: rgba(255, 255, 255, .7); }

.disclaimer { padding: 28px 0; border-top: 1px solid var(--line); }
.disclaimer p { font-size: 13.5px; color: var(--muted); margin: 0; max-width: 72em; }

/* Inner pages */
.page-head { padding: clamp(48px, 7vw, 84px) 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.page-head h1 { font-size: clamp(32px, 5vw, 50px); }
.page-meta { color: var(--muted); font-size: 14px; margin: 0; }
.prose { padding-bottom: 88px; }
.prose h2 { font-size: 24px; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* Footer */
.site-footer { background: var(--ink-deep); color: rgba(255, 255, 255, .75); font-size: 14.5px; padding-top: 64px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--brass); }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-bottom: 44px; }
.footer-brand img { width: 220px; height: auto; margin-bottom: 20px; }
.footer-legal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; margin: 0; }
.footer-legal dt { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.footer-legal dd { margin: 2px 0 0; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }

@media (max-width: 1000px) {
	.hero-grid, .company-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 44px; }
	.services, .principles { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
	.steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 860px) {
	.header-inner { min-height: 68px; }
	.brand img { width: 38px; height: 38px; }
	.brand-text { font-size: 20px; }
	.nav-toggle { display: grid; }
	.site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(14, 42, 59, .35); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
	.site-header.is-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
	.site-nav a { padding: 15px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
	.site-nav .nav-cta { margin-top: 18px; padding: 14px 20px; text-align: center; border-bottom: 0; }
	html { scroll-padding-top: 80px; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
	.site-nav, .site-header.is-open .site-nav { transition: none; transform: none; }
}
@media (max-width: 640px) {
	.wrap, .wrap.narrow { width: calc(100% - 32px); }
	.steps { grid-template-columns: 1fr; }
	.steps li::after { display: none; }
	.contact-cards { grid-template-columns: 1fr; }
	.footer-legal { grid-template-columns: 1fr; }
	.facts th, .facts td { display: block; width: 100%; padding: 4px 18px; border: 0; }
	.facts th { padding-top: 14px; font-size: 13px; }
	.facts tr { display: block; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
}
