/* ==========================================================================
   pkacc.gr — vanilla CSS (no framework).
   Trustworthy, modern accounting / advisory aesthetic: deep navy + gold.
   ========================================================================== */

:root {
    --brand: #163e6b;
    --brand-dark: #0d2a4a;
    --brand-light: #2a6cb0;
    --accent: #c9a227;
    --accent-soft: #f3e7bf;
    --ink: #1c2633;
    --muted: #5a6778;
    --surface: #ffffff;
    --bg-top: #f6f8fb;
    --bg-bottom: #e9eef5;
    --ring: rgba(22, 62, 107, 0.12);
    --shadow-sm: 0 1px 2px rgba(13, 42, 74, 0.06), 0 2px 8px -2px rgba(13, 42, 74, 0.08);
    --shadow-md: 0 10px 30px -12px rgba(13, 42, 74, 0.30), 0 2px 8px -4px rgba(13, 42, 74, 0.10);
    --shadow-lg: 0 24px 50px -20px rgba(13, 42, 74, 0.40), 0 8px 20px -12px rgba(13, 42, 74, 0.18);
    --radius: 1.25rem;
    --header-h: 5rem;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    font-family: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
    color: var(--brand-dark);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: var(--accent-soft);
    color: var(--brand-dark);
}

.hidden {
    display: none;
}

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

/* ---------- Header / navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: var(--header-h);
    padding: 0 1rem;
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--ring);
    box-shadow: var(--shadow-sm);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.logo img {
    height: 2.5rem;
    width: 2.5rem;
}

.logo-text {
    font-family: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.logo-text em {
    font-style: normal;
    font-weight: 600;
    color: var(--brand-light);
}

.nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
}

.nav a {
    position: relative;
    color: var(--ink);
    text-decoration: none;
    padding: 0.35rem 0.2rem;
    transition: color 0.2s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav a:hover {
    color: var(--brand);
}

.nav a:hover::after {
    transform: scaleX(1);
}

.nav a[aria-current="page"] {
    color: var(--brand);
}

.nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.burger {
    padding: 0 0.25rem;
    font-size: 2.25rem;
    line-height: 1;
    color: var(--brand);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.burger:hover {
    color: var(--brand-dark);
    transform: scale(1.05);
}

/* Mobile dropdown panel */
@media (max-width: 1023px) {
    .nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        z-index: 50;
        width: 100%;
        padding: 1.25rem 0;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--ring);
        box-shadow: var(--shadow-md);
    }

    .nav.hidden {
        display: none;
    }

    .btn-header {
        display: none;
    }
}

@media (min-width: 1024px) {
    .site-header {
        padding: 0 2rem;
    }

    .logo-text {
        font-size: 1.35rem;
    }

    .burger {
        display: none;
    }

    .nav,
    .nav.hidden {
        display: block;
    }

    .nav ul {
        flex-direction: row;
        justify-content: center;
        gap: 1.75rem;
        font-size: 1.05rem;
    }
}

/* ---------- Main / page background ---------- */
.main {
    display: flex;
    flex-direction: column;
}

