:root {
  --bs-body-font-family: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Sora", "Segoe UI", sans-serif;
  --color-navy: #10233f;
  --color-anthracite: #1d2836;
  --color-sand: #f5efe7;
  --color-surface: #ffffff;
  --color-muted: #6c7a89;
  --color-accent: #ff8a1d;
  --color-accent-soft: #fff0df;
  --color-lime: #8bc34a;
  --shadow-soft: 0 18px 40px rgba(16, 35, 63, 0.08);
  --shadow-card: 0 12px 30px rgba(16, 35, 63, 0.1);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-anthracite);
  background:
    radial-gradient(circle at top left, rgba(255, 138, 29, 0.13), transparent 32%),
    linear-gradient(180deg, #fffdfb 0%, #ffffff 18%, #f8fafc 100%);
}

h1,
h2,
h3,
h4,
.display-title,
.navbar-brand {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

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

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

.site-shell {
  overflow: hidden;
}

.site-logo {
  width: 56px;
  height: auto;
}

.footer-logo {
  width: 88px;
  height: auto;
}

.section-mark {
  max-width: 180px;
}

.navbar {
  transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.navbar-glass {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px rgba(16, 35, 63, 0.08);
}

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

.primary-menu {
  display: flex;
  flex-wrap: wrap;
}

.primary-menu .menu-item {
  position: relative;
}

.nav-link,
.primary-menu > .menu-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  font-weight: 700;
  color: var(--color-anthracite);
  border-radius: 999px;
}

.nav-link:hover,
.nav-link:focus,
.current-menu-item > a,
.current_page_item > a,
.primary-menu > .menu-item > a:hover,
.primary-menu > .menu-item > a:focus {
  color: var(--color-accent);
  background: rgba(255, 138, 29, 0.08);
}

.primary-menu .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 20;
}

.primary-menu .menu-item:hover > .sub-menu,
.primary-menu .menu-item:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-menu .sub-menu a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  font-weight: 600;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus {
  background: rgba(16, 35, 63, 0.05);
}

.btn {
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.btn-primary {
  --bs-btn-bg: var(--color-accent);
  --bs-btn-border-color: var(--color-accent);
  --bs-btn-hover-bg: #ef7c12;
  --bs-btn-hover-border-color: #ef7c12;
  --bs-btn-active-bg: #ef7c12;
  --bs-btn-active-border-color: #ef7c12;
  --bs-btn-color: #fff;
  box-shadow: 0 10px 24px rgba(255, 138, 29, 0.28);
}

.btn-outline-light {
  --bs-btn-border-width: 1px;
}

.hero-section {
  position: relative;
  padding: 7rem 0 5rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(139, 195, 74, 0.12), transparent 24%),
    radial-gradient(circle at 20% 10%, rgba(255, 138, 29, 0.14), transparent 20%);
  pointer-events: none;
}

.hero-card,
.feature-card,
.team-card,
.article-card,
.pricing-card,
.timeline-card,
.contact-card,
.gallery-card,
.menu-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(16, 35, 63, 0.06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-card:hover,
.feature-card:hover,
.team-card:hover,
.article-card:hover,
.pricing-card:hover,
.timeline-card:hover,
.contact-card:hover,
.gallery-card:hover,
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(255, 138, 29, 0.25);
}

.hero-title {
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  line-height: 0.96;
}

.hero-subtitle,
.editor-content,
.editor-content p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.hero-image {
  min-height: 460px;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 24px 60px rgba(16, 35, 63, 0.18);
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(2rem, 3vw, 3rem);
}

.surface-tint {
  background: linear-gradient(180deg, rgba(255, 240, 223, 0.6), rgba(255, 255, 255, 0.7));
}

.accent-panel {
  background: linear-gradient(135deg, var(--color-navy), #173760);
  color: #fff;
}

.accent-panel p,
.footer-dark p {
  color: rgba(234, 240, 249, 0.82);
}

.media-cover {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mini-cover {
  border-radius: 20px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.footer-dark {
  background: #0b1525;
  color: #fff;
}

.footer-link {
  color: rgba(234, 240, 249, 0.78);
}

.footer-link:hover {
  color: #fff;
}

.footer-menu {
  padding-left: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(234, 240, 249, 0.68);
}

.social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.16);
}

.form-control,
.form-select {
  border-radius: 16px;
  padding: 0.9rem 1rem;
  border-color: rgba(16, 35, 63, 0.12);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(255, 138, 29, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(255, 138, 29, 0.16);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.roster-list p {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
}

.editor-content img {
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  margin: 1.5rem 0;
}

.gallery-masonry {
  columns: 1;
  column-gap: 1rem;
}

.gallery-tile {
  width: 100%;
  display: block;
  margin-bottom: 1rem;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  break-inside: avoid;
}

.gallery-tile-tall {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

@media (min-width: 768px) {
  .gallery-masonry {
    columns: 2;
  }
}

@media (min-width: 1200px) {
  .gallery-masonry {
    columns: 4;
  }
}

@media (max-width: 1199.98px) {
  .primary-menu {
    display: block;
    margin-top: 1rem;
  }

  .primary-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0.25rem 0 0.25rem 1rem;
    background: transparent;
  }

  .primary-menu > .menu-item > a {
    width: 100%;
    border-radius: 14px;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 5.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-image {
    min-height: 320px;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .site-logo {
    width: 48px;
  }
}
