/* Kapos & Associates – κοινό stylesheet */

:root {
  --navy: #051c2c;
  --navy-2: #0b2a40;
  --blue: #378dc7;
  --blue-dark: #23699b;
  --ink: #1d2730;
  --muted: #5b6770;
  --line: #dde3e8;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  /* Χρώματα που αλλάζουν στο σκούρο θέμα */
  --surface: #ffffff;        /* header, κάρτες, πεδία φόρμας */
  --heading: var(--navy);    /* τίτλοι και έντονο κείμενο σε ανοιχτό φόντο */
  --link: var(--blue-dark);
  --link-hover: var(--navy);
  --dark: var(--navy);       /* hero, τίτλοι σελίδων, footer, σκούρες ενότητες */
  --cta: var(--navy);
  --accent-soft: #e8f2fa;
  --input-line: #b9c3cb;
  --shadow: rgba(5, 28, 44, .12);
  color-scheme: light;
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 4px;
  --container: 1180px;
}

/* Σκούρο θέμα (προεπιλογή): το data-theme το ορίζει το script στο base.html. Χωρίς JS μένει το φωτεινό. */
:root[data-theme="dark"] {
  --ink: #d6dee5; --muted: #9babb7; --line: #233442; --bg: #0b1620; --bg-alt: #0f1d29;
  --surface: #122230; --heading: #eef3f7; --link: #7fbbe6; --link-hover: #b8d9f2;
  --dark: #07111a; --cta: var(--blue-dark); --accent-soft: #163650; --input-line: #34495b;
  --shadow: rgba(0, 0, 0, .4); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1.0625rem/1.7 var(--sans);
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.25; color: var(--heading); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 2.5rem); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.eyebrow {
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .75rem;
}
.eyebrow a { color: inherit; text-decoration: none; }

