/* =========================================================
   AKFA Comfort — sayqal qatlami (main.css ustidan)
   Asl uslub saqlanadi: to'q fon, AKFA qizili, Aeonik.
   ========================================================= */
:root{
  --red:#e74c3c; --red-2:#ff6b5b;
  --ink:#0d0d0d; --panel:#121212; --panel-2:#161616;
  --line:hsla(0,0%,100%,.07); --line-2:hsla(0,0%,100%,.12);
  --text:#f2f2f2; --muted:#9a9a9a; --muted-2:#6f6f6f;
  --ease:cubic-bezier(.22,.8,.26,1);
  --r:20px;
}
html{scroll-padding-top:96px}
/* overflow-x:hidden sticky header'ni buzadi — clip uni saqlaydi */
html,body{overflow-x:clip!important}
@supports not (overflow:clip){html,body{overflow-x:visible!important}}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
::selection{background:rgba(231,76,60,.85);color:#fff}
:focus-visible{outline:2px solid var(--red-2);outline-offset:4px;border-radius:6px}
img{-webkit-user-drag:none}

/* ---------- Sarlavha (header) ---------- */
.header{padding:18px 0;transition:padding .35s var(--ease),background .35s ease,box-shadow .35s ease}
.header.scrolled{padding:12px 0;background:rgba(12,12,12,.82);box-shadow:0 10px 40px rgba(0,0,0,.45)}
.logo img{height:34px;width:auto}
.nav-link{font-size:14.5px;letter-spacing:0;color:#bdbdbd}
.nav-link.active{color:#fff}
.nav-link.active:after{transform:scaleX(1)}
.nav-link-cta{border-radius:999px;padding:11px 24px;letter-spacing:.01em}

/* ---------- Umumiy tipografika ---------- */
.solution-eyebrow,.stories-eyebrow,.pl-eyebrow{
  display:inline-flex;align-items:center;gap:12px;border-bottom:0;
  font-size:12px;letter-spacing:.22em;color:var(--red-2);font-weight:700
}
.solution-eyebrow:before,.stories-eyebrow:before,.pl-eyebrow:before{content:"";width:28px;height:1.5px;background:currentColor}
.solutions-section h2,.stories-header h2,.pl-section h2,.additional-links h2{
  font-size:clamp(34px,4.4vw,60px);letter-spacing:-.035em;line-height:1.04;font-weight:700
}
.lead{color:#a8a8a8;font-weight:300}
.btn{border-radius:999px;padding:14px 30px;letter-spacing:.01em}
.btn-primary{box-shadow:0 14px 34px -12px rgba(231,76,60,.75)}

/* ---------- HERO ---------- */
.hero{align-items:flex-end;justify-content:flex-start;height:auto;min-height:100vh;min-height:100svh;padding-top:150px}
.hero-scroll{display:none!important}
.hero-overlay{
  background:
    linear-gradient(180deg,rgba(8,8,8,.55) 0%,rgba(8,8,8,0) 28%,rgba(8,8,8,.15) 55%,rgba(8,8,8,.92) 100%),
    linear-gradient(90deg,rgba(8,8,8,.78) 0%,rgba(8,8,8,.25) 55%,rgba(8,8,8,0) 80%)
}
.hero .hero-content{display:block;padding:0 40px;max-width:1400px;margin:0 auto 0;position:relative;z-index:1;width:100%}
.hero-kicker{display:inline-flex;align-items:center;gap:12px;font-size:12px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--red-2);margin-bottom:26px}
.hero-kicker:before{content:"";width:28px;height:1.5px;background:currentColor}
.hero .hero-content h1{font-size:clamp(44px,6.6vw,96px);line-height:.98;letter-spacing:-.045em;font-weight:700;max-width:11ch;margin:0 0 26px}
.hero .hero-content h1 em{font-style:normal;color:var(--red-2)}
.hero .hero-content p{font-size:clamp(16px,1.35vw,19px);color:rgba(255,255,255,.72);max-width:540px;margin:0 0 36px;font-weight:300}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.btn-ghost{color:#fff;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.04);backdrop-filter:blur(8px)}
.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.1);transform:translateY(-3px)}
.hero-stats{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);margin:56px 0 0;padding:26px 0 40px;border-top:1px solid rgba(255,255,255,.14)}
.hero-stats li{padding-right:24px}
.hero-stats li+li{padding-left:28px;border-left:1px solid rgba(255,255,255,.12)}
.hero-stats b{display:block;font-size:clamp(28px,3vw,44px);font-weight:700;letter-spacing:-.04em;line-height:1}
.hero-stats b small{font-size:.45em;font-weight:400;color:rgba(255,255,255,.55);letter-spacing:0;margin-left:4px}
.hero-stats span{display:block;margin-top:10px;font-size:13px;color:rgba(255,255,255,.55);line-height:1.4}
.hero .hero-content>*{animation:heroIn 1.1s var(--ease) both}
.hero .hero-content>:nth-child(2){animation-delay:.12s}
.hero .hero-content>:nth-child(3){animation-delay:.24s}
.hero .hero-content>:nth-child(4){animation-delay:.36s}
.hero .hero-content>:nth-child(5){animation-delay:.5s}
@keyframes heroIn{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
.hero-scroll{position:absolute;right:40px;bottom:44px;z-index:1;display:flex;flex-direction:column;align-items:center;gap:10px;color:rgba(255,255,255,.55);font-size:11px;letter-spacing:.24em;text-transform:uppercase;writing-mode:vertical-rl}
.hero-scroll:after{content:"";width:1px;height:56px;background:linear-gradient(rgba(255,255,255,.6),transparent);animation:scrollcue 2.2s ease-in-out infinite}
@keyframes scrollcue{0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}

/* ---------- Stories ---------- */
.stories-arrow{width:48px;height:48px;border-radius:50%;border:1px solid var(--line-2);background:transparent;color:#fff;transition:all .3s var(--ease)}
.stories-arrow:hover{background:var(--red);border-color:var(--red)}
.story-image-wrapper{border-radius:18px;border:1px solid var(--line)}
.story-card-overlay{padding:22px 20px;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.55) 38%,rgba(0,0,0,.9) 100%);padding-top:70px}
@media (min-width:1025px){
  .stories-slider{display:grid!important;grid-template-columns:repeat(4,1fr);gap:22px!important;overflow:visible!important;padding:6px 0 10px!important}
  .stories-slider .story-card{width:auto!important;min-width:0!important;flex:none!important}
  .story-image-wrapper{aspect-ratio:3/4}
  .stories-controls{display:none!important}
}
.story-title{font-size:17px;font-weight:700;letter-spacing:.02em}
.story-tagline{font-size:11px;letter-spacing:.16em;color:rgba(255,255,255,.7)}

/* ---------- Yechimlar ---------- */
.solutions-showcase-card{border:1px solid var(--line)}
.solutions-showcase-link{border-radius:999px}

/* ---------- "Nega AKFA" ---------- */
.pl-section{padding:40px 0 30px}
.pl-eyebrow{text-transform:uppercase}
.pl-head{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:56px}
.pl-head p{max-width:440px;color:var(--muted);font-weight:300;font-size:17px;line-height:1.7;margin:0}
.pl-head h2{margin:18px 0 0}
.pl-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.pl-item{background:#111;padding:38px 32px 40px;transition:background .4s ease}
.pl-item:hover{background:#161616}
.pl-ico{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;color:var(--red-2);background:rgba(231,76,60,.1);border:1px solid rgba(231,76,60,.22);margin-bottom:34px}
.pl-ico svg{width:24px;height:24px}
.pl-item h3{font-size:20px;font-weight:700;letter-spacing:-.02em;margin:0 0 10px}
.pl-item p{font-size:14.5px;color:var(--muted);line-height:1.65;margin:0}

/* ---------- CTA qatori ---------- */
.cta-row{margin-top:110px;padding:52px 56px;border:1px solid var(--line);border-radius:var(--r);
  background:radial-gradient(120% 140% at 0% 0%,rgba(231,76,60,.16),transparent 55%),linear-gradient(160deg,#141414,#0e0e0e)}
.cta-row p{color:#d0d0d0;font-size:21px;line-height:1.55;max-width:720px}

/* ---------- Foydali materiallar ---------- */
.additional-links h2{margin-bottom:48px}
.links-grid{gap:16px}
.link-card{display:flex;justify-content:space-between;align-items:center;gap:16px;border:1px solid var(--line);border-radius:16px;padding:30px 28px;font-size:19px;font-weight:500;background:#101010!important;transition:border-color .3s ease,transform .35s var(--ease),background .3s ease}
.link-card:hover{border-color:rgba(231,76,60,.55)!important;transform:translateY(-4px)!important;background:#141414!important}
.link-card .lc-arrow{width:40px;height:40px;flex:none;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line-2);color:#fff;transition:all .3s var(--ease)}
.link-card:hover .lc-arrow{background:var(--red);border-color:var(--red);transform:rotate(-45deg)}
.lc-arrow svg{width:16px;height:16px}

/* ---------- Ichki sahifalar: sarlavha ---------- */
.products-section h1{font-size:clamp(40px,5.4vw,76px);letter-spacing:-.045em;line-height:1;margin-bottom:28px}
.products-section .lead{font-size:clamp(17px,1.6vw,21px);color:#a2a2a2;margin-bottom:80px;max-width:760px;margin-left:auto;margin-right:auto}
.btn-back{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border:1px solid var(--line-2);border-radius:999px;font-weight:500;color:#cfcfcf}
.btn-back:hover{border-color:#fff;color:#fff}

/* Radiator turlari kartalari */
.solution-card{border-color:var(--line);background:linear-gradient(170deg,#141414,#0e0e0e)}
.card-image{background:radial-gradient(circle at 50% 40%,#1d1d1d,#0f0f0f 70%)}
.card-image img{object-fit:contain;padding:24px}
.solution-card .btn{align-self:flex-start}

/* ---------- Mahsulot akkordeoni ---------- */
.product-detail-card{border-top:1px solid var(--line);padding:34px 0 30px}
.product-detail-card:last-of-type{border-bottom:1px solid var(--line)}
.product-header-button h3,.product-number{font-size:clamp(32px,4vw,52px);letter-spacing:-.04em}
.product-header-button h3{padding-bottom:0}
.product-title-row{align-items:center}
.product-title-main{display:flex;align-items:center;gap:28px;flex:1 1;min-width:0}
.product-peek{display:flex;align-items:center;gap:28px;flex:1 1;min-width:0}
.peek-thumb{width:84px;height:84px;flex:none;border-radius:16px;background:radial-gradient(circle at 50% 35%,#202020,#0f0f0f 75%);border:1px solid var(--line);display:grid;place-items:center;overflow:hidden;transition:border-color .3s ease}
.peek-thumb img{width:100%;height:100%;object-fit:contain;padding:8px}
.peek-thumb.empty{font-size:12px;color:var(--muted-2);letter-spacing:.1em}
.peek-kpis{display:flex;gap:30px;margin-left:auto;padding-right:10px}
.peek-kpis div{display:flex;flex-direction:column;gap:2px;min-width:72px}
.peek-kpis b{font-size:18px;font-weight:700;color:#eee;letter-spacing:-.01em;white-space:nowrap}
.peek-kpis span{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted-2)}
.product-detail-card:hover .peek-thumb{border-color:rgba(231,76,60,.45)}
.product-detail-card.expanded .peek-kpis{opacity:.35}
.product-toggle-icon{transition:transform .35s var(--ease),color .3s ease,border-color .3s ease}
.product-detail-card:hover .product-toggle-icon{border-color:var(--red);color:#fff}

.product-content{margin-top:34px;gap:56px}
.product-content .description{color:#cfcfcf;font-size:18px;letter-spacing:0;line-height:1.75;font-weight:300}
.product-content .description span{display:block;margin-bottom:10px}
.product-content .specs{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#0f0f0f}
.product-content .specs li{display:flex;justify-content:space-between;gap:20px;padding:16px 22px;font-size:15.5px;line-height:1.5;border-bottom:1px solid var(--line);color:var(--muted)}
.product-content .specs li:before{display:none}
.product-content .specs li:nth-child(odd){background:rgba(255,255,255,.015)}
.product-content .specs li .sv{color:#fff;font-weight:600;text-align:right;white-space:nowrap}
.product-content .btn-secondary{border-radius:999px;padding:14px 30px;font-weight:600}
.thumbnail-mini{border-radius:12px}
.product-content .btn-secondary{width:auto!important;justify-self:start;align-self:start}
@media (min-width:1025px){
  .product-content{grid-template-rows:auto auto 1fr;row-gap:28px}
  .product-content .product-image-slider{grid-column:1;grid-row:1 / span 3}
  .product-content .description{grid-column:2;grid-row:1}
  .product-content .specs{grid-column:2;grid-row:2}
  .product-content .btn-secondary{grid-column:2;grid-row:3;margin-top:4px}
}

/* ---------- Aloqa ---------- */
.contact-section h1{font-size:clamp(40px,5vw,68px);letter-spacing:-.045em;margin-bottom:48px}
.contact-info{border-left:0;padding:0;display:flex;flex-direction:column;gap:12px}
.contact-info h2{font-size:13px;letter-spacing:.22em;color:var(--red-2);margin-bottom:12px}
.contact-info p{display:flex;align-items:center;gap:16px;margin:0;padding:20px 22px;border:1px solid var(--line);border-radius:14px;background:#101010;color:#e6e6e6;font-size:16px;transition:border-color .3s ease}
.contact-info p:hover{border-color:rgba(231,76,60,.45)}
.contact-info p svg{width:20px;height:20px;flex:none;color:var(--red-2)}
.contact-form{border-color:var(--line);border-radius:var(--r)}
.contact-form input,.contact-form textarea{background:#141414;border-color:#232323;border-radius:12px}
.contact-form button{border-radius:999px}
.dark-map{filter:grayscale(1) invert(.9) contrast(.9)}

/* ---------- Footer ---------- */
footer{border-top:1px solid var(--line);background:#0a0a0a;padding-top:80px;position:relative}
footer:before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:linear-gradient(90deg,transparent,var(--red),transparent)}
.footer-brand img{display:block;height:32px;width:auto;margin-bottom:26px}
.footer-section h3{border-bottom:0;padding-bottom:0;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:#fff;margin-bottom:22px}
.social-links a{transition:background .3s ease,color .3s ease}
.footer-bottom{border-top-color:var(--line)}

/* ---------- Responsiv ---------- */
@media (max-width:1100px){
  .pl-grid{grid-template-columns:repeat(2,1fr)}
  .peek-kpis{display:none}
}
@media (max-width:768px){
  .hero{min-height:560px}
  .hero .hero-content{padding:0 20px}
  .hero-stats{grid-template-columns:1fr 1fr;row-gap:22px;margin-top:48px;padding-bottom:32px}
  .hero-stats li:nth-child(3){padding-left:0;border-left:0}
  .hero-scroll{display:none}
  .pl-section{padding:90px 0 20px}
  .pl-head{flex-direction:column;align-items:flex-start;gap:16px}
  .pl-grid{grid-template-columns:1fr}
  .cta-row{padding:34px 26px;margin-top:70px}
  .cta-row p{font-size:18px;text-align:left}
  .peek-thumb{width:60px;height:60px;border-radius:12px}
  .product-peek{gap:16px}
  .product-content .specs li{padding:14px 16px;font-size:14.5px}
  .link-card{font-size:17px;padding:24px 22px}
}
@media (prefers-reduced-motion:reduce){
  .hero-scroll:after{animation:none}
  *{transition-duration:.01ms!important}
}

/* Katalog kartalari: rasm to'liq ko'rinsin */
.product-category-card{border:1px solid var(--line)!important}
.product-card-image{object-fit:contain!important;padding:18px}

/* Telefon: mahsulot qatori bitta chiziqda */
@media (max-width:768px){
  .product-title-row{flex-direction:row!important;align-items:center!important;gap:12px!important}
  .product-peek{justify-content:flex-start;text-align:left;gap:14px}
  .product-title-meta{width:auto!important;gap:8px!important}
  .product-title-meta .product-number{display:none}
  .product-header-button h3{font-size:24px!important;letter-spacing:-.02em}
  .product-detail-card{padding:22px 0}
}
