/* ==========================================================================
   Moban Spor - Core Stylesheet (V5 — High-End Agency Edition)
   ========================================================================== */
:root {
  --primary-color: #1FC2F5; 
  --primary-hover: #15a8d8;
  --secondary-color: #161616; 
  --secondary-darker: #121212;
  --text-dark: #141414;
  --text-gray: #555555;
  --text-light: #F7F8FA;
  --bg-light: #e6e5e0; /* Technogym warm greige/stone background */
  --bg-white: #FFFFFF;
  --border-color: #d6d4ce;
  --border-color-light: rgba(0, 0, 0, 0.08); 
  
  --font-family-main: 'Plus Jakarta Sans', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  
  --border-radius-sm: 4px;
  --border-radius-card: 6px;
  --border-radius-lg: 8px;
  --border-radius-xl: 10px;
  --border-radius-pill: 4px;
  --border-radius-sharp: 2px;
  --container-width: 1440px;
  --section-padding: 120px 0;
  
  /* Technogym Minimal System — ZERO SHADOWS AT ALL */
  --shadow-sm:    none;
  --shadow-card:  none;
  --shadow-hover: none;
  --shadow-float: none;
  --shadow-glass: none;
  --shadow-cyan:  none;

  /* Easing */
  --ease-smooth: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-enter:  cubic-bezier(0.22, 1, 0.36, 1);

  --transition-fast:   0.2s ease;
  --transition-normal: 0.35s ease;
  --transition-slow:   0.6s ease;
}

/* ========================================================================== 
   HOMEPAGE COHESION PASS — extends the hero's technical visual language
   ========================================================================== */


/* ZERO SHADOWS & ZERO BLURS — Technogym Strict Architectural Rule */
*, *::before, *::after {
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { overflow-x: hidden; width: 100%; max-width: 100%; }
html, body { overflow-x: hidden; width: 100%; }
body {
  position: relative;
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-regular);
  color: var(--text-gray);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 50px; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4, h5, h6 { color: var(--text-dark); font-weight: var(--font-weight-medium); line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 3.5rem; font-weight: var(--font-weight-light); text-transform: uppercase; }
h2 { font-size: 2.8rem; font-weight: var(--font-weight-light); }
h3 { font-size: 1.8rem; font-weight: var(--font-weight-light); }
p { font-weight: var(--font-weight-light); }
a { text-decoration: none; color: inherit; transition: var(--transition-normal); }

/* ============ PREMIUM BUTTON SYSTEM ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px;
  font-family: var(--font-family-main); font-size: 0.82rem; font-weight: var(--font-weight-semibold);
  letter-spacing: 0.07em; text-transform: uppercase;
  border-radius: var(--border-radius-pill); cursor: pointer;
  transition: all var(--transition-normal); border: 1px solid transparent;
  position: relative; overflow: hidden; z-index: 1;
  box-shadow: none;
  white-space: nowrap;
}

/* Button press physics */
.btn:active { transform: scale(0.975); }

/* Icon-in-button wrapper: trailing icon sits in its own circle */
.btn-icon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.btn:hover .btn-icon-wrap {
  transform: translate(2px, -1px) scale(1.08);
  background: rgba(0,0,0,0.18);
}
.btn-icon-wrap svg { display: block; }

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 4px 20px rgba(31,194,245,0.25);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 8px 30px rgba(31,194,245,0.35);
  transform: translateY(-1px);
}
.btn-outline-white {
  background-color: transparent;
  color: var(--bg-white);
  border-color: rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-dark {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}
.btn-outline-dark:hover {
  background-color: var(--text-dark);
  color: var(--bg-white);
  border-color: var(--text-dark);
  box-shadow: var(--shadow-hover);
}

/* Yukarı çık (sabit) — .btn kullanılmaz; gölge yok */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sharp);
  background-color: var(--bg-white);
  color: var(--text-dark);
  cursor: pointer;
  box-shadow: none;
  text-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast),
    background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.scroll-to-top svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-hover);
  color: var(--bg-white);
}

.scroll-to-top:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.whatsapp-float {
  position: fixed;
  right: 84px;
  bottom: 24px;
  z-index: 900;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: #25d366;
  border: 1px solid #1fbd5b;
  border-radius: 50%;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.whatsapp-float svg { width: 24px; height: 24px; }

.whatsapp-float:hover {
  color: #fff;
  background: #20bd5a;
  border-color: #19a94e;
  transform: translateY(-2px);
}

.whatsapp-float:active { transform: translateY(0) scale(.97); }

.whatsapp-float:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .scroll-to-top {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .whatsapp-float {
    right: 70px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  .whatsapp-float svg { width: 22px; height: 22px; }
}

body.has-cookie-banner .scroll-to-top,
body.has-cookie-banner .whatsapp-float {
  bottom: 108px;
}

@media (max-width: 600px) {
  body.has-cookie-banner .scroll-to-top,
  body.has-cookie-banner .whatsapp-float {
    bottom: 120px;
  }
}

/* Çerez tercih bandı */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: var(--bg-white);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -8px 32px rgba(57, 72, 84, 0.1);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}

.cookie-consent.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-consent.is-hiding {
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
}

.cookie-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 0;
}

.cookie-consent .container {
  box-sizing: border-box;
}

.cookie-consent__content {
  flex: 1;
  min-width: 0;
}

.cookie-consent__title {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.cookie-consent__message {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-gray);
  max-width: 52em;
}

.cookie-consent__message a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__message a:hover {
  color: var(--primary-hover);
}

.cookie-consent__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
}

.cookie-consent__btn.btn {
  padding: 14px 24px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cookie-consent .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px 0 22px;
  }

  .cookie-consent__title {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
  }

  .cookie-consent__message {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .cookie-consent__message a {
    display: inline;
  }

  .cookie-consent__actions {
    width: 100%;
    gap: 10px;
  }

  .cookie-consent__btn.btn {
    flex: 1;
    min-width: 0;
    padding: 14px 12px;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cookie-consent .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    transition: none;
  }
}

/* ============ HEADER — Transparent → Glassmorphism Scroll ============ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background-color: transparent;
  color: var(--text-dark);
  border-bottom: 1px solid transparent;
  transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), backdrop-filter var(--transition-normal);
}

/* Homepage: start transparent over hero */
.site-header.header-transparent {
  background-color: transparent;
  border-bottom-color: transparent;
}
.site-header.header-transparent .main-nav > ul > li > a,
.site-header.header-transparent .site-logo img { filter: none; }

/* Scrolled state — floating glass effect */
.site-header.header-scrolled {
  background-color: rgba(255,255,255,0.90);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom-color: rgba(0,0,0,0.06);
  box-shadow: 0 4px 30px rgba(15,23,42,0.08), 0 1px 4px rgba(15,23,42,0.04);
}

/* Non-hero pages always show solid header */
.site-header.header-solid {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.header-top-bar {
  background-color: var(--secondary-darker);
  padding: 8px 0;
}

.header-main-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.site-logo img { max-height: 58px; width: auto; transition: var(--transition-fast); }

.header-actions { display: flex; align-items: center; gap: 16px; overflow: visible; }

.btn-header-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--primary-color);
  background-color: var(--primary-color);
  border-radius: var(--border-radius-pill);
  font-size: 0.8rem; font-weight: var(--font-weight-semibold); text-transform: uppercase; letter-spacing: 0.06em;
  transition: all var(--transition-fast); color: white;
  box-shadow: 0 4px 16px rgba(31,194,245,0.28);
}
.btn-header-outline:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(31,194,245,0.38);
}

/* Transparent header: nav links white */
.site-header.header-transparent .main-nav > ul > li > a { color: rgba(255,255,255,0.88); }
.site-header.header-transparent .main-nav > ul > li > a svg { fill: rgba(255,255,255,0.88); }
.site-header.header-transparent .main-nav > ul > li:hover > a { color: var(--primary-color); }
.site-header.header-transparent .header-top-bar { opacity: 1; }
.site-header.header-transparent .hamburger-line { background: #fff; }

.main-nav > ul { display: flex; gap: 36px; }
.main-nav > ul > li > a { 
  display: inline-flex; justify-content: center; align-items: center; gap: 6px;
  padding: 24px 0; font-size: 0.9rem; font-weight: var(--font-weight-semibold); 
  color: var(--secondary-color); position: relative;
  letter-spacing: 0.01em;
}
/* Underline hover accent */
.main-nav > ul > li > a::after {
  content: '';
  position: absolute; bottom: 18px; left: 0;
  width: 0; height: 2px;
  background: var(--primary-color);
  border-radius: 999px;
  transition: width var(--transition-normal);
}
.main-nav > ul > li:hover > a::after { width: 100%; }
.main-nav > ul > li > a svg { width: 10px; height: 10px; fill: currentColor; opacity: 0.5; transition: var(--transition-fast); }
.main-nav > ul > li:hover > a { color: var(--primary-color); }
.main-nav > ul > li:hover > a svg { opacity: 1; transform: rotate(180deg); fill: var(--primary-color); }

/* Mega Menu - Visual */
.mega-menu {
  position: absolute; top: 100%; left: 0; width: 100vw;
  background: var(--bg-white);
  border-top: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 32px 64px rgba(15,23,42,0.12), 0 8px 16px rgba(15,23,42,0.05);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: var(--transition-normal); pointer-events: none; z-index: 100;
  text-align: left;
  border-radius: 0 0 20px 20px;
}
/* Invisible bridge to prevent hover loss between menu item and dropdown */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: transparent;
}
.has-dropdown:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

.mega-menu-flex { display: flex; padding: 0; }
.mega-menu-links { flex: 2; display: flex; gap: 60px; padding: 60px 0; }
.link-column h4 { font-size: 0.9rem; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; color: var(--text-gray); text-transform: uppercase; letter-spacing: 0.1em;}
.link-column ul { display: flex; flex-direction: column; gap: 15px; }
.link-column a { font-weight: var(--font-weight-light); font-size: 1rem; color: var(--secondary-color); padding: 0; border: none; display: inline-block; width: auto; }
.link-column a:hover { color: var(--primary-color); padding-left: 5px; }

.mega-menu-visual { flex: 1; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; padding: 40px; }
.mega-menu-visual::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); }
.visual-content { position: relative; z-index: 2; color: white; }
.visual-content h4 { color: white; margin-bottom: 5px; font-size: 1.2rem; }
.visual-content p { font-size: 0.9rem; opacity: 0.8; margin: 0; }

/* Global Utilities */
.section-title-wrapper { margin-bottom: 80px; } 
.section-subtitle { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary-color); margin-bottom: 20px; font-weight: var(--font-weight-medium); }

/* Footer */
.site-footer { background-color: var(--secondary-color); color: var(--text-light); padding: 70px 0 0; border-top: 1px solid var(--secondary-darker); position: relative; z-index: 10; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 50px; }
.footer-widget h4 { color: var(--bg-white); font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #aaa; font-weight: var(--font-weight-light); font-size: 0.9rem; }
.footer-links a:hover { color: var(--bg-white); }

.footer-contact-list li { margin-bottom: 0; }
.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #B0B0B0;
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: var(--font-weight-light);
}
.footer-contact-row + .footer-contact-row {
    margin-top: 14px;
}
.footer-contact-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    color: var(--bg-white);
}
.footer-contact-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
.footer-contact-row strong {
    color: var(--bg-white);
    font-weight: var(--font-weight-regular);
}
.footer-contact-row a {
    color: #aaa;
    transition: color 0.25s ease;
}
.footer-contact-row a:hover {
    color: var(--bg-white);
}
.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}
.footer-social-link:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--bg-white);
}
.footer-social-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

.footer-bottom { margin-top: 50px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; color: #888; font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }
.footer-parent-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #777;
    font-size: 0.68rem;
    line-height: 1;
    white-space: nowrap;
}
.footer-parent-brand-logo {
    display: inline-flex;
    align-items: center;
    opacity: 0.82;
    transition: opacity var(--transition-fast);
}
.footer-parent-brand-logo:hover,
.footer-parent-brand-logo:focus-visible {
    opacity: 1;
}
.footer-parent-brand-logo:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
}
.footer-parent-brand img {
    display: block;
    width: auto;
    height: 14px;
    max-width: 72px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .footer-parent-brand {
        order: 3;
        flex-basis: 100%;
        justify-content: flex-start;
        margin-top: 5px;
    }
}

/* ============ PREMIUM SCROLL REVEAL ANIMATIONS ============ */
/* Blur-to-sharp entry — cinematic depth feel */
.animate-up {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity 0.72s var(--ease-enter), transform 0.72s var(--ease-enter), filter 0.72s var(--ease-enter);
}
.animate-up.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
/* Stagger delays for child elements */
.animate-up:nth-child(2) { transition-delay: 0.08s; }
.animate-up:nth-child(3) { transition-delay: 0.16s; }
.animate-up:nth-child(4) { transition-delay: 0.24s; }
.animate-up:nth-child(5) { transition-delay: 0.32s; }
.animate-up:nth-child(6) { transition-delay: 0.40s; }

/* Stagger via data attribute */
[data-delay="1"] { transition-delay: 0.10s !important; }
[data-delay="2"] { transition-delay: 0.20s !important; }
[data-delay="3"] { transition-delay: 0.30s !important; }
[data-delay="4"] { transition-delay: 0.40s !important; }
[data-delay="5"] { transition-delay: 0.50s !important; }

@media (prefers-reduced-motion: reduce) {
  .animate-up {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* Rotating Gear Background - Section Specific */
.section-gear {
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    z-index: 0; /* Inside section, behind content */
    opacity: 0.05; /* More visible now */
    pointer-events: none;
    animation: rotateGear 60s linear infinite; /* Faster rotation */
}

.section-gear svg { width: 100%; height: 100%; fill: none; stroke: var(--secondary-color); stroke-width: 1px; }

@keyframes rotateGear {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

/* ==========================================================================
   INNER PAGES (ABOUT, CONTACT)
   ========================================================================== */

/* Page Header */
.page-header {
    padding: 180px 0 100px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--bg-white);
    text-align: center;
    position: relative;
}
.page-header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: var(--font-weight-light);
    text-transform: none;
    color: var(--bg-white);
}
.page-header-lead {
    max-width: 38rem;
    margin: 1rem auto 0;
    font-size: 1.05rem;
    line-height: 1.65;
    font-weight: var(--font-weight-light);
    color: rgba(255, 255, 255, 0.88);
}
.breadcrumb {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 1px;
}
.breadcrumb li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}
.breadcrumb li a:hover {
    color: var(--bg-white);
}
.breadcrumb .separator {
    margin: 0 15px;
    color: rgba(255,255,255,0.5);
}
.breadcrumb .active {
    color: rgba(255,255,255,0.7);
}

/* Common Components */
.accent-line { width: 60px; height: 3px; background-color: var(--primary-color); }

.section-padding { padding: 120px 0; }

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 60px;
    align-items: start;
}
.contact-info h2 { font-size: 2.8rem; margin-bottom: 20px; color: var(--text-dark); text-transform: none; }
.contact-info__accent { margin-bottom: 40px; }
.info-block h4 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 10px; }
.info-block p { color: var(--text-gray); line-height: 1.8; margin: 0; }
.info-block + .info-block,
.info-block--spaced { margin-top: 30px; }
.contact-info a { color: var(--primary-color); }
.contact-info a:hover { color: var(--primary-hover); }

.contact-map-col .map-container { margin-top: 0; }

.contact-map-leaflet {
    height: min(420px, 52vh);
    min-height: 300px;
    width: 100%;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
}
.contact-map-open {
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 0.9rem;
}
.contact-map-open a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.contact-map-open a:hover {
    color: var(--primary-hover);
}

/* İletişim haritası — favicon işaretçi (oran korunur, köşeli çerçeve + ibik) */
.leaflet-div-icon.moban-map-marker-wrap {
    border: none;
    background: transparent;
}
.moban-map-marker-pin {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* İkon: <img> kullanmıyoruz — Leaflet .leaflet-container img { max-width:none !important } tüm görselleri bozar;
   background-image ile oran korunur ve boyut sabittir */
.moban-map-marker-thumb {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.moban-map-marker-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 6px;
    box-sizing: border-box;
    background: var(--bg-white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: moban-map-marker-pulse 2.2s ease-in-out infinite;
    overflow: hidden;
    flex-shrink: 0;
}
.moban-map-marker-pointer {
    width: 0;
    height: 0;
    margin-top: -3px;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 13px solid var(--primary-color);
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.2));
}
@keyframes moban-map-marker-pulse {
    0%, 100% {
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.28));
        transform: scale(1.06);
    }
}
@media (prefers-reduced-motion: reduce) {
    .moban-map-marker-frame {
        animation: none;
        filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.22));
    }
}

