/*
Theme Name: EUMEX
Theme URI: https://www.eumex.io
Author: EUMEX
Description: A focused one-page theme for EUMEX, based on the 6-panel brochure design.
Version: 1.0.0
Text Domain: eumex
*/

:root {
  --navy: #092c57;
  --navy-deep: #062447;
  --blue: #164f91;
  --gold: #c99b2b;
  --gold-soft: #e7c86d;
  --ink: #10233d;
  --muted: #60738e;
  --paper: #f4f6f8;
  --paper-warm: #eef2f5;
  --white: #ffffff;
  --line: rgba(201, 155, 43, 0.72);
  --shadow: 0 24px 70px rgba(6, 36, 71, 0.22);
  --shadow-soft: 0 18px 48px rgba(6, 36, 71, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  --scroll-y: 0px;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(9, 44, 87, 0.06), transparent 32%),
    linear-gradient(315deg, rgba(201, 155, 43, 0.08), transparent 28%),
    var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body::before {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

a {
  color: inherit;
}

::selection {
  background: rgba(201, 155, 43, 0.34);
}

.site-shell {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(24px) saturate(170%);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 246, 253, 0.9) 42%, rgba(197, 218, 237, 0.86) 100%),
    radial-gradient(circle at 88% 18%, rgba(119, 160, 199, 0.38), transparent 44%),
    rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(9, 44, 87, 0.12);
  box-shadow: 0 18px 58px rgba(6, 36, 71, 0.16);
  color: var(--navy);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 18px clamp(22px, 6vw, 76px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  bottom: -1px;
  content: "";
  height: 1px;
  left: 6%;
  position: absolute;
  right: 6%;
}

.site-logo {
  background: transparent;
  display: inline-flex;
  padding: 0;
}

.site-logo img {
  display: block;
  height: 54px;
  filter: drop-shadow(0 8px 14px rgba(9, 44, 87, 0.16));
  transition: transform 180ms ease;
  width: auto;
}

.site-logo:hover img {
  transform: translateY(-1px);
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.site-nav a,
.lang-toggle {
  color: rgba(9, 44, 87, 0.82);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.lang-toggle:hover {
  color: var(--navy-deep);
}

.lang-toggle {
  appearance: none;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(9, 44, 87, 0.2);
  box-shadow: 0 10px 26px rgba(9, 44, 87, 0.08);
  cursor: pointer;
  min-width: 58px;
  padding: 10px 13px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nav-cta {
  background: linear-gradient(135deg, rgba(9, 44, 87, 0.96), rgba(16, 67, 121, 0.94));
  border: 1px solid rgba(9, 44, 87, 0.22);
  box-shadow: 0 14px 30px rgba(9, 44, 87, 0.18);
  color: var(--white) !important;
  padding: 10px 14px;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.lang-toggle:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.nav-cta:hover {
  box-shadow: 0 18px 36px rgba(9, 44, 87, 0.24);
}

.section {
  overflow: hidden;
  padding: clamp(72px, 10vw, 128px) clamp(22px, 6vw, 76px);
  position: relative;
}

.section-inner {
  margin: 0 auto;
  max-width: 1120px;
  position: relative;
  z-index: 1;
}

.hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 54%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 34%),
    radial-gradient(circle at 74% 24%, rgba(231, 200, 109, 0.18), transparent 24%),
    radial-gradient(circle at 16% 82%, rgba(22, 79, 145, 0.58), transparent 34%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 58%, #0d3a6e);
  color: var(--white);
  min-height: 92vh;
  padding-top: 124px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 96px 96px;
  content: "";
  inset: 0;
  opacity: 0.32;
  pointer-events: none;
  position: absolute;
  transform: translate3d(0, calc(var(--scroll-y) * -0.08), 0);
}

.hero::after {
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(255, 255, 255, 0.08) 46% 46.6%, transparent 46.6%),
    linear-gradient(135deg, transparent 0 62%, rgba(201, 155, 43, 0.68) 62% 62.8%, transparent 62.8%);
  content: "";
  height: 100%;
  pointer-events: none;
  position: absolute;
  right: -12%;
  top: 0;
  transform: translate3d(0, calc(var(--scroll-y) * 0.14), 0);
  width: 50%;
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: clamp(40px, 7vw, 96px);
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.6fr);
  position: relative;
  z-index: 1;
}

.hero-grid > div:first-child {
  transform: translate3d(0, calc(var(--section-parallax, 0px) * -0.035), 0);
}

.gold-rule {
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 28px rgba(201, 155, 43, 0.28);
  display: block;
  height: 9px;
  margin: 54px 0 34px;
  width: 132px;
}

.eyebrow {
  color: var(--gold);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(46px, 6.6vw, 78px);
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 28px;
  max-width: 900px;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
  max-width: 760px;
}

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

.button-primary,
.button-secondary {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0;
  min-height: 48px;
  padding: 14px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 18px 40px rgba(201, 155, 43, 0.28);
  color: var(--navy-deep);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.metric {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 80px;
  padding-top: 28px;
}

.metric div {
  background: rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(201, 155, 43, 0.42);
  padding: 6px 0 6px 16px;
}

.metric strong {
  color: var(--gold);
  display: block;
  font-size: clamp(26px, 3.3vw, 42px);
  line-height: 1.1;
}

.metric span {
  color: rgba(255, 255, 255, 0.92);
  display: block;
  font-size: 19px;
  margin-top: 8px;
}

.summary-panel {
  backdrop-filter: blur(16px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  transform: translate3d(0, calc(var(--section-parallax, 0px) * -0.09), 0);
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 42px);
}

.summary-panel::before {
  background: linear-gradient(180deg, var(--gold-soft), transparent);
  content: "";
  height: 86px;
  position: absolute;
  right: -1px;
  top: -1px;
  width: 2px;
}

.summary-panel p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.section-light {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.94), transparent 30%),
    linear-gradient(135deg, var(--paper-warm), #f9fafb 44%, #e7edf3);
}

.section-dark {
  background:
    radial-gradient(circle at 82% 16%, rgba(201, 155, 43, 0.14), transparent 25%),
    linear-gradient(145deg, var(--navy-deep), var(--navy) 54%, #0e3b70);
  color: var(--white);
}

@media (min-width: 821px) {
  .hero {
    background-attachment: fixed;
  }
}

.section h2 {
  color: inherit;
  font-size: clamp(36px, 5vw, 66px);
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 44px;
  max-width: 860px;
  text-wrap: balance;
}

.intro-grid {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.62fr);
  margin-bottom: 58px;
}

.section-lede {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 0;
}

.section-dark .section-lede {
  color: rgba(255, 255, 255, 0.82);
}

.section-light h2 {
  color: var(--navy);
}

.service-list {
  display: grid;
  gap: 28px 58px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-item {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(244, 248, 251, 0.62)),
    rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(9, 44, 87, 0.08);
  box-shadow: 0 16px 40px rgba(9, 44, 87, 0.06);
  display: grid;
  gap: 20px;
  grid-template-columns: 18px minmax(0, 1fr);
  min-height: 150px;
  padding: 24px 24px 22px;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-item:hover {
  border-color: rgba(201, 155, 43, 0.34);
  box-shadow: var(--shadow-soft);
  transform: translateY(-8px);
}

.service-item::before {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(201, 155, 43, 0.12);
  content: "";
  height: 18px;
  margin-top: 7px;
  width: 18px;
}

.section-dark .service-item {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
  color: inherit;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.18;
  margin-bottom: 8px;
}

.service-item p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 0;
}

.section-dark .service-item p {
  color: rgba(255, 255, 255, 0.86);
}

.contact {
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 20% 26%, rgba(201, 155, 43, 0.14), transparent 24%),
    linear-gradient(90deg, var(--white) 0 62%, var(--navy) 62% 100%),
    linear-gradient(135deg, #ffffff, #eaf0f6);
}

.contact-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
}

.contact h2 {
  color: var(--navy);
  font-size: clamp(42px, 6vw, 74px);
  text-transform: uppercase;
}

.contact-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 251, 0.9)),
    var(--white);
  border: 1px solid rgba(9, 44, 87, 0.08);
  border-top: 8px solid var(--gold);
  box-shadow: var(--shadow);
  position: relative;
  padding: 32px;
  padding-top: 32px;
}

