/*
Theme Name: OLYVENRA Enterprise Corporate v27.13
Theme URI: https://olyvenra.com
Author: OLYVENRA LTD
Description: Multilingual corporate website for OLYVENRA LTD.
Version: 27.13
Text Domain: olyvenra
*/

:root {
  --navy-950: #03131e;
  --navy-900: #051c2b;
  --navy-800: #0a2a3e;
  --navy-700: #123d55;
  --gold-500: #d7b243;
  --gold-400: #e3c66c;
  --ink: #102334;
  --slate: #526577;
  --muted: #9db0bf;
  --line-dark: rgba(215, 178, 67, .18);
  --line-light: #dbe3e9;
  --white: #fff;
  --surface: #f3f6f8;
  --surface-warm: #f7f4ea;
  --surface-quiet: #edf2f5;
  --success: #2f7d4c;
  --danger: #a54343;
  --shadow-sm: 0 10px 30px rgba(3, 19, 30, .08);
  --shadow-lg: 0 24px 70px rgba(3, 19, 30, .18);
  --radius: 2px;
  --container: 1240px;
  --topbar-height: 0px;
  --site-header-height: 82px;
  --header-safe: calc(var(--topbar-height) + var(--site-header-height));
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-safe);
  overflow-x: hidden;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--navy-950);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(var(--container), 90vw); margin: 0 auto; }
section[id], .hero { scroll-margin-top: 0; }
main > section { position: relative; }
main > section > .container > br { display: none; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200000;
  padding: 12px 18px;
  transform: translateY(-170%);
  background: var(--white);
  color: var(--navy-950);
  font-weight: 800;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }

/* Header */
.topbar {
  display: none;
  position: fixed;
  inset: 0 0 auto;
  z-index: 100000;
  height: var(--topbar-height);
  background: var(--navy-950);
  border-bottom: 1px solid rgba(215, 178, 67, .16);
  color: #ced9e1;
  font-size: 12px;
  letter-spacing: .01em;
}
.topbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  white-space: nowrap;
  overflow: hidden;
}
.topbar span { overflow: hidden; text-overflow: ellipsis; }
.topbar .contact-link { text-decoration: none; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  min-height: var(--site-header-height);
  background: rgba(5, 28, 43, .97);
  border-bottom: 1px solid rgba(215, 178, 67, .16);
  box-shadow: 0 8px 24px rgba(3, 19, 30, .12);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: var(--site-header-height);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}