.map-container { margin-top: 40px; }

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

/* Career Page */
.career-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 60px;
    align-items: start;
}
.career-intro {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.75;
    margin: 0;
}
.career-contact-card {
    margin-top: 36px;
    padding: 28px 30px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}
.career-contact-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0 0 16px;
}
.career-contact-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0 0 10px;
}
.career-contact-card p:last-child { margin-bottom: 0; }
.career-contact-card a {
    color: var(--primary-color);
}
.career-contact-card a:hover {
    color: var(--primary-hover);
}
.career-media img {
    width: 100%;
    display: block;
    border: 1px solid var(--border-color);
    filter: grayscale(15%);
    object-fit: cover;
    aspect-ratio: 4 / 3;
}
@media (max-width: 1024px) {
    .career-grid { grid-template-columns: 1fr; gap: 40px; }
    .career-media { order: -1; }
}

.premium-form-box { background: var(--bg-light); padding: 50px; border: 1px solid var(--border-color); }
.form-desc { color: var(--text-gray); margin-bottom: 40px; font-size: 0.95rem; line-height: 1.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Floating Label Inputs (Premium Form Style) */
.form-group { position: relative; margin-bottom: 30px; }
.form-control { width: 100%; padding: 10px 0; font-size: 1rem; color: var(--text-dark); background: transparent; border: none; border-bottom: 1px solid #ccc; transition: all 0.3s; font-family: var(--font-family-main); }
.form-control:focus { outline: none; border-bottom-color: var(--primary-color); }
.form-group label { position: absolute; top: 10px; left: 0; font-size: 1rem; color: var(--text-gray); pointer-events: none; transition: 0.3s ease all; }

/* Animate label when input is focused or not empty */
.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label { top: -20px; font-size: 0.8rem; color: var(--primary-color); }

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-map-col .map-container { margin-top: 0; }
    .contact-map-leaflet { height: 320px; min-height: 280px; }
}

/* Service / Page Layout */
.service-layout { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: start; }
.sidebar-nav { background: var(--bg-light); border: 1px solid var(--border-color); padding: 30px; position: sticky; top: 100px; }
.sidebar-nav h3 { font-size: 1.2rem; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); text-transform: uppercase; }
.sidebar-nav ul { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; }
.sidebar-nav a { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; border: 1px solid transparent; background: var(--bg-white); color: var(--text-gray); transition: all 0.3s; font-size: 0.95rem; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--primary-color); color: var(--bg-white); border-color: var(--primary-hover); }

.sidebar-contact { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border-color); }
.sidebar-contact h4 { font-size: 1.1rem; margin-bottom: 10px; }
.sidebar-contact p { font-size: 0.85rem; color: var(--text-gray); margin-bottom: 20px; line-height: 1.6; }

/* Service hero + floating sidebar overlap (service.php only) */
.page-header--service {
    text-align: left;
    padding: 212px 0 148px;
    background-position: center;
    background-attachment: scroll;
}
.page-header--service .container {
    padding-left: 50px;
    padding-right: 50px;
}
.page-header--service h1 {
    font-size: clamp(2rem, 3.8vw, 3.65rem);
    max-width: 16ch;
    line-height: 1.08;
    margin-top: 0;
    margin-bottom: 18px;
}
.page-header--service .breadcrumb {
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: var(--font-weight-medium);
}
.page-header--service .breadcrumb .separator {
    margin: 0 10px;
}

.service-detail-section--overlap {
    position: relative;
    z-index: 4;
    padding-top: 40px;
    margin-top: 0;
}

.service-detail-section--overlap.section-padding {
    padding-bottom: 120px;
}

.service-detail-section--overlap .service-layout {
    gap: 48px;
    align-items: flex-start;
}

.service-detail-section--overlap .sidebar-nav {
    margin-top: -130px;
    position: sticky;
    top: 112px;
    z-index: 5;
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 32px 64px rgba(10, 15, 19, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    padding: 34px 28px 32px;
    overflow: visible;
}

.service-detail-section--overlap .sidebar-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), rgba(31, 194, 245, 0.45));
}

.service-detail-section--overlap .sidebar-nav h3 {
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.service-detail-section--overlap .sidebar-nav ul {
    gap: 8px;
}

.service-detail-section--overlap .sidebar-nav a {
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-detail-section--overlap .sidebar-contact {
    margin-top: 36px;
    padding-top: 28px;
    border-top-color: rgba(0, 0, 0, 0.08);
}

.service-detail-section--overlap .article-content {
    margin-top: -130px;
    position: relative;
    z-index: 2;
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 34px 28px 44px;
    box-shadow: 0 22px 50px rgba(10, 15, 19, 0.07);
}

.service-detail-section--overlap .article-image {
    margin: 0 0 36px 0;
}

.service-detail-section--overlap .article-image img {
    max-height: 420px;
    border: 1px solid var(--border-color);
}

.article-image { margin-bottom: 40px; }
.article-image img { width: 100%; height: auto; max-height: 500px; object-fit: cover; border-radius: var(--border-radius-sharp); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.article-title { font-size: 2.5rem; margin-bottom: 20px; text-transform: none; }
.article-body { overflow-x: hidden; min-width: 0; word-break: break-word; overflow-wrap: break-word; }
.article-body p { font-size: 1.1rem; color: var(--text-gray); line-height: 1.8; margin-bottom: 25px; }
.article-body h3 { font-size: 1.8rem; margin: 40px 0 20px; color: var(--text-dark); font-weight: 300; }
.article-body ul { margin-bottom: 30px; padding-left: 20px; }
.article-body li { margin-bottom: 10px; font-size: 1.05rem; color: var(--text-gray); display: flex; align-items: center; gap: 10px; }
.article-body li::before { content: ''; display: block; width: 6px; height: 6px; background: var(--primary-color); border-radius: 50%; flex-shrink: 0; }
/* Editörden gelen inline style'lardan bağımsız — görseller her zaman container'ı taşmaz */
.article-body img { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; }
/* Görsellerin içinde bulunduğu tüm bloklar container'ı taşmasın */
.article-body div[style] { max-width: 100%; box-sizing: border-box; }
/* Editör 2× / 3× galeri — yan yana kolonlar; minmax(0,1fr) taşmayı önler */
.article-body .article-img-grid {
    display: grid;
    gap: 12px;
    margin: 16px 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.article-body .article-img-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.article-body .article-img-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 520px) {
    .article-body .article-img-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 380px) {
    .article-body .article-img-grid--3 {
        grid-template-columns: 1fr;
    }
}
/* Tablolar yatay kaydırmayı desteklesin */
/* Tablolar modern ve şık görünsün */
.article-body table {
    width: 100%;
    max-width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    font-size: 0.95rem;
    line-height: 1.5;
}
.article-body th,
.article-body td {
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    text-align: left;
}
.article-body th {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-weight: 500;
}
.article-body tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.01);
}
@media (max-width: 768px) {
    .article-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}

/* Service detail: standart okuma gövdesi (service.php) */
.service-detail-section .article-body p {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.15rem;
    font-weight: var(--font-weight-light);
}
.service-detail-section .article-body h3 {
    font-size: 1.45rem;
    margin: 32px 0 14px;
}
.service-detail-section .article-body ul {
    margin-bottom: 24px;
}
.service-detail-section .article-body li {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 8px;
}

/* Blog Layout & Cards */
.blog-layout { display: grid; grid-template-columns: 1fr 350px; gap: 60px; align-items: start; }
.blog-main-content { min-width: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-bottom: 50px; }

/* Blog editorial sidebar */
.blog-sidebar {
  position: sticky;
  top: 126px;
  min-width: 0;
}

.blog-sidebar-inner {
  overflow: hidden;
  background: #0d1519;
  color: #eef4f6;
  border-top: 3px solid var(--primary-color);
}

.blog-sidebar-header,
.blog-sidebar-nav,
.blog-sidebar-support {
  padding: 30px;
}

.blog-sidebar-nav,
.blog-sidebar-support,
.blog-sidebar-email {
  border-top: 1px solid #27343a;
}

.blog-sidebar-kicker,
.blog-sidebar-label {
  display: block;
  color: var(--primary-color);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.blog-sidebar-header h2 {
  max-width: 10ch;
  margin: 18px 0 16px;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: none;
  text-wrap: balance;
}

.blog-sidebar-header p,
.blog-sidebar-support p {
  margin: 0;
  color: #aebbc0;
  font-size: .9rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.blog-sidebar-nav {
  display: flex;
  flex-direction: column;
}

.blog-sidebar-nav .blog-sidebar-label {
  margin-bottom: 16px;
  color: #78888f;
}

.blog-sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 0;
  color: #e9eff1;
  border-bottom: 1px solid #27343a;
  font-size: .86rem;
  font-weight: 500;
  transition: color .22s ease, padding-left .22s ease;
}

.blog-sidebar-nav a:last-child { border-bottom: 0; }
.blog-sidebar-nav a svg { width: 16px; height: 16px; color: #718087; transition: transform .22s ease, color .22s ease; }
.blog-sidebar-nav a:hover { padding-left: 6px; color: var(--primary-color); }
.blog-sidebar-nav a:hover svg { color: var(--primary-color); transform: translateX(3px); }

.blog-sidebar-support {
  background: #121e23;
}

.blog-sidebar-support h3 {
  max-width: 12ch;
  margin: 16px 0 14px;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.04;
  text-transform: none;
  text-wrap: balance;
}

.blog-sidebar-phone {
  display: block;
  margin-top: 24px;
  padding: 16px 0;
  color: #fff;
  border-top: 1px solid #334249;
  border-bottom: 1px solid #334249;
}

.blog-sidebar-phone small {
  display: block;
  margin-bottom: 5px;
  color: #7f9097;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-sidebar-phone strong {
  display: block;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: .015em;
}

.blog-sidebar-phone:hover strong { color: var(--primary-color); }

.blog-sidebar-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 16px;
}

.blog-sidebar-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 15px;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .035em;
}

.blog-sidebar-whatsapp {
  background: #25d366;
  color: #07150c;
}

.blog-sidebar-whatsapp:hover { background: #39df76; color: #07150c; }

.blog-sidebar-contact {
  color: #fff;
  border: 1px solid #405058;
}

.blog-sidebar-contact:hover { color: var(--primary-color); border-color: var(--primary-color); }

.blog-sidebar-email {
  display: block;
  padding: 22px 30px 24px;
  background: #0a1114;
}

.blog-sidebar-email span {
  display: block;
  margin-bottom: 5px;
  color: #718087;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-sidebar-email strong {
  color: #d9e2e5;
  font-size: .82rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.blog-sidebar-email:hover strong { color: var(--primary-color); }

.blog-sidebar a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

.blog-card { display: flex; flex-direction: column; background: var(--bg-white); border: 1px solid var(--border-color); transition: all 0.4s ease; cursor: pointer; text-decoration: none; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.06); border-color: rgba(31, 194, 245, 0.2); }
.blog-card-image { position: relative; height: 240px; background-size: cover; background-position: center; overflow: hidden; }
.blog-card-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.4), transparent); opacity: 0.5; transition: opacity 0.4s; }
.blog-card:hover .blog-card-image::after { opacity: 0.8; }
.blog-card-category { position: absolute; top: 15px; left: 15px; background: var(--primary-color); color: var(--bg-white); padding: 4px 12px; font-size: 0.75rem; text-transform: uppercase; font-weight: 500; z-index: 2; }

.blog-card-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-size: 0.85rem; color: #888; margin-bottom: 15px; }
.blog-card-title { font-size: 1.3rem; margin-bottom: 15px; color: var(--text-dark); line-height: 1.4; transition: color 0.3s; }
.blog-card:hover .blog-card-title { color: var(--primary-color); }
.blog-card-excerpt { font-size: 0.95rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }
.blog-card-readmore { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500; text-transform: uppercase; color: var(--text-dark); letter-spacing: 1px; transition: color 0.3s; }
.blog-card:hover .blog-card-readmore { color: var(--primary-color); }

/* Pagination */
.pagination { display: flex; gap: 10px; justify-content: center; border-top: 1px solid var(--border-color); padding-top: 40px; }
.page-link { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; border: 1px solid var(--border-color); color: var(--text-dark); font-weight: 500; transition: all 0.3s; }
.page-link:hover, .page-link.active { background: var(--primary-color); color: var(--bg-white); border-color: var(--primary-hover); }

/* Modal Styles */
.moban-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 15, 19, 0.7);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}
.moban-modal .modal-content {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-sharp);
    width: 90%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalFadeIn 0.3s ease forwards;
}
.moban-modal .close-modal {
    color: var(--text-gray);
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-fast);
}
.moban-modal .close-modal:hover {
    color: var(--primary-color);
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1024px) {
    .service-layout { grid-template-columns: 1fr; }
    .blog-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
    .blog-grid { grid-template-columns: 1fr; }
    .sidebar-nav { position: relative; top: 0; margin-bottom: 40px; }
    .service-layout .article-content { order: 1; }
    .service-layout .sidebar-nav { order: 2; margin-top: 24px; margin-bottom: 0; }

    .page-header--service {
        text-align: center;
        padding: 152px 0 86px;
    }
    .page-header--service h1 {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
    .page-header--service .breadcrumb {
        justify-content: center;
    }

    .service-detail-section--overlap {
        padding-top: 50px;
    }

    .service-detail-section--overlap .sidebar-nav {
        margin-top: 0;
        position: relative;
        top: 0;
        box-shadow: 0 8px 28px rgba(10, 15, 19, 0.08);
    }

    .service-detail-section--overlap .article-content {
        margin-top: 0;
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .service-detail-section--overlap .article-image img {
        border: none;
        max-height: 500px;
    }
}

@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar { position: static; }
    .blog-sidebar-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .blog-sidebar-header { grid-column: 1; }
    .blog-sidebar-nav { grid-column: 2; border-top: 0; border-left: 1px solid #27343a; }
    .blog-sidebar-support,
    .blog-sidebar-email { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .blog-sidebar-inner { display: block; }
  .blog-sidebar-header,
  .blog-sidebar-nav,
  .blog-sidebar-support { padding: 26px 22px; }
  .blog-sidebar-nav { border-top: 1px solid #27343a; border-left: 0; }
  .blog-sidebar-email { padding: 20px 22px 22px; }
  .blog-sidebar-header h2 { font-size: 2.25rem; }
}

@media (max-width: 768px) {
    .blog-single-section {
        padding-top: 146px !important;
    }

    .blog-single-section .single-header h1 {
        font-size: clamp(1.45rem, 6.2vw, 1.9rem) !important;
        line-height: 1.3 !important;
    }

    .blog-single-section .single-footer {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 14px;
    }

    /* Görseller: inline width/height ne olursa olsun mobilde responsive */
    .article-body img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        margin-bottom: 12px;
    }

    /* Sadece 3 sütun çok dar ekranda tek kolona insin (2 sütun yan yana kalsın) */
    .blog-single-section .article-body .article-img-grid--3 {
        grid-template-columns: 1fr !important;
    }

    /* Flex satırlar mobilde dikey dönüşsün */
    .blog-single-section .article-body div[style*="display:flex"],
    .blog-single-section .article-body div[style*="display: flex"] {
        flex-wrap: wrap !important;
    }
}

/* Mobile Navigation & Hamburger */
.mobile-menu-toggle { display: none; background: transparent; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 5px; z-index: 1001; }
.hamburger-line { display: block; width: 25px; height: 2px; background: var(--text-dark); transition: all 0.3s ease; }
.mobile-menu-toggle.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.mobile-nav-open { overflow: hidden; }

@media (max-width: 1024px) {
    .header-top-bar { display: none; }
    .desktop-only { display: none !important; }
    .btn-header-outline { display: none !important; }
    .site-logo img { max-height: 45px; }
    .header-main-row { position: relative; justify-content: flex-end; min-height: 77px; }
    .header-main-row > .site-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .header-actions { margin-left: auto; }
    .mobile-menu-toggle { display: flex; }
    .mobile-menu-toggle.active { opacity: 0; pointer-events: none; }
    
    .main-nav { 
        position: fixed; top: 0; left: 0; 
        width: 100vw; max-width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        background: var(--bg-white); 
        display: flex; flex-direction: column; 
        padding: 0; margin: 0; 
        overflow: hidden;
        visibility: hidden;
        transform: translateX(-100%);
        transition: transform 0.4s ease, visibility 0s linear .4s;
        z-index: 1000; box-sizing: border-box; 
    }
    .main-nav.active {
        visibility: visible;
        transform: translateX(0);
        transition: transform 0.4s ease;
    }
    /* Sadece linkler kayar; üst bar + dil alanı her zaman görünür kalır */
    .main-nav > ul {
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 20px 30px;
        box-sizing: border-box;
        margin: 0;
    }
    .main-nav > ul > li { margin: 0; width: 100%; }
    .main-nav > ul > li > a { font-size: 1.2rem; display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border-color); width: 100%; box-sizing: border-box; }
    
    .has-dropdown:hover .mega-menu { display: block; position: relative; top: 0; box-shadow: none; opacity: 1; visibility: visible; border: none; padding: 10px 0 10px 15px; }
    .mega-menu { display: none; }
    .mega-menu-flex { flex-direction: column; gap: 20px; }
    .mega-menu-visual { display: none !important; }
    .mega-menu-links { flex-direction: column; gap: 20px; }
    .mega-menu-links h4 { font-size: 1rem; margin-bottom: 10px; color: var(--primary-color); }
    .mega-menu-links a { font-size: 1rem !important; border-bottom: none !important; padding: 5px 0 !important; color: var(--text-gray); }
    
    /* General Responsive Fixes */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.2rem; }
    .section-padding { padding: 60px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    
    /* Forms Mobile Fix */
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .premium-form-box { padding: 30px 20px; margin: 0 -20px; border-radius: 0; border-left: none; border-right: none; }
    
    /* Task 1: Footer Mobil */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
    .footer-grid .brand-widget { grid-column: 1 / -1; margin-bottom: 0; }
    .footer-grid .footer-widget:last-child { grid-column: 1 / -1; }
    
    /* Task 2: Service Sayfası */
    .service-layout { display: flex; flex-direction: column; }
    .service-layout .article-content { order: 1; }
    .service-layout .sidebar-nav { order: 2; margin-top: 24px; margin-bottom: 0; }
    
    /* Task 4: Hizmetler Mobil */
    .solutions-grid { grid-template-columns: 1fr; }
    
    /* Task 5: Çalışma Yöntemimiz Swipeable */
    .expertise-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding-bottom: 20px; margin-right: -20px; padding-right: 20px; }
    .expertise-card { min-width: 80vw; scroll-snap-align: center; }
    
    /* Task 6: Dijital Kütüphane Swipeable */
    .catalog-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 30px; padding-bottom: 20px; margin-right: -20px; padding-right: 20px;}
    .catalog-book-card { min-width: 85vw; scroll-snap-align: center; flex-direction: column; text-align: center; }
    .catalog-cover { margin-bottom: 20px; }
}

