/* My Home Albania — Terracotta Riviera Owner-First HOME v4 — 4.3.01
   Homepage visual layer only. Existing routes, forms and business logic are untouched. */

/* Keep the existing header system, only tighten spacing so everything fits cleanly. */
@media (min-width: 900px){
  .site-header{padding:6px 14px!important;gap:3px!important;min-height:60px!important}
  .site-header>.brand-logo{width:168px!important;min-width:168px!important;max-width:168px!important;margin-right:2px!important}
  .site-header>.brand-logo img{max-height:44px!important;width:auto!important}
  .site-header>nav{gap:8px!important;margin:0!important;justify-content:flex-start!important}
  .site-header>nav>a{font-size:11.5px!important;letter-spacing:0!important;white-space:nowrap!important}
  .site-header>nav .nav-cta{margin-left:auto!important;padding:8px 13px!important;font-size:10.5px!important;white-space:nowrap!important}
  .site-header>.pwa-language{height:31px!important;min-width:64px!important;padding-inline:9px!important}
  .site-header>.mha-theme-toggle,
  .site-header>.menu-toggle,
  .site-header>.mha-header-popover-wrap :is(.mha-header-message,.mha-live-bell,.mha-header-guest-bell){width:31px!important;height:31px!important;min-width:31px!important;border-radius:9px!important}
  .site-header>.mha-header-popover-wrap svg,.site-header>.mha-theme-toggle svg{width:13px!important;height:13px!important}
}
@media (min-width:900px) and (max-width:1260px){
  .site-header>.brand-logo{width:154px!important;min-width:154px!important;max-width:154px!important}
  .site-header>nav{gap:6px!important}
  .site-header>nav>a{font-size:10.5px!important}
  .site-header>nav .nav-cta{padding:8px 10px!important;font-size:9.5px!important}
}

