.page {
  background: #f8f6f2;
  min-height: 100vh;
}

.loading,
.notFound {
  padding: 180px 0 120px;
  text-align: center;
  color: #5e6b80;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 130px 0 96px;
}

.heroBg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #112040 52%, #1d355b 100%);
}

.heroPattern {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(201, 146, 58, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 146, 58, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.heroGlow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  right: 10%;
  top: 10%;
  background: radial-gradient(circle, rgba(201, 146, 58, 0.18) 0%, transparent 68%);
}

.heroContainer,
.heroInner,
.section {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
}

.breadcrumb a:hover,
.current {
  color: var(--gold-light);
}

.heroTag {
  display: none;
}

.heroTag::before {
  display: none;
}

.heroTitle {
  margin: 0 0 1rem;
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: #fff;
  line-height: 1.05;
}

.heroSubtitle {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.8;
}

.heroActions {
  display: none;
}

.heroMedia {
  display: none;
}

.heroArt {
  display: none;
}

.heroArt::after {
  display: none;
}

.heroBadge {
  display: none;
}

.heroBadge strong {
  display: none;
}

.heroBadge span {
  display: none;
}

.heroWave {
  position: absolute;
  inset: auto 0 -2px;
}

.heroWave svg {
  display: block;
  width: 100%;
}

.section {
  padding: 76px 0 90px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: start;
}

.mainCard,
.panel,
.servicesCard {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(10, 22, 40, 0.07);
  box-shadow: 0 18px 45px rgba(10, 22, 40, 0.07);
}

.mainHeader {
  padding: 2rem 2rem 1.25rem;
}

.mainTitle {
  margin: 0 0 0.8rem;
  color: #0a1628;
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.mainSubtitle {
  margin: 0;
  color: #607086;
  line-height: 1.8;
  font-size: 0.98rem;
}

.mainImage {
  width: 100%;
  min-height: 420px;
  height: clamp(420px, 52vw, 680px);
  background: linear-gradient(135deg, #10213e, #295f82);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.mainImage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.35), transparent 60%);
}

.mainBody {
  padding: 2rem;
}

.mainBody :global(h2),
.mainBody :global(h3),
.mainBody :global(h4) {
  margin: 1.75rem 0 0.85rem;
  color: #0a1628;
  font-family: var(--font-display, 'Playfair Display', serif);
  line-height: 1.2;
}

.mainBody :global(h2) {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.mainBody :global(h3) {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.mainBody :global(p) {
  color: #526075;
  line-height: 1.92;
  margin-bottom: 1rem;
}

.mainBody :global(strong) {
  color: #0f223d;
}

.mainBody :global(ul),
.mainBody :global(ol) {
  color: #526075;
  padding-left: 1.2rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.mainBody :global(li) {
  margin-bottom: 0.45rem;
}

.mainBody :global(a) {
  color: #b67b21;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.mainBody :global(blockquote) {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid #c9923a;
  background: #fbf5ea;
  color: #415067;
  border-radius: 0 14px 14px 0;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 100px;
}

.panelHead {
  padding: 1.35rem 1.4rem 1rem;
  border-bottom: 1px solid rgba(10, 22, 40, 0.07);
}

.panelHead h3 {
  font-family: var(--font-display, 'Playfair Display', serif);
  color: #0a1628;
  font-size: 1.15rem;
}

.panelBody {
  padding: 1.35rem 1.4rem 1.5rem;
}

.formGroup {
  margin-bottom: 0.9rem;
}

.formGroup label {
  display: block;
  margin-bottom: 0.35rem;
  color: #0a1628;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.input,
.textarea {
  width: 100%;
  border: 1px solid #d5dceb;
  border-radius: 10px;
  background: #f8fafc;
  padding: 0.8rem 0.95rem;
  color: #0a1628;
  font: inherit;
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: #c9923a;
  background: #fff;
}

.status {
  margin-top: 0.9rem;
  font-size: 0.88rem;
}

.statusSuccess {
  color: #1f7a4d;
}

.statusError {
  color: #bf3d3d;
}

.phoneCard {
  background: #f5e6cc;
  border: 1px solid rgba(201, 146, 58, 0.3);
}

.phoneText {
  color: #5b677c;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.phoneValue {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 1rem;
}

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

.relatedCard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.relatedCard:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 146, 58, 0.35);
  box-shadow: 0 24px 52px rgba(10, 22, 40, 0.14);
}

.relatedImage {
  height: 220px;
  background: linear-gradient(135deg, #10213e, #295f82);
  background-size: cover;
  background-position: center;
  position: relative;
}

.relatedImage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.5), transparent 58%);
}

.relatedBody {
  padding: 1.5rem;
}

.relatedTitle {
  font-family: var(--font-display, 'Playfair Display', serif);
  color: #0a1628;
  font-size: 1.25rem;
  line-height: 1.25;
}

.relatedText {
  margin-top: 0.8rem;
  color: #5e6b80;
  line-height: 1.8;
  font-size: 0.92rem;
}

.relatedLink {
  margin-top: 1rem;
  color: #c9923a;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .layout,
  .relatedGrid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 118px 0 84px;
  }

  .mainImage {
    min-height: 260px;
    height: clamp(260px, 62vw, 420px);
  }

  .mainHeader,
  .mainBody {
    padding: 1.4rem;
  }
}