/* Mobile Nav Panel: Header & Footer */
.mobile-nav-header,
.mobile-nav-footer { display: none; }

@media (max-width: 1024px) {
    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 25px;
        border-bottom: 1px solid var(--border-color);
        background: var(--bg-white);
        z-index: 2;
        width: 100%;
        box-sizing: border-box;
        flex-shrink: 0;
    }
    .mobile-menu-close {
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text-dark);
        padding: 4px;
        display: flex;
        align-items: center;
        transition: color 0.2s;
    }
    .mobile-menu-close:hover { color: var(--primary-color); }

    .mobile-nav-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px 25px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--border-color);
        flex-shrink: 0;
        background: var(--bg-white);
        width: 100%;
        box-sizing: border-box;
    }
    .mobile-lang-selector {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0.05em;
    }
    .mobile-lang { color: var(--text-gray); text-decoration: none; transition: color 0.2s; }
    .mobile-lang.active, .mobile-lang:hover { color: var(--primary-color); }
    .mobile-lang-divider { color: var(--border-color); }

    .mobile-social { display: flex; gap: 16px; align-items: center; }
    .mobile-social a { color: var(--text-gray); transition: color 0.2s; display: flex; }
    .mobile-social a:hover { color: var(--primary-color); }
}

/* Mobile Dropdown Chevron */
.nav-chevron { display: inline-flex; align-items: center; margin-left: 6px; transition: transform 0.3s ease; }
.has-dropdown.open > a .nav-chevron { transform: rotate(180deg); }
.mobile-submenu-toggle { display: none; }

@media (max-width: 1024px) {
    .has-dropdown { position: relative; }
    .site-header.header-transparent .main-nav > ul > li > a { color: var(--text-dark); }
    .nav-chevron--desktop { display: none; }
    .has-dropdown > a { padding-right: 56px !important; }
    .mobile-submenu-toggle {
        position: absolute;
        top: 7px;
        right: 0;
        z-index: 3;
        display: grid;
        width: 44px;
        height: 44px;
        padding: 0;
        place-items: center;
        color: var(--text-dark);
        background: #f1f3f2;
        border: 1px solid var(--border-color);
        cursor: pointer;
    }
    .mobile-submenu-toggle svg { width: 17px; height: 17px; transition: transform .25s ease; }
    .has-dropdown.open > .mobile-submenu-toggle svg { transform: rotate(180deg); }
    .mobile-submenu-toggle:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }
    .has-dropdown .mega-menu { display: none !important; }
    .has-dropdown.open .mega-menu {
        position: relative;
        top: auto;
        left: auto;
        display: block !important;
        width: 100%;
        padding: 10px 0 6px 15px;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        border: 0;
    }
    .has-dropdown.open .mega-menu-flex { width: 100%; padding: 0; }
    .has-dropdown.open .mega-menu-links { width: 100%; padding: 0; }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px !important;
    }
}

/* WhatsApp Sticky Floating Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 84px;
    right: 24px;
    z-index: 900;
    width: 48px;
    height: 48px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.whatsapp-sticky:hover {
    transform: scale(1.1);
    background-color: #20BA5A;
    color: #FFF;
}
.whatsapp-sticky svg {
    width: 26px;
    height: 26px;
}


/* ==========================================================================
   HOMEPAGE & HERO COMPONENTS (Moban Spor Design System)
   ========================================================================== */

/* ==========================================================================
   NEW ASYMMETRICAL SPLIT STAGE HERO (High-End Agency Redesign)
   ========================================================================== */

/* ==========================================================================
   TECHNOGYM ARCHITECTURAL MINIMAL HERO
   ========================================================================== */

.section-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  background-color: #0d1113;
  overflow: hidden;
  padding: clamp(150px, 18vh, 210px) 0 48px;
  isolation: isolate;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  z-index: -3;
  opacity: 0.72;
  pointer-events: none;
  transform: scale(1.015);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 11, 13, 0.96) 0%, rgba(7, 11, 13, 0.84) 38%, rgba(7, 11, 13, 0.28) 74%, rgba(7, 11, 13, 0.48) 100%),
    linear-gradient(180deg, rgba(7, 11, 13, 0.54) 0%, transparent 38%, rgba(7, 11, 13, 0.88) 100%);
  pointer-events: none;
}

.section-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255, 255, 255, 0.12) 25%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
}

.technogym-hero-layout {
  width: 100%;
  min-height: calc(100dvh - clamp(198px, 23vh, 258px));
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: clamp(56px, 9vh, 100px);
}

.technogym-hero-copy {
  max-width: 940px;
}

.technogym-hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.technogym-kicker-line {
  width: 42px;
  height: 2px;
  flex: 0 0 auto;
  background-color: var(--primary-color);
}

.technogym-hero-title {
  margin-bottom: 24px;
  color: var(--bg-white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(4rem, 7.5vw, 7.4rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-wrap: balance;
}

.technogym-hero-title span {
  display: block;
}

.technogym-hero-title-accent {
  color: var(--primary-color);
}

.technogym-hero-lead {
  max-width: 630px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  font-weight: var(--font-weight-light);
  line-height: 1.75;
  text-wrap: pretty;
}

.technogym-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.technogym-btn-accent,
.technogym-btn-outline {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: var(--border-radius-sharp);
  padding: 7px 8px 7px 24px;
  font-size: 0.73rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.technogym-btn-accent {
  background-color: var(--primary-color);
  color: #071014;
  border: 1px solid var(--primary-color);
}

.technogym-btn-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #071014;
  color: var(--bg-white);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.technogym-btn-icon svg,
.technogym-inline-arrow {
  width: 15px;
  height: 15px;
}

.technogym-btn-accent:hover {
  background-color: var(--bg-white);
  border-color: var(--bg-white);
  color: #071014;
  transform: translateY(-2px);
}

.technogym-btn-accent:hover .technogym-btn-icon {
  transform: translateX(2px);
}

.technogym-btn-outline {
  padding-right: 22px;
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.technogym-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.82);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.technogym-btn-accent:active,
.technogym-btn-outline:active {
  transform: translateY(0) scale(0.98);
}

.technogym-btn-accent:focus-visible,
.technogym-btn-outline:focus-visible {
  outline: 3px solid var(--bg-white);
  outline-offset: 4px;
}

.technogym-hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.technogym-strip-item {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 24px clamp(20px, 3vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.technogym-strip-item:first-child {
  padding-left: 0;
}

.technogym-strip-item:last-child {
  border-right: 0;
}

.technogym-strip-index {
  color: var(--primary-color) !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem !important;
  font-weight: var(--font-weight-semibold) !important;
  letter-spacing: 0.08em;
}

.technogym-strip-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.technogym-strip-item strong {
  color: var(--bg-white);
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.01em;
}

.technogym-strip-item div span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  font-weight: var(--font-weight-light);
}

@media (max-width: 1024px) {
  .section-hero {
    padding-top: 132px;
  }

  .technogym-hero-layout {
    min-height: calc(100dvh - 180px);
  }

  .technogym-hero-title {
    font-size: clamp(4rem, 10vw, 6.2rem);
  }
}

@media (max-width: 768px) {
  .section-hero {
    min-height: 100svh;
    padding: 118px 0 24px;
  }

  .hero-video-bg {
    object-position: 62% center;
  }

  .hero-video-overlay {
    background: linear-gradient(180deg, rgba(7, 11, 13, 0.72) 0%, rgba(7, 11, 13, 0.78) 46%, rgba(7, 11, 13, 0.97) 100%);
  }

  .section-hero::after {
    background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(255, 255, 255, 0.1) 50%);
  }

  .technogym-hero-layout {
    min-height: calc(100svh - 142px);
    gap: 48px;
  }

  .technogym-hero-title {
    font-size: clamp(3.35rem, 16vw, 5.2rem);
    line-height: 0.86;
    margin-bottom: 20px;
  }

  .technogym-hero-lead {
    max-width: 34rem;
    margin-bottom: 26px;
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .technogym-hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 360px;
  }

  .technogym-btn-accent,
  .technogym-btn-outline {
    width: 100%;
  }

  .technogym-btn-accent {
    justify-content: space-between;
  }

  .technogym-hero-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .technogym-strip-item {
    min-height: 74px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 10px;
  }

  .technogym-strip-item:first-child {
    padding-left: 0;
  }

  .technogym-strip-index {
    display: none;
  }

  .technogym-strip-item strong {
    font-size: 0.8rem;
  }

  .technogym-strip-item div span {
    font-size: 0.64rem;
    line-height: 1.35;
  }
}

@media (max-width: 420px) {
  .technogym-hero-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.11em;
  }

  .technogym-kicker-line {
    width: 28px;
  }

  .technogym-hero-title {
    font-size: clamp(3rem, 15.8vw, 4.25rem);
  }
}

/* ============ HERO BENTO SHOWCASE STAGE ============ */
.hero-bento-stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.hero-bento-main {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background-color: var(--secondary-darker);
}

.hero-bento-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s var(--ease-smooth), transform 6s ease;
}

.hero-bento-img.active {
  opacity: 1;
  transform: scale(1);
}

.hero-bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 20, 26, 0.75) 0%, transparent 60%);
  pointer-events: none;
}

.hero-bento-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(18, 20, 23, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--primary-color);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 3;
}

/* Bento Feature Switcher Grid (3 Mini Cards) */
.hero-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-bento-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-card);
  padding: 14px 14px;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-bento-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.hero-bento-card.active {
  background: rgba(31, 194, 245, 0.10);
  border-color: rgba(31, 194, 245, 0.40);
  box-shadow: 0 4px 20px rgba(31, 194, 245, 0.15);
}

.bento-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.bento-card-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-color);
}

.bento-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg-white);
  line-height: 1.2;
}

.bento-card-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  line-height: 1.35;
  font-weight: var(--font-weight-light);
}

@media (max-width: 768px) {
  .hero-bento-grid {
    grid-template-columns: 1fr;
  }
}

.hero-stage-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--bg-white);
}

.hero-stage-tab.active {
  background: rgba(31, 194, 245, 0.12);
  border-color: rgba(31, 194, 245, 0.4);
  color: var(--bg-white);
}

.hero-stage-tab .tab-num {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--primary-color);
}

@media (max-width: 1024px) {
  .hero-grid-split { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .hero-trust-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stage-inner { height: 320px; }
  .hero-stage-nav { flex-direction: column; }
}

.hero-tab {
  cursor: pointer;
  background: none;
  border: none;
  flex: 1;
  padding: 24px 28px;
  text-align: left;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}
.hero-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
}
.hero-tab.active {
  color: var(--bg-white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-tab-num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}
.hero-tab.active .hero-tab-num {
  color: var(--primary-color);
}

.hero-tab-label {
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-tab-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  margin-top: 4px;
}
.hero-tab-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--primary-color);
}
.hero-tab.active .hero-tab-progress {
  animation: progressAnim 5s linear forwards;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes progressAnim {
  from { width: 0%; }
  to { width: 100%; }
}

@media (max-width: 1024px) {
  .hero-counter { top: 140px; right: 30px; }
}

@media (max-width: 768px) {
  .hero-counter { display: none; }
  .hero-tabs { flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* Services Grid (Moban Spor Design System) */
.services-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card-item {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 40px 32px;
  transition: var(--transition-normal);
  text-decoration: none;
}
.service-card-item:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}
.service-card-icon {
  width: 48px;
  height: 48px;
  color: var(--primary-color);
  margin-bottom: 24px;
  flex-shrink: 0;
}
.service-card-title {
  font-size: 1.2rem;
  font-weight: var(--font-weight-medium);
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
  transition: color var(--transition-fast);
}
.service-card-item:hover .service-card-title {
  color: var(--primary-color);
}
.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
  font-weight: var(--font-weight-light);
  margin-bottom: 24px;
  flex-grow: 1;
}
.service-card-link {
  font-size: 0.82rem;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.service-card-item:hover .service-card-link {
  color: var(--primary-color);
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .services-grid-wrapper { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 650px) {
  .services-grid-wrapper { grid-template-columns: 1fr; gap: 20px; }
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-accordion-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  transition: border-color var(--transition-fast);
}
.faq-accordion-item:hover {
  border-color: var(--primary-color);
}
.faq-accordion-item summary {
  padding: 24px 28px;
  font-size: 1.05rem;
  font-weight: var(--font-weight-medium);
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  user-select: none;
  list-style: none;
}
.faq-accordion-item summary::-webkit-details-marker { display: none; }
.faq-accordion-item summary::marker { display: none; }
.faq-accordion-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-dark);
  transition: transform var(--transition-fast), color var(--transition-fast);
}
.faq-accordion-item[open] summary {
  color: var(--primary-color);
}
.faq-accordion-item[open] .faq-accordion-icon {
  transform: rotate(180deg);
  color: var(--primary-color);
}
.faq-accordion-content {
  padding: 0 28px 24px;
  font-size: 0.98rem;
  color: var(--text-gray);
  line-height: 1.75;
  font-weight: var(--font-weight-light);
  border-top: 1px solid var(--border-color-light);
}

/* Solutions Split Component */
.solutions-section {
  background-color: var(--bg-light);
  padding: 120px 0;
}
.solutions-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: center;
}
.solutions-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
  text-transform: none;
  font-weight: var(--font-weight-medium);
}
.solutions-accent {
  margin-bottom: 30px;
}
.solutions-desc {
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: var(--font-weight-light);
}
.solutions-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.solutions-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 0.98rem;
  color: var(--text-gray);
  line-height: 1.6;
}
.solutions-list-check {
  color: var(--primary-color);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.solutions-image-wrap img {
  width: 100%;
  display: block;
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

/* Brands Band */
.brands-band {
  background-color: var(--bg-white);
  padding: 70px 0;
  border-top: 1px solid var(--border-color-light);
  border-bottom: 1px solid var(--border-color-light);
  text-align: center;
}
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 30px;
}
.brand-logo-img {
  max-height: 50px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(40%);
  transition: opacity var(--transition-fast), filter var(--transition-fast);
}
.brand-logo-img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* CTA Section */
.cta-banner-section {
  background: linear-gradient(135deg, var(--secondary-darker) 0%, #15222e 100%);
  padding: 100px 0;
  color: var(--bg-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}
.cta-banner-subtitle {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.cta-banner-title {
  font-size: 2.6rem;
  color: var(--bg-white);
  margin-bottom: 20px;
  font-weight: var(--font-weight-light);
  line-height: 1.25;
}
.cta-banner-desc {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 40px;
  line-height: 1.75;
  font-weight: var(--font-weight-light);
}
.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}


/* About Page Components */
.about-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-split-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}
.metrics-section {
  background-color: var(--secondary-darker);
  color: var(--bg-white);
  padding: 60px 0;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.metric-num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}
.metric-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  font-weight: var(--font-weight-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-card {
  background-color: var(--bg-white);
  padding: 36px 28px;
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  display: flex;
  flex-direction: column;
}
.process-step {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
  line-height: 1;
}
.process-title {
  font-size: 1.15rem;
  font-weight: var(--font-weight-medium);
  color: var(--text-dark);
  margin-bottom: 12px;
}
.process-desc {
  font-size: 0.92rem;
  color: var(--text-gray);
  line-height: 1.65;
  font-weight: var(--font-weight-light);
}

@media (max-width: 1024px) {
  .about-split-grid { grid-template-columns: 1fr; gap: 40px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* Visual Service Cards (Moban Spor Design System) */
.services-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-visual-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}
.service-visual-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}
.service-visual-media {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background-color: var(--secondary-darker);
}
.service-visual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
}
.service-visual-card:hover .service-visual-media img {
  transform: scale(1.08);
}
.service-visual-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  z-index: 2;
}
.service-visual-body {
  padding: 32px 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-visual-title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-medium);
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
  transition: color var(--transition-fast);
}
.service-visual-card:hover .service-visual-title {
  color: var(--primary-color);
}
.service-visual-excerpt {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
  font-weight: var(--font-weight-light);
  margin-bottom: 24px;
}
.service-visual-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color-light);
  padding-top: 18px;
  margin-top: auto;
}
.service-visual-link {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.service-visual-card:hover .service-visual-link {
  color: var(--primary-color);
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .services-visual-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* Modern Gapless Visual Services Grid (Moban Spor Design System) */
.services-modern-section {
  padding: 110px 0;
  background-color: var(--bg-white);
}

.services-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--border-color);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.service-modern-tile {
  position: relative;
  height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 32px;
  background-color: var(--secondary-darker);
  text-decoration: none;
  overflow: hidden;
}

.service-tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.7s ease;
  z-index: 1;
}