/* Owner-first HOME hero — compact proportions matching the selected Terracotta Riviera concept. */
.mha-riviera-owner-front{
  --rv-ink:#162b3a;--rv-terra:#d86c47;--rv-terra2:#ec8a61;--rv-gold:#e6b65b;
  --rv-cream:#fffaf4;--rv-paper:#fffdf9;--rv-sand:#f5eadf;--rv-blue:#4f9fbe;--rv-deep:#071f2d;
  width:min(1220px,calc(100% - 26px));margin:14px auto 0;position:relative;z-index:2;
}
.mha-riviera-owner-hero{
  display:grid;grid-template-columns:minmax(0,43%) minmax(0,57%);min-height:500px;
  border-radius:22px 22px 0 0;overflow:hidden;border:1px solid rgba(177,141,110,.20);border-bottom:0;
  box-shadow:0 22px 62px rgba(31,44,51,.11)
}
.mha-riviera-owner-copy{padding:48px 44px 42px;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:2}
html[data-mha-theme="light"] .mha-riviera-owner-copy{background:linear-gradient(145deg,#fffdf9 0%,#fff9f2 67%,#f7eadf 100%);color:var(--rv-ink)}
html[data-mha-theme="dark"] .mha-riviera-owner-copy{background:linear-gradient(145deg,#071e2c 0%,#092a3a 68%,#0c3242 100%);color:#fff8ef}
.mha-riviera-owner-kicker{font-size:10px;font-weight:900;letter-spacing:.19em;color:var(--rv-blue);text-transform:uppercase}
html[data-mha-theme="dark"] .mha-riviera-owner-kicker{color:#57bdd4}
.mha-riviera-owner-copy h1{
  font-family:Georgia,'Times New Roman',serif;font-size:clamp(46px,4.5vw,61px);line-height:.98;
  letter-spacing:-.043em;margin:14px 0 17px;max-width:485px;font-weight:600;text-wrap:balance;
}
html[data-mha-theme="light"] .mha-riviera-owner-copy h1{color:#142a39}
html[data-mha-theme="dark"] .mha-riviera-owner-copy h1{color:#fff9ef}
.mha-riviera-owner-copy h1::after{content:"";display:block;width:70px;height:3px;border-radius:99px;margin-top:18px;background:linear-gradient(90deg,var(--rv-terra),var(--rv-gold))}
.mha-riviera-owner-copy>p{max-width:470px;font-size:14px;line-height:1.65;margin:0}
html[data-mha-theme="light"] .mha-riviera-owner-copy>p{color:#56646d}
html[data-mha-theme="dark"] .mha-riviera-owner-copy>p{color:#cad4da}
.mha-riviera-owner-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.mha-riviera-owner-actions a{min-height:46px;padding:0 19px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:850;font-size:12px;transition:.2s ease}
.mha-riviera-primary{background:linear-gradient(135deg,var(--rv-terra),var(--rv-terra2));color:#fff!important;box-shadow:0 11px 23px rgba(216,108,71,.20)}
.mha-riviera-secondary{border:1px solid rgba(38,63,79,.17);background:#fff;color:#203849!important}
html[data-mha-theme="dark"] .mha-riviera-secondary{background:#0a2a3a;color:#fff!important;border-color:rgba(255,255,255,.18)}
.mha-riviera-owner-media{position:relative;min-height:500px;overflow:hidden;background:#d9e8ed}
.mha-riviera-owner-media:before{content:"";position:absolute;inset:0;background-image:url('riviera-owner-light.jpg');background-size:cover;background-position:center 48%;transform:scale(1.005)}
html[data-mha-theme="dark"] .mha-riviera-owner-media:before{background-image:url('riviera-owner-dark.jpg');background-position:center 48%;filter:saturate(1.05) brightness(.82)}
.mha-riviera-owner-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,249,242,.18) 0%,transparent 22%),linear-gradient(0deg,rgba(7,28,42,.08),transparent 48%)}
html[data-mha-theme="dark"] .mha-riviera-owner-media:after{background:linear-gradient(90deg,rgba(7,30,45,.28) 0%,transparent 25%),linear-gradient(0deg,rgba(4,17,27,.16),transparent 48%)}
.mha-riviera-owner-media span{position:absolute;right:18px;bottom:18px;z-index:2;width:128px;height:64px;border-radius:16px;border:1px solid rgba(255,255,255,.42);background:rgba(19,36,48,.28);backdrop-filter:blur(9px)}
.mha-riviera-owner-media span:before{content:"MY HOME ALBANIA";position:absolute;left:14px;top:13px;font-size:8px;font-weight:900;letter-spacing:.15em;color:#fff}
.mha-riviera-owner-media span:after{content:"Property Care · Rental Management";position:absolute;left:14px;top:32px;font-size:8.5px;color:rgba(255,255,255,.90);max-width:102px;line-height:1.3}

/* Feature strip belongs below the hero across the full width, like the selected concept. */
.mha-riviera-owner-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0 18px;min-height:82px;align-items:center;position:relative;z-index:3}
html[data-mha-theme="light"] .mha-riviera-owner-features{background:rgba(255,253,249,.98);border-inline:1px solid #eadfd5;border-bottom:1px solid #eadfd5}
html[data-mha-theme="dark"] .mha-riviera-owner-features{background:#082736;border-inline:1px solid #1a4050;border-bottom:1px solid #1a4050}
.mha-riviera-owner-features>div{display:flex;gap:10px;align-items:center;min-width:0;padding:15px 18px;border-right:1px solid rgba(125,135,143,.14)}
.mha-riviera-owner-features>div:last-child{border-right:0}
.mha-riviera-owner-features i{font-style:normal;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:0 0 34px;border:1px solid currentColor;color:var(--rv-terra);font-size:14px}
html[data-mha-theme="dark"] .mha-riviera-owner-features i{color:#e6ad51}
.mha-riviera-owner-features span{display:flex;flex-direction:column;gap:2px;min-width:0}
.mha-riviera-owner-features b{font-size:11px;line-height:1.2;color:inherit}
.mha-riviera-owner-features small{font-size:9px;line-height:1.25;opacity:.66}

/* Compact owner services: same content, visually matching the concept without replacing system blocks. */
.mha-riviera-owner-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px 14px 14px;border-radius:0 0 20px 20px;position:relative;z-index:3}
html[data-mha-theme="light"] .mha-riviera-owner-services{background:#fffdf9;border:1px solid #eadfd5;border-top:0;box-shadow:0 18px 40px rgba(33,43,49,.065)}
html[data-mha-theme="dark"] .mha-riviera-owner-services{background:#071f2d;border:1px solid #173b4c;border-top:0;box-shadow:0 18px 42px rgba(0,0,0,.18)}
.mha-riviera-owner-services article{display:flex;gap:10px;align-items:flex-start;padding:13px 13px;border-radius:13px;min-width:0}
html[data-mha-theme="light"] .mha-riviera-owner-services article{background:linear-gradient(180deg,#fff,#fcf7f1);border:1px solid #efe2d6}
html[data-mha-theme="dark"] .mha-riviera-owner-services article{background:linear-gradient(180deg,#0b2d3f,#092637);border:1px solid #214759}
.mha-riviera-owner-services article>span{width:32px;height:32px;flex:0 0 32px;border-radius:10px;display:grid;place-items:center;color:var(--rv-terra);font-size:16px;background:rgba(216,108,71,.08)}
html[data-mha-theme="dark"] .mha-riviera-owner-services article>span{color:#efad50;background:rgba(239,173,80,.08)}
.mha-riviera-owner-services b{font-size:11px;line-height:1.2}
.mha-riviera-owner-services p{margin:4px 0 0;font-size:9px;line-height:1.4;opacity:.68}

.mha-riviera-owner-front + .mha-vision-home{margin-top:20px!important}

@media(max-width:980px){
  .mha-riviera-owner-front{width:min(100% - 16px,860px);margin-top:9px}
  .mha-riviera-owner-hero{grid-template-columns:1fr;min-height:0;border-radius:18px 18px 0 0}
  .mha-riviera-owner-copy{padding:34px 24px 29px}
  .mha-riviera-owner-copy h1{font-size:clamp(40px,8vw,56px);max-width:700px}
  .mha-riviera-owner-copy>p{max-width:680px}
  .mha-riviera-owner-media{min-height:360px;order:2}
  .mha-riviera-owner-features{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 8px}
  .mha-riviera-owner-features>div:nth-child(2){border-right:0}
  .mha-riviera-owner-features>div:nth-child(-n+2){border-bottom:1px solid rgba(125,135,143,.14)}
  .mha-riviera-owner-services{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .mha-riviera-owner-front{width:calc(100% - 10px);margin-top:5px}
  .mha-riviera-owner-copy{padding:26px 18px 23px}
  .mha-riviera-owner-kicker{font-size:8.5px;letter-spacing:.14em}
  .mha-riviera-owner-copy h1{font-size:clamp(36px,10.7vw,48px);line-height:1;margin:10px 0 14px;max-width:none}
  .mha-riviera-owner-copy h1::after{width:54px;margin-top:15px}
  .mha-riviera-owner-copy>p{font-size:13px;line-height:1.55}
  .mha-riviera-owner-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}
  .mha-riviera-owner-actions a{width:100%;min-height:44px;padding:0 10px;font-size:10.5px}
  .mha-riviera-owner-media{min-height:265px}
  .mha-riviera-owner-media span{right:11px;bottom:11px;width:116px;height:58px}
  .mha-riviera-owner-features{grid-template-columns:1fr 1fr;padding:0 5px}
  .mha-riviera-owner-features>div{padding:12px 8px;gap:7px}
  .mha-riviera-owner-features i{width:30px;height:30px;flex-basis:30px;font-size:12px}
  .mha-riviera-owner-features b{font-size:9.5px}
  .mha-riviera-owner-features small{font-size:7.5px}
  .mha-riviera-owner-services{grid-template-columns:1fr 1fr;gap:7px;padding:8px}
  .mha-riviera-owner-services article{padding:10px 9px;gap:8px}
  .mha-riviera-owner-services article>span{width:28px;height:28px;flex-basis:28px;font-size:14px}
  .mha-riviera-owner-services b{font-size:9.5px}
  .mha-riviera-owner-services p{font-size:7.8px}
}
@media(max-width:420px){
  .mha-riviera-owner-actions{grid-template-columns:1fr}
  .mha-riviera-owner-services{grid-template-columns:1fr}
}