.btn {
  display: inline-block; padding: .8rem 1.6rem; border: 2px solid var(--blue); border-radius: var(--radius);
  background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer;
  font: inherit; font-weight: 600; transition: background .2s, border-color .2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--ghost-dark { background: transparent; color: var(--heading); border-color: var(--line); }
.btn--ghost-dark:hover { background: var(--bg-alt); color: var(--heading); border-color: var(--heading); }

.more { font-weight: 600; text-decoration: none; }
.more::after { content: " →"; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand img { width: auto; height: 40px; }
/* Λευκό λογότυπο στο σκούρο θέμα */
.brand .brand__dark { display: none; }
:root[data-theme="dark"] .brand .brand__light { display: none; }
:root[data-theme="dark"] .brand .brand__dark { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; align-items: center; gap: .25rem; }
.site-nav a { display: block; padding: .5rem .75rem; color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 600; }
.site-nav > ul > li > a { white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--link); }
.site-nav .nav-cta { background: var(--cta); color: #fff; border-radius: var(--radius); margin-left: .5rem; padding-inline: 1.1rem; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: var(--blue-dark); color: #fff; }
/* Εναλλαγή γλώσσας */
.site-nav .lang-switch { display: flex; align-items: center; gap: .4rem; margin-left: .5rem; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: var(--radius); font-size: .8125rem; letter-spacing: .06em; }
.site-nav .lang-switch:hover { border-color: var(--heading); color: var(--heading); }
.lang-switch .flag { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); }
/* Κουμπί φωτεινού/σκούρου θέματος (το βάζει το main.js) */
.theme-toggle {
  display: grid; place-items: center; width: 36px; height: 36px; margin-left: .25rem; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius); background: none; color: var(--ink); cursor: pointer;
}
.theme-toggle:hover { border-color: var(--heading); color: var(--heading); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun, :root[data-theme-active="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme-active="dark"] .theme-toggle .icon-sun { display: block; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 320px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 12px 30px var(--shadow); padding: .5rem 0 !important; display: none;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { font-weight: 400; padding: .5rem 1.1rem; }
.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .nav-toggle {
    display: block; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative;
  }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
    position: absolute; left: 10px; width: 24px; height: 2px; background: var(--heading); content: ""; transition: transform .2s;
  }
  .nav-toggle__bar { top: 21px; }
  .nav-toggle__bar::before { top: -7px; left: 0; }
  .nav-toggle__bar::after { top: 7px; left: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); max-height: calc(100vh - 76px); overflow-y: auto; }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1.25rem; gap: 0; }
  .site-nav a { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .sub { position: static; display: block; border: 0; box-shadow: none; min-width: 0; padding: 0 0 0 1rem !important; }
  .site-nav .nav-cta { margin: 1rem 0 0; text-align: center; padding: .8rem; border: 0; }
  .site-nav .lang-switch { justify-content: center; margin: .75rem 0 0; text-align: center; border: 1px solid var(--line); }
  .theme-toggle { width: 100%; height: 44px; margin: .75rem 0 0; }
}

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--dark) url("/assets/img/hero.jpg") 70% center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 28, 44, .94) 0%, rgba(5, 28, 44, .82) 48%, rgba(5, 28, 44, .25) 68%);
}
.hero__inner { position: relative; display: grid; gap: 2.5rem; padding: clamp(4rem, 9vw, 7.5rem) 0; max-width: var(--container); }
.hero__text { max-width: 640px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #9cc9ea; }
.hero .lead { font-size: 1.1875rem; color: rgba(255, 255, 255, .85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Εναλλασσόμενα γνωμικά, μόνο με CSS */
.quotes { position: relative; max-width: 560px; min-height: 16.5rem; }
.quote {
  position: absolute; inset: 0; margin: 0; padding-left: 1.5rem; border-left: 3px solid var(--blue);
  opacity: 0; animation: quote-cycle 16s infinite;
}
.quote:nth-child(2) { animation-delay: 8s; }
.quote blockquote { position: relative; margin: 0 0 .75rem; padding-bottom: 1rem; font: 500 1.375rem/1.45 var(--serif); }
/* Γραμμή χρόνου: αδειάζει προς τα αριστερά όσο εμφανίζεται το γνωμικό */
.quote blockquote::before, .quote blockquote::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
}
.quote blockquote::before { background: rgba(255, 255, 255, .15); }
.quote blockquote::after {
  background: var(--blue); transform-origin: left center;
  animation: quote-timer 16s linear infinite;
}
.quote:nth-child(2) blockquote::after { animation-delay: 8s; }
.quote figcaption { color: rgba(255, 255, 255, .75); font-size: .9375rem; margin-bottom: .75rem; }
.quote cite { font-style: normal; font-weight: 600; color: #fff; }
.quote p { color: rgba(255, 255, 255, .7); font-size: .9375rem; margin: 0; }
/* Κύκλος 16s για 2 γνωμικά: το καθένα εμφανίζεται 0–3%, μένει ως 48%, σβήνει ως 50% */
@keyframes quote-cycle {
  0% { opacity: 0; transform: translateY(8px); }
  3%, 48% { opacity: 1; transform: none; }
  50%, 100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes quote-timer {
  0%, 3% { transform: scaleX(1); }
  48%, 100% { transform: scaleX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .quotes { min-height: 0; }
  .quote { position: static; opacity: 1; animation: none; margin-bottom: 1.5rem; }
  .quote blockquote { padding-bottom: 0; }
  .quote blockquote::before, .quote blockquote::after { display: none; }
}
@media (max-width: 700px) {
  /* Στο κινητό η φωτογραφία πιάνει μόνο το πάνω μέρος, ώστε να φαίνεται το πρόσωπο,
     και το κείμενο ξεκινά από το ύψος του στήθους, όπως στο παλιό site */
  .hero { background-size: auto 470px; background-position: 70% 0; }
  .hero::before {
    background: linear-gradient(180deg, rgba(5, 28, 44, 0) 0, rgba(5, 28, 44, .15) 270px, rgba(5, 28, 44, .8) 410px, var(--dark) 470px);
  }
  .hero__inner { padding-top: 19rem; }
  .quotes { min-height: 21rem; }
}

/* Μπάρα τεσσάρων καρτών κάτω από το hero (κατά το elementor-element-8ff8246 του παλιού site) */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); background: #00253e; }
.highlight {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  padding: 15% 13% 9%; color: #fff; text-decoration: none;
  background: center / cover no-repeat;
}
.highlight--waves { background-image: url("/assets/img/highlights/waves.svg"); }
.highlight--mesh { background-image: url("/assets/img/highlights/mesh.svg"); }
/* Σκούρο overlay που εμφανίζεται στο hover */
.highlight::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, #051c2c 9%, #042c7b 100%);
  opacity: 0; transition: opacity .3s;
}
.highlight--mesh::before { background: linear-gradient(100deg, #051c2c 0%, #042c7b 100%); }
.highlight:hover::before, .highlight:focus-visible::before { opacity: .3; }
.highlight--mesh:hover::before, .highlight--mesh:focus-visible::before { opacity: .7; }
.highlight h2 {
  display: flex; flex-direction: column;
  margin: 0; color: #fff; font: 700 clamp(1.5rem, 2.3vw, 2.4rem)/1.2 var(--sans);
}
/* Διαχωριστικό 30×2px, στο κάτω μέρος του χώρου του τίτλου */
.highlight h2::after {
  content: ""; width: 30px; height: 2px; margin: auto 0 65px;
  background: rgba(255, 255, 255, .45);
}
.highlight h2::before { content: ""; order: 1; height: 38px; flex: none; }
.highlight h2::after { order: 2; }
/* Χώρος για 3 γραμμές τίτλου, ώστε τα διαχωριστικά να ευθυγραμμίζονται σε όλες τις κάρτες */
@media (min-width: 1025px) { .highlight h2 { min-height: calc(3.6em + 38px + 2px + 65px); } }
.highlight__more {
  margin-top: auto; display: inline-flex; align-items: center; gap: .75rem;
  font-size: .9375rem; font-weight: 700; transition: color .3s;
}
.highlight__more::after {
  content: ""; width: 22px; height: 12px; background: currentColor; transition: transform .3s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M0 6h20M15 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M0 6h20M15 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.highlight:hover .highlight__more { color: var(--blue); }
.highlight:hover .highlight__more::after { transform: translateX(4px); }
@media (max-width: 1024px) {
  .highlights { grid-template-columns: 1fr 1fr; }
  .highlight { padding: 40px 20px; }
  .highlight h2::after { margin-bottom: 35px; }
}
@media (max-width: 520px) {
  .highlights { grid-template-columns: 1fr; }
}

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: rgba(255, 255, 255, .85); }
.section--dark h2 { color: #fff; }
.section__title { margin-bottom: 2rem; }
.section__more { margin: 2rem 0 0; }

.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 1.25rem; }
.service {
  display: block; padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--blue);
  color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s;
}
.service:hover { color: var(--ink); box-shadow: 0 14px 30px var(--shadow); transform: translateY(-2px); }
.service p { color: var(--muted); font-size: .9688rem; margin: 0; }

.firm { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.firm__photo { border-radius: var(--radius); }
.firm__quote { margin: 0 0 1.5rem; }
.firm__quote blockquote { margin: 0 0 .5rem; font: 500 clamp(1.4rem, 2.4vw, 1.85rem)/1.4 var(--serif); color: var(--heading); }
.firm__quote cite { font-style: normal; color: var(--muted); }
.firm__quote cite::before { content: "– "; }
@media (max-width: 800px) { .firm { grid-template-columns: 1fr; } .firm__photo { max-width: 420px; } }

.media-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.media-strip img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border-radius: var(--radius); transition: opacity .2s; }
.media-strip a:hover img { opacity: .85; }
@media (max-width: 760px) { .media-strip { grid-template-columns: 1fr 1fr; } }

.kodix__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.kodix .eyebrow { color: #9cc9ea; margin-top: 2rem; }
.kodix__phone { max-width: 480px; justify-self: center; }
@media (max-width: 800px) { .kodix__inner { grid-template-columns: 1fr; } }

/* Cards (άρθρα) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 1.5rem; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card__media img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .875rem; color: var(--muted); margin-bottom: .5rem; }
.badge { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--link); background: var(--accent-soft); padding: .1rem .5rem; border-radius: 2px; }
.card h3 { font-size: 1.1875rem; }
.card h3 a { color: var(--heading); text-decoration: none; }
.card h3 a:hover { color: var(--link); }
.card p { color: var(--muted); font-size: .9375rem; overflow-wrap: anywhere; }
.card .more { margin-top: auto; }

.contact-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.contact-strip .section__title { margin-bottom: .5rem; }

/* Εσωτερικές σελίδες */
.page-title { background: var(--dark); color: rgba(255, 255, 255, .8); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.page-title h1 { color: #fff; margin-bottom: .4rem; }
.page-title .eyebrow { color: #9cc9ea; }

.article { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.article__image { width: 100%; border-radius: var(--radius); margin-bottom: 2.5rem; }
.article__cta {
  margin-top: 3rem; padding: 1.75rem; background: var(--bg-alt); border-left: 3px solid var(--blue);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.article__cta p { margin: 0; font-family: var(--serif); font-size: 1.125rem; color: var(--heading); }

.prose { font-size: 1.0938rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { margin-top: 1.75em; }
.prose img { margin: 2rem auto; border-radius: var(--radius); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.25em; border-left: 3px solid var(--blue); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .9375rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: .5em .75em; text-align: left; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.5em; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Επικοινωνία */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact h2 { font-size: 1.5rem; }
.contact__details { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; margin: 0 0 1.5rem; }
.contact__details dt { font-weight: 600; color: var(--heading); }
.contact__details dd { margin: 0; }
.map { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }
.form label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 1rem; color: var(--heading); }
.form input:not([type="checkbox"]), .form textarea {
  display: block; width: 100%; margin-top: .35rem; padding: .7rem .8rem; font: inherit; font-weight: 400;
  border: 1px solid var(--input-line); border-radius: var(--radius); background: var(--surface); color: var(--ink);
}
.form input:focus, .form textarea:focus { border-color: var(--blue); outline: 2px solid rgba(55, 141, 199, .25); }
.form__consent { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; color: var(--muted) !important; }
.form__consent input { margin-top: .35rem; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .7); font-size: .9375rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2 { font-family: var(--sans); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.1fr 1fr 1.5fr 1.1fr; gap: 2.5rem; padding: 4rem 0 3rem; }
.site-footer__grid > div:first-child img { height: 40px; width: auto; margin-bottom: 1.5rem; }
.social { display: flex; gap: 1rem; }
.dsa { display: inline-block; margin-top: 1.25rem; background: #fff; padding: .4rem; border-radius: var(--radius); }
.dsa img { height: 50px; width: auto; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.25rem 0; font-size: .875rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Το Γραφείο μας, βιογραφικό, τομείς */
.lead-text { font: 500 1.3rem/1.6 var(--serif); color: var(--heading); }
.muted { color: var(--muted); font-size: .9375rem; }
.service h2 { font-size: 1.25rem; }

.lawyer-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; align-self: start; }
.lawyer-card img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; width: 100%; }
.lawyer-card__body { padding: 1.5rem; }
.lawyer-card h2 { font-size: 1.375rem; margin-bottom: .25rem; }
.lawyer-card h2 a { color: var(--heading); text-decoration: none; }
.lawyer-card p { color: var(--muted); font-size: .9375rem; }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.values h2 { font-size: 1.5rem; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 2.5rem 0 0; background: var(--line); border: 1px solid var(--line); }
.stats > div { background: var(--surface); padding: 1.75rem 1.5rem; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats dd { margin: 0 0 .25rem; font: 700 2.5rem/1.1 var(--serif); color: var(--link); }
.stats dt { color: var(--muted); font-size: .9375rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }

.testimonial { margin: 0 0 1rem; font: 500 1.2rem/1.5 var(--serif); color: #fff; }
.testimonial--light { color: var(--heading); padding-left: 1.25rem; border-left: 3px solid var(--blue); }
.kodix .btn { margin-top: 1rem; }
.kodix--hero h1 { color: #fff; }
.kodix--hero .eyebrow { margin-top: 0; }
.kodix--hero .lead { font-size: 1.1875rem; margin-bottom: 1.75rem; }

.profile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.profile__side img { border-radius: var(--radius); margin-bottom: 1.5rem; }
.profile__side { position: sticky; top: 100px; }
@media (max-width: 800px) { .profile { grid-template-columns: 1fr; } .profile__side { position: static; max-width: 420px; } }

.checklist { list-style: none; padding: 0 !important; display: grid; gap: .6rem; }
.checklist li { position: relative; padding-left: 1.75rem; margin: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .6em; width: .65rem; height: .65rem; background: var(--blue); border-radius: 1px; }

.service-page { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .service-page { grid-template-columns: 1fr; } .service-page .lawyer-card { max-width: 420px; } }
.contact-strip h2.section__title { margin: 0; max-width: 720px; font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

.pager { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem 0; flex-wrap: wrap; }
.pager a { font-weight: 600; text-decoration: none; }

.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr)); gap: 2rem; }
.videos figure { margin: 0; }
.videos .video { margin-bottom: .75rem; border-radius: var(--radius); overflow: hidden; }
.videos figcaption { font-family: var(--serif); font-weight: 700; color: var(--heading); }

.notice { padding: 1rem 1.25rem; background: var(--bg-alt); border-left: 3px solid var(--blue); font-size: .9375rem; }
