/* ===== Base ===== */
*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #fff;
  color: #0f172a;
}

/* Global page wrapper (Kalekim style) */
.page-wrap{
  width: min(1440px, calc(100% - 56px));
  margin: 0 auto;
}

@media (max-width: 1024px){
  .page-wrap{ width: calc(100% - 32px); }
}
@media (max-width: 768px){
  .page-wrap{ width: calc(100% - 22px); }
}

/* hidden atributu olan elementləri məcburi gizlət */
[hidden]{ display: none !important; }

/* ===== Header ===== */
.site-header{
  background: #fff;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 18px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 800;
}

.brand-logo{
  height: 58px;
  width: auto;
  display: block;
}

.primary-nav{
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link{
  text-decoration: none;
  color: rgba(15,23,42,.85);
  font-weight: 700;
  font-size: 15px;
}

.nav-link:hover{ color: #0f172a; }

.header-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #0f172a;
}

.icon-btn svg{ width: 22px; height: 22px; }
.icon-btn:hover{ background: rgba(15,23,42,.04); }

/* Language dropdown */
.lang{ position: relative; }

.lang-menu{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: #fff;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 14px;
  padding: 8px;
  display: grid;
  gap: 6px;
  min-width: 92px;
  box-shadow: 0 18px 38px rgba(15,23,42,.14);
  z-index: 50;
}

.lang-item{
  text-decoration: none;
  color: #0f172a;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 12px;
}
.lang-item:hover{ background: rgba(15,23,42,.06); }

/* Searchbar */
.searchbar{
  background: #fff;
  border-top: 1px solid rgba(15,23,42,.08);
}

.searchbar-inner{
  height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-input{
  flex: 1;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  padding: 0 14px;
  font-size: 15px;
  outline: none;
}

.search-input:focus{
  border-color: rgba(255,29,29,.55);
  box-shadow: 0 0 0 6px rgba(255,29,29,.10);
}

/* ===== Header dropdown menu (hover) ===== */
.nav-item{ position: relative; }
.caret{ margin-left: 6px; font-size: 12px; }

.dropdown{
  position: absolute;
  top: 100%;
  left: 0;
  width: 340px;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
  display: none;
  z-index: 100;
}

.nav-item:hover .dropdown{ display: block; }

.dropdown-title{
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.4;
}

.dropdown a{
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
}

.dropdown a:hover{ background: #f2f4f7; }

.dropdown-footer{
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
}
.all-products{ font-weight: 800; }

/* ===== HERO SLIDER (Image-only, wrapper hizası, auto ölçü) ===== */
.hero-slider{
  background: #fff;
  padding: 22px 0 0;
}

.hero-slider__viewport{
  position: relative;
  width: 100%;                 /* page-wrap daxilində tam */
  aspect-ratio: 1920 / 600;    /* slayd ölçünə uyğun */
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  background: #f4f7fb;
  border-radius: 16px;
}

.hero-slider__track{
  display: flex;
  height: 100%;
  transition: transform 500ms ease;
  will-change: transform;
}

.hero-slide{
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}

/* yalnız şəkil */
.hero-slide__media{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* kəsilməsin istəsən: contain */
}

/* arrows */
.hero-slider__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 24px rgba(15,23,42,.12);
  color: #0f172a;
  font-size: 26px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
}

.hero-slider__btn--prev{ left: 16px; }
.hero-slider__btn--next{ right: 16px; }

/* dots pill */
.hero-slider__dots{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  display: flex;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15,23,42,.10);
  z-index: 6;
}

.hero-dot{
  width: 26px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(15,23,42,.18);
  cursor: pointer;
}
.hero-dot.is-active{ background: #ff1d1d; }

/* responsive */
@media (max-width: 1024px){
  .hero-slider__viewport{ aspect-ratio: 16 / 6; }
  .primary-nav{ gap: 16px; }
}

@media (max-width: 768px){
  .hero-slider__viewport{
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }
  .primary-nav{ display: none; }
}

/* ===== SOLUTIONS (Tab + Image) ===== */
.solutions{
  background: #f3f5f8;
  padding: 64px 0 72px;

  /* page-wrap davranışı */
  width: min(1440px, calc(100% - 56px));
  margin: 0 auto;
  border-radius: 0;
}

@media (max-width:1024px){
  .solutions{ width: calc(100% - 32px); }
}
@media (max-width:768px){
  .solutions{
    width: calc(100% - 20px);
    padding: 48px 0 56px;
  }
}

.solutions__title{
  margin: 0 0 18px;
  font-size: 44px;
  letter-spacing: -0.02em;
  color: #0f172a;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.4;
}

.solutions__tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
}

.sol-tab{
  border: 0;
  background: transparent;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
  color: rgba(15,23,42,.85);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.4;
}

.sol-tab:hover{ background: rgba(15,23,42,.06); }

.sol-tab.is-active{
  background: rgba(255,29,29,.10);
  color: #ff1d1d;
}

/* image frame */
.solutions__frame{
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: #e9eef6;
  height: 520px;
}

.solutions__media{ position: absolute; inset: 0; }

.sol-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 260ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.sol-img.is-active{
  opacity: 1;
  transform: scale(1);
}

/* Transparent CTA on image */
.sol-cta{
  position: absolute;
  left: 60px;
  top: 140px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 22px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.85);
  backdrop-filter: blur(2px);
  box-shadow: 0 18px 36px rgba(15,23,42,.18);
}

