:root {
  --ap-navy: #0d2342;
  --ap-navy-2: #142f55;
  --ap-blue: #0866d6;
  --ap-blue-dark: #0452ad;
  --ap-blue-soft: #eaf4ff;
  --ap-orange: #f05a28;
  --ap-orange-dark: #d84918;
  --ap-green: #14936d;
  --ap-ink: #14243d;
  --ap-muted: #5e6f87;
  --ap-line: #dfe7f0;
  --ap-soft: #f4f8fc;
  --ap-white: #ffffff;
  --ap-shadow-sm: 0 8px 24px rgba(13, 35, 66, 0.07);
  --ap-shadow-md: 0 18px 45px rgba(13, 35, 66, 0.11);
  --ap-shadow-lg: 0 28px 70px rgba(13, 35, 66, 0.16);
  --ap-radius-sm: 14px;
  --ap-radius: 22px;
  --ap-radius-lg: 30px;
}

.apartment-prague-page {
  color: var(--ap-ink);
  background: var(--ap-white);
  overflow-x: hidden;
}

.apartment-prague-page main {
  display: block;
}

.apartment-prague-page .container {
  width: min(1180px, calc(100% - 40px));
}

.ap-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #edf1f5;
}

.ap-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 13px 0;
  list-style: none;
  color: #77869a;
  font-size: 0.84rem;
}

.ap-breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: #aab5c3;
}

.ap-breadcrumb a {
  color: #5d6c80;
  text-decoration: none;
}

.ap-breadcrumb a:hover {
  color: var(--ap-blue);
}

.ap-hero {
  position: relative;
  padding: 72px 0 86px;
  background:
    radial-gradient(circle at 88% 6%, rgba(240, 90, 40, 0.10), transparent 25%),
    radial-gradient(circle at 9% 78%, rgba(8, 102, 214, 0.10), transparent 30%),
    linear-gradient(135deg, #f4f9ff 0%, #fff 54%, #fff7f2 100%);
}

.ap-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d9e4ef, transparent);
}

.ap-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  gap: 72px;
  align-items: center;
}

.ap-kicker {
  margin: 0 0 13px;
  color: var(--ap-blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ap-hero h1,
.ap-section h2,
.ap-reviews h2,
.ap-final-cta h2 {
  margin: 0;
  color: var(--ap-navy);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.ap-hero h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 5.2vw, 4.9rem);
  line-height: 0.99;
}

.ap-hero h1 span {
  color: var(--ap-blue);
}

.ap-hero__lead {
  max-width: 690px;
  margin: 25px 0 0;
  color: #52647b;
  font-size: clamp(1.03rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.ap-hero__actions,
.ap-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.ap-btn {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 21px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.ap-btn svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.ap-btn:hover {
  transform: translateY(-2px);
}

.ap-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ap-blue), #0a73e8);
  box-shadow: 0 12px 25px rgba(8, 102, 214, 0.22);
}

.ap-btn--primary:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--ap-blue-dark), var(--ap-blue));
  box-shadow: 0 16px 30px rgba(8, 102, 214, 0.28);
}

.ap-btn--accent {
  color: #fff;
  background: linear-gradient(135deg, var(--ap-orange), #ff713f);
  box-shadow: 0 12px 25px rgba(240, 90, 40, 0.20);
}

.ap-btn--accent:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--ap-orange-dark), var(--ap-orange));
}

.ap-btn--ghost {
  color: var(--ap-blue);
  border-color: #b7d3f1;
  background: rgba(255, 255, 255, 0.86);
}

.ap-btn--ghost:hover {
  border-color: var(--ap-blue);
  background: #fff;
}

.ap-btn--wide {
  width: 100%;
}

.ap-btn--light {
  color: var(--ap-navy);
  background: #fff;
}

.ap-btn--outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.54);
  background: transparent;
}

.ap-btn--outline-light:hover {
  color: var(--ap-navy);
  border-color: #fff;
  background: #fff;
}

.ap-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  color: #43566f;
  font-size: 0.92rem;
  font-weight: 750;
}

.ap-trust-list li {
  display: flex;
  gap: 7px;
  align-items: center;
}

.ap-trust-list span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ap-green);
  font-size: 0.72rem;
}

.ap-hero__visual {
  position: relative;
  padding: 0 18px 24px 0;
}