.service-modern-tile:hover .service-tile-bg {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.service-tile-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(15, 23, 30, 0.35) 0%, rgba(15, 23, 30, 0.82) 60%, rgba(15, 23, 30, 0.96) 100%);
  transition: background 0.4s ease;
}

.service-modern-tile:hover .service-tile-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 30, 0.25) 0%, rgba(15, 23, 30, 0.88) 55%, rgba(15, 23, 30, 0.98) 100%);
}

.service-tile-top {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-tile-number {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary-color);
}

.service-tile-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 2px;
}

.service-tile-bottom {
  position: relative;
  z-index: 3;
}

.service-tile-title {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--bg-white);
  margin-bottom: 10px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

.service-modern-tile:hover .service-tile-title {
  color: var(--primary-color);
}

.service-tile-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-weight: var(--font-weight-light);
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-tile-action {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg-white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.service-modern-tile:hover .service-tile-action {
  color: var(--primary-color);
  transform: translateX(4px);
}

.service-tile-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 4;
}

.service-modern-tile:hover .service-tile-line {
  transform: scaleX(1);
}

@media (max-width: 1024px) {
  .services-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Interactive Split Service Showcase (Moban Spor Design System) */
.showcase-split-section {
  padding: 110px 0;
  background-color: var(--bg-white);
}

.showcase-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch;
}

/* Left: Featured Service Stage */
.showcase-stage-card {
  position: relative;
  min-height: 520px;
  background-color: var(--secondary-darker);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  color: var(--bg-white);
}

.showcase-stage-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.showcase-stage-bg.active {
  opacity: 1;
  transform: scale(1);
}

.showcase-stage-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(15, 23, 30, 0.15) 0%, rgba(15, 23, 30, 0.75) 50%, rgba(15, 23, 30, 0.95) 100%);
}

.showcase-stage-content {
  position: relative;
  z-index: 3;
}

.showcase-stage-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 14px;
  display: block;
}

.showcase-stage-title {
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--bg-white);
  line-height: 1.2;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.showcase-stage-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-weight: var(--font-weight-light);
  margin-bottom: 28px;
  max-width: 520px;
}

/* Right: 9 Interactive Service List Items */
.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showcase-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-left: 3px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.showcase-item:hover,
.showcase-item.active {
  background-color: var(--bg-white);
  border-color: var(--border-color);
  border-left-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transform: translateX(4px);
}

.showcase-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.showcase-item-num {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-gray);
  width: 24px;
  transition: color var(--transition-fast);
}

.showcase-item:hover .showcase-item-num,
.showcase-item.active .showcase-item-num {
  color: var(--primary-color);
}

.showcase-item-title {
  font-size: 1.02rem;
  font-weight: var(--font-weight-medium);
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

.showcase-item:hover .showcase-item-title,
.showcase-item.active .showcase-item-title {
  color: var(--primary-color);
}

.showcase-item-icon {
  width: 16px;
  height: 16px;
  color: var(--text-gray);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.showcase-item:hover .showcase-item-icon,
.showcase-item.active .showcase-item-icon {
  color: var(--primary-color);
  transform: translateX(4px);
}


/* ==========================================================================
   SWIPEABLE SERVICES CAROUSEL & ROUNDED UI ENHANCEMENTS
   ========================================================================== */

/* Swipeable Services Carousel */
.service-carousel-section {
  padding: 110px 0;
  background-color: var(--bg-white);
  position: relative;
}

.service-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 45px;
}

.service-carousel-header .section-title-wrapper {
  margin-bottom: 0;
}

.carousel-nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.carousel-nav-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 8px 24px rgba(31, 194, 245, 0.25);
  transform: scale(1.05);
}

.service-carousel-track-wrap {
  position: relative;
  width: 100%;
}

.service-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 5px 30px 5px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.service-carousel-track::-webkit-scrollbar {
  display: none;
}

/* ============ Double-Bezel Service Carousel Card ============ */
.service-carousel-card {
  flex: 0 0 300px;
  min-width: 300px;
  scroll-snap-align: start;
  /* Outer shell — the frame/bezel */
  background-color: rgba(0,0,0,0.025);
  border: 1px solid var(--border-color-light);
  border-radius: var(--border-radius-lg);
  padding: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.44s var(--ease-smooth), box-shadow 0.44s var(--ease-smooth);
  box-shadow: var(--shadow-card);
}

/* Inner core — the actual content surface */
.service-carousel-card-inner {
  background-color: var(--bg-white);
  border-radius: calc(var(--border-radius-lg) - 5px); /* concentric curves */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9);
}

.service-carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-cyan);
}

.service-card-image-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background-color: var(--secondary-darker);
  border-radius: calc(var(--border-radius-lg) - 5px) calc(var(--border-radius-lg) - 5px) 0 0;
}

.service-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-smooth);
}

.service-carousel-card:hover .service-card-image-wrap img {
  transform: scale(1.07);
}

.service-card-body-wrap {
  padding: 16px 20px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
}

.service-card-h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.technogym-arrow-box {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.service-carousel-card:hover .technogym-arrow-box {
  background-color: var(--text-dark);
  border-color: var(--text-dark);
  color: var(--bg-white);
}

.service-carousel-card:hover .service-card-h3 {
  color: var(--primary-color);
}

.service-card-p {
  font-size: 0.92rem;
  color: var(--text-gray);
  line-height: 1.65;
  font-weight: var(--font-weight-light);
  margin-bottom: 24px;
}

.service-card-action-btn {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.service-carousel-card:hover .service-card-action-btn {
  color: var(--primary-color);
  transform: translateX(4px);
}

/* Rounded updates across elements */
.service-card-item,
.process-card,
.service-visual-card,
.showcase-stage-card,
.showcase-item,
.faq-accordion-item,
.sidebar-nav,
.premium-form-box,
.career-contact-card,
.blog-card {
  border-radius: var(--border-radius-card) !important;
}

.about-split-img,
.solutions-image-wrap img,
.article-image img,
.mega-menu-visual {
  border-radius: var(--border-radius-lg) !important;
}

@media (max-width: 768px) {
  .service-carousel-card {
  }
}

/* ==========================================================================
   PREMIUM COMPONENT UPGRADES — High-End Agency Edition
   ========================================================================== */

/* ---- FAQ Accordion: Left Accent + Spring Reveal ---- */
/* ---- FAQ Accordion: Clean Left Accent Bar (No Clipping) ---- */
.faq-accordion { max-width: 860px; gap: 14px; }

.faq-accordion-item {
  position: relative;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-card) !important;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s var(--ease-smooth), box-shadow 0.22s var(--ease-smooth);
  overflow: hidden;
}

.faq-accordion-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background-color: var(--primary-color);
  opacity: 0;
  transition: opacity 0.22s var(--ease-smooth);
}

.faq-accordion-item:hover {
  border-color: rgba(31,194,245,0.35);
  box-shadow: var(--shadow-card);
}

.faq-accordion-item[open] {
  border-color: rgba(31,194,245,0.45);
  box-shadow: var(--shadow-card);
}

.faq-accordion-item[open]::before {
  opacity: 1;
}

.faq-accordion-item summary { padding: 22px 26px; font-size: 1rem; font-weight: var(--font-weight-semibold); }
.faq-accordion-icon { transition: transform 0.4s var(--ease-spring), color 0.22s var(--ease-smooth); }
.faq-accordion-content { padding: 0 26px 22px; border-top: 1px solid var(--border-color-light); }

/* ---- CTA Section: Noise Texture + Radial Cyan Glow ---- */
.cta-banner-section {
  background: linear-gradient(135deg, #111417 0%, #1a2028 55%, #0e1a24 100%);
  padding: 130px 0;
  overflow: hidden;
}
.cta-banner-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 1;
}
.cta-banner-section::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(31,194,245,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.cta-banner-inner { position: relative; z-index: 2; }
.cta-banner-title {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

/* ---- Solutions: Double-Bezel Image Frame ---- */
.solutions-image-frame {
  background-color: var(--secondary-darker);
  border-radius: var(--border-radius-xl);
  padding: 10px;
  box-shadow: var(--shadow-hover);
}
.solutions-image-wrap {
  border-radius: calc(var(--border-radius-xl) - 10px);
  overflow: hidden;
}
.solutions-image-wrap img {
  width: 100%; display: block;
  border-radius: calc(var(--border-radius-xl) - 10px) !important;
  border: none !important; box-shadow: none !important;
  transition: transform 0.7s var(--ease-smooth);
}
.solutions-image-frame:hover .solutions-image-wrap img { transform: scale(1.04); }

/* Solutions check items: filled cyan circle */
.solutions-list-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; min-width: 22px;
  background: var(--primary-color);
  color: white; font-size: 0.65rem;
  border-radius: 50%;
  flex-shrink: 0; margin-top: 2px;
  box-shadow: 0 4px 12px rgba(31,194,245,0.30);
}

/* ---- Footer Social: Squircle Hover ---- */
.footer-social-link {
  border-radius: 12px !important;
  transition: all var(--transition-fast) !important;
}
.footer-social-link:hover {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--bg-white) !important;
  transform: translateY(-2px) scale(1.08);
}

/* ---- Global card border-radius overrides ---- */
.service-card-item, .process-card, .service-visual-card,
.showcase-stage-card, .sidebar-nav, .career-contact-card, .blog-card {
  border-radius: var(--border-radius-card) !important;
}
.premium-form-box {
  border-radius: var(--border-radius-lg) !important;
  box-shadow: var(--shadow-card);
  border-color: var(--border-color-light) !important;
}
.process-card {
  border-top: 3px solid var(--primary-color);
  border-radius: 0 0 var(--border-radius-card) var(--border-radius-card) !important;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}
.process-card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }

/* Contact map */
.contact-map-leaflet {
  border-radius: var(--border-radius-card) !important;
  overflow: hidden;
}

/* ---- Clean Section Subtitle (No Badges) ---- */
.section-subtitle {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary-color);
  margin-bottom: 16px;
  padding: 0;
  background: none !important;
  border: none !important;
}

.cta-banner-subtitle {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary-color);
  margin-bottom: 18px;
}

/* ---- Brand logo hover lift ---- */
.brand-logo-img {
  transition: opacity var(--transition-fast), filter var(--transition-fast), transform var(--transition-fast) !important;
}
.brand-logo-img:hover {
  opacity: 1 !important; filter: grayscale(0%) !important;
  transform: scale(1.06);
}

/* ==========================================================================
   BRANDS INFINITE MARQUEE TICKER (Rightward Continuous Loop)
   ========================================================================== */

.brands-marquee-section {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.brands-marquee-wrap {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.brands-marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marqueeRight 28s linear infinite;
  will-change: transform;
}

.brands-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 75px;
  padding-right: 75px;
}

.brands-marquee-track:hover {
  animation-play-state: paused;
}

.brands-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brands-marquee-img {
  max-height: 46px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(20%);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.brands-marquee-item:hover .brands-marquee-img {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.08);
}

/* Continuous infinite marquee loop moving RIGHTWARDS */
@keyframes marqueeRight {
  0% {
    transform: translateX(-33.333333%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* ==========================================================================
   LUXURY EDITORIAL DARK GRADIENT BENTO SECTION (Reference Image Inspired)
   ========================================================================== */

.editorial-dark-section {
  background: linear-gradient(135deg, #111417 0%, #1c1815 40%, #2b1713 70%, #16181c 100%);
  padding: 120px 0;
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

/* Ambient Subtle Radial Glow */
.editorial-dark-section::before {
  content: '';
  position: absolute;
  top: -15%; right: 10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(220, 80, 50, 0.08) 0%, rgba(31, 194, 245, 0.04) 50%, transparent 70%);
  pointer-events: none;
}

.editorial-top-row {
  margin-bottom: 24px;
}

.editorial-main-title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--bg-white);
}

.editorial-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 36px;
}

.editorial-middle-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 48px;
  margin-bottom: 50px;
}

.editorial-lead-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  font-weight: var(--font-weight-light);
}

.editorial-spec-column {
  display: flex;
  flex-direction: column;
}

.editorial-spec-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.editorial-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.editorial-spec-list li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-weight: var(--font-weight-regular);
}

.editorial-spec-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  font-weight: var(--font-weight-light);
  margin: 0;
}

/* Bento Grid Row */
.editorial-bento-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

/* Left Tinted Dark Bento Card */
.editorial-tinted-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: space-between;
  backdrop-filter: blur(10px);
}

.tinted-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tinted-card-title {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--bg-white);
  line-height: 1.25;
  margin-bottom: 14px;
}

.tinted-card-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  font-weight: var(--font-weight-light);
  margin-bottom: 24px;
}

