/* SilvAlpin.ro — static site, no WordPress */
:root{
  --bg:#eaeef0; --navy:#252f45; --navy-2:#2e3a55; --ink:#333; --muted:#657d95;
  --light:#fbfcfe; --red:#e1251b; --blue:#3a8ede; --line:#d5dbe0;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.65 "Helvetica Neue",Helvetica,Arial,sans-serif}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue)}
h1,h2,h3{font-family:"Open Sans",sans-serif;font-weight:700;line-height:1.1;margin:0 0 .4em}
.wrap{max-width:1140px;margin:0 auto;padding:0 20px}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px}

/* header */
.top{background:#fff;position:sticky;top:0;z-index:10;box-shadow:0 1px 0 var(--line)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;flex-wrap:wrap}
.logo img{width:150px;height:50px}
.nav{display:flex;flex-wrap:wrap;gap:4px 26px;margin:0;padding:0;list-style:none}
.nav a{color:var(--ink);text-decoration:none;font-weight:700;font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;padding:8px 0;border-bottom:2px solid transparent}
.nav a:hover,.nav a[aria-current]{border-color:var(--red)}
.menu-btn{display:none;background:none;border:0;font-size:26px;cursor:pointer}
@media(max-width:860px){
  .menu-btn{display:block}
  .nav{display:none;width:100%;flex-direction:column;padding:0 0 14px}
  .nav.open{display:flex}
}

/* sections */
.sec{padding:90px 0}
.sec.navy{background:var(--navy);color:#c9d2dc}
.sec.navy h1,.sec.navy h2,.sec.navy h3{color:var(--bg)}
.big{font-size:clamp(40px,6vw,70px)}
.sub{color:var(--red);font-size:13px;margin:0 0 40px}
.sub b{color:var(--red)}
.navy .sub{color:#ff6b62}
.cols{display:grid;gap:40px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.two{display:grid;gap:50px;grid-template-columns:1fr 1fr;align-items:start}
@media(max-width:800px){.two{grid-template-columns:1fr}.sec{padding:60px 0}}

/* hero */
.hero{padding:60px 0;background-size:cover;background-position:center}
.hero.has-video{position:relative;overflow:hidden;background:var(--navy);min-height:640px;display:flex;align-items:center}
.hero.has-video .wrap{width:100%}
.hero-video{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;background-size:cover;background-position:center}
/* 16:9 "cover", oversized so YouTube's edges/branding fall outside the visible area */
.hero-video::before,.hero-video iframe{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:0;
  width:calc(max(100vw,177.78vh,1138px) * 1.4);height:calc(max(100%,56.25vw,640px) * 1.4);
}
.hero-video::before{content:"";background:var(--poster) center/cover no-repeat}
.hero-video iframe{opacity:0;transition:opacity .8s}
.hero-video iframe.playing{opacity:1}
.hero.has-video .wrap{position:relative;z-index:1}
@media(prefers-reduced-motion:reduce){.hero-video{display:none}}
.card{background:rgba(255,255,255,.85);max-width:400px;padding:16px 16px 26px}
.card h1{font-size:clamp(30px,4vw,42px);color:var(--navy);margin-top:24px}
.card p{font-size:17px}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:10px;background:var(--blue);color:#fff;text-decoration:none;font-weight:700;font-size:14px;padding:13px 22px;border-radius:3px;margin-top:18px}
.btn:hover{background:#2b77c2}
.btn svg{width:16px;height:16px;fill:currentColor}

/* stats */
.stat .n{font-family:"Open Sans",sans-serif;font-size:clamp(52px,8vw,76px);font-weight:300;color:#fff;line-height:1}
.stat .l{color:#fff;letter-spacing:.08em;margin:6px 0 18px}

/* services & features */
.svc img{margin-bottom:22px}
.svc h3{font-size:30px;color:var(--blue)}
.navy .svc h3{color:var(--blue)}
.feat img{width:110px;margin-bottom:16px}
.feat h3{font-size:24px;color:var(--navy)}
.list{padding-left:18px}
.list li{margin:4px 0}

/* testimonial */
.who{display:flex;gap:16px;align-items:center;margin-bottom:20px}
.who img{width:64px;height:64px;border-radius:50%}
.who h3{font-size:22px;color:var(--navy);margin:0}
.who span{color:var(--red);font-size:13px}
blockquote{margin:0;font-size:16px;font-style:italic}

/* partners */
.partners{display:flex;flex-wrap:wrap;gap:24px;align-items:center;margin-top:30px}
.partners img{height:55px;width:auto;filter:grayscale(1);opacity:.85}

/* magazine block */
.mag{background-size:cover;background-position:center}
.mag .panel{background:rgba(37,47,69,.92);color:#d6dde5;padding:40px}
.mag .panel h3{color:#fff}

/* contact */
.contact-box{background:#fff;padding:40px}
.contact-box p{margin:.3em 0;font-size:17px}
.map{border:0;width:100%;height:420px}

/* footer */
.foot{background:var(--navy);color:#a6acb5;padding:60px 0 30px;font-size:13.5px}
.foot h4{color:#fff;text-transform:uppercase;font-size:15px;margin:0 0 18px}
.foot a{color:#a6acb5}
.foot .cols{gap:40px}
.foot .bottom{border-top:1px solid #3a4560;margin-top:40px;padding-top:20px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}
.foot .bottom nav a{margin-left:14px;text-decoration:none}
.foot .bottom nav a:first-child{margin-left:0}
.totop{position:fixed;right:18px;bottom:18px;width:42px;height:42px;background:var(--red);color:#fff;display:grid;place-items:center;text-decoration:none;font-size:20px;border-radius:2px}