.ap-hero__visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -22px;
  right: -6px;
  width: 76%;
  height: 78%;
  border-radius: 34px;
  background: linear-gradient(145deg, #cfe6ff, #fce2d7);
  transform: rotate(4deg);
}

.ap-hero__image-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: var(--ap-radius-lg);
  background: #dbe7f3;
  box-shadow: var(--ap-shadow-lg);
}

.ap-hero__image-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
  object-position: center;
}

.ap-photo-label {
  position: absolute;
  right: 17px;
  bottom: 17px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #fff;
  background: rgba(9, 29, 55, 0.87);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 800;
}

.ap-photo-label span {
  color: #38d39f;
}

.ap-hero__mini-card {
  position: absolute;
  z-index: 2;
  left: -34px;
  bottom: -2px;
  display: grid;
  gap: 2px;
  min-width: 245px;
  padding: 15px 17px;
  border: 1px solid #e2e9f1;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--ap-shadow-md);
}

.ap-hero__mini-card strong {
  color: var(--ap-navy);
  font-size: 0.94rem;
}

.ap-hero__mini-card span {
  color: var(--ap-muted);
  font-size: 0.78rem;
}

.ap-reviews {
  padding: 82px 0 88px;
  background: #fff;
}

.ap-section-head {
  margin-bottom: 38px;
}

.ap-section-head h2,
.ap-reviews h2,
.ap-final-cta h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
}

.ap-section-head > p,
.ap-section-head > div > p:not(.ap-kicker),
.ap-reviews .ap-section-head > div > p:not(.ap-kicker) {
  max-width: 700px;
  margin: 15px 0 0;
  color: var(--ap-muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.ap-section-head--reviews,
.ap-section-head--split,
.ap-section-head--light {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
}

.ap-section-head--reviews > div,
.ap-section-head--split > div,
.ap-section-head--light > div {
  max-width: 690px;
}

.ap-section-head--center {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.ap-section-head--center > p {
  margin-right: auto;
  margin-left: auto;
}

.ap-google-link {
  display: flex;
  min-width: 300px;
  gap: 13px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #dce5ef;
  border-radius: 15px;
  color: var(--ap-ink);
  background: #fff;
  box-shadow: var(--ap-shadow-sm);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.ap-google-link:hover {
  border-color: #a8c9ed;
  transform: translateY(-2px);
  box-shadow: var(--ap-shadow-md);
}

.ap-google-link > span:nth-child(2) {
  display: grid;
  gap: 1px;
  margin-right: auto;
}

.ap-google-link strong {
  font-size: 0.9rem;
}

.ap-google-link small {
  color: var(--ap-muted);
  font-size: 0.76rem;
}

.ap-google-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ap-blue);
  stroke-width: 2;
}

.ap-google-g {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 12px;
  color: #4285f4;
  background: #f3f7ff;
  font-size: 1.35rem;
  font-weight: 900;
}

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

.ap-review-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  background: #fff;
  box-shadow: var(--ap-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ap-review-card::before {
  content: "“";
  position: absolute;
  top: 67px;
  right: 18px;
  color: #e5eef8;
  font-family: Georgia, serif;
  font-size: 5.5rem;
  line-height: 1;
  pointer-events: none;
}

.ap-review-card:hover {
  border-color: #bfd3e8;
  transform: translateY(-4px);
  box-shadow: var(--ap-shadow-md);
}

.ap-review-card--reference {
  background: linear-gradient(145deg, #f6fbff, #fff);
}

.ap-review-card__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.ap-avatar,
.ap-review-photo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.ap-avatar {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--ap-blue), var(--ap-navy-2));
  font-size: 0.82rem;
  font-weight: 900;
}

.ap-review-photo {
  object-fit: cover;
}

.ap-review-card h3 {
  margin: 0;
  color: var(--ap-navy);
  font-size: 1rem;
}

.ap-review-card__top p {
  margin: 2px 0 0;
  color: #7a889a;
  font-size: 0.76rem;
}

.ap-stars {
  color: #f5a623;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.ap-review-card blockquote {
  position: relative;
  z-index: 1;
  margin: 26px 0 24px;
  color: #354861;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.75;
}

.ap-review-card > a,
.ap-review-label {
  margin-top: auto;
  color: var(--ap-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.ap-review-card > a:hover {
  text-decoration: underline;
}

.ap-review-label {
  color: #66788e;
}

.ap-section {
  padding: 92px 0;
}

.ap-section--soft {
  background: var(--ap-soft);
}

.ap-section--intro {
  padding-top: 86px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

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

.ap-benefit-card {
  padding: 29px;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  background: #fff;
  box-shadow: var(--ap-shadow-sm);
}

.ap-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 14px;
}

.ap-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ap-icon--blue {
  color: var(--ap-blue);
  background: var(--ap-blue-soft);
}

.ap-icon--orange {
  color: var(--ap-orange);
  background: #fff1eb;
}

.ap-icon--green {
  color: var(--ap-green);
  background: #eaf8f3;
}

.ap-benefit-card h3 {
  margin: 21px 0 9px;
  color: var(--ap-navy);
  font-size: 1.15rem;
}

.ap-benefit-card p {
  margin: 0;
  color: var(--ap-muted);
  line-height: 1.7;
}

.ap-calc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  overflow: hidden;
  border: 1px solid #dce6f0;
  border-radius: var(--ap-radius-lg);
  background: #fff;
  box-shadow: var(--ap-shadow-md);
}

.ap-calc-form {
  padding: 38px;
}

.ap-field {
  margin-bottom: 27px;
}

.ap-field:last-child {
  margin-bottom: 0;
}

.ap-field label,
.ap-field__label {
  color: var(--ap-navy);
  font-size: 0.9rem;
  font-weight: 850;
}

.ap-field__label {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}

.ap-field__label output {
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--ap-blue);
  background: var(--ap-blue-soft);
  font-size: 0.82rem;
  font-weight: 900;
}

.ap-field-grid,
.ap-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.ap-field-grid .ap-field {
  margin-bottom: 0;
}

.ap-field select {
  width: 100%;
  min-height: 50px;
  margin-top: 9px;
  padding: 0 44px 0 14px;
  border: 1px solid #ced9e5;
  border-radius: 11px;
  color: var(--ap-ink);
  background: #fff;
  font: inherit;
  font-size: 0.91rem;
  outline: none;
}

.ap-field select:focus {
  border-color: var(--ap-blue);
  box-shadow: 0 0 0 4px rgba(8, 102, 214, 0.10);
}

.ap-field input[type="range"] {
  width: 100%;
  height: 8px;
  margin: 5px 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ap-blue) 0 var(--range-progress, 24%), #dbe5ef var(--range-progress, 24%) 100%);
  appearance: none;
}

.ap-field input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--ap-blue);
  box-shadow: 0 2px 9px rgba(8, 102, 214, 0.36);
  cursor: pointer;
  appearance: none;
}

