:root {
  --ink: #07182b;
  --deep: #0b2036;
  --gold: #d79a28;
  --gold-soft: #f3c86d;
  --paper: #f7f5ef;
  --white: #ffffff;
  --muted: #6f7782;
  --dark-line: rgba(7,24,43,.14);
}

/* Buying budget guide */
.budget-buying-page {
  background: #fff;
}

.article-hero.budget-buying-hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 24, 42, .94) 0%, rgba(7, 24, 42, .86) 43%, rgba(7, 24, 42, .14) 72%, rgba(7, 24, 42, .04) 100%),
    url("../assets/blog/taxes-selling-spain-cover.png") center / cover no-repeat;
}

.article-hero.budget-buying-hero .wrap {
  width: min(1180px, calc(100% - 40px));
  padding: 78px 0;
}

.article-hero.budget-buying-hero .article-hero-copy {
  width: min(650px, 58vw);
}

.article-hero.budget-buying-hero h1 {
  max-width: 640px;
  margin: 18px 0 18px;
  font-size: clamp(42px, 4.25vw, 59px);
  line-height: 1.01;
  letter-spacing: 0;
}

.article-hero.budget-buying-hero .hero-subtitle {
  max-width: 590px;
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.16;
  font-weight: 760;
}

.budget-hero-meta {
  margin-top: 34px;
}

.budget-article-shell {
  width: min(1040px, calc(100% - 40px));
}

.budget-source-locked {
  max-width: none;
  color: #293b50;
  font-size: 18px;
  line-height: 1.58;
}

.budget-source-locked p {
  max-width: 820px;
  margin: 0 0 18px;
}

.budget-intro-panel {
  margin-bottom: 32px;
  padding: 38px 42px;
  border: 1px solid #dce2e8;
  border-left: 4px solid #dfa12f;
  border-radius: 7px;
  background: #fff;
}

.budget-intro-panel p:first-child {
  font-size: 22px;
  font-weight: 760;
  color: #10243a;
}

.budget-intro-panel p:nth-child(2) {
  margin: 8px 0 22px;
  color: #dfa12f;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 850;
}

.budget-source-locked ul {
  max-width: 820px;
  margin: 18px 0 25px;
  padding-left: 23px;
}

.budget-source-locked li {
  margin: 8px 0;
}

.budget-source-locked li::marker {
  color: #dfa12f;
}

.budget-article-section {
  position: relative;
  padding: 68px 0;
  border-top: 1px solid #dce2e8;
}

.budget-article-section h2 {
  max-width: 850px;
  margin: 0 0 24px;
  color: #0b1f33;
  font-size: clamp(35px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: uppercase;
}

.budget-article-section h3 {
  max-width: 820px;
  margin: 34px 0 15px;
  color: #10243a;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: 0;
}

.budget-number-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.budget-number-heading span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dfa12f;
  color: #07182b;
  font-size: 15px;
}

.budget-note-line,
.budget-key-line {
  max-width: 880px !important;
  margin: 25px 0 !important;
  padding: 20px 24px;
  border-left: 3px solid #dfa12f;
  background: #fff8e9;
}

.budget-key-line {
  color: #10243a;
  font-size: 20px;
  font-weight: 760;
}

.budget-formula-line {
  display: inline-block;
  width: auto;
  min-width: 240px;
  margin: 6px 10px 8px 0 !important;
  padding: 14px 18px;
  border: 1px solid #e0a337;
  border-radius: 6px;
  background: #fff;
  color: #10243a;
  font-size: 21px;
  font-weight: 820;
}

.budget-table-wrap {
  margin: 30px 0;
  overflow: hidden;
  border: 1px solid #d7dee5;
  border-radius: 7px;
  background: #fff;
}

.budget-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.35;
}

.budget-table th,
.budget-table td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid #d7dee5;
  border-bottom: 1px solid #d7dee5;
}

.budget-table th:last-child,
.budget-table td:last-child {
  border-right: 0;
}

.budget-table tbody tr:last-child td {
  border-bottom: 0;
}

.budget-table th {
  background: #0b1f33;
  color: #fff;
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.budget-table tbody tr:nth-child(even) td {
  background: #f7f8fa;
}

.budget-table-total td {
  background: #fff3d8 !important;
  color: #0b1f33;
  font-weight: 820;
}

.budget-section-quick .budget-table tbody tr:first-child td {
  background: #fff3d8;
}

.budget-section-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.budget-section-choice h2,
.budget-section-choice > p,
.budget-section-choice > ul {
  grid-column: 1 / -1;
}

.budget-section-choice h3 {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 3px solid #dfa12f;
}

.budget-section-choice h3:nth-of-type(2) {
  grid-column: 2;
  grid-row: 3;
}

.budget-section-choice h3:nth-of-type(1) ~ p {
  padding-right: 20px;
}

.budget-section-secondary .budget-table td:last-child,
.budget-section-comparison .budget-table td:last-child {
  color: #b67812;
  font-weight: 820;
}

.budget-section-example,
.budget-section-mortgage {
  margin: 28px -34px;
  padding: 58px 34px;
  border: 0;
  border-radius: 8px;
  background: #0b1f33;
  color: #dce4ec;
}

.budget-section-example h2,
.budget-section-example h3,
.budget-section-mortgage h2,
.budget-section-mortgage h3 {
  color: #fff;
}

.budget-section-example .budget-formula-line,
.budget-section-mortgage .budget-formula-line {
  border-color: #37516a;
  background: #142e48;
  color: #fff;
}

.budget-section-example .budget-table-wrap,
.budget-section-mortgage .budget-table-wrap {
  border-color: #34506b;
}

.budget-section-example .budget-table th,
.budget-section-mortgage .budget-table th {
  background: #142e48;
}

.budget-section-example .budget-table td,
.budget-section-mortgage .budget-table td {
  border-color: #34506b;
  background: #102943;
  color: #fff;
}

.budget-section-example .budget-table tbody tr:nth-child(even) td,
.budget-section-mortgage .budget-table tbody tr:nth-child(even) td {
  background: #16324e;
}

.budget-section-example .budget-table-total td,
.budget-section-mortgage .budget-table-total td {
  background: #dfa12f !important;
  color: #07182b;
}

.budget-section-premium::before {
  content: "1 000 000 €+";
  display: block;
  margin-bottom: 20px;
  color: #dfa12f;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
}

.budget-section-warning {
  margin: 20px 0;
  padding: 55px 42px;
  border: 1px solid #e1ad4d;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff9ed 0%, #fff 72%);
}

.budget-section-warning h2 {
  font-size: clamp(33px, 4vw, 48px);
}

.budget-section-benefits {
  padding-left: 34px;
  border-left: 4px solid #dfa12f;
}

.budget-section-newbuild h3 {
  display: inline-block;
  width: calc(50% - 13px);
  margin-right: 20px;
  padding: 22px;
  border-top: 3px solid #dfa12f;
  background: #f7f8fa;
  vertical-align: top;
}

.budget-section-comparison .budget-table-wrap {
  box-shadow: 0 18px 45px rgba(11, 31, 51, .08);
}

.budget-section-costs h3 {
  display: inline-flex;
  width: calc(50% - 12px);
  min-height: 88px;
  margin: 12px 8px 12px 0;
  padding: 24px;
  align-items: center;
  border: 1px solid #dce2e8;
  border-radius: 6px;
  background: #fff;
}

.budget-section-note {
  padding: 44px 38px;
  border: 1px solid #dce2e8;
  border-radius: 8px;
  background: #f7f8fa;
}

.budget-section-brand {
  margin: 30px -34px;
  padding: 62px 42px;
  border: 0;
  border-radius: 8px;
  background: #0b1f33;
  color: #dce4ec;
}

.budget-section-brand h2 {
  color: #fff;
}

.budget-section-brand .budget-key-line {
  background: #dfa12f;
  color: #07182b;
}

.budget-section-table .budget-table {
  font-size: 15px;
}

.budget-section-calculator h3 {
  margin-top: 26px;
  padding: 18px 22px;
  border-left: 3px solid #dfa12f;
  background: #f7f8fa;
}

.budget-section-mortgage::before {
  content: "300 000 €  →  210 000 € банк  +  123 000–126 000 € своих средств";
  display: block;
  margin-bottom: 28px;
  padding: 22px 26px;
  border-radius: 6px;
  background: #dfa12f;
  color: #07182b;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 850;
}

.budget-section-questions {
  counter-reset: budget-question;
}

.budget-section-questions .budget-number-heading {
  counter-increment: budget-question;
  margin-bottom: 8px;
  padding: 18px 22px;
  border: 1px solid #dce2e8;
  border-radius: 6px;
  background: #fff;
}

.budget-section-summary {
  margin: 30px -34px;
  padding: 58px 42px;
  border: 0;
  border-radius: 8px;
  background: #f4f6f8;
}

.budget-section-summary p {
  font-size: 20px;
}

.budget-section-cta {
  margin: 34px -34px 0;
  padding: 64px 42px;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 24, 42, .95), rgba(7, 24, 42, .82)),
    url("../assets/blog/taxes-selling-spain-cover.png") center / cover;
  color: #fff;
}

.budget-section-cta h2,
.budget-section-cta h3 {
  color: #fff;
}

.budget-section-cta li::marker {
  color: #f4bd50;
}

.budget-cta-link {
  display: inline-block;
  max-width: 620px;
  margin-top: 12px;
  padding: 16px 22px;
  border-radius: 6px;
  background: #dfa12f;
  color: #07182b;
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
}

.budget-section-next {
  padding: 38px 0 0;
}

.budget-section-next h2 {
  font-size: 24px;
  text-transform: none;
}

.budget-section-next p {
  padding: 22px 26px;
  border: 1px solid #dce2e8;
  border-radius: 6px;
  background: #fff;
  color: #0b1f33;
  font-size: 20px;
  font-weight: 760;
}

@media (max-width: 760px) {
  .article-hero.budget-buying-hero {
    min-height: 610px;
    align-items: flex-end;
    padding: 96px 0 30px;
    background-position: 62% center;
  }

  .article-hero.budget-buying-hero .wrap,
  .budget-article-shell {
    width: calc(100% - 28px);
  }

  .article-hero.budget-buying-hero .wrap {
    padding: 0;
  }

  .article-hero.budget-buying-hero .article-hero-copy {
    width: 100%;
    padding: 24px 21px;
    border-radius: 7px;
    background: rgba(7, 24, 42, .91);
  }

  .article-hero.budget-buying-hero h1 {
    margin-top: 14px;
    font-size: 31px;
    line-height: 1.05;
  }

  .article-hero.budget-buying-hero .hero-subtitle {
    font-size: 19px;
  }

  .budget-hero-meta {
    gap: 12px;
    margin-top: 22px;
  }

  .budget-source-locked {
    font-size: 17px;
  }

  .budget-intro-panel {
    padding: 26px 22px;
  }

  .budget-intro-panel p:first-child {
    font-size: 19px;
  }

  .budget-intro-panel p:nth-child(2) {
    font-size: 25px;
  }

  .budget-article-section {
    padding: 50px 0;
  }

  .budget-article-section h2 {
    font-size: 31px;
    line-height: 1.06;
  }

  .budget-article-section h3 {
    font-size: 23px;
  }

  .budget-section-choice {
    display: block;
  }

  .budget-section-choice h3:nth-of-type(2) {
    grid-column: auto;
    grid-row: auto;
  }

  .budget-section-example,
  .budget-section-mortgage,
  .budget-section-brand,
  .budget-section-summary,
  .budget-section-cta {
    margin-right: -14px;
    margin-left: -14px;
    padding: 46px 22px;
    border-radius: 0;
  }

  .budget-section-warning,
  .budget-section-note {
    padding: 38px 22px;
  }

  .budget-section-benefits {
    padding-left: 20px;
  }

  .budget-section-newbuild h3,
  .budget-section-costs h3 {
    display: flex;
    width: 100%;
    min-height: 0;
    margin: 10px 0;
  }

  .budget-formula-line {
    display: block;
    min-width: 0;
    margin-right: 0 !important;
    font-size: 18px;
  }

  .budget-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .budget-table,
  .budget-table tbody,
  .budget-table tr,
  .budget-table td {
    display: block;
    width: 100%;
  }

  .budget-table thead {
    display: none;
  }

  .budget-table tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid #d7dee5;
    border-radius: 6px;
    background: #fff;
  }

  .budget-table td,
  .budget-table tbody tr:nth-child(even) td {
    display: grid;
    grid-template-columns: minmax(105px, 42%) 1fr;
    gap: 14px;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid #d7dee5;
    background: #fff;
  }

  .budget-table td::before {
    content: attr(data-label);
    color: #677689;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
  }

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

  .budget-section-example .budget-table tr,
  .budget-section-mortgage .budget-table tr {
    border-color: #34506b;
  }

  .budget-section-example .budget-table td,
  .budget-section-example .budget-table tbody tr:nth-child(even) td,
  .budget-section-mortgage .budget-table td,
  .budget-section-mortgage .budget-table tbody tr:nth-child(even) td {
    border-color: #34506b;
    background: #102943;
  }

  .budget-section-example .budget-table td::before,
  .budget-section-mortgage .budget-table td::before {
    color: #aebdcb;
  }

  .budget-section-mortgage::before {
    font-size: 18px;
  }

  .budget-section-summary p {
    font-size: 18px;
  }
}

