/* Base */
:root {
  --dark: #303079;
  --accent: #4992cf;
  --white: #fff;
  --soft: #eef4fb;
  --text: #22224d;
  --border: #d9e5f3;
  --radius: 16px;
  --shadow: 0 4px 14px rgba(48, 48, 121, 0.07);
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

body {
  background: var(--white);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  line-height: 1.65;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  color: var(--dark);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
  margin-bottom: 0.5rem;
  font-size: 1.9rem;
}

h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

td:last-child {
  font-weight: 600;
  text-align: right;
}

/* Layout */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

section {
  padding: 4rem 0;
}

.lead {
  max-width: 60ch;
  margin-bottom: 2rem;
  opacity: 0.85;
}

.alt {
  background: var(--soft);
}

.section-spacer {
  margin-top: 1.5rem;
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.brand__logo {
  width: auto;
  height: 40px;
  border-radius: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 0.3rem 0;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-list a:not(.lang)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--accent);
}

.nav-list a:not(.lang):hover::after,
.nav-list a.active::after {
  transform: scaleX(1);
}

.nav-list .lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 100px;
  margin-left: 0.5rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-list .lang:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
}

.nav-list .lang b {
  color: var(--accent);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  padding: 0.4rem;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Text label for the icon-only button, hidden visually */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--white);
  color: var(--dark);
}

.btn.outline {
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
}

.btn.outline:hover {
  background: var(--white);
  color: var(--dark);
}

/* Hero sections */
.hero {
  padding: 4rem 0;
  background: var(--dark);
  color: var(--white);
}

.hero h1 {
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero p {
  max-width: 44ch;
  margin: 1rem 0 1.8rem;
  font-size: 1.15rem;
}

.hero img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .btn {
  flex: 1 1 170px;
  text-align: center;
}

.page-hero {
  padding: 3rem 0;
  background: var(--dark);
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
}

/* Stats */
.stats {
  padding: 1.6rem 0;
  background: var(--accent);
  color: var(--white);
}

.stats ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0;
  list-style: none;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 2rem;
}

/* Cards and menu */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 170px;
  margin: -0.4rem 0 1rem;
  object-fit: cover;
}

.card ul {
  padding-left: 1.2rem;
}

.price {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.menu-cat {
  margin-bottom: 3rem;
}

.menu-cat h2 {
  display: inline-block;
  margin-bottom: 1.2rem;
  border-bottom: 3px solid var(--accent);
}

/* Split layout and images */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.5rem;
}

.split img,
.grid > img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
}

.split img {
  height: 360px;
}

/* Contact and map */
.contact-list {
  padding: 0;
  list-style: none;
}

.contact-list li {
  margin-bottom: 0.7rem;
}

.map iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: var(--radius);
}

/* Footer */
.site-footer {
  padding: 3rem 0 1.5rem;
  background: var(--dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.site-footer h3 {
  color: var(--white);
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer ul {
  padding: 0;
  list-style: none;
}

.copy {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Mobile */
@media (max-width: 760px) {
  .nav {
    position: relative;
    gap: 0.75rem;
    min-height: 56px;
    padding-right: 52px;
  }

  .brand {
    max-width: calc(100% - 54px);
    margin-right: auto;
    line-height: 1.1;
  }

  .brand__logo {
    width: auto;
    height: 34px;
  }

  .nav-toggle {
    position: absolute;
    top: 50%;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    transform: translateY(-50%);
  }

  .nav-toggle__bar {
    width: 30px;
  }

  /* Hamburger -> X (bar centers are 8px apart: 3px bar + 5px gap) */
  .nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-list {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(48, 48, 121, 0.98);
    box-shadow: 0 18px 40px rgba(16, 19, 58, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .nav-list.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid transparent;
    border-radius: 10px;
  }

  .nav-list a:not(.lang)::after {
    display: none;
  }

  .nav-list a:hover,
  .nav-list a.active {
    border-color: rgba(73, 146, 207, 0.45);
    background: rgba(73, 146, 207, 0.18);
  }

  .nav-list .lang {
    width: fit-content;
    min-width: auto;
    margin-top: 0.35rem;
    margin-left: 0;
    padding: 0.45rem 0.75rem;
    border-color: rgba(255, 255, 255, 0.24);
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero p {
    margin-bottom: 1.4rem;
  }

  .hero-actions {
    margin-top: 1.2rem;
  }

  .hero .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 0.9rem;
    padding-left: 0.9rem;
  }

  .split img {
    height: auto;
  }

  .stats ul {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3rem 0;
  }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .nav-list a,
  .nav-list a::after,
  .nav-list,
  .nav-toggle__bar {
    transition: none !important;
  }
}