.ap-field input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--ap-blue);
  box-shadow: 0 2px 9px rgba(8, 102, 214, 0.36);
  cursor: pointer;
}

.ap-range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: #95a2b2;
  font-size: 0.72rem;
}

.ap-check-grid {
  margin-top: 27px;
}

.ap-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  padding: 15px;
  border: 1px solid #dce5ef;
  border-radius: 13px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.ap-check:hover {
  border-color: #aec7e1;
  background: #f8fbff;
}

.ap-check input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--ap-blue);
}

.ap-check span {
  display: grid;
  gap: 2px;
}

.ap-check strong {
  color: var(--ap-navy);
  font-size: 0.86rem;
}

.ap-check small {
  color: #7a899b;
  font-size: 0.73rem;
}

.ap-calc-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(65, 146, 255, 0.32), transparent 35%),
    linear-gradient(145deg, var(--ap-navy), #153d70);
}

.ap-calc-result__label {
  margin: 0;
  color: #b8d4f2;
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ap-calc-price {
  margin: 12px 0 16px;
  color: #fff;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ap-calc-result > p:not(.ap-calc-result__label) {
  margin: 0 0 25px;
  color: #d5e2f0;
  font-size: 0.88rem;
  line-height: 1.65;
}

.ap-calc-phone {
  margin-top: 14px;
  color: #dbeafe;
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.ap-calc-phone:hover {
  color: #fff;
  text-decoration: underline;
}

.ap-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ap-process::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 31px;
  right: 11%;
  left: 11%;
  height: 2px;
  background: linear-gradient(90deg, var(--ap-blue), #9ec8f4, var(--ap-orange));
}

.ap-process li {
  position: relative;
  z-index: 1;
  padding: 0 14px;
  text-align: center;
}

.ap-process__number {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 21px;
  place-items: center;
  border: 7px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--ap-blue);
  box-shadow: 0 7px 18px rgba(8, 102, 214, 0.22);
  font-weight: 900;
}

.ap-process li:nth-child(4) .ap-process__number {
  background: var(--ap-orange);
  box-shadow: 0 7px 18px rgba(240, 90, 40, 0.22);
}

.ap-process h3 {
  margin: 0 0 8px;
  color: var(--ap-navy);
  font-size: 1.05rem;
}

.ap-process p {
  margin: 0;
  color: var(--ap-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.ap-section--navy {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 95% 10%, rgba(8, 102, 214, 0.38), transparent 30%),
    linear-gradient(145deg, #0a1d38, #102d51);
}

.ap-section-head--light {
  margin-bottom: 42px;
}

.ap-section-head--light h2 {
  color: #fff;
}

.ap-section-head--light > p {
  max-width: 510px;
  color: #c8d7e8;
}

.ap-section--navy .ap-kicker {
  color: #78b7ff;
}

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

.ap-price-card {
  position: relative;
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--ap-radius);
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(8px);
}

.ap-price-card--featured {
  border-color: rgba(91, 171, 255, 0.65);
  background: rgba(8, 102, 214, 0.18);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

.ap-price-badge {
  position: absolute;
  top: -11px;
  right: 20px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--ap-orange);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ap-price-card p {
  margin: 0;
  color: #b9cbe0;
  font-size: 0.84rem;
  font-weight: 750;
}

.ap-price-card h3 {
  margin: 10px 0 13px;
  color: #fff;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.ap-price-card span {
  color: #d2deec;
  font-size: 0.86rem;
  line-height: 1.55;
}

.ap-price-note {
  margin-top: 23px;
  color: #b9cbe0;
  font-size: 0.86rem;
  text-align: center;
}

.ap-price-note a {
  color: #fff;
  font-weight: 800;
}

.ap-section-head--split > p {
  max-width: 470px;
  text-align: right;
}

.ap-before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ap-before-after figure {
  margin: 0;
}

.ap-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--ap-radius);
  background: #dfe7ef;
  box-shadow: var(--ap-shadow-md);
}

.ap-photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ap-photo-frame:hover img {
  transform: scale(1.025);
}

.ap-photo-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.ap-photo-tag--before {
  background: rgba(13, 35, 66, 0.88);
}

.ap-photo-tag--after {
  background: rgba(20, 147, 109, 0.92);
}

.ap-before-after figcaption {
  margin: 13px 4px 0;
  color: var(--ap-muted);
  font-size: 0.88rem;
}

.ap-location-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.ap-location-layout h2 {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.08;
}

.ap-location-layout > div:first-child > p:not(.ap-kicker) {
  margin: 17px 0 0;
  color: var(--ap-muted);
  line-height: 1.7;
}

.ap-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ap-locations a {
  padding: 10px 14px;
  border: 1px solid #d4e0ec;
  border-radius: 999px;
  color: #3d526b;
  background: #fff;
  box-shadow: 0 5px 14px rgba(13, 35, 66, 0.04);
  font-size: 0.85rem;
  font-weight: 780;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.ap-locations a:hover {
  color: var(--ap-blue);
  border-color: #8cbbea;
  transform: translateY(-2px);
}

.ap-faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: start;
}

.ap-faq-intro {
  position: sticky;
  top: 112px;
}

.ap-faq-intro h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
}