.tinted-card-footer {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tinted-card-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.tinted-card-footer strong {
  font-size: 0.82rem;
  color: var(--bg-white);
  font-weight: 600;
}

.tinted-card-media {
  position: relative;
  border-radius: calc(var(--border-radius-lg) - 8px);
  overflow: hidden;
  height: 100%;
  min-height: 200px;
  background-color: var(--secondary-darker);
}

.tinted-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.editorial-tinted-card:hover .tinted-card-media img {
  transform: scale(1.05);
}

.tinted-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.tinted-card-link:hover {
  color: var(--bg-white);
  transform: translateX(4px);
}

/* Right High-Contrast White Cards Stack */
.editorial-white-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.editorial-white-card {
  background: var(--bg-white);
  color: var(--text-dark);
  border-radius: var(--border-radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.white-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.white-card-divider {
  width: 100%;
  height: 1px;
  background: var(--border-color);
  margin-bottom: 14px;
}

.white-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.88rem;
}

.white-card-row span {
  color: var(--text-gray);
  font-weight: var(--font-weight-light);
}

.white-card-row strong {
  color: var(--text-dark);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .editorial-middle-grid { grid-template-columns: 1fr; gap: 24px; }
  .editorial-bento-grid { grid-template-columns: 1fr; }
  .editorial-tinted-card { grid-template-columns: 1fr; }
}

/* Homepage cohesion — extends the hero's technical visual language. */
body:has(.section-hero) {
  --home-ink: #0a0f12;
  --home-ink-soft: #11191e;
  --home-steel: #dfe3e1;
  --home-paper: #f1f3f1;
  --home-line-dark: rgba(255,255,255,.14);
  --home-line-light: rgba(10,15,18,.14);
}
body:has(.section-hero) h2,
body:has(.section-hero) h3 { text-wrap: balance; }

/* Brand rail: creates a deliberate hand-off from the dark hero. */
.brands-marquee-section { padding: 0; background: #fff; border-color: var(--home-line-light); color: var(--home-ink); }
.brands-marquee-section > .container { padding-top: 20px; padding-bottom: 16px; }
.brands-marquee-section .section-subtitle { margin: 0; color: rgba(10,15,18,.54); font-size: .66rem; letter-spacing: .2em; }
.brands-marquee-wrap { padding: 10px 0 22px; border-top: 1px solid rgba(10,15,18,.08); }
.brands-marquee-track { gap: 0; animation-duration: 24s; }
.brands-marquee-group { gap: 18px; padding-right: 18px; }
.brands-marquee-item {
  width: 180px;
  height: 62px;
  padding: 13px 22px;
  background: transparent;
  border-right: 1px solid rgba(10,15,18,.12);
}
.brands-marquee-img {
  width: 100%;
  max-height: 38px;
  object-fit: contain;
  opacity: 1;
  filter: none;
  mix-blend-mode: multiply;
}
.brands-marquee-item:hover .brands-marquee-img {
  opacity: 1;
  filter: none;
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .brands-marquee-section {
    padding: 20px 0 22px;
  }

  .brands-marquee-section > .container {
    padding: 0 20px 14px;
  }

  .brands-marquee-section .section-subtitle {
    line-height: 1.5;
  }

  .brands-marquee-wrap {
    width: auto;
    margin: 0 18px;
    padding: 12px 0;
    background: #f8f9f7;
    border: 1px solid rgba(10,15,18,.12);
    mask-image: linear-gradient(to right, transparent, black 9%, black 91%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 9%, black 91%, transparent);
  }

  .brands-marquee-track { gap: 0; animation-duration: 20s; }
  .brands-marquee-group { gap: 10px; padding-right: 10px; }

  .brands-marquee-item {
    width: 154px;
    height: 58px;
    padding: 12px 18px;
  }
}

/* Services: technical editorial grid, sharp controls and numbered cards. */
.service-carousel-section {
  padding: clamp(88px,10vw,150px) 0 clamp(96px,11vw,164px);
  background-color: var(--home-steel);
  background-image: repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),rgba(10,15,18,.055) 25%);
  overflow: hidden;
}
.service-carousel-header { align-items: end; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--home-line-light); }
.service-carousel-header .section-title-wrapper { max-width: 850px; }
.service-carousel-header h2,
.home-faq-section h2,
.editorial-main-title,
.cta-banner-title {
  font-family: 'Barlow Condensed',sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -.035em;
  line-height: .94;
}
.service-carousel-header h2 { max-width: 780px; font-size: clamp(3rem,5.5vw,5.8rem); }
.service-carousel-section .section-subtitle,
.home-faq-section .section-subtitle { color: #08799b; }
.carousel-nav-controls { gap: 1px; background: rgba(10,15,18,.18); }
.carousel-nav-btn { width: 54px; height: 54px; border: 0; border-radius: 0; background: var(--home-ink); color: #fff; }
.carousel-nav-btn:hover { background: var(--primary-color); color: var(--home-ink); transform: none; }
.carousel-nav-btn:disabled { opacity: .28; cursor: not-allowed; }
.carousel-nav-btn:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 3px; }
.service-carousel-track { gap: 12px; padding: 0 0 12px; }
.service-carousel-card {
  flex-basis: clamp(290px,27vw,390px);
  min-width: clamp(290px,27vw,390px);
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: var(--home-paper);
  transition: transform .45s var(--ease-enter);
}
.service-carousel-card-inner { border-radius: 0; background: var(--home-paper); }
.service-carousel-card:hover { transform: translateY(-7px); }
.service-card-image-wrap { height: clamp(230px,25vw,330px); border-radius: 0; }
.service-card-image-wrap::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; z-index: 2; background: var(--primary-color); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-enter); }
.service-carousel-card:hover .service-card-image-wrap::after { transform: scaleX(1); }
.service-card-image-wrap img { filter: saturate(.72) contrast(1.06); }
.service-carousel-card:hover .service-card-image-wrap img { transform: scale(1.045); filter: saturate(1) contrast(1.04); }
.service-card-body-wrap { position: relative; min-height: 92px; padding: 20px 22px; border-top: 0; background: var(--home-paper); }
.service-card-body-wrap::before { display: none; content: none; }
.service-card-h3 { max-width: 240px; font-size: 1rem; line-height: 1.4; }
.technogym-arrow-box { border-radius: 0; background: transparent; }

/* Corporate protocol: cool charcoal replaces the disconnected warm gradient. */
.editorial-dark-section {
  padding: clamp(96px,11vw,160px) 0;
  background-color: var(--home-ink-soft);
  background-image: radial-gradient(circle at 82% 24%,rgba(31,194,245,.09),transparent 30%),repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),rgba(255,255,255,.045) 25%);
}
.editorial-dark-section::before { display: none; }
.editorial-main-title { max-width: 900px; font-size: clamp(3.2rem,6vw,6.4rem); }
.editorial-middle-grid { grid-template-columns: 1.25fr .8fr .95fr; gap: clamp(30px,5vw,72px); margin-bottom: 70px; }
.editorial-lead-text { max-width: 620px; font-size: clamp(1.05rem,1.5vw,1.3rem); }
.editorial-service-note { max-width: 34rem; color: rgba(255,255,255,.72); font-size: .94rem; line-height: 1.75; }
.editorial-spec-label { color: var(--primary-color); text-transform: uppercase; letter-spacing: .16em; }
.editorial-tinted-card { padding: 0; gap: 0; border-radius: 0; background: #182127; border-color: var(--home-line-dark); }
.tinted-card-content { padding: clamp(28px,4vw,50px); }
.tinted-card-title { max-width: 500px; font-family: 'Barlow Condensed',sans-serif; font-size: clamp(1.9rem,3vw,3.2rem); text-transform: uppercase; line-height: 1; }
.tinted-card-media { min-height: 330px; border-radius: 0; }
.tinted-card-media img { filter: grayscale(.45) contrast(1.08); }
.editorial-bento-grid > .editorial-spec-column { padding: clamp(28px,4vw,50px); border: 1px solid var(--home-line-dark); }
.editorial-bento-grid > .editorial-spec-column .editorial-spec-list li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }

/* FAQ: open editorial rows instead of floating generic cards. */
.home-faq-section {
  padding: clamp(96px,11vw,160px) 0;
  background-color: var(--home-paper);
  background-image: repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),rgba(10,15,18,.045) 25%);
}
.home-faq-section .solutions-grid { grid-template-columns: minmax(260px,.7fr) minmax(0,1.3fr); gap: clamp(60px,9vw,140px); align-items: start; }
.home-faq-section .section-title-wrapper { position: sticky; top: 150px; margin: 0; }
.home-faq-section h2 { margin-bottom: 24px; font-size: clamp(3.4rem,6vw,6rem); }
.home-faq-section .section-title-wrapper p { max-width: 440px; color: #566066; font-size: .96rem; line-height: 1.8; }
.home-faq-contact-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; padding-bottom: 8px; border-bottom: 1px solid var(--home-ink); color: var(--home-ink); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.home-faq-contact-link:hover { color: #08799b; border-color: #08799b; gap: 18px; }
.home-faq-contact-link:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 4px; }
.home-faq-section .faq-accordion { max-width: none; gap: 0; border-top: 1px solid var(--home-line-light); }
.home-faq-section .faq-accordion,
.home-faq-section .faq-accordion-item { width: 100%; min-width: 0; box-sizing: border-box; }
.home-faq-section .faq-accordion-item { contain: inline-size; overflow: clip; border: 0; border-bottom: 1px solid var(--home-line-light); border-radius: 0 !important; background: transparent; }
.home-faq-section .faq-accordion-item::before { display: none; }
.home-faq-section .faq-accordion-item:hover,
.home-faq-section .faq-accordion-item[open] { border-color: var(--home-ink); }
.home-faq-section .faq-accordion-item summary { width: 100%; min-width: 0; padding: 26px 4px; font-size: clamp(.95rem,1.3vw,1.12rem); }
.home-faq-section .faq-accordion-item[open] summary { color: #08799b; }
.home-faq-section .faq-accordion-content { padding: 0 58px 28px 45px; border: 0; }
.home-faq-section .faq-accordion-content p { max-width: 660px; color: #566066; line-height: 1.8; }

/* Final CTA: visual echo of the hero with a clear dispatch panel. */
.cta-banner-section {
  padding: clamp(96px,11vw,150px) 0;
  background-color: var(--home-ink);
  background-image: linear-gradient(90deg,rgba(10,15,18,.98),rgba(10,15,18,.84)),url('../images/cta-proje.jpg');
  background-size: cover;
  background-position: center;
}
.cta-banner-section::before { z-index: 0; opacity: .04; }
.cta-banner-section::after { left: 20%; width: 560px; height: 560px; background: radial-gradient(circle,rgba(31,194,245,.13),transparent 68%); }
.cta-banner-section > .container { position: relative; z-index: 2; align-items: center; }
.cta-banner-title { max-width: 620px; font-size: clamp(3.1rem,5.2vw,5.5rem); }
.cta-banner-desc { max-width: 560px; font-size: 1rem; line-height: 1.8; }
.cta-banner-section .editorial-white-card { min-height: 420px; padding: clamp(30px,4vw,52px); border-radius: 0; justify-content: flex-start; }
.cta-banner-section .editorial-white-card .editorial-spec-label { color: #08799b; }
.cta-banner-section .white-card-title { max-width: 360px; margin: 14px 0 26px; font-family: 'Barlow Condensed',sans-serif; font-size: clamp(2rem,3vw,3.1rem); text-transform: uppercase; line-height: 1; }
.cta-banner-section .white-card-row { padding: 13px 0; border-top: 1px solid var(--home-line-light); }
.cta-contact-note { max-width: 36rem; margin-bottom: 32px; color: #566066; font-size: .96rem; line-height: 1.8; }
.cta-banner-section .cta-banner-actions { margin-top: auto; }
.cta-banner-section .btn-primary { border-radius: 0; color: var(--home-ink); }

@media (max-width:1024px) {
  .home-faq-section .solutions-grid { grid-template-columns: 1fr; gap: 60px; }
  .home-faq-section .section-title-wrapper { position: static; }
  .editorial-middle-grid { grid-template-columns: 1fr 1fr; }
  .editorial-lead-text { grid-column: 1/-1; }
}
@media (max-width:768px) {
  .service-carousel-section,.home-faq-section,.editorial-dark-section,.cta-banner-section { background-image: none; }
  .service-carousel-header { align-items: flex-end; gap: 22px; }
  .service-carousel-header h2 { font-size: clamp(2.75rem,13vw,4.4rem); }
  .carousel-nav-btn { width: 46px; height: 46px; }
  .service-carousel-card { flex-basis: 84vw; min-width: 84vw; }
  .service-card-image-wrap { height: 260px; }
  .editorial-middle-grid { grid-template-columns: 1fr; }
  .editorial-lead-text { grid-column: auto; }
  .editorial-main-title { font-size: clamp(3rem,13vw,4.6rem); }
  .tinted-card-footer { flex-direction: column; }
  .home-faq-section .faq-accordion-content { padding-left: 4px; padding-right: 34px; }
  .cta-banner-section .editorial-white-card { min-height: 360px; }
}
@media (prefers-reduced-motion:reduce) {
  .brands-marquee-track { animation-play-state: paused; }
  .service-carousel-card,.service-card-image-wrap img,.service-card-image-wrap::after { transition: none; }
}

@media (max-width:420px) {
  .technogym-hero-title {
    font-size: clamp(2.75rem,12.5vw,3.35rem);
    letter-spacing: -.05em;
  }
}

/* Homepage responsive rhythm and alignment audit. */
body:has(.section-hero) .animate-up {
  transform: translateY(18px);
  filter: none;
  transition: opacity .52s var(--ease-enter), transform .52s var(--ease-enter);
}
body:has(.section-hero) .animate-up.in-view { transform: translateY(0); }

/* Carousel motion replaces per-card reveal; duplicated loop cards must never flash blank. */
.service-carousel-card.animate-up {
  opacity: 1;
  transform: translateY(0);
  filter: none;
}
.service-carousel-card.animate-up:hover { transform: translateY(-7px); }

.cta-banner-section { text-align: left; }
.cta-banner-section .cta-banner-desc { margin-left: 0; margin-right: 0; }
.cta-banner-section .editorial-white-card { text-align: left; }
.cta-banner-section .cta-banner-actions {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.cta-primary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 580px;
}

.cta-primary-actions .btn,
.cta-primary-actions .cta-whatsapp-link {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
  justify-content: space-between;
  font-size: .69rem;
  line-height: 1.3;
  white-space: normal;
}

.cta-whatsapp-link {
  display: flex;
  width: min(100%, 360px);
  min-height: 54px;
  padding: 11px 14px;
  align-items: center;
  gap: 12px;
  color: #16231c;
  background: #e5f8eb;
  border: 1px solid #a8dfb9;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .045em;
  text-transform: uppercase;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.cta-whatsapp-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
}

.cta-whatsapp-icon svg { width: 18px; height: 18px; }
.cta-whatsapp-arrow { width: 15px; height: 15px; margin-left: auto; transition: transform .25s ease; }

.cta-whatsapp-link:hover {
  color: #10251a;
  background: #d8f5e1;
  border-color: #82d89e;
}

.cta-whatsapp-link:hover .cta-whatsapp-arrow { transform: translateX(4px); }
.cta-whatsapp-link:active { transform: scale(.985); }
.cta-whatsapp-link:focus-visible { outline: 2px solid #16854f; outline-offset: 3px; }

@media (min-width:769px) and (max-width:1100px) {
  body:has(.section-hero) .container { padding-left: 32px; padding-right: 32px; }
}

@media (min-width:900px) and (max-width:1100px) {
  .editorial-dark-section .editorial-bento-grid {
    grid-template-columns: minmax(0,1.35fr) minmax(17rem,.95fr);
  }
  .editorial-dark-section .editorial-tinted-card {
    grid-template-columns: minmax(0,1.05fr) minmax(15rem,.95fr);
  }
  .editorial-dark-section .tinted-card-media { min-height: 100%; }

  .home-faq-section .solutions-grid {
    grid-template-columns: minmax(16rem,.72fr) minmax(0,1.28fr);
    gap: clamp(44px,6vw,72px);
  }
  .home-faq-section .section-title-wrapper { position: sticky; top: 132px; }

  .cta-banner-section > .editorial-bento-grid {
    grid-template-columns: minmax(0,1.08fr) minmax(21rem,.92fr);
  }
  .cta-banner-section .editorial-white-card { min-height: 400px; }
}

@media (max-width:768px) {
  .service-carousel-section { padding-top: 72px; padding-bottom: 84px; }
  .editorial-dark-section,
  .home-faq-section,
  .cta-banner-section { padding-top: 80px; padding-bottom: 88px; }

  .service-carousel-header {
    position: relative;
    display: block;
    padding-bottom: 78px;
    margin-bottom: 28px;
  }
  .service-carousel-header .section-title-wrapper,
  .service-carousel-header h2 { width: 100%; max-width: none; }
  .service-carousel-header h2 { font-size: clamp(2.75rem,12.2vw,3.35rem); }
  .service-carousel-header .carousel-nav-controls {
    position: absolute;
    right: 0;
    bottom: 22px;
  }

  .editorial-dark-section .editorial-middle-grid { gap: 24px; margin-bottom: 48px; }
  .editorial-dark-section .editorial-bento-grid { gap: 20px; }
  .editorial-dark-section .tinted-card-content,
  .editorial-dark-section .editorial-bento-grid > .editorial-spec-column { padding: 28px; }

  .home-faq-section .solutions-grid { gap: 48px; }
  .home-faq-section h2 { font-size: clamp(3rem,14vw,3.6rem); }

  .cta-banner-section { text-align: center; }
  .cta-banner-section .cta-banner-desc { margin-left: auto; margin-right: auto; }
  .cta-banner-section .editorial-white-card {
    min-height: 0;
    padding: 32px 28px;
    text-align: left;
  }
  .cta-banner-section .cta-banner-actions { width: 100%; }
  .cta-banner-section .cta-banner-actions .btn { width: 100%; }
  .cta-whatsapp-link { width: 100%; max-width: none; }
  .cta-primary-actions { gap: 8px; }
  .cta-primary-actions .btn,
  .cta-primary-actions .cta-whatsapp-link { min-height: 62px; padding: 9px 10px; font-size: .65rem; }
  .cta-primary-actions .btn-icon-wrap,
  .cta-primary-actions .cta-whatsapp-icon { width: 28px; height: 28px; flex-basis: 28px; }
}

/* =========================================================
   INNER PAGE REDESIGN â€” services, about, contact
   ========================================================= */
.page-header--service > .container,
.page-header--about > .container,
.page-header--contact > .container {
  width: 100%;
}

.page-header--service .page-header-content,
.page-header--about .page-header-content,
.page-header--contact .page-header-content {
  width: 100%;
  margin: 0;
}

.service-detail-redesign .sidebar-nav li a,
.service-detail-redesign .sidebar-nav li a:not(.active) {
  background: transparent;
  border-radius: 0;
}

.page-header--service,
.page-header--about,
.page-header--contact {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  padding: 194px 0 82px;
  display: flex;
  align-items: flex-end;
  text-align: left;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.page-header--service::before,
.page-header--about::before,
.page-header--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(31,194,245,.2) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 100% 50%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.55), transparent 76%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.55), transparent 76%);
}

.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 1060px;
}

.page-header--service .breadcrumb,
.page-header--about .breadcrumb,
.page-header--contact .breadcrumb {
  justify-content: flex-start;
  margin: 0 0 28px;
  color: rgba(255,255,255,.66);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-header--service .breadcrumb a,
.page-header--about .breadcrumb a,
.page-header--contact .breadcrumb a { color: #fff; }

.page-header--service .breadcrumb .separator,
.page-header--about .breadcrumb .separator,
.page-header--contact .breadcrumb .separator { color: #1fc2f5; }

.page-header--service h1,
.page-header--about h1,
.page-header--contact h1 {
  max-width: 13ch;
  margin: 0;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(4.25rem, 7.4vw, 7.5rem);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.035em;
  text-align: left;
  text-transform: uppercase;
}

.inner-page-redesign,
.service-page-main { background: #eef0ee; }

/* Service detail */
.service-detail-redesign { padding: 104px 0 128px; }

.service-detail-redesign .service-layout {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: clamp(52px, 7vw, 108px);
  align-items: start;
}

.service-detail-redesign .sidebar-nav {
  position: sticky;
  top: 126px;
  padding: 28px;
  color: #fff;
  background: #0a0f12;
  border: 1px solid #233038;
  border-radius: 0;
}

.service-detail-redesign .sidebar-nav h3 {
  margin: 0 0 22px;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.service-detail-redesign .sidebar-nav ul { margin: 0; padding: 0; list-style: none; }
.service-detail-redesign .sidebar-nav li { border-top: 1px solid #243038; }

.service-detail-redesign .sidebar-nav li a {
  display: flex;
  min-height: 50px;
  padding: 12px 2px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #aeb8bd;
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.35;
  border: 0;
}

.service-detail-redesign .sidebar-nav li a:hover,
.service-detail-redesign .sidebar-nav li a.active { color: #1fc2f5; background: transparent; }
.service-detail-redesign .sidebar-nav li a.active { padding-left: 12px; border-left: 2px solid #1fc2f5; }
.service-detail-redesign .sidebar-contact { margin-top: 30px; padding-top: 28px; border-top: 1px solid #334149; }
.service-detail-redesign .sidebar-contact h4 { margin: 0 0 8px; color: #fff; font-size: 1rem; }
.service-detail-redesign .sidebar-contact p { margin: 0 0 20px; color: #8f9ba1; font-size: .84rem; line-height: 1.6; }
.service-detail-redesign .sidebar-contact-action { width: 100%; justify-content: space-between; }
.service-detail-redesign .article-content { min-width: 0; }

.service-detail-media {
  height: clamp(320px, 39vw, 520px);
  margin: 0 0 54px;
  overflow: hidden;
  background: #cfd5d6;
}

.service-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.service-article-body { max-width: 820px; color: #4d5a60; font-size: 1.04rem; line-height: 1.78; }
.service-article-body > :first-child { margin-top: 0; }

.service-article-body h2,
.service-article-body h3,
.sub-services-title {
  color: #10171b;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.service-article-body h2 { margin: 60px 0 22px; font-size: clamp(2.5rem, 4vw, 3.8rem); }
.service-article-body h3 { margin: 42px 0 16px; font-size: clamp(1.8rem, 2.5vw, 2.35rem); }
.service-article-body p { margin: 0 0 22px; }
.service-article-body ul,
.service-article-body ol { margin: 28px 0 34px; padding: 0; list-style: none; border-top: 1px solid #c7cdcf; }
.service-article-body li { position: relative; padding: 15px 10px 15px 30px; border-bottom: 1px solid #c7cdcf; }
.service-article-body li::before { content: "+"; position: absolute; left: 4px; color: #0797c3; font-weight: 700; }

.sub-services-section { margin-top: 74px; padding-top: 44px; border-top: 1px solid #bbc3c6; }
.sub-services-title { margin: 0 0 28px; font-size: clamp(2.4rem, 3.8vw, 3.35rem); }
.sub-services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.sub-service-card {
  position: relative;
  display: grid;
  grid-template-rows: 190px auto;
  overflow: hidden;
  color: #10171b;
  background: #fff;
  border: 1px solid #d2d8da;
}

.sub-service-card::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: #1fc2f5; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.sub-service-card:hover::after { transform: scaleX(1); }
.sub-service-media { overflow: hidden; background: #d9dede; }
.sub-service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.sub-service-card:hover .sub-service-media img { transform: scale(1.035); }
.sub-service-body { display: flex; min-height: 100px; padding: 24px; align-items: center; justify-content: space-between; gap: 20px; }
.sub-service-body h3 { margin: 0; font-size: 1rem; line-height: 1.35; }

.service-footer-cta { padding: 96px 0; color: #fff; background: #0a0f12; border-top: 1px solid #26343b; }
.service-cta-wrapper { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.service-cta-text h2 { max-width: 12ch; margin: 0 0 20px; color: #fff; font-family: "Barlow Condensed", sans-serif; font-size: clamp(3.2rem, 5.8vw, 5.7rem); font-weight: 650; line-height: .91; letter-spacing: -.03em; text-transform: uppercase; }
.service-cta-text p { max-width: 690px; margin: 0; color: #9da9af; font-size: 1rem; line-height: 1.7; }

/* About */
.about-story-section { padding: 120px 0 138px; }
.about-story-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(58px, 8vw, 124px); align-items: center; }
.about-story-copy h2,
.about-process-heading h2,
.contact-panel-heading h2,
.contact-map-heading h2 {
  color: #10171b;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 650;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.about-story-copy h2 { margin: 0 0 32px; font-size: clamp(3.55rem, 5.8vw, 5.9rem); line-height: .92; }
.about-story-copy p { max-width: 640px; margin: 0 0 20px; color: #536168; font-size: 1.02rem; line-height: 1.75; }
.about-story-action { margin-top: 20px; }
.about-story-action svg { width: 14px; height: 14px; }
.about-story-media { height: clamp(430px, 53vw, 680px); margin: 0; overflow: hidden; background: #d6dcde; }
.about-story-media img { width: 100%; height: 100%; object-fit: cover; }

.about-metrics-section { padding: 0; color: #fff; background: #0a0f12; border-block: 1px solid #26343b; }
.about-metrics-section .metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.about-metrics-section .metric-item { min-width: 0; padding: 50px 30px; border-left: 1px solid #26343b; }
.about-metrics-section .metric-item:last-child { border-right: 1px solid #26343b; }
.about-metrics-section .metric-num { display: block; color: #1fc2f5; font-family: "Barlow Condensed", sans-serif; font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 650; line-height: 1; text-transform: uppercase; }
.about-metrics-section .metric-label { display: block; margin-top: 10px; color: #a9b3b8; font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }

.about-process-section { padding: 122px 0 140px; background: #dfe4e4; }
.about-process-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); gap: 60px; align-items: end; margin-bottom: 64px; }
.about-process-heading h2 { margin: 0; font-size: clamp(3.5rem, 6vw, 6rem); line-height: .9; }
.about-process-heading p { margin: 0; color: #536168; font-size: 1rem; line-height: 1.7; }
.about-process-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #aeb9bd; border-left: 1px solid #aeb9bd; }
.about-process-item { min-height: 260px; padding: 34px 38px; border-right: 1px solid #aeb9bd; border-bottom: 1px solid #aeb9bd; }
.about-process-item > span { color: #078eb8; font-family: "Barlow Condensed", sans-serif; font-size: 1rem; font-weight: 700; }
.about-process-item h3 { margin: 46px 0 14px; color: #10171b; font-family: "Barlow Condensed", sans-serif; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 600; line-height: 1; text-transform: uppercase; }
.about-process-item p { max-width: 500px; margin: 0; color: #58666c; line-height: 1.65; }

/* Contact */
.contact-hub-section { padding: 104px 0 132px; }
.contact-hub-grid { display: grid; grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr); gap: 20px; align-items: stretch; }
.contact-details-panel { padding: clamp(34px, 4vw, 58px); color: #fff; background: #0a0f12; border: 1px solid #25333a; }
.contact-panel-heading { margin-bottom: 48px; }
.contact-panel-heading h2 { max-width: 8ch; margin: 0 0 22px; color: #fff; font-size: clamp(3.3rem, 5vw, 5rem); line-height: .9; }
.contact-panel-heading p { max-width: 480px; margin: 0; color: #9ba8ae; line-height: 1.7; }
.contact-method-list { border-top: 1px solid #2d3a41; }
.contact-method { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px 0; color: #fff; border-bottom: 1px solid #2d3a41; }
.contact-method-icon { display: grid; width: 42px; height: 42px; place-items: center; color: #1fc2f5; border: 1px solid #3d4b52; }
.contact-method-icon svg { width: 19px; height: 19px; }
.contact-method small { display: block; margin-bottom: 5px; color: #7f8e95; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-method strong { display: block; color: #fff; font-size: .96rem; font-weight: 500; line-height: 1.55; overflow-wrap: anywhere; }
.contact-method--primary .contact-method-icon { color: #071014; background: #1fc2f5; border-color: #1fc2f5; }
.contact-method--primary strong { color: #1fc2f5; font-family: "Barlow Condensed", sans-serif; font-size: clamp(1.75rem, 2.6vw, 2.45rem); font-weight: 650; line-height: 1; }

.contact-map-panel { display: grid; grid-template-rows: auto minmax(480px, 1fr); padding: clamp(28px, 3.4vw, 46px); background: #fff; border: 1px solid #d2d8da; }
.contact-map-heading { display: flex; min-height: 96px; align-items: flex-start; justify-content: space-between; gap: 24px; }
.contact-map-heading h2 { margin: 0 0 5px; font-size: clamp(2.5rem, 4vw, 3.8rem); line-height: 1; }
.contact-map-heading p { margin: 0; color: #718086; }
.contact-map-heading a { flex: 0 0 auto; padding-bottom: 6px; color: #087fa4; font-size: .76rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.contact-map-frame { min-height: 480px; overflow: hidden; background: #d9dede; }
.contact-map-frame iframe { display: block; width: 100%; height: 100%; min-height: 480px; border: 0; filter: grayscale(.92) contrast(.92); }

@media (min-width: 769px) and (max-width: 1100px) {
  body:has(.inner-page-redesign) .container,
  body:has(.service-page-main) .container { padding-left: 32px; padding-right: 32px; }
  .service-detail-redesign .service-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 46px; }
  .contact-hub-grid { grid-template-columns: minmax(310px, .9fr) minmax(0, 1.1fr); }
}

@media (max-width: 900px) {
  .service-detail-redesign .service-layout { grid-template-columns: 1fr; gap: 52px; }
  .service-detail-redesign .sidebar-nav { position: static; }
  .service-detail-redesign .sidebar-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-detail-redesign .sidebar-nav li:nth-child(even) { border-left: 1px solid #243038; padding-left: 18px; }
  .contact-hub-grid { grid-template-columns: 1fr; }
  .contact-map-panel { grid-template-rows: auto 450px; }
  .about-story-grid { grid-template-columns: 1fr; }
  .about-story-media { height: min(70vw, 620px); }
  .about-metrics-section .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-metrics-section .metric-item:nth-child(3),
  .about-metrics-section .metric-item:nth-child(4) { border-top: 1px solid #26343b; }
  .about-process-heading { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .page-header--service,
  .page-header--about,
  .page-header--contact { min-height: 430px; padding: 150px 0 58px; background-position: center; }
  .page-header--service .breadcrumb,
  .page-header--about .breadcrumb,
  .page-header--contact .breadcrumb { margin-bottom: 22px; font-size: .65rem; }
  .page-header--service h1,
  .page-header--about h1,
  .page-header--contact h1 { max-width: 11ch; font-size: clamp(3.25rem, 15vw, 4.65rem); line-height: .91; }

  .service-detail-redesign { padding: 64px 0 82px; }
  .service-detail-redesign .sidebar-nav { padding: 24px 20px; }
  .service-detail-redesign .sidebar-nav ul { grid-template-columns: 1fr; }
  .service-detail-redesign .sidebar-nav li:nth-child(even) { padding-left: 0; border-left: 0; }
  .service-detail-redesign .sidebar-contact { display: none; }
  .service-detail-media { height: 250px; margin-bottom: 38px; }
  .service-article-body { font-size: .98rem; }
  .service-article-body h2 { margin-top: 46px; }
  .sub-services-section { margin-top: 56px; padding-top: 34px; }
  .sub-services-grid { grid-template-columns: 1fr; }
  .sub-service-card { grid-template-rows: 170px auto; }
  .service-footer-cta { padding: 74px 0 80px; }
  .service-cta-wrapper { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .service-cta-action .technogym-btn-accent { width: 100%; justify-content: space-between; }

  .about-story-section { padding: 72px 0 82px; }
  .about-story-grid { gap: 48px; }
  .about-story-copy h2 { font-size: clamp(3.05rem, 14vw, 4rem); }
  .about-story-media { height: 105vw; max-height: 520px; }
  .about-metrics-section .metric-item { padding: 34px 20px; }
  .about-metrics-section .metric-num { font-size: clamp(2.1rem, 10vw, 3rem); }
  .about-metrics-section .metric-label { font-size: .67rem; }
  .about-process-section { padding: 76px 0 88px; }
  .about-process-heading { margin-bottom: 42px; }
  .about-process-grid { grid-template-columns: 1fr; }
  .about-process-item { min-height: 0; padding: 28px 26px 32px; }
  .about-process-item h3 { margin-top: 34px; }

  .contact-hub-section { padding: 64px 0 82px; }
  .contact-details-panel { padding: 34px 24px; }
  .contact-panel-heading { margin-bottom: 34px; }
  .contact-panel-heading h2 { font-size: clamp(3rem, 14vw, 4rem); }
  .contact-method { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding: 19px 0; }
  .contact-method-icon { width: 38px; height: 38px; }
  .contact-method--primary strong { font-size: 1.75rem; }
  .contact-map-panel { grid-template-rows: auto 360px; padding: 26px 20px 20px; }
  .contact-map-heading { min-height: 92px; }
  .contact-map-heading h2 { font-size: 2.4rem; }
  .contact-map-frame,
  .contact-map-frame iframe { min-height: 360px; }
}

@media (max-width: 430px) {
  .about-metrics-section .metrics-grid { grid-template-columns: 1fr; }
  .about-metrics-section .metric-item { border-right: 1px solid #26343b; border-bottom: 1px solid #26343b; }
  .about-metrics-section .metric-item:last-child { border-bottom: 0; }
  .contact-map-heading { display: block; }
  .contact-map-heading a { display: inline-block; margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .sub-service-card::after,
  .sub-service-media img { transition: none; }
}

/* Compact inner-page typography and content-first service layout */
.page-header--service,
.page-header--about,
.page-header--contact {
  min-height: 360px;
  padding: 168px 0 58px;
}

.page-header--service .breadcrumb,
.page-header--about .breadcrumb,
.page-header--contact .breadcrumb {
  margin-bottom: 18px;
  font-size: .68rem;
  letter-spacing: .1em;
}

.page-header--service h1,
.page-header--about h1,
.page-header--contact h1 {
  max-width: 18ch;
  font-size: clamp(2.65rem, 3.5vw, 3.7rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: none;
  text-wrap: balance;
}

.service-detail-redesign { padding: 76px 0 112px; }

.service-detail-redesign .service-layout {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 286px);
  gap: clamp(48px, 6vw, 90px);
}

.service-detail-redesign .article-content {
  grid-column: 1;
  grid-row: 1;
}

.service-detail-redesign .sidebar-nav {
  grid-column: 2;
  grid-row: 1;
  padding: 24px;
}

.service-detail-redesign .sidebar-nav h3 {
  font-size: 1.32rem;
  font-weight: 500;
  text-transform: none;
}

.service-detail-media {
  height: clamp(280px, 34vw, 450px);
  margin: 64px 0 0;
}

.service-article-body {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.75;
}

.service-article-body h2,
.service-article-body h3,
.sub-services-title {
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
  text-transform: none;
  text-wrap: balance;
}

.service-article-body h2 {
  margin: 48px 0 18px;
  font-size: clamp(2rem, 3vw, 2.85rem);
}

.service-article-body h3 {
  margin: 36px 0 14px;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.service-article-body h4 {
  margin: 28px 0 8px;
  color: #162126;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
}

.sub-services-title {
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.service-cta-text h2 {
  max-width: 17ch;
  font-size: clamp(2.7rem, 4.5vw, 4.35rem);
  font-weight: 500;
  line-height: .98;
  text-transform: none;
}

.about-story-copy h2,
.about-process-heading h2,
.contact-panel-heading h2,
.contact-map-heading h2 {
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.018em;
  text-transform: none;
  text-wrap: balance;
}

.about-story-copy h2 {
  font-size: clamp(2.55rem, 3.5vw, 3.65rem);
}

.about-process-heading h2 {
  font-size: clamp(2.5rem, 3.5vw, 3.65rem);
}

.about-process-item h3 {
  margin-top: 38px;
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.08;
  text-transform: none;
}

.contact-panel-heading h2 {
  max-width: 11ch;
  font-size: clamp(2.5rem, 3.25vw, 3.45rem);
}

.contact-map-heading h2 {
  font-size: clamp(2rem, 2.6vw, 2.65rem);
}

@media (max-width: 900px) {
  .service-detail-redesign .article-content {
    grid-column: 1;
    grid-row: 1;
  }

  .service-detail-redesign .sidebar-nav {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 768px) {
  .page-header--service,
  .page-header--about,
  .page-header--contact {
    min-height: 315px;
    padding: 132px 0 42px;
  }

  .page-header--service .breadcrumb,
  .page-header--about .breadcrumb,
  .page-header--contact .breadcrumb {
    margin-bottom: 14px;
  }

  .page-header--service h1,
  .page-header--about h1,
  .page-header--contact h1 {
    max-width: 14ch;
    font-size: clamp(2.25rem, 10vw, 2.85rem);
    line-height: 1;
  }

  .service-detail-redesign { padding: 52px 0 76px; }
  .service-detail-redesign .service-layout { gap: 46px; }
  .service-detail-media { height: 230px; margin-top: 48px; }
  .service-article-body h2 { margin-top: 40px; font-size: 2rem; }
  .service-article-body h3 { font-size: 1.55rem; }
  .service-footer-cta { padding: 64px 0 72px; }
  .service-cta-text h2 { font-size: clamp(2.45rem, 11vw, 3.3rem); }

  .about-story-copy h2,
  .about-process-heading h2,
  .contact-panel-heading h2 { font-size: clamp(2.2rem, 9.5vw, 2.8rem); }
  .contact-map-heading h2 { font-size: 1.95rem; }
}

/* References page */
.page-header--references {
  position: relative;
  isolation: isolate;
  min-height: 360px;
  padding: 168px 0 58px;
  display: flex;
  align-items: flex-end;
  text-align: left;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.page-header--references::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(31,194,245,.2) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 100% 50%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.55), transparent 76%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.55), transparent 76%);
}

.page-header--references > .container,
.page-header--references .page-header-content { width: 100%; }
.page-header--references .page-header-content { max-width: 1060px; margin: 0; }

.page-header--references .breadcrumb {
  justify-content: flex-start;
  margin: 0 0 18px;
  color: rgba(255,255,255,.66);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.page-header--references .breadcrumb a { color: #fff; }
.page-header--references .breadcrumb .separator { color: #1fc2f5; }

.page-header--references h1 {
  max-width: 18ch;
  margin: 0;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.65rem, 3.5vw, 3.7rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.02em;
  text-align: left;
  text-transform: none;
}

.references-section { padding: 92px 0 132px; background: #eef0ee; }

.references-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .66fr);
  gap: clamp(42px, 8vw, 124px);
  align-items: end;
  margin-bottom: 64px;
}

.references-intro h2 {
  max-width: 13ch;
  margin: 0;
  color: #10171b;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.7rem, 3.8vw, 3.9rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.references-intro p {
  max-width: 560px;
  margin: 0;
  color: #536168;
  font-size: 1rem;
  line-height: 1.72;
}

.references-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: #c9d0d2;
}

.reference-item {
  min-width: 0;
  background: #f8f9f8;
  transition: background-color .25s ease;
}

.reference-item--featured { grid-column: span 2; }
.reference-item:hover { background: #fff; }

.reference-logo-stage {
  display: grid;
  height: 172px;
  padding: 34px;
  place-items: center;
  overflow: hidden;
}

.reference-item--featured .reference-logo-stage { height: 220px; }

.reference-logo-stage img {
  width: auto;
  max-width: 78%;
  max-height: 74px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .3s ease;
}

.reference-item--featured .reference-logo-stage img {
  max-width: 66%;
  max-height: 92px;
}

.reference-item:hover .reference-logo-stage img { transform: scale(1.035); }

.reference-meta {
  min-height: 78px;
  padding: 17px 20px 19px;
  border-top: 1px solid #d7dcde;
}

.reference-meta h3 {
  margin: 0 0 4px;
  color: #151d21;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
}

.reference-meta span {
  color: #76848a;
  font-size: .7rem;
  letter-spacing: .035em;
}

.references-invite {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: clamp(48px, 8vw, 118px);
  align-items: end;
  margin-top: 72px;
  padding: 46px 0 50px;
  border-top: 1px solid #b8c1c4;
  border-bottom: 1px solid #b8c1c4;
}

.references-invite-label {
  margin: 0 0 14px;
  color: #087fa4;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.references-invite h2 {
  max-width: 13ch;
  margin: 0;
  color: #10191e;
  font-size: clamp(2.25rem, 3.2vw, 3.25rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.025em;
}

.references-invite-content p {
  max-width: 560px;
  margin: 0 0 24px;
  color: #58666c;
  font-size: .94rem;
  line-height: 1.72;
}

.references-invite-link {
  display: inline-flex;
  padding-bottom: 7px;
  align-items: center;
  gap: 10px;
  color: #152127;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
  border-bottom: 1px solid #87959b;
}

.references-invite-link svg { width: 15px; height: 15px; transition: transform .25s ease; }
.references-invite-link:hover { color: #087fa4; border-color: currentColor; }
.references-invite-link:hover svg { transform: translateX(4px); }

.contact-map-heading {
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .service-detail-redesign .service-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-detail-redesign .article-content,
  .service-detail-redesign .sidebar-nav {
    width: 100%;
    min-width: 0;
  }

  .references-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .references-intro { grid-template-columns: 1fr; gap: 24px; }
  .references-invite { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .page-header--references {
    min-height: 315px;
    padding: 132px 0 42px;
  }

  .page-header--references .breadcrumb { margin-bottom: 14px; }
  .page-header--references h1 { max-width: 14ch; font-size: clamp(2.25rem, 10vw, 2.85rem); }
  .references-section { padding: 66px 0 84px; }
  .references-intro { margin-bottom: 42px; }
  .references-intro h2 { font-size: clamp(2.3rem, 10vw, 2.9rem); }
  .references-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reference-logo-stage,
  .reference-item--featured .reference-logo-stage { height: 150px; padding: 24px; }
  .reference-logo-stage img,
  .reference-item--featured .reference-logo-stage img { max-width: 84%; max-height: 62px; }
  .reference-meta { min-height: 82px; padding: 15px 14px 17px; }
  .references-invite { margin-top: 48px; padding: 36px 0 40px; }
  .references-invite h2 { font-size: clamp(2.1rem, 9vw, 2.65rem); }

  .service-detail-redesign .sidebar-nav {
    padding: 20px;
  }

  .service-detail-redesign .sidebar-nav h3 { margin-bottom: 16px; }
  .service-detail-redesign .sidebar-nav li a { min-height: 46px; font-size: .8rem; }
}

@media (max-width: 430px) {
  .reference-item--featured { grid-column: span 2; }
}

/* Homepage audiences */
.home-audiences-section {
  padding: clamp(88px, 10vw, 142px) 0;
  background: #eef0ee;
  overflow: hidden;
}

.home-audiences-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  gap: clamp(58px, 7vw, 110px);
  align-items: center;
}

.audience-visual {
  position: relative;
  display: flex;
  height: clamp(470px, 43vw, 610px);
  min-width: 0;
  overflow: hidden;
  background: #eef0ee;
}

.audience-photo {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
  flex: 0 0 38%;
}

.audience-photo--home {
  z-index: 3;
  flex-basis: 36%;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.audience-photo--gym {
  z-index: 2;
  margin-left: calc(-6.5% + 7px);
  flex-basis: 42%;
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
}

.audience-photo--facility {
  z-index: 1;
  margin-left: calc(-7% + 7px);
  flex-basis: 43%;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.audience-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(7,14,18,.22));
}

.audience-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.03);
}

.audience-photo--home img { object-position: 58% center; }
.audience-photo--gym img { object-position: 56% center; }
.audience-photo--facility img { object-position: 62% center; }

.audience-content h2 {
  max-width: 15ch;
  margin: 0 0 52px;
  color: #111a1f;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.75rem, 3.6vw, 3.8rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.audience-list { border-top: 1px solid #c4cccf; }

.audience-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 25px 0 27px;
  border-bottom: 1px solid #c4cccf;
}

.audience-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #087fa4;
  border: 1px solid #9db2ba;
}

.audience-icon svg { width: 21px; height: 21px; }

.audience-item h3 {
  margin: 1px 0 7px;
  color: #121b20;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
}

.audience-item p {
  max-width: 440px;
  margin: 0;
  color: #5a686e;
  font-size: .93rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .home-audiences-grid { grid-template-columns: 1fr; gap: 56px; }
  .audience-visual { height: min(66vw, 580px); }
  .audience-content { display: grid; grid-template-columns: minmax(0, .8fr) minmax(340px, 1.2fr); gap: 48px; align-items: start; }
  .audience-content h2 { margin: 0; }
}

@media (max-width: 768px) {
  .home-audiences-section { padding: 76px 0 88px; }
  .home-audiences-grid { gap: 44px; }
  .audience-visual { height: 320px; margin-inline: -20px; }
  .audience-photo--home { flex-basis: 40%; }
  .audience-photo--gym { flex-basis: 44%; }
  .audience-photo--facility { flex-basis: 45%; }
  .audience-content { display: block; }
  .audience-content h2 { max-width: 11ch; margin-bottom: 34px; font-size: clamp(2.55rem, 12vw, 3.35rem); }
  .audience-item { grid-template-columns: 40px minmax(0, 1fr); gap: 15px; padding: 21px 0 23px; }
  .audience-icon { width: 40px; height: 40px; }
}

/* Services index page */
.page-header--services-index {
  position: relative;
  display: flex;
  min-height: 390px;
  padding: 164px 0 62px;
  align-items: flex-end;
  isolation: isolate;
  text-align: left;
  background-attachment: scroll;
  background-position: center 48%;
}

.page-header--services-index::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 13, 16, .92) 0%, rgba(7, 13, 16, .7) 54%, rgba(7, 13, 16, .28) 100%),
    linear-gradient(180deg, rgba(7, 13, 16, .08), rgba(7, 13, 16, .42));
}

.page-header--services-index .page-header-content {
  width: 100%;
  max-width: 760px;
}

.page-header--services-index .breadcrumb {
  justify-content: flex-start;
  margin: 0 0 17px;
  color: rgba(255, 255, 255, .65);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.page-header--services-index .breadcrumb .separator { color: #1fc2f5; }

.page-header--services-index h1 {
  max-width: 16ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.7rem, 3.7vw, 3.9rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.025em;
  text-align: left;
  text-transform: none;
}

.page-header--services-index .page-header-lead {
  max-width: 600px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: .98rem;
  line-height: 1.65;
}

.services-index-page { color: #55636a; background: #eef0ee; }

.services-index-intro { padding: 94px 0 82px; }

.services-index-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .7fr);
  gap: clamp(64px, 9vw, 136px);
  align-items: end;
}

.services-index-eyebrow {
  margin: 0 0 20px;
  color: #087fa4;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.services-index-heading h2,
.services-catalog-header h2,
.services-index-cta h2 {
  color: #111a1f;
  font-weight: 500;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.services-index-heading h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.45rem, 4.2vw, 4.4rem);
  line-height: .99;
}

.services-index-intro-copy > p {
  max-width: 580px;
  margin: 0;
  color: #536168;
  font-size: 1rem;
  line-height: 1.78;
}

.services-index-jump {
  display: inline-flex;
  margin-top: 30px;
  align-items: center;
  gap: 11px;
  color: #142027;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .045em;
  text-transform: uppercase;
  border-bottom: 1px solid #8b999f;
  padding-bottom: 7px;
}

.services-index-jump svg { width: 15px; height: 15px; transition: transform .25s ease; }
.services-index-jump:hover { color: #087fa4; border-color: currentColor; }
.services-index-jump:hover svg { transform: translateY(3px); }

.services-index-scope {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 76px;
  border-top: 1px solid #bac3c6;
  border-bottom: 1px solid #bac3c6;
}

.services-index-scope span {
  display: flex;
  min-height: 74px;
  padding: 18px 26px;
  align-items: center;
  color: #344148;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.45;
  border-left: 1px solid #bac3c6;
}

.services-index-scope span:last-child { border-right: 1px solid #bac3c6; }

.services-index-catalog {
  padding: 94px 0 128px;
  background: #e2e6e5;
  border-top: 1px solid #c7cecf;
}

.services-catalog-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 52px;
}

.services-catalog-header h2 {
  margin: 0;
  font-size: clamp(2.3rem, 3.4vw, 3.45rem);
  line-height: 1;
}

.services-catalog-header p {
  max-width: 540px;
  margin: 0;
  color: #5d6a70;
  font-size: .94rem;
  line-height: 1.72;
}

.services-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.services-index-card {
  position: relative;
  display: grid;
  grid-template-rows: 260px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  background: #f7f8f6;
  border: 1px solid #ccd3d4;
  transition: border-color .28s ease, transform .28s ease;
}

.services-index-card:hover {
  border-color: #8e9ca2;
  transform: translateY(-3px);
}

.services-index-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr);
  grid-template-rows: minmax(360px, 32vw);
}

.services-index-card--featured:nth-child(5) {
  grid-template-columns: minmax(340px, .78fr) minmax(0, 1.22fr);
}

.services-index-card--featured:nth-child(5) .services-index-media { grid-column: 2; grid-row: 1; }
.services-index-card--featured:nth-child(5) .services-index-card-body { grid-column: 1; grid-row: 1; }

.services-index-media {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #cbd2d3;
}

.services-index-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.8) contrast(1.04);
  transition: transform .55s var(--ease-enter), filter .35s ease;
}

.services-index-card:hover .services-index-media img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.02);
}

.services-index-card-body {
  display: flex;
  min-width: 0;
  padding: 30px 32px 32px;
  flex-direction: column;
  align-items: flex-start;
}

.services-index-card--featured .services-index-card-body {
  justify-content: center;
  padding: clamp(38px, 5vw, 72px);
}

.services-index-card h3 {
  max-width: 19ch;
  margin: 0 0 16px;
  color: #152027;
  font-size: clamp(1.25rem, 1.7vw, 1.62rem);
  font-weight: 550;
  line-height: 1.24;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.services-index-card--featured h3 {
  font-size: clamp(1.8rem, 2.8vw, 2.65rem);
  line-height: 1.08;
}

.services-index-card p {
  max-width: 580px;
  margin: 0 0 28px;
  color: #617077;
  font-size: .92rem;
  line-height: 1.7;
}

.services-index-card-link {
  display: inline-flex;
  margin-top: auto;
  align-items: center;
  gap: 9px;
  color: #087fa4;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.services-index-card-link svg { width: 15px; height: 15px; transition: transform .25s ease; }
.services-index-card:hover .services-index-card-link svg { transform: translateX(4px); }

.services-index-card a:focus-visible,
.services-index-jump:focus-visible,
.services-index-phone:focus-visible {
  outline: 2px solid #087fa4;
  outline-offset: 4px;
}

.services-index-cta {
  padding: 92px 0 104px;
  color: #fff;
  background: #0b1114;
  border-top: 1px solid #28343a;
}

.services-index-cta .services-index-eyebrow { color: #1fc2f5; }

.services-index-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  gap: clamp(64px, 9vw, 136px);
  align-items: end;
}

.services-index-cta h2 {
  max-width: 17ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 3.7vw, 3.8rem);
  line-height: 1.03;
}

.services-index-cta-content > p {
  max-width: 560px;
  margin: 0;
  color: #9da9ae;
  font-size: .96rem;
  line-height: 1.72;
}

.services-index-cta-actions {
  display: flex;
  margin-top: 30px;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.services-index-cta-actions .btn { min-height: 52px; }
.services-index-cta-actions svg { width: 15px; height: 15px; }

.services-index-phone {
  color: #fff;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .035em;
  border-bottom: 1px solid #53636b;
  padding-bottom: 5px;
}

.services-index-phone:hover { color: #1fc2f5; border-color: currentColor; }

@media (min-width: 769px) and (max-width: 1100px) {
  body:has(.services-index-page) .container { padding-left: 32px; padding-right: 32px; }
  .services-index-card { grid-template-rows: 230px minmax(0, 1fr); }
  .services-index-card--featured { grid-template-rows: minmax(330px, 38vw); }
}

@media (max-width: 820px) {
  .services-index-intro-grid,
  .services-catalog-header,
  .services-index-cta-grid { grid-template-columns: 1fr; gap: 30px; align-items: start; }

  .services-index-heading h2 { max-width: 17ch; }
  .services-index-scope { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-index-scope span:nth-child(3),
  .services-index-scope span:nth-child(4) { border-top: 1px solid #bac3c6; }

  .services-index-card--featured,
  .services-index-card--featured:nth-child(5) {
    grid-template-columns: minmax(0, 1.12fr) minmax(270px, .88fr);
    grid-template-rows: minmax(330px, 46vw);
  }
}

@media (max-width: 650px) {
  .page-header--services-index {
    min-height: 340px;
    padding: 132px 0 44px;
    background-position: 58% center;
  }

  .page-header--services-index::before {
    background: linear-gradient(90deg, rgba(7, 13, 16, .9), rgba(7, 13, 16, .55));
  }

  .page-header--services-index h1 { font-size: clamp(2.25rem, 10vw, 2.85rem); }
  .page-header--services-index .page-header-lead { max-width: 31rem; font-size: .9rem; }

  .services-index-intro { padding: 66px 0 60px; }
  .services-index-heading h2 { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .services-index-intro-copy > p { font-size: .95rem; }
  .services-index-scope { margin-top: 52px; }
  .services-index-scope span { min-height: 66px; padding: 16px 14px; font-size: .72rem; }

  .services-index-catalog { padding: 66px 0 80px; }
  .services-catalog-header { margin-bottom: 34px; }
  .services-catalog-header h2 { font-size: 2.25rem; }
  .services-catalog-header p { font-size: .9rem; }

  .services-index-grid { grid-template-columns: 1fr; gap: 14px; }
  .services-index-card,
  .services-index-card--featured,
  .services-index-card--featured:nth-child(5) {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 230px auto;
  }

  .services-index-card--featured:nth-child(5) .services-index-media,
  .services-index-card--featured:nth-child(5) .services-index-card-body {
    grid-column: 1;
  }

  .services-index-card--featured:nth-child(5) .services-index-media { grid-row: 1; }
  .services-index-card--featured:nth-child(5) .services-index-card-body { grid-row: 2; }

  .services-index-card-body,
  .services-index-card--featured .services-index-card-body { padding: 26px 24px 28px; }
  .services-index-card--featured h3 { font-size: 1.48rem; line-height: 1.2; }
  .services-index-card p { margin-bottom: 24px; font-size: .89rem; }
  .services-index-card:hover { transform: none; }

  .services-index-cta { padding: 68px 0 76px; }
  .services-index-cta h2 { font-size: clamp(2.15rem, 10vw, 2.85rem); }
  .services-index-cta-actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .services-index-cta-actions .btn { width: 100%; justify-content: space-between; }
  .services-index-phone { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .services-index-card,
  .services-index-media img,
  .services-index-card-link svg,
  .services-index-jump svg { transition: none; }
}

/* Service article content hardening: lists, feature blocks and rich content */
.service-article-body .service-copy-section {
  min-width: 0;
}

.service-article-body .service-copy-section + .service-copy-section {
  margin-top: 52px;
  padding-top: 48px;
  border-top: 1px solid #c2c9cb;
}

.service-article-body .service-copy-section > :last-child {
  margin-bottom: 0;
}

.service-article-body ul,
.service-article-body ol {
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
  border-top: 1px solid #c2c9cb;
}

.service-article-body li {
  position: relative;
  display: block;
  margin: 0;
  padding: 16px 12px 17px 36px;
  color: #4d5a60;
  font-size: .98rem;
  line-height: 1.68;
  border-bottom: 1px solid #c2c9cb;
  align-items: initial;
  gap: 0;
}

.service-article-body li::before {
  position: absolute;
  display: block;
  width: auto;
  height: auto;
  flex: none;
  background: none;
  border-radius: 0;
}

.service-article-body ul li::before {
  content: "";
  left: 7px;
  top: 1.48rem;
  width: 7px;
  height: 7px;
  background: #12aeda;
  border-radius: 50%;
}

.service-article-body ol {
  counter-reset: service-step;
}

.service-article-body ol li {
  counter-increment: service-step;
  padding-left: 52px;
}

.service-article-body ol li::before {
  content: counter(service-step, decimal-leading-zero);
  left: 5px;
  top: 17px;
  color: #087fa4;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .05em;
  font-variant-numeric: tabular-nums;
}

.service-article-body li strong {
  display: inline;
  color: #263238;
  font-weight: 650;
}

.service-article-body li p {
  display: inline;
  margin: 0;
}

.service-article-body .service-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 34px;
  padding: 1px;
  background: #c7ced0;
}

.service-article-body .service-feature {
  min-width: 0;
  padding: 24px 26px 26px;
  background: #f7f8f6;
}

.service-article-body .service-feature h4 {
  margin: 0 0 10px;
  color: #172126;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
}

.service-article-body .service-feature p {
  margin: 0;
  color: #5b696f;
  font-size: .91rem;
  line-height: 1.68;
}

.service-article-body table {
  display: table;
  width: 100%;
  max-width: 100%;
  margin: 34px 0 40px;
  overflow: hidden;
  table-layout: auto;
  border-collapse: collapse;
  color: #46545a;
  background: #f8f9f7;
  font-size: .9rem;
  line-height: 1.55;
  border: 1px solid #c4ccce;
}

.service-article-body table caption {
  padding: 0 0 12px;
  color: #172126;
  font-size: .88rem;
  font-weight: 650;
  text-align: left;
}

.service-article-body th,
.service-article-body td {
  padding: 14px 16px;
  vertical-align: top;
  text-align: left;
  border: 1px solid #cbd2d4;
  overflow-wrap: anywhere;
}

.service-article-body th {
  color: #172126;
  background: #dfe4e3;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .035em;
}

.service-article-body tbody tr:nth-child(even) {
  background: #eef1ef;
}

.service-article-body td > :last-child {
  margin-bottom: 0;
}

.service-article-body blockquote {
  margin: 32px 0;
  padding: 22px 24px;
  color: #334148;
  background: #e3e8e7;
  border-left: 3px solid #18b5e1;
}

.service-article-body blockquote > :last-child {
  margin-bottom: 0;
}

.service-article-body figure {
  max-width: 100%;
  margin: 34px 0;
}

.service-article-body figure img {
  display: block;
  width: 100%;
  height: auto;
}

.service-article-body figcaption {
  margin-top: 10px;
  color: #718086;
  font-size: .76rem;
  line-height: 1.55;
}

.service-article-body hr {
  height: 1px;
  margin: 44px 0;
  background: #c2c9cb;
  border: 0;
}

@media (max-width: 768px) {
  .service-article-body .service-copy-section + .service-copy-section {
    margin-top: 40px;
    padding-top: 36px;
  }

  .service-article-body ul,
  .service-article-body ol {
    margin: 22px 0 30px;
  }

  .service-article-body li {
    padding: 14px 4px 15px 31px;
    font-size: .93rem;
    line-height: 1.65;
  }

  .service-article-body ul li::before {
    left: 5px;
    top: 1.35rem;
    width: 6px;
    height: 6px;
  }

  .service-article-body ol li {
    padding-left: 44px;
  }

  .service-article-body ol li::before {
    left: 3px;
    top: 15px;
    font-size: .82rem;
  }

  .service-article-body .service-feature-grid {
    grid-template-columns: 1fr;
    margin: 24px 0 30px;
  }

  .service-article-body .service-feature {
    padding: 21px 20px 23px;
  }

  .service-article-body table {
    display: block;
    width: 100%;
    margin: 28px 0 34px;
    overflow-x: auto;
    overflow-y: hidden;
    font-size: .84rem;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #8e9ba0 #dfe4e3;
  }

  .service-article-body th,
  .service-article-body td {
    min-width: 132px;
    padding: 12px 13px;
    overflow-wrap: normal;
  }

  .service-article-body blockquote {
    margin: 26px 0;
    padding: 18px 18px;
  }
}



/* ==========================================================================
   BLOG INDEX — Editorial redesign
   ========================================================================== */

.page-header--blog {
  min-height: 470px;
  padding: 168px 0 68px;
  background-attachment: scroll;
  background-position: center 54%;
  text-align: left;
}

.page-header--blog .page-header-content {
  max-width: 720px;
  margin: 0;
}

.page-header--blog .breadcrumb {
  margin-bottom: 26px;
  color: rgba(255,255,255,.72);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.page-header--blog .breadcrumb a { color: rgba(255,255,255,.78); }
.page-header--blog .breadcrumb .separator { color: var(--primary-color); }

.page-header--blog h1 {
  max-width: 9ch;
  margin: 0;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.1rem, 6vw, 4.9rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.025em;
  text-transform: none;
}

.page-header--blog .page-header-lead {
  max-width: 38rem;
  margin: 22px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  text-wrap: pretty;
}

.blog-index-section {
  padding: 86px 0 112px;
  background: #f3f5f4;
}

.blog-index-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: 48px;
  align-items: end;
  margin-bottom: 54px;
  padding-bottom: 32px;
  border-bottom: 1px solid #cfd6d5;
}

.blog-index-kicker {
  display: block;
  margin-bottom: 15px;
  color: #0785aa;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.blog-index-intro h2 {
  max-width: 13ch;
  margin: 0;
  color: #111a1e;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.45rem, 4vw, 4rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.025em;
  text-transform: none;
  text-wrap: balance;
}

.blog-index-intro-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.blog-index-intro-copy p {
  max-width: 36rem;
  margin: 0;
  color: #68767c;
  font-size: .95rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.blog-index-intro-copy > span {
  color: #182227;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .08em;
  white-space: nowrap;
  text-transform: uppercase;
}

.blog-index-section .blog-layout {
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 48px;
}

.blog-index-section .blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}

.blog-index-section .blog-card {
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 0 !important;
  box-shadow: none;
  transform: none;
  transition: background-color .25s ease;
}

.blog-index-section .blog-card:hover {
  background: #edf9fc;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.blog-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: inherit;
}

.blog-index-section .blog-card-image {
  position: relative;
  height: 220px;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  background: #dfe5e4;
}

.blog-index-section .blog-card-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--primary-color);
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.blog-index-section .blog-card-image img {
  width: 100%;
  height: 220px;
  min-height: 220px;
  object-fit: cover;
  transition: transform .55s var(--ease-enter), filter .3s ease;
}

.blog-index-section .blog-card:hover .blog-card-image::after { transform: scaleX(1); }
.blog-index-section .blog-card:hover .blog-card-image img { transform: scale(1.035); filter: saturate(.92) contrast(1.03); }

.blog-index-section .blog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 27px 28px 28px;
}

.blog-index-section .blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  align-items: center;
  margin-bottom: 18px;
  color: #7a878c;
  font-size: .73rem;
  line-height: 1.4;
}

.blog-index-section .blog-card-meta span {
  color: #0785aa;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-index-section .blog-card-meta time {
  padding-left: 16px;
  border-left: 1px solid #cfd6d5;
  font-variant-numeric: tabular-nums;
}

.blog-index-section .blog-card-title {
  max-width: 18ch;
  margin: 0 0 13px;
  color: #121b1f;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.7rem, 2vw, 2.05rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.015em;
  text-transform: none;
  text-wrap: balance;
}

.blog-index-section .blog-card:hover .blog-card-title { color: #087fa4; }

.blog-index-section .blog-card-excerpt {
  display: -webkit-box;
  max-width: 48rem;
  margin: 0 0 26px;
  overflow: hidden;
  color: #68767c;
  font-size: .9rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-index-section .blog-card-readmore {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  color: #172126;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.blog-index-section .blog-card-readmore svg {
  width: 15px;
  height: 15px;
  transition: transform .22s ease;
}

.blog-index-section .blog-card:hover .blog-card-readmore { color: #087fa4; }
.blog-index-section .blog-card:hover .blog-card-readmore svg { transform: translateX(4px); }
.blog-card-link:focus-visible { outline: 2px solid var(--primary-color); outline-offset: -3px; }

.blog-empty-state {
  min-height: 420px;
  padding: 56px;
  background: #fff;
  border-top: 3px solid var(--primary-color);
}

.blog-empty-state > span {
  color: #0785aa;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-empty-state h3 {
  max-width: 12ch;
  margin: 22px 0 16px;
  color: #121b1f;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 1;
  text-transform: none;
}

.blog-empty-state p { max-width: 34rem; margin: 0 0 28px; color: #68767c; line-height: 1.7; }
.blog-empty-state a { display: inline-flex; padding-bottom: 7px; color: #087fa4; border-bottom: 1px solid currentColor; font-size: .78rem; font-weight: 700; }

.blog-index-section .pagination {
  justify-content: flex-start;
  margin-top: 42px;
  padding-top: 28px;
  border-top-color: #cfd6d5;
}

.blog-index-section .page-link {
  width: 42px;
  height: 42px;
  background: transparent;
  border-color: #c6cecd;
  color: #334147;
}

.blog-index-section .page-link svg { width: 16px; height: 16px; }
.blog-index-section .page-link:hover,
.blog-index-section .page-link.active { background: #111a1e; color: #fff; border-color: #111a1e; }

@media (max-width: 1024px) {
  .blog-index-section .blog-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 30px; }
  .blog-index-section .blog-grid { gap: 16px; }
  .blog-index-section .blog-card-image,
  .blog-index-section .blog-card-image img { height: 190px; min-height: 190px; }
  .blog-index-section .blog-card-content { padding: 24px; }
}

@media (max-width: 900px) {
  .page-header--blog { min-height: 430px; padding: 154px 0 60px; }
  .blog-index-section { padding: 70px 0 88px; }
  .blog-index-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 38px; }
  .blog-index-intro-copy { max-width: 610px; }
  .blog-index-section .blog-layout { grid-template-columns: 1fr; gap: 56px; }
  .blog-index-section .blog-card-image,
  .blog-index-section .blog-card-image img { height: 230px; min-height: 230px; }
}

@media (max-width: 640px) {
  .page-header--blog {
    min-height: 390px;
    padding: 136px 0 50px;
    background-position: 59% center;
  }

  .page-header--blog .breadcrumb { margin-bottom: 20px; font-size: .64rem; }
  .page-header--blog h1 { font-size: clamp(2.7rem, 14vw, 3.6rem); }
  .page-header--blog .page-header-lead { margin-top: 17px; font-size: .88rem; line-height: 1.62; }

  .blog-index-section { padding: 56px 0 74px; }
  .blog-index-intro { gap: 19px; margin-bottom: 28px; padding-bottom: 24px; }
  .blog-index-intro h2 { font-size: clamp(2.25rem, 11vw, 3rem); }
  .blog-index-intro-copy { grid-template-columns: 1fr; gap: 12px; }

  .blog-index-section .blog-grid { grid-template-columns: 1fr; }
  .blog-index-section .blog-card-image,
  .blog-index-section .blog-card-image img { min-height: 220px; height: 220px; }
  .blog-index-section .blog-card-content { padding: 26px 22px 28px; }
  .blog-index-section .blog-card-title { font-size: 2rem; }
  .blog-index-section .blog-card-excerpt { margin-bottom: 22px; -webkit-line-clamp: 4; }

  .blog-empty-state { min-height: 350px; padding: 38px 24px; }
  .blog-index-section .pagination { gap: 7px; }
  .blog-index-section .page-link { width: 40px; height: 40px; }
}

