/*
Theme Name: Fronisis
Description: Ενημερωτική ιστοσελίδα για το λογιστικό γραφείο Φρόνησις.
Version: 2.0.0
Text Domain: fronisis
*/
:root {
  color-scheme: light;
  --paper: #fbf8f3;
  --ink: #251f1b;
  --muted: #625951;
  --accent: #a64119;
  --line: #e7ddd2;
  font: 17px/1.6 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid #bf552d; outline-offset: 4px; }
.wrap { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); background: #fff; }
.top { min-height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-block: 12px; }
.brand { display: block; width: 157px; height: 64px; overflow: hidden; position: relative; }
.brand img { position: absolute; width: 166px; height: auto; left: -5px; top: -50px; }
nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
nav a { text-decoration: none; font-size: .88rem; font-weight: 650; }
nav a:hover { text-decoration: underline; }
.hero { padding-block: clamp(58px, 9vw, 120px); background: #f3e9dd; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(28px, 6vw, 84px); }
h1, h2, h3 { line-height: 1.12; margin: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; }
h1 { font-size: clamp(3rem, 6.5vw, 5.7rem); letter-spacing: -.06em; max-width: 13ch; }
h1 em { display: block; color: var(--accent); }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -.035em; }
h3 { font-size: 1.12rem; }
p { margin: 16px 0 0; max-width: 64ch; color: var(--muted); }
.hero p { max-width: 37ch; font-size: 1.1rem; }
.hero-brand { min-height: 300px; display: grid; place-items: center; padding: 38px; border-radius: 10px; background: linear-gradient(140deg, #392c24, #211b18); }
.brand-tile { width: min(100%, 350px); aspect-ratio: 2; overflow: hidden; position: relative; background: #fdfdfd; box-shadow: 0 16px 32px #140e0b55; border-radius: 4px; }
.brand-tile img { width: 100%; height: auto; position: absolute; top: 50%; transform: translateY(-50%); display: block; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button, .mobile-call { display: inline-block; padding: 12px 18px; border: 1px solid var(--accent); border-radius: 5px; text-decoration: none; background: var(--accent); color: #fff; font-weight: 650; font-size: .94rem; }
.button:hover, .mobile-call:hover { text-decoration: underline; }
.button.secondary { background: transparent; color: var(--accent); }
.section { padding-block: clamp(48px, 7vw, 94px); }
.section + .section { border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 25px; }
.card h3::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: 19px; background: var(--accent); }
.card ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); }
.card li + li { margin-top: 9px; }
.card li::marker { color: var(--accent); }
.contact { background: #29201c; color: #fff; }
.contact p { color: #ede1d6; }
.contact .button { background: #f6e5d6; border-color: #f6e5d6; color: #35251e; }
.contact .button.secondary { background: transparent; color: #f6e5d6; overflow-wrap: anywhere; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 24px; font-size: .86rem; }
.mobile-call { display: none; }
@media (max-width: 820px) {
  .hero-grid, .grid { grid-template-columns: 1fr; }
  .hero-brand { display: none; }
  .card { padding: 20px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  nav { gap: 6px 16px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .mobile-call { position: fixed; z-index: 5; display: block; text-align: center; bottom: calc(10px + env(safe-area-inset-bottom)); left: 16px; right: 16px; box-shadow: 0 4px 20px #241b1855; }
}