/* Services directory */
.services-page { background: #fff; }
.services-page .topbar { position: relative; }
.services-hero { color: #fff; background: var(--ink); overflow: hidden; }
.services-hero-inner { position: relative; min-height: 610px; padding: 112px 0 76px; display: flex; flex-direction: column; justify-content: center; }
.services-hero-inner::after { content: "06"; position: absolute; right: -24px; bottom: -112px; color: rgba(255,255,255,.035); font-size: clamp(280px, 38vw, 520px); font-weight: 950; line-height: 1; letter-spacing: -.08em; pointer-events: none; }
.services-kicker { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; width: fit-content; margin-bottom: 26px; color: var(--gold-soft); font-size: 12px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.services-kicker::before { content: ""; width: 42px; height: 2px; background: var(--gold); }
.services-hero h1 { position: relative; z-index: 1; max-width: 930px; margin-bottom: 28px; font-size: clamp(58px, 8.8vw, 112px); line-height: .87; letter-spacing: -.04em; }
.services-hero p { position: relative; z-index: 1; max-width: 700px; color: rgba(255,255,255,.78); font-size: clamp(18px, 2vw, 23px); line-height: 1.45; }
.services-scroll-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; width: fit-content; min-height: 44px; margin-top: 26px; color: var(--gold-soft); font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.services-scroll-link span { font-size: 19px; }
.services-nav-section { padding: 92px 0 104px; background: #f7f5ef; }
.services-nav-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 64px; align-items: end; margin-bottom: 46px; }
.services-nav-head h2 { margin: 0; color: var(--ink); font-size: clamp(38px, 5.2vw, 68px); line-height: .97; letter-spacing: -.03em; text-transform: uppercase; }
.services-nav-head p { margin: 0; color: #566171; font-size: 18px; line-height: 1.55; }
.services-nav-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.services-nav-card { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 300px; padding: 24px; overflow: hidden; border: 1px solid rgba(7,24,43,.14); border-radius: 12px; background: #fff; color: var(--ink); transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .28s ease; }
.services-nav-card:hover, .services-nav-card:focus-visible { transform: translateY(-4px); border-color: rgba(215,154,40,.65); box-shadow: 0 22px 50px rgba(7,24,43,.1); }
.services-nav-card.featured { background: var(--deep); color: #fff; border-color: transparent; }
.services-nav-card span { color: var(--gold); font-size: 13px; font-weight: 900; }
.services-nav-card strong { align-self: end; max-width: 290px; margin: 50px 0 18px; font-size: clamp(23px, 2.2vw, 29px); line-height: 1.02; text-transform: uppercase; }
.services-nav-card small { padding-top: 15px; border-top: 1px solid rgba(7,24,43,.12); color: #657080; font-size: 12px; font-weight: 800; line-height: 1.45; }
.services-nav-card.featured small { color: rgba(255,255,255,.7); border-top-color: rgba(255,255,255,.15); }
.services-nav-card i { position: absolute; top: 19px; right: 22px; color: var(--gold); font-size: 24px; font-style: normal; transition: transform .25s ease; }
.services-nav-card:hover i, .services-nav-card:focus-visible i { transform: translate(3px, 3px); }
.service-detail { scroll-margin-top: 20px; padding: 110px 0; border-top: 1px solid rgba(7,24,43,.12); background: #fff; }
.service-detail.muted { background: #f7f5ef; }
.service-detail.featured { color: #fff; background: var(--deep); border-top: 0; }
.service-detail-grid { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(420px, 1.15fr); gap: clamp(60px, 9vw, 124px); align-items: start; }
.service-detail-title { position: sticky; top: 28px; }
.service-detail-title > span { display: block; margin-bottom: 26px; color: var(--gold); font-size: 14px; font-weight: 900; }
.service-detail-title h2 { max-width: 560px; margin: 0 0 22px; color: var(--ink); font-size: clamp(40px, 5vw, 65px); line-height: .96; letter-spacing: -.035em; text-transform: uppercase; }
.service-detail-title p { max-width: 480px; margin: 0; color: #657080; font-size: 18px; line-height: 1.55; }
.service-detail.featured .service-detail-title h2 { color: #fff; }
.service-detail.featured .service-detail-title p { color: rgba(255,255,255,.68); }
.service-result { margin-bottom: 42px; padding-bottom: 34px; border-bottom: 1px solid rgba(7,24,43,.16); }
.service-detail.featured .service-result { border-bottom-color: rgba(255,255,255,.16); }
.service-result span, .service-includes h3 { display: block; margin-bottom: 14px; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.service-result p { margin: 0; color: var(--ink); font-size: clamp(22px, 2.3vw, 31px); font-weight: 780; line-height: 1.28; }
.service-detail.featured .service-result p { color: #fff; }
.service-includes h3 { margin-bottom: 20px; }
.service-includes ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; margin: 0; padding: 0; list-style: none; }
.service-includes li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid rgba(7,24,43,.1); color: #334052; line-height: 1.45; }
.service-includes li::before { content: ""; position: absolute; left: 0; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.service-detail.featured .service-includes li { color: rgba(255,255,255,.78); border-bottom-color: rgba(255,255,255,.1); }
.service-note { margin: 28px 0 0; padding: 18px 20px; border: 1px solid rgba(7,24,43,.12); border-radius: 12px; color: #566171; background: rgba(255,255,255,.5); font-size: 14px; line-height: 1.55; }
.service-detail.featured .service-note { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.04); }
.service-cta { margin-top: 34px; white-space: normal; text-align: center; }
.partner-section { padding: 82px 0; background: var(--gold); }
.partner-panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 70px; align-items: center; }
.partner-panel span { display: block; margin-bottom: 16px; color: rgba(7,24,43,.65); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.partner-panel h2 { margin: 0; color: var(--ink); font-size: clamp(38px, 5vw, 65px); line-height: .98; letter-spacing: -.035em; text-transform: uppercase; }
.partner-panel p { color: #26384c; font-size: 18px; line-height: 1.55; }
.partner-panel .button.gold { color: #fff; background: var(--ink); }
.service-form-section { padding: 105px 0; color: #fff; background: var(--ink); }
.service-form-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(440px, 1.15fr); gap: clamp(60px, 8vw, 110px); align-items: start; }
.service-form-grid h2 { max-width: 560px; margin-bottom: 20px; font-size: clamp(40px, 5vw, 65px); line-height: .98; letter-spacing: -.035em; text-transform: uppercase; }
.service-form-grid > div > p { max-width: 500px; color: rgba(255,255,255,.68); font-size: 18px; line-height: 1.55; }
.service-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 30px; border-radius: 12px; background: #fff; color: var(--ink); }
.service-form label { display: grid; gap: 8px; color: #475466; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.service-form label.full { grid-column: 1 / -1; }
.service-form .field { width: 100%; min-height: 50px; color: var(--ink); background: #f7f5ef; border-color: rgba(7,24,43,.16); }
.service-form .textarea { min-height: 118px; }
.service-form .button { align-self: end; min-height: 50px; }
.service-form .form-result { grid-column: 1 / -1; color: var(--ink); }

@media (max-width: 920px) {
  .services-nav-head, .service-detail-grid, .partner-panel, .service-form-grid { grid-template-columns: 1fr; }
  .services-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-detail-title { position: static; }
  .service-detail-grid { gap: 48px; }
  .service-detail-title p { max-width: 680px; }
}

@media (max-width: 640px) {
  .services-hero-inner { min-height: 520px; padding: 72px 0 56px; }
  .services-hero h1 { font-size: clamp(48px, 15vw, 68px); }
  .services-nav-section, .service-detail, .service-form-section { padding: 66px 0; }
  .services-nav-head { gap: 24px; }
  .services-nav-grid { grid-template-columns: 1fr; }
  .services-nav-card { min-height: 250px; }
  .service-includes ul, .service-form { grid-template-columns: 1fr; }
  .service-form { padding: 20px; }
  .service-form label.full { grid-column: auto; }
  .partner-section { padding: 60px 0; }
  .partner-panel { gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .services-nav-card, .services-nav-card i { transition: none; }
  .services-nav-card:hover, .services-nav-card:focus-visible { transform: none; }
}

/* Services catalog: closed choices, one complete service at a time */
.services-catalog-page { background: #f7f5ef; }
.catalog-services-intro { padding: 82px 0 58px; background: var(--ink); color: #fff; }
.catalog-services-intro span { display: block; margin-bottom: 18px; color: var(--gold-soft); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.catalog-services-intro h1 { max-width: 900px; margin: 0; font-size: clamp(46px, 6vw, 76px); line-height: .98; letter-spacing: -.035em; }
.catalog-services-section { padding: 64px 0 92px; }
.catalog-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.catalog-service { min-width: 0; border-radius: 14px; background: #fff; overflow: hidden; }
.catalog-service.is-open { grid-column: 1 / -1; }
.catalog-service-trigger { width: 100%; min-height: 250px; display: grid; grid-template-columns: 36px minmax(0, 1fr) 38px; gap: 14px; align-items: start; padding: 24px; border: 0; color: var(--ink); background: #fff; font: inherit; text-align: left; cursor: pointer; transition: color .24s ease, background-color .24s ease; }
.catalog-service-trigger:hover, .catalog-service-trigger:focus-visible { background: #fffaf0; }
.catalog-service-trigger:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.catalog-service.is-open .catalog-service-trigger { min-height: 0; color: #fff; background: var(--deep); }
.catalog-service-number { padding-top: 3px; color: var(--gold); font-size: 12px; font-weight: 900; }
.catalog-service-heading { align-self: end; display: grid; gap: 14px; }
.catalog-service-heading strong { max-width: 280px; font-size: clamp(23px, 2vw, 29px); font-weight: 790; line-height: 1.03; letter-spacing: -.018em; text-transform: uppercase; }
.catalog-service-heading small { max-width: 310px; color: #697381; font-size: 14px; font-weight: 650; line-height: 1.45; }
.catalog-service.is-open .catalog-service-heading { align-self: center; }
.catalog-service.is-open .catalog-service-heading small { color: rgba(255,255,255,.66); }
.catalog-service-toggle { position: relative; width: 38px; height: 38px; border: 1px solid rgba(7,24,43,.17); border-radius: 50%; }
.catalog-service-toggle::before, .catalog-service-toggle::after { content: ""; position: absolute; left: 11px; right: 11px; top: 18px; height: 1.5px; background: var(--gold); transition: transform .22s ease; }
.catalog-service-toggle::after { transform: rotate(90deg); }
.catalog-service.is-open .catalog-service-toggle { border-color: rgba(255,255,255,.24); }
.catalog-service.is-open .catalog-service-toggle::after { transform: rotate(0); }
.catalog-service-content { background: #fff; }
.service-landing-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(50px, 8vw, 110px); padding: 74px clamp(28px, 6vw, 82px); color: #fff; background: var(--deep); border-top: 1px solid rgba(255,255,255,.12); }
.service-landing-hero span, .service-landing-value span, .service-landing-body section > span, .service-landing-scope > span, .service-landing-cta span { display: block; margin-bottom: 13px; color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.service-landing-hero h2 { max-width: 680px; margin: 0; font-size: clamp(38px, 5vw, 65px); line-height: .98; letter-spacing: -.035em; text-transform: uppercase; }
.service-landing-hero > p { align-self: end; max-width: 570px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }
.service-landing-value { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 30px; padding: 48px clamp(28px, 6vw, 82px); background: var(--gold); }
.service-landing-value span { margin: 6px 0 0; color: rgba(7,24,43,.66); }
.service-landing-value p { max-width: 850px; margin: 0; color: var(--ink); font-size: clamp(23px, 2.5vw, 33px); font-weight: 760; line-height: 1.26; }
.service-landing-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr); gap: clamp(48px, 8vw, 105px); padding: 76px clamp(28px, 6vw, 82px); }
.service-landing-body h3 { max-width: 520px; margin: 0 0 18px; color: var(--ink); font-size: clamp(29px, 3vw, 42px); font-weight: 790; line-height: 1.04; letter-spacing: -.025em; text-transform: uppercase; }
.service-landing-body section > p { max-width: 520px; margin: 0; color: #566171; font-size: 17px; line-height: 1.6; }
.service-landing-body ol { margin: 0; padding: 0; list-style: none; counter-reset: service-step; }
.service-landing-body li { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(180px, 1.2fr); gap: 24px; padding: 16px 0 16px 42px; border-bottom: 1px solid rgba(7,24,43,.12); counter-increment: service-step; }
.service-landing-body li::before { content: counter(service-step, decimal-leading-zero); position: absolute; left: 0; top: 18px; color: var(--gold); font-size: 11px; font-weight: 900; }
.service-landing-body li b { color: var(--ink); font-size: 16px; }
.service-landing-body li small { color: #697381; font-size: 14px; line-height: 1.45; }
.service-landing-scope { padding: 0 clamp(28px, 6vw, 82px) 72px; }
.service-landing-scope ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid rgba(7,24,43,.14); list-style: none; }
.service-landing-scope li { min-height: 68px; display: flex; align-items: center; padding: 14px 18px 14px 0; border-bottom: 1px solid rgba(7,24,43,.12); color: #334052; font-weight: 720; }
.service-landing-note { margin: 0 clamp(28px, 6vw, 82px) 68px; padding: 20px 22px; border-radius: 12px; color: #566171; background: #f7f5ef; font-size: 14px; line-height: 1.55; }
.service-landing-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 34px; align-items: center; padding: 46px clamp(28px, 6vw, 82px); color: #fff; background: var(--ink); }
.service-landing-cta span { margin-bottom: 9px; }
.service-landing-cta p { max-width: 650px; margin: 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.5; }
.service-landing-cta .button { max-width: 360px; white-space: normal; text-align: center; }

@media (max-width: 920px) {
  .catalog-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-landing-hero, .service-landing-body { grid-template-columns: 1fr; gap: 42px; }
  .service-landing-value { grid-template-columns: 140px minmax(0, 1fr); }
  .service-landing-scope ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .catalog-services-intro { padding: 58px 0 42px; }
  .catalog-services-intro h1 { font-size: clamp(36px, 11vw, 47px); line-height: 1.01; }
  .catalog-services-section { padding: 36px 0 60px; }
  .catalog-services-grid { grid-template-columns: 1fr; gap: 10px; }
  .catalog-service.is-open { grid-column: auto; }
  .catalog-service-trigger { min-height: 150px; grid-template-columns: 28px minmax(0, 1fr) 34px; gap: 10px; padding: 20px 18px; }
  .catalog-service.is-open .catalog-service-trigger { min-height: 106px; }
  .catalog-service-heading { gap: 8px; }
  .catalog-service-heading strong { font-size: clamp(21px, 6.5vw, 26px); }
  .catalog-service-heading small { font-size: 13px; }
  .catalog-service-toggle { width: 34px; height: 34px; }
  .catalog-service-toggle::before, .catalog-service-toggle::after { left: 10px; right: 10px; top: 16px; }
  .service-landing-hero { padding: 42px 20px; gap: 28px; }
  .service-landing-hero h2 { font-size: clamp(32px, 9.5vw, 41px); }
  .service-landing-hero > p { font-size: 17px; }
  .service-landing-value { grid-template-columns: 1fr; gap: 12px; padding: 32px 20px; }
  .service-landing-value span { margin: 0; }
  .service-landing-value p { font-size: 23px; }
  .service-landing-body { gap: 40px; padding: 46px 20px; }
  .service-landing-body h3 { font-size: 30px; }
  .service-landing-body li { grid-template-columns: 1fr; gap: 5px; padding-left: 34px; }
  .service-landing-scope { padding: 0 20px 46px; }
  .service-landing-scope ul { grid-template-columns: 1fr; }
  .service-landing-scope li { min-height: 54px; }
  .service-landing-note { margin: 0 20px 46px; }
  .service-landing-cta { grid-template-columns: 1fr; padding: 36px 20px; }
  .service-landing-cta .button { width: 100%; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-service-trigger, .catalog-service-toggle::before, .catalog-service-toggle::after { transition: none; }
}

/* Selected service: one focused landing, then calm cross-navigation */
.service-focus {
  padding: clamp(70px, 9vw, 118px) 0 clamp(76px, 10vw, 132px);
  color: #fff;
  background: var(--deep);
}

.service-focus[hidden],
.other-services[hidden],
.catalog-service[hidden] {
  display: none;
}

.service-focus-inner {
  display: grid;
  grid-template-columns: minmax(150px, .25fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: start;
}

.service-focus-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 800;
}

.service-focus-back::before {
  content: "←";
  color: var(--gold);
  font-size: 18px;
}

.service-focus-back:hover,
.service-focus-back:focus-visible {
  color: #fff;
}

.service-focus-copy {
  min-width: 0;
  max-width: 900px;
}

.service-focus h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: .94;
  letter-spacing: -.038em;
  text-wrap: balance;
  text-transform: uppercase;
}

.service-focus-tagline {
  max-width: 760px;
  margin: 34px 0 0;
  color: var(--gold-soft);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 760;
  line-height: 1.18;
  text-wrap: balance;
}

.service-focus-description {
  max-width: 690px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.58;
}

.service-focus .button {
  margin-top: 34px;
}

.has-selected-service .catalog-services-intro,
.has-selected-service .partner-section,
.has-selected-service .catalog-service-trigger,
.has-selected-service .service-landing-hero {
  display: none;
}

.has-selected-service .catalog-services-section {
  padding: 0;
  background: #fff;
}

.has-selected-service .catalog-services-grid {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
}

.has-selected-service .catalog-service,
.has-selected-service .catalog-service.is-open {
  width: 100%;
  border-radius: 0;
  overflow: visible;
}

.has-selected-service .service-landing-value {
  padding-top: 62px;
  padding-bottom: 62px;
}

.other-services {
  padding: 94px 0 104px;
  color: #fff;
  background: var(--deep);
}

.other-services-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}

.other-services-head h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.other-services-head p {
  max-width: 430px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 17px;
  line-height: 1.55;
}

.other-services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.other-service-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 16px;
  min-height: 116px;
  align-content: center;
  padding: 20px 2px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  color: #fff;
}

.other-service-link span {
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 780;
  line-height: 1.08;
  text-transform: uppercase;
}

.other-service-link small {
  max-width: 490px;
  margin-top: 8px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  line-height: 1.45;
}

.other-service-link i {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--gold);
  font-size: 22px;
  font-style: normal;
  transition: transform .22s ease;
}

.other-service-link:hover i,
.other-service-link:focus-visible i {
  transform: translateX(5px);
}

@media (max-width: 920px) {
  .service-focus-inner,
  .other-services-head {
    grid-template-columns: 1fr;
  }

  .service-focus-inner {
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .service-focus {
    padding: 38px 0 64px;
  }

  .service-focus-inner {
    gap: 24px;
  }

  .service-focus h1 {
    font-size: clamp(34px, 9.2vw, 38px);
    line-height: .96;
    overflow-wrap: break-word;
  }

  .service-focus-tagline {
    margin-top: 24px;
    font-size: 22px;
  }

  .service-focus-description {
    margin-top: 14px;
    font-size: 17px;
  }

  .service-focus .button {
    width: 100%;
    margin-top: 28px;
    white-space: normal;
    text-align: center;
  }

  .has-selected-service .service-landing-value {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .other-services {
    padding: 64px 0 72px;
  }

  .other-services-head {
    gap: 18px;
    margin-bottom: 28px;
  }

  .other-services-head h2 {
    font-size: 36px;
  }

  .other-services-list {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .other-service-link {
    min-height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .other-service-link i {
    transition: none;
  }
}

/* About REALMAX */
.about-page {
  background: var(--paper);
  color: var(--ink);
}

.about-page h1,
.about-page h2,
.about-page h3 {
  text-wrap: balance;
}

.about-page h2,
.about-page h3 {
  text-transform: none;
}

.about-hero {
  position: relative;
  display: flex;
  min-height: min(760px, calc(100vh - 82px));
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: #07182b url("../assets/land/realmax-land-hero-v1.webp") center 52% / cover no-repeat;
  color: var(--white);
}

.about-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 24, 43, .94) 0%, rgba(7, 24, 43, .73) 44%, rgba(7, 24, 43, .12) 78%), linear-gradient(0deg, rgba(7, 24, 43, .7), transparent 48%);
}

.about-hero-copy {
  padding: 104px 0 92px;
}

.about-hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: .94;
  letter-spacing: -.035em;
}

.about-hero p {
  max-width: 690px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.34;
}

.about-chapter-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(7, 24, 43, .1);
  background: rgba(247, 245, 239, .96);
  box-shadow: 0 12px 30px rgba(7, 24, 43, .06);
}

.about-chapter-nav .wrap {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scrollbar-width: none;
}

.about-chapter-nav .wrap::-webkit-scrollbar {
  display: none;
}

.about-chapter-nav a {
  flex: 0 0 auto;
  padding: 18px 0 16px;
  border-bottom: 2px solid transparent;
  color: #354456;
  font-size: 14px;
  font-weight: 750;
}

.about-chapter-nav a:hover,
.about-chapter-nav a:focus-visible {
  border-bottom-color: var(--gold);
  color: var(--ink);
}

.about-intro,
.about-story,
.about-experience,
.about-competencies,
.about-network,
.about-principle,
.about-story-final {
  scroll-margin-top: 72px;
}

.about-intro {
  padding: 132px 0 144px;
  background: var(--white);
}

.about-intro-grid,
.about-principle-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(60px, 9vw, 140px);
  align-items: start;
}

.about-page h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -.03em;
}

.about-prose {
  max-width: 72ch;
  color: #344456;
  font-size: 18px;
  line-height: 1.7;
}

.about-prose p {
  margin: 0 0 1.15em;
}

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

.about-prose-large {
  color: #203249;
  font-size: clamp(22px, 2.25vw, 31px);
  line-height: 1.48;
}

.about-story {
  padding: 140px 0;
  background: var(--paper);
}

.about-story-grid,
.about-network-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: start;
}

.about-story-copy h2,
.about-network-copy h2 {
  margin-bottom: 48px;
}

.about-figure {
  margin: 0;
  overflow: hidden;
  background: #d8d4ca;
}

.about-figure img,
.about-wide-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-figure-tall {
  position: sticky;
  top: 92px;
  height: min(720px, calc(100vh - 116px));
}

.about-experience {
  padding: 144px 0;
  background: var(--deep);
  color: var(--white);
}

.about-experience-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
  padding-bottom: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.about-experience-insight {
  margin: 0;
  color: var(--gold-soft);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.45;
}

.about-experience-grid {
  display: grid;
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 8vw, 120px);
  padding-top: 76px;
  color: #d7e0e8;
}

.about-wide-figure {
  height: clamp(360px, 55vw, 720px);
  margin: 0;
  overflow: hidden;
  background: var(--deep);
}

.about-competencies {
  padding: 144px 0;
  background: var(--white);
}

.about-competencies > .wrap > h2 {
  max-width: 960px;
  margin-bottom: 92px;
}

.about-people {
  border-top: 1px solid var(--dark-line);
}

.about-person {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: clamp(34px, 6vw, 88px);
  padding: 76px 0;
  border-bottom: 1px solid var(--dark-line);
}

.about-person-portrait {
  display: block;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
  object-position: center 26%;
  box-shadow: 0 12px 26px rgba(7, 24, 43, .16);
}

.about-person-max .about-person-portrait {
  border-color: var(--deep);
  object-position: center 24%;
}

.about-person h3 {
  max-width: 920px;
  margin: 0 0 38px;
  color: var(--ink);
  font-size: clamp(31px, 3.5vw, 50px);
  line-height: 1.07;
  letter-spacing: -.025em;
}

.about-person .about-prose {
  max-width: 820px;
}

.about-prose ul {
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.about-prose li {
  position: relative;
  margin: 0;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid rgba(7, 24, 43, .1);
}

.about-prose li::before {
  position: absolute;
  top: 24px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.about-network {
  padding: 144px 0;
  background: #eeeae0;
}

.about-network-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}

.about-figure-wide {
  position: sticky;
  top: 92px;
  height: min(640px, calc(100vh - 116px));
}

.about-principle {
  padding: 144px 0;
  background: var(--gold);
}

.about-principle .about-prose {
  color: #26384a;
}

.about-principle-lead {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 850;
  line-height: 1.2;
}

.about-story-final {
  padding: 128px 0;
  background: var(--ink);
  color: var(--white);
}

.about-story-final-inner {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: center;
}

.about-story-final-media {
  margin: 0;
  background: #172d43;
}

.about-story-final-media img {
  display: block;
  width: 100%;
  height: auto;
}

.about-story-final-copy {
  max-width: 690px;
  align-self: start;
  padding-top: clamp(8px, 2.5vw, 36px);
}

.about-story-final-copy .about-prose {
  margin-bottom: 42px;
  color: #e5ebf0;
}

.about-story-final-copy .button {
  min-height: 58px;
}

@media (max-width: 920px) {
  .about-hero {
    min-height: 650px;
  }

  .about-hero::after {
    background: linear-gradient(0deg, rgba(7, 24, 43, .96) 0%, rgba(7, 24, 43, .62) 62%, rgba(7, 24, 43, .22) 100%);
  }

  .about-intro,
  .about-story,
  .about-experience,
  .about-competencies,
  .about-network,
  .about-principle,
  .about-story-final {
    padding: 96px 0;
  }

  .about-intro-grid,
  .about-story-grid,
  .about-experience-heading,
  .about-experience-grid,
  .about-network-grid,
  .about-principle-grid,
  .about-story-final-inner {
    grid-template-columns: 1fr;
  }

  .about-intro-grid,
  .about-story-grid,
  .about-network-grid,
  .about-principle-grid,
  .about-story-final-inner {
    gap: 48px;
  }

  .about-experience-heading,
  .about-experience-grid {
    gap: 40px;
  }

  .about-figure-tall,
  .about-figure-wide {
    position: static;
    height: 560px;
  }
}

@media (max-width: 640px) {
  .about-hero {
    min-height: 610px;
    background-position: 61% center;
  }

  .about-hero-copy {
    padding: 88px 0 62px;
  }

  .about-hero h1 {
    font-size: clamp(40px, 13vw, 58px);
    line-height: .97;
  }

  .about-hero p {
    margin-top: 24px;
    font-size: 19px;
  }

  .about-chapter-nav .wrap {
    gap: 24px;
  }

  .about-intro,
  .about-story,
  .about-experience,
  .about-competencies,
  .about-network,
  .about-principle,
  .about-story-final {
    padding: 72px 0;
  }

  .about-page h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .about-prose {
    font-size: 17px;
    line-height: 1.65;
  }

  .about-prose-large {
    font-size: 21px;
  }

  .about-story-copy h2,
  .about-network-copy h2 {
    margin-bottom: 34px;
  }

  .about-figure-tall,
  .about-figure-wide {
    height: 440px;
  }

  .about-experience-heading {
    padding-bottom: 48px;
  }

  .about-experience-grid {
    padding-top: 48px;
  }

  .about-competencies > .wrap > h2 {
    margin-bottom: 54px;
  }

  .about-person {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 54px 0;
  }

  .about-person-portrait {
    width: 88px;
    height: 88px;
    border-width: 2px;
  }

  .about-person h3 {
    margin-bottom: 28px;
    font-size: 30px;
  }

  .about-network-list {
    grid-template-columns: 1fr;
  }

  .about-principle-lead {
    font-size: 27px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 24, 43, .96);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: block;
  flex: 0 0 42px;
  object-fit: contain;
}

.topbar .logo {
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-size: 8px;
  line-height: 1;
  letter-spacing: .05em;
}

.topbar .logo-mark {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}

.topbar .logo > span {
  margin-top: -1px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255,255,255,.76);
  font-size: 14px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .04em;
}

.button.gold {
  background: var(--gold);
  color: #111;
}

.button.dark {
  background: var(--ink);
  color: var(--white);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7,24,43,.96), rgba(7,24,43,.72)),
    url("https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.page-hero .wrap {
  padding: 92px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-soft);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.block-title,
.section-title h2,
.property-hero-copy h1,
.lead-grid h2,
.article-hero h1 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  color: rgba(255,255,255,.82);
  font-size: 20px;
}

.section {
  padding: 78px 0;
}

.section.white {
  background: var(--white);
}

.section.dark {
  background: var(--ink);
  color: var(--white);
}

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

.section-title h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  text-transform: uppercase;
}

.section-title p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

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

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

.card {
  padding: 24px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--white);
}

.card.dark {
  color: var(--white);
  background: var(--deep);
  border-color: rgba(255,255,255,.14);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.05;
  text-transform: uppercase;
}

.card p {
  color: var(--muted);
}

.card.dark p {
  color: rgba(255,255,255,.72);
}

.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  margin-bottom: 14px;
  border-radius: 4px;
  background: var(--gold);
  color: #111;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.property-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: var(--ink);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(7,24,43,.12);
  box-shadow: 0 18px 44px rgba(7,24,43,.1);
}

.section.dark .property-card {
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}

.property-card[hidden] {
  display: none;
}

.property-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #d9dde1;
}

.property-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.property-card:hover .property-card-media img {
  transform: scale(1.035);
}

.property-badges {
  position: absolute;
  left: 12px;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: flex-start;
  pointer-events: none;
}

.property-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 6px;
  background: rgba(255,255,255,.92);
  color: var(--deep);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(7,24,43,.18);
}

.property-badge.price,
.property-badge.hot {
  background: var(--gold);
  color: #111;
}

.property-badge.hot {
  width: 32px;
  padding: 0;
  font-size: 15px;
}

.property-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.property-location {
  color: #68788b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.property-card h3 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.03;
  text-transform: uppercase;
}

.property-specs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.property-specs span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f1efe8;
  color: var(--deep);
  font-size: 12px;
  font-weight: 900;
}

.spec-icon {
  position: relative;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #6b7480;
}

.spec-icon::before,
.spec-icon::after {
  content: "";
  position: absolute;
  border: 1.6px solid currentColor;
}

.spec-icon.area::before,
.spec-icon.home::before {
  inset: 2px;
  border-radius: 2px;
}

.spec-icon.area::after {
  right: 0;
  bottom: 0;
  width: 5px;
  height: 5px;
  border-left: 0;
  border-top: 0;
}

.spec-icon.bed::before {
  left: 1px;
  right: 1px;
  bottom: 3px;
  height: 6px;
  border-radius: 2px;
}

.spec-icon.bed::after {
  left: 1px;
  bottom: 8px;
  width: 5px;
  height: 4px;
  border-radius: 2px;
}

.spec-icon.bath::before {
  left: 1px;
  right: 1px;
  bottom: 3px;
  height: 7px;
  border-radius: 0 0 6px 6px;
}

.spec-icon.bath::after {
  right: 1px;
  top: 1px;
  width: 5px;
  height: 5px;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 4px 0 0;
}

.spec-icon.pool::before {
  left: 1px;
  right: 1px;
  top: 5px;
  height: 3px;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

.spec-icon.pool::after {
  left: 3px;
  right: 3px;
  bottom: 3px;
  height: 3px;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

.property-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.property-note {
  color: #59697b;
  font-size: 13px;
  font-weight: 800;
}

.property-card .button,
.property-card .more {
  flex: 0 0 auto;
  margin: 0;
}

.property-card .more {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--gold);
  color: #111;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.property-card button.button {
  cursor: pointer;
  font: inherit;
}

.object-detail-modal[hidden] {
  display: none;
}

.object-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
}

.object-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,24,43,.72);
  backdrop-filter: blur(10px);
}

.object-detail-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 0;
  overflow: auto;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 90px rgba(0,0,0,.34);
}

.object-detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(7,24,43,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--deep);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.object-detail-copy {
  padding: 34px;
  color: var(--white);
  background: var(--deep);
}

.object-detail-copy h2 {
  margin: 14px 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: .98;
  text-transform: uppercase;
}

.object-detail-copy p {
  color: rgba(255,255,255,.78);
  font-size: 17px;
}

.object-detail-summary {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.object-detail-summary span {
  color: rgba(255,255,255,.78);
  font-weight: 800;
}

.object-detail-summary strong {
  color: var(--gold-soft);
}

.object-detail-form {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 34px;
}

.object-detail-form .field {
  margin-bottom: 0;
}

.object-detail-form .textarea {
  min-height: 110px;
  padding-top: 13px;
  resize: vertical;
}

.object-detail-form .button {
  width: 100%;
  margin-top: 4px;
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: #f7f5ef;
}

.catalog-search {
  display: grid;
  gap: 7px;
}

.catalog-search span,
.catalog-count {
  color: #617083;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.catalog-search input,
.filter-select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(7,24,43,.18);
  border-radius: 6px;
  background: var(--white);
  color: var(--deep);
  font: inherit;
  font-weight: 800;
}

.catalog-search input {
  padding: 0 14px;
}

.catalog-filter-row,
.catalog-selects {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-filter-row {
  grid-column: 1 / -1;
}

.filter-chip {
  min-height: 38px;
  border: 1px solid rgba(7,24,43,.18);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--white);
  color: var(--deep);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.filter-chip.active {
  border-color: var(--deep);
  background: var(--deep);
  color: var(--white);
}

.filter-select {
  max-width: 190px;
  padding: 0 12px;
}

.catalog-count {
  align-self: center;
  justify-self: end;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid rgba(7,24,43,.12);
}

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

.listing-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(7,24,43,.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(7,24,43,.08);
}

.listing-card[hidden] {
  display: none;
}

.listing-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #d9dde1;
}

.listing-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.listing-card:hover .listing-card-media img {
  transform: scale(1.035);
}

.project-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  color: rgba(255,255,255,.94);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, rgba(7,24,43,.16), rgba(7,24,43,.86)),
    linear-gradient(45deg, #2a7f96, #d9a13a);
}

.project-placeholder::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 6px;
}

.project-villa {
  background:
    linear-gradient(135deg, rgba(7,24,43,.12), rgba(7,24,43,.84)),
    linear-gradient(45deg, #82673d, #0d6f80);
}

.project-sea {
  background:
    linear-gradient(135deg, rgba(7,24,43,.12), rgba(7,24,43,.82)),
    linear-gradient(45deg, #1b6f8f, #d5b45f);
}

.project-mountain {
  background:
    linear-gradient(135deg, rgba(7,24,43,.1), rgba(7,24,43,.86)),
    linear-gradient(45deg, #536b44, #c69251);
}

.project-lagoon {
  background:
    linear-gradient(135deg, rgba(7,24,43,.1), rgba(7,24,43,.84)),
    linear-gradient(45deg, #2c8177, #d4b25a);
}

.project-golf {
  background:
    linear-gradient(135deg, rgba(7,24,43,.1), rgba(7,24,43,.84)),
    linear-gradient(45deg, #3f7a47, #8fbf7f);
}

.listing-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(7,24,43,.9);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-badge.hot {
  background: var(--gold);
  color: #111;
}

.listing-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.listing-price-row {
  display: flex;
  gap: 9px;
  align-items: baseline;
  flex-wrap: wrap;
}

.listing-price {
  color: var(--deep);
  font-size: 29px;
  line-height: 1;
}

.listing-old-price {
  color: #7b8795;
  font-size: 15px;
  font-weight: 900;
  text-decoration: line-through;
}

.listing-card h3 {
  margin: 0;
  color: var(--deep);
  font-size: 25px;
  line-height: 1.03;
  text-transform: uppercase;
}

.listing-card p {
  margin: 0;
  color: #46566a;
  font-size: 15px;
  line-height: 1.45;
}

.listing-meta,
.listing-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.listing-meta span,
.listing-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.listing-meta span {
  background: #f1efe8;
  color: var(--deep);
}

.listing-tags span {
  border: 1px solid rgba(7,24,43,.13);
  color: #58677a;
}

.listing-card .button {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.property-page {
  background: var(--white);
}

.property-page .section {
  padding: 60px 0;
}

.property-page .section-head {
  margin-bottom: 24px;
}

.property-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.property-hero-media,
.property-hero-media img,
.property-hero-shade {
  position: absolute;
  inset: 0;
}

.property-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casas-coloma-page .property-hero-media,
.esmeralda-page .property-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.property-hero-shade {
  background:
    linear-gradient(90deg, rgba(7,24,43,.95) 0%, rgba(7,24,43,.72) 42%, rgba(7,24,43,.16) 100%),
    linear-gradient(0deg, rgba(7,24,43,.82), rgba(7,24,43,0) 54%);
}

.property-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: end;
  padding: 110px 0 54px;
}

.property-hero-copy h1 {
  max-width: 980px;
  font-size: clamp(40px, 6vw, 74px);
}

.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.icon-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.28);
  color: var(--white);
  background: rgba(255,255,255,.09);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

.icon-action span {
  font-size: 18px;
  line-height: 1;
}

.icon-action.saved {
  color: #15120b;
  border-color: var(--gold);
  background: var(--gold);
}

.price-panel {
  padding: 24px;
  border-radius: 8px;
  color: #15120b;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}

.price-panel span,
.price-panel small {
  display: block;
  color: #5f6875;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

.price-panel strong {
  display: block;
  margin: 4px 0;
  font-size: 42px;
  line-height: 1;
}

.casas-coloma-page .price-panel strong {
  font-size: 34px;
}

.price-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 18px;
}

.icon-stat {
  min-height: 68px;
  padding: 9px 6px 8px;
  border-radius: 6px;
  background: var(--paper);
  text-align: center;
  color: #15120b;
}

.icon-stat svg {
  width: 27px;
  height: 27px;
  display: block;
  margin: 0 auto 5px;
  fill: none;
  stroke: #5b626b;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-stat span {
  display: block;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.compact-section {
  padding-top: 46px;
}

.property-gallery {
  display: grid;
  gap: 12px;
}

.gallery-stage {
  position: relative;
  height: min(70vh, 720px);
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  background: #111b2a;
  touch-action: pan-y;
}

.gallery-stage img,
.lightbox img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.casas-coloma-page .gallery-stage img.plan-view,
.casas-coloma-page .lightbox img.plan-view {
  object-fit: contain;
  background: #f4f0e8;
}

.availability-table td strong {
  white-space: nowrap;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: var(--white);
  background: rgba(7,24,43,.58);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.gallery-arrow.prev {
  left: 16px;
}

.gallery-arrow.next {
  right: 16px;
}

.gallery-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.gallery-overlay span,
.gallery-overlay button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 6px;
  color: var(--white);
  background: rgba(7,24,43,.7);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}

.gallery-thumbs button {
  flex: 0 0 112px;
  height: 74px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #111b2a;
  cursor: pointer;
  scroll-snap-align: start;
}

.gallery-thumbs button.active {
  border-color: var(--gold);
}

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

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

.block-title {
  max-width: 820px;
  margin: 8px 0 20px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  text-transform: uppercase;
}

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

.benefit-grid article,
.summary-card,
.fact-card,
.map-card,
.download-panel {
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--white);
}

.benefit-grid article {
  min-height: 132px;
  padding: 20px;
}

.benefit-grid strong,
.benefit-grid span {
  display: block;
}

.benefit-grid strong {
  margin-bottom: 8px;
  font-size: 19px;
  text-transform: uppercase;
}

.benefit-grid span,
.property-copy p,
.muted-copy {
  color: #344255;
  font-size: 18px;
}

.summary-card,
.fact-card,
.download-panel {
  padding: 24px;
}

.summary-card {
  position: sticky;
  top: 94px;
  background: var(--deep);
  color: var(--white);
}

.summary-card h3,
.fact-card h3,
.download-panel h2,
.article-promo h2 {
  margin-bottom: 16px;
  font-size: 28px;
  line-height: 1.04;
  text-transform: uppercase;
}

.summary-card dl {
  margin: 0;
}

.summary-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}

.summary-card dt,
.summary-card dd {
  margin: 0;
}

.summary-card dt {
  color: rgba(255,255,255,.62);
}

.summary-card dd {
  font-weight: 900;
  text-align: right;
}

.property-copy {
  max-width: 780px;
}

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

.feature-list li {
  padding: 11px 0;
  border-top: 1px solid var(--dark-line);
  color: #263446;
  font-weight: 800;
}

.feature-showcase {
  padding: 0;
  overflow: hidden;
  scroll-margin-top: 90px;
  background: #f7f5ef;
}

.feature-showcase-head {
  padding: 22px 22px 18px;
  color: var(--white);
  background: var(--deep);
}

.feature-showcase-head > span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.feature-showcase-head h3 {
  margin: 0;
}

.feature-project-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  margin: 16px 16px 12px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--gold);
  color: #15120b;
}

.feature-project-card > strong {
  font-size: 52px;
  line-height: .82;
}

.feature-project-card b,
.feature-project-card span {
  display: block;
}

.feature-project-card b {
  margin-bottom: 3px;
  font-size: 17px;
  text-transform: uppercase;
}

.feature-project-card span {
  color: rgba(21,18,11,.68);
  font-size: 13px;
  font-weight: 800;
}

.feature-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 0 16px;
}

.feature-metric-grid article {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(7,24,43,.12);
  border-radius: 8px;
  background: var(--white);
}

.feature-metric-grid strong,
.feature-metric-grid span {
  display: block;
}

.feature-metric-grid strong {
  color: var(--deep);
  font-size: 25px;
  line-height: .95;
  text-transform: uppercase;
}

.feature-metric-grid span {
  margin-top: 8px;
  color: #667386;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.feature-metric-grid .feature-metric-wide strong {
  font-size: 17px;
  line-height: 1.05;
}

.feature-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 14px 16px 18px;
}

.feature-amenities span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: #263446;
  background: #ece8de;
  font-size: 11px;
  font-weight: 900;
}

.feature-amenities span::before {
  content: "✓";
  margin-right: 6px;
  color: #9a6410;
}

.construction-status {
  margin-top: 30px;
  overflow: hidden;
  scroll-margin-top: 90px;
  border: 1px solid rgba(7,24,43,.14);
  border-radius: 8px;
  background: #f7f5ef;
}

.construction-status-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  color: var(--white);
  background: var(--deep);
}

.construction-status-head span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.construction-status-head strong {
  font-size: 15px;
  text-align: right;
  text-transform: uppercase;
}

.construction-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px;
}

.construction-step {
  position: relative;
  min-height: 100px;
  padding: 28px 14px 12px 0;
  border-top: 3px solid #cfd5dc;
}

.construction-step::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 3px solid #f7f5ef;
  border-radius: 50%;
  background: #aab4c0;
  box-shadow: 0 0 0 1px #aab4c0;
}

.construction-step.complete,
.construction-step.current {
  border-top-color: var(--gold);
}

.construction-step.complete::before,
.construction-step.current::before {
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.construction-step.current::after {
  content: "Сейчас";
  position: absolute;
  top: -32px;
  left: 0;
  padding: 4px 7px;
  border-radius: 999px;
  color: #15120b;
  background: var(--gold);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

html[lang="es"] .construction-step.current::after {
  content: "Ahora";
}

.construction-step span,
.construction-step strong {
  display: block;
}

.construction-step span {
  margin-bottom: 6px;
  color: #6a7583;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.construction-step strong {
  color: var(--deep);
  font-size: 15px;
  line-height: 1.15;
}

.energy-certificate-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 14px 18px;
  border-top: 1px solid rgba(7,24,43,.1);
  color: #59677a;
  font-size: 12px;
}

.energy-certificate-note b {
  flex: 1 1 100%;
  color: var(--deep);
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .construction-status-head {
    display: grid;
    gap: 5px;
  }

  .construction-status-head strong {
    text-align: left;
  }

  .construction-timeline {
    grid-template-columns: 1fr;
    padding: 18px 18px 8px 30px;
  }

  .construction-step {
    min-height: 88px;
    padding: 0 0 22px 28px;
    border-top: 0;
    border-left: 3px solid #cfd5dc;
  }

  .construction-step.complete,
  .construction-step.current {
    border-left-color: var(--gold);
  }

  .construction-step::before {
    top: 0;
    left: -8px;
  }

  .construction-step.current::after {
    top: 0;
    left: auto;
    right: 0;
  }
}

.location-layout {
  grid-template-columns: minmax(0, 1fr) 470px;
  align-items: stretch;
}

.distance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.distance-grid span {
  min-height: 94px;
  padding: 17px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--dark-line);
}

.distance-grid b {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.map-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(7,24,43,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
  background: #dfe8e3;
}

.map-card iframe {
  width: 100%;
  height: 390px;
  display: block;
  border: 0;
  filter: saturate(.95) contrast(.98);
}

.object-status-panel {
  position: sticky;
  top: 94px;
  padding: 24px;
  border: 1px solid rgba(7,24,43,.16);
  border-radius: 8px;
  background: #f7f5ef;
}

.object-status-panel h3 {
  margin-bottom: 18px;
  color: var(--deep);
  font-size: 28px;
  line-height: 1.04;
  text-transform: uppercase;
}

.status-group + .status-group {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(7,24,43,.14);
}

.status-label {
  display: block;
  margin-bottom: 10px;
  color: #6b7685;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(7,24,43,.09);
}

.status-row span {
  color: #667386;
}

.status-row strong {
  color: var(--deep);
  text-align: right;
}

.status-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-checks span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(7,24,43,.14);
  color: #263446;
  font-size: 13px;
  font-weight: 900;
}

.status-note {
  margin: 18px 0 0;
  color: #58677a;
  font-size: 14px;
  line-height: 1.45;
}

.location-copy {
  max-width: 720px;
  margin: 0;
  color: #344255;
  font-size: 18px;
  line-height: 1.55;
}

.location-checklist {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.location-checklist span {
  display: block;
  padding: 16px 18px;
  border: 1px solid rgba(7,24,43,.14);
  border-radius: 8px;
  background: var(--white);
  color: #344255;
}

.location-checklist b {
  display: block;
  margin-bottom: 4px;
  color: var(--deep);
  font-size: 18px;
  text-transform: uppercase;
}

.map-link {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 6px;
  color: #15120b;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(7,24,43,.12);
  box-shadow: 0 10px 30px rgba(7,24,43,.16);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background: var(--gold);
}

.article-promo p,
.download-panel p {
  max-width: 780px;
  color: rgba(21,18,11,.76);
  font-size: 18px;
}

.catalog-document-actions {
  display: grid;
  min-width: 230px;
  gap: 10px;
}

.catalog-document-actions .button {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.lead-grid {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.lead-grid.compact-lead {
  display: flex;
  justify-content: flex-end;
}

.lead-grid.compact-lead .form-panel {
  width: min(100%, 520px);
}

.download-panel {
  color: #15120b;
  background: var(--gold);
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.share-row a,
.share-row button {
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid rgba(7,24,43,.18);
  border-radius: 6px;
  color: #15120b;
  background: rgba(255,255,255,.74);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.textarea {
  min-height: 104px;
  padding-top: 13px;
  resize: vertical;
}

.mobile-property-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: none;
  grid-template-columns: 52px 1fr 1.3fr;
  gap: 8px;
  padding: 10px;
  background: rgba(7,24,43,.96);
  border-top: 1px solid rgba(255,255,255,.12);
}

.mobile-property-bar button,
.mobile-property-bar a {
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255,255,255,.08);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-property-bar a {
  color: #15120b;
  background: var(--gold);
}

.mobile-property-bar .saved {
  color: #15120b;
  background: var(--gold);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: rgba(3,10,18,.94);
}

.lightbox.open {
  display: block;
}

.lightbox img {
  object-fit: contain;
  padding: 52px 76px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,.08);
  font-size: 30px;
  cursor: pointer;
}

.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(7,24,43,.76);
  font-size: 13px;
  font-weight: 900;
}

.article-list {
  display: grid;
  gap: 14px;
}

.topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.topic-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.06);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.category-card {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
}

.category-card p {
  color: var(--muted);
  margin-bottom: 16px;
}

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

.city-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.city-card:hover {
  background: var(--white);
}

.city-name {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.city-note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}

.article-section {
  padding: 30px 0;
  border-top: 1px solid var(--dark-line);
}

.article-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.article-section h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.02;
  text-transform: uppercase;
}

.article-row {
  padding: 24px 0;
  border-top: 1px solid var(--dark-line);
}

.article-row h3 {
  margin-bottom: 8px;
  font-size: 28px;
  text-transform: uppercase;
}

.compact-city-row h3 {
  margin-bottom: 0;
}

.featured-article {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--dark-line);
  background:
    linear-gradient(90deg, rgba(7,24,43,.94) 0%, rgba(7,24,43,.78) 42%, rgba(7,24,43,.18) 100%),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.featured-article-image {
  position: absolute;
  inset: 0;
}

.featured-article-body {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 30px;
  color: var(--white);
}

.featured-article-body h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1;
  text-transform: uppercase;
}

.featured-article-body p {
  max-width: 620px;
  color: rgba(255,255,255,.78);
}

.featured-article-body .article-meta {
  color: rgba(255,255,255,.7);
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

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

.article-card {
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--white);
}

.article-card-image {
  min-height: 150px;
  background:
    linear-gradient(180deg, rgba(7,24,43,.1), rgba(7,24,43,.42)),
    var(--article-image, url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=900&q=80")) center / cover;
}

.article-card-body {
  padding: 18px;
}

.article-card-body h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.article-card-body p {
  color: var(--muted);
  margin-bottom: 12px;
}

.article-card.buying {
  --article-image: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=900&q=80");
}

.article-card.areas {
  --article-image: url("https://images.unsplash.com/photo-1558642452-9d2a7deb7f62?auto=format&fit=crop&w=900&q=80");
}

.article-card.la-nucia-card {
  --article-image: url("https://images.unsplash.com/photo-1510686847401-76b19e72fc5b?auto=format&fit=crop&w=900&q=80");
}

.article-card.mutxamel-card {
  --article-image: url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=900&q=80");
}

.article-card.orihuela-card {
  --article-image: url("../assets/blog/orihuela-costa-cover.png");
}

.article-card.construction {
  --article-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=900&q=80");
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
}

.sidebar-card {
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--dark-line);
  background: var(--paper);
}

.sidebar-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  text-transform: uppercase;
}

.sidebar-card a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid var(--dark-line);
  color: #263446;
  font-weight: 800;
}

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

.question-card {
  padding: 20px;
  border-radius: 8px;
  background: var(--deep);
  color: var(--white);
}

.question-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  text-transform: uppercase;
}

.question-card p {
  color: rgba(255,255,255,.72);
}

.article-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7,24,43,.96), rgba(7,24,43,.62)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.article-hero.la-nucia-hero {
  background:
    linear-gradient(90deg, rgba(7,24,43,.96), rgba(7,24,43,.66) 48%, rgba(7,24,43,.2)),
    url("https://images.unsplash.com/photo-1510686847401-76b19e72fc5b?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.article-hero.mutxamel-hero {
  background:
    linear-gradient(90deg, rgba(7,24,43,.96), rgba(7,24,43,.7) 48%, rgba(7,24,43,.24)),
    url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.article-hero.orihuela-hero {
  background:
    linear-gradient(90deg, rgba(7,24,43,.96), rgba(7,24,43,.74) 48%, rgba(7,24,43,.36)),
    url("../assets/blog/orihuela-costa-cover.png") center / cover;
}

.article-hero.taxes-hero {
  background:
    linear-gradient(90deg, rgba(7,24,43,.64), rgba(7,24,43,.16) 54%, rgba(7,24,43,0)),
    url("../assets/blog/taxes-selling-spain-cover.png") center / cover;
}

.article-hero.taxes-hero .wrap {
  min-height: 470px;
  display: flex;
  align-items: center;
  padding: 46px 0 58px;
}

.article-hero.taxes-hero .article-hero-copy {
  max-width: 560px;
  padding: 24px 26px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(7,24,43,.78);
  box-shadow: 0 24px 70px rgba(7,24,43,.24);
}

.article-hero.taxes-hero h1 {
  max-width: 520px;
  font-size: clamp(36px, 4.3vw, 60px);
  line-height: 1.06;
}

.article-hero.taxes-hero .hero-subtitle {
  max-width: 500px;
  margin-top: 12px;
  color: #fff;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.12;
}

.article-hero.taxes-hero .lead {
  max-width: 460px;
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.45;
}

.tax-hero-meta {
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 0;
}

.tax-hero-meta span {
  display: grid;
  gap: 3px;
  min-width: 118px;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.tax-hero-meta b {
  color: rgba(255,255,255,.58);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.article-hero.orihuela-hero.article-hero-rich .wrap {
  display: block;
  max-width: 980px;
}

.article-hero .wrap {
  padding: 92px 0 76px;
}

.article-hero.article-hero-rich .wrap {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .55fr);
  gap: 34px;
  align-items: center;
}

.article-hero-cover {
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7,24,43,0), rgba(7,24,43,.76)),
    url("https://images.unsplash.com/photo-1510686847401-76b19e72fc5b?auto=format&fit=crop&w=900&q=80") center / cover;
  box-shadow: 0 22px 70px rgba(0,0,0,.25);
}

.article-hero-cover span {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 6px;
  background: var(--gold);
  color: #111;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.coast-map-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7,24,43,.96), rgba(7,24,43,.72)),
    radial-gradient(circle at 78% 18%, rgba(224,159,43,.32), transparent 34%),
    linear-gradient(125deg, rgba(255,255,255,.16) 0 32%, rgba(255,255,255,.04) 32% 100%) !important;
}

.coast-map-card::before {
  content: "";
  position: absolute;
  inset: 30px 54px 56px;
  border-right: 4px solid rgba(224,159,43,.84);
  border-bottom: 4px solid rgba(224,159,43,.84);
  border-radius: 0 0 90px 0;
  transform: skewY(-12deg);
}

.coast-map-card ol {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: 11px;
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
}

.coast-map-card li {
  width: max-content;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 6px;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.coast-map-card li:nth-child(2),
.coast-map-card li:nth-child(5) {
  margin-left: 34px;
}

.coast-map-card li:nth-child(3),
.coast-map-card li:nth-child(6) {
  margin-left: 76px;
}

.article-hero-cover.orihuela-cover-card {
  background:
    linear-gradient(180deg, rgba(7,24,43,0), rgba(7,24,43,.72)),
    url("../assets/blog/orihuela-costa-cover.png") center / cover;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

.taxes-shell {
  display: block;
  max-width: 1160px;
}

.article-body {
  min-width: 0;
  padding: 34px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--dark-line);
}

.taxes-shell .article-body {
  max-width: 100%;
}

.tax-source-locked {
  color: #263548;
}

.tax-intro-panel,
.tax-article-section {
  margin: 0 0 34px;
}

.tax-intro-panel {
  padding: 28px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224,161,49,.12), rgba(255,255,255,.9)),
    #fff;
}

.article-body.tax-source-locked h2 {
  max-width: 760px;
  margin-top: 0;
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.article-body.tax-source-locked h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.12;
}

.article-body.tax-source-locked p,
.article-body.tax-source-locked li {
  font-size: 19px;
  line-height: 1.58;
}

.article-body.tax-source-locked p {
  margin: 0 0 14px;
}

.article-body.tax-source-locked ul,
.article-body.tax-source-locked ol {
  margin: 16px 0 22px;
  padding-left: 24px;
}

.article-body.tax-source-locked li + li {
  margin-top: 8px;
}

.tax-article-section {
  padding: 30px;
  border: 1px solid rgba(7,24,43,.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(7,24,43,.045);
}

.tax-section-warm {
  border-color: rgba(224,161,49,.38);
  background: linear-gradient(135deg, #fff8e8, #fff);
}

.tax-section-formula,
.tax-section-net {
  background:
    linear-gradient(135deg, rgba(7,24,43,.04), rgba(224,161,49,.08)),
    #fff;
}

.tax-section-resident,
.tax-section-notice {
  border-color: rgba(7,24,43,.22);
  background: #f7f9fb;
}

.tax-section-cta {
  padding: 34px;
  background:
    linear-gradient(90deg, rgba(7,24,43,.92), rgba(7,24,43,.72)),
    url("/ru/assets/blog/taxes-selling-spain-cover.png") center / cover;
  color: #fff;
}

.tax-section-cta h2,
.tax-section-cta p,
.tax-section-cta li {
  color: #fff;
}

.tax-section-cta .button {
  margin-top: 8px;
}

.tax-seller-quiz {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
  gap: 24px;
  padding: 30px;
  border-color: rgba(224,161,49,.4);
  background:
    linear-gradient(135deg, rgba(7,24,43,.96), rgba(7,24,43,.84)),
    url("/ru/assets/blog/taxes-selling-spain-cover.png") center / cover;
  color: #fff;
}

.seller-quiz-head {
  align-self: start;
}

.tax-seller-quiz h2,
.tax-seller-quiz h3,
.tax-seller-quiz p {
  color: #fff;
}

.tax-seller-quiz h2 {
  max-width: 480px;
  margin-bottom: 14px;
  font-size: clamp(34px, 4.4vw, 58px);
}

.tax-seller-quiz h3 {
  margin-bottom: 10px;
  font-size: clamp(24px, 2.6vw, 34px);
}

.seller-quiz-form {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
}

.seller-quiz-form h3,
.seller-quiz-form p {
  color: var(--ink);
}

.seller-quiz-form p {
  color: #5d6876;
}

.seller-quiz-status {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}

.seller-quiz-status > span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.seller-quiz-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(7,24,43,.1);
}

.seller-quiz-progress span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  transition: width .2s ease;
}

.seller-step {
  display: none;
}

.seller-step.active {
  display: block;
}

.seller-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.seller-comment {
  min-height: 88px;
  resize: vertical;
}

.seller-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.seller-options button {
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(7,24,43,.14);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.seller-options button.selected {
  border-color: rgba(224,161,49,.72);
  background: #fff4de;
  box-shadow: 0 0 0 2px rgba(224,161,49,.16);
}

.seller-file {
  display: grid;
  place-items: center;
  min-height: 128px;
  margin-top: 16px;
  padding: 18px;
  border: 1px dashed rgba(7,24,43,.24);
  border-radius: 8px;
  background: #f7f9fb;
  cursor: pointer;
}

.seller-file input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seller-file span {
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.seller-files {
  margin: 14px 0 0 !important;
  padding-left: 0 !important;
  list-style: none;
}

.seller-files li {
  margin: 6px 0 0 !important;
  padding: 8px 10px !important;
  border-radius: 6px;
  background: #fff4de;
  color: var(--ink);
  font-size: 14px !important;
  font-weight: 800;
}

.seller-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  color: #5d6876;
  font-size: 14px;
  font-weight: 800;
}

.seller-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

.seller-actions .button {
  min-width: 128px;
}

.seller-quiz-error {
  min-height: 20px;
  margin-top: 14px;
  color: #b83232;
  font-weight: 900;
}

.seller-success {
  display: none;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
}

.seller-success.active {
  display: block;
}

.seller-success h3,
.seller-success p {
  color: var(--ink);
}

.tax-section-summary {
  background: #fffaf0;
}

.tax-subblock {
  margin: 26px 0 14px;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: rgba(224,161,49,.1);
}

.tax-service-step {
  border-left-color: var(--ink);
  background: rgba(7,24,43,.045);
}

.tax-step-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(224,161,49,.35);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
}

.tax-step-line span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.tax-step-line b {
  color: var(--gold);
  font-size: 18px;
}

.tax-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 24px;
}

