@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap");

:root {
  color-scheme: light;
  --ink: #172330;
  --muted: #647386;
  --blue: #0877e8;
  --green: #22bb8a;
  --paper: #f3f7fa;
  --line: #dce5eb;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #edf2f7;
  --muted: #b0bdca;
  --blue: #70b6ff;
  --green: #45d6a4;
  --paper: #101820;
  --line: #303c49;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header { min-height: 92px; }
.header-actions { display: flex; align-items: center; gap: 25px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.language-select {
  padding: 8px 26px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

:root[data-theme="dark"] .language-select {
  background: #1b2632;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.brand img { width: 42px; height: 42px; object-fit: contain; }

.header-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.header-link span { margin-left: 5px; color: var(--blue); }

.hero {
  width: min(1180px, calc(100% - 64px));
  min-height: 510px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 48px 0 74px;
}

.hero-copy { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-copy .eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 560px;
  margin-bottom: 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.03;
}

h1 em { color: var(--blue); font-weight: 600; }

.hero-description {
  max-width: 480px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.primary-button {
  min-height: 54px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 9px;
  background: var(--blue);
  box-shadow: 0 9px 22px rgba(8, 119, 232, .18);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.primary-button:hover,
.primary-button:focus-visible { background: #0566c9; transform: translateY(-2px); }
.primary-button:focus-visible,
a:focus-visible { outline: 3px solid #78b9fa; outline-offset: 4px; }
.primary-button span { font-size: 18px; }

.hero-note { margin: 16px 0 0; color: #8793a1; font-size: 12px; }
:root[data-theme="dark"] .hero-note { color: #9eacba; }

.map-art {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid #e5e9e9;
  border-radius: 26px;
  background: #e9f1e9;
  box-shadow: 0 22px 70px rgba(34, 52, 65, .12);
  transform: rotate(1deg);
}

:root[data-theme="dark"] .map-art {
  border-color: #34414d;
  background: #1d2b32;
}

.map-grid {
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(28deg, transparent 47%, #fff 47.4% 49.4%, transparent 49.8%),
    linear-gradient(112deg, transparent 36%, #fff 36.4% 38.3%, transparent 38.7%),
    linear-gradient(160deg, transparent 62%, #fff 62.4% 64.2%, transparent 64.6%),
    linear-gradient(75deg, transparent 71%, #fff 71.4% 73%, transparent 73.4%),
    linear-gradient(90deg, rgba(174, 202, 177, .16) 1px, transparent 1px),
    linear-gradient(rgba(174, 202, 177, .16) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 36px 36px, 36px 36px;
}

:root[data-theme="dark"] .map-grid {
  background-image:
    linear-gradient(28deg, transparent 47%, #36444d 47.4% 49.4%, transparent 49.8%),
    linear-gradient(112deg, transparent 36%, #36444d 36.4% 38.3%, transparent 38.7%),
    linear-gradient(160deg, transparent 62%, #36444d 62.4% 64.2%, transparent 64.6%),
    linear-gradient(75deg, transparent 71%, #36444d 71.4% 73%, transparent 73.4%),
    linear-gradient(90deg, rgba(174, 202, 177, .08) 1px, transparent 1px),
    linear-gradient(rgba(174, 202, 177, .08) 1px, transparent 1px);
}

.map-road { position: absolute; z-index: 1; height: 13px; border: 3px solid #fff; border-right: 0; border-left: 0; background: #f4d994; }
:root[data-theme="dark"] .map-road { border-color: #1d2b32; background: #756c4f; }
.road-one { top: 46%; left: -9%; width: 120%; transform: rotate(-24deg); }
.road-two { top: 38%; left: 20%; width: 96%; transform: rotate(48deg); }
.road-three { top: 66%; left: 12%; width: 102%; transform: rotate(8deg); }
.map-park { position: absolute; z-index: 1; border-radius: 45% 55% 52% 48%; background: #c5e0c3; }
:root[data-theme="dark"] .map-park { background: #304c3e; }
.park-one { top: 9%; right: 12%; width: 120px; height: 84px; transform: rotate(24deg); }
.park-two { bottom: 8%; left: 10%; width: 102px; height: 74px; transform: rotate(-18deg); }

.map-pin {
  position: absolute;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50% 50% 50% 4px;
  background: var(--blue);
  box-shadow: 0 6px 14px rgba(23, 35, 48, .2);
  transform: rotate(-45deg);
}

.map-pin span { width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.pin-one { top: 34%; left: 45%; }
.pin-two { top: 62%; left: 70%; width: 34px; height: 34px; background: #e77855; }
.pin-three { top: 22%; left: 22%; width: 32px; height: 32px; background: var(--green); }

.map-label {
  position: absolute;
  z-index: 4;
  padding: 9px 12px;
  border: 1px solid rgba(220, 229, 235, .8);
  border-radius: 7px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 14px rgba(23, 35, 48, .1);
  color: #344253;
  font-size: 11px;
  font-weight: 700;
}

:root[data-theme="dark"] .map-label {
  border-color: rgba(68, 83, 98, .9);
  background: rgba(29, 40, 52, .96);
  color: #e4ebf2;
}

.label-one { top: 30%; left: 52%; }
.label-two { top: 70%; left: 45%; }
.map-compass { position: absolute; top: 20px; right: 20px; z-index: 4; color: #647386; font-size: 10px; font-weight: 800; text-align: center; }
:root[data-theme="dark"] .map-compass { color: #c0cad4; }
.map-compass span { display: block; color: var(--blue); font-size: 18px; }

.discover {
  padding: 76px 32px 88px;
  background: #fff;
}

:root[data-theme="dark"] .discover { background: #151f2a; }

.section-heading,
.features { width: min(1180px, 100%); margin: 0 auto; }
.section-heading { margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 10px; }

h2 {
  margin-bottom: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -.035em;
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.feature-card {
  min-height: 204px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

:root[data-theme="dark"] .feature-card { background: #1b2632; }

.feature-icon {
  position: relative;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  display: block;
  border-radius: 12px;
  background: #eaf3fd;
}

:root[data-theme="dark"] .search-icon { background: #253c52; }

.search-icon::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  top: 25px;
  left: 25px;
  width: 8px;
  height: 2px;
  background: var(--blue);
  transform: rotate(45deg);
}

.category-icon { background: #e9f7f1; }
:root[data-theme="dark"] .category-icon { background: #203d35; }
.category-icon::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid var(--green);
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
}

.category-icon::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 17px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.nearby-icon { background: #fff2e9; }
:root[data-theme="dark"] .nearby-icon { background: #42332d; }
.nearby-icon::before,
.nearby-icon::after {
  content: "";
  position: absolute;
  border: 2px solid #e77855;
  border-radius: 50%;
}

.nearby-icon::before { inset: 9px; }
.nearby-icon::after { inset: 15px; background: #e77855; }

h3 { margin-bottom: 8px; font-size: 16px; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.closing {
  width: min(1180px, calc(100% - 64px));
  min-height: 200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.closing .eyebrow { margin-bottom: 9px; }
.closing h2 { font-size: clamp(30px, 4vw, 40px); }

.site-footer {
  min-height: 82px;
  border-top: 1px solid var(--line);
}

.footer-brand { gap: 8px; font-size: 13px; }
.footer-brand img { width: 30px; height: 30px; object-fit: contain; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer nav a { color: var(--muted); font-size: 12px; text-decoration: none; }
.site-footer nav a:hover { color: var(--blue); text-decoration: underline; }

.info-main {
  width: min(100% - 64px, 780px);
  min-height: calc(100vh - 174px);
  margin: 0 auto;
  padding: 82px 0;
}

.info-main .eyebrow { margin-bottom: 12px; }
.info-main h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 60px);
}
.info-description {
  max-width: 700px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.contact-address { font-size: 18px; font-weight: 700; }
.contact-address a { color: var(--blue); text-underline-offset: 4px; }

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .hero,
  .closing { width: min(100% - 40px, 560px); }

  .site-header { min-height: 76px; }
  .header-actions { gap: 12px; }
  .brand { font-size: 15px; }
  .brand img { width: 36px; height: 36px; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 48px 0 58px; }
  .hero-copy { max-width: 560px; }
  h1 { font-size: clamp(48px, 11vw, 68px); }
  .map-art { min-height: 340px; }
  .discover { padding: 62px 20px; }
  .features { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { min-height: 0; padding: 21px; }
  .feature-icon { margin-bottom: 15px; }
  .closing { min-height: 230px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .site-footer { min-height: 92px; gap: 14px; }
  .site-footer nav { justify-content: flex-end; flex-wrap: wrap; gap: 8px 14px; }
  .info-main { width: min(100% - 40px, 560px); min-height: calc(100vh - 168px); padding: 58px 0; }
}

@media (max-width: 430px) {
  .site-header,
  .site-footer,
  .hero,
  .closing,
  .info-main { width: calc(100% - 32px); }

  .header-link { font-size: 12px; }
  .language-select { max-width: 116px; padding-left: 7px; font-size: 11px; }
  .hero { padding-top: 38px; }
  .info-main { padding: 44px 0; }
  .info-description { font-size: 16px; }
  .hero-copy .eyebrow { font-size: 10px; }
  .map-art { min-height: 290px; }
  .label-one { left: 48%; }
  .label-two { left: 36%; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; }
  .site-footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
