@charset "utf-8";

:root {
  --bg: #f4efe5;
  --panel: rgba(255, 253, 248, 0.96);
  --panel-strong: #fff4de;
  --text: #1f2b38;
  --muted: #5f6f7e;
  --brand: #0b537e;
  --brand-dark: #072f4d;
  --accent: #e88d17;
  --accent-soft: #fff1d1;
  --line: #d9ccb2;
  --shadow: 0 20px 55px rgba(18, 36, 53, 0.09);
  --shadow-soft: 0 10px 24px rgba(18, 36, 53, 0.06);
  --radius: 24px;
  --max-width: 1240px;
  --heading-font: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --body-font: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(232, 141, 23, 0.18), transparent 26%),
    radial-gradient(circle at bottom right, rgba(11, 83, 126, 0.1), transparent 24%),
    linear-gradient(180deg, #f8f3e7 0%, #eef3f6 100%);
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--brand-dark);
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 24px auto 40px;
}

.site-header,
.panel,
.menu-card,
.hero-card,
.site-footer {
  background: var(--panel);
  border: 1px solid rgba(10, 77, 120, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(10, 77, 120, 0.96), rgba(7, 47, 77, 0.94)),
    linear-gradient(180deg, #0a4d78, #072f4d);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.brand-block {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-header .eyebrow,
.hero-card .eyebrow {
  color: #ffd092;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.intro {
  margin-bottom: 0;
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.header-meta {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 250px;
}

.live-clock,
.language-switch {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.meta-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
}

#currentDateTime {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.language-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.language-switch a,
.language-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.language-switch .is-active {
  background: var(--accent);
  color: #1f1507;
}

.layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.sidebar {
  display: grid;
  gap: 20px;
  align-content: start;
}

.menu-card {
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.menu-card h2 {
  margin-bottom: 18px;
  font-family: var(--heading-font);
  font-size: 1.35rem;
  color: var(--brand-dark);
}

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

.menu-card li + li {
  margin-top: 10px;
}

.menu-card li a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  background: linear-gradient(180deg, #f6f8fb, #edf3f8);
  border: 1px solid rgba(11, 83, 126, 0.08);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.menu-card li a:hover,
.menu-card li a:focus-visible {
  background: #e6f0f7;
  transform: translateX(4px);
}

.accent-card {
  background: var(--panel-strong);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ef9a28, #dc7f0b);
  color: #1f1507;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(232, 141, 23, 0.22);
}

.button-link:hover,
.button-link:focus-visible {
  background: #d8830f;
  color: #1f1507;
}

.button-link.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  box-shadow: none;
}

.content {
  display: grid;
  gap: 24px;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(10, 77, 120, 0.98), rgba(17, 113, 129, 0.92)),
    linear-gradient(180deg, #0a4d78, #117181);
  color: #fff;
  position: relative;
}

.hero-card h2 {
  margin-bottom: 14px;
  font-family: var(--heading-font);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.02em;
}

.hero-card p {
  font-size: 1.04rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-highlight {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  min-height: 280px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.18);
}

.hero-highlight-logo {
  display: block;
  width: 100%;
  max-width: 168px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(5, 27, 44, 0.18);
}

.hero-highlight-label {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffd092;
}

.hero-highlight h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.05;
  color: #fff;
}

.hero-highlight p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.hero-highlight-actions {
  margin-top: 8px;
  padding-top: 6px;
}

.hero-highlight-actions .button-link {
  flex: 1 1 190px;
  justify-content: center;
}

.panel {
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-heading h2,
.panel h2,
.callout h2 {
  margin-bottom: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}

.news-grid,
.split-panel,
.info-panel {
  display: grid;
  gap: 24px;
}

.news-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
}

.split-panel {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.feature-list {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
}

.callout {
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fbf6ea, #f6f0e1);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.callout h3 {
  margin-bottom: 10px;
  color: var(--brand-dark);
}

.meta-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.book-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 20px;
  align-items: start;
}

.book-card img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.quick-panel {
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.96), rgba(255, 252, 246, 0.96));
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.quick-card {
  display: block;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(11, 83, 126, 0.1);
  background: linear-gradient(180deg, #fffdf9, #f5f8fb);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.quick-card:hover,
.quick-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(11, 83, 126, 0.22);
}

.quick-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-card strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.trip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.trip-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fcf9f2, #f8f3e8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.trip-card img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  border-radius: 14px;
  object-fit: cover;
}

.trip-card.no-image {
  grid-template-columns: 1fr;
}

.trip-card.no-image div {
  padding: 8px;
}

.trip-date {
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.info-panel {
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 24px 28px;
  color: #f4f6f8;
  background:
    linear-gradient(135deg, rgba(7, 47, 77, 0.98), rgba(10, 77, 120, 0.95)),
    linear-gradient(180deg, #072f4d, #0a4d78);
}

.site-header::after,
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
  pointer-events: none;
}

.site-footer p {
  margin-bottom: 4px;
}

.site-footer img {
  width: 92px;
  height: auto;
}

@media (max-width: 1100px) {
  .layout,
  .hero-card,
  .news-grid,
  .split-panel,
  .info-panel {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
  }

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

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

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    margin-top: 10px;
  }

  .site-header,
  .panel,
  .menu-card,
  .hero-card,
  .site-footer {
    padding: 20px;
    border-radius: 18px;
  }

  h1 {
    line-height: 1;
  }

  .book-card,
  .trip-card {
    grid-template-columns: 1fr;
  }

  .hero-card img,
  .trip-card img {
    min-height: 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
