:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --panel:#f8fafc;

  /* hero sinine (frigo suund) */
  --accent:#3b39e3;
  --accentDark:#2624c7;

  --max:1180px;
  --radius:14px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.6;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width: min(100% - 32px, var(--max));
  margin:0 auto;
}

/* HEADER */
.header{
  position: sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
}

/* logo "aken" */
.brand-logo-wrap{
  height:64px;
  width: 240px;
  overflow:hidden;
  display:flex;
  align-items:center;
}

.brand-logo{
  height:64px;
  width:auto;
  display:block;
  transform: translateX(-12px); /* nihuta vasakule vastavalt vajadusele */
}

.links{
  display:flex;
  gap:18px;
  align-items:center;
}

.links a{
  font-size:14px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:10px;
}

.links a:hover,
.links a.active{
  background:#eef2ff;
  color:#1e3a8a;
}

.actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.btn{
  padding:10px 14px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:700;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.btn.primary{
  background: var(--accent);
  color:#fff;
  border: 1px solid rgba(255,255,255,.0);
}

.lang{
  display:flex;
  gap:6px;
  border:1px solid var(--line);
  border-radius: 12px;
  padding:4px;
  background: #fff;
}
.lang button{
  border:0;
  background:transparent;
  color: var(--muted);
  padding:8px 10px;
  border-radius: 10px;
  cursor:pointer;
  font-size:12px;
  letter-spacing:.3px;
}
.lang button.active{
  color: var(--accent);
  background: rgba(59,57,227,.10);
  outline: 1px solid rgba(59,57,227,.18);
}

/* HERO */
.hero-frigo{
  position:relative;
  overflow:hidden;
  color:#fff;
  padding:120px 0 140px;
  background: linear-gradient(135deg, var(--accent) 0%, #2f2dd6 60%, var(--accentDark) 100%);
}

.hero-frigo::after{
  content:"";
  position:absolute;
  right:-140px;
  top:-140px;
  width:460px;
  height:460px;
  background:rgba(255,255,255,.08);
  border-radius:50%;
  z-index: 1;
}

.hero-inner{
  text-align:center;
  position:relative;
  z-index: 3;
}

/* Hero eyebrow eemaldatud (sama tekst on all) */
.hero-eyebrow{
  display:none !important;
}

/* HERO title – larger, premium */
.hero-frigo h1{
  margin: 0 0 20px;
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-size: clamp(56px, 6.6vw, 104px);
  text-shadow:
    0 18px 60px rgba(0,0,0,.22),
    0 2px 0 rgba(255,255,255,.06);
}

.hero-frigo h1 span{
  display:block;
  margin-top: 16px;
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  opacity: 1;
  color: rgba(255,255,255,.92);
}

/* subtle underline accent for the subline */
.hero-frigo h1 span::after{
  content:"";
  display:block;
  width: min(260px, 70%);
  height: 4px;
  border-radius: 999px;
  margin: 16px auto 0;
  background: rgba(255,255,255,.26);
}

.hero-sub{
  max-width:860px;
  margin:0 auto 34px;
  font-size:18px;
  line-height:1.7;
  color: rgba(255,255,255,.90);
}

.hero-cta-wrap{
  display:flex;
  justify-content:center;
}

.btn.hero-btn{
  background:#ffffff;
  color:#2f2dd6;
  border:none;
  padding:18px 44px;
  font-size:18px;
  font-weight:800;
  border-radius:16px;
  letter-spacing:.01em;
  box-shadow:0 18px 40px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn.hero-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 26px 50px rgba(0,0,0,.35);
}

/* HERO TRUCK */
.hero-truck{
  position:absolute;
  left:-820px;
  bottom: 14px;
  z-index:2;
  pointer-events:none;
  animation: truck-move 18s linear infinite;
  opacity: 0.18;
}

.hero-truck img{
  width: 760px;
  height: auto;
  filter: invert(1) brightness(1.05);
  opacity: 0.9;
}

@keyframes truck-move{
  0%   { transform: translateX(0); }
  100% { transform: translateX(170vw); }
}

/* Kui kasutajal on motion disabled */
@media (prefers-reduced-motion: reduce){
  .hero-truck{ animation: none; }
}

/* mobiilil hoia rahulikum + hero title scaling */
@media (max-width: 768px){
  .hero-frigo{ padding: 90px 0 110px; }

  .hero-frigo h1{
    font-size: clamp(42px, 9.6vw, 64px);
    line-height: 1.02;
  }
  .hero-frigo h1 span{
    font-size: clamp(18px, 4.8vw, 24px);
    margin-top: 12px;
  }
  .hero-frigo h1 span::after{
    height: 3px;
    margin-top: 12px;
  }
  .hero-sub{
    font-size: 16px;
    margin-bottom: 28px;
  }

  .hero-truck{
    opacity: 0.12;
    animation-duration: 22s;
    bottom: 6px;
  }
  .hero-truck img{ width: 520px; }
}

/* SERVICES (home) */
.services-home{
  padding: 70px 0;
  background:#fff;
}

.services-head{
  max-width: 820px;
  margin: 0 auto 34px;
  text-align:center;
}

.services-head h2{
  margin:0 0 10px;
  font-size: 30px;
  letter-spacing:-.2px;
}

.services-head p{
  margin:0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.services-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1000px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .services-grid{ grid-template-columns: 1fr; }
}

.svc{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  background: #fff;
  display:flex;
  gap: 14px;
  align-items:flex-start;
}

.svc-ico{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef2ff;
  font-size: 20px;
  flex: 0 0 auto;
}

.svc-body h3{
  margin:0 0 6px;
  font-size: 16px;
}

.svc-body p{
  margin:0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.services-actions{
  margin-top: 26px;
  display:flex;
  gap: 14px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
}

.link{
  color: #1e3a8a;
  font-weight:700;
  padding: 10px 6px;
}
.link:hover{
  text-decoration: underline;
}

/* PARTNERS */
.partners{
  padding: 60px 0 70px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.partners-head{
  text-align:center;
  max-width: 720px;
  margin: 0 auto 34px;
}

.partners-head h3{
  margin:0 0 8px;
  font-size: 22px;
}

.partners-head p{
  margin:0;
  color: var(--muted);
  font-size: 15px;
  line-height:1.6;
}

.partners-logos{
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 46px;
  flex-wrap:wrap;
}

.partner{
  display:flex;
  align-items:center;
  justify-content:center;
  height: 64px;
  padding: 6px 10px;
  opacity: .78;
  transition: opacity .2s ease;
}

.partner img{
  max-height: 48px;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(100%);
}

.partner:hover{
  opacity: 1;
}

.partner:hover img{
  filter: grayscale(0%);
}

/* FOOTER */
.footer{
  border-top:1px solid var(--line);
  padding:30px 0;
  font-size:14px;
  color:var(--muted);
}

.footer-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  flex-wrap:wrap;
}

.footer-strong{
  color: var(--text);
  font-weight:800;
  margin-bottom:6px;
}

.footer a{
  color: var(--text);
  font-weight:700;
}

.footer-links{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}

.muted{ color: var(--muted); }

/* PAGE HEAD */
.page-head{
  padding: 36px 0 18px;
  text-align:center;
}
.page-head h1{
  margin:0 0 10px;
  font-size: 34px;
  letter-spacing:-.2px;
}
.page-head p{
  margin:0;
  color: var(--muted);
}

/* ALERTS */
.alert{
  margin: 14px auto 0;
  max-width: 900px;
  border-radius: 12px;
  padding: 12px 14px;
  border:1px solid var(--line);
  font-weight:700;
}
.alert.success{
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #065f46;
}
.alert.error{
  background: #fef2f2;
  border-color: #fecaca;
  color: #7f1d1d;
}

/* FORM */
.form-wrap{
  max-width: 980px;
  margin: 18px auto 60px;
}
.form{
  border:1px solid var(--line);
  border-radius: 16px;
  background:#fff;
  padding: 18px;
}

.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 860px){
  .form-grid{ grid-template-columns: 1fr; }
}

.field{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.field-full{
  grid-column: 1 / -1;
}

.field label{
  font-size:13px;
  font-weight:800;
  color: var(--text);
}
.field input,
.field select,
.field textarea{
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  outline: none;
  font-size: 14px;
}
.field textarea{
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(59,57,227,.55);
  box-shadow: 0 0 0 4px rgba(59,57,227,.12);
}

.hint{
  font-size:13px;
  color: var(--muted);
  padding-top: 22px;
}

.form-actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin-top: 16px;
}

.form-note{
  text-align:center;
  color: var(--muted);
  font-size: 12px;
  max-width: 720px;
}

/* Honeypot hidden */
.hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
}

/* TEENUSED PAGE */
.services-cards{
  max-width: 1100px;
  margin: 22px auto 60px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 920px){
  .services-cards{ grid-template-columns: 1fr; }
}

.svc-card{
  border:1px solid var(--line);
  border-radius: 16px;
  background:#fff;
  padding: 18px 16px;
  display:flex;
  gap: 14px;
  align-items:flex-start;
  min-height: 170px;
}

.svc-icobadge{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eef2ff;
  display:flex;
  align-items:center;
  justify-content:center;
  color: #1e3a8a;
  flex: 0 0 auto;
}

.svc-content h2{
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -.1px;
}

.svc-content p{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.svc-content ul{
  margin: 0;
  padding-left: 18px;
}

.svc-content li{
  margin: 6px 0;
  color: var(--text);
  font-size: 14px;
}

/* hover */
.svc-card:hover{
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
  border-color: rgba(59,57,227,.22);
}

/* CTA band */
.cta-band{
  border:1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(59,57,227,.10), rgba(59,57,227,.04));
  padding: 22px;
  max-width: 1100px;
  margin: 0 auto 70px;
}
.cta-inner{ text-align:center; }
.cta-inner h3{
  margin:0 0 8px;
  font-size: 22px;
}
.cta-inner p{
  margin:0 auto 16px;
  max-width: 820px;
  color: var(--muted);
}
.cta-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

/* CONTACT PAGE */
.contact-grid{
  max-width: 980px;
  margin: 22px auto 40px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; }
}