.tax-payment-grid > div {
  padding: 22px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: #fff;
}

.tax-payment-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--gold);
  color: #111;
  font-size: 12px;
  font-weight: 900;
}

.tax-payment-grid h3 {
  margin-bottom: 12px;
}

.tax-equation-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 22px 0 24px;
}

.tax-equation-board > div {
  padding: 18px;
  border: 1px solid rgba(7,24,43,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
}

.tax-equation-board > div.highlight {
  border-color: rgba(224,161,49,.5);
  background: #fff3d7;
}

.tax-equation-board span {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.tax-equation-board p {
  margin: 0 0 6px;
  font-weight: 800;
}

.tax-expense-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 26px;
}

.tax-expense-grid div {
  padding: 18px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: #fff;
}

.tax-expense-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.12;
}

.tax-mini-calc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 18px;
}

.tax-mini-calc.single {
  grid-template-columns: minmax(220px, 360px);
}

.tax-mini-calc div {
  padding: 18px;
  border: 1px solid rgba(7,24,43,.12);
  border-radius: 8px;
  background: #fff;
}

.tax-mini-calc .highlight {
  border-color: rgba(224,161,49,.55);
  background: #fff3d7;
}

.tax-mini-calc span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.tax-mini-calc strong {
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1;
}

.tax-net-formula {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 20px;
  border: 1px solid rgba(7,24,43,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.8);
}