.logo { display: inline-flex; align-items: center; min-width: 0; }
.logo img { display: block; width: 220px; height: auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(13px, 1.4vw, 24px);
  min-width: 0;
  white-space: nowrap;
  color: #f2f6f8;
  font-size: 14px;
  font-weight: 700;
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--site-header-height);
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold-500);
  transition: transform .2s ease;
}
.nav a:hover, .nav a.active { color: var(--gold-400); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.lang { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.lang a {
  min-width: 38px;
  padding: 8px 8px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #edf3f6;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.lang a:hover, .lang a.active {
  border-color: var(--gold-500);
  background: var(--gold-500);
  color: var(--navy-950);
}
.oly-menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  min-width: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.oly-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}
.site-header.menu-open .oly-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .oly-menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .oly-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  min-height: calc(610px + var(--header-safe));
  display: flex;
  align-items: center;
  padding-top: var(--header-safe);
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background:
    linear-gradient(90deg, rgba(3, 19, 30, .97) 0%, rgba(3, 19, 30, .88) 48%, rgba(3, 19, 30, .38) 100%),
    url(assets/hero-london-v16.jpg) center / cover no-repeat;
  color: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 65%, rgba(3, 19, 30, .55));
  pointer-events: none;
}
.hero .container { padding: 72px 0 92px; }
main > .section:first-child { padding-top: calc(84px + var(--header-safe)); }
.kicker {
  margin: 0 0 20px;
  color: var(--gold-400);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 960px;
  margin: 0 0 24px;
  font-size: clamp(40px, 4.15vw, 62px);
  font-weight: 800;
  letter-spacing: -.032em;
  line-height: 1.08;
}
.hero p {
  max-width: 860px;
  margin: 0 0 34px;
  color: #dae5ec;
  font-size: 18px;
  line-height: 1.65;
}
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn, button:not(.oly-menu-toggle) {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover, button:not(.oly-menu-toggle):hover { transform: translateY(-2px); }
.btn.white { background: var(--white); color: var(--navy-950); }
.btn.white:hover { box-shadow: 0 10px 28px rgba(255, 255, 255, .18); }
.btn.gold, button:not(.oly-menu-toggle) { background: var(--gold-500); color: var(--navy-950); }
.btn.gold:hover, button:not(.oly-menu-toggle):hover { background: var(--gold-400); box-shadow: 0 10px 28px rgba(215, 178, 67, .18); }
.btn.outline { border-color: rgba(255, 255, 255, .34); background: transparent; color: var(--white); }
.btn.outline:hover { border-color: var(--gold-500); }

/* Shared sections */
.section {
  padding: 84px 0;
  border-bottom: 1px solid rgba(16, 35, 52, .08);
  background: var(--white);
  color: var(--ink);
}
.section.alt { background: var(--surface); }
.section.compact { padding: 18px 0; }
.section h2 {
  max-width: 880px;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.section h1 {
  max-width: 900px;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.lead {
  max-width: 900px;
  margin: 0;
  color: var(--slate);
  font-size: 18px;
  line-height: 1.72;
}
.section h1,
.section h2,
.section h3,
.lead,
.card,
.market-card,
.legal-content,
.footer {
  overflow-wrap: break-word;
}
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }

/* Trust strip */
.section.compact {
  border-color: rgba(255, 255, 255, .08);
  background: linear-gradient(90deg, var(--navy-950), var(--navy-900));
  color: var(--white);
}
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.trust {
  min-width: 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid rgba(215, 178, 67, .18);
  background: rgba(255, 255, 255, .04);
}
.trust:first-child { padding-left: 18px; }
.trust:last-child { padding-right: 18px; }
.trust .icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 178, 67, .6);
  background: rgba(215, 178, 67, .08);
  color: var(--gold-400);
  font-size: 0;
}
.trust .icon::before { content: "✓"; font-size: 14px; font-weight: 900; }
.trust strong { display: block; margin-bottom: 2px; color: var(--white); font-size: 15px; line-height: 1.25; }
.trust span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}

/* Market overview */
.market { background: var(--surface-warm); }
.market-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.market-layout > div:first-child { position: sticky; top: calc(var(--header-safe) + 42px); }
.market-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.market-card {
  position: relative;
  min-height: 180px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #d9d3c3;
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow-sm);
}
.market-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-500);
}
.market-card h3 { margin: 0 0 12px; color: var(--ink); font-size: 22px; line-height: 1.2; }
.market-card p { margin: 0; color: var(--slate); font-size: 14px; }
.market-card:nth-child(5) { grid-column: 1 / -1; min-height: 150px; }

/* About */
#about {
  border-color: rgba(215, 178, 67, .14);
  background: linear-gradient(180deg, var(--navy-900), #071f30);
  color: var(--white);
}
#about h2, #about h3 { color: var(--white); }
#about .lead { color: #c8d6df; }
#about .grid2 { align-items: stretch; }
.image-panel {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(215, 178, 67, .2);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-lg);
}
.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(3, 19, 30, .32));
}
.about-img { background-image: url(assets/about-boardroom-v16.jpg); }
.company-img { background-image: url(assets/company-office-v16.jpg); background-position: left center; }
.card {
  min-width: 0;
  min-height: 190px;
  padding: 30px;
  border: 1px solid var(--line-light);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin: 0 0 14px; color: var(--ink); font-size: 21px; line-height: 1.3; }
.card p { margin: 0; color: var(--slate); }
#about .card {
  border-color: rgba(215, 178, 67, .18);
  background: rgba(255, 255, 255, .045);
  box-shadow: none;
}
#about .card p { color: #d1dee6; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.checks p { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.checks p::before { content: "✓"; position: absolute; left: 0; color: var(--gold-400); font-weight: 900; }

