/* Smirnov.UA — composition-first responsive design, version 4
   The hiker image is a standalone block: the form can never cover it. */
:root{color-scheme:dark;--white:#f9f9ff;--muted:#c9c7de;--violet:#a64dff;--back:#090c20}
*{box-sizing:border-box}
html{min-height:100%;scroll-behavior:smooth}
body{margin:0;background:var(--back);color:var(--white);font-family:Inter,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit}
.site{min-height:100vh;min-height:100dvh;display:grid;grid-template-rows:minmax(0,1fr) auto;max-width:1920px;margin:0 auto;padding:26px 56px 19px;isolation:isolate;position:relative;background:radial-gradient(ellipse 56% 70% at 26% 62%,rgba(100,47,121,.22),transparent 75%),radial-gradient(ellipse 65% 80% at 93% 51%,rgba(40,43,102,.26),transparent 83%),#090c20}
.content{width:100%;max-width:1720px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 560px;gap:56px;align-items:stretch;min-height:0;padding:12px 0 13px}
.hero{min-width:0;min-height:0;display:flex;flex-direction:column;position:relative}
.hero-copy{position:relative;z-index:1;padding:30px 0 0 13px;flex:none}
.hero h1{font-size:clamp(58px,5.2vw,100px);line-height:1;letter-spacing:-.055em;font-weight:800;margin:0 0 25px;white-space:nowrap;text-shadow:0 3px 20px rgba(5,8,20,.13)}
.slogan{display:flex;gap:26px;align-items:stretch}
.slogan-bar{width:7px;border-radius:5px;flex:none;transform:skewX(-5deg);background:linear-gradient(#b652fc,#8c42ed)}
.slogan p{font-size:clamp(31px,2.6vw,51px);line-height:1.12;letter-spacing:-.03em;font-weight:400;margin:0}
.hero-stroke{height:5px;width:115px;border-radius:3px;margin:27px 0 0 35px;background:linear-gradient(90deg,#d050fa,#873de9 52%,transparent)}
.motto{max-width:660px;margin:23px 0 0 35px;color:#f5e9ff;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:clamp(17px,1.38vw,23px);line-height:1.3;letter-spacing:.015em;text-shadow:0 2px 15px rgba(9,7,30,.62)}
/* A physically separate picture. No absolute positioning, so the contact panel cannot overlap. */
.hero-art{position:relative;display:block;min-height:0;height:0;flex:1;margin:0 0 -8px -20px;overflow:hidden;isolation:isolate;-webkit-mask-image:radial-gradient(ellipse 89% 79% at 55% 53%,#000 59%,transparent 100%);mask-image:radial-gradient(ellipse 89% 79% at 55% 53%,#000 59%,transparent 100%)}
.hero-art img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.contact-card{align-self:center;justify-self:end;width:100%;padding:36px 36px 31px;border:1.2px solid rgba(193,186,255,.72);border-radius:28px;background:linear-gradient(155deg,rgba(11,15,40,.94),rgba(26,23,57,.88));box-shadow:0 0 23px rgba(139,104,255,.18),0 0 75px rgba(94,75,215,.1),inset 0 0 25px rgba(132,117,216,.07);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}
.contact-card h2{margin:0 0 9px;font-size:35px;line-height:1.16;letter-spacing:-.032em;font-weight:750}
.contact-caption{font-size:18px;color:#d0cce4;margin:0 0 23px}
form{display:flex;flex-direction:column;gap:14px}
.form-field{position:relative;width:100%;display:flex;align-items:center;min-height:57px;border:1px solid rgba(191,189,229,.48);border-radius:15px;background:rgba(29,34,70,.57);transition:border-color .18s,background .18s}
.form-field:focus-within{border-color:#bd8bff;background:rgba(42,43,88,.85)}
.form-field>svg{width:27px;height:27px;margin-left:19px;flex:0 0 27px;fill:none;stroke:#ebe7ff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.form-field input,.form-field textarea{width:100%;background:transparent;outline:0;border:0;padding:15px 15px 15px 17px;font:inherit;font-size:17px;color:#fff}
.form-field input::placeholder,.form-field textarea::placeholder{color:#ebebfa;opacity:.95}
.message-field{align-items:flex-start;min-height:115px}
.message-field svg{margin-top:17px}
.form-field textarea{height:115px;resize:vertical;min-height:100px}
.send-button{margin-top:6px;min-height:61px;display:flex;align-items:center;justify-content:center;gap:15px;background:linear-gradient(105deg,#b64bf8,#7629df);border:1px solid rgba(214,151,255,.48);color:#fff;border-radius:15px;cursor:pointer;font:inherit;font-size:18px;font-weight:700;box-shadow:0 9px 35px rgba(125,37,236,.15);transition:filter .2s,transform .2s}
.send-button:hover{filter:brightness(1.13);transform:translateY(-1px)}
.send-button:focus-visible{outline:2px solid #fff;outline-offset:4px}
.send-button svg{height:27px;width:27px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.privacy{display:flex;align-items:center;justify-content:center;gap:11px;margin-top:19px;font-size:14px}
.privacy svg{width:19px;height:19px;fill:none;stroke:#fff;stroke-width:1.6}
.alert{font-size:14px;margin:0 0 13px;padding:10px 12px;border-radius:9px;line-height:1.4}
.alert.success{background:rgba(13,105,71,.5);border:1px solid #6eccaf}
.alert.error{background:rgba(118,30,56,.57);border:1px solid #e792a5}
.trap,.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.footer{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-top:12px;border-top:1px solid rgba(194,169,243,.3);font-size:13px;min-height:32px}
.footer-glow{height:4px;width:24%;border-radius:9px;background:linear-gradient(90deg,rgba(90,36,208,0),#ad49e5)}
/* Fixed-width contact card and stable two-column layout on desktop/browser zoom. */
@media(max-width:1450px){.site{padding:22px 39px 17px}.content{grid-template-columns:minmax(0,1fr) 480px;gap:36px}.hero h1{font-size:clamp(52px,5.5vw,78px)}.slogan p{font-size:clamp(31px,3.2vw,43px)}.contact-card{padding:28px}.contact-card h2{font-size:31px}.contact-caption{font-size:16px}}
@media(max-width:1120px){.site{padding:18px 28px 14px}.content{grid-template-columns:minmax(0,1fr) 390px;gap:23px}.hero-copy{padding-left:0;padding-top:25px}.hero h1{font-size:clamp(43px,5.1vw,58px)}.slogan{gap:16px}.slogan p{font-size:30px}.contact-card{padding:22px;border-radius:24px}.contact-card h2{font-size:27px}.contact-caption{margin-bottom:17px;font-size:15px}.form-field{min-height:49px}.form-field input{padding:12px 13px}.message-field,.form-field textarea{height:91px;min-height:91px}.form-field textarea{padding-top:11px}.message-field svg{margin-top:12px}.form-field>svg{width:23px;height:23px;flex-basis:23px;margin-left:13px}form{gap:11px}.send-button{min-height:53px;margin-top:2px;font-size:16px}.privacy{font-size:12px;margin-top:13px}}
/* Short desktop windows: fit card inside viewport without switching to the phone layout. */
@media(min-width:821px) and (max-height:740px){.hero-copy{padding-top:10px}.hero h1{margin-bottom:14px}.hero-stroke{margin-top:15px}.content{padding-top:5px;padding-bottom:5px}.contact-card{padding:18px 22px}.contact-card h2{font-size:26px}.contact-caption{margin-bottom:12px}.form-field{min-height:45px}.form-field input{padding-top:10px;padding-bottom:10px}.message-field,.form-field textarea{height:76px;min-height:76px}.form-field textarea{padding-top:9px}.form-field svg{width:21px;height:21px}.message-field svg{margin-top:10px}.send-button{min-height:47px}.privacy{margin-top:11px}.site{padding-top:12px;padding-bottom:11px}}
@media(min-width:821px) and (max-height:590px){.site{min-height:590px}.hero-art{min-height:245px}}
@media(min-width:821px){.hero-copy{padding-top:clamp(45px,9vh,105px)}}
@media(min-width:821px) and (max-height:740px){.hero-copy{padding-top:28px}.motto{margin-top:14px;font-size:17px}}
@media(max-width:1120px) and (min-width:821px){.motto{font-size:clamp(15px,1.6vw,19px);margin-left:24px;margin-top:17px}}
/* Real mobile layout: complete scenic image first, then form below it. */
@media(max-width:820px){.site{padding:20px 24px 18px;display:flex;flex-direction:column;min-height:100dvh}.content{display:flex;flex-direction:column;gap:20px;align-items:stretch;padding:34px 0 24px;min-height:auto;max-width:660px;width:100%;margin:0 auto}.hero{display:flex;flex-direction:column}.hero-copy{padding:0}.hero h1{font-size:clamp(46px,8.5vw,69px);margin-bottom:20px}.slogan p{font-size:clamp(30px,5.4vw,42px)}.hero-stroke{margin-top:19px}.hero-art{flex:none;width:100%;height:clamp(255px,45vw,370px);min-height:255px;margin:0;-webkit-mask-image:radial-gradient(ellipse 87% 77% at 55% 52%,black 59%,transparent 100%);mask-image:radial-gradient(ellipse 87% 77% at 55% 52%,black 59%,transparent 100%)}.contact-card{max-width:660px;align-self:stretch;justify-self:stretch;padding:24px}.footer{margin-top:auto;min-height:35px}}
@media(max-width:540px){.site{padding:18px 16px}.content{padding-top:38px;gap:10px}.hero h1{font-size:clamp(43px,11.5vw,61px);margin-bottom:20px}.slogan{gap:16px}.slogan p{font-size:clamp(29px,7vw,38px)}.slogan-bar{width:5px}.hero-stroke{margin:16px 0 0 31px;width:95px}.hero-art{height:280px;min-height:280px;margin:0}.contact-card{padding:22px 19px;border-radius:22px}.contact-card h2{font-size:27px}.contact-caption{font-size:14px}.form-field{min-height:50px}.form-field input,.form-field textarea{font-size:15px}.message-field,.form-field textarea{height:115px;min-height:115px}.send-button{min-height:55px;font-size:15px}.privacy{font-size:12px}.footer{font-size:11px}}
@media(max-width:820px){.motto{max-width:100%;margin:19px 0 13px 0;font-size:clamp(16px,2.8vw,20px)}}
@media(max-width:540px){.motto{margin:19px 0 8px 0;font-size:17px;line-height:1.35}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Desktop hero: picture occupies the full LEFT column, with lettering on the dark sky.
   It never enters the contact card's separate grid column. */
@media(min-width:821px){
  .hero{display:block;position:relative}
  .hero-copy{position:relative;z-index:2}
  .hero-art{position:absolute;inset:0 -8px 0 -12px;width:auto;height:auto;min-height:0;margin:0;flex:none;
    -webkit-mask-image:radial-gradient(ellipse 86% 85% at 53% 59%,black 62%,transparent 100%);
    mask-image:radial-gradient(ellipse 86% 85% at 53% 59%,black 62%,transparent 100%)}
  .hero-art img{object-fit:cover;object-position:50% 50%}
}
/* Merge the landscape into the dark page rather than leaving photo rectangle edges. */
.hero-art::after{content:"";position:absolute;inset:-1px;pointer-events:none;z-index:1;background:linear-gradient(180deg,#090c20 0%,rgba(9,12,32,0) 15%,rgba(9,12,32,0) 85%,#090c20 100%),linear-gradient(90deg,#090c20 0%,rgba(9,12,32,0) 9%,rgba(9,12,32,0) 90%,#090c20 100%)}