.tax-net-formula span,
.tax-net-formula strong {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.tax-net-formula strong {
  background: var(--gold);
  color: #111;
}

.tax-section-documents ul,
.tax-section-data ul,
.tax-section-before ul,
.tax-section-summary ul,
.tax-section-realmax ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.tax-section-documents li,
.tax-section-data li,
.tax-section-before li,
.tax-section-summary li,
.tax-section-realmax li {
  position: relative;
  margin: 0;
  padding: 12px 12px 12px 36px;
  border: 1px solid rgba(7,24,43,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
}

.tax-section-documents li::before,
.tax-section-data li::before,
.tax-section-before li::before,
.tax-section-summary li::before,
.tax-section-realmax li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 21px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.simple-tax-visual {
  margin: 20px 0 20px;
}

.tax-calc-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.tax-calc-stack div {
  padding: 20px;
  border: 1px solid rgba(224,161,49,.4);
  border-radius: 8px;
  background: rgba(255,255,255,.84);
}

.tax-calc-stack span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.tax-calc-stack p {
  display: grid;
  gap: 3px;
  margin: 0 0 11px;
  font-size: 18px;
  font-weight: 800;
}

.tax-calc-stack strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.tax-calc-stack small {
  display: block;
  color: #6f7a89;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.tax-calc-stack strong small {
  margin-top: 6px;
  color: #5b6572;
  font-size: 13px;
  line-height: 1.25;
}

.tax-table-wrap {
  margin: 20px 0 22px;
}

.tax-rate-table {
  min-width: 620px;
}

.tax-rate-table th,
.tax-rate-table td {
  font-size: 17px;
}

.tax-section-realmax .tax-service-step {
  margin-top: 30px;
}

.article-body h2 {
  margin: 46px 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  text-transform: uppercase;
}

.article-body h3 {
  margin: 28px 0 10px;
  font-size: 26px;
  line-height: 1.08;
  text-transform: uppercase;
}

.article-body p,
.article-body li {
  color: #344255;
  font-size: 18px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-lead {
  color: #263446;
  font-size: 22px;
  font-weight: 700;
}

.article-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.share-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 24px 0 30px;
  padding: 14px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--paper);
}

.share-panel strong {
  margin-right: 4px;
  text-transform: uppercase;
  font-size: 13px;
}

.share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 11px;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--dark-line);
  font-size: 13px;
  font-weight: 800;
}

