/* =========================================================
   FRIGO-DESPOT — design tokens
   ========================================================= */
:root{
  --ink:        #0D1216;
  --ink-soft:   #131A20;
  --panel:      #182029;
  --panel-2:    #1E2831;
  --line:       #2A3540;
  --frost:      #F2F7F9;
  --frost-dim:  #A9B8C1;
  --frost-mute: #7C8B95;

  --cold:       #3FA9E0;
  --cold-dim:   #1F6E99;
  --warm:       #E8873A;
  --warm-dim:   #B85F1F;

  --accent:     var(--cold);
  --accent-dim: var(--cold-dim);

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --radius: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

body.mode-heat{
  --accent: var(--warm);
  --accent-dim: var(--warm-dim);
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 84px; }
body{
  margin:0;
  background: var(--ink);
  color: var(--frost);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font: inherit; }
h1,h2,h3{ font-family: var(--font-display); margin:0; }
p{ margin:0; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

.container{
  width:100%;
  max-width: 1180px;
  margin:0 auto;
  padding: 0 24px;
}

:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal{
  opacity:0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in-view{
  opacity:1;
  transform:none;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 100;
  background: rgba(13,18,22,0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled{
  background: rgba(13,18,22,0.92);
  border-bottom-color: var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 72px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  color: var(--frost);
}
.logo-mark{ color: var(--accent); display:flex; transition: color .4s var(--ease); }
.logo-mark--placeholder{
  width: 34px;
  height: 34px;
  align-items:center;
  justify-content:center;
  border-radius: 9px;
  border: 1px dashed var(--line);
  background: repeating-linear-gradient(45deg, var(--panel), var(--panel) 6px, var(--panel-2) 6px, var(--panel-2) 12px);
  color: var(--frost-mute);
  flex-shrink:0;
}
.logo-img{
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink:0;
  border-radius: 6px;
}
.logo-text{
  font-family: var(--font-display);
  font-weight:700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}
.logo-dash{ color: var(--accent); transition: color .4s var(--ease); }

.main-nav{
  display:flex;
  gap: 32px;
}
.main-nav a{
  font-size: 0.94rem;
  color: var(--frost-dim);
  transition: color .2s var(--ease);
  position:relative;
}
.main-nav a:hover{ color: var(--frost); }

.header-actions{ display:flex; align-items:center; gap:18px; }
.phone-cta{
  display:flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--accent);
  padding: 9px 16px;
  border-radius: 100px;
  transition: background .3s var(--ease), transform .2s var(--ease);
}
.phone-cta:hover{ transform: translateY(-1px); }

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:38px; height:38px;
  background:none;
  border:1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:16px; height:2px;
  margin:0 auto;
  background: var(--frost);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  padding: 150px 0 90px;
  overflow:hidden;
}
.hero-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 30%, transparent 75%);
  opacity: 0.4;
}
.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items:center;
}
.eyebrow{
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 18px;
  transition: color .4s var(--ease);
}
.eyebrow--dark{ color: var(--accent-dim); }

.hero-title{
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--frost);
  margin-bottom: 22px;
}
.mode-word{ color: var(--accent); transition: color .4s var(--ease); }

.hero-sub{
  color: var(--frost-dim);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-sub strong{ color: var(--frost); font-weight:600; }

.mode-switch{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap: 10px 16px;
  margin-bottom: 34px;
}
.mode-btn{
  display:flex;
  align-items:center;
  gap:8px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--frost-dim);
  cursor:pointer;
  font-size: 0.88rem;
  transition: all .3s var(--ease);
}
.mode-btn:hover{ color: var(--frost); }
.mode-btn.is-active{
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  font-weight:600;
}
.mode-note{
  font-size: 0.78rem;
  color: var(--frost-mute);
  font-family: var(--font-mono);
}

.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight:600;
  font-size: 0.95rem;
  cursor:pointer;
  border:1px solid transparent;
  transition: transform .2s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn-primary{
  background: var(--accent);
  color: var(--ink);
}
.btn-primary:hover{ transform: translateY(-2px); }
.btn-ghost{
  background:transparent;
  border-color: var(--line);
  color: var(--frost);
}
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }
.btn-block{ width:100%; border:none; }

/* --- Gauge --- */
.hero-visual{ display:flex; justify-content:center; }
.gauge-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 22px;
  width: min(100%, 380px);
}
.gauge{ width: 100%; }
.gauge-face{ fill: var(--panel); stroke: var(--line); stroke-width:1.5; }
.gauge-inner{ fill: var(--ink-soft); stroke: var(--line); stroke-width:1; }
.gauge-label{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-anchor:middle;
  fill: var(--frost-mute);
}
.gauge-label--cold{ fill: var(--cold); }
.gauge-label--heat{ fill: var(--warm); }

/* Readout sits OUTSIDE the dial, below it — the needle can never reach it */
.gauge-readout{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 4px;
  padding: 14px 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.gauge-readout-value{
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight:700;
  color: var(--frost);
}
.gauge-readout-unit{
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--frost-mute);
}