.ap-faq-intro > p:not(.ap-kicker) {
  margin: 17px 0 21px;
  color: var(--ap-muted);
  line-height: 1.7;
}

.ap-text-link {
  color: var(--ap-blue);
  font-weight: 850;
  text-decoration: none;
}

.ap-text-link:hover {
  text-decoration: underline;
}

.ap-faq {
  display: grid;
  gap: 11px;
}

.ap-faq details {
  overflow: hidden;
  border: 1px solid var(--ap-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(13, 35, 66, 0.035);
}

.ap-faq summary {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 19px 21px;
  color: var(--ap-navy);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 850;
  list-style: none;
}

.ap-faq summary::-webkit-details-marker {
  display: none;
}

.ap-faq summary span {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: var(--ap-blue-soft);
}

.ap-faq summary span::before,
.ap-faq summary span::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 5px;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--ap-blue);
  transition: transform 0.18s ease;
}

.ap-faq summary span::after {
  transform: rotate(90deg);
}

.ap-faq details[open] summary span::after {
  transform: rotate(0);
}

.ap-faq details[open] summary {
  color: var(--ap-blue);
  background: #f7fbff;
}

.ap-faq details p {
  margin: 0;
  padding: 0 21px 20px;
  color: var(--ap-muted);
  font-size: 0.91rem;
  line-height: 1.72;
}