.bg-soft {
    background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

.container {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Entrance animation for page content */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.main > * {
    animation: fade-up 0.5s ease both;
}

.main > *:nth-child(2) {
    animation-delay: 0.08s;
}

.main > *:nth-child(3) {
    animation-delay: 0.16s;
}

/* ---------- Hero (index) ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 4rem;
    color: #ffffff;
    background:
        radial-gradient(60rem 30rem at 110% -20%, rgba(201, 162, 39, 0.35), transparent 60%),
        radial-gradient(40rem 25rem at -10% 110%, rgba(42, 108, 176, 0.55), transparent 60%),
        linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 3rem 3rem;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 85%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 85%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero .eyebrow {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.3rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-soft);
    border: 1px solid rgba(243, 231, 191, 0.4);
    border-radius: 9999px;
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
}

.hero h1 span {
    color: var(--accent);
}

.hero .lead {
    max-width: 40rem;
    margin: 0 0 1.75rem;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
}

.hero .cta-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2.5rem 0 0;
    padding: 0;
    list-style: none;
}

.hero-facts li {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.hero-facts strong {
    display: block;
    font-family: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.hero-facts span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 768px) {
    .hero {
        padding: 5rem 0 5.5rem;
    }

    .hero h1 {
        font-size: 3.25rem;
    }

    .hero .lead {
        font-size: 1.3rem;
    }

    .hero-facts {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ---------- Sections ---------- */
.section {
    padding: 3rem 0;
}

.section-head {
    max-width: 44rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.section-head h2 {
    margin: 0 0 0.5rem;
    font-size: 1.9rem;
    font-weight: 800;
}

.section-head h2::after {
    content: "";
    display: block;
    width: 4rem;
    height: 4px;
    margin: 0.7rem auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
}

.section-head p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--muted);
}

@media (min-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .section-head h2 {
        font-size: 2.25rem;
    }
}

/* ---------- Page title (subpages) ---------- */
.page-head {
    padding: 3rem 0 2.5rem;
    color: #ffffff;
    text-align: center;
    background:
        radial-gradient(50rem 25rem at 100% 0%, rgba(201, 162, 39, 0.3), transparent 60%),
        linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.page-head h1 {
    margin: 0 0 0.5rem;
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
}

.page-head h1::after {
    content: "";
    display: block;
    width: 4.5rem;
    height: 4px;
    margin: 0.7rem auto 0;
    border-radius: 2px;
    background: var(--accent);
}

.page-head p {
    max-width: 44rem;
    margin: 0.75rem auto 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 768px) {
    .page-head h1 {
        font-size: 2.75rem;
    }
}

/* ---------- Cards ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Service / feature card */
.feature {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
}

.feature .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.1rem;
    color: var(--brand);
    background: linear-gradient(135deg, var(--bg-top), var(--accent-soft));
    border: 1px solid var(--ring);
    border-radius: 1rem;
}

.feature .icon svg {
    width: 1.6rem;
    height: 1.6rem;
}

.feature h3 {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.feature p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.feature .more {
    margin-top: auto;
    font-weight: 600;
    color: var(--brand);
    text-decoration: none;
}

.feature .more:hover {
    color: var(--brand-light);
    text-decoration: underline;
}

.feature .tag {
    align-self: flex-start;
    margin-bottom: 0.75rem;
    padding: 0.2rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand-dark);
    background: var(--accent-soft);
    border-radius: 9999px;
}

/* ---------- Prose card (company, nepa, espa) ---------- */
.prose {
    max-width: 70ch;
    margin: 2.5rem auto;
    padding: 1.75rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.prose > :first-child {
    margin-top: 0;
}

.prose h2 {
    margin: 1.75rem 0 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.prose h3 {
    margin: 1.25rem 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.prose ul {
    padding-left: 1.5rem;
}

.prose ul li {
    margin-bottom: 0.5rem;
}

.prose ul li::marker {
    color: var(--accent);
}

.prose blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    font-style: italic;
    color: var(--brand-dark);
    background: var(--bg-top);
    border-left: 4px solid var(--accent);
    border-radius: 0 1rem 1rem 0;
}

.prose blockquote p {
    margin: 0;
}

.prose .note {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    color: var(--muted);
    background: var(--bg-top);
    border: 1px dashed var(--ring);
    border-radius: 1rem;
}

@media (min-width: 768px) {
    .prose {
        padding: 2.5rem;
        font-size: 1.2rem;
    }
}

/* ---------- Check-list ---------- */
.check-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin: 0;
    padding: 0.85rem 1rem 0.85rem 2.7rem;
    background: var(--bg-top);
    border: 1px solid var(--ring);
    border-radius: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    color: var(--accent);
    font-weight: 700;
}

.check-list li:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ---------- Steps (ESPA / NEPA process) ---------- */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 4.5rem;
    counter-increment: step;
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 1.4rem;
    left: 1.25rem;
    font-family: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
}

.steps h3 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.steps p {
    margin: 0;
    color: var(--muted);
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Definition list (legal details) ---------- */
.details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem 1.5rem;
    margin: 0;
}

.details dt {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.details dd {
    margin: 0 0 1rem;
    font-weight: 500;
}

@media (min-width: 640px) {
    .details {
        grid-template-columns: max-content 1fr;
    }

    .details dt {
        padding-top: 0.2rem;
    }
}

/* ---------- Team ---------- */
.person {
    padding: 1.75rem;
}

.person .avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    margin-bottom: 1rem;
    font-family: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    border-radius: 9999px;
}

.person h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.person .role {
    margin: 0.2rem 0 0.9rem;
    font-weight: 600;
    color: var(--brand-light);
}

.person p {
    margin: 0 0 0.75rem;
    color: var(--muted);
}

.person ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--muted);
}

.person ul li::marker {
    color: var(--accent);
}

/* ---------- Highlight band (NEPA teaser / CTA) ---------- */
.band {
    padding: 3rem 0;
    color: #ffffff;
    background:
        radial-gradient(40rem 20rem at 0% 100%, rgba(42, 108, 176, 0.6), transparent 60%),
        linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.band .container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.band h2 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
}

.band p {
    margin: 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
}

.band .cta-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .band .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .band .band-text {
        max-width: 42rem;
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    font-family: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border-radius: 9999px;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: var(--shadow-lg);
}

.btn svg {
    height: 1.25rem;
    width: 1.25rem;
}

.btn-primary {
    color: var(--brand-dark);
    background: linear-gradient(90deg, var(--accent), #e0bd45);
}

.btn-outline {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.16);
}

.btn-brand {
    color: #ffffff;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
}

.btn-header {
    padding: 0.5rem 1.1rem;
    font-size: 0.95rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.contact-card {
    padding: 1.75rem;
}

.contact-card h2 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.contact-list svg {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.15rem;
    color: var(--brand);
}

.contact-list strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-list a {
    text-decoration: none;
    color: var(--ink);
    transition: color 0.2s ease;
}

.contact-list a:hover {
    color: var(--brand);
    text-decoration: underline;
}

.map {
    overflow: hidden;
    padding: 0;
}

.map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 22rem;
    border: 0;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- Footer ---------- */
.site-footer {
    padding: 3rem 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    background: var(--brand-dark);
    border-top: 4px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.site-footer h2 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
}

.site-footer p {
    margin: 0 0 0.5rem;
}

.site-footer .footer-brand .logo-text {
    color: #ffffff;
}

.site-footer .footer-brand .logo-text em {
    color: var(--accent);
}

.site-footer .footer-brand p {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer address {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0;
    font-style: normal;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin-bottom: 0.4rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--accent);
}

.site-footer .social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.site-footer .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-footer .social a:hover {
    color: var(--brand-dark);
    background: var(--accent);
    border-color: var(--accent);
}

.site-footer .social svg {
    width: 1.2rem;
    height: 1.2rem;
}

.footer-legal {
    max-width: 72rem;
    margin: 2.5rem auto 0;
    padding-top: 1.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal p {
    margin: 0.25rem 0;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }
}

/* ---------- Accessibility ---------- */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

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

    html {
        scroll-behavior: auto;
    }
}
