/* ───── HERO GRID ───── */
.hero-grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 20px 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0
}

.hero-cats {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px 0 0 14px;
  display: flex;
  flex-direction: column;
}

.hero-cat-title {
  border-radius: 14px 0 0 0;
  background: linear-gradient(135deg, var(--dark) 0%, #1e1e2d 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 16px 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--red);
}

.hero-cat-title svg {
  fill: var(--red);
}

.hcat {
  position: relative;
  z-index: 1
}

.hcat:hover {
  z-index: 510
}

.hcat-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  transition: background .15s, color .15s;
  border-bottom: 1px solid var(--border)
}

.hcat:last-child .hcat-link {
  border-bottom: none
}

.hcat:hover .hcat-link {
  background: var(--bg);
  color: var(--red)
}

.hcat-img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0
}

.hcat-emoji {
  font-size: 18px;
  width: 26px;
  text-align: center;
  flex-shrink: 0
}

.hcat-name {
  flex: 1;
  line-height: 1.2
}

.hcat-arrow {
  fill: var(--muted);
  flex-shrink: 0;
  transition: fill .15s
}

.hcat:hover .hcat-arrow {
  fill: var(--red)
}

.hcat-popup {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
  padding: 20px;
  min-width: 480px;
  z-index: 500
}

.hcat:hover .hcat-popup {
  display: block
}

.hcat-popup-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red-soft)
}

.hcat-popup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px
}

.hcat-popup-item {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  background: #fff
}

.hcat-popup-item:hover {
  border-color: rgba(217, 43, 43, .3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  transform: translateY(-2px)
}

.hpi-img {
  width: 100%;
  height: 90px;
  object-fit: cover
}

.hpi-icon {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: var(--bg)
}

.hcat-popup-item span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  padding: 8px 8px 10px;
  text-align: center;
  line-height: 1.25
}

.hcat-popup-all span {
  color: var(--red) !important;
  font-weight: 800 !important
}

.hcat-popup-all .hpi-icon {
  background: var(--red-soft)
}

.hero-slider {
  min-width: 0;
  overflow: hidden;
  border-radius: 0 14px 14px 0
}

.hero-slider .slider-wrap {
  border-radius: 0 14px 14px 0
}

.hero-slider .slide {
  height: 540px
}

@media(max-width:860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 12px 12px 0
  }

  .hero-cats {
    display: none
  }

  .hero-slider .slider-wrap {
    border-radius: 14px
  }
}

/* ───── SLIDER ───── */
.slider-wrap {
  position: relative;
  overflow: hidden;
  background: #000
}

.slider-track {
  display: flex;
  transition: transform .7s cubic-bezier(.4, 0, .2, 1)
}

.slide {
  min-width: 100%;
  height: 540px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden
}

.slide-bg {
  position: absolute;
  inset: 0
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 20s ease-in-out infinite alternate
}

@keyframes slowZoom {
  0% {
    transform: scale(1)
  }

  100% {
    transform: scale(1.08)
  }
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 24, 39, .88) 0%, rgba(17, 24, 39, .5) 50%, rgba(17, 24, 39, .3) 100%)
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 80px;
  z-index: 2
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: .6px;
  text-transform: uppercase;
  width: fit-content
}

.slide-content h2 {
  font-size: clamp(26px, 4vw, 50px);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 14px;
  letter-spacing: -.6px
}

.slide-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 460px
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  transition: background .2s, transform .15s;
  width: fit-content
}

.slide-btn:hover {
  background: var(--red2);
  transform: translateY(-2px)
}

.slide-btn-ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .3);
  margin-left: 10px
}

.slide-btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1)
}

.slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--red);
  z-index: 10;
  transition: width .1s linear
}

.slider-nav {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  border: none;
  cursor: pointer;
  transition: all .3s;
  padding: 0
}

.slider-dot.active {
  width: 32px;
  border-radius: 5px;
  background: #fff
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  cursor: pointer
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, .25)
}

.sa-prev {
  left: 20px
}

.sa-next {
  right: 20px
}

.slider-arrow svg {
  width: 18px;
  height: 18px;
  fill: #fff
}

/* ───── PAGE ───── */
.page {
  max-width: 1300px;
  margin: 0 auto;
  padding: 24px 20px 40px
}

/* ───── INFO STRIP ───── */
.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 30px
}

.ic {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: box-shadow .2s, border-color .2s
}

.ic:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
  border-color: rgba(217, 43, 43, .15)
}

.ic-ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0
}

.r {
  background: var(--red-soft)
}

.b {
  background: #EEF3FF
}

.g {
  background: #ECFDF5
}

.a {
  background: #FFFBEB
}

.ic-txt label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: .4px
}

.ic-txt strong {
  font-size: 13px;
  font-weight: 800
}

/* ───── SECTION HEAD ───── */
.sh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px
}

.st {
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -.3px
}

.st::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--red);
  border-radius: 3px;
  flex-shrink: 0
}

.sa {
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  padding: 6px 14px;
  border: 1.5px solid var(--red);
  border-radius: 8px;
  transition: background .18s, color .18s;
  display: flex;
  align-items: center;
  gap: 4px
}

.sa:hover {
  background: var(--red);
  color: #fff
}

