:root {
      --ink: #262626;
      --muted: #686a6d;
      --soft: #f7f4ef;
      --line: #e7e0d6;
      --brand: #424242;
      --gold: #d6c0a5;
      --gold-dark: #9b7a54;
      --green: #446052;
      --white: #ffffff;
      --shadow: 0 18px 54px rgba(38, 38, 38, 0.12);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      background: var(--soft);
      color: var(--ink);
      font-family: Inter, Arial, sans-serif;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

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

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(66, 66, 66, 0.96);
      color: var(--white);
      border-bottom: 1px solid rgba(214, 192, 165, 0.24);
      backdrop-filter: blur(16px);
    }

    .nav {
      width: min(1180px, calc(100% - 40px));
      height: 76px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .brand-mark {
      width: 34px;
      height: 34px;
      border: 2px solid var(--gold);
      display: grid;
      place-items: center;
      font-size: 13px;
      color: var(--gold);
    }

    .navlinks {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 14px;
      color: rgba(255, 255, 255, 0.82);
      font-size: 13px;
      font-weight: 600;
    }

    .navlinks a {
      white-space: nowrap;
    }

    .navlinks .active {
      color: var(--ink);
      background: var(--gold);
      padding: 10px 12px;
      border-radius: 4px;
    }

    .menu-toggle {
      width: 44px;
      height: 44px;
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 5px;
      border: 1px solid rgba(214, 192, 165, 0.42);
      border-radius: 4px;
      background: transparent;
      color: var(--gold);
      cursor: pointer;
    }

    .menu-toggle span {
      width: 19px;
      height: 2px;
      display: block;
      border-radius: 2px;
      background: currentColor;
    }

    .btn {
      display: inline-flex;
      min-height: 48px;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border: 1px solid transparent;
      border-radius: 4px;
      padding: 13px 18px;
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      cursor: pointer;
    }

    .btn-primary {
      background: var(--gold);
      color: var(--ink);
    }

    .btn-dark {
      background: var(--brand);
      color: var(--white);
    }

    .btn-outline {
      border-color: rgba(255, 255, 255, 0.42);
      color: var(--white);
    }

    .btn-soft {
      border-color: var(--line);
      background: var(--white);
      color: var(--ink);
    }

    .hero {
      min-height: calc(100vh - 76px);
      background:
        linear-gradient(90deg, rgba(38, 38, 38, 0.86), rgba(38, 38, 38, 0.28)),
        var(--hero-image, url("/assets/images/site/athrium/bg1.jpg")) center / cover;
      color: var(--white);
      display: flex;
      align-items: flex-end;
    }

    .hero-inner {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
      padding: 92px 0 52px;
    }

    .hero-grid {
      max-width: 980px;
    }

    .eyebrow {
      margin: 0 0 14px;
      color: var(--gold);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    h1 {
      max-width: 790px;
      margin: 0;
      font-size: 64px;
      line-height: 1.02;
      font-weight: 800;
      letter-spacing: 0;
    }

    .lead {
      max-width: 660px;
      margin: 18px 0 0;
      color: rgba(255, 255, 255, 0.84);
      font-size: 19px;
      line-height: 1.55;
    }

    .hero-price {
      width: fit-content;
      display: inline-flex;
      align-items: baseline;
      gap: 10px;
      margin-top: 24px;
      border: 1px solid rgba(214, 192, 165, 0.42);
      border-radius: 8px;
      background: rgba(66, 66, 66, 0.58);
      padding: 13px 16px;
      color: var(--gold);
      box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
      backdrop-filter: blur(12px);
    }

    .hero-price > span {
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.13em;
      text-transform: uppercase;
    }

    .hero-price strong {
      color: var(--white);
      font-size: 30px;
      line-height: 1;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 30px;
    }

    .hero-highlights {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      margin-top: 38px;
    }

    .hero-highlight {
      min-height: 128px;
      display: grid;
      grid-template-rows: auto 1fr;
      gap: 13px;
      border: 1px solid rgba(255, 255, 255, 0.17);
      border-radius: 8px;
      background: rgba(38, 38, 38, 0.44);
      padding: 18px;
      backdrop-filter: blur(12px);
    }

    .hero-highlight-icon {
      width: 36px;
      height: 36px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: rgba(214, 192, 165, 0.16);
      color: var(--gold);
    }

    .hero-highlight-icon svg {
      width: 18px;
      height: 18px;
    }

    .hero-highlight > div > span {
      display: block;
      color: rgba(214, 192, 165, 0.9);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .hero-highlight strong {
      display: block;
      margin-top: 7px;
      color: rgba(255, 255, 255, 0.9);
      font-size: 15px;
      font-weight: 600;
      line-height: 1.42;
    }

    .city-hero {
      min-height: 720px;
    }

    .city-hero .hero-grid {
      max-width: 860px;
    }

    .city-hero-kosice .hero-grid {
      max-width: none;
    }

    .city-offer-strip {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 10px;
      max-width: 760px;
      margin-top: 28px;
    }

    .city-offer-stat {
      border: 1px solid rgba(214, 192, 165, 0.42);
      border-radius: 8px;
      background: rgba(66, 66, 66, 0.58);
      padding: 16px;
      color: var(--white);
      box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
      backdrop-filter: blur(12px);
    }

    .city-offer-stat > span {
      display: block;
      color: var(--gold);
      font-size: 24px;
      font-weight: 800;
      line-height: 1.08;
    }

    .city-offer-stat strong {
      display: block;
      margin-top: 8px;
      color: rgba(255, 255, 255, 0.9);
      font-size: 14px;
      font-weight: 700;
      line-height: 1.3;
    }

    .city-hero-highlights {
      max-width: 760px;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .city-hero-kosice .city-hero-highlights {
      max-width: none;
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .city-offer-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

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

    .city-contact-section {
      background: #fbfaf8;
    }

    .city-contact-band {
      margin-bottom: 28px;
    }

    .city-map-card {
      position: static;
      width: 100%;
      background: var(--brand);
    }

    .city-map-card .map-frame {
      height: 420px;
    }

    .section {
      padding: 74px 0;
      border-bottom: 1px solid var(--line);
    }

    .section-inner {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
    }

    .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 28px;
      margin-bottom: 30px;
    }

    .section h2 {
      max-width: 700px;
      margin: 0;
      font-size: 36px;
      line-height: 1.16;
      font-weight: 800;
      letter-spacing: 0;
    }

    .section-head p {
      max-width: 540px;
      margin: 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.65;
    }

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

    .home-offer-card {
      display: flex;
      min-height: 100%;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--white);
      box-shadow: 0 12px 34px rgba(38, 38, 38, 0.07);
    }

    .home-offer-info-card {
      border-color: rgba(214, 192, 165, 0.6);
      background: #fbfaf8;
    }

    .home-offer-media {
      position: relative;
      height: 220px;
      background: #ddd;
    }

    .home-offer-media picture,
    .building-photo picture,
    .gallery-item picture {
      display: block;
      width: 100%;
      height: 100%;
    }

    .home-offer-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .home-offer-label {
      position: absolute;
      left: 16px;
      top: 16px;
      border-radius: 4px;
      background: rgba(66, 66, 66, 0.92);
      color: var(--gold);
      padding: 8px 10px;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .home-offer-body {
      display: flex;
      flex: 1;
      flex-direction: column;
      padding: 22px;
    }

    .home-offer-body h3 {
      margin: 0;
      font-size: 22px;
      line-height: 1.16;
    }

    .home-offer-body p {
      margin: 12px 0 0;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.65;
    }

    .home-offer-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 18px;
    }

    .home-offer-chip {
      display: inline-flex;
      min-height: 34px;
      align-items: center;
      border: 1px solid var(--line);
      border-radius: 4px;
      background: #fbfaf8;
      padding: 8px 10px;
      color: var(--ink);
      font-size: 13px;
      font-weight: 800;
    }

    .home-offer-actions {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      margin-top: auto;
      padding-top: 22px;
    }

    .home-offer-actions .btn {
      width: 100%;
    }

    .section-cta {
      display: flex;
      justify-content: center;
      margin-top: 26px;
    }

    .building-intro {
      max-width: none;
      margin-bottom: 32px;
    }

    .building-intro h2 {
      max-width: none;
    }

    .building-lead {
      max-width: none;
      margin: 12px 0 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.7;
    }

    .building-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
      gap: 28px;
      align-items: stretch;
    }

    .building-media {
      display: grid;
      grid-template-rows: 390px 170px;
      gap: 12px;
    }

    .building-photo {
      display: block;
      width: 100%;
      height: 100%;
      overflow: hidden;
      border-radius: 8px;
      background: #ddd5ca;
    }

    .building-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 220ms ease;
    }

    .building-photo:hover img {
      transform: scale(1.035);
    }

    .building-photo:focus {
      outline: none;
    }

    .building-photo:focus-visible {
      outline: 3px solid var(--gold);
      outline-offset: 3px;
    }

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

    .building-details {
      display: grid;
      gap: 16px;
      align-content: start;
    }

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

    .building-fact {
      min-height: 132px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--white);
      padding: 20px;
    }

    .building-fact > span {
      display: block;
      color: var(--gold-dark);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .building-fact strong {
      display: block;
      margin-top: 10px;
      color: var(--ink);
      font-size: 28px;
      line-height: 1.05;
    }

    .building-fact small {
      display: block;
      margin-top: 8px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.45;
    }

    .building-feature-list {
      border-top: 1px solid var(--line);
    }

    .building-feature {
      display: grid;
      grid-template-columns: 40px minmax(0, 1fr);
      gap: 14px;
      padding: 18px 0;
      border-bottom: 1px solid var(--line);
    }

    .building-index {
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: var(--brand);
      color: var(--gold);
      font-size: 13px;
      font-weight: 800;
    }

    .building-feature h3 {
      margin: 0 0 6px;
      font-size: 18px;
      line-height: 1.25;
    }

    .building-feature p {
      margin: 0;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.6;
    }

    .content-list {
      display: grid;
      gap: 14px;
      margin-top: 24px;
    }

    .content-item {
      display: grid;
      grid-template-columns: 42px minmax(0, 1fr);
      gap: 14px;
      align-items: start;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--white);
      padding: 18px;
    }

    .content-number {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #edf3ef;
      color: var(--green);
      font-weight: 800;
      font-size: 14px;
    }

    .content-item h3 {
      margin: 0 0 6px;
      font-size: 18px;
      line-height: 1.25;
    }

    .content-item p {
      margin: 0;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.6;
    }

    .care-section {
      background: #fbfaf8;
    }

    .care-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
      gap: 34px;
      align-items: end;
      margin-bottom: 26px;
    }

    .care-copy h2 {
      max-width: 680px;
      margin: 0;
      font-size: 36px;
      line-height: 1.16;
      font-weight: 800;
      letter-spacing: 0;
    }

    .care-lead {
      max-width: 720px;
      margin: 16px 0 0;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.7;
    }

    .care-callout {
      display: flex;
      align-items: center;
      gap: 12px;
      max-width: 700px;
      margin-top: 22px;
      border-left: 3px solid var(--gold);
      background: var(--white);
      padding: 16px 18px;
      color: var(--ink);
      font-size: 15px;
      font-weight: 700;
      line-height: 1.55;
      box-shadow: 0 10px 28px rgba(38, 38, 38, 0.06);
    }

    .care-callout svg {
      width: 21px;
      height: 21px;
      flex: 0 0 auto;
      color: var(--green);
    }

    .care-metrics {
      display: grid;
      gap: 1px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--line);
      box-shadow: 0 12px 34px rgba(38, 38, 38, 0.07);
    }

    .care-metric {
      display: flex;
      min-height: 86px;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      background: var(--brand);
      padding: 20px;
      color: var(--white);
    }

    .care-metric > span {
      color: var(--gold);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .care-metric strong {
      font-size: 24px;
      line-height: 1.12;
      text-align: right;
    }

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

    .care-item {
      min-height: 232px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--white);
      padding: 24px;
      box-shadow: 0 12px 34px rgba(38, 38, 38, 0.06);
    }

    .care-icon {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #edf3ef;
      color: var(--green);
      margin-bottom: 18px;
    }

    .care-icon svg {
      width: 21px;
      height: 21px;
    }

    .care-item h3 {
      margin: 0 0 10px;
      font-size: 21px;
      line-height: 1.22;
    }

    .care-item p {
      margin: 0;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.65;
    }

    .location-band {
      background: var(--brand);
      color: var(--white);
    }

    .location-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
      gap: 38px;
      align-items: start;
    }

    .location-band .section-head {
      display: block;
      margin-bottom: 22px;
    }

    .location-band h2 {
      color: var(--white);
      max-width: none;
      white-space: nowrap;
    }

    .location-band .section-head p {
      max-width: 680px;
      margin-top: 12px;
    }

    .location-band .section-head p,
    .location-band .content-item p {
      color: rgba(255, 255, 255, 0.74);
    }

    .location-band .content-item {
      background: rgba(255, 255, 255, 0.07);
      border-color: rgba(255, 255, 255, 0.14);
    }

    .location-band .content-number {
      background: rgba(214, 192, 165, 0.18);
      color: var(--gold);
    }

    .map-card {
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 8px;
      overflow: hidden;
      background: #353535;
      position: sticky;
      top: 104px;
      box-shadow: var(--shadow);
    }

    .map-frame {
      width: 100%;
      height: 350px;
      display: block;
      border: 0;
      filter: grayscale(0.12) contrast(1.02);
    }

    .map-info {
      padding: 24px;
      text-align: center;
    }

    .map-info strong {
      display: block;
      color: var(--white);
      font-size: 24px;
      line-height: 1.18;
      white-space: nowrap;
    }

    .map-info > span {
      display: block;
      margin-top: 10px;
      color: var(--gold);
      font-weight: 800;
      letter-spacing: 0;
      text-transform: none;
      font-size: 14px;
    }

    .map-actions {
      justify-content: center;
    }

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

    .gallery-item {
      position: relative;
      display: block;
      width: 100%;
      aspect-ratio: 4 / 3;
      overflow: hidden;
      border-radius: 8px;
      background: #ddd5ca;
      color: var(--white);
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 220ms ease;
    }

    .gallery-item:hover img {
      transform: scale(1.035);
    }

    .gallery-item:focus {
      outline: none;
    }

    .gallery-item:focus-visible {
      outline: 3px solid var(--gold);
      outline-offset: 3px;
    }

    .logo-carousel {
      position: relative;
      overflow: hidden;
      border-radius: 8px;
    }

    .references {
      align-items: stretch;
    }

    .reference {
      height: auto;
      min-height: 154px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--white);
      padding: 22px 18px;
      color: var(--ink);
      text-align: center;
      font-weight: 800;
      line-height: 1.25;
      box-shadow: 0 10px 28px rgba(38, 38, 38, 0.08);
    }

    .reference img {
      width: auto;
      max-width: 94%;
      max-height: 72px;
      object-fit: contain;
      filter: none;
      opacity: 1;
    }

    .reference img.logo-wide {
      max-height: 58px;
      max-width: 98%;
    }

    .reference img.logo-scaled {
      width: min(84%, 260px);
      max-height: 74px;
    }

    .reference img.logo-reflex {
      width: min(92%, 280px);
      max-height: 84px;
    }

    .reference img.logo-vivantina {
      width: min(90%, 270px);
      max-height: 64px;
    }

    .reference img.logo-force-dark {
      filter: brightness(0);
      opacity: 0.9;
    }

    .material-logo {
      color: var(--ink);
      font-size: 22px;
      font-weight: 800;
      letter-spacing: 0;
      line-height: 1.1;
    }

    .contact-band {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 380px;
      gap: 32px;
      border-radius: 8px;
      background: var(--white);
      box-shadow: var(--shadow);
      padding: 38px;
    }

    .contact-band h2 {
      margin: 0 0 10px;
      font-size: 31px;
    }

    .contact-band p {
      max-width: 620px;
      margin: 0 0 24px;
      color: var(--muted);
      line-height: 1.7;
    }

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

    .field,
    textarea {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 4px;
      background: #fbfaf8;
      padding: 15px 14px;
      color: var(--ink);
      font: inherit;
    }

    textarea {
      min-height: 118px;
      grid-column: 1 / -1;
      resize: vertical;
    }

    .form-submit {
      margin-top: 14px;
      display: flex;
      justify-content: space-between;
      gap: 18px;
      align-items: center;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }

    .form-submit .btn {
      flex: 0 0 auto;
    }

    .contact-card {
      border-radius: 8px;
      background: var(--brand);
      color: var(--white);
      padding: 26px;
      align-self: start;
    }

    .contact-card > span {
      display: block;
      color: var(--gold);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .contact-card .contact-label {
      margin-top: 24px;
    }

    .company-details {
      display: grid;
      gap: 8px;
      margin: 18px 0 0;
      padding: 18px 0 0;
      border-top: 1px solid rgba(255, 255, 255, 0.16);
    }

    .company-details div {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      color: rgba(255, 255, 255, 0.78);
      font-size: 14px;
      line-height: 1.35;
    }

    .company-details dt {
      color: var(--gold);
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .company-details dd {
      margin: 0;
      text-align: right;
      font-weight: 600;
    }

    .contact-card .contact-label + p {
      margin-top: 8px;
    }

    .contact-card h3 {
      margin: 0 0 16px;
      font-size: 31px;
      line-height: 1.18;
    }

    .contact-card p {
      margin: 0;
      color: rgba(255, 255, 255, 0.75);
      font-size: 14px;
      line-height: 1.7;
    }

    .contact-card p + p {
      margin-top: 16px;
    }

    .contact-links {
      display: grid;
      gap: 10px;
      margin-top: 22px;
    }

    .contact-links .btn {
      width: 100%;
    }

    .footer {
      background: var(--brand);
      color: rgba(255, 255, 255, 0.72);
      padding: 28px 0;
      font-size: 13px;
    }

    .footer-inner {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      gap: 20px;
    }

    @media (max-width: 1120px) {
      .nav {
        height: 76px;
        position: relative;
        align-items: center;
      }

      .menu-toggle {
        display: inline-flex;
      }

      .navlinks {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        z-index: 25;
        grid-template-columns: 1fr;
        gap: 0;
        border: 1px solid rgba(214, 192, 165, 0.22);
        border-top: 0;
        border-radius: 0 0 8px 8px;
        background: rgba(66, 66, 66, 0.98);
        box-shadow: var(--shadow);
        overflow: hidden;
      }

      .navlinks.is-open {
        display: grid;
      }

      .navlinks a,
      .navlinks .active {
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        padding: 17px 18px;
        color: var(--white);
        background: transparent;
      }

      .navlinks .active {
        color: var(--ink);
        background: var(--gold);
      }

      .hero {
        min-height: auto;
      }

      .hero-inner {
        padding: 72px 0 52px;
      }

      .building-layout,
      .location-layout,
      .care-layout,
      .contact-band {
        grid-template-columns: 1fr;
      }

      h1 {
        font-size: 44px;
      }

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

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

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

      .section-head {
        display: block;
      }

      .section-head p {
        margin-top: 12px;
      }

      .map-card {
        position: static;
      }

      .building-media {
        grid-template-rows: 360px 180px;
      }

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

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

    @media (max-width: 700px) {
      .nav,
      .hero-inner,
      .section-inner,
      .footer-inner {
        width: min(100% - 24px, 1180px);
      }

      h1 {
        font-size: 34px;
      }

      .lead {
        font-size: 16px;
      }

      .hero-actions {
        align-items: stretch;
        flex-direction: column;
      }

      .city-hero {
        min-height: auto;
      }

      .btn {
        width: 100%;
      }

      .hero-highlights,
      .city-hero-highlights,
      .city-offer-strip,
      .home-offer-grid,
      .home-offer-actions,
      .building-facts,
      .building-thumbs,
      .care-grid,
      .gallery-grid,
      .city-gallery-grid,
      .form-grid {
        grid-template-columns: 1fr;
      }

      .hero-highlight {
        min-height: auto;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: auto;
        align-items: start;
      }

      .section {
        padding: 48px 0;
      }

      .section h2 {
        font-size: 28px;
      }

      .care-copy h2 {
        font-size: 28px;
      }

      .care-lead {
        font-size: 16px;
      }

      .care-callout {
        align-items: flex-start;
      }

      .contact-band {
        padding: 24px;
      }

      .map-info strong {
        font-size: 21px;
      }

      .building-media {
        grid-template-rows: auto;
      }

      .building-photo {
        height: 250px;
      }

      .gallery-item {
        aspect-ratio: 4 / 3;
      }

      .form-submit,
      .footer-inner {
        align-items: stretch;
        flex-direction: column;
      }
    }
