/* AMR Real Estate — own overrides, loaded last (after custom.css) */

/* hero: background video instead of the template photo */
.cdp-hero-bg video{width:100%;height:100%;object-fit:cover;object-position:center;display:block}

/* images from the source site (template photos replaced) */
.elementor-element-c29aea2{background-image:url('https://lunexa-amr-eu.s3.eu-central-1.amazonaws.com/properties/listings/85/1001_original_ASABBdiCDP.jpeg')!important}
.elementor-element-4196369{background-image:url('https://lunexa-amr-eu.s3.eu-central-1.amazonaws.com/properties/listings/81/919_original_6hSBIVFcus.jpeg')!important}
.elementor-element-1be666e{background-image:url('https://lunexa-amr-eu.s3.eu-central-1.amazonaws.com/properties/listings/79/894_original_TgFmuDtxF2.png')!important}
.elementor-element-f894659{background-image:url('https://static.amrtech.app/amrrealestate/1/1.webp')!important}
.cdp-form__media,
.cdp-form__media{background-image:url('https://static.amrtech.app/amrrealestate/3/1.webp')!important}
@media (max-width:767px){.cdp-form__media{background-image:url('https://static.amrtech.app/amrrealestate/3/1.webp')!important}}

/* text strip (replaces the developer logos) */
.cdp-logos__i span{font:500 clamp(1.5rem,2.4vw,2.2rem)/1 'Instrument Sans',sans-serif;letter-spacing:-.02em;white-space:nowrap;color:inherit}

/* "View All" button under the cards */
.amr-more{display:flex;justify-content:center;margin-top:clamp(2rem,3.5vw,3rem)}

/* modal: hide empty chips */
.cdp-modal__chips li[hidden]{display:none!important}

/* services now has 3 items: shorter pinned scroll on mobile */

/* hero: no white fade into the next section (clean cut) */
.elementor-element-1a838d1::after{display:none!important}

/* hero: text aligned left on desktop/tablet (mobile stays centered) */
@media (min-width:768px){
 .elementor-element-1a838d1{align-items:flex-start!important;text-align:left!important}
 .elementor-element-04c83f5,.elementor-element-04c83f5>.e-con-inner{align-items:flex-start!important}
 .elementor-element-e905905{align-items:flex-start!important}
 .elementor-element-4a26f7a{align-items:flex-start!important;text-align:left!important}
 .elementor .elementor-element-f750c17 .elementor-heading-title{text-align:left!important}
 .elementor-element-2409c6a{justify-content:flex-start!important;align-items:center}
 .elementor-element-96ae240{margin-left:0!important;margin-right:auto!important;text-align:left!important}
 .elementor-element-96ae240 p{text-align:left!important}
}

/* hero text lines up with the logo's left edge */
@media (min-width:1025px){.elementor-element-04c83f5>.e-con-inner{padding-left:24px!important}}
@media (min-width:768px) and (max-width:1024px){.elementor-element-04c83f5>.e-con-inner{padding-left:4px!important}}

/* header: ~25% thinner on desktop (128px -> 96px); hero keeps filling the first screen */
@media (min-width:1025px){
 .elementor-element-c9cc8ea>.e-con-inner{min-height:96px!important}
 .elementor-element-1a838d1{min-height:max(680px,calc(100vh - 96px))!important}
}

/* hero headline: second line heavier */
.elementor-element-f750c17 .amr-h1-b{font-weight:700}