/* Services and sectors */
#services { background: var(--white); }
#services .card {
  position: relative;
  padding-top: 34px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
#services .card:hover { transform: translateY(-4px); border-color: #c9b66f; box-shadow: 0 18px 42px rgba(3, 19, 30, .11); }
.num { margin-bottom: 24px; color: var(--gold-500); font-size: 13px; font-weight: 900; letter-spacing: .2em; }
.num::after { content: ""; display: block; width: 42px; height: 2px; margin-top: 14px; background: var(--gold-500); }
#industries { background: var(--surface); }
#industries .card { box-shadow: none; }
#industries .card::before { content: ""; display: block; width: 32px; height: 3px; margin-bottom: 24px; background: var(--gold-500); }

/* Group */
.group-section {
  border-color: rgba(215, 178, 67, .16);
  background: linear-gradient(135deg, var(--navy-950), #082335 58%, var(--navy-800));
  color: var(--white);
}
.group-section h2 { color: var(--white); }
.group-section .lead { color: #c6d5de; }
.group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 38px; }
.group-card {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  border: 1px solid rgba(215, 178, 67, .35);
  background: rgba(255, 255, 255, .055);
}
.group-card.olymedica-card { border-color: rgba(68, 188, 197, .4); }
.group-logo { height: 58px; display: flex; align-items: center; margin-bottom: 26px; }
.group-logo img { width: auto; max-width: 290px; max-height: 54px; object-fit: contain; }
.olymedica-card .group-logo { width: min(460px, 72%); height: 86px; padding: 0; background: transparent; }
.olymedica-card .group-logo img {
  width: 100%;
  max-width: 460px;
  max-height: 82px;
  filter: drop-shadow(0 2px 12px rgba(68, 188, 197, .18));
  opacity: 1;
}
.division-status {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(66, 206, 158, .48);
  background: rgba(29, 120, 88, .18);
  color: #a8f1d3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.division-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #56d9a9;
  box-shadow: 0 0 0 4px rgba(86, 217, 169, .12);
}
.group-card h3 { margin: 0 0 12px; color: var(--white); font-size: 26px; }
.group-card p { margin: 0 0 26px; color: #d0dde5; }
.group-link {
  min-width: 190px;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin-top: auto;
  line-height: 1.1;
}
.group-link span { font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.group-link small { color: #b9c9d3; font-size: 11px; font-weight: 600; }

/* Process */
#process { background: var(--white); }
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 44px;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 9%;
  left: 9%;
  height: 1px;
  background: #cfd9df;
}
.process-card {
  position: relative;
  min-width: 0;
  padding: 0 18px;
  text-align: center;
}
.process-card > div {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 900;
}
.process-card h3 { margin: 0 0 10px; color: var(--ink); font-size: 17px; line-height: 1.35; }
.process-card p { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.6; }

/* Markets and company */
#markets { background: var(--surface-warm); }
#markets .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#markets .card { min-height: 230px; padding: 26px; border-color: #ddd7c9; box-shadow: none; }
#markets .card h3 { padding-bottom: 14px; border-bottom: 2px solid var(--gold-500); font-size: 19px; }
#markets .card p { font-size: 14px; }
#company { background: var(--white); }
#company .grid2:first-child { align-items: center; margin-bottom: 34px; }
#company .card { min-height: 0; box-shadow: none; }
#company .container > .card:last-child { border-left: 4px solid var(--gold-500); background: var(--surface); }
.profile-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}
.profile-download h3 { margin-bottom: 6px; }
.profile-download .btn { flex: 0 0 auto; }

/* Arabic / RTL */
html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] .topbar .container,
html[dir="rtl"] .header-inner,
html[dir="rtl"] .footer-grid { direction: ltr; }
html[dir="rtl"] .topbar span:first-child,
html[dir="rtl"] .footer-grid > * { direction: rtl; text-align: right; }
html[dir="rtl"] .nav,
html[dir="rtl"] .lang,
html[dir="rtl"] main,
html[dir="rtl"] .footer { direction: rtl; }
html[dir="rtl"] .hero {
  background:
    linear-gradient(270deg, rgba(3, 19, 30, .97) 0%, rgba(3, 19, 30, .88) 48%, rgba(3, 19, 30, .38) 100%),
    url(assets/hero-london-v16.jpg) center / cover no-repeat;
}
html[dir="rtl"] .market-card::before { right: 0; left: auto; }
html[dir="rtl"] .checks p { padding-right: 28px; padding-left: 0; }
html[dir="rtl"] .checks p::before { right: 0; left: auto; }
html[dir="rtl"] #company .container > .card:last-child {
  border-right: 4px solid var(--gold-500);
  border-left: 1px solid var(--line-light);
}
html[dir="rtl"] .group-card,
html[dir="rtl"] .profile-download,
html[dir="rtl"] .group-link { align-items: flex-start; }
html[dir="rtl"] .division-status { right: auto; left: 24px; }

