/*
Theme Name: HIT Studio
Theme URI: https://www.handeirmak.com/
Description: Hande Irmak / HIT Design Studio için Zugan tabanlı marka child theme.
Author: Hande Irmak
Author URI: https://www.handeirmak.com/
Template: zugan
Version: 0.2.2
Text Domain: hit-studio
*/

/*
 * Parent theme provides layout and functionality; all site-wide visual
 * overrides live here (moved out of Customizer → Additional CSS).
 * Space Grotesk is enqueued in functions.php — no @import needed.
 * Template-specific styles: assets/css/home.css.
 */

/* =========================================
   HIT Studio — tokens (logo palette)
   ========================================= */
:root {
  /* Logo colors */
  --hit-ink:     #333333;
  --hit-purple:  #8B44AD;
  --hit-orange:  #F09A0C;
  --hit-red:     #E74C3C;
  --hit-green:   #2BC86C;
  --hit-paper:   #FFFFFF;

  /* Roles */
  --hit-bg:      var(--hit-paper);
  --hit-panel:   #F2F2F2;
  --hit-text:    var(--hit-ink);
  --hit-muted:   #666666;
  --hit-line:    rgba(51, 51, 51, .18);
  --hit-accent:  var(--hit-purple);
  --hit-hover:   var(--hit-orange);       /* backgrounds only */
  --hit-hover-text: #A15C00;              /* darker orange: 5.2:1 on white */
  --hit-on-accent: #ffffff;
  --hit-shadow:  0 8px 26px rgba(51, 51, 51, .08);
  --hit-glass:   rgba(255, 255, 255, .86);

  /* Mobile menu panel (dark) */
  --hit-mnav-bg:    var(--hit-ink);
  --hit-mnav-panel: #3d3d3d;
  --hit-mnav-text:  #ffffff;
  --hit-mnav-line:  rgba(255, 255, 255, .12);

  /* Logo signature: the four colour bars, left → right (red · purple · orange · green) */
  --hit-stripe: linear-gradient(90deg,
                  var(--hit-red) 0 25%, var(--hit-purple) 25% 50%,
                  var(--hit-orange) 50% 75%, var(--hit-green) 75% 100%);
  --hit-stripe-h: 3px;
  --hit-radius:   0; /* logo is all right angles */

  /* Type */
  --hit-sans:    "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hit-mono:    ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --hit-h1:      clamp(2.25rem, 1.6rem + 3.2vw, 4rem);
  --hit-h2:      clamp(1.75rem, 1.35rem + 2vw, 2.75rem);
  --hit-h3:      clamp(1.375rem, 1.2rem + .9vw, 1.875rem);
  --hit-h4:      1.25rem;

  /* Motion */
  --hit-ease:    .2s ease;
  --hit-focus-ring: 0 0 0 3px rgba(139, 68, 173, .18);

  /* Sizes */
  --hit-bar-h:   58px;
  --hit-mnav-x:  24px;
  --hit-bar-x:   60px; /* header side gutter (logo inset) */
  --hit-logo-w:  24px; /* rendered logo width at max-height 38px */
  --hit-logo-gap: 40px;
}

/* =========================================
   Base
   ========================================= */
body {
  background: var(--hit-bg) !important;
  color: var(--hit-text) !important;
}
body :is(h1, h2, h3, h4, h5, h6, p, li, label, .entry-title, .site-title) {
  color: var(--hit-text) !important;
}

body a { color: var(--hit-accent) !important; transition: color var(--hit-ease); }
body a:hover { color: var(--hit-hover-text) !important; }

::selection { background: var(--hit-green); color: var(--hit-ink); }
:focus-visible { outline: 2px solid var(--hit-accent); outline-offset: 3px; }

/* Buttons */
body :is(button[type="submit"], .button, .btn, input[type="submit"], input[type="button"]) {
  background: var(--hit-accent) !important;
  border-color: var(--hit-accent) !important;
  color: var(--hit-on-accent) !important;
  border-radius: var(--hit-radius) !important;
  font-weight: 600;
  transition: background var(--hit-ease), border-color var(--hit-ease), color var(--hit-ease);
}
body :is(button[type="submit"], .button, .btn, input[type="submit"], input[type="button"]):hover {
  background: var(--hit-hover) !important;
  border-color: var(--hit-hover) !important;
  color: var(--hit-ink) !important; /* white on orange fails contrast */
}

/* =========================================
   Typography
   ========================================= */
body { line-height: 1.65; -webkit-font-smoothing: antialiased; }

body :is(h1, h2, h3, h4, h5, h6, .entry-title) {
  font-family: var(--hit-sans) !important;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}
