:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #10233a;
  --muted: #5f6f82;
  --line: #d8e0ea;
  --brand: #1f4e79;
  --brand-deep: #0f2438;
  --brand-accent: #3f7ab0;
  --success: #1f7a56;
  --warning: #b56b1f;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 6px 18px rgba(15, 36, 56, 0.08);
  --shadow-md: 0 16px 38px rgba(15, 36, 56, 0.12);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% -20%, #dfeaf7, transparent 28%),
    radial-gradient(circle at 80% 0%, #e8eef7, transparent 22%), var(--bg);
  line-height: 1.58;
  opacity: 0;
  transition: opacity 0.28s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

.container {
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto;
}

.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  color: var(--brand-deep);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.text-lg {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.badge {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand);
  background: #eaf2fb;
  border: 1px solid #d6e5f6;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(216, 224, 234, 0.7);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand-main {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  letter-spacing: 0.01em;
  color: var(--brand-deep);
  font-weight: 700;
}

.brand-sub {
  margin-top: 0.12rem;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand);
}

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

.nav a {
  color: #314254;
  font-size: 0.93rem;
  font-weight: 600;
}

.nav a:hover,
.nav a.is-active {
  color: var(--brand);
}

.nav a.nav-cta,
.nav a.nav-cta:hover,
.nav a.nav-cta.is-active {
  color: #fff;
}

.nav a:not(.nav-cta) {
  position: relative;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.34rem;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.68rem;
  color: var(--brand-deep);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  border: 1px solid transparent;
  background: linear-gradient(120deg, var(--brand), var(--brand-accent));
  color: #fff;
  font-size: 0.87rem;
  font-weight: 700;
  padding: 0.64rem 0.98rem;
  box-shadow: 0 7px 16px rgba(31, 78, 121, 0.22);
}

.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 4rem 0;
}

.hero {
  padding: 5.5rem 0 4.6rem;
}

.hero-city {
  position: relative;
  overflow: hidden;
}

.hero-city::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transform: scale(1.04);
}

.hero-city::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(244, 246, 249, 0.62), rgba(244, 246, 249, 0.88)),
    repeating-linear-gradient(
      -45deg,
      rgba(31, 78, 121, 0.055) 0,
      rgba(31, 78, 121, 0.055) 2px,
      transparent 2px,
      transparent 14px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(15, 36, 56, 0.04) 0,
      rgba(15, 36, 56, 0.04) 1px,
      transparent 1px,
      transparent 12px
    );
}

.hero-city .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
}

.hero-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #f7fbff, #edf4fb);
  border: 1px solid #d6e5f6;
  padding: 1.8rem;
}

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

.list-clean li {
  padding: 0.84rem 0;
  border-bottom: 1px dashed #cad7e6;
  color: #36495f;
  font-weight: 500;
}

.list-clean li:last-child {
  border-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 11px;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.78rem 1.12rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand-deep), var(--brand));
  box-shadow: 0 12px 20px rgba(31, 78, 121, 0.24);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  color: #2f4358;
  background: #fff;
  border-color: #ced9e7;
}

.stat-grid,
.card-grid {
  display: grid;
  gap: 1rem;
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.stat strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.3rem;
  color: var(--brand-deep);
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.card p:last-child {
  margin-bottom: 0;
}

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

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

.city-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.city-image-wrap {
  position: relative;
}

.city-image-wrap img {
  width: 100%;
  height: 235px;
  object-fit: cover;
}

.city-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(16, 35, 58, 0.68));
}

.city-caption {
  position: absolute;
  left: 1rem;
  bottom: 0.95rem;
  color: #fff;
  z-index: 1;
}

.city-caption strong {
  display: block;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.city-caption span {
  font-size: 0.79rem;
  opacity: 0.92;
}

.city-body {
  padding: 1rem 1.1rem 1.1rem;
}

.timeline {
  position: relative;
  margin: 1rem 0 0;
  padding-left: 1.4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 0.3rem;
  bottom: 0.25rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 1rem;
  padding: 0.2rem 0 0.2rem 0.6rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.96rem;
  top: 0.54rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.table th,
.table td {
  text-align: left;
  padding: 0.85rem 0.92rem;
  font-size: 0.9rem;
  border-bottom: 1px solid #e4ebf3;
}

.table th {
  background: #f3f7fc;
  color: #32475d;
  font-weight: 700;
}

.table tr:last-child td {
  border-bottom: none;
}

.callout {
  border-radius: var(--radius-lg);
  border: 1px solid #d8e3f2;
  background: linear-gradient(120deg, #f7fbff, #f1f6fd);
  padding: 1.65rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: 0.36rem;
  font-size: 0.86rem;
  color: #3f4f61;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #c9d6e7;
  border-radius: 10px;
  background: #fff;
  color: #24384f;
  font: inherit;
  padding: 0.7rem 0.8rem;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #8caed2;
  box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.14);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(216, 224, 234, 0.7);
  background: #f1f5f9;
}

.footer-top {
  padding: 1.6rem 0 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: #425569;
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-meta {
  font-size: 0.78rem;
  color: #607288;
  border-top: 1px solid #d5dfeb;
  padding: 0.75rem 0 1.3rem;
}

.form-status {
  margin: 0.6rem 0 1rem;
  border-radius: 10px;
  border: 1px solid #d7e4f2;
  background: #f6fbff;
  color: #31506d;
  padding: 0.7rem 0.85rem;
  font-size: 0.86rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  border-color: #bfe8d7;
  background: #edfbf5;
  color: #206748;
}

.form-status.is-error {
  border-color: #f3c7c7;
  background: #fff3f3;
  color: #923535;
}

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

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

body.page-ready {
  opacity: 1;
}

body.page-leave {
  opacity: 0;
}

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

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

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

@media (max-width: 840px) {
  .header-inner {
    min-height: 78px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 80px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 0.85rem;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav .nav-cta {
    width: 100%;
  }

  .section,
  .hero {
    padding: 4rem 0;
  }

  .card-grid,
  .card-grid.two-col,
  .split,
  .city-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
}