.article-image {
  min-height: 360px;
  margin: 30px 0;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7,24,43,.12), rgba(7,24,43,.78)),
    url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1400&q=80") center / cover;
  display: flex;
  align-items: end;
  padding: 24px;
}

.article-image.alt {
  background:
    linear-gradient(180deg, rgba(7,24,43,.12), rgba(7,24,43,.78)),
    url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.article-image.la-nucia-view {
  background:
    linear-gradient(180deg, rgba(7,24,43,.08), rgba(7,24,43,.8)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.article-image.la-nucia-sport {
  background:
    linear-gradient(180deg, rgba(7,24,43,.08), rgba(7,24,43,.8)),
    url("https://images.unsplash.com/photo-1530549387789-4c1017266635?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.article-image.la-nucia-street {
  background:
    linear-gradient(180deg, rgba(7,24,43,.08), rgba(7,24,43,.8)),
    url("https://images.unsplash.com/photo-1600566752355-35792bedcfea?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.article-image.mutxamel-villa {
  background:
    linear-gradient(180deg, rgba(7,24,43,.08), rgba(7,24,43,.8)),
    url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.article-image.mutxamel-sport {
  background:
    linear-gradient(180deg, rgba(7,24,43,.08), rgba(7,24,43,.8)),
    url("https://images.unsplash.com/photo-1554068865-24cecd4e34b8?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.article-image.mutxamel-culture {
  background:
    linear-gradient(180deg, rgba(7,24,43,.08), rgba(7,24,43,.8)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.article-image.orihuela-map {
  background:
    linear-gradient(180deg, rgba(7,24,43,0), rgba(7,24,43,.48)),
    url("../assets/blog/orihuela-costa-cover.png") center / cover;
}

.article-image.orihuela-beach {
  background:
    linear-gradient(180deg, rgba(7,24,43,.02), rgba(7,24,43,.48)),
    url("https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.article-image.orihuela-golf {
  background:
    linear-gradient(180deg, rgba(7,24,43,.02), rgba(7,24,43,.48)),
    url("https://images.unsplash.com/photo-1535131749006-b7f58c99034b?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.article-image strong {
  display: inline-flex;
  max-width: min(620px, 100%);
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(7,24,43,.86);
  color: var(--white);
  font-size: 15px;
  line-height: 1.25;
  text-transform: uppercase;
}

.district-map {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin: 18px 0 24px;
  padding: 20px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7,24,43,.02), rgba(7,24,43,.5)),
    url("../assets/blog/orihuela-costa-cover.png") center / cover;
  color: var(--white);
}

.district-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7,24,43,.14);
}

.district-map span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--gold);
  color: #111;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.area-snapshot,
.visual-route,
.scenario-grid,
.factor-grid,
.mistake-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

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

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

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

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

.area-snapshot div,
.visual-route div,
.scenario-grid section,
.factor-grid div,
.mistake-list div,
.check-panel {
  padding: 18px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--paper);
}

.area-snapshot span,
.scenario-grid span,
.visual-route span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.area-snapshot strong,
.visual-route strong,
.factor-grid strong,
.mistake-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
}

.area-snapshot p,
.visual-route p,
.scenario-grid p,
.factor-grid p,
.mistake-list p,
.check-panel li {
  color: #344255;
  font-size: 16px;
}

.simple-tax-example {
  margin: 34px 0;
  padding: 28px;
  border: 1px solid rgba(224,161,49,.45);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffaf0, #fff);
}

.simple-tax-example span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.simple-tax-example > strong {
  display: block;
  max-width: 720px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(24px, 3.1vw, 34px);
  line-height: 1.08;
  text-transform: uppercase;
}

.tax-formula {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 18px 0 20px;
}

.tax-formula > b {
  color: var(--gold);
  font-size: 32px;
}

.tax-formula-card {
  min-height: 154px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: rgba(255,255,255,.86);
  text-align: center;
  box-shadow: 0 16px 42px rgba(7,24,43,.06);
}

.tax-formula-card small {
  color: var(--muted);
  font-weight: 800;
}

.tax-formula-card strong {
  color: var(--ink);
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1;
  white-space: nowrap;
}

.tax-formula-card.highlight {
  border-color: rgba(224,161,49,.58);
  background: #fff3d7;
}

.simple-tax-example p {
  max-width: 720px;
  margin-bottom: 8px;
  color: #344255;
  font-size: 18px;
  font-weight: 700;
}

.tax-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(7,24,43,.08);
  border-radius: 8px;
  background: rgba(7,24,43,.035);
  color: #344255;
  font-weight: 800;
}

.tax-deductions {
  margin: 30px 0;
  padding: 24px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: #fff;
}

.tax-deductions h3 {
  margin-top: 0;
}

.tax-deductions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  overflow: hidden;
}

.tax-deductions-grid div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  background: #fff;
}

.tax-deductions-grid div:nth-child(3n) {
  border-right: 0;
}

.tax-deductions-grid div:nth-last-child(-n+3) {
  border-bottom: 0;
}

.tax-deductions-grid span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #fff4de;
  color: var(--ink);
  font-weight: 900;
}