.contact-card::after {
  background: linear-gradient(180deg, rgba(201, 155, 43, 0.34), transparent);
  content: "";
  height: 80%;
  position: absolute;
  right: 0;
  top: 8px;
  width: 1px;
}

.contact-card a {
  text-decoration-color: rgba(201, 155, 43, 0.55);
  text-underline-offset: 4px;
}

.contact-card .eyebrow {
  margin-bottom: 16px;
}

.contact-card p {
  color: var(--ink);
  font-size: 20px;
  margin-bottom: 20px;
}

.contact-card strong {
  display: block;
}

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  padding: 22px clamp(22px, 6vw, 76px);
}

.process-band {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(238, 244, 250, 0.94)),
    var(--white);
  color: var(--ink);
  overflow: hidden;
  padding: 30px clamp(22px, 6vw, 76px);
  position: relative;
}

.process-track {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1120px;
  position: relative;
  z-index: 1;
}

.process-step {
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(9, 44, 87, 0.08);
  border-top: 4px solid var(--gold);
  box-shadow: 0 12px 28px rgba(9, 44, 87, 0.06);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  min-height: 86px;
  padding: 16px 14px 12px;
  text-transform: uppercase;
}

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

@media (max-width: 820px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding: 12px 16px;
  }

  .site-nav {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-end;
  }

  .site-logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-logo img {
    height: 42px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .lang-toggle,
  .nav-cta {
    font-size: 12px;
    padding: 9px 11px;
  }

  .lang-toggle {
    min-width: 50px;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-grid,
  .intro-grid,
  .service-list,
  .contact-grid,
  .metric,
  .process-track {
    grid-template-columns: 1fr;
  }

  .gold-rule {
    margin-top: 52px;
  }

  .summary-panel {
    box-shadow: none;
    transform: none;
  }

  .hero-grid > div:first-child,
  .contact-card {
    transform: none;
  }

  .hero-actions {
    gap: 10px;
  }

  .button-primary,
  .button-secondary {
    flex: 1 1 160px;
    min-height: 46px;
  }

  .contact {
    background: var(--white);
  }
}
