/* İzci Group — mobil optimizasyonlar */

/* Güvenli alan (çentikli telefonlar) */
.dogus-header-top,
.dogus-header-bar,
.dogus-fullmenu,
.page-hero-dogus,
.editorial-section .container,
.dogus-footer .container {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

/* Final mobile polish across the whole site */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 15px;
  }

  .site-header.dogus-header {
    min-height: 64px;
  }

  .dogus-header-bar {
    height: 64px !important;
    padding: 0 max(0.75rem, env(safe-area-inset-right)) 0 max(0.75rem, env(safe-area-inset-left)) !important;
  }

  .dogus-logo-img {
    height: 40px !important;
    max-width: 168px !important;
    filter: none !important;
  }

  .dogus-menu-btn-lines {
    width: 20px;
    gap: 4px;
    padding: 0;
    border: none;
    border-radius: 0;
  }

  .dogus-menu-btn-lines span {
    height: 2px;
  }

  .dogus-header-actions {
    height: 64px;
  }

  .dogus-header-search span,
  .dogus-menu-btn > span:last-child {
    display: none;
  }

  .dogus-header-search,
  .dogus-lang-quick,
  .dogus-menu-btn,
  .dogus-header-invest-btn {
    min-width: 42px !important;
    width: auto;
    min-height: 44px;
    padding: 0 !important;
    justify-content: center;
  }

  .dogus-header-invest-btn {
    padding: 0 0.55rem !important;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .dogus-fullmenu {
    width: min(460px, 100%) !important;
    max-width: 100% !important;
    padding: calc(4.8rem + env(safe-area-inset-top)) 1rem calc(1rem + env(safe-area-inset-bottom)) !important;
    background: rgba(10, 12, 15, 0.98) !important;
  }

  .dogus-nav-parent {
    font-size: 0.78rem !important;
    letter-spacing: 0.1em !important;
    text-transform: none !important;
    color: #fff !important;
  }

  .dogus-nav-dropdown a {
    font-size: 0.82rem !important;
  }

  .dogus-search-panel {
    padding: calc(4.8rem + env(safe-area-inset-top)) 0.75rem 1rem;
  }

  .dogus-site-search-input {
    height: 58px;
    font-size: 1rem;
  }

  .page-hero-dogus {
    min-height: 34vh !important;
    padding: 5rem 0 2rem !important;
  }

  .page-hero-dogus h1 {
    font-size: clamp(1.8rem, 9vw, 2.65rem) !important;
    letter-spacing: 0.06em;
    line-height: 1.12;
    word-break: break-word;
  }

  .page-hero-dogus p {
    max-width: 92vw;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .blueprint-home {
    padding-top: 0;
  }

  .sketch-adapted .blueprint-shell {
    max-width: 100% !important;
    width: 100% !important;
    gap: 0 !important;
  }

  .sketch-adapted .blueprint-intro-grid,
  .blueprint-category-grid {
    grid-template-columns: 1fr !important;
  }

  .sketch-adapted .blueprint-intro-card {
    min-height: 340px !important;
    padding: 1.5rem 1.35rem !important;
    margin: 0 !important;
  }

  .sketch-adapted .blueprint-intro-frame {
    max-width: 100% !important;
    padding: 1.35rem 1.2rem !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .sketch-adapted .blueprint-intro-card .blueprint-kicker,
  .sketch-adapted .blueprint-intro-card .blueprint-intro-title,
  .sketch-adapted .blueprint-intro-card h1,
  .sketch-adapted .blueprint-intro-card h2,
  .sketch-adapted .blueprint-intro-card p,
  .sketch-adapted .blueprint-intro-card .blueprint-link {
    margin: 0 !important;
  }

  .sketch-adapted .blueprint-intro-card p {
    line-height: 1.65 !important;
  }

  .sketch-adapted .blueprint-intro-card .blueprint-link {
    margin-top: 0.25rem !important;
    align-self: flex-start;
  }

  .sketch-adapted .blueprint-intro-card h2,
  .sketch-adapted .blueprint-intro-card h1 {
    font-size: clamp(1.25rem, 7vw, 1.9rem) !important;
  }

  .sketch-adapted .blueprint-category-card,
  .blueprint-category-card {
    min-height: 190px !important;
  }

  .home-completed-highlight {
    min-height: 0 !important;
    padding: 1.25rem 0 !important;
  }

  .home-completed-highlight-inner,
  body.home-wide .home-completed-highlight .container,
  body.home-wide .home-completed-highlight-inner {
    min-height: 0 !important;
  }

  .home-completed-highlight-top h2 {
    font-size: 1.25rem !important;
  }

  .completed-bar-item {
    grid-template-columns: 58px 1fr 38px !important;
    gap: 0.5rem !important;
  }

  .completed-bar-item span,
  .completed-bar-item strong {
    font-size: 0.68rem !important;
  }

  .projects-grid.projects-grid-home,
  .projects-grid {
    grid-template-columns: 1fr !important;
  }

  .project-card,
  .project-card-image,
  .project-card-body {
    min-width: 0;
  }

  .project-card-image {
    min-height: 190px !important;
  }

  body.dogus-layout .editorial-section {
    padding: 1.75rem 0 !important;
  }

  body.dogus-layout .editorial-section > .container,
  body.dogus-layout .category-table-layout {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.dogus-layout .category-table-layout {
    gap: 1rem !important;
  }

  body.dogus-layout .category-table-sidebar {
    position: static !important;
    padding: 0.75rem !important;
    gap: 0.5rem !important;
    box-shadow: 0 10px 24px rgba(2, 22, 2, 0.08) !important;
  }

  body.dogus-layout .category-table-link {
    min-height: 42px !important;
    padding: 0.7rem 0.85rem !important;
    font-size: 0.82rem !important;
  }

  body.dogus-layout .category-table-link--sub {
    margin-left: 0.7rem !important;
    padding: 0.45rem 0.7rem 0.45rem 0.95rem !important;
    font-size: 0.76rem !important;
    border-left: 2px solid rgba(82, 154, 58, 0.4) !important;
    border-radius: 0 8px 8px 0 !important;
  }

  body.dogus-layout .category-table-link--sub.is-active {
    background: rgba(82, 154, 58, 0.16) !important;
    color: #2f6b22 !important;
    border-left: 3px solid #529a3a !important;
  }

  body.dogus-layout .category-table-content {
    gap: 1rem !important;
  }

  body.dogus-layout .category-table-content .content-block.content-table-row,
  body.dogus-layout .category-table-content .service-category-header.content-table-row,
  body.dogus-layout .category-table-content .service-subcard.content-table-row {
    padding: 1rem !important;
  }

  body.dogus-layout .category-table-content .content-table-title h2,
  body.dogus-layout .category-table-content .content-table-title h3 {
    font-size: 1.02rem !important;
  }

  body.dogus-layout .category-table-layout--services .service-category-header .content-table-title,
  body.dogus-layout .category-table-layout--services .service-subcard .content-table-title {
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    padding: 0 !important;
  }

  body.dogus-layout .category-table-layout--services .service-subgrid {
    grid-template-columns: 1fr !important;
  }

  body.dogus-layout .contact-grid,
  .footer-grid.footer-grid-five,
  .footer-grid.footer-grid-garanti {
    grid-template-columns: 1fr !important;
  }

  .footer-grid.footer-grid-five .footer-brand,
  .footer-brand.footer-brand-garanti,
  .footer-quick-links,
  .footer-office,
  .footer-col {
    grid-column: auto !important;
    justify-self: stretch !important;
    text-align: left !important;
  }

  .footer-office .footer-social-row-office {
    justify-content: flex-start !important;
  }

  .site-footer .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (max-width: 420px) {
  .page-hero-dogus h1 {
    font-size: clamp(1.6rem, 10vw, 2.25rem) !important;
  }

  .completed-bar-item {
    grid-template-columns: 48px 1fr 34px !important;
  }

  .dogus-logo-img {
    max-width: 112px !important;
  }
}

body.nav-open {
  overflow: hidden;
}

/* Header logo */
.site-header.dogus-header .dogus-header-bar .logo,
.site-header.dogus-header:not(.is-solid):not(.is-scrolled) .logo {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.dogus-header-bar .logo-img {
  height: 42px;
  width: auto;
  max-width: min(180px, 48vw);
  object-fit: contain;
}

@media (max-width: 992px) {
  .dogus-nav-toggle {
    display: inline-flex;
  }
}

.site-header.dogus-header.is-solid .logo-img,
.site-header.dogus-header.is-scrolled .logo-img,
body:not(.has-hero) .dogus-header-bar .logo-img {
  height: 50px;
  max-width: 190px;
}

/* Mobil menü + header + hero iyileştirmeleri */
@media (max-width: 992px) {
  .form-group input,
  .form-group textarea,
  .form-group select,
  .project-search {
    font-size: 16px;
  }

  /* Üst sosyal şerit mobilde gizli — header sadeleşir */
  .dogus-header-top {
    display: none;
  }

  .dogus-header-bar {
    padding: 0.75rem max(1rem, env(safe-area-inset-left)) 0.75rem max(1rem, env(safe-area-inset-right));
    gap: 0.75rem;
  }

  .dogus-header-actions {
    flex-shrink: 0;
    gap: 0;
  }

  .dogus-header-actions .dogus-header-social {
    display: none !important;
  }

  .dogus-header-bar .logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  .dogus-header-bar .logo-img {
    height: 36px;
    max-width: 100%;
  }

  .site-header.dogus-header:not(.is-solid):not(.is-scrolled) .logo {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .dogus-menu-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0.45rem 0.75rem;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    flex-shrink: 0;
  }

  .site-header.dogus-header:not(.is-solid):not(.is-scrolled) .dogus-menu-btn {
    padding: 0.4rem 0.7rem;
  }

  .dogus-fullmenu {
    padding: calc(4.75rem + env(safe-area-inset-top)) 1rem calc(1.25rem + env(safe-area-inset-bottom)) !important;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: rgba(10, 12, 15, 0.98) !important;
    color: #fff !important;
  }

  .dogus-fullmenu-close {
    top: max(0.75rem, env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
  }

  .dogus-nav-main {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .dogus-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 0 !important;
    min-width: 0;
    background: transparent;
  }

  .dogus-nav-item:nth-child(5) {
    grid-column: auto;
    max-width: none;
    margin: 0;
    width: 100%;
  }

  .dogus-nav-parent {
    font-size: 0.72rem !important;
    letter-spacing: 0.1em !important;
    text-transform: none !important;
    padding: 0.85rem 0.75rem !important;
    min-height: 48px;
    display: flex;
    align-items: center;
    color: #fff !important;
    font-weight: 700 !important;
  }

  .dogus-nav-parent-row:not(.dogus-nav-parent-row--plain) {
    display: contents !important;
  }

  .dogus-nav-item.has-dropdown {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 52px;
    grid-template-rows: auto auto;
  }

  .dogus-nav-item.has-dropdown > .dogus-nav-dropdown {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .dogus-nav-parent-row {
    align-items: stretch !important;
    gap: 0 !important;
  }

  .dogus-nav-toggle {
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    align-self: start !important;
    border-radius: 0 !important;
    border: none !important;
    border-left: 1px solid rgba(70, 155, 55, 0.55) !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
  }

  .dogus-nav-toggle span {
    color: #469B37 !important;
  }

  .dogus-nav-dropdown a {
    font-size: 0.8rem !important;
    padding: 0.5rem 0.75rem !important;
    line-height: 1.4;
    min-height: 44px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.62) !important;
  }

  body.nav-open .dogus-nav-dropdown {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  body.nav-open .dogus-nav-item.is-expanded .dogus-nav-dropdown {
    max-height: 520px;
    opacity: 1;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    background: transparent;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.nav-open .dogus-nav-item.is-expanded.is-see-all-expanded .dogus-nav-dropdown {
    max-height: min(70vh, 900px);
  }

  body.dogus-layout .dogus-nav-see-all,
  body.dogus-layout .dogus-nav-see-all-item,
  body.dogus-layout .dogus-header-nav-see-all,
  body.dogus-layout .dogus-header-nav-see-all-item,
  body.dogus-layout [data-nav-see-all] {
    display: none !important;
  }

  /* Hero — daha ferah, iç içe değil */
  .hero.dogus-hero {
    min-height: 100svh;
    align-items: flex-end;
    padding: 0 0 2.5rem;
  }

  .hero.dogus-hero .hero-content {
    padding-top: 5.5rem;
    padding-bottom: 1rem;
    width: 100%;
  }

  .hero.dogus-hero .hero-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
  }

  .hero.dogus-hero h1 {
    font-size: clamp(1.75rem, 9.5vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
  }

  .hero.dogus-hero p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0;
    max-width: 100%;
    opacity: 0.92;
  }

  .hero.dogus-hero .container.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .hero-scroll-hint {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: 1.5rem;
    align-self: flex-start;
    display: inline-flex;
  }

  /* Projeler — mobilde tek sütun (yatay kaydırma yok) */
  .projects-grid.swipe-on-mobile {
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow-x: visible !important;
    flex-wrap: wrap !important;
    scroll-snap-type: none !important;
    touch-action: auto;
    padding-bottom: 0;
  }

  .projects-grid.swipe-on-mobile .project-card {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: none;
  }

  /* Hero (eski blok — üstteki kurallar geçerli) */
  .hero.dogus-hero {
    padding-bottom: 2.5rem;
  }

  /* İç sayfa hero */
  .page-hero-dogus {
    min-height: 40vh;
    padding: 5.5rem 0 2rem;
  }

  .page-hero-projeler {
    min-height: 44vh;
    background-position: center center;
  }

  .page-hero-dogus--show-more::after {
    inset: var(--hero-bg-inset, -18%);
  }

  .page-hero-dogus h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  /* İstatistikler — 3 kutu tek satırda */
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
  }

  .stats-grid .stat-item {
    border-left: none !important;
    padding: 0.4rem 0.2rem !important;
  }

  .stats-grid .stat-item:not(:first-child),
  .stats-strip.stats-strip-relocated .stats-grid .stat-item:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.22) !important;
  }

  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .stats-strip.stats-strip-relocated .stats-grid .stat-item:not(:first-child) {
    border-left-color: rgba(255, 255, 255, 0.35) !important;
  }

  body.home-wide .stats-strip.stats-strip-relocated .container.stats-grid,
  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .stats-strip.stats-strip-relocated .stats-grid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .stats-strip.stats-strip-relocated {
    padding: 1rem 0 !important;
  }

  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .stats-strip.stats-strip-relocated .stat-number {
    font-size: 1.35rem !important;
  }

  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .stats-strip.stats-strip-relocated .stat-suffix {
    font-size: 0.82rem !important;
  }

  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .stats-strip.stats-strip-relocated .stat-label {
    font-size: 0.6rem !important;
  }

  .stat-number {
    font-size: 1.45rem !important;
  }

  .stat-suffix {
    font-size: 0.9rem !important;
  }

  .stat-label {
    font-size: 0.62rem !important;
    line-height: 1.25 !important;
  }

  .stat-progress {
    max-width: 46px !important;
    margin-top: 0.35rem !important;
  }

  /* Sektör kartları */
  .sector-card {
    flex: 0 0 min(280px, 88vw);
    min-height: 320px;
  }

  .sectors-section-header h2 {
    font-size: 0.7rem;
  }

  /* Projeler */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-filters {
    gap: 0.75rem;
  }

  .filter-chips {
    max-width: none;
  }

  .filter-chip {
    min-height: 44px;
  }

  /* İletişim */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-social:not(.contact-social-icons) {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-social.contact-social-icons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: 100%;
  }

  .contact-social.contact-social-icons .footer-social-btn {
    width: 40px !important;
    height: 40px !important;
    flex: none !important;
  }

  .contact-social .contact-band-btn {
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Footer */
  .dogus-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .footer-col-contact .footer-social-row-contact {
    padding-left: 0 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.15rem !important;
    justify-content: flex-start !important;
    align-self: flex-start;
    width: 100%;
  }

  .dogus-footer .footer-col-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .dogus-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.75rem;
    padding-top: 0.65rem !important;
  }

  .dogus-footer .footer-cookie-btn {
    width: 100%;
    max-width: 220px;
    text-align: center;
  }

  /* Editöryal */
  .editorial-section {
    padding: 2.5rem 0;
  }

  .editorial-body {
    font-size: 0.95rem;
  }

  /* Hizmet ağacı */
  .content-table-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.25rem;
  }

  .content-table-body {
    padding-left: 0;
    border-left: 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }

  .service-subgrid {
    grid-template-columns: 1fr;
  }

  .service-category {
    padding-left: 0;
  }

  .service-category-media {
    height: 160px;
  }

  .service-category-header {
    padding: 1.25rem 1.25rem 0;
  }

  .service-subgrid {
    padding: 0 1.25rem 1.25rem;
  }

  /* İletişim bandı */
  .contact-band-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .contact-band-actions {
    width: 100%;
  }

  .contact-band-btn {
    flex: 1;
    justify-content: center;
    min-height: 44px;
  }

  /* Grup şirketleri */
  .subsidiary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .dogus-header-bar {
    padding: 0.65rem max(0.85rem, env(safe-area-inset-right)) 0.65rem max(0.85rem, env(safe-area-inset-left));
  }

  .dogus-header-bar .logo-img {
    height: 32px;
  }

  .dogus-menu-btn {
    font-size: 0.62rem;
  }

  body.dogus-layout .dogus-header-actions .dogus-header-invest-btn {
    display: inline-flex !important;
    flex-shrink: 0 !important;
    max-width: none !important;
    min-width: 3.1rem !important;
    font-size: 0.52rem;
    letter-spacing: 0.03em;
    padding: 0 0.38rem !important;
    line-height: 1.05;
    white-space: normal;
    text-align: center;
    overflow: visible;
  }

  body.dogus-layout .dogus-header-bar .logo {
    max-width: min(118px, 32vw);
    margin-left: 0 !important;
  }

  .hero.dogus-hero .hero-eyebrow {
    font-size: 0.58rem;
  }

  .hero.dogus-hero h1 {
    font-size: clamp(1.6rem, 9vw, 2.2rem);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Dokunmatik hedefler — menü linkleri hariç */
@media (hover: none) and (pointer: coarse) {
  .sector-card,
  .btn,
  .filter-chip,
  .project-card,
  .contact-band-btn,
  .swipe-carousel-btn {
    min-height: 44px;
  }
}

/* Final pass: keep these rules last so mobile stays tidy */
@media (max-width: 768px) {
  .dogus-header-bar {
    height: 64px !important;
    min-height: 64px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: max(0.75rem, env(safe-area-inset-left)) !important;
    padding-right: max(0.75rem, env(safe-area-inset-right)) !important;
    box-sizing: border-box !important;
  }

  .dogus-logo-img,
  .dogus-header-bar .logo-img {
    height: 38px !important;
    max-width: 132px !important;
  }

  .site-header.dogus-header.is-compact .dogus-logo-img,
  .site-header.dogus-header.is-compact .dogus-header-bar .logo-img {
    height: 31px !important;
    max-width: 112px !important;
  }

  .dogus-header-search span,
  .dogus-menu-btn > span:last-child {
    display: none !important;
  }

  .dogus-header-search,
  .dogus-lang-quick,
  .dogus-menu-btn {
    width: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
  }

  .dogus-fullmenu {
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-hero-dogus {
    min-height: 34vh !important;
    padding-top: 5rem !important;
    padding-bottom: 2rem !important;
  }

  .page-hero-dogus h1 {
    font-size: clamp(1.75rem, 8.8vw, 2.55rem) !important;
    line-height: 1.12 !important;
    letter-spacing: 0.055em !important;
  }

  .sketch-adapted .blueprint-intro-card {
    min-height: 300px !important;
  }

  .sketch-adapted .blueprint-category-card,
  .blueprint-category-card {
    min-height: 190px !important;
  }

  .home-completed-highlight,
  body.home-wide .home-completed-highlight {
    min-height: 0 !important;
    padding: 1.25rem 0 !important;
  }

  .home-completed-highlight-inner,
  body.home-wide .home-completed-highlight .container,
  body.home-wide .home-completed-highlight-inner {
    min-height: 0 !important;
  }

  body.dogus-layout .category-table-layout {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  body.dogus-layout .category-table-sidebar {
    position: static !important;
    padding: 0.75rem !important;
  }

  body.dogus-layout .category-table-content .content-block.content-table-row,
  body.dogus-layout .category-table-content .service-category-header.content-table-row,
  body.dogus-layout .category-table-content .service-subcard.content-table-row {
    padding: 1rem !important;
  }

  body.dogus-layout .category-table-layout--services .service-category-header .content-table-title,
  body.dogus-layout .category-table-layout--services .service-subcard .content-table-title {
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
  }

  body.dogus-layout .category-table-layout--services .service-subgrid,
  body.dogus-layout .category-table-layout--projects .projects-grid,
  .projects-grid,
  .projects-grid.projects-grid-home,
  .projects-grid.swipe-on-mobile,
  .contact-grid,
  .footer-grid.footer-grid-garanti {
    grid-template-columns: 1fr !important;
  }

  .projects-grid.swipe-on-mobile {
    display: grid !important;
    overflow-x: visible !important;
    flex-wrap: wrap !important;
    scroll-snap-type: none !important;
  }

  .projects-grid.swipe-on-mobile .project-card {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Ana sayfa — intro kartları kenardan kenara; diğer bölümlerde yan boşluk */
  body.home-wide .stats-strip:not(.stats-strip-relocated) .container,
  body.home-wide .home-completed-highlight .container,
  body.home-wide .home-ongoing-projects .container {
    padding-left: max(1rem, env(safe-area-inset-left)) !important;
    padding-right: max(1rem, env(safe-area-inset-right)) !important;
  }

  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .stats-strip.stats-strip-relocated .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.4rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .stats-strip.stats-strip-relocated {
    padding: 1rem 0 !important;
  }

  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .stats-strip.stats-strip-relocated .stat-item {
    padding: 0.35rem 0.15rem !important;
    text-align: center !important;
  }

  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .stats-strip.stats-strip-relocated .stat-number {
    font-size: 1.32rem !important;
  }

  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .stats-strip.stats-strip-relocated .stat-label {
    font-size: 0.58rem !important;
    letter-spacing: 0.01em;
  }

  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .stats-strip.stats-strip-relocated .stat-progress {
    max-width: 40px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.dogus-layout.home-wide .blueprint-home.sketch-adapted {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
  }

  body.dogus-layout.home-wide .blueprint-home .container.blueprint-shell {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  body.dogus-layout.home-wide .sketch-adapted .blueprint-shell {
    max-width: 100% !important;
    width: 100% !important;
    gap: 0 !important;
  }

  body.dogus-layout.home-wide .sketch-adapted .blueprint-intro-grid {
    border: 0 !important;
    background: transparent !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.dogus-layout.home-wide .sketch-adapted .blueprint-intro-card {
    border-radius: 0 !important;
    width: 100% !important;
    min-height: 360px !important;
    margin: 0 !important;
  }

  body.dogus-layout.home-wide .sketch-adapted .blueprint-intro-card--main,
  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .blueprint-intro-card--main {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body.dogus-layout.home-wide .sketch-adapted .blueprint-intro-card--main .blueprint-intro-frame,
  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .blueprint-intro-card--main .blueprint-intro-frame {
    margin-top: 40px !important;
  }

  body.dogus-layout.home-wide .sketch-adapted .blueprint-intro-frame {
    padding: 1.4rem 1.35rem !important;
    gap: 1.05rem !important;
  }

  body.dogus-layout.home-wide main {
    padding-top: calc(64px + env(safe-area-inset-top, 0px)) !important;
  }

  body.dogus-layout.home-wide .sketch-adapted .blueprint-intro-grid {
    margin-top: 0 !important;
  }

  body.dogus-layout.home-wide .site-header.dogus-header,
  body.dogus-layout.home-wide .site-header.dogus-header.is-hero-header,
  body.dogus-layout.home-wide .site-header.dogus-header.is-hero-header:not(.is-scrolled) {
    background: #ffffff !important;
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  }

  .sketch-adapted .blueprint-category-card:nth-child(n + 4) {
    min-height: 190px !important;
  }

  .sketch-adapted .blueprint-tabs {
    grid-template-columns: 1fr !important;
  }

  .sketch-adapted .blueprint-tabs a {
    min-height: 48px;
    padding: 0.85rem 1rem !important;
    font-size: 0.82rem !important;
  }

  .home-ongoing-projects-head {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  /* İçerik sayfaları — tek bölüm kart hero */
  body.dogus-layout .category-table-layout.is-filter-single .content-block.content-table-row--card:not(.category-table-hidden) .content-card-media,
  body.dogus-layout .category-table-layout.is-filter-single .content-block.content-table-row.is-focused-card:not(.category-table-hidden) .content-card-media,
  body.dogus-layout .category-table-layout.is-filter-single .service-category:not(.category-table-hidden) .service-category-header .content-table-title,
  body.dogus-layout .category-table-layout.is-filter-single .service-subcard.content-table-row:not(.category-table-hidden) .content-table-title {
    aspect-ratio: 16 / 9 !important;
    min-height: 200px !important;
  }

  body.dogus-layout .contact-info,
  body.dogus-layout .contact-form {
    padding: 1rem !important;
  }

  body.dogus-layout .contact-grid {
    gap: 1.25rem !important;
  }

  body.dogus-layout .contact-social.contact-social-icons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: 100%;
  }

  body.dogus-layout .contact-social.contact-social-icons a {
    width: 40px;
    height: 40px;
  }

  body.dogus-layout .contact-social:not(.contact-social-icons) {
    justify-content: flex-start;
    gap: 0.5rem;
  }

  body.dogus-layout .contact-social:not(.contact-social-icons) a {
    width: 40px;
    height: 40px;
  }

  body.dogus-layout .map-embed-wrap iframe {
    min-height: 220px;
  }

  .page-hero-dogus .breadcrumb-dogus {
    font-size: 0.72rem;
    line-height: 1.45;
    word-break: break-word;
  }

  body.dogus-layout .editorial-section > .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    box-sizing: border-box;
  }

  body.dogus-layout .content-layout.gumus-content-layout,
  body.dogus-layout .projects-layout {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .news-list,
  .news-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .news-card-body h2 {
    font-size: 1.05rem !important;
    line-height: 1.35;
  }

  .stats-grid {
    gap: 0.4rem !important;
  }

  .stat-label {
    font-size: 0.68rem !important;
    line-height: 1.35;
  }

  .sectors-carousel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    gap: 1rem;
    padding: 0 !important;
  }

  .sector-card {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 280px !important;
    scroll-snap-align: none;
  }

  .swipe-carousel-hint,
  .swipe-carousel-dots,
  .swipe-carousel-nav {
    display: none !important;
  }

  .scroll-top {
    left: 1rem !important;
    right: auto !important;
    bottom: 1rem !important;
    background: rgba(5, 158, 5, 0.72) !important;
  }

  .scroll-top.is-visible {
    opacity: 0.82 !important;
  }

  .social-float-stack {
    right: 1rem !important;
    bottom: 5.35rem !important;
  }

  .whatsapp-float {
    right: 1rem !important;
    bottom: 5.35rem !important;
  }

  body:has(.cookie-banner.visible) .scroll-top {
    bottom: 11rem !important;
    z-index: 610 !important;
  }

  body:has(.cookie-banner.visible) .social-float-stack {
    bottom: 9.5rem;
  }

  body:has(.cookie-banner.visible) .whatsapp-float {
    bottom: 5.35rem !important;
  }
}

.social-float-stack,
#social-float-stack,
.whatsapp-float {
  display: none !important;
}

/* JS kapali / noscript fallback (madde 10) */
.noscript-shell-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #111;
  color: #fff;
  font-size: 0.875rem;
}
.noscript-shell-inner a {
  color: #fff;
  text-decoration: underline;
}
.noscript-sep {
  opacity: 0.45;
}
.noscript-footer-inner {
  padding: 1.25rem 1rem;
  background: #111;
  color: #ccc;
  text-align: center;
  font-size: 0.85rem;
}
.noscript-footer-inner a {
  color: #fff;
}

/* Sticky şeffaf navbar — mobile.css en son yüklendiği için kesin override */
body.dogus-layout .site-header.dogus-header,
body.dogus-layout .site-header.dogus-header.is-solid,
body.dogus-layout .site-header.dogus-header.is-header-unified,
body.dogus-layout:not(.has-hero):not(:has(.page-hero-dogus, .dogus-hero)):not(.home-wide) .site-header.dogus-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  transform: none !important;
}

body.dogus-layout .site-header.dogus-header.is-solid,
body.dogus-layout .site-header.dogus-header.is-header-unified,
body.dogus-layout:not(.has-hero):not(:has(.page-hero-dogus, .dogus-hero)):not(.home-wide) .site-header.dogus-header,
body.dogus-layout.has-hero .site-header.dogus-header.is-hero-header:not(.is-scrolled),
body.dogus-layout.home-wide .site-header.dogus-header.is-hero-header:not(.is-scrolled),
body.dogus-layout:has(.page-hero-dogus, .dogus-hero) .site-header.dogus-header:not(.is-scrolled) {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05) !important;
}

body.dogus-layout.has-hero .site-header.dogus-header.is-hero-header.is-scrolled:not(.is-solid),
body.dogus-layout.home-wide .site-header.dogus-header.is-hero-header.is-scrolled:not(.is-solid),
body.dogus-layout:has(.page-hero-dogus, .dogus-hero) .site-header.dogus-header.is-scrolled:not(.is-solid) {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08) !important;
}

body.nav-open .site-header.dogus-header {
  z-index: 1001 !important;
}

/* Navbar scroll — kesin kilit (canlı = yerel) */
body.dogus-layout.home-wide .site-header.dogus-header.is-hero-header:not(.is-scrolled),
body.dogus-layout.has-hero .site-header.dogus-header.is-hero-header:not(.is-scrolled),
body.dogus-layout:has(.page-hero-dogus, .dogus-hero) .site-header.dogus-header.is-hero-header:not(.is-scrolled) {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05) !important;
}

body.dogus-layout.home-wide .site-header.dogus-header.is-hero-header.is-scrolled:not(.is-solid),
body.dogus-layout.has-hero .site-header.dogus-header.is-hero-header.is-scrolled:not(.is-solid),
body.dogus-layout:has(.page-hero-dogus, .dogus-hero) .site-header.dogus-header.is-hero-header.is-scrolled:not(.is-solid),
body.dogus-layout:has(.page-hero-dogus, .dogus-hero) .site-header.dogus-header.is-scrolled:not(.is-solid) {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* Scroll sonrası header — kesin beyaz kilit */
body.dogus-layout .site-header.dogus-header.is-scrolled,
body.dogus-layout.home-wide .site-header.dogus-header.is-scrolled,
body.dogus-layout.has-hero .site-header.dogus-header.is-scrolled,
body.dogus-layout .site-header.dogus-header.is-hero-header.is-scrolled,
body.dogus-layout .site-header.dogus-header.is-hero-header.is-scrolled.is-solid {
  background: #ffffff !important;
  background-color: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* Ana sayfa intro — bulanık kutu header altından (mobil kilit) */
@media (max-width: 768px) {
  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .blueprint-intro-card.blueprint-intro-card--main {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body.dogus-layout.home-wide .blueprint-home.sketch-adapted .blueprint-intro-card--main > .blueprint-intro-frame {
    margin-top: 40px !important;
  }
}

/* Header — her durumda tam beyaz (şeffaflık / blur yok) */
body.dogus-layout .site-header.dogus-header,
body.dogus-layout .site-header.dogus-header.is-solid,
body.dogus-layout .site-header.dogus-header.is-scrolled,
body.dogus-layout .site-header.dogus-header.is-hero-header,
body.dogus-layout .site-header.dogus-header.is-hero-header.is-scrolled,
body.dogus-layout .site-header.dogus-header.is-hero-header:not(.is-scrolled),
body.dogus-layout.home-wide .site-header.dogus-header,
body.dogus-layout.has-hero .site-header.dogus-header,
body.dogus-layout:has(.page-hero-dogus, .dogus-hero) .site-header.dogus-header,
body.nav-open .site-header.dogus-header {
  background: #ffffff !important;
  background-color: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Mobil çekmece menü — dikey çizgi yalnızca başlık satırında kalsın */
@media (max-width: 1099px) {
  body.dogus-layout .dogus-nav-item.has-dropdown {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 52px !important;
    grid-template-rows: auto auto !important;
  }

  body.dogus-layout .dogus-nav-item.has-dropdown > .dogus-nav-parent-row {
    display: contents !important;
  }

  body.dogus-layout .dogus-nav-item.has-dropdown > .dogus-nav-parent-row .dogus-nav-parent {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.dogus-layout .dogus-nav-item.has-dropdown > .dogus-nav-parent-row .dogus-nav-toggle {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    align-self: start !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-left: 1px solid rgba(70, 155, 55, 0.55) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
  }

  body.dogus-layout .dogus-nav-item.has-dropdown.is-expanded > .dogus-nav-parent-row .dogus-nav-parent,
  body.dogus-layout .dogus-nav-item.has-dropdown.is-expanded > .dogus-nav-parent-row .dogus-nav-toggle {
    border-bottom: none !important;
  }

  body.dogus-layout .dogus-nav-item.has-dropdown > .dogus-nav-dropdown {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }

  body.dogus-layout .dogus-nav-item.has-dropdown.is-expanded > .dogus-nav-dropdown {
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  body.dogus-layout .dogus-nav-main > .dogus-nav-item:last-child {
    border-bottom: none !important;
  }

  body.dogus-layout .dogus-menu-tools {
    margin-top: 0 !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  body.dogus-layout .dogus-nav-item.is-expanded .dogus-nav-toggle {
    background: rgba(255, 255, 255, 0.06) !important;
  }
}

/* Mobil header — taşma, safe-area, logo (son geçiş) */
@media (max-width: 768px) {
  .site-header.dogus-header {
    padding-top: env(safe-area-inset-top, 0px);
    min-height: calc(64px + env(safe-area-inset-top, 0px));
  }

  body.dogus-layout .dogus-header-bar .logo {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: 0 !important;
  }

  .dogus-logo-img {
    display: block;
    height: 36px !important;
    max-width: min(100px, 28vw) !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .site-header.dogus-header.is-compact .dogus-logo-img {
    height: 32px !important;
    max-width: min(92px, 26vw) !important;
  }

  body.dogus-layout .dogus-header-actions {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    max-width: none !important;
    overflow: visible !important;
  }

  body.dogus-layout .dogus-header-bar {
    overflow: visible !important;
  }

  .dogus-header-actions .dogus-header-social {
    display: none !important;
  }

  body.dogus-layout .dogus-header-actions .dogus-header-invest-btn {
    display: inline-flex !important;
    visibility: visible !important;
    flex-shrink: 0 !important;
    max-width: none !important;
    min-width: 3.15rem !important;
    padding: 0 0.42rem !important;
    font-size: 0.54rem !important;
    letter-spacing: 0.03em !important;
    line-height: 1.05 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .dogus-fullmenu-close {
    top: max(0.75rem, env(safe-area-inset-top)) !important;
    right: max(0.75rem, env(safe-area-inset-right)) !important;
  }

  body.dogus-sector-detail-page main {
    padding-top: calc(64px + env(safe-area-inset-top, 0px)) !important;
  }

  .dogus-sector-detail-media {
    min-height: 42vw;
  }

  .dogus-sector-detail-copy {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .dogus-sector-brands {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .dogus-sector-brands-carousel > h2 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .dogus-sector-brands-carousel__shell {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}
