/* STELLAR VALE DIGITAL — V9.34 / audited stylesheet */
:root{color-scheme:dark;--navy:#061126;--blue:#398cff;--ice:#e7f0ff;--muted:#c5d3eb}
*{box-sizing:border-box}html{background:var(--navy)}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#fff;background:var(--navy)}button,a{font:inherit}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible{outline:2px solid #a6d0ff;outline-offset:5px}
.site{position:relative;isolation:isolate;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;min-height:620px;height:100svh;height:100dvh;overflow:hidden;background:#061126 url('assets/architectural-blue.jpg') center center/cover no-repeat}
.site::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(3,10,28,.45) 0%,rgba(3,10,28,.16) 35%,transparent 62%)}.art{display:none}
header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:clamp(25px,3.5vh,44px) clamp(32px,6.3vw,100px) 0;position:relative;z-index:1}
.logo{display:flex;align-items:center;gap:13px;color:white;text-decoration:none;letter-spacing:2.4px;font-size:clamp(13px,1.12vw,17px);font-weight:700;line-height:1.05;white-space:nowrap}.logo b{font-weight:400;color:#a4c4ff}.logo small{display:block;font-size:7px;letter-spacing:4px;margin-top:6px;text-align:center}.spark{font-size:32px;color:#398cff;text-shadow:0 0 20px #287aff}
.social-buttons{display:flex;align-items:center;gap:12px;padding-left:16px;border-left:1px solid rgba(148,185,244,.38)}.social-btn{display:grid;place-items:center;width:42px;height:42px;padding:9px;border:1px solid rgba(143,185,255,.4);border-radius:50%;background:rgba(11,32,69,.72);color:white;text-decoration:none;transition:background .18s,transform .18s}.social-btn svg{display:block;width:21px;height:21px}.social-btn:hover{background:#1d478b;transform:translateY(-2px)}.google-btn{background:#fff}.google-btn:hover{background:#eef4ff}
main{display:flex;align-items:center;min-height:0;padding:0 clamp(42px,9.2vw,150px);position:relative;z-index:1}.copy{width:min(51%,640px);max-width:640px;transform:translateY(-1vh)}.kicker{margin:0 0 clamp(15px,2.5vh,24px);color:#83b6ff;font-size:clamp(11px,.9vw,14px);letter-spacing:.2em;font-weight:700}h1{margin:0 0 clamp(20px,3vh,30px);font-size:clamp(52px,5.7vw,90px);line-height:1.01;letter-spacing:-.06em;font-weight:800;white-space:nowrap}h1 span{color:#398cff;text-shadow:0 0 24px rgba(25,99,240,.16)}.lead{margin:0 0 15px;max-width:580px;font-size:clamp(19px,1.65vw,25px);line-height:1.32;font-weight:700}.desc{margin:0;max-width:535px;font-size:clamp(16px,1.16vw,19px);line-height:1.58;color:var(--ice)}.desc strong{color:white}
footer{display:flex;align-items:center;justify-content:space-between;gap:18px 30px;flex-wrap:wrap;padding:14px clamp(32px,6.3vw,100px);position:relative;z-index:1}.footer-left,.footer-right{display:flex;align-items:center;flex-wrap:wrap;gap:12px 26px}.footer-right{justify-content:flex-end}.footer-left button,.footer-right button{border:0;background:none;color:#e8f1ff;font-size:clamp(14px,1.08vw,17px);padding:8px 0;line-height:1.4}.footer-left button{font-weight:700;border-bottom:1px solid #63a8ff}.footer-left button span{color:#77b4ff;margin-left:6px}.footer-right button{font-weight:400;color:#d4e1f7}.footer-email{font-size:clamp(14px,1.08vw,17px);color:#fff;text-decoration:none;border-bottom:1px solid #63a8ff;padding-bottom:5px;overflow-wrap:anywhere}.footer-left button:hover,.footer-right button:hover,.footer-email:hover{color:#87bbff}
.announcement{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 12px;min-height:45px;padding:10px 18px;background:rgba(11,35,79,.86);border-top:1px solid rgba(94,155,255,.48);color:#e2edff;text-align:center;font-size:clamp(12px,.94vw,15px);line-height:1.4;letter-spacing:.01em}.announcement span{color:#77b4ff}
.overlay[hidden]{display:none}.overlay{position:fixed;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:20px}.shade{position:absolute;inset:0;background:rgba(0,5,18,.82);backdrop-filter:blur(12px)}.dialog{position:relative;width:min(720px,100%);max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;background:linear-gradient(140deg,#102e61,#071329 75%);border:1px solid #476fa9;box-shadow:0 28px 100px #000b;border-radius:6px;padding:clamp(24px,5vw,50px)}.dialog:focus{outline:none}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#9cc6ff;font-size:11px;letter-spacing:.13em;margin-bottom:28px}.close{width:42px;height:42px;border:1px solid #6887b6;background:transparent;color:#fff;font-size:18px}.tag{font-size:12px;letter-spacing:.17em;color:#88baff;font-weight:700}.dialog h2{font-size:clamp(30px,4vw,52px);line-height:1.12;letter-spacing:-.04em;margin:14px 0 24px}.panel-text,.legal-copy{font-size:16px;line-height:1.7;color:#d2e0f4}.legal-copy h3{color:#fff;font-size:18px;margin:22px 0 6px}.legal-copy p{margin:0 0 12px}.legal-copy a{color:#9dc7ff}

/* V9.30 — audited responsive layout; desktop appearance retained */
@media (min-width:751px){
 main{padding-left:clamp(64px,8vw,150px);padding-right:clamp(35px,5vw,95px)}
 .copy{width:min(48vw,660px);max-width:660px;transform:translateY(-.5vh)}
 h1{font-size:clamp(56px,5.65vw,88px)}
 .lead{font-size:clamp(20px,1.6vw,26px);max-width:610px}
 .desc{font-size:clamp(17px,1.25vw,20px);max-width:560px;line-height:1.55}
 footer{padding-top:16px;padding-bottom:16px}
 .footer-left button,.footer-right button,.footer-email{font-size:clamp(15px,1.1vw,18px)}
 .announcement{font-size:clamp(13px,.95vw,16px);min-height:48px}
}
@media (min-width:751px) and (max-width:1120px){
 .copy{width:52vw}main{padding-left:6vw}h1{font-size:clamp(48px,5.4vw,66px)}
 .lead{font-size:19px}.desc{font-size:16px}
}
@media (max-width:750px){
 html,body{max-width:100%;overflow-x:clip}
 .site{height:auto;min-height:100svh;min-height:100dvh;overflow:visible;grid-template-rows:auto minmax(0,1fr) auto auto;
 background-image:linear-gradient(90deg,rgba(3,10,27,.98) 0%,rgba(3,10,27,.95) 38%,rgba(3,10,27,.78) 70%,rgba(3,10,27,.48) 100%),url('assets/architectural-blue.jpg');
 background-size:cover,auto 100%;background-position:center,right center;background-repeat:no-repeat}
 .site::before{display:none}
 header{padding:clamp(14px,2dvh,22px) 5vw 0;gap:8px}
 .logo{font-size:clamp(10px,2.8vw,13px);gap:8px;letter-spacing:1.5px}
 .logo small{font-size:7px;letter-spacing:3px}.spark{font-size:clamp(21px,5vw,27px)}
 .social-buttons{gap:8px;padding-left:10px}.social-btn{width:42px;height:42px}
 main{padding:clamp(18px,3dvh,36px) 5vw;min-height:0;align-items:center}
 .copy{width:100%;max-width:100%;transform:none}
 .kicker{font-size:clamp(10px,2.5vw,12px);margin-bottom:clamp(10px,1.5dvh,16px)}
 h1{font-size:clamp(32px,min(9vw,6.2dvh),54px);line-height:1.04;letter-spacing:-.055em;margin-bottom:clamp(12px,2dvh,22px);white-space:normal}
 .lead,.desc{width:75%;max-width:37ch;hyphens:auto;overflow-wrap:normal}
 .lead{font-size:clamp(15px,3.65vw,18px);line-height:1.32;margin-bottom:10px;text-wrap:balance}
 .desc{font-size:clamp(14px,3.35vw,16px);line-height:1.45;color:#f0f4ff}
 footer{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:8px 5vw;background:rgba(3,10,27,.72)}
 .footer-left,.footer-right{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:5px 14px}
 .footer-left button,.footer-right button,.footer-email{font-size:clamp(13px,3.2vw,15px);line-height:1.35;padding:6px 0}
 .footer-email{overflow-wrap:anywhere}
 .announcement{min-height:0;padding:8px 4vw;line-height:1.35;font-size:clamp(11px,2.7vw,12px);gap:3px 6px;background:rgba(10,31,69,.92)}
 .overlay{padding:12px}.dialog{max-height:calc(100dvh - 24px)}
}
@media (max-width:375px){.lead,.desc{width:84%}.desc{font-size:14px}.logo{font-size:10px}.social-buttons{gap:5px;padding-left:7px}}
@media (max-width:750px) and (max-height:650px){main{padding-block:15px 20px}.kicker{margin-bottom:8px}h1{margin-bottom:10px}.lead{margin-bottom:7px}.desc{line-height:1.35}}
@media (max-width:750px) and (orientation:landscape){.site{min-height:100dvh}main{padding-block:25px}.lead,.desc{width:85%;max-width:45ch}}
@media (max-width:750px) and (prefers-contrast:more){.site{background-image:linear-gradient(90deg,rgba(3,9,25,.99),rgba(3,9,25,.88)),url('assets/architectural-blue.jpg')}.lead,.desc{width:100%;max-width:42ch;font-size:16px;line-height:1.55}}
@media (prefers-reduced-motion:reduce){.social-btn{transition:none}}
@media (min-width:751px) and (max-height:660px){.site{min-height:560px}header{padding-top:22px}h1{font-size:clamp(45px,5vw,72px);margin-bottom:16px}.kicker{margin-bottom:12px}.lead{margin-bottom:9px}.desc{font-size:15px;line-height:1.45}footer{padding-block:9px}}
@media (min-width:751px) and (max-width:900px){footer{gap:10px}.footer-left,.footer-right{gap:8px 12px}}

/* V9.33 — safe fallback when viewport or enlarged text cannot fit */
@media (min-width:751px) and (max-height:760px){.site{height:auto;min-height:100dvh;overflow:visible;grid-template-rows:auto minmax(360px,1fr) auto auto}}
@media (min-width:751px) and (max-width:1100px){.copy{width:min(62vw,660px)}h1{white-space:normal}}
@media (max-width:750px){.site{background-attachment:scroll}.lead,.desc{max-width:42ch}}
@media (max-width:750px) and (max-height:560px){main{align-items:flex-start}.site{grid-template-rows:auto auto auto auto}}
@media (min-resolution:1dppx){.dialog{scrollbar-gutter:stable}}

/* Allow safe reflow at enlarged text sizes and constrained desktop heights. */
@media (min-width:751px) and (max-height:900px){.site{min-height:100dvh;height:auto;overflow:visible;grid-template-rows:auto minmax(400px,1fr) auto auto}}
@media (max-width:750px){.site{overflow:visible}.copy{min-width:0}}

/* V9.35 demonstrācijas parauga kartīte */
.demo-preview{display:block;margin:24px 0 14px;text-decoration:none;border:1px solid #6d93c8;background:#101d31;overflow:hidden;transition:border-color .2s,transform .2s}.demo-preview:hover{border-color:#b8d5ff;transform:translateY(-2px)}.demo-preview:focus-visible{outline:3px solid #9fd3ff;outline-offset:3px}.preview-browser{display:flex;align-items:center;gap:5px;padding:11px 15px;background:#e7e4df;color:#3d433f}.preview-browser i{width:6px;height:6px;border-radius:50%;background:#9a9e99}.preview-browser span{margin-left:10px;font-size:10px;letter-spacing:.11em}.preview-art{min-height:220px;display:flex;flex-direction:column;justify-content:space-between;padding:32px;background:linear-gradient(125deg,rgba(20,33,32,.24),rgba(20,33,32,.1)),linear-gradient(135deg,#d3c7b7 0%,#e5dfd4 37%,#8d9a8a 38%,#53675e 63%,#2c3935 100%);color:#fff}.preview-heading{font-family:Georgia,serif;font-size:clamp(32px,6vw,52px);line-height:1.05;letter-spacing:-.05em;text-shadow:0 2px 16px #0006}.preview-caption{font-size:10px;letter-spacing:.15em;text-shadow:0 1px 7px #0009}.preview-bottom{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:#e7e4df;color:#26322d;font-weight:700;font-size:15px}.preview-bottom b{font-size:22px}.demo-note{font-size:12px;line-height:1.55;color:#aabedb;margin:0}

/* V9.37 — before/after demonstration */
.preview-comparison{display:block;background:#111;line-height:0}.preview-comparison img{display:block;width:100%;height:auto;object-fit:contain}.demo-preview{max-width:100%}

/* V9.39 — FAQ, native accessible disclosure controls */
.faq-list{display:grid;gap:0;border-top:1px solid rgba(165,198,242,.25)}
.faq-item{border-bottom:1px solid rgba(165,198,242,.25);color:#d8e7fa}
.faq-item summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:19px 2px;font-size:clamp(16px,2.5vw,19px);font-weight:650;line-height:1.4;color:#fff}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";font-size:25px;font-weight:300;color:#8dbdff;flex-shrink:0}
.faq-item[open] summary::after{content:"−"}
.faq-item summary:focus-visible{outline:2px solid #a8cfff;outline-offset:4px}
.faq-item p{margin:0;padding:0 26px 20px 2px;color:#d2e0f4;font-size:16px;line-height:1.65}
@media(max-width:750px){.faq-item summary{padding:16px 2px}.faq-item p{font-size:15px}}

/* V9.40 — restore visible architectural blue light on phones.
   The original landscape image was right-aligned at auto 100% and its
   bright corner fell outside the narrow mobile viewport. */
@media (max-width:750px){
 .site{
  background-image:linear-gradient(90deg,rgba(3,10,27,.92) 0%,rgba(3,10,27,.84) 34%,rgba(3,10,27,.38) 61%,rgba(3,10,27,.03) 100%),url('assets/architectural-blue.jpg');
  background-size:100% 100%,auto 100%;
  background-position:center center,54% center;
  background-repeat:no-repeat;
 }
}
@media (max-width:750px) and (prefers-contrast:more){
 .site{background-image:linear-gradient(90deg,rgba(3,10,27,.99) 0%,rgba(3,10,27,.88) 52%,rgba(3,10,27,.36) 100%),url('assets/architectural-blue.jpg')}
}

/* V9.41 — dedicated mobile art composition, preserving the illuminated floor.
   Avoid landscape cover cropping, which removed the bright corner on iPhone. */
@media (max-width:750px){
 .site{
  background-image:linear-gradient(90deg,rgba(2,9,25,.20),rgba(2,9,25,0) 58%),url('assets/architectural-blue-mobile.jpg');
  background-size:100% 100%,100% 100%;
  background-position:center center,center center;
  background-repeat:no-repeat;
 }
 .site::before{display:none}
 h1{text-shadow:0 2px 12px rgba(0,4,18,.38)}
}
@media (max-width:750px) and (prefers-contrast:more){
 .site{background-image:linear-gradient(90deg,rgba(2,9,25,.46),rgba(2,9,25,.08)),url('assets/architectural-blue-mobile.jpg')}
}

/* V9.42 — Restore EXACT V9.27 mobile background framing.
   Desktop remains unchanged. Overrides experimental V9.40/V9.41 mobile artwork. */
@media (max-width:750px){
  .site{
    background-image:url('assets/architectural-blue.jpg');
    background-color:#061126;
    background-size:auto 100%;
    background-position:51% center;
    background-repeat:no-repeat;
  }
  .site::before{display:none !important}
}
@media (max-width:750px) and (prefers-contrast:more){
  .site{
    background-image:url('assets/architectural-blue.jpg');
  }
}

/* V9.43 — final overrides: same full-frame source colors on desktop and mobile.
   No extra overlay, no dark tint, no footer tagline. */
.site{grid-template-rows:auto minmax(0,1fr) auto}
@media(max-width:750px){
 .site{
   grid-template-rows:auto minmax(0,1fr) auto;
   background-image:url('assets/architectural-blue-mobile-v943.jpg') !important;
   background-size:100% 100% !important;
   background-position:center center !important;
   background-repeat:no-repeat !important;
   background-color:#061126;
 }
 .site::before{display:none !important}
 footer{background:rgba(3,10,27,.14);padding-bottom:max(10px,env(safe-area-inset-bottom))}
 .footer-left,.footer-right{gap:6px 16px}
 .footer-left button,.footer-right button,.footer-email{font-size:clamp(13px,3.25vw,16px)}
}

/* V9.44: Google button visually retained, non-interactive */
.google-btn-disabled{cursor:default;pointer-events:none}

/* V9.46 — fit full heading including its period on narrow mobile viewports.
   Keep desktop layout, original colors and artwork unchanged. */
@media (max-width:750px){
  main{min-width:0}
  .copy{min-width:0;max-width:100%}
  .copy h1{font-size:clamp(27px,8.1vw,54px);letter-spacing:-.055em;max-width:100%;white-space:normal}
  .copy h1 span{white-space:nowrap}
}
