/* ==========================================================================
   Royer Slovakia
   ========================================================================== */

:root {
  --navy:        #0a0f1e;
  --navy-95:     rgba(10,15,30,.95);
  --navy-85:     rgba(10,15,30,.85);
  --navy-70:     rgba(10,15,30,.70);
  --navy-60:     rgba(10,15,30,.60);
  --gold:        #c9a84c;
  --primary:     #c9a84c;
  --foreground:  #ffffff;
  --muted:       rgba(255,255,255,.6);
  --border:      rgba(255,255,255,.1);
  --card-bg:     #ffffff;
  --card-fg:     #111;
  --card-muted:  #666;
  --card-border: #e5e7eb;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  --nav-h:  72px;
  --max-w:  1200px;
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--font-sans);
  background: #fff;
  color: var(--card-fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* --------------------------------------------------------------------------
   Shared
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }

.label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.label--gold { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--card-fg);
  margin-top: .5rem;
  margin-bottom: 1.25rem;
}
.section-title--light { color: var(--foreground); }

.section-body { font-size: 1.0625rem; color: var(--card-muted); line-height: 1.75; margin-bottom: .75rem; }
.section-body--light { color: rgba(255,255,255,.7); }
.section-header--light .section-body { color: rgba(255,255,255,.7); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 2rem;
  border-radius: 6px;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  border: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy);
}
.btn--primary:hover { background: #d9b85e; }
.btn--outline {
  background: transparent;
  color: var(--foreground);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn--outline:hover { border-color: var(--foreground); }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy-95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,.1);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.nav__link:hover { color: var(--gold); }

.nav__cta {
  background: var(--gold);
  color: var(--navy);
  padding: .5rem 1.25rem;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 600;
  transition: background .2s;
}
.nav__cta:hover { background: #d9b85e; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 5rem) 1.5rem 5rem;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80') center/cover no-repeat;
}
.hero__overlay     { position: absolute; inset: 0; background: var(--navy-70); }
.hero__overlay-grad { position: absolute; inset: 0; background: linear-gradient(to right, var(--navy-85) 0%, var(--navy-70) 50%, transparent 100%); }

.hero__content {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  max-width: 640px;
  margin-left: max(1.5rem, calc((100vw - var(--max-w)) / 2 + 1.5rem));
}

.hero__badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}
.hero__title-accent { color: var(--gold); }

.hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about {
  padding: 6rem 0;
  background: #fff;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color .3s, box-shadow .3s;
}
.card:hover {
  border-color: rgba(201,168,76,.3);
  box-shadow: 0 8px 32px rgba(201,168,76,.08);
}

.card__icon {
  width: 56px; height: 56px;
  background: rgba(201,168,76,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition: background .3s;
}
.card:hover .card__icon { background: rgba(201,168,76,.2); }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--card-fg);
  margin-bottom: .75rem;
}
.card p { font-size: .9375rem; color: var(--card-muted); line-height: 1.7; }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.services__bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?w=1600&q=80') center/cover no-repeat;
}
.services__overlay { position: absolute; inset: 0; background: rgba(10,15,30,.85); }

.services__inner { position: relative; }

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.card--dark {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color .3s;
}
.card--dark:hover { border-color: rgba(201,168,76,.3); }
.card--dark h3 { color: var(--foreground); }
.card--dark p  { color: rgba(255,255,255,.7); }
.card--dark .card__icon {
  background: rgba(201,168,76,.15);
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  margin-top: 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap .2s;
}
.card__link:hover { gap: .625rem; }

/* --------------------------------------------------------------------------
   M&A
   -------------------------------------------------------------------------- */
.ma {
  padding: 6rem 0;
  background: #fff;
}

.ma__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ma__image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 500px;
  background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=800&q=80') center/cover no-repeat;
  box-shadow: 0 24px 64px rgba(0,0,0,.15);
}
.ma__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,.6), transparent);
}

.ma__image-caption {
  position: absolute;
  bottom: 2rem; left: 2rem; right: 2rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  line-height: 1.3;
}

.ma__content .section-title { margin-bottom: 1rem; }

.ma__text {
  font-size: .9375rem;
  color: var(--card-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.ma__text strong { color: var(--card-fg); }

.ma__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.ma__item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .875rem;
  border-radius: 10px;
  transition: background .2s;
}
.ma__item:hover { background: #f9fafb; }

.ma__item-icon {
  width: 40px; height: 40px;
  background: rgba(201,168,76,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.ma__item-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--card-fg);
  margin-bottom: .2rem;
}
.ma__item-desc {
  font-size: .8rem;
  color: var(--card-muted);
}

/* --------------------------------------------------------------------------
   Key Figures
   -------------------------------------------------------------------------- */
.figures {
  padding: 6rem 0;
  background: var(--navy);
}

.figures__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.figures__num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .5rem;
}

.figures__label {
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  padding: 6rem 0;
  background: #fff;
}

.contact__card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}

.contact__company {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--card-fg);
  margin-bottom: 2rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  transition: background .2s;
}
.contact__item:hover { background: #f9fafb; }

.contact__item-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  transition: background .2s;
}
.contact__item:hover .contact__item-icon { background: rgba(201,168,76,.2); }

.contact__item-label {
  font-size: .75rem;
  color: var(--card-muted);
  font-weight: 500;
  margin-bottom: .2rem;
}
.contact__item-value {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--card-fg);
}
.contact__item-sub {
  font-size: .8rem;
  color: var(--card-muted);
}

.contact__vat {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--card-border);
  font-size: .8rem;
  color: var(--card-muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,.1);
  padding: 3rem 1.5rem;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer__inner { flex-direction: row; justify-content: space-between; }
}

.footer__logo {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__copy {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .cards-3    { grid-template-columns: 1fr 1fr; }
  .ma__grid   { grid-template-columns: 1fr; }
  .ma__image  { height: 320px; }
  .figures__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,15,30,.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: .25rem;
    border-bottom: 1px solid rgba(201,168,76,.15);
  }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }
  .nav__link {
    padding: .875rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav__cta { margin-top: .75rem; text-align: center; padding: .875rem; }

  .hero__content { margin-left: 1.5rem; }
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { text-align: center; justify-content: center; }

  .cards-2 { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }

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

  .figures__grid { grid-template-columns: repeat(2, 1fr); }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__card { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .figures__grid { grid-template-columns: 1fr 1fr; }
}