.sol-cta__text{
  font-weight: 900;
  color: #fff;
  text-shadow: 0 8px 18px rgba(0,0,0,.30);
}

.sol-cta:hover{ background: rgba(255,255,255,.14); }

/* responsive */
@media (max-width: 1024px){
  .solutions__title{ font-size: 36px; }
  .solutions__frame{ height: 440px; }
  .sol-cta{ left: 28px; top: 110px; }
}

@media (max-width: 768px){
  .solutions{ padding: 40px 0 50px; }
  .solutions__title{ font-size: 30px; }
  .solutions__frame{ height: 360px; }
  .sol-cta{ left: 18px; top: 90px; height: 48px; }
}

/* ===== GROUPS ===== */
.groups{
  background:#fff;
  padding: 64px 0 72px;
}

.groups__title{
  margin: 0 0 24px;
  font-size: clamp(30px, 3vw, 46px);
  letter-spacing: -0.02em;
  color: #0f172a;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.4;
}

.groups__carousel{ position: relative; }
.groups__viewport{ overflow: hidden; border-radius: 0; }

.groups__track{
  display: flex;
  gap: 18px;
  will-change: transform;
  transition: transform 450ms ease;
}

.group-card{
  flex: 0 0 calc((100% - 36px) / 3);
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 26px rgba(15,23,42,.06);
  text-decoration:none;
  color:#0f172a;
}

.group-card__media{
  height: 240px;
  overflow: hidden;
  background: #eef2f6;
}

.group-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  transition: transform 350ms ease;
}

.group-card:hover .group-card__media img{ transform: scale(1.07); }

.group-card__body{ padding: 18px 18px 22px; }

.group-card__title{
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.4;
}

/* arrows */
.groups__arrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  background:#fff;
  box-shadow: 0 18px 34px rgba(15,23,42,.12);
  cursor:pointer;
  z-index: 3;
}
.groups__arrow.prev{ left: -10px; }
.groups__arrow.next{ right: -10px; }
.groups__arrow:hover{ background: rgba(15,23,42,.03); }

@media (max-width: 980px){
  .group-card{ flex-basis: calc((100% - 18px) / 2); }
  .group-card__media{ height: 220px; }
}
@media (max-width: 620px){
  .group-card{ flex-basis: 100%; }
  .groups__arrow.prev{ left: 6px; }
  .groups__arrow.next{ right: 6px; }
}