/* Contact */
#contact {
  border-color: rgba(215, 178, 67, .16);
  background: linear-gradient(180deg, #061b2a 0%, #092437 100%);
  color: var(--white);
}
#contact h2, #contact h3, #contact h4, #contact label { color: var(--white); }
#contact .lead { color: #c5d4dd; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; margin-top: 34px; align-items: stretch; }
#contact .card {
  position: relative;
  overflow: hidden;
  border-color: rgba(215, 178, 67, .2);
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 22px 58px rgba(3, 19, 30, .16);
}
#contact .card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), rgba(215, 178, 67, .18));
}
#contact .card p { color: #d0dde5; }
.info-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 24px; }
.info-card h4 { margin: 20px 0 5px; color: var(--white); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.contact-link {
  display: inline-block;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(215, 178, 67, .65);
  text-underline-offset: 4px;
}
.contact-link:hover { color: var(--gold-400); }
.form-card label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.form-card input, .form-card textarea {
  width: 100%;
  display: block;
  margin: 0 0 15px;
  padding: 14px 15px;
  border: 1px solid #cfdae2;
  border-radius: 0;
  background: #f8fafb;
  color: #132634;
  outline: 0;
}
.form-card input:focus, .form-card textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(215, 178, 67, .16); }
.form-card textarea { min-height: 132px; resize: vertical; }
.form-card button { width: 100%; margin-top: 4px; }
.form-card .hp-field {
  position: fixed;
  top: -10000px;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.success, .form-error { margin-bottom: 16px; padding: 12px 14px; border: 1px solid; }
.success { border-color: #4d9a68; background: rgba(47, 125, 76, .25); color: #e2f6e9; }
.form-error { border-color: #c66c6c; background: rgba(165, 67, 67, .25); color: #ffe7e7; }

/* Legal */
.legal-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; }
.legal-menu { padding: 14px; border: 1px solid var(--line-light); background: var(--surface); }
.legal-menu a { display: block; padding: 12px 10px; border-bottom: 1px solid var(--line-light); color: var(--slate); font-size: 14px; }
.legal-menu a:last-child { border-bottom: 0; }
.legal-menu a:hover, .legal-menu a.current { color: #8b6d13; font-weight: 700; }
.legal-content { padding: 40px; border: 1px solid var(--line-light); background: var(--white); box-shadow: var(--shadow-sm); }
.legal-content p { margin: 0 0 18px; color: var(--slate); }
.legal-content h2 { margin-top: 34px; font-size: 24px; }

/* Footer */
.footer {
  padding: 62px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: var(--navy-950);
  color: #cbd7df;
}
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr 1.05fr 1fr; gap: 42px; }
.footer-logo { width: 230px; height: auto; margin-bottom: 22px; }
.footer h3 { margin: 0 0 16px; color: var(--white); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.footer p { margin: 0; color: #b8c8d2; font-size: 14px; }
.footer a { display: block; margin: 7px 0; color: #d5e0e6; font-size: 14px; }
.footer a:hover, .footer a.current, .footer a.active { color: var(--gold-400); }
.footer-group-links { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-group-links a { margin: 0 0 4px; color: var(--gold-400); font-weight: 900; }
.footer-group-links span { display: block; color: #9fb1bd; font-size: 12px; }
.footer-bottom { margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); color: #8fa3b0; font-size: 12px; }

/* Laptop and tablet navigation */
@media (max-width: 1280px) {
  :root {
    --topbar-height: 0px;
    --site-header-height: 82px;
    --header-safe: var(--site-header-height);
  }
  .topbar { display: none; }
  .site-header { top: 0; }
  .header-inner {
    min-height: var(--site-header-height);
    grid-template-columns: minmax(190px, 1fr) auto auto;
    grid-template-rows: auto auto;
    gap: 0 14px;
    padding: 10px 0;
  }
  .logo { grid-column: 1; grid-row: 1; }
  .logo img { width: clamp(210px, 24vw, 270px); }
  .oly-menu-toggle { display: flex; grid-column: 3; grid-row: 1; }
  .lang {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
  }
  .lang a { min-width: 40px; padding: 7px 8px; }
  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    white-space: normal;
  }
  .site-header.menu-open .nav { display: grid; }
  .nav a {
    min-height: 42px;
    display: block;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .035);
  }
  .nav a::after { display: none; }
}

@media (max-width: 1080px) {
  .section { padding: 68px 0; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-layout { grid-template-columns: 1fr; gap: 34px; }
  .market-layout > div:first-child { position: static; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .process-grid::before { display: none; }
  .process-card { padding: 0 14px; text-align: left; }
  .process-card > div { margin: 0 0 18px; }
  #markets .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --site-header-height: 76px; }
  .container { width: min(92vw, 560px); }
  .header-inner { padding: 9px 0; gap: 0 9px; }
  .logo img { width: min(190px, 48vw); }
  .lang a { min-width: 32px; padding: 5px 6px; font-size: 10px; }
  .site-header.menu-open .nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 0; background-position: 62% center; }
  .hero .container { padding: 58px 0 68px; }
  .hero h1 { max-width: 16ch; font-size: clamp(34px, 10vw, 46px); line-height: 1.08; }
  .hero p { font-size: 16px; }
  .btns { display: grid; grid-template-columns: 1fr; max-width: 390px; }
  .btn { width: 100%; }
  .section { padding: 54px 0; }
  .section.compact { padding: 18px 0; }
  .section h2 { font-size: 36px; }
  .lead { font-size: 17px; }
  .trust-grid, .grid2, .grid3, .group-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 18px; }
  .trust { padding: 16px; border-right: 1px solid rgba(215, 178, 67, .18); border-bottom: 1px solid rgba(215, 178, 67, .18); }
  .trust:last-child { border-bottom: 0; }
  .market-grid { grid-template-columns: 1fr; }
  .market-card:nth-child(5) { grid-column: auto; }
  .market-card { min-height: 0; }
  .image-panel { min-height: 290px; }
  .checks, .info-columns { grid-template-columns: 1fr; }
  .group-card { min-height: 0; padding: 26px; }
  .division-status { position: static; margin: 0 0 20px; }
  .olymedica-card .group-logo { width: 100%; height: 70px; }
  .olymedica-card .group-logo img { max-width: 360px; max-height: 66px; }
  .group-link { width: 100%; min-width: 0; }
  .process-grid, #markets .grid3 { grid-template-columns: 1fr; }
  .process-card { padding: 0; }
  #markets .card { min-height: 0; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-content { padding: 26px; }
  .profile-download { display: block; }
  .profile-download .btn { width: 100%; margin-top: 18px; }
}

@media (max-width: 430px) {
  :root { --site-header-height: 108px; }
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    gap: 7px 10px;
  }
  .logo { grid-column: 1; grid-row: 1; }
  .logo img { width: min(205px, 60vw); }
  .oly-menu-toggle { grid-column: 2; grid-row: 1; }
  .lang { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .nav { grid-row: 3; }
  .site-header.menu-open .nav { grid-template-columns: 1fr; }
  .oly-menu-toggle { width: 42px; height: 40px; min-width: 42px; }
  .hero h1 { font-size: 34px; }
  .section h2 { font-size: 32px; }
  .card { padding: 24px; }
  .lang { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