.tax-deductions-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 18px;
}

.tax-deductions-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.tax-rate-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 10px;
}

.tax-rate-grid div {
  padding: 18px 14px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff9ee, #fff);
  text-align: center;
}

.tax-rate-grid span {
  display: block;
  min-height: 34px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.tax-rate-grid strong {
  color: var(--ink);
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1;
}

.taxes-article .area-snapshot div,
.taxes-article .factor-grid div,
.taxes-article .scenario-grid section,
.taxes-article .visual-route div {
  background: #fff;
  box-shadow: 0 16px 42px rgba(7,24,43,.045);
}

.taxes-article .selection-cta {
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .9fr);
  align-items: stretch;
  border: 1px solid var(--dark-line);
}

.taxes-article .selection-cta-media {
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(7,24,43,0), rgba(7,24,43,.08)),
    url("/ru/assets/blog/taxes-selling-spain-cover.png") center / cover;
}

.scenario-grid h3 {
  margin-top: 0;
  font-size: 24px;
}

.check-panel {
  margin: 30px 0;
  background: #f7f1df;
}

.check-panel h3 {
  margin-top: 0;
}

.article-callout {
  margin: 30px 0;
  padding: 26px;
  border-radius: 8px;
  background: var(--deep);
  color: var(--white);
}