/* ===== BRANDS ===== */
.brands{
  background: #12161c;
  width: min(1440px, calc(100% - 56px));
  margin: 0 auto;
  padding: 0;
}

.brands__inner{
  min-height: 360px;
  padding: 64px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.brands__left{ min-width: 260px; }

.brands__title{
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brands__sub{
  margin: 0;
  color: rgba(255,255,255,.72);
  font-weight: 700;
  font-size: 16px;
}

.brands__logos{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 44px;
  white-space: nowrap;
}

.brand-logo{
  color: #fff;
  font-weight: 900;
  font-size: clamp(22px, 3.2vw, 48px);
  letter-spacing: -0.01em;
  opacity: .92;
}

.brand-logo img{
  height: 54px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .92;
}

@media (max-width:1024px){
  .brands{ width: calc(100% - 32px); }
}
@media (max-width:768px){
  .brands{ width: calc(100% - 20px); }
  .brands__inner{
    min-height: 300px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
  }
  .brands__logos{
    flex-wrap: wrap;
    gap: 20px 28px;
    white-space: normal;
  }
}

/* ===== FOOTER ===== */
.site-footer{
  width: min(1440px, calc(100% - 56px));
  margin: 0 auto;
  background: #ffffff;
  padding: 56px 0 24px;
  border-top: 1px solid rgba(16,24,40,.08);
}

@media (max-width:1024px){
  .site-footer{ width: calc(100% - 32px); }
}
@media (max-width:768px){
  .site-footer{ width: calc(100% - 20px); }
}

.site-footer .page-wrap{
  width: 100%;
  margin: 0;
}

.footer-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 42px;
}

.footer-title{
  margin:0 0 18px;
  font-size: 16px;
  font-weight: 900;
  color:#0f172a;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.4;
}

.footer-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 12px;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.4;
}

.footer-list a{
  color:#27324a;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
}
.footer-list a:hover{ text-decoration:underline; }

.footer-mid{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 32px;
  padding: 24px 0 22px;
  border-top: 1px solid rgba(16,24,40,.08);
  border-bottom: 1px solid rgba(16,24,40,.08);
}

.footer-contact{
  display:flex;
  gap: 44px;
  flex-wrap:wrap;
}

.footer-chip{
  display:flex;
  align-items:center;
  gap: 14px;
}

.footer-ico{
  width:56px;
  height:56px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background: rgba(99,102,241,.12);
  font-size:22px;
}

.footer-chip-label{
  font-size:13px;
  font-weight:700;
  color:#334155;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.4;
}

.footer-chip-value{
  font-size:22px;
  font-weight:900;
  color:#0f172a;
  text-decoration:none;
}

.footer-social{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.footer-social-title{
  font-weight:900;
  color:#0f172a;
}

.footer-social-icons{
  display:flex;
  gap:12px;
}

.social-btn{
  width:48px;
  height:48px;
  border-radius:999px;
  border:1px solid rgba(16,24,40,.18);
  display:grid;
  place-items:center;
  color:#0f172a;
  text-decoration:none;
  font-weight:900;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding-top:18px;
}

.footer-copy{
  font-weight:700;
  color:#1f2937;
}

.footer-legal{
  display:flex;
  gap:26px;
}

.footer-legal a{
  color:#1f2937;
  font-weight:700;
  font-size:14px;
  text-decoration:none;
}
.footer-legal a:hover{ text-decoration:underline; }

@media (max-width:1100px){
  .footer-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-mid{ flex-direction:column; align-items:flex-start; }
}
@media (max-width:560px){
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .footer-chip-value{ font-size:18px; }
}

.footer-about-logo{
  max-width: 140px;   /* logo ölçüsü */
  height: auto;
  margin-bottom: 12px;
}

.footer-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
  max-width: 260px;
}

