/* Move to Spain Homes: homepage (novamira-sandbox/mtsh-home.php) */

@font-face { font-family: 'mp-sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../mtsh-partners/fonts/dm-sans-latin.woff2) format('woff2'); }
@font-face { font-family: 'mp-serif'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../mtsh-partners/fonts/playfair-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'mp-serif'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../mtsh-partners/fonts/playfair-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'mp-serif'; font-style: italic; font-weight: 500 600; font-display: swap; src: url(../mtsh-partners/fonts/playfair-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'mp-serif'; font-style: italic; font-weight: 500 600; font-display: swap; src: url(../mtsh-partners/fonts/playfair-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

.mh-page {
	--mh-navy: #223052;
	--mh-ink: #1E293B;
	--mh-muted: #5B6475;
	--mh-line: #E3E7EE;
	--mh-grey: #F2F5F7;
	--mh-gold: #D4A95A;
	--mh-gold-light: #E6CC96;
	--mh-red: #B6244A;
	--mh-red-dark: #8E1B3A;
	--mh-accent: #D63363;
	--mh-accent-dark: #B82852;
	--mh-serif: 'mp-serif', 'Playfair Display', Georgia, serif;
	--mh-sans: 'mp-sans', 'DM Sans', system-ui, sans-serif;
	--mh-gutter: clamp(16px, 4vw, 40px);
	display: block;
	width: 100%;
	font-family: var(--mh-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--mh-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
.mh-page *, .mh-page *::before, .mh-page *::after { box-sizing: border-box; }
.mh-page :where(h1, h2, h3, p, ol, ul, li, form) { margin: 0; padding: 0; }
.mh-page :where(ol, ul) { list-style: none; }
.mh-page a { text-decoration: none; }
.mh-page img { max-width: 100%; }
.mh-page [hidden] { display: none !important; }
.mh-page .mh-ico { display: block; flex-shrink: 0; }
.mh-page a:focus-visible, .mh-page button:focus-visible, .mh-page select:focus-visible, .mh-page input:focus-visible { outline: 3px solid var(--mh-gold); outline-offset: 3px; }

/* Site custom CSS forces Inter !important on headings, p, a, span, li, input, button. */
.mh-page, .mh-page :is(h1, h2, h3, p, a, span, li, div, label, input, select, button, strong) { font-family: var(--mh-sans) !important; }
.mh-page :is(.mh-h1, .mh-h1 em, .mh-h2, .mh-h2 em, .mh-region-name) { font-family: var(--mh-serif) !important; }

/* Astra wraps templates in #content > .ast-container: go edge to edge */
body.mtsh-home-page #content > .ast-container { max-width: none; width: 100%; padding: 0; display: block; }
body.mtsh-home-page #content { padding: 0; background: #fff; }
.mh-page section[id] { scroll-margin-top: 90px; }

/* Layout */
.mh-page .mh-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--mh-gutter); }
.mh-page .mh-sec { padding: 104px 0; }
.mh-page .mh-grey { background: var(--mh-grey); }
.mh-page .mh-stack-48 { display: flex; flex-direction: column; gap: 48px; }
.mh-page .mh-stack-40 { display: flex; flex-direction: column; gap: 40px; }
.mh-page .mh-head { display: flex; flex-direction: column; gap: 12px; }
.mh-page .mh-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; }

/* Type */
.mh-page .mh-kicker { color: var(--mh-red); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mh-page .mh-h1 { max-width: 1000px; font-family: var(--mh-serif); font-weight: 600; font-size: 56px; line-height: 1.1; color: #EDEFF4; }
.mh-page .mh-h1 em { font-style: italic; color: var(--mh-gold-light); }
.mh-page .mh-h2 { font-family: var(--mh-serif); font-weight: 600; font-size: 44px; line-height: 1.1; color: var(--mh-navy); }
.mh-page .mh-h2 em { font-style: italic; color: var(--mh-red); }
.mh-page .mh-h3 { font-size: 21px; font-weight: 700; line-height: 1.3; color: var(--mh-navy); }
.mh-page .mh-lead { margin-top: 4px; max-width: 760px; font-size: 18px; color: var(--mh-muted); }
.mh-page .mh-body { color: var(--mh-muted); }
.mh-page .mh-textlink { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--mh-red); }
.mh-page .mh-textlink:hover { color: var(--mh-red-dark); }

/* Buttons */
.mh-page .mh-btn,
.mh-page button.mh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 14px 24px; margin: 0; border: 0; border-radius: 8px;
	background: var(--mh-accent); color: #fff;
	font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none;
	cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.mh-page .mh-btn:hover, .mh-page button.mh-btn:hover { background: var(--mh-accent-dark); color: #fff; }
.mh-page .mh-btn--navy, .mh-page button.mh-btn--navy { background: var(--mh-navy); }
.mh-page .mh-btn--navy:hover, .mh-page button.mh-btn--navy:hover { background: #17213B; }
.mh-page .mh-btn--outline { background: transparent; color: var(--mh-navy); border: 1.5px solid var(--mh-navy); }
.mh-page .mh-btn--outline:hover { background: var(--mh-navy); color: #fff; }
.mh-page button.mh-btn[disabled] { opacity: .7; cursor: progress; }

/* Cards */
.mh-page .mh-card { transition: transform .2s ease, box-shadow .2s ease; }
.mh-page .mh-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(34,48,82,.14); }
@media (prefers-reduced-motion: reduce) { .mh-page .mh-card, .mh-page .mh-card:hover { transition: none; transform: none; } }

/* Hero */
.mh-page .mh-hero { position: relative; min-height: 680px; display: flex; align-items: center; overflow: hidden; background: var(--mh-ink); }
.mh-page .mh-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mh-page .mh-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; opacity: 0; transition: opacity .6s ease; }
.mh-page .mh-hero-video.is-playing { opacity: 1; }
.mh-page .mh-hero-shade { position: absolute; inset: 0; background: rgba(22, 32, 58, .62); }
.mh-page .mh-hero-inner { position: relative; padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 28px; }

.mh-page .mh-search { max-width: 860px; display: flex; align-items: stretch; gap: 10px; padding: 10px; background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.mh-page .mh-search-field { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; margin: 0; cursor: pointer; }
.mh-page .mh-search-field + .mh-search-field { border-left: 1px solid var(--mh-line); }
.mh-page .mh-search-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mh-muted); }
.mh-page .mh-select { position: relative; display: block; }
.mh-page .mh-select .mh-ico { position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--mh-muted); pointer-events: none; }
.mh-page .mh-select select { width: 100%; min-height: 34px; margin: 0; padding: 4px 24px 4px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 16px; line-height: 1.4; color: var(--mh-ink); appearance: none; -webkit-appearance: none; cursor: pointer; }
.mh-page .mh-select select:focus { outline: none; }
.mh-page .mh-search-field:focus-within { border-radius: 8px; box-shadow: inset 0 0 0 2px var(--mh-gold); }
.mh-page button.mh-search-btn { flex: 0 0 auto; min-height: 56px; padding: 0 28px; border-radius: 10px; }

/* Services */
.mh-page .mh-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mh-page .mh-service { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: #fff; border: 1px solid var(--mh-line); border-radius: 14px; color: var(--mh-ink); }
.mh-page .mh-service-top { display: flex; justify-content: space-between; align-items: center; }
.mh-page .mh-service-ico { width: 52px; height: 52px; border-radius: 12px; background: var(--mh-navy); color: var(--mh-gold); display: inline-flex; align-items: center; justify-content: center; }
.mh-page .mh-count { font-size: 14px; color: var(--mh-muted); }
.mh-page .mh-service-text { font-size: 15px; color: var(--mh-muted); }
.mh-page .mh-more { margin-top: auto; padding-top: 2px; font-size: 15px; font-weight: 600; color: var(--mh-red); }

/* Recently added */
.mh-page .mh-recent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mh-page .mh-listing { position: relative; display: flex; align-items: center; gap: 18px; padding: 16px; border: 1px solid var(--mh-line); border-radius: 14px; color: var(--mh-ink); background: #fff; }
.mh-page .mh-listing-img { flex-shrink: 0; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; background: var(--mh-grey); color: #9AA5B8; display: flex; align-items: center; justify-content: center; }
.mh-page .mh-listing-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mh-page .mh-listing-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-right: 36px; }
.mh-page .mh-listing-date { font-size: 13px; color: var(--mh-muted); }
.mh-page .mh-listing-title { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--mh-navy); overflow-wrap: anywhere; }
.mh-page .mh-listing-meta { font-size: 14px; line-height: 1.45; color: var(--mh-muted); }
.mh-page .mh-badge { position: absolute; top: 16px; right: 16px; padding: 4px 9px; border-radius: 999px; background: #FBE7ED; color: var(--mh-red); font-size: 12px; font-weight: 700; line-height: 1.3; }

/* Regions */
.mh-page .mh-regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mh-page .mh-region { position: relative; height: 420px; display: flex; align-items: flex-end; overflow: hidden; border-radius: 16px; color: #fff; background: var(--mh-navy); }
.mh-page .mh-region-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mh-page .mh-region:hover .mh-region-img { transform: scale(1.03); }
.mh-page .mh-region-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(to top, rgba(22,32,58,.9), rgba(22,32,58,0)); }
.mh-page .mh-region-body { position: relative; width: 100%; padding: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.mh-page .mh-region-body > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.mh-page .mh-region-name { font-family: var(--mh-serif); font-size: 30px; font-weight: 600; line-height: 1.2; color: #fff; }
.mh-page .mh-region-count { font-size: 15px; color: #E6EAF2; }
.mh-page .mh-region-go { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--mh-navy); display: inline-flex; align-items: center; justify-content: center; }

/* Why */
.mh-page .mh-why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.mh-page .mh-why-img { display: block; width: 100%; height: 480px; object-fit: cover; border-radius: 16px; }
.mh-page .mh-why-copy { display: flex; flex-direction: column; gap: 20px; }
.mh-page .mh-steps { display: flex; flex-direction: column; gap: 14px; }
.mh-page .mh-steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--mh-ink); }
.mh-page .mh-steps strong { color: var(--mh-navy); }
.mh-page .mh-step-n { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--mh-navy); color: var(--mh-gold); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.mh-page .mh-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* Instagram */
.mh-page .mh-insta-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; }
.mh-page .mh-insta-head .mh-head { max-width: 720px; }
.mh-page .mh-insta-feed { min-height: 240px; }
.mh-page .mh-insta-feed :where(a, span, p, div) { font-family: inherit; }
.mh-page .mh-btn--insta { gap: 8px; }

/* Newsletter */
.mh-page .mh-news-sec { padding: 0 var(--mh-gutter) 104px; }
.mh-page .mh-news { max-width: 1160px; margin: 0 auto; padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; border-radius: 20px; background: var(--mh-accent); color: #fff; }
.mh-page .mh-news-copy { display: flex; flex-direction: column; gap: 14px; }
.mh-page .mh-h2--news { font-size: 38px; line-height: 1.15; color: #fff; }
.mh-page .mh-h2--news em { color: #fff; }
.mh-page .mh-news-copy p { color: #fff; }
.mh-page .mh-news-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.mh-page .mh-news-field { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; margin: 0; }
.mh-page .mh-news-label { font-size: 14px; font-weight: 600; color: #fff; }
.mh-page .mh-news-field input { width: 100%; min-height: 52px; margin: 0; padding: 0 16px; border: 0; border-radius: 10px; background: #fff; box-shadow: none; font-size: 16px; color: var(--mh-ink); }
.mh-page .mh-news-field input::placeholder { color: #8A93A5; opacity: 1; }
.mh-page .mh-news-field input[aria-invalid="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--mh-navy); }
.mh-page button.mh-news-btn { min-height: 52px; padding: 0 26px; border-radius: 10px; }
.mh-page .mh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mh-page .mh-news-status { flex-basis: 100%; font-size: 15px; font-weight: 600; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.mh-page .mh-services, .mh-page .mh-recent { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-page .mh-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-page .mh-regions > :last-child:nth-child(odd) { grid-column: 1 / -1; }
	.mh-page .mh-region { height: 360px; }
	.mh-page .mh-why { gap: 48px; }
	.mh-page .mh-why-img { height: 420px; }
}
@media (max-width: 900px) {
	.mh-page .mh-sec { padding: 80px 0; }
	.mh-page .mh-news-sec { padding-bottom: 80px; }
	.mh-page .mh-hero { min-height: 0; }
	.mh-page .mh-hero-inner { padding-top: 72px; padding-bottom: 80px; }
	.mh-page .mh-h1 { font-size: 42px; }
	.mh-page .mh-br { display: none; }
	.mh-page .mh-h2 { font-size: 34px; }
	.mh-page .mh-h2--news { font-size: 32px; }
	.mh-page .mh-search { flex-direction: column; gap: 4px; }
	.mh-page .mh-search-field { padding: 10px 14px; }
	.mh-page .mh-search-field + .mh-search-field { border-left: 0; border-top: 1px solid var(--mh-line); }
	.mh-page button.mh-search-btn { width: 100%; margin-top: 6px; }
	.mh-page .mh-why, .mh-page .mh-news { grid-template-columns: minmax(0, 1fr); }
	.mh-page .mh-why-img { height: 360px; }
}
@media (max-width: 760px) {
	.mh-page .mh-sec { padding: 64px 0; }
	.mh-page .mh-news-sec { padding-bottom: 64px; }
	.mh-page .mh-stack-48 { gap: 32px; }
	.mh-page .mh-stack-40 { gap: 28px; }
	.mh-page .mh-hero-inner { padding-top: 56px; padding-bottom: 64px; gap: 24px; }
	.mh-page .mh-h1 { font-size: 36px; line-height: 1.12; }
	.mh-page .mh-h2 { font-size: 30px; line-height: 1.15; }
	.mh-page .mh-h2--news { font-size: 28px; }
	.mh-page .mh-lead { font-size: 17px; }
	.mh-page .mh-services, .mh-page .mh-recent, .mh-page .mh-regions { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.mh-page .mh-regions > :last-child:nth-child(odd) { grid-column: auto; }
	.mh-page .mh-service { padding: 24px; gap: 12px; }
	.mh-page .mh-h3 { font-size: 19px; }
	.mh-page .mh-listing { gap: 14px; padding: 12px; }
	.mh-page .mh-listing-img { width: 76px; height: 76px; }
	.mh-page .mh-listing-title { font-size: 16.5px; }
	.mh-page .mh-badge { top: 12px; right: 12px; }
	.mh-page .mh-region { height: 260px; }
	.mh-page .mh-region-body { padding: 20px; }
	.mh-page .mh-region-name { font-size: 26px; }
	.mh-page .mh-why { gap: 32px; }
	.mh-page .mh-why-img { height: 260px; }
	.mh-page .mh-actions .mh-btn { flex: 1 1 100%; }
	.mh-page .mh-news { padding: 32px 22px; gap: 24px; border-radius: 16px; }
	.mh-page .mh-news-form { flex-direction: column; align-items: stretch; }
	.mh-page .mh-news-field { flex: none; }
	.mh-page button.mh-news-btn { width: 100%; }
	.mh-page .mh-head-row { align-items: flex-start; flex-direction: column; gap: 8px; }
	.mh-page .mh-insta-head { flex-direction: column; align-items: stretch; }
	.mh-page .mh-btn--insta { width: 100%; }
}
@media (max-width: 380px) {
	.mh-page .mh-h1 { font-size: 32px; }
	.mh-page .mh-h2 { font-size: 27px; }
}