/* ───── CATEGORY GRID ───── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
  margin-bottom: 32px;
  margin-top: 1rem;
}

.cc {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 8px;
  text-align: center;
  cursor: pointer;
  transition: transform .22s, border-color .22s, box-shadow .22s
}

.cc:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(217, 43, 43, .1)
}

.cc .ce {
  font-size: 26px;
  margin-bottom: 6px;
  display: block
}

.cc .cn {
  font-size: 10px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3
}

/* ───── SERVICES (MODERN) ───── */
.services-section {
  padding: 48px 0;
  margin-bottom: 32px;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%)
}

.services-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.svc {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: transform .22s, border-color .22s, box-shadow .22s;
  position: relative;
  overflow: hidden
}

.svc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left
}

.svc:hover::before {
  transform: scaleX(1)
}

.svc:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 43, 43, .25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08)
}

.svc-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--red-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 14px
}

.svc-t {
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 6px;
  color: var(--text)
}

.svc-d {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5
}

/* ───── WEB HIZMETI ───── */
.web-section {
  background: linear-gradient(135deg, var(--dark) 0%, #2d2d4e 100%);
  border-radius: var(--radius-lg);
  padding: 44px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden
}

.web-deco {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(217, 43, 43, .12);
  pointer-events: none
}

.web-deco2 {
  position: absolute;
  right: 100px;
  bottom: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  pointer-events: none
}

.web-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1
}

.web-tag {
  background: rgba(217, 43, 43, .25);
  color: #FCA5A5;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .5px
}

.web-inner h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -.4px
}

.web-inner p {
  font-size: 14px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 22px
}

.web-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px
}

.wf {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .85);
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px
}

.web-btn {
  background: var(--red);
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, transform .15s
}

.web-btn:hover {
  background: var(--red2);
  transform: translateY(-2px)
}

.web-devices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0
}

.wd {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px
}

.wd-ico {
  font-size: 24px
}

.wd-t {
  font-size: 13px;
  font-weight: 800;
  color: #fff
}

.wd-d {
  font-size: 11px;
  color: rgba(255, 255, 255, .5)
}

/* ───── HAKKIMIZDA ───── */
.about-section {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr
}

.about-img {
  height: 400px;
  position: relative;
  overflow: hidden;
  background: #F3F4F6
}

.about-img img {
  object-fit: cover
}

.about-content {
  padding: 44px 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.about-tag {
  background: var(--red-soft);
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: .5px
}

.about-content h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -.4px
}

.about-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 10px
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.astat {
  background: var(--bg);
  border-radius: 10px;
  padding: 16px;
  text-align: center
}

.astat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  display: block;
  letter-spacing: -.5px
}

.astat-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px
}

.about-feats {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.af {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700
}

.af::before {
  content: '\2713';
  color: var(--red);
  font-weight: 900;
  font-size: 15px
}

/* ───── ILETISIM ───── */
.contact-section {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px
}

.contact-left h2 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -.3px
}

.contact-left p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px
}

.citem {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  transition: border-color .2s
}

.citem:hover {
  border-color: var(--red)
}

.citem-ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--red-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0
}

.citem label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--muted);
  display: block;
  margin-bottom: 2px
}

.citem strong {
  font-size: 13px;
  font-weight: 800
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 300px;
  position: relative
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0
}

.map-directions {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  transition: transform .15s, background .2s;
  z-index: 2
}

.map-directions:hover {
  background: var(--red2);
  transform: translateX(-50%) translateY(-2px)
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0
}

.hours-table tr {
  border-bottom: 1px solid var(--border)
}

.hours-table tr:last-child {
  border-bottom: none
}

.hours-table td {
  padding: 10px 0;
  font-size: 13px
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 800
}

.open-badge {
  color: #065F46;
  background: #ECFDF5;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800
}

.closed-badge {
  color: var(--muted);
  background: var(--bg);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700
}

/* ───── INDEX RESPONSIVE ───── */
@media(max-width:1100px) {
  .cat-grid {
    grid-template-columns: repeat(5, 1fr)
  }

  .web-inner {
    grid-template-columns: 1fr
  }

  .web-devices {
    flex-direction: row;
    flex-wrap: wrap
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:860px) {
  .about-inner {
    grid-template-columns: 1fr
  }

  .about-img {
    height: 240px
  }

  .contact-grid {
    grid-template-columns: 1fr
  }

  .info-strip {
    grid-template-columns: repeat(2, 1fr)
  }

  .slide-content {
    padding: 0 54px;
    align-items: center;
    text-align: center;
  }

  .slide {
    height: 480px;
  }

  .slide-tag {
    margin-bottom: 24px;
    padding: 8px 16px;
    border-radius: 6px;
  }

  .slide-content>div {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: center;
  }

  .slide-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .slide-btn-ghost {
    margin-left: 0;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
  }

  .sa-prev {
    left: 8px;
  }

  .sa-next {
    right: 8px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:600px) {
  .cat-grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .slide {
    height: 440px;
  }

  .slide-content {
    padding: 0 50px;
  }

  .slide-content h2 {
    font-size: 26px;
    line-height: 1.15;
    margin-bottom: 24px;
  }

  .slide-content p {
    display: none;
  }

  .slide-btn {
    font-size: 13px;
    padding: 12px 14px;
  }

  .info-strip {
    grid-template-columns: 1fr 1fr
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr)
  }

  .about-content {
    padding: 28px 22px
  }

  .web-section {
    padding: 28px 22px
  }

  .contact-section {
    padding: 24px
  }

  .services-grid {
    grid-template-columns: 1fr 1fr
  }
}