:root {
  --bg: #f5f1e8;
  --surface: rgba(255,255,255,0.82);
  --surface-strong: #ffffff;
  --dark: #1f2420;
  --muted: #607066;
  --green: #476653;
  --green-deep: #33483a;
  --gold: #f1d38c;
  --sand: #ece3d0;
  --border: rgba(31, 36, 32, 0.1);
  --shadow: 0 20px 60px rgba(23, 28, 24, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f7f3eb 0%, #f2eee4 100%);
  color: var(--dark);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.hero {
  min-height: 96vh;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(15, 18, 14, 0.12) 0%, rgba(15, 18, 14, 0.42) 48%, rgba(15, 18, 14, 0.72) 100%),
    url('tempria-background.jpg');
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
}

.page-header {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(17, 20, 17, 0.58) 0%, rgba(17, 20, 17, 0.78) 100%),
    url('tempria-background.jpg');
  background-position: center center;
  background-size: cover;
}

.page-header-form {
  min-height: 52vh;
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.12);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn.active {
  background: #fff;
  color: var(--dark);
}

.hero-content,
.page-hero {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.hero-content {
  padding: 64px 0 112px;
}

.hero-panel {
  max-width: 780px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(18, 23, 18, 0.28);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 32px;
  backdrop-filter: blur(8px);
}

.page-hero {
  padding: 36px 0 72px;
}

.small-hero { max-width: 840px; }

.eyebrow,
.section-label {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.eyebrow { color: #f8dd98; }
.section-label { color: var(--green); }
.section-label.gold { color: var(--gold); }

h1 {
  margin: 0;
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-rendering: optimizeLegibility;
  word-spacing: 0.02em;
}

.small-title {
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.008em;
  word-spacing: 0.02em;
}

.accent { color: var(--gold); }

.subtitle {
  margin: 24px 0 0;
  max-width: 680px;
  font-size: clamp(19px, 2vw, 24px);
  color: rgba(255,255,255,0.9);
}

.small-subtitle { max-width: 760px; }

.hero-actions,
.contact-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 800;
  border: 1px solid transparent;
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
}

.button.secondary,
.button.outline {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
}

.button.dark {
  background: var(--green-deep);
  color: #fff;
}

body:not(.page-body) .button.outline {
  background: transparent;
  color: var(--green-deep);
  border-color: rgba(51,72,58,0.16);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -36px;
}

.stat-card,
.text-card,
.card,
.card-lite,
.modern-form,
.side-note,
.request-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 24px;
}

.stat-value {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--green-deep);
}

.stat-label {
  color: var(--muted);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
}

.text-card,
.card-lite,
.request-box,
.side-note { padding: 34px; }
.text-card p,
.card-lite p,
.request-box p,
.contact-text { color: var(--muted); }
.text-card p:first-child { margin-top: 0; }
.text-card p:last-child { margin-bottom: 0; }

.cards-section {
  border-top: 1px solid rgba(31,36,32,0.08);
  border-bottom: 1px solid rgba(31,36,32,0.08);
}

.center { text-align: center; }
.center-title {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 28px;
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  letter-spacing: -0.008em;
}

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

.request-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.request-box {
  background: linear-gradient(180deg, #233126 0%, #1f2a21 100%);
  color: #fff;
}

.request-box p,
.request-box li { color: rgba(255,255,255,0.86); }
.request-box ul { padding-left: 20px; margin: 22px 0 0; }
.request-box li { margin: 8px 0; }

.side-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.side-note blockquote {
  margin: 8px 0 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: var(--green-deep);
}

.contact { text-align: center; }
.contact-text {
  max-width: 680px;
  margin: 18px auto 28px;
  font-size: 18px;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  align-items: start;
}

.mini-points {
  padding-left: 18px;
  color: var(--muted);
  margin: 18px 0 0;
}

.mini-points li { margin: 7px 0; }

.modern-form {
  padding: 30px;
  background: var(--surface-strong);
}

.report-form label {
  display: block;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 18px;
}

.report-form label span {
  display: block;
  margin-bottom: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(51,72,58,0.14);
  border-radius: 16px;
  background: #fbfaf7;
  color: var(--dark);
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea { resize: vertical; min-height: 160px; }

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(71,102,83,0.5);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(71,102,83,0.09);
}

.form-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
  background: #f6f3ec;
  border: 1px dashed rgba(51,72,58,0.16);
  padding: 14px 16px;
  border-radius: 16px;
}

footer {
  margin-top: 28px;
  padding: 34px 20px;
  text-align: center;
  background: var(--green-deep);
  color: #fff;
}

footer p { margin: 0; }
footer .small { margin-top: 6px; color: rgba(255,255,255,0.68); font-size: 13px; }

@media (max-width: 980px) {
  .stats-strip,
  .split,
  .cards,
  .request-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .hero-content { padding-bottom: 84px; }
}

@media (max-width: 760px) {
  .nav,
  .nav-right {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-right { width: 100%; }
  .nav-links { width: 100%; gap: 8px; }
  .nav-links a { padding-left: 0; }
  .hero-panel { padding: 22px; }
  .section { padding: 70px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .stacked-mobile { flex-direction: column; }
  .button { width: 100%; }
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.solution-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 26px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.solution-number {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--sand);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.solution-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.14;
  letter-spacing: -0.008em;
}

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

.warning-card {
  background: #fff8eb;
  border-color: rgba(179, 126, 34, 0.2);
}

.warning-card .solution-number {
  background: #f3d696;
}

@media (max-width: 980px) {
  .solution-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .solution-card {
    grid-template-columns: 1fr;
  }
}


/* Improved title readability */
.hero-panel h1,
.page-hero h1,
.section h2,
.card h3,
.side-note blockquote {
  font-kerning: normal;
}

.card h3 {
  letter-spacing: -0.01em;
}


/* Global readability fix for large Greek and English titles */
.page-hero .subtitle,
.hero-panel .subtitle {
  line-height: 1.55;
}

.page-hero {
  max-width: 980px;
}

.hero-panel {
  max-width: 900px;
}

.side-note blockquote {
  letter-spacing: -0.01em;
  line-height: 1.16;
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(40px, 12vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.006em;
  }

  .small-title {
    font-size: clamp(36px, 10vw, 52px);
    line-height: 1.09;
  }

  h2 {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.12;
  }
}


/* Final global title spacing guard */
h1, h2, h3, .small-title, .stat-value, .side-note blockquote, .solution-card h3 {
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

h1, .small-title {
  letter-spacing: -0.008em;
}

h2, h3, .side-note blockquote, .solution-card h3 {
  letter-spacing: 0;
}

.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-note.success {
  color: #1f7a4d;
  background: rgba(31, 122, 77, 0.08);
  border: 1px solid rgba(31, 122, 77, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
}

.form-note.error {
  color: #9a3a24;
  background: rgba(154, 58, 36, 0.08);
  border: 1px solid rgba(154, 58, 36, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
}

.form-note.sending {
  color: #6b5738;
  background: rgba(107, 87, 56, 0.08);
  border: 1px solid rgba(107, 87, 56, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
}

button:disabled {
  opacity: 0.65;
  cursor: wait;
}
