:root {
  --primary: #dc2626;
  --secondary: #fca5a5;
  --accent: #991b1b;
  --light: #fff1f2;
  --text: #3f1010;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff5f5 0%, #ffe4e6 100%);
  line-height: 1.6;
}

.hero {
  position: relative;
  min-height: 85vh;
  padding: 1.5rem 6vw 7rem;
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 45%, #f87171 100%);
  color: var(--white);
  overflow: hidden;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  text-decoration: none;
}

.brand-block {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.flag {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1.3rem;
  margin-top: 0.15rem;
}

.brand-text {
  font-family: "Baloo 2", cursive;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0.92;
}

.menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.menu a {
  color: var(--white);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  transition: 0.25s ease;
  font-weight: 600;
}

.menu a:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-content {
  max-width: 700px;
  margin-top: 5.3rem;
}

.eyebrow {
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.95;
}

.hero h1 {
  font-family: "Baloo 2", cursive;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin: 0.6rem 0 1rem;
}

.hero p {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 50ch;
}

.cta {
  display: inline-block;
  margin-top: 1.4rem;
  text-decoration: none;
  color: var(--accent);
  background: var(--white);
  font-weight: 700;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
}

.wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 160px;
  background: var(--light);
}

.wave-bottom {
  bottom: -1px;
  clip-path: polygon(
    0% 55%,
    6% 49%,
    13% 55%,
    20% 63%,
    28% 66%,
    36% 57%,
    45% 48%,
    55% 46%,
    64% 53%,
    72% 61%,
    81% 64%,
    90% 58%,
    100% 50%,
    100% 100%,
    0 100%
  );
}

.section {
  padding: 3rem 6vw;
}

.section h2 {
  font-family: "Baloo 2", cursive;
  color: #991b1b;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 0.25rem;
}

.section-subtitle {
  margin-bottom: 1.4rem;
}

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

.city-card {
  position: relative;
  height: 230px;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(153, 27, 27, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.city-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(153, 27, 27, 0.22);
}

.city-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(35, 25, 66, 0.1) 10%,
    rgba(35, 25, 66, 0.75) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.city-overlay h3 {
  font-size: 1.25rem;
  color: var(--white);
  font-family: "Baloo 2", cursive;
}

.info-section {
  background: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(248, 113, 113, 0.35);
}

.city-detail-page {
  background: linear-gradient(180deg, #fff5f5 0%, #ffe4e6 100%);
}

.city-detail-hero {
  min-height: 62vh;
  padding-bottom: 6.5rem;
}

.city-content {
  margin-top: -1rem;
}

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

.city-panel {
  background: var(--white);
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: 0 10px 26px rgba(35, 25, 66, 0.14);
}

.city-panel h3 {
  color: #991b1b;
  margin-bottom: 0.6rem;
  font-family: "Baloo 2", cursive;
  font-size: 1.35rem;
}

.city-panel ul {
  padding-left: 1.2rem;
}

.city-end {
  padding-bottom: 4rem;
}

.city-end p {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(248, 113, 113, 0.45);
  border-radius: 14px;
  padding: 0.95rem 1rem;
}

@media (max-width: 760px) {
  .hero {
    min-height: 70vh;
    padding-top: 1rem;
  }

  .menu {
    gap: 0.5rem;
  }

  .menu a {
    font-size: 0.9rem;
    padding: 0.35rem 0.6rem;
  }

  .hero-content {
    margin-top: 2.6rem;
  }

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

  .city-panels {
    grid-template-columns: 1fr;
  }

}

@media (min-width: 761px) and (max-width: 1100px) {
  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