/* Ready Properties sub-headline */
.amr-sub{margin:1rem auto 0;max-width:42rem;text-align:center;font:500 1.06rem/1.65 'Plus Jakarta Sans',sans-serif;color:#000}

/* Ready Properties: 3 cards in a single row (the template grid reserved 2 rows -> huge gap) */
.elementor-element-f4db51d.amr-static{grid-template-rows:none!important;grid-auto-rows:auto!important;row-gap:28px!important}

/* ===== standard spacing between headline, sub-headline and button (taken from the hero) ===== */
:root{--amr-hs:28px;--amr-sb:42px}
@media (max-width:767px){:root{--amr-sb:18px}}
/* Ready Properties: bigger headline, sub-headline at the standard distance */
.elementor-element-867919d:has(.amr-sub){gap:0!important}
.amr-sub{margin:var(--amr-hs) auto 0!important}
.elementor .elementor-element-867919d:has(.amr-sub) .elementor-heading-title{font-size:clamp(2.4rem,4.6vw,4.2rem)!important}
/* about: headline -> text -> button */
@media (min-width:768px){
 .elementor-element-c3a6e7d{margin-bottom:calc(var(--amr-hs) - 24px)!important}
 .elementor-element-7a242e7 p{margin-bottom:0!important}
 .elementor-element-0df7c21{gap:var(--amr-sb)!important}
}
/* testimonials + CTA */
.cdp-t__head{gap:0!important}
.cdp-t__head p,.cdp-form__intro p{margin-top:var(--amr-hs)!important}

/* ===== Ready Properties: cards padronizados (3 variações de preço p/ escolher) ===== */
.elementor-element-f4db51d.amr-static{row-gap:0!important}
.amr-static .cdp-p-card{position:relative;overflow:hidden;padding:0 0 24px!important;display:grid!important;grid-row:span 6;grid-template-rows:subgrid;row-gap:0;grid-template-columns:minmax(0,1fr);align-content:start}
.amr-static .cdp-p-card__img{grid-row:1;border-radius:0!important;aspect-ratio:1/.95!important}
.amr-static .cdp-p-card__tag{left:14px;top:14px}
.amr-static .cdp-p-card__top,.amr-static .cdp-p-card__top>div:first-child{display:contents}
.amr-static .cdp-p-card h3{grid-row:2;text-align:center;margin:22px 22px 0!important}
.amr-static .cdp-p-card__loc{grid-row:3;display:block;text-align:center;margin:10px 22px 0!important}
.amr-static .cdp-p-card__loc svg{display:inline-block;vertical-align:-2px;margin-right:6px}
.amr-static .cdp-p-card__price{grid-row:4;display:flex;justify-content:center;align-items:baseline;gap:12px;margin:12px 22px 0;text-align:center}
.amr-static .cdp-p-card__price strong{display:inline;font-size:1.3rem}
.amr-static .cdp-p-card__price span{font-size:.85rem}
.amr-static .cdp-p-card__chips{grid-row:5;justify-content:center;margin:18px 22px 0!important;align-content:flex-start}
.amr-static .cdp-p-card__cta{grid-row:6;margin:22px 22px 0!important;padding:0;align-self:end}
/* Variação 2 (card do meio): preço no recorte do canto superior direito */
.amr-static .cdp-p-card .cdp-p-card__price strong{position:absolute;top:0;right:0;z-index:3;background:#fff;padding:16px 20px 18px 22px;border-bottom-left-radius:24px;font-size:1.1rem;line-height:1.1}
.amr-static .cdp-p-card .cdp-p-card__price strong::before,
.amr-static .cdp-p-card .cdp-p-card__price strong::after{content:"";position:absolute;width:24px;height:24px;background:radial-gradient(circle at 0 100%,transparent 23.5px,#fff 24px)}
.amr-static .cdp-p-card .cdp-p-card__price strong::before{right:100%;top:0}
.amr-static .cdp-p-card .cdp-p-card__price strong::after{right:0;top:100%}
.amr-static .cdp-p-card>*{grid-column:1}
.amr-static .cdp-p-card h3,.amr-static .cdp-p-card__loc,.amr-static .cdp-p-card__price span,.amr-static .cdp-p-card__price strong,.amr-static .cdp-p-card__chips,.amr-static .cdp-p-card__cta,.amr-static .cdp-p-card__img{grid-column:1}
.amr-static .cdp-p-card__loc{line-height:1.5!important}
.amr-static .cdp-p-card__chips{flex-wrap:wrap!important;margin-left:16px!important;margin-right:16px!important;gap:6px!important}
.amr-static .cdp-p-card__chips li{white-space:nowrap}

/* escolhido: preço no recorte (variação 2) em todos os cards; foto com base arredondada; chips em uma linha */
.amr-static .cdp-p-card__img{border-radius:0 0 24px 24px!important}
.amr-static .cdp-p-card__price{justify-content:center}
.amr-static .cdp-p-card__chips{flex-wrap:nowrap!important;margin-left:10px!important;margin-right:10px!important;gap:5px!important}
.amr-static .cdp-p-card__chips li{padding:.5rem .55rem!important;font-size:.72rem!important;gap:.3rem!important}
.amr-static .cdp-p-card__chips svg{width:13px;height:13px}

/* cinza azulado (#E5ECF0) -> #f9f9f9 */
:root,.elementor-kit-4613{--e-global-color-secondary:#f9f9f9!important}
.cdp-p-card__img,.cdp-modal__img,.cdp-form__media{background-color:#f9f9f9}

/* paleta: só #f9f9f9, branco e preto */

/* Services: "What We Offer" (headline + sub-headline centralizados, 6 itens) */
.cdp-svc__top{display:block!important;text-align:center;margin-bottom:clamp(2.5rem,5vw,4.5rem)!important}
.cdp-svc__lede{margin:var(--amr-hs) auto 0!important;padding:0!important;max-width:34rem;text-align:center!important}
@media (min-width:768px){.cdp-svc h2{font-size:clamp(2.4rem,4.6vw,4.2rem)!important;margin:0 auto!important}}
.cdp-svc__pts{list-style:none;margin:0 0 1.5rem;padding:0;display:grid;gap:.45rem;opacity:0;transform:translateY(12px);transition:opacity .45s,transform .45s}
.cdp-svc__item.is-active .cdp-svc__pts{opacity:1;transform:none;transition:opacity .7s .3s,transform .8s .3s cubic-bezier(.22,.8,.2,1)}
.cdp-svc__pts li{position:relative;padding-left:1.1rem;font:500 .92rem/1.5 'Plus Jakarta Sans',sans-serif;color:rgba(255,255,255,.72)}
.cdp-svc__pts li::before{content:"";position:absolute;left:0;top:.62em;width:.35rem;height:.35rem;border-radius:50%;background:#fff}
@media (max-width:767px){.cdp-svc__pts li{font-size:.8rem}.cdp-svc__pts{margin-bottom:.9rem;gap:.3rem}}

/* headlines com dois pesos: início mais pesado, final mais leve */
.amr-w1{font-weight:600!important}
.amr-w2{font-weight:300!important}

/* FAQ com fundo #f9f9f9 */
.elementor-element-195db72{background-color:#f9f9f9!important}

/* Formulário minimalista (pílulas) */
html body .cdp-form .cdp-form__form input,html body .cdp-form .cdp-form__form select,html body .cdp-form .cdp-form__form textarea{
 background-color:#fff!important;border:1px solid rgba(0,0,0,.14)!important;border-radius:999px!important;box-shadow:none!important;
 padding:0 1.9rem!important;height:3.6rem;font:400 1rem/1.4 'Plus Jakarta Sans',sans-serif!important;color:#000!important;outline:0!important;transition:border-color .2s}
html body .cdp-form .cdp-form__form textarea{border-radius:1.5rem!important;height:auto;min-height:8.75rem!important;padding:1.2rem 1.9rem!important;resize:none}
html body .cdp-form .cdp-form__form select{padding-right:3.2rem!important;background-position:right 1.6rem center!important}
html body .cdp-form .cdp-form__form input:hover,html body .cdp-form .cdp-form__form select:hover,html body .cdp-form .cdp-form__form textarea:hover{border-color:rgba(0,0,0,.4)!important;background-color:#fff!important}
html body .cdp-form .cdp-form__form input:focus,html body .cdp-form .cdp-form__form select:focus,html body .cdp-form .cdp-form__form textarea:focus{border-color:#000!important;background-color:#fff!important;box-shadow:none!important}
html body .cdp-form .cdp-form__form input::placeholder,html body .cdp-form .cdp-form__form textarea::placeholder{color:rgba(0,0,0,.55)!important;opacity:1}
html body .cdp-form .cdp-form__form input.is-bad{border-color:#000!important}
html body .cdp-form .cdp-form__form label{gap:.7rem}
html body .elementor-element-195db72 .ekit-accordion--toggler,html body .elementor-element-195db72 .ekit-accordion--content,html body .elementor-element-195db72 .elementskit-card-body{background-color:#fff!important}

/* abertura: logo é "construída" (monograma desenhado + letras que sobem) */
.amr-ibox{display:block}
.amr-ib{display:block;overflow:visible}
.amr-im{fill:#B1A165;fill-opacity:0;stroke:#B1A165;stroke-width:14;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;animation:amrDraw 1.5s cubic-bezier(.65,0,.35,1) .1s forwards,amrFill .7s ease 1.25s forwards}
@keyframes amrDraw{to{stroke-dashoffset:0}}
@keyframes amrFill{to{fill-opacity:1;stroke-opacity:0}}
.amr-il{fill:#000;transform:translateY(480px);animation:amrRise .75s cubic-bezier(.2,.85,.25,1) calc(1.35s + var(--i)*.06s) forwards}
@keyframes amrRise{to{transform:none}}

/* marquee: logo AMR monocromática + estrelas */
.cdp-logos__i{opacity:1!important;margin:0!important}
.cdp-logos__i img.amr-lg{height:clamp(46px,5.6vw,84px);width:auto;display:block;max-width:none}
.cdp-logos__star{margin:0 clamp(40px,5vw,84px)!important}
.cdp-logos__star-i{display:block;width:clamp(18px,1.9vw,28px);height:auto;fill:#000}

/* marquee menor e sem fade nas laterais */
.cdp-logos{-webkit-mask-image:none!important;mask-image:none!important}
.cdp-logos__i img.amr-lg{height:clamp(22px,2.3vw,34px)!important}
.cdp-logos__star{margin:0 clamp(26px,3vw,48px)!important}
.cdp-logos__star-i{width:clamp(10px,1vw,14px)!important}
.cdp-car-blur{display:none!important}

/* Off-plan: card com foto inteira e texto sobre a imagem; preço no recorte do topo */
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card{position:relative;overflow:hidden;padding:0!important;border-radius:28px!important;aspect-ratio:1/1.32;display:flex!important;flex-direction:column;justify-content:flex-end;background:#000;color:#fff;height:auto}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__img{position:absolute;inset:0;aspect-ratio:auto!important;border-radius:0!important;height:100%}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__img img{width:100%;height:100%;object-fit:cover}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card::before{content:"";position:absolute;left:0;right:0;bottom:0;height:64%;z-index:1;pointer-events:none;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);-webkit-mask-image:linear-gradient(to top,#000 45%,transparent);mask-image:linear-gradient(to top,#000 45%,transparent);background:linear-gradient(to top,rgba(0,0,0,.78),rgba(0,0,0,.35) 60%,rgba(0,0,0,0))}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__tag{z-index:3;left:16px;top:16px}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__top{position:static!important;display:block!important;padding:0 22px!important;margin:0}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__top h3,html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__top .cdp-p-card__loc{position:relative;z-index:2}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card h3{color:#fff!important;font-size:1.45rem;font-weight:600;text-align:left}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__loc{color:rgba(255,255,255,.82)!important;margin:.45rem 0 0;justify-content:flex-start;font-size:.9rem}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__price{position:absolute;top:0;right:0;z-index:4;background:#fff;padding:14px 20px 15px 22px;border-bottom-left-radius:24px;text-align:right}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__price::before,html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__price::after{content:"";position:absolute;width:24px;height:24px;background:radial-gradient(circle at 0 100%,transparent 23.5px,#fff 24px)}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__price::before{right:100%;top:0}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__price::after{right:0;top:100%}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__price strong{display:block;font-size:1.1rem;line-height:1.1;color:#000!important}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__price span{display:block;margin-top:.2rem;font-size:.68rem;color:#000!important}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__chips{position:relative;z-index:2;margin:14px 22px 0!important;gap:6px;flex-wrap:wrap!important}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__chips li{background:rgba(255,255,255,.16)!important;color:#fff!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:999px;padding:.42rem .75rem!important;font-size:.74rem!important}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__chips svg{color:#fff!important}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__cta{position:relative;z-index:2;margin:16px 22px 22px!important;padding:0!important}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card .cdp-p-card__btn{background:#fff!important;color:#000!important}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__wa{background:rgba(255,255,255,.2)!important;color:#fff!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__wa:hover{background:#fff!important;color:#000!important}
html body .elementor-element-f4db51d{-webkit-mask-image:none!important;mask-image:none!important}
@media (max-width:767px){
 html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card{flex:0 0 76vw!important;aspect-ratio:1/1.5;border-radius:24px!important}
 html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__top{padding:0 18px!important}
 html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card h3{font-size:1.2rem}
 html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__loc{font-size:.8rem}
 html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__chips{margin:12px 18px 0!important}
 html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__chips li{white-space:normal!important;font-size:.7rem!important;padding:.38rem .65rem!important}
 html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__cta{margin:14px 18px 18px!important}
 html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__price{padding:12px 16px 13px 18px}
 html body .cdp-car-wrap:not(:has(.amr-static)) .cdp-p-card__price strong{font-size:1rem}
}
/* remove os degradês brancos laterais do marquee */
.elementor-element-445adaa,.elementor-element-8bc7e99{display:none!important}
/* marquee de ponta a ponta */
.cdp-logos{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important}
.elementor-element-0286514{overflow:visible!important}

/* ===== MOBILE ===== */
@media (max-width:767px){
 .elementor-element-1a838d1{min-height:max(743px,88svh)!important}
 .elementor .elementor-element-f750c17 .elementor-heading-title{font-size:min(calc((100vw - 27px)*.134),4.3rem)!important;white-space:nowrap!important}
 /* Ready Properties vira carrossel em loop (1,5 card por vez) */
 html body .cdp-car-wrap .amr-static .cdp-p-card,html body .amr-static.cdp-track .cdp-p-card{display:flex!important;flex-direction:column;flex:0 0 66vw!important;grid-row:auto}
 html body .amr-static .cdp-p-card h3{font-size:1.1rem;margin:16px 16px 0!important}
 html body .amr-static .cdp-p-card__loc{margin:8px 16px 0!important;font-size:.78rem}
 html body .amr-static .cdp-p-card__price{margin:10px 16px 0}
 html body .amr-static .cdp-p-card__chips{margin:12px 10px 0!important}
 html body .amr-static .cdp-p-card__cta{margin:auto 16px 0!important;padding-top:16px!important;align-self:stretch}
 .elementor-element-3490af4:has(.amr-static) .cdp-car-nav{display:none!important}
}
