/* AndorraCasa 0.8 — Premium Light Business System */
:root{
  --v8-ink:#0d171a;
  --v8-ink-soft:#172326;
  --v8-paper:#f4f1ea;
  --v8-paper-2:#fbfaf7;
  --v8-white:#ffffff;
  --v8-line:#d9ddd8;
  --v8-muted:#687573;
  --v8-gold:#b49761;
  --v8-gold-dark:#80663b;
  --v8-accent:#0d877d;
  --v8-accent-dark:#075f59;
  --v8-shadow:0 18px 55px rgba(15,29,31,.09);
}
body{font-size:17px;line-height:1.6;background:var(--v8-paper-2);color:var(--v8-ink)}
.site-header{background:linear-gradient(180deg,rgba(6,14,17,.88),rgba(6,14,17,.50));}
.desktop-nav{font-size:15px}.account-link{font-size:14px}.language-button{font-size:13px}
.hero-v6 .hero-overlay{background:linear-gradient(90deg,rgba(5,14,17,.88) 0%,rgba(5,14,17,.74) 33%,rgba(5,14,17,.18) 68%,rgba(5,14,17,.06) 100%),linear-gradient(0deg,rgba(5,14,17,.22),transparent 55%)}
.hero-v6 .hero-copy h1{font-size:68px;line-height:1.01;max-width:760px}.hero-v6 .hero-copy p{font-size:18px;line-height:1.65;color:#e0e7e4;max-width:680px}
.hero-search-v6{background:rgba(9,22,25,.87);border-color:rgba(255,255,255,.20);box-shadow:0 28px 70px rgba(0,0,0,.30)}
.hero-search-v6 .search-field small{font-size:12px}.hero-search-v6 .search-field select{font-size:15px}.hero-search-v6 .search-button{font-size:15px;background:linear-gradient(135deg,var(--v8-accent-dark),var(--v8-accent))}

/* HOME: luxury does not mean everything dark */
.trust-strip{background:#efe9de!important;border-bottom:1px solid #dbd2c2!important}.trust-grid{padding:28px 0;gap:16px}.trust-item{background:rgba(255,255,255,.62)!important;border:1px solid #ddd4c5!important;box-shadow:0 8px 24px rgba(46,41,32,.035);padding:18px 19px!important}.trust-item>span{color:var(--v8-gold-dark)!important}.trust-item strong{font-size:15px!important;color:#172326!important}.trust-item small{font-size:13px!important;line-height:1.5;color:#65706c!important}
body:not(.v6-console-page) .section{background:var(--v8-paper-2)!important;color:var(--v8-ink)!important}.home-featured{background:var(--v8-paper)!important}.parish-section{background:var(--v8-paper-2)!important}.section-head h2,.publish-copy h2,.alert-panel h2{color:var(--v8-ink)}.section-head h2{font-size:46px}.section-head a{color:var(--v8-gold-dark)!important;font-size:14px}.eyebrow.dark{color:var(--v8-gold-dark)!important}
.home-featured-grid .property-card{background:#fff!important;border:1px solid #d8ded9!important;color:var(--v8-ink)!important;box-shadow:0 12px 36px rgba(21,35,37,.06)!important}.home-featured-grid .property-card:hover{border-color:#c8b483!important;box-shadow:0 20px 48px rgba(21,35,37,.11)!important}.home-featured-grid .property-body{background:#fff!important}.home-featured-grid .property-price,.home-featured-grid .property-title{color:#172326!important}.home-featured-grid .property-location,.home-featured-grid .property-specs,.home-featured-grid .property-agency{color:#667370!important}.home-featured-grid .property-price{font-size:23px!important}.home-featured-grid .property-title{font-size:15px!important;line-height:1.4}.home-featured-grid .property-location,.home-featured-grid .property-specs{font-size:12px!important}
.parish-card{border:0!important;box-shadow:0 12px 30px rgba(18,30,32,.10)!important}.parish-card span{font-size:14px}.agency-card{background:#fff!important;color:var(--v8-ink)!important;border:1px solid #d9ded9!important;box-shadow:0 12px 32px rgba(18,30,32,.05)!important}.agency-card h3,.agency-card strong{color:var(--v8-ink)!important}.agency-card p,.agency-card small{color:#687573!important}.agency-cta{color:var(--v8-gold-dark)!important}
.publish-panel{background:linear-gradient(135deg,#172326,#21302e)!important;border:1px solid #36423f!important}.publish-panel .publish-copy h2{color:#fff}.publish-panel .publish-copy>p{color:#d5ddda}.pricing-teaser{background:var(--v8-paper-2)!important}.pricing-teaser .pricing-teaser-inner{background:linear-gradient(135deg,#202c2d,#27332e)!important;border:1px solid #4a5248!important}.pricing-teaser h2,.pricing-teaser .teaser-price strong{color:#fff!important}.pricing-teaser p,.pricing-teaser .teaser-price small,.pricing-teaser .teaser-price span{color:#d5ddd8!important}.v7-proof-pills span{color:#fff!important;border-color:rgba(255,255,255,.24)!important;background:rgba(255,255,255,.05)!important}.alert-panel{background:linear-gradient(135deg,#1b2729,#26312c)!important}.alert-panel h2{color:#fff!important}.alert-panel p{color:#d6deda!important}.alert-glow{background:#3b3529!important;color:#d9c69c!important;box-shadow:none!important}

/* Search / agency / property light surfaces: restore readable contrast */
.v7-light-section,.agency-catalogue,.similar-section,.results-section{background:var(--v8-paper-2)!important;color:var(--v8-ink)!important}.v7-light-section h1,.v7-light-section h2,.v7-light-section h3,.agency-catalogue h1,.agency-catalogue h2,.agency-catalogue h3,.similar-section h2,.detail-main h2,.detail-main h3,.premium-contact h3{color:var(--v8-ink)!important;opacity:1!important}.v7-light-section p,.agency-catalogue p,.detail-main p,.premium-contact p{color:#53615f!important;opacity:1!important}.property-detail .detail-value,.property-detail strong{color:var(--v8-ink)!important}.premium-contact{background:#fff!important;border-color:#d7ddda!important;color:var(--v8-ink)!important;box-shadow:var(--v8-shadow)}.premium-contact label{color:#485654!important}.premium-contact input,.premium-contact textarea{background:#fff!important;color:#142124!important;border-color:#cfd8d4!important}

/* ADMIN: larger, clearer, less cramped */
.v6-console-page,.v6-app{background:#0d1518}.v6-sidebar{width:auto;background:linear-gradient(180deg,#0b1316,#101a1d)}.v6-side-nav a,.v6-side-nav button{font-size:14px!important;padding:13px 14px!important;line-height:1.3}.v6-sidebar-label{font-size:10px!important;letter-spacing:.18em}.v6-main{background:#111b1f}.v6-topbar{min-height:88px!important}.v6-topbar h1{font-size:25px!important}.v6-topbar p{font-size:13px!important}.v6-topbar-actions a,.v6-topbar-actions button{font-size:12px!important}.v6-content{padding:34px 36px 56px!important}.v6-kpi small{font-size:12px!important}.v6-kpi strong{font-size:34px!important}.v6-kpi span{font-size:11px!important}.v6-card-head h2{font-size:23px!important}.v6-card-head p,.v6-list-row small,.v6-tr small{font-size:12px!important;line-height:1.45}.v6-list-row strong,.v6-tr strong{font-size:14px!important}.v6-tr{font-size:13px!important;line-height:1.45}.v6-status{font-size:11px!important}.v7-admin-form label{font-size:13px!important;line-height:1.4;color:#c1cbc7!important}.v7-admin-form label small{font-size:11px!important;color:#8e9b97!important}.v7-admin-form input,.v7-admin-form select,.v7-admin-form textarea{font-size:14px!important;min-height:46px!important;padding:11px 12px!important}.v7-admin-form textarea{line-height:1.5}.v7-form-title strong{font-size:17px!important}.v7-form-title small{font-size:11px!important}.v7-form-title>span{font-size:18px!important}.v7-new-block summary{font-size:13px!important}.v7-delete-form button{font-size:11px!important}.v7-admin-section .v6-table select{font-size:12px!important;padding:9px!important}.v7-admin-section .v6-table form button{font-size:11px!important;padding:8px 10px!important}

/* Payment setup is now task-oriented rather than generic */
.v8-payment-stack{display:grid;gap:18px}.v8-payment-card{border:1px solid rgba(255,255,255,.10);background:#101c20;border-radius:18px;padding:22px}.v8-payment-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}.v8-payment-head h3{font-size:20px;margin:0 0 5px;color:#fff}.v8-payment-head p{font-size:13px;color:#a9b6b2;margin:0;max-width:780px}.v8-method-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(200,173,118,.22);background:rgba(200,173,118,.08);color:#e1c995;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800;white-space:nowrap}.v8-method-pill.off{color:#a8b2af;border-color:rgba(255,255,255,.09);background:rgba(255,255,255,.03)}.v8-payment-help{margin:12px 0 0;padding:13px 15px;border-left:3px solid #9e8352;background:#172226;color:#c9d2cf;font-size:12px;border-radius:0 10px 10px 0}.v8-secret-state{font-size:11px;color:#cdb985;margin-top:5px}.v8-webhook-box{display:flex;gap:10px;align-items:center;padding:11px 12px;border:1px solid rgba(255,255,255,.08);background:#0b1518;border-radius:10px;color:#c9d2cf;font-size:12px;word-break:break-all}.v8-webhook-box strong{color:#fff}.v8-payment-card .btn{font-size:13px;padding:12px 16px}

/* Agency profile */
.v8-wa-toggle{display:flex!important;align-items:flex-start;gap:10px!important;padding:12px 13px;border:1px solid #ddd4c4;border-radius:12px;background:#f8f5ee}.v8-wa-toggle input{width:auto!important;margin-top:3px}.v8-wa-toggle span{display:block}.v8-wa-toggle strong{font-size:13px;color:#172326}.v8-wa-toggle small{font-size:11px!important;color:#687573!important}.v7-profile-form label{font-size:13px}.v7-profile-form input,.v7-profile-form select,.v7-profile-form textarea{font-size:15px!important}.v7-profile-form h2{font-size:34px!important}

/* Mobile: app-like shell */
.mobile-bottom-nav,.mobile-language-sheet{display:none}
@media(max-width:760px){
  body{font-size:16px;padding-bottom:82px}.container{width:calc(100% - 28px)}
  .site-header{position:absolute;height:66px}.header-inner{height:66px}.brand{font-size:20px}.desktop-nav{display:none}.header-actions .language-menu,.header-actions .account-link{display:none}.menu-toggle{display:none!important}.mobile-menu{display:none!important}
  .hero-v6 .hero-content{padding-top:92px!important}.hero-v6 .hero-copy h1{font-size:42px!important;line-height:1.04}.hero-v6 .hero-copy p{font-size:16px!important;line-height:1.55}.hero-v6 .hero-image{background-position:62% center!important}.hero-v6 .hero-overlay{background:linear-gradient(180deg,rgba(4,12,15,.25),rgba(4,12,15,.74) 47%,#071517 84%)!important}
  .trust-grid{grid-template-columns:1fr!important;gap:10px!important}.trust-item{padding:15px 16px!important}.trust-item strong{font-size:15px!important}.trust-item small{font-size:13px!important}
  .section{padding:48px 0!important}.section-head{align-items:flex-start}.section-head h2{font-size:34px!important}.home-featured-grid{grid-template-columns:1fr!important}.home-featured-grid .property-card{display:grid!important;grid-template-columns:42% 58%;min-height:164px}.home-featured-grid .property-image-wrap,.home-featured-grid .property-image{height:100%!important;min-height:164px!important}.home-featured-grid .property-price{font-size:20px!important}.home-featured-grid .property-title{font-size:14px!important}.parish-grid{display:grid!important;grid-template-columns:1fr 1fr!important}.parish-card{height:142px!important}.agency-grid{grid-template-columns:1fr!important}.publish-panel{grid-template-columns:1fr!important}.map-panel{min-height:230px!important}.publish-copy{padding:30px 22px!important}.publish-options{grid-template-columns:1fr!important}.pricing-teaser-inner{padding:28px 22px!important}.alert-panel{grid-template-columns:1fr!important;padding:28px 22px!important}.alert-glow{display:none}
  .site-footer{padding-bottom:110px!important}
  .mobile-bottom-nav{display:grid;position:fixed;z-index:80;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));grid-template-columns:repeat(5,1fr);background:rgba(13,23,26,.96);border:1px solid rgba(255,255,255,.11);border-radius:18px;padding:7px;box-shadow:0 18px 50px rgba(0,0,0,.28);backdrop-filter:blur(18px)}
  .mobile-bottom-nav a,.mobile-bottom-nav button{border:0;background:transparent;color:#d7dfdc;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:54px;border-radius:12px;font-size:10px;font-weight:700}.mobile-bottom-nav .ico{font-size:20px;line-height:1}.mobile-bottom-nav .primary-mobile{background:#b49761;color:#111b1e}.mobile-bottom-nav a.active{color:#e5cf9f}.mobile-bottom-nav button{cursor:pointer}
  .mobile-language-sheet{display:none;position:fixed;z-index:90;left:12px;right:12px;bottom:88px;background:#fff;border:1px solid #d9ddd8;border-radius:18px;padding:15px;box-shadow:0 22px 60px rgba(0,0,0,.24);color:#152124}.mobile-language-sheet.open{display:block}.mobile-language-sheet .sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.mobile-language-sheet h3{margin:0;font-size:18px}.mobile-language-sheet button{border:0;background:transparent;font-size:22px}.mobile-language-sheet .langs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mobile-language-sheet .langs a{padding:12px;border:1px solid #d9ddd8;border-radius:10px;font-size:13px;font-weight:700}.mobile-language-sheet .langs a.active{background:#efe9de;border-color:#cbb88c;color:#725b31}
  .v6-content{padding:18px!important}.v6-topbar{padding:15px 17px!important}.v6-topbar h1{font-size:22px!important}.v6-side-nav a,.v6-side-nav button{font-size:13px!important}.v6-kpi strong{font-size:29px!important}.v6-card-head h2{font-size:20px!important}.v6-card-head p,.v6-list-row small,.v6-tr small{font-size:12px!important}.v6-list-row strong,.v6-tr strong{font-size:13px!important}.v7-admin-form label{font-size:13px!important}.v7-admin-form input,.v7-admin-form select,.v7-admin-form textarea{font-size:16px!important}.v8-payment-head{flex-direction:column}.v8-payment-stack{gap:14px}
}
@media(max-width:430px){.hero-v6 .hero-copy h1{font-size:38px!important}.parish-grid{grid-template-columns:1fr 1fr!important}.mobile-bottom-nav{left:7px;right:7px}.mobile-bottom-nav a,.mobile-bottom-nav button{font-size:9px}}