.contact-card{
  border:1px solid var(--line);
  border-radius: 16px;
  background:#fff;
  padding: 18px 16px;
}

.contact-card h2{
  margin:0 0 12px;
  font-size: 18px;
}

.contact-item{
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.contact-item:first-of-type{ border-top:0; padding-top:0; }

.contact-label{
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 6px;
}

.contact-value{
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.contact-actions{
  margin-top: 16px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.map-box{
  margin-top: 14px;
  border:1px solid var(--line);
  border-radius: 14px;
  background: #f1f5f9;
  overflow:hidden;
}

.map-placeholder{
  height: 240px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: #334155;
  font-weight: 800;
}

/* ABOUT PAGE */
.about-hero{
  max-width: 1100px;
  margin: 22px auto 18px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
}
@media (max-width: 980px){
  .about-hero{ grid-template-columns: 1fr; }
}

.about-card{
  border:1px solid var(--line);
  border-radius: 16px;
  background:#fff;
  padding: 18px 16px;
}

.about-card h2{
  margin:0 0 10px;
  font-size: 20px;
}

.about-card p{
  margin:0 0 10px;
  color: var(--muted);
}

.about-actions{
  margin-top: 14px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.about-stats{
  border:1px solid var(--line);
  border-radius: 16px;
  background:#fff;
  padding: 10px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.stat{
  border:1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px;
  background: #fff;
}

.stat-k{
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text);
}

.stat-v{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.about-grid{
  max-width: 1100px;
  margin: 14px auto 60px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .about-grid{ grid-template-columns: 1fr; }
}

.about-block{
  border:1px solid var(--line);
  border-radius: 16px;
  background:#fff;
  padding: 18px 16px;
}

.about-block h3{
  margin:0 0 10px;
  font-size: 16px;
  letter-spacing: -.1px;
}

.bullets{
  margin:0;
  padding-left: 18px;
}
.bullets li{
  margin: 8px 0;
  color: var(--muted);
}
.bullets strong{ color: var(--text); }

.steps{
  margin:0;
  padding-left: 18px;
}
.steps li{
  margin: 10px 0;
  color: var(--muted);
}
.steps strong{ color: var(--text); }

/* PRIVACY */
.privacy-content{
  max-width: 900px;
  margin: 20px auto 70px;
}

.privacy-content h2{
  margin: 26px 0 8px;
  font-size: 18px;
}

.privacy-content p{
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
}

.privacy-content ul{
  margin: 0 0 10px;
  padding-left: 18px;
}

.privacy-content li{
  margin: 6px 0;
  color: var(--muted);
}

/* 404 PAGE */
.notfound{
  min-height: 60vh;
  display:flex;
  align-items:center;
  justify-content:center;
}

.nf-box{
  text-align:center;
  max-width: 520px;
  padding: 30px 22px;
  border:1px solid var(--line);
  border-radius: 20px;
  background:#fff;
}

.nf-code{
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -2px;
  color: #2f2dd6;
  margin-bottom: 10px;
}

.notfound h1{
  margin: 0 0 10px;
  font-size: 24px;
}

.notfound p{
  margin: 0 0 20px;
  color: var(--muted);
}

.nf-actions{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
}

/* --- Mobile fix pack (global) --- */
html, body { width: 100%; }
body { min-width: 0; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }

/* Container never fixed-width */
.container { width: min(100% - 32px, var(--max)); }

/* Header wrap on smaller screens */
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; gap: 10px; }

  .links {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 6px 0;
  }

  .actions {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* Force single-column where needed */
@media (max-width: 700px) {
  .services-grid,
  .about-grid {
    grid-template-columns: 1fr !important;
  }
}
.footer a.muted:hover{
  text-decoration: underline;
  color: var(--text);
}