.ap-final-cta {
  padding: 72px 0;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0%, rgba(240, 90, 40, 0.42), transparent 35%),
    linear-gradient(135deg, var(--ap-blue-dark), var(--ap-navy));
}

.ap-final-cta__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 55px;
  align-items: center;
}

.ap-final-cta .ap-kicker {
  color: #96c9ff;
}

.ap-final-cta h2 {
  max-width: 720px;
  color: #fff;
}

.ap-final-cta__inner > div:first-child > p:last-child {
  max-width: 680px;
  margin: 17px 0 0;
  color: #d3dfed;
  line-height: 1.7;
}

.ap-final-cta__actions {
  justify-content: flex-end;
  margin-top: 0;
}

.ap-mobile-bar {
  display: none;
}

@media (max-width: 1050px) {
  .ap-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    gap: 46px;
  }

  .ap-hero h1 {
    font-size: clamp(2.7rem, 5.6vw, 4.1rem);
  }

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

  .ap-review-card:last-child {
    grid-column: 1 / -1;
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .apartment-prague-page {
    padding-bottom: 78px;
  }

  .ap-hero {
    padding: 45px 0 72px;
  }

  .ap-hero__grid,
  .ap-calc-shell,
  .ap-location-layout,
  .ap-faq-layout,
  .ap-final-cta__inner {
    grid-template-columns: 1fr;
  }

  .ap-hero__visual {
    max-width: 650px;
    margin: 0 auto;
    padding: 0 0 26px;
    order: -1;
  }

  .ap-hero__image-wrap img {
    aspect-ratio: 16 / 10;
  }

  .ap-hero__visual::before {
    right: -18px;
    width: 55%;
  }

  .ap-hero__mini-card {
    left: 18px;
  }

  .ap-section-head--reviews,
  .ap-section-head--split,
  .ap-section-head--light {
    align-items: flex-start;
    flex-direction: column;
  }

  .ap-google-link {
    width: 100%;
    min-width: 0;
  }

  .ap-benefit-grid,
  .ap-price-grid {
    grid-template-columns: 1fr;
  }

  .ap-calc-result {
    min-height: 380px;
  }

  .ap-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 20px;
  }

  .ap-process::before {
    display: none;
  }

  .ap-section-head--split > p {
    max-width: 700px;
    text-align: left;
  }

  .ap-location-layout,
  .ap-faq-layout {
    gap: 38px;
  }

  .ap-faq-intro {
    position: static;
  }

  .ap-final-cta__actions {
    justify-content: flex-start;
  }

  .ap-mobile-bar {
    position: fixed;
    z-index: 300;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid #d7e0e9;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 45px rgba(13, 35, 66, 0.22);
    backdrop-filter: blur(12px);
  }

  .ap-mobile-bar a {
    padding: 11px 9px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
  }

  .ap-mobile-bar__call {
    color: #fff;
    background: var(--ap-blue);
  }

  .ap-mobile-bar__request {
    color: #fff;
    background: var(--ap-orange);
  }
}

