:root {
  --bg: #f4f2ee;
  --surface: #ffffff;
  --surface-alt: #edf3ff;
  --text: #1f2340;
  --muted: #5f6076;
  --primary: #e83b2d;
  --primary-dark: #bf2319;
  --secondary: #ffd534;
  --secondary-soft: #e4eeff;
  --accent-blue: #1f5fd1;
  --accent-blue-dark: #153c88;
  --border: rgba(31, 35, 64, 0.12);
  --shadow: 0 18px 40px rgba(31, 35, 64, 0.12);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body.is-loading {
  overflow-x: hidden;
}

.reveal-up {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

body.is-loading .reveal-up {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header,
.site-footer {
  background: rgba(244, 242, 238, 0.94);
  backdrop-filter: blur(16px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
}

.site-header__inner,
.site-footer__inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__inner {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand__mark {
  width: 68px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(31, 35, 64, 0.18));
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-family: "Baloo 2", Arial, sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 800;
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-blue-dark);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav a {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--secondary-soft);
  color: var(--accent-blue-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.button:hover {
  background: var(--primary-dark);
}

.button--ghost {
  background: rgba(255, 213, 52, 0.16);
  border: 1px solid rgba(255, 234, 159, 0.56);
  color: #fff;
  box-shadow: none;
}

.button--ghost:hover {
  background: rgba(255, 213, 52, 0.28);
}

.button--footer {
  background: var(--accent-blue);
}

.button--footer:hover {
  background: #184cb0;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: min(82svh, 860px);
  display: grid;
  align-items: center;
  background: #132552;
  color: #fff;
}

.hero__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 23, 54, 0.97) 0%, rgba(10, 23, 54, 0.9) 20%, rgba(10, 23, 54, 0.55) 42%, rgba(10, 23, 54, 0.14) 66%, rgba(10, 23, 54, 0.04) 100%),
    radial-gradient(circle at left center, rgba(232, 59, 45, 0.18), transparent 34%),
    url("bg2.png") center right / cover no-repeat;
}

.hero__content,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero__content {
  min-height: min(82svh, 860px);
  display: flex;
  align-items: center;
  padding: 5.5rem 0 4.5rem;
}

.hero__copy {
  max-width: 560px;
  display: grid;
  align-content: center;
  gap: 0.8rem;
}

.hero__mobile-shot {
  display: none;
}

.hero__logo {
  width: min(240px, 48vw);
  margin-bottom: 0.15rem;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
}

.hero h1,
.page-hero h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-family: "Baloo 2", Arial, sans-serif;
  line-height: 1;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  text-wrap: balance;
}

.hero h1 {
  margin-bottom: 0.35rem;
}

.hero__lead,
.page-hero p {
  font-size: 1.08rem;
  max-width: 60ch;
}

.hero__lead {
  margin: 0;
}

.hero__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.hero .eyebrow {
  color: var(--secondary);
  margin-bottom: 0;
}

.page-hero {
  padding: 5rem 0 3rem;
  background:
    radial-gradient(circle at top right, rgba(31, 95, 209, 0.12), transparent 32%),
    linear-gradient(180deg, #f4f2ee, #ebeff6);
}

.section {
  padding: 4.5rem 0;
}

.section--cream {
  background:
    radial-gradient(circle at top right, rgba(31, 95, 209, 0.08), transparent 28%),
    linear-gradient(180deg, #eef4ff, #e8effc);
}

.section--cream .eyebrow {
  color: var(--accent-blue);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.panel,
.feature-card,
.menu-card,
.job-card,
.form-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel {
  padding: 1.5rem;
}

.panel--accent {
  background: linear-gradient(180deg, #fffdf7, #f5efe5);
}

.fact-list,
.timeline {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.fact-list li,
.timeline li {
  margin-bottom: 0.75rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.35rem;
  border-color: rgba(31, 95, 209, 0.14);
  background: rgba(255, 255, 255, 0.96);
}

.feature-card h3 {
  color: var(--accent-blue-dark);
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  background:
    radial-gradient(circle at right center, rgba(232, 59, 45, 0.2), transparent 26%),
    linear-gradient(135deg, #2a67da, #153c88);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 22px 44px rgba(21, 60, 136, 0.24);
}

.callout .eyebrow {
  color: #ffd95a;
}

.callout .button {
  min-width: 176px;
  padding: 0.95rem 1.4rem;
  background: #fff;
  color: var(--accent-blue-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.callout .button:hover {
  background: #fff2b8;
  color: var(--accent-blue-dark);
}

.menu-explorer {
  display: grid;
  gap: 1rem;
}

.menu-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.menu-search {
  display: grid;
  gap: 0.45rem;
  width: min(100%, 420px);
}

.menu-search__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.menu-search input {
  width: 100%;
  min-height: 46px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fffdf7;
  color: var(--text);
  font: inherit;
}

.menu-search input:focus {
  outline: 2px solid rgba(31, 95, 209, 0.25);
  border-color: var(--accent-blue);
}

.menu-toolbar__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.menu-accordion {
  display: grid;
  gap: 0.75rem;
}

.menu-card {
  padding: 0;
  overflow: hidden;
}

.menu-card[hidden] {
  display: none;
}

.menu-card summary {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  list-style: none;
}

.menu-card summary::-webkit-details-marker {
  display: none;
}

.menu-card__head {
  display: grid;
  gap: 0.2rem;
}

.menu-card__head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.menu-card__note {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.95rem;
}

.menu-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.menu-card__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: var(--secondary-soft);
  color: var(--primary);
  font-weight: 700;
}

.menu-card__chevron {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-blue);
  transition: transform 0.2s ease;
}

.menu-card[open] .menu-card__chevron {
  transform: rotate(45deg);
}

.menu-card__body {
  padding: 0 1.1rem 1rem;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.menu-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.menu-list strong {
  display: block;
}

.menu-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.menu-empty {
  padding: 1.2rem 1.1rem;
  background: #fffdf7;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
}

.carousel {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  gap: 1rem;
  align-items: center;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}

.carousel__viewport img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.carousel__button {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.carousel__caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(31, 95, 209, 0.22);
  cursor: pointer;
}

.carousel__dot.is-active {
  background: var(--primary);
}

.job-list {
  display: grid;
  gap: 1rem;
}

.job-card {
  padding: 1.3rem;
}

.form-frame {
  padding: 1rem;
}

.form-frame iframe {
  width: 100%;
  min-height: 1120px;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: #fff;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.site-footer__inner {
  min-height: 120px;
  padding: 1.4rem 0 1.1rem;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  justify-content: center;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(31, 35, 64, 0.1);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.site-footer__brand {
  font-family: "Baloo 2", Arial, sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text);
}

.site-footer__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--text);
  text-align: center;
}

.site-footer__contact a {
  color: inherit;
}

.site-footer__copyright {
  width: fit-content;
  max-width: 100%;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-credit {
  width: fit-content;
  max-width: 100%;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-credit a {
  color: inherit;
}

.site-credit:hover,
.site-credit a:hover {
  color: var(--accent-blue-dark);
}

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

.socials a {
  color: var(--accent-blue);
  font-weight: 700;
}

.socials--header {
  gap: 0.45rem;
}

.socials--header a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
  box-shadow: var(--shadow);
}

.socials--header a:hover {
  color: #fff;
  background: var(--accent-blue);
}

.socials--header svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.socials--footer {
  justify-content: center;
  gap: 0.5rem;
}

.socials--footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(21, 60, 136, 0.16);
  background: #fff;
  color: var(--accent-blue-dark);
}

.socials--footer a:hover {
  background: rgba(31, 95, 209, 0.08);
}

.socials--footer svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

@media (max-width: 980px) {
  .hero {
    min-height: 70svh;
  }

  .hero__image {
    background:
      linear-gradient(90deg, rgba(10, 23, 54, 0.92) 0%, rgba(10, 23, 54, 0.72) 32%, rgba(10, 23, 54, 0.28) 60%, rgba(10, 23, 54, 0.06) 100%),
      radial-gradient(circle at left center, rgba(232, 59, 45, 0.16), transparent 36%),
      url("bg3.png") center right / cover no-repeat;
  }

  .feature-grid,
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .callout,
  .site-footer__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .callout .button {
    align-self: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header__inner {
    padding: 0.9rem 0;
    align-items: center;
    gap: 0.85rem;
  }

  .brand__mark {
    width: 58px;
    height: 44px;
  }

  .nav {
    display: none;
    width: 100%;
    justify-content: center;
    gap: 0.35rem;
    padding-top: 0.4rem;
  }

  .header-tools {
    width: 100%;
    display: grid;
    gap: 0.6rem;
    justify-content: center;
    align-items: center;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: center;
  }

  body.menu-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  body.menu-open .nav a {
    width: 100%;
    text-align: center;
  }

  .socials--header {
    display: none;
  }

  .hero {
    min-height: auto;
    background:
      radial-gradient(circle at top center, rgba(31, 95, 209, 0.2), transparent 34%),
      linear-gradient(180deg, #173a7a 0%, #102751 100%);
  }

  .hero__image {
    display: none;
  }

  .hero__content {
    min-height: auto;
    padding: 2rem 0 3.25rem;
  }

  .hero__copy {
    max-width: 100%;
    gap: 0.7rem;
    text-align: center;
    justify-items: center;
  }

  .hero__mobile-shot {
    display: block;
    width: min(100%, 420px);
    margin-bottom: 0.5rem;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 34px rgba(6, 16, 40, 0.34);
    background: rgba(255, 255, 255, 0.08);
  }

  .hero__mobile-shot img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
  }

  .hero__logo {
    width: min(210px, 62vw);
    margin-bottom: 0;
  }

  .hero h1 {
    margin-bottom: 0.15rem;
    font-size: clamp(2.2rem, 9vw, 3.15rem);
  }

  .hero__lead {
    max-width: 34ch;
    font-size: 1rem;
  }

  .hero__logo {
    display: none;
  }

  .menu-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 0.9rem;
  }

  .menu-search {
    width: 100%;
  }

  .menu-card summary {
    padding: 0.9rem;
  }

  .menu-card__body {
    padding: 0 0.9rem 0.9rem;
  }

  .menu-card__meta {
    gap: 0.55rem;
  }

  .menu-card__count {
    min-width: 2rem;
    min-height: 2rem;
    padding: 0 0.6rem;
  }

  .menu-list li {
    padding: 0.65rem 0;
  }

  .feature-grid,
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.1rem;
  }

  .callout {
    padding: 1.35rem;
    gap: 1rem;
  }

  .callout .button {
    width: 100%;
    min-width: 0;
  }

  .site-footer__top {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__contact {
    gap: 0.45rem;
  }

  .socials--footer {
    justify-content: center;
  }

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

  .carousel__button {
    width: 100%;
    height: 48px;
  }

  .page-hero {
    padding: 4rem 0 2.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 520px) {
  .site-header__inner {
    padding: 0.8rem 0;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .site-footer__contact {
    flex-direction: column;
    gap: 0.2rem;
  }

  .site-footer__contact span[aria-hidden="true"] {
    display: none;
  }

  .nav a {
    padding: 0.55rem 0.78rem;
    font-size: 0.94rem;
  }

  .hero__content {
    padding: 1.4rem 0 2.8rem;
  }

  .hero__mobile-shot {
    border-radius: 16px;
  }

  .hero__logo {
    width: 180px;
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
    gap: 0.7rem;
  }

  .hero__actions .button,
  .hero__actions .button--ghost {
    width: 100%;
  }

  .section {
    padding: 2.8rem 0;
  }

  .two-column {
    gap: 1rem;
  }

  .panel,
  .job-card,
  .form-frame {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-up {
    transition: none;
  }

  body.is-loading .reveal-up {
    opacity: 1;
    transform: none;
  }
}
