:root {
  --background: #f8f9fa;
  --surface: #ffffff;
  --surface-low: #f3f4f5;
  --surface-mid: #e7e8e9;
  --primary: #162839;
  --primary-soft: #2c3e50;
  --text: #191c1d;
  --muted: #43474c;
  --line: #c4c6cd;
  --gold: #c7a15a;
  --gold-dark: #503800;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 249, 250, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner,
.footer-grid,
.footer-bottom,
.article-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.brand-logo {
  width: 72px;
  height: 72px;
  max-height: 76px;
  object-fit: contain;
}

body[data-language="el"] .brand span {
  max-width: none;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.language-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--surface);
}

.language-switch button {
  border: 0;
  min-width: 42px;
  min-height: 38px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.language-switch button + button {
  border-left: 1px solid var(--line);
}

.language-switch button:hover,
.language-switch button:focus-visible,
.language-switch button.is-active {
  color: #ffffff;
  background: var(--primary);
}

.header-action,
.button-primary,
.button-secondary,
.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  min-height: 48px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-action,
.form-button {
  color: #ffffff;
  background: var(--primary);
}

.header-action:hover,
.form-button:hover {
  background: var(--primary-soft);
}

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: var(--primary);
  scroll-margin-top: 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 29, 46, 0.88), rgba(9, 29, 46, 0.48)),
    url("/images/pen.png") center / cover no-repeat;
  filter: grayscale(20%);
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 40px));
  margin-left: max(20px, calc((100vw - var(--max)) / 2));
  padding: 72px 0 96px;
}

.eyebrow {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 4px 12px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--primary);
  line-height: 1.15;
  margin: 0;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(42px, 7vw, 72px);
  max-width: 760px;
}

body[data-language="el"] .hero h1 {
  max-width: 880px;
  font-size: clamp(36px, 5.6vw, 60px);
  line-height: 1.08;
}

.hero p {
  margin: 20px 0 32px;
  max-width: 560px;
  color: #e1e3e4;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll-next {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(22, 40, 57, 0.42);
  font-size: 26px;
  font-weight: 700;
  transform: translateX(-50%);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-scroll-next:hover,
.hero-scroll-next:focus-visible {
  border-color: var(--gold);
  background: rgba(22, 40, 57, 0.78);
  transform: translateX(-50%) translateY(2px);
}

.button-primary {
  color: var(--primary);
  background: var(--gold);
}

.button-primary:hover {
  filter: brightness(1.06);
}

.button-secondary {
  color: #ffffff;
  border-color: #ffffff;
}

.button-secondary:hover {
  color: var(--primary);
  background: #ffffff;
}

.section {
  padding: 72px 0;
  scroll-margin-top: 88px;
}

.section.alt {
  background: var(--surface-low);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.image-frame {
  position: relative;
}

.image-frame::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -16px;
  width: 96px;
  height: 96px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.image-frame img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}

.section h2,
.article-header h1 {
  font-size: clamp(32px, 4vw, 48px);
}

.rule {
  width: 80px;
  height: 4px;
  margin: 18px 0 24px;
  background: var(--gold);
}

.lead {
  color: var(--muted);
  font-size: 18px;
}

.service-list {
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
  display: grid;
  gap: 12px;
  color: var(--primary);
  font-weight: 700;
}

.service-list li::before {
  content: ">";
  color: var(--gold);
  margin-right: 12px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading p {
  margin: 6px 0 0;
  color: var(--muted);
}

.text-link {
  border-bottom: 1px solid currentColor;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.carousel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--primary);
  min-height: 44px;
  padding: 0 18px;
  color: var(--primary);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  color: #ffffff;
  background: var(--primary);
}

.carousel-button:disabled {
  border-color: var(--line);
  color: var(--muted);
  background: transparent;
  cursor: not-allowed;
  opacity: 0.55;
}

.article-carousel {
  position: relative;
}

.article-carousel-viewport {
  overflow: hidden;
}

.article-carousel-track {
  display: grid;
  align-items: start;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.article-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.article-carousel-card {
  grid-area: 1 / 1;
  width: 100%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.article-carousel-card.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.article-carousel-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.article-carousel-card.is-expanded {
  border-color: var(--gold);
  box-shadow: 0 16px 42px rgba(22, 40, 57, 0.12);
  transform: translateY(0);
}

.article-card-summary {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
  min-height: 100%;
}

.article-card-summary > img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  background: var(--surface-mid);
}

.article-card-body {
  padding: 32px;
  display: grid;
  align-content: center;
}

.article-meta,
.breadcrumb,
.article-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card-body h3 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 44px);
}

.article-card-body p {
  color: var(--muted);
  margin: 0 0 16px;
}

.article-expanded {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms ease;
}

.article-expanded-inner {
  border-top: 1px solid var(--line);
  margin: 0 32px;
  max-width: none;
  padding: 28px 0 32px;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 32px;
  color: var(--muted);
}

.contact-detail {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.contact-detail h3 {
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-detail p {
  margin: 4px 0 0;
  color: var(--muted);
}

.contact-form {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 32px;
  display: grid;
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--primary-soft);
  border-radius: 0;
  background: transparent;
  padding: 12px 0;
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--gold);
}

.article-shell {
  padding: 56px 0 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.article-header {
  max-width: 880px;
}

.article-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  color: var(--gold-dark);
  background: #ffdea5;
}

.article-byline {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin: 20px 0 32px;
  color: var(--muted);
}

.article-hero {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-bottom: 48px;
  background: var(--surface-mid);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.article-content {
  max-width: 760px;
}

.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 18px;
}

.article-content h2 {
  margin: 36px 0 12px;
  font-size: 28px;
}

.article-content blockquote {
  border-left: 4px solid var(--gold);
  margin: 32px 0;
  padding: 8px 0 8px 24px;
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-style: italic;
}

.sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 24px;
}

.sidebar-box {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 24px;
}

.sidebar-box h2 {
  margin-bottom: 16px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  color: #ffffff;
  background: var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 32px;
  padding: 64px 0;
}

.footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand,
.site-footer h2 {
  color: #ffffff;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  display: block;
  color: #e1e3e4;
}

.site-footer a + a {
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 20px 0;
  color: #e1e3e4;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 72px;
  }

  .main-nav {
    display: none;
  }

  .brand span {
    font-size: 20px;
  }

  body[data-language="el"] .brand span {
    max-width: none;
    font-size: 16px;
  }

  .brand-logo {
    width: 62px;
    height: 62px;
    max-height: 66px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }

  .header-tools {
    margin-left: auto;
  }

  .about-grid,
  .contact-grid,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .carousel-actions {
    justify-content: flex-start;
  }

  .article-card-summary {
    grid-template-columns: 1fr;
  }

  .article-card-summary > img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .section-inner,
  .footer-grid,
  .footer-bottom,
  .article-shell {
    width: min(100% - 28px, var(--max));
  }

  .hero-content {
    width: min(100% - 28px, 720px);
    margin-left: 14px;
  }

  .header-action {
    display: none;
  }

  .language-switch button {
    min-width: 38px;
    min-height: 34px;
    padding: 0 8px;
  }

  .section {
    padding: 56px 0;
  }
}