@media (max-width: 680px) {
  .apartment-prague-page .container {
    width: min(100% - 28px, 1180px);
  }

  .ap-breadcrumb ol {
    font-size: 0.76rem;
  }

  .ap-hero {
    padding-top: 25px;
  }

  .ap-hero__grid {
    gap: 38px;
  }

  .ap-hero__image-wrap {
    border-width: 5px;
    border-radius: 21px;
  }

  .ap-hero__image-wrap img {
    aspect-ratio: 4 / 3;
  }

  .ap-hero__visual::before {
    top: -12px;
    right: 0;
    border-radius: 24px;
  }

  .ap-photo-label {
    right: 11px;
    bottom: 11px;
    max-width: calc(100% - 22px);
    font-size: 0.72rem;
  }

  .ap-hero__mini-card {
    position: relative;
    left: 0;
    bottom: auto;
    width: calc(100% - 24px);
    min-width: 0;
    margin: -16px auto 0;
  }

  .ap-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.45rem);
  }

  .ap-hero__lead {
    font-size: 1rem;
  }

  .ap-hero__actions,
  .ap-final-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ap-btn {
    width: 100%;
  }

  .ap-trust-list {
    display: grid;
    gap: 10px;
  }

  .ap-reviews,
  .ap-section {
    padding: 66px 0;
  }

  .ap-section-head {
    margin-bottom: 30px;
  }

  .ap-section-head h2,
  .ap-reviews h2,
  .ap-final-cta h2,
  .ap-location-layout h2,
  .ap-faq-intro h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .ap-review-grid,
  .ap-field-grid,
  .ap-check-grid,
  .ap-process,
  .ap-before-after {
    grid-template-columns: 1fr;
  }

  .ap-review-card:last-child {
    grid-column: auto;
  }

  .ap-review-card {
    min-height: 0;
    padding: 22px;
  }

  .ap-review-card__top {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ap-stars {
    grid-column: 2;
  }

  .ap-benefit-card {
    padding: 24px;
  }

  .ap-calc-form,
  .ap-calc-result {
    padding: 27px 22px;
  }

  .ap-calc-result {
    min-height: 340px;
  }

  .ap-calc-price {
    font-size: 2.5rem;
  }

  .ap-process {
    gap: 20px;
  }

  .ap-process li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    padding: 0;
    text-align: left;
  }

  .ap-process__number {
    width: 48px;
    height: 48px;
    margin: 0;
    border-width: 5px;
  }

  .ap-price-card h3 {
    font-size: 1.75rem;
  }

  .ap-locations a {
    flex: 1 0 calc(50% - 10px);
    text-align: center;
  }

  .ap-final-cta {
    padding: 62px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apartment-prague-page *,
  .apartment-prague-page *::before,
  .apartment-prague-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Patch 50: hero bez fotografie + viditelný Google profil s recenzemi */
.ap-hero__grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 920px;
  margin-inline: auto;
}
.ap-hero__content {
  max-width: 860px;
}
.ap-hero__visual {
  display: none !important;
}
.ap-google-reviews-live {
  margin: 28px 0 32px;
  padding: 22px;
  border: 1px solid rgba(15, 59, 133, .14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 42, 86, .08);
}
.ap-google-reviews-live__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.ap-google-reviews-live__head > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
}
.ap-google-reviews-live__head p {
  grid-column: 2;
  margin: 3px 0 0;
  color: var(--ap-muted);
}
.ap-google-reviews-live__head a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--ap-primary);
  border-radius: 12px;
  color: var(--ap-primary);
  font-weight: 800;
  text-decoration: none;
}
.ap-google-reviews-live__frame {
  overflow: hidden;
  min-height: 420px;
  border-radius: 16px;
  background: #f5f7fb;
}
.ap-google-reviews-live__frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}
@media (max-width: 760px) {
  .ap-hero__grid { max-width: none; }
  .ap-google-reviews-live { padding: 14px; border-radius: 18px; }
  .ap-google-reviews-live__head { align-items: stretch; flex-direction: column; }
  .ap-google-reviews-live__head a { width: 100%; }
  .ap-google-reviews-live__frame,
  .ap-google-reviews-live__frame iframe { min-height: 460px; height: 460px; }
}

/* Patch 50 revize: skutečné Google recenze bez vložené mapy */
.ap-review-grid--google {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ap-review-card--google {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.ap-review-author {
  min-width: 0;
}

.ap-review-rating {
  margin-left: auto;
  text-align: right;
  flex: 0 0 auto;
}

.ap-review-rating .ap-stars {
  line-height: 1;
}

.ap-review-rating > span {
  display: block;
  margin-top: 5px;
  color: var(--ap-navy, #0b1f4d);
  font-size: 13px;
  font-weight: 800;
}

.ap-review-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #667085;
  font-size: 13px;
}

.ap-review-date span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #0b57d0;
  font-size: 11px;
  font-weight: 800;
}

.ap-review-card--google blockquote {
  margin-top: 16px;
}

.ap-reviews-all {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.ap-reviews-all .ap-btn {
  gap: 10px;
}

.ap-reviews-all .ap-google-g {
  background: #fff;
}

@media (max-width: 980px) {
  .ap-review-grid--google {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .ap-review-card__top {
    align-items: flex-start;
  }

  .ap-review-rating {
    margin-left: 0;
  }
}
