@font-face {
    font-family: "Playfair Display";
    src: url("../font/PlayfairDisplay-Italic.ttf") format("truetype");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

body.mag-home-page {
    background: #fdfdf5;
    color: #636363;
    overflow-x: hidden;
}

.mag-home,
.mag-home * {
    box-sizing: border-box;
}

.mag-home {
    width: 100%;
    overflow: hidden;
    overflow-wrap: anywhere;
    background: #fdfdf5;
}

.mag-home section {
    margin-right: auto !important;
    margin-bottom: 0 !important;
    margin-left: auto !important;
}

.mag-home .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.mag-home h1,
.mag-home h2,
.mag-home h3,
.mag-home p,
.mag-home blockquote,
.mag-home dl,
.mag-home dd {
    margin: 0;
}

.mag-home h1,
.mag-home h2,
.mag-home h3 {
    color: #000;
    font-family: "Playfair Display", serif;
    font-weight: 500;
}

.mag-home em {
    color: #c3b397;
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-weight: 500;
}

.mag-home img {
    display: block;
}

.mag-pill-button {
    display: inline-flex;
    min-height: 76px;
    align-items: center;
    justify-content: center;
    padding: 22px 32px;
    border-radius: 999px;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    white-space: nowrap;
}

.mag-pill-button--green { background: #ceeec7; }
.mag-pill-button--outline { border: 1px solid #363636; }
.mag-pill-button--dark { background: #363636; color: #fff; }

.mag-hero-search {
    width: 100%;
}

.mag-hero {
    --mag-hero-header-top: 16px;
    --mag-hero-header-height: 92px;
    --mag-hero-padding: 7rem;
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-block-size: 100vh;
    min-block-size: 100dvh;
    /* Center below the menu while preserving the total padding for short windows. */
    padding-block-start: calc(var(--mag-hero-padding) + (var(--mag-hero-header-top) + var(--mag-hero-header-height)) / 2);
    padding-block-end: calc(var(--mag-hero-padding) - (var(--mag-hero-header-top) + var(--mag-hero-header-height)) / 2);
    overflow: hidden;
    color: #fff;
}

.mag-hero > picture {
    position: absolute;
    inset: 0;
}

.mag-hero__image,
.mag-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.mag-hero__image {
    object-fit: cover;
    object-position: 50% 47%;
}

.mag-hero__shade {
    background: rgba(0, 0, 0, .42);
}

.mag-hero-header {
    position: absolute;
    z-index: 3;
    inset-block-start: var(--mag-hero-header-top);
    left: 24px;
    right: 24px;
    block-size: var(--mag-hero-header-height);
    display: flex;
    align-items: center;
	padding: 0 8px 0 24px;
	border: 1.5px solid rgba(255, 255, 255, .15);
	border-radius: 999px;
	background: rgba(255, 255, 255, .05);
	box-shadow: none;
	backdrop-filter: blur(14px);
}

.mag-hero-header__logo {
    width: 98px;
    height: 64px;
    flex: 0 0 auto;
}

.mag-hero-header__logo img { width: 98px; height: 64px; object-fit: contain; }

.mag-hero-nav {
    display: flex;
    align-items: center;
    gap: 36px;
    margin: 0 auto;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}

.mag-hero-nav a { display: inline-flex; align-items: center; gap: 10px; }
.mag-hero-nav .header_menu { display: flex; align-items: center; gap: 36px; }
.mag-hero-nav .header_menu > li { position: relative; white-space: nowrap; }
.mag-hero-nav .mobile-menu-accordion__head { display: flex; align-items: center; }
.mag-hero-nav .header_menu > .menu-item-has-children > .mobile-menu-accordion__head { position: relative; padding-right: 18px; }
.mag-hero-nav .header_menu > .menu-item-has-children > .mobile-menu-accordion__head::after { position: absolute; top: 50%; right: 0; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; content: ""; pointer-events: none; transform: translateY(-70%) rotate(45deg); }
.mag-hero-nav .mobile-menu-accordion__toggle { display: none; }
.mag-hero-nav .header-mega-menu { position: absolute; z-index: 30; top: calc(100% + 24px); left: 0; display: flex; padding: 28px 0; border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.16); color: #363636; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.mag-hero-nav .header-mega-menu::before { position: absolute; right: 0; bottom: 100%; left: 0; height: 24px; content: ""; }
.mag-hero-nav .menu-item--mega-menu:hover > .header-mega-menu,
.mag-hero-nav .menu-item--mega-menu:focus-within > .header-mega-menu,
.mag-hero-nav .menu-item--mega-menu.opened > .header-mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.mag-hero-nav .header-mega-menu__col { display: flex; min-width: 190px; flex-direction: column; gap: 14px; padding: 0 28px; }
.mag-hero-nav .header-mega-menu__col + .header-mega-menu__col { border-left: 1px solid #e5e5df; }
.mag-hero-nav .header-mega-menu__group { display: flex; flex-direction: column; gap: 14px; }
.mag-hero-nav .header-mega-menu__group[hidden] { display: none; }
.mag-hero-nav .header-mega-menu__link { display: block; color: #363636; font-size: 16px; font-weight: 500; line-height: 22px; }
.mag-hero-nav .header-mega-menu[data-header-mega-menu="catalog"][data-mega-stage="1"] .header-mega-menu__col--countries,
.mag-hero-nav .header-mega-menu[data-header-mega-menu="catalog"][data-mega-stage="1"] .header-mega-menu__col--cities,
.mag-hero-nav .header-mega-menu[data-header-mega-menu="catalog"][data-mega-stage="2"] .header-mega-menu__col--cities { display: none; }
.mag-hero-nav .header-mega-menu--locations[data-mega-stage="1"] .header-mega-menu__col--cities { display: none; }
.mag-hero-nav .sub-menu--mobile-nav { display: none; }
.mag-chevron { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }

.mag-hero-header__actions { display: flex; align-items: center; gap: 16px; }
.mag-lang {
    width: 72px;
    height: 72px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}
.mag-home-lang { position: relative; }
.mag-home-lang .lang-dropdown__menu { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; display: flex; min-width: 72px; flex-direction: column; align-items: center; gap: 4px; padding: 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: rgba(54,54,54,.92); box-shadow: 0 14px 35px rgba(0,0,0,.2); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.mag-home-lang.is-open .lang-dropdown__menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.mag-home-lang .lang-dropdown__item { padding: 5px 8px; color: #fff; font-size: 16px; font-weight: 600; }
.mag-home-lang .lang-dropdown__item.is-active { color: #ceeec7; }
.mag-header-contact {
    display: flex;
    height: 72px;
    align-items: center;
    padding: 0 32px;
    border-radius: 999px;
    background: #363636;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}
.mag-burger { display: none; }

.mag-hero__content {
    position: relative;
    z-index: 2;
    width: min(960px, calc(100% - 48px));
    margin-inline: auto;
    text-align: center;
}

.mag-hero__content h1 {
    max-inline-size: none;
    color: #fff;
    font-size: 64px;
    line-height: 72px;
}

.mag-hero__content em { color: #fff; }
.mag-hero__desktop-break { display: none; }
.mag-hero__content p {
    max-width: 650px;
    margin: 35px auto 0;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
}
.mag-hero__content .mag-pill-button { margin-top: 40px; }

.mag-search-wrap {
    width: 100%;
    max-width: 1440px;
    margin: 80px auto 0;
    padding: 0 22px;
}

.mag-search-wrap h2 {
    font-size: 48px;
    line-height: 56px;
    text-align: center;
}

.mag-search {
    width: 100%;
    margin-top: 40px;
    padding: 24px;
    border-radius: 32px;
    background: #fff;
}

.mag-search__primary,
.mag-search__secondary { display: grid; gap: 8px; }
.mag-search__primary { grid-template-columns: repeat(3, minmax(0, 1fr)) 246px; }
.mag-search__secondary { grid-template-columns: repeat(5, 1fr); margin-top: 8px; }
.mag-search label { position: relative; }
.mag-search label::after {
    content: "";
    position: absolute;
    top: 28px;
    right: 25px;
    width: 8px;
    height: 8px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    transform: rotate(45deg);
    pointer-events: none;
}
.mag-search select,
.mag-select__trigger,
.mag-search__primary > [data-catalog-search-redirect] {
	width: 100%;
	height: 72px;
	padding: 0 24px;
    border: 0;
    border-radius: 999px;
    appearance: none;
    background: #efefe9;
    color: #000;
	font-size: 16px;
	line-height: 24px;
}
.mag-search__primary > [data-catalog-search-redirect] { background: #ceeec7; font-size: 18px; font-weight: 600; cursor: pointer; }
.mag-select.is-enhanced::after { display: none; }
.mag-select.is-enhanced select {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
.mag-select__trigger {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	text-align: left;
}
.mag-select__trigger::after {
	content: "";
	width: 10px;
	height: 6px;
	flex: 0 0 auto;
	background: url("../images/home-redesign/cta-image.svg") center / contain no-repeat;
	transition: transform .2s ease;
}
.mag-select.is-open { z-index: 30; }
.mag-select.is-open .mag-select__trigger {
	outline: 1px solid #363636;
	outline-offset: -1px;
}
.mag-select.is-open .mag-select__trigger::after { transform: rotate(180deg); }
.mag-select__menu {
	position: absolute;
	z-index: 40;
	top: calc(100% + 8px);
	left: 0;
	width: 100%;
	max-height: 280px;
	padding: 8px;
	overflow-y: auto;
	border: 1px solid rgba(195, 179, 151, .45);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 16px 48px rgba(32, 32, 27, .16);
}
.mag-select__menu[hidden] { display: none; }
.mag-select__option {
	display: flex;
	width: 100%;
	min-height: 48px;
	align-items: center;
	padding: 10px 16px;
	border-radius: 14px;
	color: #363636;
	font-size: 16px;
	line-height: 24px;
	cursor: pointer;
	text-align: left;
}
.mag-select__option:hover,
.mag-select__option:focus-visible { background: #f5f5ed; outline: none; }
.mag-select__option[aria-selected="true"] { background: #e8f5e4; color: #000; font-weight: 600; }
.mag-select__trigger:focus-visible,
.mag-search__primary > [data-catalog-search-redirect]:focus-visible { outline: 2px solid #8bca7d; outline-offset: 2px; }
.mag-search__more { display: none; }

.mag-numbers,
.mag-intro,
.mag-reasons,
.mag-countries,
.mag-properties,
.mag-steps,
.mag-analysis,
.mag-case,
.mag-team,
.mag-office,
.mag-insights,
.mag-faq {
    width: 100%;
    max-width: 1440px;
    padding-right: 24px;
    padding-left: 24px;
}

.mag-numbers { margin-top: 164px !important; }
.mag-numbers h2 { font-size: 48px; line-height: 56px; text-align: center; }
.mag-numbers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(96px, auto); gap: 0; height: auto; min-height: 96px; margin-top: 40px; }
.mag-numbers__grid div {
    height: auto;
    min-height: 96px;
    padding-block: 0;
    padding-inline: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-left: 1px solid #d2d2d2;
    background: transparent;
}
.mag-numbers__grid div:last-child { border-right: 1px solid #d2d2d2; }
.mag-numbers__grid strong { display: flex; align-items: baseline; justify-content: center; gap: 6px; color: #c3b397; font-family: "Playfair Display", serif; font-weight: 500; }
.mag-stat-value { font-size: 48px; line-height: 56px; }
.mag-stat-value--city { font-size: 40px; }
.mag-stat-affix { font-size: 24px; line-height: 32px; }
.mag-numbers__grid > div > span { font-size: 18px; line-height: 24px; }

.mag-intro { display: grid; grid-template-columns: 664px minmax(0, 1fr); gap: 80px; margin-top: 164px !important; }
.mag-intro__left { display: flex; flex-direction: column; gap: 64px; }
.mag-intro h2 { font-size: 48px; line-height: 56px; }
.mag-intro__image { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: 32px; }
.mag-intro__image img { width: 100%; height: 100%; object-fit: cover; }
.mag-intro__right { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.mag-intro__copy { font-size: 16px; line-height: 24px; }
.mag-intro__copy p + p { margin-top: 15px; }
.mag-intro__quote { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.mag-intro blockquote { width: 530px; color: #949494; font-family: "Playfair Display", serif; font-size: 32px; font-style: italic; line-height: 36px; }

.mag-reasons { margin-top: 164px !important; }
.mag-section-heading { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.mag-section-heading h2 { font-size: 48px; line-height: 56px; }
.mag-section-heading p { max-width: 1002px; font-size: 16px; line-height: 24px; }
.mag-section-heading--left { align-items: flex-start; text-align: left; }
.mag-reasons__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.mag-reason-card { display: flex; flex-direction: column; padding: 24px; border-radius: 24px; background: #f5f5ed; }
.mag-icon-bubble { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; padding: 8px; border-radius: 50%; background: #e6d8c1; }
.mag-icon-bubble img { width: 24px; height: 24px; object-fit: contain; }
.mag-reason-card h3 { margin-top: 54px; font-size: 24px; line-height: 32px; }
.mag-reason-card p { margin-top: 16px; font-size: 16px; line-height: 24px; }

.mag-countries { margin-top: 164px !important; }
.mag-countries__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.mag-country-card { position: relative; min-height: 550px; overflow: hidden; border-radius: 24px; color: #fff; }
.mag-country-card__link { position: absolute; z-index: 2; inset: 0; }
.mag-country-card > picture { position: absolute; inset: 0; }
.mag-country-card__image,
.mag-country-card__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.mag-country-card__image { object-fit: cover; }
.mag-country-card:nth-child(2) .mag-country-card__image { object-position: 51% center; }
.mag-country-card:nth-child(3) .mag-country-card__image { object-position: 58% center; }
.mag-country-card__shade { background: linear-gradient(180deg, rgba(0,0,0,.03) 35%, rgba(0,0,0,.8) 100%); }
.mag-country-card__tags { position: absolute; z-index: 1; top: 24px; left: 24px; right: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.mag-country-card__tags span { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.55); backdrop-filter: blur(8px); color: #363636; font-size: 14px; line-height: 20px; }
.mag-country-card__body { position: absolute; z-index: 1; left: 24px; right: 88px; bottom: 24px; }
.mag-country-card__body h3 { color: #fff; font-size: 32px; line-height: 40px; }
.mag-country-card__body p { margin-top: 8px; color: #fff; font-size: 16px; line-height: 24px; }
.mag-round-arrow { position: absolute; z-index: 2; right: 24px; bottom: 44px; display: flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; background: #ceeec7; }
.mag-round-arrow img { inline-size: 51px; block-size: 51px; max-inline-size: 100%; max-block-size: 100%; }

.mag-properties { margin-top: 164px !important; }
.mag-properties__heading { display: grid; grid-template-columns: 1fr 627px; gap: 24px; align-items: end; }
.mag-properties__heading h2 { font-size: 48px; line-height: 56px; }
.mag-properties__heading p { font-size: 16px; line-height: 24px; }
.mag-country-tabs { display: flex; height: 52px; align-items: center; margin-top: 40px; overflow-x: auto; scrollbar-width: none; }
.mag-country-tabs::-webkit-scrollbar { display: none; }
.mag-country-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; flex: 0 0 auto; padding: 0 24px; border-radius: 999px; color: #636363; font-size: 18px; font-weight: 600; cursor: pointer; }
.mag-country-tabs button:disabled { cursor: wait; }
.mag-country-tabs button.is-active { position: relative; color: #8bca7d; }
.mag-country-tabs button.is-active::before { content: ""; inline-size: 8px; block-size: 8px; flex: 0 0 8px; border-radius: 50%; background: currentColor; }
.mag-property-scroller { margin-top: 24px; }
.mag-property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mag-property-grid.is-loading { pointer-events: none; }
/* Keep the card geometry, but never show the previous country while a request is pending. */
.mag-property-grid.is-loading .mag-property-card > * { visibility: hidden; }
.mag-property-card { overflow: hidden; height: auto; min-height: 604px; border-radius: 24px; background: #f5f5ed; }
.mag-property-card__media { position: relative; height: 320px; overflow: hidden; background-color: #e8e8df; }
.mag-property-card__cover-link { position: absolute; z-index: 2; inset: 0; }
.mag-property-card__media > img { width: 100%; height: 100%; object-fit: cover; }
.mag-property-card__badges { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.mag-property-card__badges span { padding: 8px 14px; border-radius: 999px; background: rgba(245,245,237,.8); backdrop-filter: blur(10px); color: #363636; font-size: 12px; line-height: 16px; }
.mag-property-card__content { padding: 16px; }
.mag-property-card__content h3 { font-size: 24px; line-height: 32px; }
.mag-property-card__content h3 a {
    text-decoration: underline solid transparent;
    text-underline-offset: .15em;
    transition: color .3s ease, text-decoration-color .3s ease;
}
.mag-property-card__content h3 a:focus-visible { text-decoration-color: currentColor; }
.mag-property-card__content strong { display: block; margin-top: 4px; color: #000; font-size: 18px; line-height: 24px; }
.mag-property-card__content small { display: block; color: #363636; font-size: 14px; line-height: 19px; }
.mag-property-card__location { margin-top: 16px !important; font-size: 14px; line-height: 20px; }
.mag-property-card__meta { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 16px; color: #636363; font-size: 14px; line-height: 20px; }
.mag-property-card__meta > span { display: inline-flex; align-items: center; gap: 8px; }
.mag-property-card__meta > span:first-child { padding-right: 16px; border-right: 1px solid #d2d2d2; }
.mag-property-card__meta img { width: 20px; height: 20px; flex: 0 0 auto; object-fit: contain; }
.mag-property-card__features-title { margin-top: 16px !important; color: #363636; font-size: 12px; line-height: 16px; }
.mag-property-card__features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mag-property-card__features span { padding: 6px 12px; border-radius: 999px; background: #fdfdf5; font-size: 11px; line-height: 16px; }
.mag-properties__button { display: flex; width: max-content; margin: 24px auto 0; }

.mag-steps { margin-top: 164px !important; }
.mag-steps .mag-section-heading { gap: 24px; }
.mag-steps__mobile-copy { display: none; }
.mag-steps__grid { display: grid; width: 100%; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, minmax(164px, auto)); row-gap: 60px; margin-top: 80px; margin-left: 0; }
.mag-step-card { min-height: 164px; grid-column: span 2; padding: 0 40px; border-left: 1px solid #d2d2d2; }
.mag-step-card:nth-child(4) { grid-column: 1 / span 2; }
.mag-step-card:nth-child(5) { grid-column: 3 / span 2; }
.mag-steps__grid--count-4 .mag-step-card:nth-child(4) { grid-column: 3 / span 2; }
.mag-step-card:nth-child(3), .mag-step-card:nth-child(5) { border-right: 1px solid #d2d2d2; }
.mag-step-card__top { display: flex; align-items: flex-start; justify-content: space-between; height: 60px; }
.mag-step-card__top > img { width: 60px; height: 60px; object-fit: contain; }
.mag-step-card__top > span:last-child { color: #000; font-family: "Playfair Display", serif; font-size: 16px; line-height: 16px; }
.mag-step-globe { position: relative; display: block; width: 60px; height: 60px; flex: 0 0 auto; overflow: hidden; }
.mag-step-globe .mag-step-globe__part { position: absolute; max-width: none; height: auto; }
.mag-step-globe__part--0 { top: 4.54%; right: 22.2%; bottom: 84.69%; left: 31%; width: 46.8%; height: 10.77% !important; }
.mag-step-globe__part--1 { top: 16.32%; right: 2.88%; bottom: 1.11%; left: 2.84%; width: 94.28%; height: 82.57% !important; }
.mag-step-globe__part--2 { top: 6.22%; right: 38.22%; bottom: 12.6%; left: 11.9%; width: 49.88%; height: 81.18% !important; }
.mag-step-globe__part--3 { top: 26.58%; right: 11.28%; bottom: 8%; left: 63.55%; width: 25.17%; height: 65.42% !important; }
.mag-step-globe__part--4 { top: 1.11%; right: 66.68%; bottom: 72.84%; left: 15.17%; width: 18.15%; height: 26.05% !important; }
.mag-step-globe__part--5 { top: 5.42%; right: 71.53%; bottom: 86.04%; left: 19.93%; width: 8.54%; height: 8.54% !important; }
.mag-step-globe__part--6 { top: 8.02%; right: 6.81%; bottom: 65.93%; left: 75.03%; width: 18.16%; height: 26.05% !important; }
.mag-step-globe__part--7 { top: 12.33%; right: 11.67%; bottom: 79.13%; left: 79.8%; width: 8.53%; height: 8.54% !important; }
.mag-step-card h3 { margin-top: 30px; font-family: "Wix Madefor Display", sans-serif; font-size: 16px; font-weight: 600; line-height: 24px; }
.mag-step-card p { margin-top: 10px; font-size: 14px; line-height: 20px; }
.mag-step-card .mag-step-card__result { color: #8a7655; font-weight: 500; }
.mag-steps__image { height: 304px; margin-top: 60px; overflow: hidden; border-radius: 24px; }
.mag-steps__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }

.mag-analysis { margin-top: 164px !important; }
.mag-analysis .mag-section-heading { max-width: 1000px; margin: 0 auto; align-items: center; text-align: center; }
.mag-analysis__layout { display: grid; grid-template-columns: 684px 684px; gap: 24px; margin-top: 40px; }
.mag-analysis__image { position: relative; grid-column: 2; grid-row: 1; overflow: hidden; border-radius: 24px; }
.mag-analysis__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mag-analysis__cards { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mag-analysis-card { display: flex; min-height: 303px; flex-direction: column; padding: 24px; border-radius: 24px; background: #f5f5ed; }
.mag-analysis-card h3 { margin-top: auto; font-size: 24px; line-height: 32px; }
.mag-analysis-card p { margin-top: 16px; font-size: 16px; line-height: 24px; }

.mag-case { display: grid; grid-template-columns: 580px 1fr; gap: 80px; margin-top: 164px !important; }
.mag-case__lead { display: flex; flex-direction: column; align-items: flex-start; }
.mag-case__image { width: 100%; height: 300px; margin-block-start: 40px; overflow: hidden; border-radius: 32px; }
.mag-case__image img { width: 100%; height: 100%; object-fit: cover; }
.mag-case__content { display: flex; flex-direction: column; align-items: flex-start; }
.mag-eyebrow { display: inline-flex; padding: 8px 16px; border-radius: 999px; background: #e6d8c1; color: #000; font-size: 14px; line-height: 20px; }
.mag-case h2 { margin-top: 16px; font-size: 48px; line-height: 56px; }
.mag-case__copy { font-size: 16px; line-height: 24px; }
.mag-case__copy p + p { margin-top: 15px !important; }
.mag-case__facts { width: 100%; margin-top: 50px !important; }
.mag-case__facts > div { display: grid; grid-template-columns: 115px 1fr; gap: 50px; padding: 25px 0; border-bottom: 1px solid rgba(210,210,210,.5); }
.mag-case__facts > div:first-child { padding-top: 0; }
.mag-case__facts > div:last-child { align-items: start; padding-bottom: 0; border-bottom: 0; }
.mag-case__facts dt { display: flex; align-items: center; gap: 5px; color: #636363; font-size: 14px; font-weight: 600; line-height: 20px; }
.mag-case__facts > div:last-child dt { align-items: flex-start; }
.mag-case__facts dd { font-size: 14px; line-height: 20px; }
.mag-case__fact-icon { position: relative; display: inline-flex; width: 20px; height: 20px; flex: 0 0 20px; align-items: center; justify-content: center; }
.mag-case__fact-icon > img { width: 20px; height: 20px; object-fit: contain; }
.mag-case__fact-icon--target > img { position: absolute; }
.mag-case__fact-icon--target > img:nth-child(1) { width: 16.67px; height: 16.67px; }
.mag-case__fact-icon--target > img:nth-child(2) { width: 8.33px; height: 8.33px; }
.mag-case__fact-icon--target > img:nth-child(3) { top: 0; left: 9.58px; width: .84px; height: 4.17px; }
.mag-case__fact-icon--target > img:nth-child(4) { top: 9.58px; left: 0; width: 4.17px; height: .84px; }
.mag-case .mag-pill-button { min-height: 76px; margin-top: 50px; padding: 24px 33px; }

.mag-team { margin-top: 164px !important; }
.mag-team > h2 { max-width: 760px; margin: 0 auto; font-size: 48px; line-height: 56px; text-align: center; }
.mag-team__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 60px; }
.mag-team__grid .mag-person:only-child { grid-column: 1 / -1; width: calc(50% - 12px); }
.mag-person { display: flex; flex-direction: column; overflow: hidden; padding: 16px; border-radius: 24px; background: #f5f5ed; }
.mag-person__portrait { width: 100%; flex: none; }
.mag-person__photo { display: block; width: 100%; height: auto; }
.mag-person__content { display: flex; flex: 1; flex-direction: column; padding: 24px 8px 0; }
.mag-person__content h3 { font-size: 24px; line-height: 32px; }
.mag-person__role { margin-top: 8px !important; color: #000; font-size: 18px; font-weight: 400; line-height: 24px; }
.mag-person__content > p:not(.mag-person__role) { margin-top: 24px !important; font-size: 16px; line-height: 24px; }
.mag-socials { display: flex; gap: 16px; margin-top: auto; }
.mag-socials a { display: flex; align-items: center; gap: 8px; color: #000; font-size: 18px; font-weight: 600; line-height: 27px; text-decoration: underline; transition: text-decoration-color .3s ease; }
.mag-socials a + a { padding-left: 16px; border-left: 1px solid #d2d2d2; }
.mag-socials img { width: 30px; height: 30px; }

.mag-office { margin-top: 164px !important; }
.mag-office__heading { display: grid; grid-template-columns: 1fr 660px; gap: 24px; align-items: start; }
.mag-office__heading h2 { font-size: 48px; line-height: 56px; }
.mag-office__address { display: flex; align-items: center; gap: 8px; margin-top: 16px !important; color: #000; font-size: 16px; line-height: 24px; }
.mag-office__address img { width: 20px; height: 20px; object-fit: contain; }
.mag-office__heading > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; font-size: 16px; line-height: 24px; }
.mag-office__heading .mag-pill-button { min-block-size: 77px; padding: 24px 32px; }
.mag-office__gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 278px); gap: 12px; height: 568px; margin-top: 40px; }
.mag-office__photo { overflow: hidden; border-radius: 24px; }
.mag-office__photo img { width: 100%; height: 100%; object-fit: cover; }
.mag-office__photo--1 { grid-row: span 2; }
.mag-office__photo--4 { grid-column: 4; grid-row: 1 / span 2; }
.mag-office__photo--5 { grid-column: 2 / span 2; grid-row: 2; }

.mag-insights { margin-top: 164px !important; }
.mag-insights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.mag-article-card { min-width: 0; height: auto; min-height: 462px; background: transparent; }
.mag-article-card__media { position: relative; height: 240px; overflow: hidden; border-radius: 24px; transition: opacity .3s ease; }
.mag-article-card__image-link { display: block; width: 100%; height: 100%; cursor: pointer; }
.mag-article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mag-article-card__media > span { position: absolute; top: 16px; left: 16px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(245,245,237,.82); backdrop-filter: blur(12px); color: #363636; font-size: 14px; line-height: 20px; pointer-events: none; }
.mag-article-card__body { height: auto; min-height: 222px; padding: 24px 0 0; }
.mag-article-card__body h3 { display: -webkit-box; height: 58px; overflow: hidden; font-size: 24px; line-height: 28.8px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mag-article-card__body h3 a { color: inherit; text-decoration: underline; text-underline-offset: auto; }
.mag-article-card__body > p { display: -webkit-box; height: 40px; margin-top: 16px !important; overflow: hidden; color: #636363; font-size: 14px; line-height: 20px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mag-article-card__meta { display: flex; min-width: 0; height: 44px; align-items: center; justify-content: flex-start; gap: 16px; margin-top: 16px; overflow: hidden; color: #949494; font-size: 14px; line-height: 20px; white-space: nowrap; }
.mag-article-card__meta > span { display: flex; min-width: 0; align-items: center; gap: 5px; }
.mag-article-card__author { position: relative; max-width: 62%; flex: 0 1 auto; padding-right: 16px; }
.mag-article-card__author-name { overflow: hidden; color: inherit; text-decoration: none; text-overflow: ellipsis; }
.mag-article-card__author::after { position: absolute; top: 4px; right: 0; width: 1px; height: 24px; background: #d2d2d2; content: ""; }
.mag-article-card__avatar { display: flex; width: 28px; height: 28px; flex: 0 0 28px; align-items: center; justify-content: center; overflow: hidden; border-radius: 50%; background: #efefe9; }
.mag-article-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.mag-article-card__avatar img[src$=".svg"] { width: 21px; height: 26px; object-fit: contain; transform: translateY(3px); }
.mag-article-card__date { flex: 0 0 auto; }
.mag-article-card__date > img { width: 20px; height: 20px; flex: 0 0 20px; }
.mag-insights__button { display: flex; width: max-content; min-height: 77px; margin: 24px auto 0; padding: 24px 32px; }

.mag-faq { margin-top: 164px !important; }
.mag-faq > h2 { max-width: 838px; margin: 0 auto; font-size: 48px; line-height: 56px; text-align: center; }
.mag-faq__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: stretch; margin-top: 40px; }
.mag-faq__item { display: flex; flex-direction: column; justify-content: center; min-height: 79px; padding: 24px; border-radius: 24px; background: #f5f5ed; color: #000; }
.mag-faq__question { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 0; border: 0; background: transparent; color: #000; font-family: "Wix Madefor Display", sans-serif; font-size: 22px; font-weight: 400; line-height: 1.4; text-align: left; cursor: pointer; }
.mag-faq__icon { display: flex; width: 32px; height: 32px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; background: #e6d8c1; transform: rotate(180deg); transition: transform .2s ease; }
.mag-faq__icon img { width: 16px; height: 16px; }
.mag-faq__question[aria-expanded="true"] .mag-faq__icon { transform: rotate(0); }
.mag-faq__answer { margin-top: 24px; color: #636363; font-size: 16px; line-height: 24px; }
.mag-faq__answer[hidden] { display: none; }

.mag-contact {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 1920px;
    flex-direction: column;
    gap: 5rem;
    margin-top: 164px !important;
    padding: 100px 24px 24px;
    overflow: visible;
    color: #fff;
}
.mag-contact__background,
.mag-contact__background img,
.mag-contact__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.mag-contact__background img { object-fit: cover; }
.mag-contact__shade { background: rgba(0,0,0,.4); }
.mag-contact__intro { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 627px; gap: 60px; align-items: end; }
.mag-contact__modes { display: flex; gap: 16px; margin-bottom: 20px; color: #fff; font-size: 16px; line-height: 24px; }
.mag-contact__modes span { position: relative; display: flex; align-items: center; gap: 5px; padding: 8px 16px 8px 0; }
.mag-contact__modes span:first-child::after { position: absolute; top: 50%; right: 0; width: 1px; height: 24px; background: #d2d2d2; content: ""; transform: translateY(-50%); }
.mag-contact__modes span > img,
.mag-contact__modes span > i { width: 40px; height: 40px; flex: 0 0 auto; }
.mag-contact__modes span > i { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.15); backdrop-filter: blur(7.5px); }
.mag-contact__modes span > i img { width: 20px; height: 20px; }
.mag-contact h2 { max-width: 650px; color: #fff; font-size: 48px; line-height: 56px; }
.mag-contact__copy { display: flex; flex-direction: column; gap: 15px; color: #fff; font-size: 16px; line-height: 24px; }
.mag-contact-form { position: relative; z-index: 2; width: 100%; height: auto; min-height: 379px; flex: 0 0 auto; margin: auto auto 0; }
.mag-contact-form > .gform_wrapper,
.mag-contact-form > .gform-theme { position: relative; height: auto; min-height: 379px; padding: 40px 32px; border: 2px solid #fff; border-radius: 24px; background: #fdfdf5; }
.mag-contact-form .gform_heading .gform_title { font-family: "Playfair Display", serif !important; font-size: 40px !important; line-height: 29px !important; text-align: center; }
.mag-contact-form .gform_heading .gform_description { display: none !important; }
.mag-contact-form .gform_required_legend { display: none !important; }
.mag-contact-form .gform_wrapper form,
.mag-contact-form .gform-theme form { margin-top: 32px !important; overflow: visible !important; }
.mag-contact-form .gform_fields { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; grid-template-rows: 68px 68px 68px !important; gap: 10px 8px !important; }
.mag-contact-form #field_1_1 { grid-column: 1; grid-row: 1; }
.mag-contact-form #field_1_3 { grid-column: 2; grid-row: 1; }
.mag-contact-form #field_1_4 { grid-column: 1; grid-row: 2; }
.mag-contact-form #field_1_13 { z-index: 12; grid-column: 2; grid-row: 2; overflow: visible; }
.mag-contact-form #field_1_15 { grid-column: 3 / 5; grid-row: 1 / 3; }
.mag-contact-form #field_1_14 { grid-column: 1 / 3; grid-row: 3; align-self: center; }
.mag-contact-form .gform-field-label--type-sub,
.mag-contact-form .gfield_description { display: none !important; }
.mag-contact-form input[type="text"],
.mag-contact-form input[type="tel"],
.mag-contact-form input[type="email"],
.mag-contact-form select,
.mag-contact-form textarea { width: 100% !important; border: 1px solid #949494 !important; background: #fff !important; color: #363636 !important; font-size: 14px !important; line-height: 20px !important; box-shadow: none !important; }
.mag-contact-form input[type="text"],
.mag-contact-form input[type="tel"],
.mag-contact-form input[type="email"],
.mag-contact-form select { height: 68px !important; min-height: 68px !important; padding: 0 24px !important; border-radius: 999px !important; }
.mag-contact-form .ginput_container_select { position: relative; }
.mag-contact-form .ginput_container_select::after { position: absolute; top: 28px; right: 24px; width: 9px; height: 9px; border-right: 1px solid #363636; border-bottom: 1px solid #363636; content: ""; pointer-events: none; transform: rotate(45deg); }
.mag-contact-form select { padding-right: 52px !important; appearance: none !important; background-image: none !important; }
.mag-contact-form .mag-contact-language.is-enhanced::after { display: none; }
.mag-contact-form .mag-contact-language.is-enhanced select { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.mag-contact-language__trigger { position: relative; width: 100%; height: 68px; padding: 0 52px 0 24px; border: 1px solid #949494; border-radius: 999px; background: #fff; color: #363636; font-family: "Wix Madefor Display", sans-serif; font-size: 14px; line-height: 20px; text-align: left; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.mag-contact-language__trigger::after { position: absolute; top: 26px; right: 25px; width: 9px; height: 9px; border-right: 1px solid #363636; border-bottom: 1px solid #363636; content: ""; transform: rotate(45deg); transition: transform .2s ease, top .2s ease; }
.mag-contact-language.is-open .mag-contact-language__trigger { border-color: #363636; box-shadow: 0 0 0 3px rgba(195,179,151,.2); }
.mag-contact-language.is-open .mag-contact-language__trigger::after { top: 31px; transform: rotate(225deg); }
.mag-contact-language__trigger:focus-visible { outline: 2px solid #8bca7d; outline-offset: 2px; }
.mag-contact-language__menu { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; left: 0; display: flex; flex-direction: column; gap: 4px; padding: 8px; border: 1px solid #d2d2d2; border-radius: 20px; background: #fff; box-shadow: 0 18px 45px rgba(45,45,45,.16); }
.mag-contact-language__menu[hidden] { display: none; }
.mag-contact-language__option { width: 100%; min-height: 40px; padding: 9px 16px; border: 0; border-radius: 12px; background: transparent; color: #363636; font-family: "Wix Madefor Display", sans-serif; font-size: 14px; line-height: 20px; text-align: left; cursor: pointer; }
.mag-contact-language__option:hover,
.mag-contact-language__option:focus-visible { background: #f5f5ed; outline: none; }
.mag-contact-language__option[aria-selected="true"] { background: #e8f5e4; color: #000; font-weight: 600; }
.mag-contact-form textarea { height: 146px !important; min-height: 146px !important; }
.mag-contact-form textarea { padding: 24px !important; border-radius: 24px !important; resize: none; }
.mag-contact-form .ginput_container_consent { display: flex; align-items: flex-start; gap: 12px; }
.mag-contact-form input[type="checkbox"] { width: 20px !important; height: 20px !important; flex: 0 0 20px; margin: 0 !important; border: 1px solid #949494 !important; border-radius: 2px !important; }
.mag-contact-form .gfield_consent_label { color: #636363 !important; font-size: 12px !important; line-height: 16px !important; }
.mag-contact-form .gfield_consent_label a,
.mag-contact-form__fallback a { color: #8bca7d !important; text-decoration: underline; }
.mag-contact-form .gform_footer { position: absolute !important; right: 32px; bottom: 40px; width: calc(50% - 40px); height: 68px; margin: 0 !important; padding: 0 !important; }
.mag-contact-form .gform_footer input[type=submit],
.mag-contact-form .gform_footer button[type=submit] { width: 100% !important; height: 68px !important; margin: 0 !important; border: 0 !important; border-radius: 999px !important; background: #363636 !important; color: #fff !important; font-size: 16px !important; font-weight: 600 !important; }
.mag-contact-form__fallback { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px 8px; margin-top: 24px; }
.mag-contact-form__fallback input,
.mag-contact-form__fallback select,
.mag-contact-form__fallback textarea { min-height: 68px; padding: 20px 24px; border: 1px solid #949494; border-radius: 999px; background: #fff; }
.mag-contact-form__fallback textarea { grid-column: 3 / 5; grid-row: 1 / 3; height: 146px; border-radius: 24px; }
.mag-contact-form__fallback label { display: flex; grid-column: 1 / 3; grid-row: 3; align-items: flex-start; gap: 12px; color: #636363; font-size: 12px; line-height: 16px; }
.mag-contact-form__fallback button { grid-column: 3 / 5; grid-row: 3; height: 68px; border-radius: 999px; background: #363636; color: #fff; font-weight: 600; }

.mag-newsletter { width: 100%; max-width: 1440px; height: auto; min-height: 396px; display: flex; flex-direction: column; align-items: center; gap: 40px; margin-top: 70px !important; padding: 0 16px; text-align: center; }
.mag-newsletter > img { width: 80px; height: 80px; }
.mag-newsletter__heading { width: 940px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mag-newsletter h2 { font-size: 40px; line-height: 52px; }
.mag-newsletter__heading p { width: 884px; font-size: 16px; line-height: 24px; }
.mag-newsletter__form { width: 900px; }
.mag-newsletter__form > div { display: grid; grid-template-columns: 1fr 300px; gap: 16px; width: 920px; height: 68px; }
.mag-newsletter__form input,
.mag-newsletter__form button { width: 100%; height: 68px; border-radius: 999px; }
.mag-newsletter__form input { padding: 0 31px; border: 1px solid #949494; background: #fff; color: #636363; }
.mag-newsletter__form button { background: #ceeec7; color: #000; font-size: 18px; font-weight: 600; }
.mag-newsletter__consent { width: 670px; display: flex; align-items: flex-start; gap: 12px; margin: 20px auto 0; font-size: 12px; line-height: 16px; text-align: left; }
.mag-newsletter__consent input { width: 20px; height: 20px; flex: 0 0 auto; border: 1px solid #949494; border-radius: 2px; appearance: auto; }
.mag-newsletter__form a { color: #8bca7d; text-decoration: underline; }

.mag-footer { width: 100%; min-height: 582px; margin-top: 0; padding: 50px 24px 24px; background: #f5f5ed; }
.mag-footer__responsive { display: none; }
.mag-footer__main { width: 100%; max-width: 1392px; display: grid; grid-template-columns: 220px 330px 258px 340px; justify-content: space-between; gap: 24px; margin: 0 auto; }
.mag-footer__brand { display: flex; flex-direction: column; gap: 40px; }
.mag-footer__brand > img { width: 187px; height: 76px; }
.mag-footer__languages { display: flex; align-items: center; gap: 16px; color: #d2d2d2; font-size: 16px; line-height: 24px; }
.mag-footer__languages a { color: inherit; }
.mag-footer__languages .is-active { color: #000; }
.mag-footer__languages b { width: 1px; height: 21px; background: #d2d2d2; }
.mag-footer h2 { margin-bottom: 24px; font-family: "Wix Madefor Display", sans-serif; font-size: 18px; font-weight: 600; line-height: 24px; }
.mag-footer__menu { display: grid; grid-template-columns: 1fr; gap: 16px; }
.mag-footer ul { display: flex; flex-direction: column; gap: 16px; }
.mag-footer li,
.mag-footer__contacts,
.mag-footer__location { color: #636363; font-size: 16px; line-height: 24px; }
.mag-footer__menu-parent { display: inline-flex; align-items: center; gap: 4px; }
.mag-footer__menu-parent::after { width: 7px; height: 7px; border-right: 1px solid #636363; border-bottom: 1px solid #636363; content: ""; transform: rotate(45deg) translateY(-2px); }
.mag-footer__contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.mag-footer__contacts h2 { margin-bottom: 8px; }
.mag-footer__contacts a[href^="mailto:"] { white-space: nowrap; }
.mag-footer__contacts a,
.mag-footer__location p,
.mag-footer__location p span { display: flex; align-items: center; gap: 6px; }
.mag-footer__contacts img,
.mag-footer__location p img { width: 16px; height: 16px; flex: 0 0 16px; object-fit: contain; }
.mag-footer__location p + p { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 16px !important; }
.mag-footer__map { position: relative; width: 340px; height: 194px; margin-top: 24px; overflow: hidden; border-radius: 20px; }
.mag-footer__map-base { position: absolute; inset: 0; width: 340px; height: 212px; object-fit: cover; }
.mag-footer__map-overlay { position: absolute; top: -473.31px; left: -469px; width: 1448px; height: 937px; max-width: none !important; }
.mag-footer__bottom { width: 100%; max-width: 1392px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; margin: 50px auto 0; padding-top: 24px; border-top: 1px solid #d2d2d2; color: #636363; font-size: 14px; line-height: 20px; }
.mag-footer__bottom > div { display: flex; justify-content: flex-end; gap: 24px; }
.mag-footer__heart { color: #d7272f; }

body.mag-home-page .floating-actions { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	.mag-select__trigger::after,
	.mag-contact-language__trigger,
	.mag-contact-language__trigger::after,
	.mag-property-grid { transition: none; }
}

@media (min-width: 1441px) {
    .mag-hero-header { width: calc(100% - 48px); max-width: 1392px; left: 50%; right: auto; transform: translateX(-50%); }
    .mag-contact__intro,
    .mag-contact-form { width: 100%; max-width: 1392px; margin-inline: auto; }
}

@media (max-width: 1199px) {
    .mag-pill-button { min-height: 56px; padding: 16px 24px; font-size: 16px; line-height: 24px; }
    .mag-hero { --mag-hero-padding: 6rem; --mag-hero-header-height: 64px; }
    .mag-hero-header { left: 16px; right: 16px; padding: 0 8px 0 16px; }
    .mag-hero-header__logo,
    .mag-hero-header__logo img { width: 70px; height: 46px; }
    .mag-hero-nav,
    .mag-header-contact { display: none; }
    .mag-hero-header__actions { margin-left: auto; gap: 8px; }
    .mag-lang { display: none; }
    .mag-burger { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: #363636; }
    .mag-burger img { width: 32px; height: 24px; }
    .mag-hero__content { width: calc(100% - 64px); }
    .mag-hero__content h1 { font-size: 48px; line-height: 56px; }
    .mag-hero__content p { max-width: 650px; margin-top: 24px; }
    .mag-hero__content .mag-pill-button { margin-top: 32px; }
    .mag-search-wrap { margin-top: 40px; padding: 0 16px; }
    .mag-search-wrap h2 { font-size: 32px; line-height: 40px; }
    .mag-search { margin-top: 24px; padding: 16px; border-radius: 24px; }
    .mag-search__primary { grid-template-columns: repeat(3, 1fr); }
	.mag-search__primary > [data-catalog-search-redirect] { grid-column: 1 / -1; }
    .mag-search__secondary { display: none; grid-template-columns: repeat(2, 1fr); }
    .mag-search.is-open .mag-search__secondary { display: grid; }
	.mag-search select,
	.mag-select__trigger,
	.mag-search__primary > [data-catalog-search-redirect] { height: 64px; }
    .mag-search label::after { top: 24px; }
    .mag-search__more { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px auto 0; color: #000; font-size: 14px; font-weight: 600; }
    .mag-search__more img { width: 24px; height: 24px; }
    .mag-search.is-open { height: auto; min-height: 0; }
    .mag-search.is-open .mag-search__more { margin-top: 12px; }

    .mag-numbers,
    .mag-intro,
    .mag-reasons,
    .mag-countries,
    .mag-properties,
    .mag-steps,
    .mag-analysis,
    .mag-case,
    .mag-team,
    .mag-office,
    .mag-insights,
    .mag-faq { padding-right: 16px; padding-left: 16px; }

    .mag-numbers { margin-top: 64px !important; }
    .mag-numbers h2 { font-size: 32px; line-height: 40px; }
    .mag-numbers__grid { margin-top: 32px; }
    .mag-numbers__grid div { height: auto; min-height: 64px; gap: 4px; border-radius: 0; }
	.mag-stat-value { font-size: 32px; line-height: 40px; }
	.mag-stat-value--city { font-size: 32px; }
	.mag-stat-affix { font-size: 20px; line-height: 28px; }
	.mag-numbers__grid > div > span { font-size: 14px; line-height: 18px; }

    .mag-intro { display: flex; flex-direction: column; gap: 0; margin-top: 100px !important; }
    .mag-intro__left { display: contents; }
    .mag-intro h2 { order: 1; max-width: 680px; margin: 0 auto; font-size: 32px; line-height: 40px; text-align: center; }
    .mag-intro__image { order: 2; width: 100%; height: 280px; flex: none; margin-top: 40px; border-radius: 24px; }
    .mag-intro__right { display: contents; }
    .mag-intro__copy { order: 3; margin-top: 32px; font-size: 14px; line-height: 18px; }
    .mag-intro__quote { order: 4; display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 24px; }
    .mag-intro blockquote { width: 100%; font-size: 24px; line-height: 32px; }

    .mag-reasons { margin-top: 64px !important; }
    .mag-section-heading h2 { font-size: 32px; line-height: 40px; }
    .mag-section-heading p { font-size: 14px; line-height: 18px; }
    .mag-reasons__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; gap: 8px; margin-top: 32px; }
    .mag-reason-card { padding: 16px; border-radius: 16px; }
    .mag-reason-card h3 { margin-top: 24px; font-size: 18px; line-height: 24px; }
    .mag-reason-card p { margin-top: 8px; font-size: 14px; line-height: 18px; }

    .mag-countries { margin-top: 100px !important; }
    .mag-countries__grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
    .mag-country-card { height: auto; min-height: 395px; border-radius: 16px; }
    .mag-country-card__tags { top: 16px; left: 16px; right: 16px; }
    .mag-country-card__tags span { padding: 6px 12px; font-size: 12px; line-height: 16px; }
    .mag-country-card__body { left: 16px; right: 86px; bottom: 16px; }
    .mag-country-card__body h3 { font-size: 24px; line-height: 32px; }
    .mag-country-card__body p { font-size: 14px; line-height: 18px; }
    .mag-round-arrow { right: 16px; bottom: 24px; width: 56px; height: 56px; }

    .mag-properties { margin-top: 100px !important; padding-right: 0; }
    .mag-properties__heading { grid-template-columns: 1fr; gap: 24px; align-items: center; padding-right: 16px; text-align: center; }
    .mag-properties__heading h2 { font-size: 32px; line-height: 40px; }
    .mag-properties__heading p { font-size: 14px; line-height: 18px; }
    .mag-country-tabs { height: 48px; margin-top: 32px; padding-right: 16px; overflow-x: auto; }
    .mag-country-tabs button { height: 48px; padding: 0 18px; font-size: 16px; }
    .mag-property-scroller { overflow-x: auto; overflow-y: hidden; scroll-behavior: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
    /* Allow room for card shadows without moving the cards or the CTA. */
    .mag-property-scroller { padding-block: 32px; margin-block: -8px -32px; }
    .mag-property-scroller::-webkit-scrollbar { display: none; }
    .mag-property-scroller:focus-visible { outline: 2px solid #8bca7d; outline-offset: 2px; }
    .mag-property-grid { display: flex; width: max-content; gap: 8px; padding-right: 16px; }
    .mag-property-card { width: 354px; height: auto; min-height: 558px; flex: 0 0 auto; border-radius: 16px; scroll-snap-align: start; scroll-snap-stop: always; }
    .mag-property-card__media { height: 250px; }
    .mag-property-card__content h3 { font-size: 18px; line-height: 24px; }
    .mag-properties__button { margin: 24px auto 0; transform: translateX(-8px); }

    .mag-steps { margin-top: 64px !important; }
    .mag-steps__desktop-copy { display: none; }
    .mag-steps__mobile-copy { display: block; }
    .mag-steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; column-gap: 0; row-gap: 28px; margin-top: 40px; }
    .mag-step-card,
    .mag-step-card:nth-child(4),
    .mag-step-card:nth-child(5),
    .mag-steps__grid.mag-steps__grid--count-4 .mag-step-card:nth-child(4) { min-height: 190px; grid-column: auto; width: auto; margin-top: 0; padding: 0 24px; border-top: 0; border-right: 0; }
    .mag-steps__grid .mag-step-card:nth-child(odd) { border-right: 0; }
    .mag-steps__grid .mag-step-card:nth-child(even),
    .mag-steps__grid.mag-steps__grid--count-4 .mag-step-card:nth-child(even) { border-right: 1px solid #d2d2d2; }
    .mag-steps__grid.mag-steps__grid--count-5 .mag-step-card:nth-child(5) { grid-column: 1; width: auto; }
    .mag-step-card__top { block-size: 50px; }
    .mag-step-card__top > img,
    .mag-step-globe { inline-size: 50px; block-size: 50px; flex-shrink: 0; }
    .mag-steps__image { height: 240px; margin-top: 32px; }

    .mag-analysis { margin-top: 100px !important; }
    .mag-analysis__layout { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
    .mag-analysis__image { width: 100%; height: 280px; flex: 0 0 auto; }
    .mag-analysis__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .mag-analysis-card { min-height: 200px; padding: 16px; border-radius: 16px; }
    .mag-analysis-card h3 { font-size: 18px; line-height: 24px; }
    .mag-analysis-card p { margin-top: 8px; font-size: 14px; line-height: 18px; }

    .mag-case { display: flex; flex-direction: column; gap: 32px; margin-top: 64px !important; }
    .mag-case__lead { width: 100%; align-items: center; text-align: center; }
    .mag-case__image { width: 100%; height: 280px; flex: 0 0 auto; }
    .mag-case__content { width: 100%; align-items: center; text-align: center; }
    .mag-case h2 { margin-top: 8px; font-size: 32px; line-height: 40px; }
    .mag-case__copy { font-size: 14px; line-height: 18px; text-align: left; }
    .mag-case__copy p + p { margin-top: 12px !important; }
    .mag-case__facts { margin-top: 24px !important; text-align: left; }
    .mag-case__facts > div { grid-template-columns: 110px 1fr; padding: 12px 0; }
    .mag-case .mag-pill-button { align-self: center; min-height: 56px; margin-top: 32px; padding: 16px 24px; }

    .mag-team { margin-top: 100px !important; }
    .mag-team > h2 { font-size: 32px; line-height: 40px; }
    .mag-team__grid { gap: 8px; margin-top: 32px; }
    .mag-team__grid .mag-person:only-child { margin-inline: auto; }
    .mag-person { display: flex; flex-direction: column; padding: 8px; border-radius: 16px; }
    .mag-person__content { padding: 16px 8px 8px; }
	.mag-person__content h3 { font-size: 24px; line-height: 32px; }
	.mag-person__role { font-size: 18px; line-height: 24px; }
	.mag-person__content > p:not(.mag-person__role) { margin-top: 24px !important; font-size: 16px; line-height: 24px; }

    .mag-office { margin-top: 64px !important; }
    .mag-office__heading { grid-template-columns: minmax(0, 1fr); max-width: 800px; margin-inline: auto; padding: 0 40px; text-align: center; }
    .mag-office__heading h2 { font-size: 32px; line-height: 40px; }
    .mag-office__address { justify-content: center; }
    .mag-office__address img { flex: none; }
    .mag-office__heading > div:last-child { align-items: center; }
    .mag-office__heading .mag-pill-button { max-inline-size: 100%; min-block-size: 68px; padding: 20px 32px; white-space: normal; }
    .mag-office__gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: 292px 292px 292px; gap: 10px; height: 896px; margin-top: 40px; }
    .mag-office__photo { border-radius: 16px; }
    .mag-office__photo--1,
    .mag-office__photo--2 { grid-row: 1; }
    .mag-office__photo--3 { grid-column: 1 / -1; grid-row: 2; }
    .mag-office__photo--4 { grid-column: 1; grid-row: 3; }
    .mag-office__photo--5 { grid-column: 2; grid-row: 3; }

    .mag-insights { margin-top: 100px !important; }
    .mag-insights__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
    .mag-article-card:nth-child(3) { display: none; }
    .mag-article-card__media { height: 220px; }
    .mag-article-card__body h3 { height: 48px; max-height: 48px; overflow: hidden; font-size: 18px; line-height: 24px; }
    .mag-article-card__meta { height: auto; flex-direction: column; align-items: flex-start; gap: 12px; }
    .mag-article-card__author { max-width: 100%; }
    .mag-article-card__author::after { display: none; }

    .mag-faq { margin-top: 100px !important; }
    .mag-faq > h2 { max-width: 650px; font-size: 32px; line-height: 40px; }
    .mag-faq__grid { grid-template-columns: 1fr; gap: 8px; margin-top: 32px; }
    .mag-faq__item { min-height: 92px; padding: 16px; border-radius: 16px; }
    .mag-faq__question { font-size: 18px; line-height: 25px; }

    .mag-contact { gap: 2.5rem; margin-top: 100px !important; padding: 64px 16px 16px; }
    .mag-contact__intro { grid-template-columns: 1fr; gap: 24px; align-items: start; text-align: left; }
    .mag-contact__title { display: flex; flex-direction: column; align-items: flex-start; }
    .mag-contact__modes { margin-bottom: 20px; font-size: 14px; line-height: 18px; }
    .mag-contact__modes span > img,
    .mag-contact__modes span > i { width: 36px; height: 36px; }
    .mag-contact h2 { max-width: 680px; font-size: 32px; line-height: 40px; }
    .mag-contact__copy { display: block; max-width: 650px; margin: 0; font-size: 14px; line-height: 18px; }
    .mag-contact__copy p + p { margin-top: 12px !important; }
    .mag-contact-form { width: 100%; height: auto; min-height: 580px; }
    .mag-contact-form > .gform_wrapper,
    .mag-contact-form > .gform-theme { min-height: 580px; padding: 32px 24px; }
    .mag-contact-form .gform_fields { grid-template-columns: repeat(2, 1fr) !important; grid-template-rows: 68px 68px 106px 54px !important; gap: 10px 8px !important; }
    .mag-contact-form #field_1_1 { grid-column: 1; grid-row: 1; }
    .mag-contact-form #field_1_3 { grid-column: 2; grid-row: 1; }
    .mag-contact-form #field_1_4 { grid-column: 1; grid-row: 2; }
    .mag-contact-form #field_1_13 { grid-column: 2; grid-row: 2; }
    .mag-contact-form #field_1_15 { grid-column: 1 / 3; grid-row: 3; }
    .mag-contact-form #field_1_14 { grid-column: 1 / 3; grid-row: 4; }
    .mag-contact-form textarea { height: 106px !important; min-height: 106px !important; }
    .mag-contact-form .gform_footer { right: 24px; bottom: 24px; left: 24px; width: auto; height: 68px; }

    .mag-newsletter { display: none; }
    .mag-footer { height: auto; min-height: 932px; margin-top: 0; padding: 100px 16px 24px; }
    .mag-footer__desktop { display: none; }
    .mag-footer__responsive { display: flex; width: 100%; height: auto; min-height: 932px; flex-direction: column; gap: 40px; }
    .mag-footer__responsive-logo { width: 356px; height: 145px; object-fit: contain; }
    .mag-footer__responsive-layout { display: grid; grid-template-columns: 356px minmax(0, 1fr); grid-template-rows: minmax(436px, auto) minmax(226px, auto); column-gap: 40px; row-gap: 40px; width: 100%; height: auto; min-height: 702px; }
    .mag-footer__links { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: minmax(436px, auto) minmax(226px, auto); gap: 40px 20px; grid-column: 1; grid-row: 1 / 3; }
    .mag-footer__link-group { min-width: 0; }
    .mag-footer__link-group h2 { margin-bottom: 16px; font-size: 16px; line-height: 24px; }
    .mag-footer__link-group ul { gap: 8px; }
    .mag-footer__link-group li { color: #636363; font-size: 18px; font-weight: 500; line-height: 27px; }
    .mag-footer__responsive-contact { display: flex; grid-column: 2; grid-row: 1; min-width: 280px; flex-direction: column; gap: 16px; padding-bottom: 16px; }
    .mag-footer__responsive-contact > div { display: flex; flex-direction: column; gap: 8px; }
    .mag-footer__responsive-contact h2 { margin: 0; font-size: 16px; line-height: 24px; }
    .mag-footer__responsive-contact > div:nth-child(2) h2 { font-size: 18px; }
    .mag-footer__responsive-contact a,
    .mag-footer__responsive-contact p { color: #636363; font-size: 18px; font-weight: 500; line-height: 23.4px; }
    .mag-footer__responsive-meta { display: flex; grid-column: 2; grid-row: 2; flex-direction: column; gap: 16px; }
    .mag-footer__responsive-meta .mag-footer__languages { gap: 16px; color: #636363; font-size: 18px; font-weight: 600; }
    .mag-footer__responsive-meta > div:last-child { display: flex; flex-direction: column; gap: 4px; color: #000; font-size: 14px; line-height: 20px; }
}

@media (max-width: 767px) {
    .mag-hero { --mag-hero-padding: 5rem; }
    .mag-hero__image { object-position: center top; }
    .mag-hero__content { width: calc(100% - 64px); }
    .mag-hero-header__logo,
    .mag-hero-header__logo img { width: 44px; height: 29px; }
    .mag-hero__content h1 { font-size: 1.625rem; line-height: 2.25rem; }
    .mag-hero__content p { margin-top: 24px; font-size: 14px; line-height: 18px; }
    .mag-hero__content .mag-pill-button { margin-top: 32px; }
    .mag-search__primary { grid-template-columns: 1fr; gap: 8px; }
	.mag-search__primary > [data-catalog-search-redirect] { grid-column: auto; }
	.mag-search select,
	.mag-select__trigger,
	.mag-search__primary > [data-catalog-search-redirect] { height: 56px; }
    .mag-search label::after { top: 20px; }
    .mag-search__secondary { grid-template-columns: 1fr; }

    .mag-numbers { margin-top: 64px !important; }
    .mag-numbers h2 { max-width: none; margin: 0 auto; font-size: 28px; line-height: 36px; }
    .mag-numbers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; margin-top: 24px; }
    .mag-numbers__grid div { height: auto; min-height: 68px; text-align: center; }
    .mag-numbers__grid div:nth-child(even) { border-right: 1px solid #d2d2d2; }
	.mag-stat-value { font-size: 28px; line-height: 36px; }
	.mag-stat-value--city { font-size: 28px; }
	.mag-stat-affix { font-size: 18px; line-height: 24px; }

    .mag-intro { margin-top: 64px !important; }
    .mag-intro h2 { text-align: left; }
    .mag-intro__image { height: 200px; margin-top: 32px; }
    .mag-intro__copy { margin-top: 24px; }
    .mag-intro__quote { display: flex; align-items: center; gap: 24px; }
    .mag-intro blockquote { font-size: 24px; line-height: 30px; }

    .mag-reasons { margin-top: 64px !important; }
    .mag-section-heading { align-items: flex-start; text-align: left; }
    .mag-countries .mag-section-heading { align-items: center; text-align: center; }
    .mag-reasons .mag-section-heading,
    .mag-steps .mag-section-heading { align-items: flex-start; text-align: left; }
    .mag-reasons__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 8px; margin-top: 40px; }
    .mag-reason-card { padding: 24px; border-radius: 24px; }
    /* Figma mobile: 16px stack gap + 20px heading inset, independent of card height. */
    .mag-reason-card h3 { margin-top: 36px; }
    .mag-reason-card p { margin-top: 16px; }

    .mag-countries { margin-top: 64px !important; }
    .mag-country-card { height: auto; min-height: 430px; }
    .mag-country-card__tags { right: auto; max-width: 260px; }

    .mag-properties { margin-top: 64px !important; }
    .mag-desktop-break { display: none; }
    .mag-properties__heading { gap: 16px; align-items: flex-start; text-align: left; }
    .mag-country-tabs { margin-top: 24px; }
    .mag-property-card { width: 330px; height: auto; min-height: 590px; }
    .mag-property-card__media { height: 250px; }
    .mag-properties__button { margin: 24px auto 0; transform: translateX(-8px); }

    .mag-steps { margin-top: 64px !important; }
    .mag-steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; row-gap: 28px; margin-top: 40px; }
    .mag-step-card,
    .mag-step-card:nth-child(4),
    .mag-step-card:nth-child(5),
    .mag-steps__grid.mag-steps__grid--count-4 .mag-step-card:nth-child(4) { width: auto; min-height: 190px; grid-column: auto; padding: 0 20px; border-top: 0; border-right: 0; }
    .mag-steps__grid .mag-step-card:nth-child(odd) { border-right: 0; }
    .mag-steps__grid .mag-step-card:nth-child(even),
    .mag-steps__grid.mag-steps__grid--count-4 .mag-step-card:nth-child(even) { border-right: 1px solid #d2d2d2; }
    .mag-steps__grid.mag-steps__grid--count-5 .mag-step-card:nth-child(5) { grid-column: 1; width: auto; }
    .mag-steps__image { height: 200px; margin-top: 32px; border-radius: 16px; }

    .mag-analysis { margin-top: 64px !important; }
    .mag-analysis .mag-section-heading { margin: 0; align-items: flex-start; text-align: left; }
    .mag-analysis__layout { gap: 24px; }
    .mag-analysis__image { height: 200px; }
    .mag-analysis__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .mag-analysis-card { min-height: 190px; }

    .mag-case { gap: 32px; margin-top: 64px !important; }
    .mag-case__image { height: auto; aspect-ratio: 2.8 / 1; }
    .mag-case__content { align-items: flex-start; text-align: left; }
    .mag-case__facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 48px; }
    .mag-case__facts > div { grid-column: 1 / -1; grid-template-columns: subgrid; column-gap: inherit; }

    .mag-team { margin-top: 64px !important; }
    .mag-team > h2 { max-width: 350px; text-align: center; }
    .mag-team__grid { grid-template-columns: 1fr; gap: 16px; }
    .mag-team__grid .mag-person:only-child { width: 100%; }

    .mag-office { margin-top: 64px !important; }
    .mag-office__heading { gap: 16px; }
    .mag-office__gallery { grid-template-rows: 160px 174px 160px; gap: 10px; height: 514px; margin-top: 32px; }

    .mag-insights { margin-top: 64px !important; }
    .mag-insights__grid { grid-template-columns: 1fr; gap: 40px; margin-top: 32px; }
    .mag-article-card:nth-child(3) { display: block; }
    .mag-article-card { height: auto; min-height: 0; }
    .mag-article-card__body { min-height: 0; }
    .mag-article-card__media { height: 220px; }
    .mag-insights__button { margin-top: 24px; }

    .mag-faq { margin-top: 64px !important; }
    .mag-faq__item { min-height: 92px; }

    .mag-contact { gap: 3rem; margin-top: 64px !important; padding: 40px 16px 28px; }
    .mag-contact-form { height: auto; min-height: 780px; }
    .mag-contact-form > .gform_wrapper,
    .mag-contact-form > .gform-theme { min-height: 780px; padding: 32px 24px; border-radius: 24px; }
    .mag-contact-form .gform_heading .gform_title { font-size: 32px !important; line-height: 40px !important; }
    .mag-contact-form .gform_fields { grid-template-columns: 1fr !important; grid-template-rows: 68px 68px 68px 68px 146px 90px !important; gap: 8px !important; }
    .mag-contact-form #field_1_1 { grid-column: 1; grid-row: 1; }
    .mag-contact-form #field_1_3 { grid-column: 1; grid-row: 2; }
    .mag-contact-form #field_1_4 { grid-column: 1; grid-row: 3; }
    .mag-contact-form #field_1_13 { grid-column: 1; grid-row: 4; }
    .mag-contact-form #field_1_15 { grid-column: 1; grid-row: 5; }
    .mag-contact-form #field_1_14 { grid-column: 1; grid-row: 6; }
    .mag-contact-form input[type="text"],
    .mag-contact-form input[type="tel"],
    .mag-contact-form input[type="email"],
    .mag-contact-form select { height: 68px !important; min-height: 68px !important; }
    .mag-contact-form textarea { height: 146px !important; min-height: 146px !important; }
    .mag-contact-form .gform_footer { right: 24px; bottom: 32px; left: 24px; height: 68px; }
    .mag-contact-form__fallback { grid-template-columns: 1fr; }
    .mag-contact-form__fallback > * { grid-column: auto; }

    .mag-footer { height: auto; min-height: 1299px; margin-top: 0; padding: 64px 16px 24px; }
    .mag-footer__responsive { gap: 48px; }
    .mag-footer__responsive-logo { width: 356px; max-width: 100%; height: 145px; }
    .mag-footer__responsive-layout { display: flex; height: auto; flex-direction: column; gap: 48px; }
    .mag-footer__links { display: grid; width: 100%; height: auto; min-height: 713px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(463px, auto) minmax(226px, auto); gap: 24px 20px; }
    .mag-footer__link-group h2 { font-size: 16px; line-height: 24px; }
    .mag-footer__link-group li { font-size: 18px; line-height: 27px; }
    .mag-footer__responsive-contact { width: 100%; min-width: 280px; align-items: center; gap: 16px; padding-bottom: 16px; text-align: center; }
    .mag-footer__responsive-contact > div { width: 100%; align-items: center; }
    .mag-footer__responsive-contact > div:nth-child(2) h2 { font-size: 18px; }
    .mag-footer__responsive-contact a,
    .mag-footer__responsive-contact p { font-size: 18px; line-height: 23.4px; }
    .mag-footer__responsive-meta { width: 100%; align-items: center; gap: 16px; text-align: center; }
    .mag-footer__responsive-meta .mag-footer__languages { justify-content: center; gap: 16px; font-size: 18px; line-height: 24px; }
    .mag-footer__responsive-meta > div:last-child { align-items: center; }
}

@media (width <= 500px) {
    .mag-office__heading { padding: 0; }
    .mag-office__address { display: block; }
    .mag-office__address img { display: inline-block; margin-inline-end: 8px; vertical-align: middle; }
}

@media (max-width: 479px) {
    .mag-numbers h2 { max-width: 300px; font-size: 24px; line-height: 30px; }

    .mag-case__lead { align-items: flex-start; text-align: left; }

    .mag-reasons__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }

    .mag-analysis__cards { grid-template-columns: 1fr; }
    .mag-analysis-card { min-height: 190px; }

    .mag-steps__grid { grid-template-columns: 1fr; row-gap: 24px; }
    .mag-step-card,
    .mag-step-card:nth-child(4),
    .mag-step-card:nth-child(5),
    .mag-steps__grid.mag-steps__grid--count-4 .mag-step-card:nth-child(4),
    .mag-steps__grid.mag-steps__grid--count-5 .mag-step-card:nth-child(5) {
        width: 100%;
        min-height: 190px;
        grid-column: auto;
        padding: 0 0 20px;
        border-right: 1px solid #d2d2d2;
    }
    .mag-steps__grid .mag-step-card:nth-child(n),
    .mag-steps__grid.mag-steps__grid--count-4 .mag-step-card:nth-child(n),
    .mag-steps__grid.mag-steps__grid--count-5 .mag-step-card:nth-child(n) {
        border-right: 1px solid #d2d2d2;
    }
}

@media (500px <= width < 768px) {
    .mag-hero__content h1 { font-size: 2.375rem; line-height: 2.875rem; }
}

@media (max-width: 374px) {
    .mag-contact-form .gform_heading .gform_title { font-size: 30px !important; line-height: 38px !important; }
    .mag-country-card__body { right: 74px; }
    .mag-round-arrow { width: 48px; height: 48px; }
    .mag-property-card { width: 304px; }
    .mag-footer__responsive-logo { width: 100%; height: auto; }
}

/* 2026 home design QA: component spacing and crops from the approved Figma frames. */
@media (min-width: 1200px) {
    .mag-hero__image { object-position: 50% 0; }
    .mag-intro__image { min-block-size: 18.75rem; }
    .mag-intro__image img { position: absolute; inset: 0; }
    .mag-intro blockquote { width: 100%; }

    .mag-steps__image { height: 324px; }


    .mag-footer {
        height: auto;
        min-height: 648px;
        margin-top: 0;
        /* Preserve the original gap inside the footer so its background fills it. */
        padding: 164px 24px 24px;
    }
    .mag-footer__desktop { display: none; }
    .mag-footer__responsive {
        position: relative;
        display: grid;
        width: 100%;
        max-width: 1392px;
        height: 648px;
        grid-template-columns: 358px 532px 280px;
        grid-template-rows: 1fr;
        justify-content: space-between;
        margin: 0 auto;
    }
    .mag-footer__responsive-logo {
        width: 356px;
        height: 145px;
        grid-column: 1;
        grid-row: 1;
        object-fit: contain;
    }
    .mag-footer__responsive-layout { display: contents; }
    .mag-footer__links {
        display: grid;
        grid-column: 2;
        grid-row: 1;
        grid-template-columns: repeat(2, 236px);
        grid-template-rows: 382px 226px;
        gap: 40px 60px;
    }
    .mag-footer__link-group { min-width: 0; }
    .mag-footer__link-group h2 { margin-bottom: 16px; font-size: 16px; line-height: 24px; }
    .mag-footer__link-group ul { gap: 8px; }
    .mag-footer__link-group li { color: #636363; font-size: 18px; font-weight: 500; line-height: 27px; }
    .mag-footer__responsive-contact {
        display: flex;
        min-width: 280px;
        grid-column: 3;
        grid-row: 1;
        flex-direction: column;
        gap: 16px;
        padding-bottom: 16px;
    }
    .mag-footer__responsive-contact > div { display: flex; flex-direction: column; gap: 8px; }
    .mag-footer__responsive-contact h2 { margin: 0; font-size: 16px; line-height: 24px; }
    .mag-footer__responsive-contact > div:nth-child(2) h2 { font-size: 18px; }
    .mag-footer__responsive-contact a,
    .mag-footer__responsive-contact p { color: #636363; font-size: 18px; font-weight: 500; line-height: 23.4px; }
    .mag-footer__responsive-meta {
        position: absolute;
        top: 185px;
        left: 0;
        display: flex;
        width: 358px;
        flex-direction: column;
        gap: 16px;
    }
    .mag-footer__responsive-meta .mag-footer__languages { gap: 16px; color: #636363; font-size: 18px; font-weight: 600; }
    .mag-footer__responsive-meta > div:last-child { display: flex; flex-direction: column; gap: 4px; color: #000; font-size: 14px; line-height: 20px; }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .mag-hero__content { max-inline-size: 50rem; }
    .mag-hero__image { object-position: 42% center; }
    .mag-burger { background: transparent; }
    .mag-search-wrap { margin-top: 60px; }
    .mag-search { padding: 16px; border-radius: 24px; background: #fff; }
    .mag-search__primary { grid-template-columns: 1fr; gap: 12px; }
    .mag-search__primary > [data-catalog-search-redirect] { grid-column: auto; }
    .mag-search select,
    .mag-select__trigger,
    .mag-search__primary > [data-catalog-search-redirect] { height: 68px; }
    .mag-search label::after { top: 26px; }

    .mag-numbers,
    .mag-intro,
    .mag-reasons,
    .mag-countries,
    .mag-properties,
    .mag-steps,
    .mag-analysis,
    .mag-case,
    .mag-team,
    .mag-office,
    .mag-insights,
    .mag-faq,
    .mag-contact { margin-top: 100px !important; }

    .mag-intro { gap: 24px; }
    .mag-intro__left { display: flex; flex-direction: column; gap: 24px; }
    .mag-intro__right { display: flex; flex-direction: column; gap: 24px; }
    .mag-intro h2 { order: initial; }
    .mag-intro__image { order: initial; margin-top: 0; }
    .mag-intro__copy { order: initial; margin-top: 0; }
    .mag-intro__quote { order: initial; margin-top: 0; }

    .mag-reasons__grid { grid-auto-rows: auto; }
    .mag-country-card { min-height: 408px; }
    .mag-country-card:nth-child(2) .mag-country-card__image { object-position: 35% center; }
    .mag-office__heading > div:last-child { font-size: 14px; line-height: 18px; }
    .mag-office__gallery { height: 858px; grid-template-rows: repeat(3, 279.333px); }
    .mag-faq__item { min-height: 79px; padding: 16px 24px; }
    .mag-faq__question { font-size: 16px; line-height: 24px; }
    .mag-footer { height: auto; min-height: 932px; overflow: hidden; }
}

@media (max-width: 767px) {
    .mag-burger { background: transparent; }
    .mag-intro { gap: 24px; }
    .mag-intro__left { display: flex; flex-direction: column; gap: 24px; }
    .mag-intro__right { display: flex; flex-direction: column; gap: 24px; }
    .mag-intro h2 { order: initial; margin: 0; }
    .mag-intro__image { order: initial; height: 220px; margin-top: 0; }
    .mag-intro__copy { order: initial; margin-top: 0; }
    .mag-intro__quote { order: initial; margin-top: 0; }

    .mag-country-card { min-height: 406.667px; }
    .mag-country-card:nth-child(2) .mag-country-card__image { object-position: 35% center; }
    .mag-property-card { block-size: auto; min-block-size: 558px; }
    .mag-step-card,
    .mag-step-card:nth-child(4),
    .mag-step-card:nth-child(5),
    .mag-steps__grid.mag-steps__grid--count-4 .mag-step-card:nth-child(4),
    .mag-steps__grid.mag-steps__grid--count-5 .mag-step-card:nth-child(5) { min-height: 183px; }
    .mag-person__content > p:not(.mag-person__role) { font-size: 14px; line-height: 18px; }
    .mag-office__heading > div:last-child { font-size: 14px; line-height: 18px; }
    .mag-office__gallery { height: 508px; grid-template-rows: 157px 174px 157px; }
    .mag-faq__item { min-height: 100px; }
    .mag-footer__link-group h2 { margin-bottom: 12px; }
    .mag-footer__link-group ul { gap: 6px; }
    .mag-footer__link-group li { line-height: 26px; }
    .mag-footer__responsive { gap: 45px; }
}

/* Second visual review: preserve the geometry inside each Figma section. */
/* The homepage header scrolls with the hero; it needs no sticky-header offset. */
html:has(body.mag-home-page) {
    scrollbar-gutter: auto;
    scroll-padding-top: 24px !important;
}
@media (max-width: 1199px) {
    html:has(body.mag-home-page) { scroll-padding-top: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(body.mag-home-page) { scroll-behavior: auto; }
}
.mag-break-tablet, .mag-break-mobile { display: none; }
.mag-country-card { min-height: 550px; }
.mag-country-card__tags { gap: 5px; top: 24px; left: 24px; right: 24px; }
.mag-country-card__tags span { padding: 8px 16px; border: 2px solid #ffffff1a; font-size: 14px; line-height: 20px; background: #e6d8c103; backdrop-filter: blur(25px); box-shadow: inset 31px 31px 250px -21px #ffffff4d, inset 25px 25px 28px -29px #ffffff80; }
.mag-country-card__body { left: 24px; right: 100px; bottom: 40px; }
.mag-country-card__body h3 { font-size: 36px; line-height: 32px; }
.mag-country-card__body p { max-inline-size: 300px; margin-top: 20px; font-size: 18px; line-height: 24px; }
.mag-country-card__shade { top: auto; height: 350px; background: linear-gradient(180deg, transparent, #0009 49.519%, rgba(0,0,0,.9) 100%); opacity: .8; }
.mag-country-card .mag-round-arrow { right: 24px; bottom: 47px; }
.mag-steps__image { height: 304px; }
.mag-analysis .mag-section-heading p { max-width: 688px; }
.mag-analysis-card p { min-height: 96px; }
.mag-team__grid { margin-top: 40px; }
.mag-person { padding: 16px 24px 16px 16px; }
.mag-person__content { padding: 32px 16px 16px; }
.mag-person__role { margin-top: 10px !important; }
.mag-person__content > p:not(.mag-person__role) { margin-top: 30px !important; }
.mag-person__content .mag-socials { margin-top: 32px; }
.mag-office__photo { border-radius: 16px; }
/* Gravity Forms' theme rules otherwise turn this custom select into a blue submit button. */
.mag-contact-form .gform_wrapper .mag-contact-language__trigger { display: block; width: 100%; height: 68px; min-height: 68px; padding: 0 52px 0 24px; border: 1px solid #949494; border-radius: 999px; background: #fff; color: #363636; font: 14px/20px "Wix Madefor Display", sans-serif; text-align: left; box-shadow: none; }
.mag-contact-form .gform_wrapper .mag-contact-language__option { display: block; width: 100%; min-height: 40px; padding: 9px 16px; border: 0; border-radius: 12px; background: transparent; color: #363636; font: 14px/20px "Wix Madefor Display", sans-serif; text-align: left; box-shadow: none; }
.mag-contact-form .gform_wrapper .mag-contact-language__option:is(:hover,:focus-visible,[aria-selected="true"]) { background: #e8f5e4; }
@media (min-width: 1200px) {
    .mag-country-card { min-height: 550px; }
    .mag-analysis { padding-inline: 16px; }
    .mag-analysis__layout { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; }
    .mag-office__photo--4 img { object-fit: fill; object-position: bottom; }
    .mag-office__photo--5 img { object-position: top; }
}
@media (max-width: 1199px) {
    .mag-break-desktop-mobile { display: none; }
    .mag-break-tablet { display: initial; }
    .mag-countries__grid { margin-top: 40px; }
    .mag-country-card { min-height: 400px; border-radius: 24px; }
    .mag-countries .mag-section-heading p { font-size: 16px; line-height: 24px; }
    .mag-country-card__body { bottom: 36px; }
    .mag-country-card__body h3 { font-size: 32px; }
    .mag-country-card__body p { font-size: 14px; line-height: 18px; }
    .mag-country-card__shade { height: 220px; }
    .mag-country-card .mag-round-arrow { width: 56px; height: 56px; bottom: 40px; }
    .mag-person { padding: 16px; }
    .mag-person__content { padding: 24px 8px 16px; }
    .mag-person__role { font-size: 14px; line-height: 18px; }
    .mag-person__content > p:not(.mag-person__role) { margin-top: 24px !important; }
    .mag-person__content .mag-socials { margin-top: 24px; }
    .mag-socials a { font-size: 16px; line-height: 24px; }
    .mag-socials img { width: 26px; height: 26px; }
}
@media (max-width: 767px) {
    .mag-break-desktop-mobile, .mag-break-mobile { display: initial; }
    .mag-break-tablet { display: none; }
    .mag-country-card__tags { max-width: 260px; }
    html[lang^="ru"] #mag-properties-title { max-width: 300px; }
    html[lang^="ru"] #mag-properties-title br { display: none; }
    html[lang^="ru"] #mag-case-title { max-width: 340px; }
    .mag-case__image { height: 230px; aspect-ratio: auto; }
    .mag-team__grid { gap: 24px; }
    .mag-analysis-card p { min-height: 0; }
    .mag-analysis-card h3 { margin-top: 48px; }
    .mag-analysis-card { min-height: 190px; }
}
@media (max-width: 479px) {
    .mag-steps__grid { gap: 20px; grid-template-rows: none; }
    .mag-steps__grid .mag-step-card:nth-child(n) { padding: 0 0 20px; min-height: 0; border: 0; border-bottom: 1px solid #d2d2d2; }
    .mag-step-card h3 { font-size: 14px; line-height: 18px; }
    .mag-steps__image { height: 200px; margin-top: 20px; }
}
.mag-contact-form .gform_heading .gform_title { max-width: none; }
.mag-contact-form .gfield_consent_label { font-size: 14px !important; line-height: 20px !important; }
@media (min-width: 1200px) {
    .mag-hero__shade { background: rgba(0,0,0,.25); }
    .mag-intro blockquote { max-width: 530px; }
}
@media (max-width: 767px) {
    html[lang^="ru"] #mag-analysis-title em { display: block; }
}
@media (max-width: 479px) {
    .mag-home .mag-steps__grid .mag-step-card:nth-child(n) { border-left: 0; border-right: 0; }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .mag-steps__image { height: 240px; }
    .mag-team__grid { margin-top: 32px; }
    .mag-analysis-card p { min-height: 54px; }
}
@media (width <= 768px) {
    .mag-country-card {
        display: flex;
        align-items: flex-end;
        gap: 16px;
        padding: 24px;
    }
    .mag-country-card__body {
        position: relative;
        inset: auto;
        flex: 0 1 350px;
        min-inline-size: 0;
        max-inline-size: 350px;
    }
    .mag-country-card__body p { max-inline-size: 350px; }
    .mag-country-card .mag-round-arrow {
        position: relative;
        inset: auto;
        flex: 0 0 56px;
        margin-inline-start: auto;
    }
}
@media (max-width: 767px) {
    .mag-case { gap: 40px; }
    .mag-case h2 { margin-top: 16px; max-width: none; }
    .mag-case__copy p + p { margin-top: 15px !important; }
    .mag-case__facts { margin-top: 40px !important; }
    .mag-case__facts > div { padding-block: 24px; }
    .mag-analysis__layout { margin-top: 40px; }
    .mag-analysis-card h3 { margin-top: 40px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .mag-steps__grid { row-gap: 40px; }
    .mag-steps__grid .mag-step-card:nth-child(n) { padding-inline: 40px; min-height: 168px; }
    .mag-step-card h3 { font-size: 14px; line-height: 18px; }
    .mag-steps__image { height: 280px; margin-top: 40px; }
    .mag-team__grid { gap: 24px; margin-top: 40px; }
    .mag-person__content > p:not(.mag-person__role) { font-size: 14px; line-height: 18px; }
}
@media (max-width: 767px) {
    .mag-analysis-card { border-radius: 24px; min-height: 0; }
    .mag-analysis-card h3 { margin-top: 32px; }
    .mag-analysis-card p { margin-top: 16px; }
    .mag-analysis__image { border-radius: 32px; }
}
@font-face {
    font-family: "Playfair";
    src: url("../font/Playfair-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
.mag-intro blockquote { font-family: "Playfair", serif; font-weight: 400; font-variation-settings: "opsz" 12, "wdth" 100; }
@media (min-width: 1200px) {
    .mag-intro__right { gap: 64px; }
    .mag-intro .mag-pill-button { min-width: 241px; }
}

@media (max-width: 767px) { .mag-break-wide { display: none; } }
@media (max-width: 767px) {
    /* Match the reference line breaks with the bundled Wix font in the browser. */
    .mag-analysis-card p { letter-spacing: -.2px; }
}

/* Content determines section heights; language-specific art direction only controls width. */
@media (min-width: 1200px) {
    .mag-hero__desktop-break { display: initial; }
    .mag-step-card p { max-inline-size: 356px; }
    html[lang^="pl"] .mag-hero__content { width: min(1222px, calc(100% - 48px)); }
    html[lang^="pl"] .mag-hero__content p { max-inline-size: 668px; }
    html[lang^="pl"] .mag-hero__content .mag-pill-button { min-inline-size: 281px; margin-block-start: 35px; }
}

/* Use the existing site's button palette and link/card feedback on the new homepage.
 * Header states are shared with inner pages in components/header-interactions.css. */
.mag-burger {
    color: var(--white-text-color, #fff);
}

@media (width < 1200px) {
    .mag-hero-header:has(.burger.open) {
        /* Keep the shared menu's close control above its fixed overlay (z-index 99). */
        position: fixed;
        z-index: 100;
    }
}

@media (768px <= width <= 1200px) {
    .mag-properties { padding-inline: 16px; }
    .mag-properties .mag-properties__heading {
        grid-template-columns: 1fr;
        max-inline-size: 560px;
        margin-inline: auto;
        padding-inline: 0;
        text-align: center;
    }
    .mag-properties .mag-properties__heading h2 { font-size: 32px; line-height: 40px; }
    .mag-properties .mag-properties__heading p { font-size: 14px; line-height: 18px; }
    .mag-country-tabs { justify-content: safe center; padding-inline: 0; }
    .mag-property-grid { margin-inline: auto; }
    .mag-properties__button { transform: none; }
}

.mag-home :where(a, button, input[type="submit"]),
.mag-property-card,
.mag-round-arrow {
    transition: background-color .3s ease, border-color .3s ease, color .3s ease,
        box-shadow .3s ease, opacity .3s ease, transform .3s ease;
    text-underline-offset: .2em;
}

.mag-faq__icon {
    transition: background-color .3s ease, transform .2s ease;
}

.mag-round-arrow {
    /* The whole country card, including its decorative arrow, is one link. */
    pointer-events: none;
}

.mag-home :is(a[href], button, input[type="submit"]):focus-visible {
    outline: 2px solid var(--button-secondary-default, #363636);
    outline-offset: 3px;
}

.mag-home .site-header :is(a, button):focus-visible {
    outline-color: var(--button-primary-default, #ceeec7);
}

.mag-home .site-header .header-mega-menu a:focus-visible {
    outline-color: var(--button-secondary-default, #363636);
}

.mag-home :is(.mag-country-card__link, .mag-property-card__cover-link):focus-visible {
    outline-color: var(--button-primary-default, #ceeec7);
    outline-offset: -4px;
}

.mag-home a.mag-article-card__image-link:focus-visible {
    outline-color: var(--button-primary-default, #ceeec7);
    outline-offset: -4px;
}

.mag-contact-form input[type="checkbox"]:focus-visible,
.mag-contact-form .ginput_container_phone .mpf-country-btn:focus-visible,
.mag-contact-form .gform_wrapper .gform_footer :is(input[type="submit"], button[type="submit"]):focus-visible {
    /* Preserve visible focus above the phone and Gravity Forms theme resets. */
    outline: 2px solid var(--button-secondary-default, #363636) !important;
    outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
    .mag-home .mag-pill-button--green:hover,
    .mag-home .mag-search__primary > [data-catalog-search-redirect]:not(:disabled):hover,
    .mag-home .mag-newsletter__form button:not(:disabled):hover {
        background-color: var(--button-primary-hover, #8bca7d);
    }

    .mag-home .mag-pill-button--outline:hover {
        background-color: var(--button-secondary-default, #363636);
        color: var(--white-text-color, #fff);
    }

    .mag-home .mag-pill-button--dark:hover,
    .mag-home .mag-contact-form__fallback button:not(:disabled):hover {
        background-color: var(--button-secondary-hover, #000);
    }

    .mag-contact-form .gform_wrapper .gform_footer :is(input[type="submit"], button[type="submit"]):not(:disabled):hover {
        /* Override the homepage's existing !important Gravity Forms skin. */
        background-color: var(--button-secondary-hover, #000) !important;
    }

    .mag-home :is(.mag-select__trigger, .mag-search__more):not(:disabled):hover {
        box-shadow: inset 0 0 0 1px var(--button-secondary-default, #363636);
    }

    .mag-contact-form .gform_wrapper .mag-contact-language__trigger:not(:disabled):hover {
        border-color: var(--button-secondary-default, #363636);
    }

    .mag-home .mag-select__option:not(:disabled):hover,
    .mag-contact-form .gform_wrapper .mag-contact-language__option:not(:disabled):hover {
        background-color: var(--button-primary-default, #ceeec7);
    }

    .mag-contact-form .ginput_container_phone .mpf-country-btn:not(:disabled):hover {
        background-color: var(--button-primary-default, #ceeec7) !important;
    }

    .mag-home .mag-country-tabs button:not(:disabled):hover {
        color: #8bca7d;
    }

    .mag-country-card__link:hover {
        box-shadow: inset 0 0 0 2px rgb(255 255 255 / .7);
        border-radius: inherit;
    }

    .mag-country-card__link:hover ~ .mag-round-arrow {
        background-color: var(--button-primary-hover, #8bca7d);
    }

    .mag-property-card:hover {
        box-shadow: 0 0 40px rgb(0 0 0 / .2);
    }

    .mag-property-card__content h3:hover a {
        text-decoration-color: currentColor;
    }

    .mag-home :is(.mag-footer, .mag-person h3, .mag-property-card__content, .mag-faq__answer) a:hover,
    .mag-home p a:hover {
        text-decoration: underline;
    }

    .mag-home .mag-article-card__body h3 a:hover {
        color: var(--text-color, #636363);
        text-decoration: none;
    }

    .mag-article-card__media:has(.mag-article-card__image-link:hover) {
        opacity: .85;
    }

    a.mag-article-card__author-name:hover {
        text-decoration: underline;
    }

    .mag-home :is(.mag-contact-form, .mag-newsletter__consent) a:hover {
        opacity: .7;
    }

    .mag-home .mag-footer__languages a:hover {
        color: var(--title-color, #000);
    }

    .mag-home .mag-socials a:hover {
        text-decoration-color: transparent;
    }

    .mag-faq__question:not(:disabled):hover .mag-faq__icon {
        background-color: var(--button-primary-hover, #8bca7d);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mag-home :is(a, button, input[type="submit"]),
    .mag-article-card__media,
    .mag-property-card,
    .mag-round-arrow,
    .mag-faq__icon {
        transition: none !important;
    }
}