body h1, body .entry-title { font-size: var(--hit-h1); }
body h2 { font-size: var(--hit-h2); }
body h3 { font-size: var(--hit-h3); }
body h4 { font-size: var(--hit-h4); }
body :is(h5, h6) {
  font-family: var(--hit-mono) !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body p { text-wrap: pretty; }

/* =========================================
   Content
   ========================================= */
.entry-content a:not(.button, .btn, .wp-block-button__link) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.entry-content a:not(.button, .btn, .wp-block-button__link):hover {
  text-decoration-thickness: 2px;
}

.entry-content :is(img, figure, .wp-block-image img, iframe, video) {
  border-radius: var(--hit-radius);
}

body blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--hit-accent);
  font-family: var(--hit-sans);
  font-size: 1.25em;
  line-height: 1.4;
}
body blockquote cite {
  display: block;
  margin-top: 12px;
  color: var(--hit-muted);
  font-family: var(--hit-mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body hr {
  height: var(--hit-stripe-h);
  border: 0;
  background: var(--hit-stripe);
  margin: 3em 0;
}

body :is(code, kbd, pre) { font-family: var(--hit-mono); }
body :not(pre) > code {
  padding: .15em .4em;
  background: var(--hit-panel);
  font-size: .9em;
}
body pre {
  padding: 20px;
  background: var(--hit-panel);
  border-left: 3px solid var(--hit-accent);
  overflow-x: auto;
}

.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content :is(th, td) {
  padding: 12px 14px;
  border-bottom: 1px solid var(--hit-line);
  text-align: left;
}
.entry-content th {
  font-family: var(--hit-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--hit-ink);
}

/* =========================================
   Forms
   ========================================= */
body :is(input:not([type="submit"], [type="button"], [type="checkbox"], [type="radio"], [type="range"], [type="file"]), textarea, select) {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  background: var(--hit-bg);
  color: var(--hit-text);
  border: 1px solid var(--hit-line);
  border-radius: var(--hit-radius);
  font: inherit;
  transition: border-color var(--hit-ease), box-shadow var(--hit-ease);
}
body :is(input, textarea, select):focus {
  border-color: var(--hit-accent);
  box-shadow: var(--hit-focus-ring);
  outline: none;
}
body :is(input, textarea)::placeholder { color: var(--hit-muted); opacity: 1; }
body textarea { min-height: 140px; resize: vertical; }
body :is(input[type="checkbox"], input[type="radio"], input[type="range"], progress) {
  accent-color: var(--hit-accent);
}
body label {
  font-family: var(--hit-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
/* Sizing only on explicit buttons — bare <button> is also used for theme icons */
body :is(.button, .btn, .wp-block-button__link, input[type="submit"], input[type="button"]) {
  padding: 12px 22px;
  font-family: var(--hit-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

/* =========================================
   Footer
   ========================================= */
:is(.site-footer, .footer-area) {
  background: var(--hit-bg);
  color: var(--hit-muted);
  border-top: var(--hit-stripe-h) solid;
  border-image: var(--hit-stripe) 1;
  padding-block: clamp(48px, 8vw, 96px) 32px;
}
:is(.site-footer, .footer-area) :is(.widget-title, h2, h3, h4) {
  color: var(--hit-text) !important;
  font-family: var(--hit-mono) !important;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
:is(.site-footer, .footer-area) :is(p, li) { color: var(--hit-muted) !important; }
body :is(.site-footer, .footer-area) a {
  color: var(--hit-muted) !important;
  text-decoration: none;
}
body :is(.site-footer, .footer-area) a:is(:hover, :focus-visible) {
  color: var(--hit-accent) !important;
}
:is(.site-footer, .footer-area) ul { list-style: none; margin: 0; padding: 0; }
:is(.site-footer, .footer-area) li a { display: inline-block; padding-block: 6px; }

/* =========================================
   Accessibility
   ========================================= */

/* Anchors land below the sticky header */
html { scroll-padding-top: calc(var(--hit-bar-h) + 32px); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Skip link (WP core markup: .skip-link.screen-reader-text) */
.skip-link:focus {
  position: fixed !important;
  top: 12px; left: 12px;
  z-index: 100000;
  clip: auto !important;
  clip-path: none !important;
  width: auto !important; height: auto !important;
  padding: 12px 18px !important;
  background: var(--hit-accent) !important;
  color: var(--hit-on-accent) !important;
  font-family: var(--hit-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Purple ring is too faint on the dark mobile panel */
:is(#masthead, #meanmenu, .meanmenu) .mean-nav :focus-visible {
  outline-color: var(--hit-orange);
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================
   Header — bars
   #masthead               = static header
   .rt-sticky-menu-wrapper = theme's sticky clone (on scroll)
   ========================================= */
#masthead.site-header,
#masthead #header-1.header-area,
#masthead #sticker,
#meanmenu,
.rt-sticky-menu-wrapper.rt-sticky-menu,
:is(#masthead, #meanmenu, .meanmenu) .mean-bar {
  background-color: var(--hit-bg) !important;
  color: var(--hit-text) !important;
}
.rt-sticky-menu-wrapper .sticky-container { background: transparent !important; }

#masthead #sticker,
.rt-sticky-menu-wrapper.rt-sticky-menu,
:is(#masthead, #meanmenu, .meanmenu) .mean-bar {
  border-bottom: var(--hit-stripe-h) solid !important;
  border-image: var(--hit-stripe) 1 !important;
  box-shadow: var(--hit-shadow) !important;
}

/* Frosted sticky bars — translucent bg so the blur is visible */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #masthead #sticker,
  .rt-sticky-menu-wrapper.rt-sticky-menu {
    background-color: var(--hit-glass) !important;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

/* Logo */
:is(#masthead, .rt-sticky-menu-wrapper) .site-branding img,
:is(#masthead, #meanmenu, .meanmenu) .logo-small {
  width: auto !important;
  max-height: 38px !important;
}

/* =========================================
   Header — menu (EN / TR / DE)
   Markup: .main-navigation > nav > ul.menu > li  (desktop + sticky)
           #meanmenu .mean-nav > ul.menu > li     (mobile)
   Colours come from position, not menu IDs: new languages or
   rebuilt menus need no CSS changes.
   ========================================= */

/* Logo order: red · purple · orange · green (top level only) */
:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li:nth-child(1),
:is(#masthead, #meanmenu, .meanmenu) .mean-nav > ul > li:nth-child(1) { --hit-menu-color: var(--hit-red); }
:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li:nth-child(2),
:is(#masthead, #meanmenu, .meanmenu) .mean-nav > ul > li:nth-child(2) { --hit-menu-color: var(--hit-purple); }
:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li:nth-child(3),
:is(#masthead, #meanmenu, .meanmenu) .mean-nav > ul > li:nth-child(3) { --hit-menu-color: var(--hit-orange); }
:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li:nth-child(4),
:is(#masthead, #meanmenu, .meanmenu) .mean-nav > ul > li:nth-child(4) { --hit-menu-color: var(--hit-green); }

/* Language items stay neutral wherever Polylang puts them (same specificity, comes later) */
:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li.lang-item,
:is(#masthead, #meanmenu, .meanmenu) .mean-nav > ul > li.lang-item { --hit-menu-color: initial; }

/* Bar */
.rt-sticky-menu-wrapper .main-navigation,
.rt-sticky-menu-wrapper .main-navigation ul {
  background: transparent !important;
}
:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}
.rt-sticky-menu-wrapper .main-navigation ul:not(.sub-menu) > li {
  display: flex !important;
  align-items: center !important;
}

:is(#masthead, .rt-sticky-menu-wrapper) :is(.site-branding, .main-navigation) a {
  color: var(--hit-text) !important;
  transition: color var(--hit-ease), border-color var(--hit-ease) !important;
}

/* Top-level links */
:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li > a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  box-sizing: border-box !important;
  padding: 8px 7px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--hit-menu-color, var(--hit-text)) !important;
  font-family: var(--hit-mono) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-decoration-line: none !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 6px !important;
}

/* Hover / focus / active page — underline in the item's own colour */
:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li:not(.lang-item) > a:is(:hover, :focus-visible),
:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li:not(.lang-item):is(.current-menu-item, .current-menu-ancestor) > a {
  text-decoration-line: underline !important;
}

/* Language switcher — TR / DE / EN (Polylang): ink text, green frame on active */
:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li.lang-item > a {
  padding: 8px 10px !important;
}
:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li.lang-item > a:is(:hover, :focus-visible),
:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li.lang-item.current-lang > a {
  border-color: var(--hit-green) !important;
}

/* Logo and menu share one vertical centre (bar height comes from the logo column) */
:is(#masthead #sticker, .rt-sticky-menu-wrapper) .row {
  align-items: center !important;
}

/* Desktop: each label sits on its own stripe segment.
   The stripe is 4 × 25% of the bar, so the menu is lifted out of its
   Bootstrap column and laid over the full bar as a matching grid:
   [ logo · WORKS | SERVICES | ABOUT | CONTACT · EN TR DE ]
   Below 993px the regular flex row above applies. */
@media (min-width: 993px) {
  #masthead #sticker { position: relative !important; }
  #masthead #sticker,
  .rt-sticky-menu-wrapper .sticky-container {
    padding-inline: var(--hit-bar-x) !important;
  }

  /* Bootstrap columns are position:relative — let the nav reach the bar */
  :is(#masthead #sticker, .rt-sticky-menu-wrapper) .row > :has(> .main-navigation) {
    position: static !important;
  }
  :is(#masthead #sticker, .rt-sticky-menu-wrapper) .main-navigation {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    pointer-events: none; /* empty grid cells must not block the logo link */
  }
  :is(#masthead #sticker, .rt-sticky-menu-wrapper) .main-navigation nav {
    height: 100%;
  }

  /* Columns = stripe segments: (content + right gutter) / 4 = 25% of the bar */
  :is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) {
    display: grid !important;
    grid-template-columns: repeat(3, calc((100% + var(--hit-bar-x)) / 4)) minmax(0, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: auto;
    align-items: center !important;
    height: 100%;
    gap: 0 !important;
    padding: 0 var(--hit-bar-x) 0 0 !important;
  }
  :is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li {
    justify-self: start;
    pointer-events: auto;
  }

  /* Label text starts exactly where its colour starts */
  :is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li:not(.lang-item) > a {
    padding-left: 0 !important;
    border-left-width: 0 !important;
  }
  /* First segment also holds the logo — start after it */
  :is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li:first-child {
    margin-left: calc(var(--hit-bar-x) + var(--hit-logo-w) + var(--hit-logo-gap));
  }
  :is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li.lang-item {
    margin-left: 4px;
  }
}

/* =========================================
   Header — mobile menu (MeanMenu, dark panel)
   ========================================= */

/* Toggle */
:is(#masthead, #meanmenu, .meanmenu) .meanmenu-reveal {
  background: transparent !important;
  color: var(--hit-accent) !important;
  border: 1px solid var(--hit-accent) !important;
  border-radius: var(--hit-radius) !important;
  padding: 8px !important;
  margin: 8px 12px 0 0 !important;
}
:is(#masthead, #meanmenu, .meanmenu) .meanmenu-reveal span {
  background: var(--hit-accent) !important;
}

/* Panel — full width, scrolls if taller than the screen */
:is(#masthead, #meanmenu, .meanmenu) .mean-nav {
  background: var(--hit-mnav-bg) !important;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  max-height: calc(100vh - var(--hit-bar-h)) !important;
  max-height: calc(100dvh - var(--hit-bar-h)) !important; /* iOS address bar */
  overflow-y: auto !important;
  overscroll-behavior: contain;
}
:is(#masthead, #meanmenu, .meanmenu) .mean-nav ul { width: 100% !important; }
:is(#masthead, #meanmenu, .meanmenu) .mean-nav ul li { border-top: 1px solid var(--hit-mnav-line) !important; }

/* Links */
:is(#masthead, #meanmenu, .meanmenu) .mean-nav ul li a {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  padding: 18px var(--hit-mnav-x) !important;
  background: var(--hit-mnav-bg) !important;
  color: var(--hit-mnav-text) !important;
  font-family: var(--hit-mono) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  transition: color var(--hit-ease), background var(--hit-ease), padding-left var(--hit-ease);
}
:is(#masthead, #meanmenu, .meanmenu) .mean-nav ul li a:is(:hover, :focus-visible),
:is(#masthead, #meanmenu, .meanmenu) .mean-nav ul li:is(.current-menu-item, .current-menu-ancestor) > a {
  background: var(--hit-mnav-panel) !important;
  color: var(--hit-orange) !important;
}
:is(#masthead, #meanmenu, .meanmenu) .mean-nav ul li a:is(:hover, :focus-visible) {
  padding-left: calc(var(--hit-mnav-x) + 6px) !important;
}

/* Active page — left bar, like the logo's vertical stroke */
:is(#masthead, #meanmenu, .meanmenu) .mean-nav ul li:is(.current-menu-item, .current-menu-ancestor) > a {
  box-shadow: inset 3px 0 0 var(--hit-orange) !important;
}

/* Language links — TR / DE / EN (Polylang) */
:is(#masthead, #meanmenu, .meanmenu) .mean-nav ul li.lang-item > a {
  color: var(--hit-orange) !important;
  letter-spacing: .14em !important;
}
:is(#masthead, #meanmenu, .meanmenu) .mean-nav ul li.lang-item.current-lang > a {
  background: var(--hit-mnav-panel) !important;
}

/* Logo colour as a left bar — coloured text fails contrast on the dark panel.
   Same specificity as the active-page rule above; comes later, so it wins. */
:is(#masthead, #meanmenu, .meanmenu) .mean-nav > ul > li > a {
  box-shadow: inset 3px 0 0 var(--hit-menu-color, transparent) !important;
}
:is(#masthead, #meanmenu, .meanmenu) .mean-nav > ul > li:is(.current-menu-item, .current-menu-ancestor) > a {
  box-shadow: inset 6px 0 0 var(--hit-menu-color, var(--hit-orange)) !important;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 992px) {
  :is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) { gap: 4px !important; }
  :is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li > a {
    font-size: 10px !important;
    padding: 8px !important;
  }
  .rt-sticky-menu-wrapper .main-navigation { justify-content: flex-end !important; }

  .rt-sticky-menu-wrapper.rt-sticky-menu,
  .rt-sticky-menu-wrapper .sticky-container,
  :is(#masthead, #meanmenu, .meanmenu) .mean-bar { min-height: var(--hit-bar-h) !important; }

  :is(#masthead, #meanmenu, .meanmenu) .logo-small {
    max-height: 32px !important;
    margin: 12px 0 0 14px !important;
  }
}

/* HIT Studio — Cal.com booking CTA */
.hit-cal-booking {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 18px;
  border: 1px solid var(--hit-green, #b7ff3c) !important;
  color: var(--hit-ink, #080b0a) !important;
  background: var(--hit-green, #b7ff3c) !important;
  font: 600 11px/1.2 var(--hit-mono, monospace) !important;
  letter-spacing: .08em;
  text-transform: none;
  text-decoration: none !important;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.hit-cal-booking:hover,
.hit-cal-booking:focus-visible {
  color: var(--hit-paper, #fff) !important;
  background: transparent !important;
  transform: translateY(-2px);
}

body #footer-2.footer-area.hit-footer--grid .hit-cal-booking {
  margin-top: 0;
  padding: 0 0 4px;
  border-width: 0 0 1px !important;
  border-color: rgba(183,255,60,.42) !important;
  color: var(--hit-green, #b7ff3c) !important;
  background: transparent !important;
  font-size: 10px !important;
  text-transform: none;
}

body #footer-2.footer-area.hit-footer--grid .hit-cal-booking:hover,
body #footer-2.footer-area.hit-footer--grid .hit-cal-booking:focus-visible {
  color: #fff !important;
  border-bottom-color: var(--hit-orange, #f0a34a) !important;
  transform: none;
}

@media (max-width: 480px) {
  .hit-cal-booking { width: 100%; }
  body #footer-2.footer-area.hit-footer--grid .hit-cal-booking { width: auto; }
}

/* HIT Studio — right-aligned desktop navigation */
@media (min-width: 993px) {
  :is(#masthead, .rt-sticky-menu-wrapper) .main-navigation {
    justify-content: flex-end !important;
    padding-left: 48px !important;
  }

  :is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) {
    justify-content: flex-end !important;
    gap: 22px !important;
    padding-left: 32px !important;
    padding-right: var(--hit-bar-x) !important;
  }

  :is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li:first-child {
    margin-left: 0 !important;
  }
}

/* =========================================
   Contact page — editorial project brief
   Scoped to page 481 so the existing portfolio
   and language pages keep their current layout.
   ========================================= */
:is(body.page-id-481, body.page-id-31122, body.page-id-31032) {
  --contact-ink: #333333;
  --contact-paper: #ffffff;
  --contact-panel: #f5f5f1;
  --contact-line: rgba(51, 51, 51, .18);
  --contact-green: #2bc86c;
  --contact-purple: #8b44ad;
  background: var(--contact-paper) !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) #content {
  background: var(--contact-paper) !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-167a308 {
  min-height: 0 !important;
  padding: clamp(72px, 10vw, 132px) 24px clamp(84px, 11vw, 150px) !important;
  background-color: var(--contact-paper) !important;
  background-image: none !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-167a308::before,
:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-167a308::after {
  display: none !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-ba1b8f5 {
  width: 100% !important;
  max-width: 1120px !important;
  margin-inline: auto !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-ba1b8f5 > .elementor-widget-wrap {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr) !important;
  gap: clamp(32px, 6vw, 88px) !important;
  align-items: start !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-ec7bf33 {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-ec7bf33 .title-text-button {
  text-align: left !important;
  padding: 0 !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-ec7bf33 .title-text-button::before {
  content: "01 / START A PROJECT";
  display: block;
  margin-bottom: 24px;
  color: var(--contact-purple) !important;
  font-family: var(--hit-mono) !important;
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.4;
}

body.page-id-31122 .elementor-element-ec7bf33 .title-text-button::before {
  content: "01 / PROJEYİ BAŞLATALIM";
}

body.page-id-31032 .elementor-element-ec7bf33 .title-text-button::before {
  content: "01 / PROJEKT STARTEN";
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-ec7bf33 .rtin-title {
  max-width: 560px;
  margin: 0 0 22px !important;
  color: var(--contact-ink) !important;
  font-family: var(--hit-sans) !important;
  font-size: clamp(2.5rem, 5vw, 5.2rem) !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
  text-align: left !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-ec7bf33 .rtin-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  margin-top: 30px;
  background: var(--hit-stripe);
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-ec7bf33 .subtitle,
:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-ec7bf33 .rtin-content {
  max-width: 510px;
  color: #5f6662 !important;
  font-family: var(--hit-sans) !important;
  font-size: clamp(1rem, 1.2vw, 1.18rem) !important;
  line-height: 1.65 !important;
  text-align: left !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-ec7bf33 .rtin-content {
  margin-top: 18px !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-ec7bf33 .rtin-button {
  margin-top: 32px !important;
  text-align: left !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-ec7bf33 .zugan-button {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  padding: 15px 20px !important;
  background: var(--contact-ink) !important;
  border: 1px solid var(--contact-ink) !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-family: var(--hit-mono) !important;
  font-size: 11px !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 var(--contact-green);
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-ec7bf33 .zugan-button:hover {
  background: var(--contact-green) !important;
  border-color: var(--contact-green) !important;
  color: var(--contact-ink) !important;
  box-shadow: 5px 5px 0 var(--contact-purple);
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-64baef9 {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  margin: 0 !important;
  padding: clamp(24px, 4vw, 42px) !important;
  background: var(--contact-panel) !important;
  border: 1px solid var(--contact-line) !important;
  border-top: 4px solid transparent !important;
  border-image: var(--hit-stripe) 1 !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-64baef9 .elementor-form {
  gap: 0 !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-64baef9 .elementor-field-group {
  margin-bottom: 22px !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-64baef9 .elementor-field-label {
  margin-bottom: 8px !important;
  color: var(--contact-ink) !important;
  font-family: var(--hit-mono) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-64baef9 .elementor-field,
:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-64baef9 .elementor-field-textual {
  min-height: 52px !important;
  padding: 14px 15px !important;
  background: #fff !important;
  border: 1px solid var(--contact-line) !important;
  border-radius: 0 !important;
  color: var(--contact-ink) !important;
  font-family: var(--hit-sans) !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-64baef9 textarea.elementor-field {
  min-height: 150px !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-64baef9 .elementor-field:focus {
  border-color: var(--contact-purple) !important;
  box-shadow: 0 0 0 3px rgba(139, 68, 173, .12) !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-64baef9 .elementor-button {
  min-height: 54px !important;
  background: var(--contact-green) !important;
  border: 1px solid var(--contact-green) !important;
  border-radius: 0 !important;
  color: var(--contact-ink) !important;
  font-family: var(--hit-mono) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-64baef9 .elementor-button:hover {
  background: var(--contact-purple) !important;
  border-color: var(--contact-purple) !important;
  color: #fff !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-0fd6962 {
  grid-column: 1 !important;
  grid-row: 2 !important;
  margin: 12px 0 0 !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-0fd6962 .elementor-social-icons-wrapper {
  justify-content: flex-start !important;
  gap: 10px !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-0fd6962 .elementor-icon {
  width: 42px !important;
  height: 42px !important;
  background: transparent !important;
  border: 1px solid var(--contact-line) !important;
  border-radius: 0 !important;
  color: var(--contact-ink) !important;
  transition: background .2s ease, color .2s ease, transform .2s ease !important;
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-0fd6962 .elementor-icon:hover {
  background: var(--contact-purple) !important;
  border-color: var(--contact-purple) !important;
  color: #fff !important;
  transform: translateY(-3px);
}

:is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-e0cc4eb {
  grid-column: 2 !important;
  grid-row: 3 !important;
  margin: 0 !important;
  color: #7b827e !important;
  font-family: var(--hit-mono) !important;
  font-size: 10px !important;
  letter-spacing: .08em;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  :is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-167a308 {
    padding: 64px 18px 84px !important;
  }

  :is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-ba1b8f5 > .elementor-widget-wrap {
    display: block !important;
  }

  :is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-64baef9 {
    margin-top: 46px !important;
  }

  :is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-0fd6962 {
    margin-top: 28px !important;
  }

  :is(body.page-id-481, body.page-id-31122, body.page-id-31032) .elementor-element-e0cc4eb {
    margin-top: 30px !important;
    text-align: left;
  }
}

@media (max-width: 600px) {
  :root { --hit-mnav-x: 18px; }
  :is(.site-footer, .footer-area) li a { padding-block: 12px; } /* 44px tap target */
  :is(#masthead, #meanmenu, .meanmenu) .mean-nav ul li a {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
}

/* =========================================
   HIT Studio — footer signature
   ========================================= */
body #footer-2.footer-area {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(48px, 8vw, 120px);
  padding: 0 !important;
  background: var(--hit-ink) !important;
  color: #fff !important;
  border-top: 1px solid var(--hit-line) !important;
}

body #footer-2.footer-area::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--hit-stripe);
}

body #footer-2.footer-area::after {
  content: "HIT DESIGN STUDIO  /  ISTANBUL  /  EN · TR · DE";
  position: absolute;
  right: clamp(20px, 6vw, 88px);
  bottom: 28px;
  color: rgba(255,255,255,.56);
  font: 500 10px/1 var(--hit-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

body #footer-2 .footer-bottom-area { padding: 0 !important; }
body #footer-2 .footer-bottom-area .container {
  width: min(100% - 40px, 1320px);
  max-width: none;
  margin-inline: auto;
  padding: 80px 0 44px;
}

body #footer-2 .footer-bottom-area .row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
}

body #footer-2 .copyright {
  position: relative;
  max-width: 620px;
  padding-top: 28px;
  color: #fff !important;
  font: 700 14px/1.2 var(--hit-sans);
  letter-spacing: -.04em;
  text-align: left;
}

body #footer-2 .copyright::before {
  content: "LET'S MAKE IT WORK";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--hit-green);
  font: 500 10px/1 var(--hit-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

body #footer-2 .copyright::after {
  content: "↗";
  display: inline-block;
  margin-left: 12px;
  color: var(--hit-orange);
  font: 500 .8em/1 var(--hit-mono);
  transform: translateY(-.08em);
  transition: transform var(--hit-ease), color var(--hit-ease);
}

body #footer-2:hover .copyright::after {
  color: var(--hit-red);
  transform: translate(5px, -.08em);
}

@media (max-width: 700px) {
  body #footer-2.footer-area::after {
    position: static;
    display: block;
    padding: 0 20px 24px;
    font-size: 9px;
  }
  body #footer-2 .footer-bottom-area .container {
    width: min(100% - 36px, 1320px);
    padding: 42px 0 34px;
  }
  body #footer-2 .footer-bottom-area .row { display: block; }
  body #footer-2 .copyright { font-size: 14px; }
}

/* =========================================
   HIT Studio — editorial footer grid
   ========================================= */
body #footer-2.footer-area.hit-footer--grid {
  background-color: var(--hit-ink) !important;
  background-image:
    radial-gradient(circle, rgba(43,200,108,.42) 1px, transparent 1.8px),
    radial-gradient(circle, rgba(240,154,12,.28) 1px, transparent 1.8px),
    radial-gradient(circle, rgba(139,68,173,.3) 1px, transparent 1.8px),
    radial-gradient(circle, rgba(231,76,60,.25) 1px, transparent 1.8px) !important;
  background-position: 0 0, 18px 22px, 42px 8px, 60px 38px !important;
  background-size: 72px 72px !important;
}

body #footer-2.footer-area.hit-footer--grid::after { content: none !important; }
body #footer-2.footer-area.hit-footer--grid .footer-bottom-area .container {
  padding: clamp(58px, 8vw, 96px) 0 34px;
}

body #footer-2 .hit-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) repeat(3, minmax(130px, 1fr));
  gap: clamp(28px, 5vw, 92px);
  margin: 0;
}

body #footer-2 .hit-footer-brand { max-width: 360px; }
body #footer-2 .hit-footer-logo {
  display: block;
  width: auto;
  max-width: 112px;
  max-height: 46px;
  margin-bottom: 28px;
  object-fit: contain;
}

body #footer-2 .hit-footer-lead {
  max-width: 330px;
  margin: 0 !important;
  color: rgba(255,255,255,.62) !important;
  font: 400 clamp(15px, 1vw, 17px)/1.65 var(--hit-sans) !important;
}

body #footer-2 .hit-footer-label {
  margin: 2px 0 22px !important;
  color: var(--hit-green) !important;
  font: 500 10px/1 var(--hit-mono) !important;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body #footer-2 .hit-footer-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body #footer-2 .hit-footer-list a {
  display: inline-block;
  color: rgba(255,255,255,.72) !important;
  font: 400 14px/1.35 var(--hit-sans) !important;
  text-decoration: none !important;
  transition: color var(--hit-ease), transform var(--hit-ease);
}

body #footer-2 .hit-footer-list a:hover,
body #footer-2 .hit-footer-list a:focus-visible {
  color: var(--hit-orange) !important;
  transform: translateX(4px);
}

body #footer-2 .hit-footer-list li:first-child a { color: #fff !important; }
body #footer-2 .hit-footer-list li:first-child a::after {
  content: "  ↗";
  color: var(--hit-orange);
  font-family: var(--hit-mono);
}

body #footer-2 .hit-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(54px, 8vw, 92px);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
}

body #footer-2 .hit-footer-meta {
  margin: 0 !important;
  color: rgba(255,255,255,.44) !important;
  font: 500 10px/1.5 var(--hit-mono) !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body #footer-2 .hit-footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

body #footer-2 .hit-footer-socials a {
  color: rgba(255,255,255,.58) !important;
  font: 500 10px/1.5 var(--hit-mono) !important;
  letter-spacing: .08em;
  text-decoration: none !important;
  text-transform: uppercase;
}

body #footer-2 .hit-footer-socials a:hover,
body #footer-2 .hit-footer-socials a:focus-visible { color: var(--hit-green) !important; }

@media (max-width: 820px) {
  body #footer-2 .hit-footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  body #footer-2 .hit-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body #footer-2.footer-area.hit-footer--grid .footer-bottom-area .container {
    padding: 52px 0 28px;
  }
  body #footer-2 .hit-footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  body #footer-2 .hit-footer-brand { grid-column: 1 / -1; }
  body #footer-2 .hit-footer-bottom { display: block; margin-top: 48px; }
  body #footer-2 .hit-footer-socials { justify-content: flex-start; margin-top: 18px; }
}

/* HIT Studio — simplified footer */
body #footer-2.footer-area.hit-footer--grid .hit-footer-grid {
  grid-template-columns: 1fr;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-brand {
  max-width: 460px;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-lead {
  max-width: 420px;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-bottom {
  margin-top: 56px;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-kicker {
  margin: 0 0 24px !important;
  color: var(--hit-green) !important;
  font: 600 11px/1.2 var(--hit-mono) !important;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-language {
  color: rgba(255,255,255,.46) !important;
  font: 500 10px/1.5 var(--hit-mono) !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-socials {
  align-items: center;
}

@media (max-width: 560px) {
  body #footer-2.footer-area.hit-footer--grid .hit-footer-language {
    display: block;
    margin-bottom: 10px;
  }
}

/* HIT Studio — refined minimal footer */
body #footer-2.footer-area.hit-footer--grid {
  position: relative;
  overflow: hidden;
  background-color: #080b0a !important;
}

body #footer-2.footer-area.hit-footer--grid .footer-bottom-area .container {
  width: min(calc(100% - 48px), 1180px);
  padding: clamp(74px, 10vw, 132px) 0 42px;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-grid {
  display: flex;
  align-items: flex-start;
  min-height: 120px;
  gap: 36px;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-brand {
  max-width: 760px;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px !important;
  color: var(--hit-green) !important;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-kicker::before {
  content: "";
  display: block;
  width: 38px;
  height: 1px;
  background: var(--hit-orange);
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-lead {
  max-width: 700px;
  color: #f1f4ef !important;
  font-size: clamp(14px, 2.2vw, 28px) !important;
  line-height: 1.06 !important;
  letter-spacing: -.035em;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-bottom {
  margin-top: 72px;
  padding-top: 22px;
  border-top-color: rgba(255,255,255,.18);
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-meta {
  max-width: 58%;
  color: rgba(255,255,255,.5) !important;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-socials {
  gap: 28px;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-language {
  color: var(--hit-orange) !important;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-socials a {
  color: var(--hit-green) !important;
  border-bottom: 1px solid rgba(183,255,60,.42);
  padding-bottom: 4px;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-socials a:hover,
body #footer-2.footer-area.hit-footer--grid .hit-footer-socials a:focus-visible {
  color: #fff !important;
  border-bottom-color: var(--hit-orange);
}

@media (max-width: 700px) {
  body #footer-2.footer-area.hit-footer--grid .footer-bottom-area .container {
    width: min(calc(100% - 36px), 1180px);
    padding: 66px 0 32px;
  }
  body #footer-2.footer-area.hit-footer--grid .hit-footer-grid {
    min-height: 0;
  }
  body #footer-2.footer-area.hit-footer--grid .hit-footer-lead {
    max-width: 560px;
    font-size: clamp(25px, 7.5vw, 36px) !important;
  }
  body #footer-2.footer-area.hit-footer--grid .hit-footer-bottom {
    display: flex;
    margin-top: 58px;
  }
  body #footer-2.footer-area.hit-footer--grid .hit-footer-meta {
    max-width: 52%;
  }
  body #footer-2.footer-area.hit-footer--grid .hit-footer-socials {
    justify-content: flex-end;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  body #footer-2.footer-area.hit-footer--grid .hit-footer-bottom {
    display: block;
  }
  body #footer-2.footer-area.hit-footer--grid .hit-footer-meta {
    max-width: none;
    margin-bottom: 20px !important;
  }
  body #footer-2.footer-area.hit-footer--grid .hit-footer-socials {
    justify-content: space-between;
  }
  body #footer-2.footer-area.hit-footer--grid .hit-footer-language {
    display: inline-block;
    margin: 0;
  }
}

/* HIT Studio — compact footer height */
body #footer-2.footer-area.hit-footer--grid .footer-bottom-area .container {
  padding: 48px 0 26px;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-grid {
  min-height: 0;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-kicker {
  margin-bottom: 16px !important;
}

body #footer-2.footer-area.hit-footer--grid .hit-footer-bottom {
  margin-top: 34px;
  padding-top: 16px;
}

@media (max-width: 700px) {
  body #footer-2.footer-area.hit-footer--grid .footer-bottom-area .container {
    padding: 42px 0 24px;
  }

  body #footer-2.footer-area.hit-footer--grid .hit-footer-bottom {
    margin-top: 34px;
  }
}

@media (max-width: 480px) {
  body #footer-2.footer-area.hit-footer--grid .footer-bottom-area .container {
    padding: 36px 0 22px;
  }

  body #footer-2.footer-area.hit-footer--grid .hit-footer-bottom {
    margin-top: 28px;
  }
}

/* HIT Studio — readable navigation type */
:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li > a {
  font-size: 13px !important;
  line-height: 1.2 !important;
  letter-spacing: .07em !important;
}

:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li.lang-item > a {
  font-size: 12px !important;
  letter-spacing: .08em !important;
}

:is(#meanmenu, .meanmenu) .mean-nav ul li a {
  font-size: 15px !important;
  line-height: 1.25 !important;
  letter-spacing: .07em !important;
}

@media (max-width: 600px) {
  :is(#meanmenu, .meanmenu) .mean-nav ul li a {
    padding: 18px 20px !important;
    font-size: 15px !important;
  }
}

/* HIT Studio — compact navigation and stronger logo presence */
:root {
  --hit-logo-w: 40px;
  --hit-logo-gap: 24px;
}

:is(#masthead, .rt-sticky-menu-wrapper) .site-branding img {
  max-height: 52px !important;
}

:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 26px !important;
  padding-right: var(--hit-bar-x) !important;
}

:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li:first-child {
  margin-left: calc(var(--hit-bar-x) + var(--hit-logo-w) + var(--hit-logo-gap)) !important;
}

:is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li.lang-item {
  margin-left: 0 !important;
}

@media (max-width: 992px) {
  :is(#masthead, .rt-sticky-menu-wrapper) .site-branding img {
    max-height: 44px !important;
  }
  :is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) {
    gap: 18px !important;
  }
  :is(#masthead, .rt-sticky-menu-wrapper) .main-navigation ul:not(.sub-menu) > li:first-child {
    margin-left: 76px !important;
  }
  :is(#masthead, #meanmenu, .meanmenu) .logo-small {
    max-height: 36px !important;
  }
}

/* HIT Studio — tighter mobile menu rhythm and stronger mark */
@media (max-width: 992px) {
  :is(#masthead, .rt-sticky-menu-wrapper) .mean-bar,
  :is(#masthead, .rt-sticky-menu-wrapper) #sticker,
  :is(#meanmenu, .meanmenu) .mean-bar {
    min-height: 68px !important;
  }

  :is(#masthead, .rt-sticky-menu-wrapper) .site-branding img,
  :is(#masthead, #meanmenu, .meanmenu) .logo-small {
    max-height: 52px !important;
  }

  :is(#meanmenu, .meanmenu) .mean-nav ul li a {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }
}