.article-callout h3 {
  margin-top: 0;
  color: var(--white);
}

.article-callout p {
  color: rgba(255,255,255,.78);
}

.article-cta {
  margin: 36px 0;
  padding: 28px;
  border-radius: 8px;
  color: #15120b;
  background: var(--gold);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.article-cta h3 {
  margin: 0 0 8px;
  color: #15120b;
}

.article-cta p {
  margin-bottom: 0;
  color: rgba(21,18,11,.76);
}

.selection-cta {
  max-width: 560px;
  margin: 46px auto;
  padding: 0;
  overflow: hidden;
  display: block;
  color: var(--ink);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 22px 60px rgba(7,24,43,.18);
}

.selection-cta-media {
  min-height: 250px;
  background:
    linear-gradient(180deg, rgba(7,24,43,0), rgba(7,24,43,.08)),
    url("/ru/assets/properties/ref-1586/gallery/01-page-01-01.jpg") center / cover;
}

.selection-cta-copy {
  padding: 28px;
}

.selection-cta .eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
}

.selection-cta h3 {
  max-width: 440px;
  margin-bottom: 12px;
  font-size: clamp(32px, 4.6vw, 46px);
  line-height: .98;
  letter-spacing: 0;
}

.selection-cta p {
  max-width: 430px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.selection-cta .button {
  width: 100%;
  justify-content: center;
}

.compare-table {
  width: 100%;
  margin: 26px 0;
  border-collapse: collapse;
  font-size: 16px;
}

.compare-table th,
.compare-table td {
  padding: 14px;
  border: 1px solid var(--dark-line);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: var(--paper);
  text-transform: uppercase;
}

.source-list {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--dark-line);
}

.source-list a {
  color: var(--ink);
  text-decoration: underline;
}

.toc-card {
  position: sticky;
  top: 94px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--dark-line);
  background: var(--paper);
}

.toc-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
  text-transform: uppercase;
}

.toc-card a {
  display: block;
  padding: 8px 0;
  border-top: 1px solid var(--dark-line);
  color: #263446;
  font-weight: 800;
}

.article-sidebar {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.article-sidebar .toc-card {
  position: sticky;
  top: 94px;
}

.article-lead-form {
  background: var(--gold);
}

.article-lead-form h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.08;
  text-transform: uppercase;
}

.article-lead-form p {
  margin-bottom: 14px;
  color: rgba(7,24,43,.74);
  font-size: 15px;
  font-weight: 700;
}

.article-lead-form .button {
  width: 100%;
}

.article-object-card {
  max-width: 100%;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7,24,43,.04), rgba(7,24,43,.86)),
    url("/ru/assets/properties/la-nucia-4394/20276199.jpeg") center / cover;
}

.article-object-card span {
  width: max-content;
  max-width: 100%;
  padding: 7px 9px;
  border-radius: 5px;
  background: var(--gold);
  color: #111;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-object-card strong {
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
}

.article-object-card small {
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 800;
}

.subscribe-band {
  padding: 34px;
  border-radius: 8px;
  background: var(--gold);
}

.subscribe-band h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  text-transform: uppercase;
}

.subscribe-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  margin-top: 18px;
}

.form-panel {
  padding: 26px;
  border-radius: 8px;
  background: var(--gold);
}

.field {
  width: 100%;
  min-height: 48px;
  margin-bottom: 10px;
  padding: 0 13px;
  border: 1px solid rgba(7,24,43,.14);
  border-radius: 6px;
  font: inherit;
}