.needle{ transition: transform .6s var(--ease); }
.needle-line{ stroke: var(--accent); stroke-width:3; stroke-linecap:round; transition: stroke .4s var(--ease); }
.needle-hub{ fill: var(--accent); transition: fill .4s var(--ease); }
.gauge-ticks line{ stroke: var(--line); stroke-width:2; }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
}
.trust-inner{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 34px 24px;
}
.trust-item{
  display:flex;
  flex-direction:column;
  gap:4px;
  text-align:center;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.trust-item:first-child{ border-left:none; padding-left:0; }
.trust-num{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight:700;
  color: var(--accent);
  transition: color .4s var(--ease);
}
.trust-text{
  font-size: 0.78rem;
  color: var(--frost-mute);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* =========================================================
   SECTION GENERICS
   ========================================================= */
section{ padding: 96px 0; }
.section-title{
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--frost);
  margin-bottom: 14px;
  max-width: 20ch;
}
.section-sub{
  color: var(--frost-dim);
  max-width: 60ch;
  font-size: 1.02rem;
  margin-bottom: 46px;
}

/* =========================================================
   SERVICES / MENU
   ========================================================= */
.services{ background: var(--ink-soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.menu-list{ display:flex; flex-direction:column; }
.menu-item{
  display:grid;
  grid-template-columns: 52px 1fr auto;
  gap: 20px;
  align-items:center;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.menu-item:hover{ background: rgba(255,255,255,0.02); }
.menu-item:first-child{ border-top: 1px solid var(--line); }
.menu-icon{
  width:52px; height:52px;
  display:flex; align-items:center; justify-content:center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--accent);
  transition: color .4s var(--ease);
}
.menu-body h3{
  font-size: 1.08rem;
  color: var(--frost);
  font-weight:600;
  margin-bottom: 6px;
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.menu-tag{
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-dim);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight:400;
  transition: color .4s var(--ease);
}
.menu-body p{ color: var(--frost-mute); font-size:0.92rem; max-width: 56ch; }
.menu-price{
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--frost-dim);
  white-space:nowrap;
  padding: 6px 14px;
  border: 1px dashed var(--line);
  border-radius: 100px;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-inner{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items:start;
}
.badge-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 28px;
}
.badge{
  display:flex;
  align-items:center;
  gap:7px;
  font-size: 0.84rem;
  color: var(--frost);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 100px;
}
.badge svg{ color: var(--accent); flex-shrink:0; transition: color .4s var(--ease); }

.about-card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 26px;
}
.spec-row{
  display:flex;
  justify-content:space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.spec-row:last-child{ border-bottom:none; }
.spec-row span{ color: var(--frost-mute); font-family: var(--font-mono); font-size:0.8rem; flex-shrink:0; padding-top:2px; }
.spec-row strong{ color: var(--frost); text-align:right; font-weight:500; }
.spec-row a:hover{ color: var(--accent); }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery{ background: var(--ink-soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery-item--wide{ grid-column: span 2; }
.gallery-item{ margin:0; }
.gallery-placeholder{
  width:100%; height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:
    repeating-linear-gradient(45deg, var(--panel), var(--panel) 10px, var(--panel-2) 10px, var(--panel-2) 20px);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  color: var(--frost-mute);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.gallery-item:hover .gallery-placeholder{ color: var(--accent); border-color: var(--accent-dim); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-inner{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-rows{ display:flex; flex-direction:column; gap:16px; margin-top: 10px; }
.contact-row{
  display:flex;
  align-items:center;
  gap:14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--frost);
}
.contact-row svg{ color: var(--accent); flex-shrink:0; transition: color .4s var(--ease); }

.contact-form{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display:flex;
  flex-direction:column;
  gap: 18px;
}
.form-row{ display:flex; flex-direction:column; gap:8px; }
.form-row label{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--frost-mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-row input, .form-row textarea{
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--frost);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color .2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus{
  border-color: var(--accent);
  outline: none;
}
.form-status{
  font-size: 0.85rem;
  font-family: var(--font-mono);
  min-height: 1.2em;
  color: var(--accent);
}

/* =========================================================
   LOCATION / MAP
   ========================================================= */
.location{ background: var(--ink-soft); border-top:1px solid var(--line); }
.map-frame{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
  filter: grayscale(0.15) contrast(1.05);
}
.map-frame iframe{ display:block; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 60px;
}
.footer-inner{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p{ color: var(--frost-mute); font-size:0.88rem; margin-top:12px; max-width: 32ch; }
.footer-col h4{
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--frost-mute);
  margin-bottom: 16px;
}
.footer-col{ display:flex; flex-direction:column; gap:10px; font-size:0.9rem; color: var(--frost-dim); }
.footer-col a:hover{ color: var(--accent); }
.footer-bottom{
  border-top: 1px solid var(--line);
  padding: 22px 24px;
  font-size: 0.8rem;
  color: var(--frost-mute);
  font-family: var(--font-mono);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ order:-1; max-width: 300px; margin: 0 auto 20px; }
  .about-inner{ grid-template-columns: 1fr; }
  .contact-inner{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px){
  .main-nav{
    position: fixed;
    top: 72px; left:0; right:0;
    background: var(--ink-soft);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 24px 26px;
    gap: 18px;
    transform: translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .main-nav.is-open{ opacity:1; transform:none; pointer-events:auto; }
  .nav-toggle{ display:flex; }
  .phone-cta span{ display:none; }
  .phone-cta{ padding: 10px; }

  .trust-inner{ grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3){ border-left:none; padding-left:0; }

  .menu-item{ grid-template-columns: 44px 1fr; }
  .menu-price{ grid-column: 2; justify-self:start; margin-top: 4px; }

  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-item--wide{ grid-column: span 2; }

  .footer-inner{ grid-template-columns: 1fr; gap: 28px; }
  section{ padding: 70px 0; }
  .hero{ padding: 120px 0 60px; }
}

@media (max-width: 480px){
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
}