.form-result {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font-size: 14px;
}

.form-result.active {
  display: block;
}

.site-footer {
  padding: 56px 0 28px;
  color: var(--white);
  background: #111b2a;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.2fr .7fr .8fr .8fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-brand p {
  max-width: 320px;
  color: rgba(255,255,255,.66);
}

.footer-col h3 {
  color: rgba(255,255,255,.48);
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a,
.footer-col span {
  display: block;
  color: rgba(255,255,255,.84);
  margin-bottom: 10px;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  color: rgba(255,255,255,.56);
  font-size: 13px;
}

@media (max-width: 920px) {
  .menu {
    display: none;
  }

  .grid-3,
  .grid-2,
  .category-grid,
  .city-grid,
  .content-layout,
  .question-list,
  .article-hero.article-hero-rich .wrap,
  .article-shell,
  .article-cta,
  .area-snapshot,
  .visual-route,
  .scenario-grid,
  .factor-grid,
  .mistake-list,
  .featured-article,
  .article-card-grid,
  .subscribe-form,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .toc-card,
  .article-sidebar .toc-card {
    position: static;
  }

  .article-hero-cover {
    min-height: 260px;
  }

  .article-body,
  .article-sidebar,
  .article-sidebar .toc-card,
  .article-lead-form,
  .article-object-card {
    max-width: 100%;
    min-width: 0;
  }

  .article-action-row .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .compare-table {
    display: block;
    width: 100%;
    max-width: calc(100vw - 32px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .compare-table th,
  .compare-table td {
    min-width: 150px;
  }

  .compare-table th:first-child,
  .compare-table td:first-child {
    min-width: 130px;
  }

  .selection-cta {
    max-width: 100%;
    margin: 34px 0;
  }

  .selection-cta-media {
    min-height: 205px;
  }

  .selection-cta-copy {
    padding: 24px 22px;
  }

  .selection-cta h3 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .article-hero.taxes-hero .article-hero-copy {
    padding: 20px;
    background: rgba(7,24,43,.84);
  }

  .article-hero.taxes-hero .wrap {
    min-height: 460px;
    align-items: flex-end;
    padding: 28px 0 34px;
  }

  .article-hero.taxes-hero h1 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.08;
  }

  .article-hero.taxes-hero .hero-subtitle {
    font-size: clamp(20px, 5.6vw, 26px);
    line-height: 1.12;
  }

  .article-hero.taxes-hero .lead {
    font-size: 16px;
  }

  .tax-intro-panel,
  .tax-article-section {
    padding: 22px;
  }

  .article-body.tax-source-locked h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .article-body.tax-source-locked p,
  .article-body.tax-source-locked li {
    font-size: 17px;
  }

  .tax-formula {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tax-formula > b {
    font-size: 24px;
    text-align: center;
  }

  .tax-formula-card {
    min-height: 118px;
  }

  .tax-deductions-grid {
    grid-template-columns: 1fr;
  }

  .tax-deductions-grid div,
  .tax-deductions-grid div:nth-child(3n),
  .tax-deductions-grid div:nth-last-child(-n+3) {
    border-right: 0;
    border-bottom: 1px solid var(--dark-line);
  }

  .tax-deductions-grid div:last-child {
    border-bottom: 0;
  }

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

  .tax-calc-stack {
    grid-template-columns: 1fr;
  }

  .tax-payment-grid,
  .tax-expense-grid,
  .tax-mini-calc,
  .tax-mini-calc.single,
  .tax-seller-quiz,
  .seller-fields,
  .seller-options,
  .tax-section-documents ul,
  .tax-section-data ul,
  .tax-section-before ul,
  .tax-section-summary ul,
  .tax-section-realmax ul {
    grid-template-columns: 1fr;
  }

  .tax-step-line {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tax-step-line b {
    text-align: center;
    transform: rotate(90deg);
  }

  .tax-seller-quiz {
    padding: 22px;
  }

  .seller-quiz-form {
    padding: 20px;
  }

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

  .seller-actions .button {
    width: 100%;
  }

  .tax-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .taxes-article .selection-cta {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head .button {
    margin-top: 16px;
  }
}

@media (max-width: 920px) {
  .catalog-tools,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .object-detail-dialog {
    grid-template-columns: 1fr;
  }

  .object-detail-copy,
  .object-detail-form {
    padding: 26px;
  }

  .catalog-selects,
  .catalog-count {
    grid-column: 1 / -1;
  }

  .catalog-count {
    justify-self: stretch;
    justify-content: center;
  }

  .filter-select {
    max-width: none;
    flex: 1 1 180px;
  }

  .property-page {
    padding-bottom: 76px;
  }

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

  .property-hero-media {
    position: relative;
    height: 46vh;
    min-height: 360px;
  }

  .property-hero-shade {
    background: linear-gradient(0deg, rgba(7,24,43,.96), rgba(7,24,43,.18));
  }

  .property-hero-content,
  .property-split,
  .location-layout,
  .lead-grid,
  .article-promo {
    grid-template-columns: 1fr;
  }

  .property-hero-content {
    padding: 28px 0 34px;
  }

  .property-hero-copy h1 {
    font-size: 39px;
  }

  .price-panel,
  .summary-card,
  .object-status-panel {
    position: static;
  }

  .gallery-stage {
    height: 62vh;
    min-height: 360px;
    border-radius: 0;
    margin-left: -16px;
    margin-right: -16px;
  }

  .gallery-arrow {
    width: 42px;
    height: 42px;
    font-size: 29px;
  }

  .gallery-arrow.prev {
    left: 10px;
  }

  .gallery-arrow.next {
    right: 10px;
  }

  .gallery-overlay {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .gallery-thumbs button {
    flex-basis: 88px;
    height: 62px;
  }

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

  .benefit-grid article {
    min-height: auto;
  }

  .map-card {
    min-height: 320px;
  }

  .map-card iframe {
    height: 320px;
  }

  .article-promo {
    padding: 24px;
  }

  .catalog-document-actions {
    width: 100%;
    min-width: 0;
  }

  .mobile-property-bar {
    display: grid;
  }

  .lightbox img {
    padding: 72px 10px 64px;
  }

  .lightbox .gallery-arrow {
    top: auto;
    bottom: 16px;
    transform: none;
  }

  .lightbox-counter {
    bottom: 22px;
  }
}

@media (max-width: 520px) {
  .catalog-tools {
    padding: 14px;
  }

  .object-detail-modal {
    padding: 10px;
  }

  .object-detail-dialog {
    max-height: calc(100vh - 20px);
  }

  .object-detail-copy,
  .object-detail-form {
    padding: 20px;
  }

  .object-detail-copy h2 {
    font-size: 31px;
  }

  .catalog-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .listing-card-body,
  .property-card-body {
    padding: 15px;
  }

  .listing-price {
    font-size: 25px;
  }

  .property-card h3 {
    font-size: clamp(24px, 8vw, 32px);
  }

  .property-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .property-card .button,
  .property-card .more {
    width: 100%;
  }

  .property-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .property-actions .button {
    grid-column: 1 / -1;
  }

  .price-panel strong {
    font-size: 34px;
  }

  .price-facts {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .section {
    padding: 54px 0;
  }

  h1 {
    font-size: clamp(31px, 10vw, 38px);
    line-height: 1.04;
  }

  .page-hero .wrap {
    padding: 56px 0 48px;
  }

  .property-hero-copy h1 {
    font-size: clamp(31px, 10vw, 38px);
    line-height: 1.04;
  }

  .block-title,
  .section-title h2 {
    font-size: clamp(30px, 9vw, 34px);
    line-height: 1.05;
  }

  .share-row {
    display: grid;
  }
}

.article-hero.budget-buying-hero .budget-hero-meta {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}

.article-hero.budget-buying-hero .budget-hero-meta span {
  display: grid;
  gap: 3px;
  min-width: 130px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 5px;
  color: #fff;
  font-size: 12px;
}

.article-hero.budget-buying-hero .budget-hero-meta b {
  display: block;
  color: #f4bd50;
  font-size: 10px;
  text-transform: uppercase;
}

.budget-source-locked .budget-section-example p,
.budget-source-locked .budget-section-mortgage p,
.budget-source-locked .budget-section-brand p,
.budget-source-locked .budget-section-cta p {
  color: #dce4ec;
}

.budget-source-locked .budget-section-example li,
.budget-source-locked .budget-section-mortgage li,
.budget-source-locked .budget-section-brand li,
.budget-source-locked .budget-section-cta li {
  color: #e8edf2;
}

@media (max-width: 760px) {
  .article-hero.budget-buying-hero .budget-hero-meta span {
    min-width: calc(50% - 5px);
  }
}

/* REALMAX blog library */
.skip-link,
.sr-only {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 30;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}

.blog-library-page .menu a[aria-current="page"] {
  color: var(--gold-soft);
}

.blog-library-hero {
  padding: 74px 0 32px;
  color: var(--white);
  background: linear-gradient(112deg, #07182b 0%, #0b2d52 62%, #155b92 100%);
}

.blog-library-hero h1 {
  max-width: 800px;
  margin-bottom: 18px;
}

.blog-library-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 19px;
}

.blog-library {
  padding: 36px 0 78px;
  background: var(--paper);
}

.blog-library-tools {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.blog-search {
  position: relative;
}

.blog-search svg {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #738095;
}

.blog-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px 0 48px;
  border: 1px solid rgba(7,24,43,.18);
  border-radius: 6px;
  background: var(--white);
  color: var(--deep);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}

.blog-search input:focus-visible,
.filter-chip:focus-visible,
.blog-menu-toggle:focus-visible {
  outline: 3px solid rgba(215,154,40,.45);
  outline-offset: 2px;
}

.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-library-page .filter-chip {
  min-height: 44px;
  padding: 0 16px;
}

.blog-result-count {
  margin: 0 0 18px;
  color: #647187;
  font-size: 14px;
  font-weight: 800;
}

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

.blog-library-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--white);
}

.blog-library-card[hidden] {
  display: none;
}

.blog-library-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe5e9;
}

.blog-library-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.blog-library-body {
  padding: 20px 18px 18px;
}

.blog-library-body .tag {
  display: inline-flex;
  margin-bottom: 14px;
}

.blog-library-body h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.08;
  text-transform: uppercase;
}

.blog-library-body h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.blog-library-card {
  position: relative;
}

.blog-library-card:focus-within {
  outline: 3px solid rgba(215,154,40,.45);
  outline-offset: 2px;
}

.blog-library-body p {
  margin: 0 0 18px;
  color: var(--muted);
}

.blog-library-body .article-meta {
  margin: 0;
  color: #758195;
  font-size: 12px;
}

.blog-empty {
  padding: 50px 24px;
  text-align: center;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--white);
}

.blog-empty[hidden] {
  display: none;
}

.blog-empty h2 {
  margin-bottom: 8px;
  font-size: 30px;
  text-transform: uppercase;
}

.blog-empty p {
  color: var(--muted);
}

.blog-library-cta {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7,24,43,.97), rgba(7,24,43,.78)),
    url("https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.blog-library-cta h2 {
  max-width: 850px;
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  text-transform: uppercase;
}

.blog-library-cta p {
  max-width: 760px;
  color: rgba(255,255,255,.84);
  font-size: 20px;
}

.blog-library-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.blog-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: transparent;
}

.blog-menu-toggle span {
  display: block;
  height: 1px;
  margin: 4px 0;
  background: var(--white);
}

@media (max-width: 920px) {
  .blog-library-page .nav {
    position: relative;
  }

  .blog-library-page .menu {
    display: none;
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    z-index: 15;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.12);
    background: var(--ink);
  }

  .blog-library-page .menu.open {
    display: grid;
  }

  .blog-library-page .menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .blog-library-page .nav-actions > .button {
    display: none;
  }

  .blog-menu-toggle {
    display: block;
  }

  .blog-library-tools {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .blog-library-hero {
    padding: 52px 0 38px;
  }

  .blog-library-hero h1 {
    font-size: clamp(34px, 11vw, 44px);
  }

  .blog-library-hero p {
    font-size: 17px;
  }

  .blog-library {
    padding: 30px 0 54px;
  }

  .blog-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .blog-library-page .filter-chip {
    flex: 0 0 auto;
  }

  .blog-library-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-library-body h2 {
    font-size: 23px;
  }

  .blog-library-actions {
    display: grid;
  }
}
