/* ==========================================================================
   Anadolu Casting — modern, international design layer
   Loaded AFTER style.css. American flag palette: blue #002868 / red #BF0A30
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
.home-casting {
  --body-bg: #ffffff;
  --theme-color: #002868;      /* Old Glory Blue */
  --accent-color: #BF0A30;     /* Old Glory Red  */
  --theme-color-2: #0a3a86;    /* lighter blue for gradients */
  --title-color: #0a1b3d;      /* deep navy headings */
  --body-color: #5a6172;       /* readable body grey */
  --ink: #0a1b3d;
  --muted: #6b7280;
  --line: #e7ebf2;
  --surface: #f5f7fb;
  --surface-2: #eef2f9;
  --th-border-color: #e1e4e5;

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;

  --shadow-sm: 0 4px 16px rgba(10, 27, 61, 0.06);
  --shadow: 0 18px 40px rgba(10, 27, 61, 0.10);
  --shadow-lg: 0 36px 80px rgba(0, 40, 104, 0.16);

  --section-space: clamp(72px, 8vw, 120px);
  --section-space-mobile: clamp(56px, 10vw, 84px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 110px; }
.home-casting { color: var(--body-color); }
.home-casting ::selection { background: var(--accent-color); color: #fff; }

.home-casting a:focus-visible,
.home-casting button:focus-visible {
  outline: 3px solid rgba(0, 40, 104, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   2. Typography rhythm
   -------------------------------------------------------------------------- */
.home-casting .sec-title {
  font-size: clamp(1.85rem, 1rem + 2.4vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--title-color);
}
.home-casting .sub-title2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.home-casting .sub-title2::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
}
.home-casting .title-area { margin-bottom: clamp(34px, 4vw, 56px); }
.home-casting .sec-text { font-size: 1.02rem; line-height: 1.75; }

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.home-casting .th-btn {
  background-color: var(--theme-color);
  border-color: var(--theme-color);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 19px 34px;
  box-shadow: 0 12px 26px rgba(0, 40, 104, 0.18);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.home-casting .th-btn:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(191, 10, 48, 0.28);
}
.home-casting .th-btn i { transition: transform 0.3s var(--ease); }
.home-casting .th-btn:hover i { transform: translateX(4px); }
.home-casting .th-btn.style2 { background-color: var(--accent-color); border-color: var(--accent-color); }
.home-casting .th-btn.style2:hover { background-color: #fff; border-color: #fff; color: var(--theme-color); }
.home-casting .th-btn.style4 { background-color: var(--title-color); border-color: var(--title-color); }
.home-casting .th-btn.style4:hover { background-color: var(--accent-color); border-color: var(--accent-color); }

/* ==========================================================================
   4. Header — clean custom bar (independent of teknikzen theme)
   ========================================================================== */
.ac-header { position: sticky; top: 0; z-index: 100; font-family: var(--body-font); }
.ac-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.ac-header.header-layout5 { margin-bottom: 0; }

.ac-nav {
  background: #ffffff;
  border-bottom: 1px solid #e7eaf1;
  position: relative; z-index: 50;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.ac-nav.scrolled { box-shadow: 0 12px 34px rgba(10, 27, 61, 0.10); border-bottom-color: transparent; }
.ac-nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 96px; transition: min-height 0.32s var(--ease);
}
.ac-nav.scrolled .ac-nav-inner { min-height: 82px; }

/* Logo */
.ac-logo { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
.ac-logo .ac-logo-img { height: 44px; width: auto; max-width: none; display: block; transition: height 0.3s var(--ease); }
.ac-nav.scrolled .ac-logo .ac-logo-img { height: 36px; }
@media (max-width: 480px) { .ac-logo .ac-logo-img { height: 34px; } }
.ac-logo-mark {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px; overflow: hidden;
  background: var(--theme-color); color: #fff; font-size: 20px;
  transition: transform 0.3s var(--ease);
}
.ac-logo-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent-color); }
.ac-logo:hover .ac-logo-mark { transform: translateY(-2px); }
.ac-logo-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--title-font); }
.ac-logo-text .w1 { color: var(--theme-color); font-size: 19px; font-weight: 700; letter-spacing: 0.05em; }
.ac-logo-text .w2 { color: var(--accent-color); font-size: 10px; font-weight: 500; letter-spacing: 0.46em; margin-top: 4px; }

/* Menu */
.ac-menu > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(0px, 0.5vw, 8px); }
.ac-menu > ul > li { position: relative; }
.ac-menu > ul > li > a {
  position: relative; display: flex; align-items: center; gap: 7px;
  padding: 11px 15px;
  font-family: var(--title-font); font-weight: 500; font-size: 15.5px;
  color: var(--title-color); text-decoration: none;
  transition: color 0.2s var(--ease);
}
.ac-menu > ul > li > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 2px;
  background: var(--accent-color); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform 0.28s var(--ease);
}
.ac-menu > ul > li > a i { font-size: 10px; opacity: 0.65; transition: transform 0.25s var(--ease); }
.ac-menu > ul > li:hover > a { color: var(--accent-color); }
.ac-menu > ul > li:hover > a::after { transform: scaleX(1); }
.ac-menu > ul > li.has-dropdown:hover > a i { transform: rotate(180deg); }

/* Dropdowns */
.ac-dropdown {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 14px); left: -6px; min-width: 250px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 22px 50px rgba(10, 27, 61, 0.14), 0 2px 8px rgba(10, 27, 61, 0.05);
  border: 1px solid #eaedf3;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.2s var(--ease), transform 0.22s var(--ease), visibility 0.2s;
  z-index: 60;
}
/* transparent bridge keeps the menu open while the cursor moves down to it */
.ac-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 15px; }
/* notch pointing back at the trigger */
.ac-dropdown::after {
  content: ""; position: absolute; top: -6px; left: 28px; width: 12px; height: 12px;
  background: #fff; border-left: 1px solid #eaedf3; border-top: 1px solid #eaedf3; transform: rotate(45deg);
}
.ac-menu > ul > li.has-dropdown:hover .ac-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.ac-dropdown li a {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 11px 14px; border-radius: 11px;
  font-family: var(--title-font); font-size: 14.5px; font-weight: 500;
  color: var(--title-color); text-decoration: none; white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.ac-dropdown li a::after {
  content: "\f061"; font-family: var(--icon-font); font-weight: 600; font-size: 10px;
  margin-left: auto; opacity: 0; transform: translateX(-5px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.ac-dropdown li a:hover { background: var(--surface); color: var(--accent-color); }
.ac-dropdown li a:hover::after { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ac-dropdown, .ac-dropdown li a, .ac-dropdown li a::after { transition: none !important; }
}

/* ---- Creative mega-menu ---- */
.ac-mega {
  position: absolute; top: calc(100% + 13px); left: 0;
  width: clamp(380px, 34vw, 470px);
  display: grid; grid-template-columns: 1fr clamp(148px, 13vw, 182px); gap: 8px;
  padding: 10px;
  background: #fff; border: 1px solid #edeff4; border-radius: 16px;
  box-shadow: 0 22px 52px rgba(10, 27, 61, 0.15);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
  z-index: 60;
}
.ac-mega--right { left: auto; right: 0; }
.ac-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 13px; }
.ac-mega::after { content: ""; position: absolute; top: -6px; left: 26px; width: 11px; height: 11px; background: #fff; border-left: 1px solid #edeff4; border-top: 1px solid #edeff4; transform: rotate(45deg); }
.ac-mega--right::after { left: auto; right: 26px; }
.ac-menu > ul > li.has-mega:hover .ac-mega { opacity: 1; visibility: visible; transform: translateY(0); }

.ac-mega__list { display: flex; flex-direction: column; gap: 2px; }
.ac-mega__item { display: flex; align-items: center; gap: 13px; padding: 10px 12px; border-radius: 12px; text-decoration: none; }
.ac-mega__item:hover { background: var(--surface); }
.ac-mega__ic {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(0, 40, 104, 0.08); color: var(--theme-color); font-size: 16px;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), color 0.28s var(--ease);
}
.ac-mega__item:hover .ac-mega__ic { background: var(--accent-color); color: #fff; transform: rotate(-7deg) scale(1.05); }
.ac-mega__txt { display: flex; flex-direction: column; line-height: 1.2; }
.ac-mega__txt strong { font-family: var(--title-font); font-weight: 600; font-size: 14.5px; color: var(--title-color); }
.ac-mega__txt small { font-size: 11.5px; color: var(--muted); margin-top: 3px; }

.ac-mega__promo {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px; border-radius: 13px; text-decoration: none; color: #fff;
  background: linear-gradient(155deg, #BF0A30 0%, #8f0824 100%);
}
.ac-mega__promo::after { content: ""; position: absolute; top: -34%; right: -24%; width: 150px; height: 150px; background: radial-gradient(circle, rgba(255, 255, 255, 0.20), transparent 62%); }
.ac-mega__promo-eyebrow { position: relative; font-family: var(--title-font); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.ac-mega__promo-title { position: relative; font-family: var(--title-font); font-weight: 700; font-size: 17px; line-height: 1.15; margin-top: auto; }
.ac-mega__promo-cta { position: relative; display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--title-font); font-weight: 600; font-size: 13px; }
.ac-mega__promo-cta i { transition: transform 0.25s var(--ease); }
.ac-mega__promo:hover .ac-mega__promo-cta i { transform: translateX(4px); }

/* staggered reveal on open */
.ac-mega__item, .ac-mega__promo { opacity: 0; transform: translateY(7px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.18s var(--ease); }
.ac-menu > ul > li.has-mega:hover .ac-mega__item,
.ac-menu > ul > li.has-mega:hover .ac-mega__promo { opacity: 1; transform: translateY(0); }
.ac-menu > ul > li.has-mega:hover .ac-mega__item:nth-child(2) { transition-delay: 0.05s; }
.ac-menu > ul > li.has-mega:hover .ac-mega__item:nth-child(3) { transition-delay: 0.1s; }
.ac-menu > ul > li.has-mega:hover .ac-mega__item:nth-child(4) { transition-delay: 0.15s; }
.ac-menu > ul > li.has-mega:hover .ac-mega__promo { transition-delay: 0.12s; }

/* Actions */
.ac-nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
/* Header CTA appearance is handled by the unified .ac-btn button system below */

/* Mobile burger */
.ac-burger {
  display: none; width: 48px; height: 48px;
  border: 1px solid #e7eaf1; border-radius: 12px;
  background: #fff; color: var(--theme-color); font-size: 19px; cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.ac-burger:hover { background: var(--theme-color); border-color: var(--theme-color); color: #fff; }

/* ---- Language dropdown ---- */
.ac-lang { position: relative; flex-shrink: 0; }
.ac-lang__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 9px; border-radius: 999px;
  background: #fff; border: 1px solid #e7eaf1; cursor: pointer;
  font-family: var(--title-font); font-weight: 600; font-size: 13.5px; letter-spacing: 0.04em;
  color: var(--title-color);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.ac-lang:hover .ac-lang__btn { border-color: var(--theme-color); background: var(--surface); }
.ac-lang__caret { font-size: 9px; opacity: 0.5; transition: transform 0.25s var(--ease); }
.ac-lang:hover .ac-lang__caret { transform: rotate(180deg); }
.ac-lang__flag {
  width: 22px; height: 16px; border-radius: 3px; object-fit: cover; display: block; flex-shrink: 0;
}

.ac-lang__menu {
  list-style: none; margin: 0; padding: 6px;
  position: absolute; top: calc(100% + 13px); right: 0; min-width: 92px;
  background: #fff; border: 1px solid #edeff4; border-radius: 12px;
  box-shadow: 0 18px 44px rgba(10, 27, 61, 0.13);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 60;
}
.ac-lang__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 13px; }
.ac-lang__menu::after { content: ""; position: absolute; top: -6px; right: 20px; width: 11px; height: 11px; background: #fff; border-left: 1px solid #edeff4; border-top: 1px solid #edeff4; transform: rotate(45deg); }
.ac-lang:hover .ac-lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ac-lang__menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 8px;
  font-family: var(--title-font); font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--title-color); text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.ac-lang__menu a:hover { background: var(--surface); color: var(--accent-color); }
.ac-lang__menu a.is-active { background: var(--surface); color: var(--accent-color); }

/* Red accents on the teknikzen top-bar links */
.home-casting .header-links li > i { color: #BF0A30; }

/* Top contact bar — reuse the footer's navy gradient, running side to side */
.home-casting .header-top {
  background:
    radial-gradient(90% 160% at 0% 50%, rgba(31, 111, 201, 0.22) 0%, transparent 55%),
    linear-gradient(90deg, #0a2350 0%, #061634 100%);
}
/* Clean, full-width top bar (drop the dated trapezoid) aligned with the nav */
.home-casting .header-layout5 .header-top {
  max-width: none; margin: 0;
  -webkit-mask-image: none; mask-image: none;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.home-casting .header-top > .container {
  max-width: 1320px;
  padding-left: 24px; padding-right: 24px;
}

/* Solid white sticky nav once the page is scrolled */
.ac-nav.scrolled {
  background: #ffffff;
}

/* Active-page indicator */
.ac-menu > ul > li.current > a { color: var(--accent-color); }
.ac-menu > ul > li.current > a::after { transform: scaleX(1); }

/* Logo mark — a touch more depth */
.ac-logo-mark { background: linear-gradient(140deg, #0a3a86 0%, #002868 62%); }

/* ==========================================================================
   5. Hero — full-bleed image background (cinematic)
   ========================================================================== */
.ac-hero {
  --ac-header-h: 142px; /* topbar + nav shown above the hero at page top */
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  display: flex; flex-direction: column;
  /* never exceed the screen: header + hero == one viewport on desktop */
  min-height: calc(100vh - var(--ac-header-h));
  min-height: calc(100svh - var(--ac-header-h));
  max-height: 100vh;
}
.ac-hero__media {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  animation: acHeroZoom 20s ease-in-out infinite alternate;
}
@keyframes acHeroZoom { to { transform: scale(1.12); } }
.ac-hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(96deg, rgba(4, 9, 22, 0.94) 0%, rgba(4, 9, 22, 0.78) 34%, rgba(4, 9, 22, 0.30) 66%, rgba(4, 9, 22, 0.55) 100%),
    linear-gradient(0deg, rgba(4, 9, 22, 0.85) 0%, transparent 36%);
}
.ac-hero .ac-container { position: relative; z-index: 1; }

/* Centered content area */
.ac-hero__inner {
  flex: 1 1 auto; display: flex; align-items: center; width: 100%;
  padding: clamp(40px, 6vh, 72px) 0 clamp(28px, 4vh, 48px);
}
.ac-hero__content { max-width: 680px; }

.ac-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 17px 8px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e7edf8; font-family: var(--title-font); font-weight: 600;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.ac-hero__eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-color); box-shadow: 0 0 0 4px rgba(191, 10, 48, 0.28); animation: acDotPulse 2s ease-in-out infinite; }
@keyframes acDotPulse { 50% { box-shadow: 0 0 0 7px rgba(191, 10, 48, 0.08); } }

.ac-hero__title {
  margin: 22px 0 0;
  font-family: var(--title-font); font-weight: 800; color: #fff;
  font-size: clamp(2rem, 0.9rem + 2.6vw, 3.2rem);
  line-height: 1.05; letter-spacing: -0.02em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.ac-hero__title .hl {
  background: linear-gradient(100deg, #BF0A30 0%, #e23b54 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ac-hero__lead {
  margin: 22px 0 0; max-width: 540px;
  color: #d4ddec; font-size: clamp(0.98rem, 0.95rem + 0.2vw, 1.08rem); line-height: 1.66;
}
.ac-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Hero buttons */
/* ==========================================================================
   Creative "cast-metal" buttons — chamfered corners, diagonal sweep-fill,
   flat (NO shadows), responsive. One system for every button on the page.
   ========================================================================== */
.ac-btn,
.home-casting .ac-cta,
.ac-cta-band__btn {
  --b-bg: var(--theme-color);
  --b-fg: #ffffff;
  --b-fg-hover: #ffffff;
  --b-sweep: var(--accent-color);
  --b-bd: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  padding: clamp(13px, 1.3vw, 17px) clamp(22px, 2.4vw, 34px);
  font-family: var(--title-font); font-weight: 700;
  font-size: clamp(12.5px, 0.8vw, 14px); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--b-fg);
  background: var(--b-bg);
  border: none;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  -webkit-clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: color 0.35s var(--ease);
}
/* diagonal metal "pour" that sweeps across on hover */
.ac-btn::before,
.home-casting .ac-cta::before,
.ac-cta-band__btn::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -16%; width: 132%; z-index: -1;
  background: var(--b-sweep);
  transform: translateX(-118%) skewX(-12deg);
  transition: transform 0.45s var(--ease);
}
.ac-btn:hover::before,
.home-casting .ac-cta:hover::before,
.ac-cta-band__btn:hover::before { transform: translateX(0) skewX(-12deg); }
.ac-btn:hover,
.home-casting .ac-cta:hover,
.ac-cta-band__btn:hover { color: var(--b-fg-hover); }
.ac-btn:focus-visible,
.home-casting .ac-cta:focus-visible,
.ac-cta-band__btn:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; }
.ac-btn i,
.home-casting .ac-cta i,
.ac-cta-band__btn i { position: relative; font-size: 0.95em; transition: transform 0.35s var(--ease); }
.ac-btn:hover i,
.home-casting .ac-cta:hover i,
.ac-cta-band__btn:hover i { transform: translateX(5px); }
/* kill the old header-cta pseudo arrow */
.home-casting .ac-cta::after { content: none; }

/* ---- Variants (only swap the colours) ---- */
.ac-btn--primary { --b-bg: var(--accent-color); --b-sweep: var(--theme-color); }   /* red -> navy */
.ac-btn--ghost  { --b-bg: rgba(255, 255, 255, 0.12); --b-fg: #fff; --b-fg-hover: var(--theme-color); --b-sweep: #fff; }
.home-casting .ac-cta { --b-bg: var(--theme-color); --b-sweep: var(--accent-color); } /* navy -> red */
.ac-cta-band__btn { --b-bg: #0c1424; --b-sweep: var(--accent-color); }              /* ink -> red */

/* Glassy stats bar pinned to the bottom of the hero */
.ac-hero__stats {
  position: relative; z-index: 1;
  background: rgba(6, 11, 22, 0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.ac-hero__stats ul {
  display: grid; grid-template-columns: repeat(4, 1fr);
  list-style: none; margin: 0; padding: 0;
}
.ac-hero__stats li {
  padding: clamp(18px, 2.4vw, 28px) clamp(16px, 2.4vw, 34px);
  display: flex; flex-direction: column; gap: 5px;
  border-left: 1px solid rgba(255, 255, 255, 0.10);
}
.ac-hero__stats li:first-child { border-left: 0; }
.ac-hero__stats strong {
  font-family: var(--title-font); font-weight: 800; line-height: 1; color: #fff;
  font-size: clamp(1.5rem, 1rem + 0.9vw, 1.95rem);
}
.ac-hero__stats li > span { color: #aebbd6; font-size: clamp(0.78rem, 0.72rem + 0.2vw, 0.9rem); }

/* Scroll cue (right side, vertical) */
.ac-hero__scroll {
  position: absolute; right: clamp(16px, 3vw, 42px); bottom: clamp(120px, 16vh, 200px); z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: 14px;
  color: #c2cee6; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; text-decoration: none;
  writing-mode: vertical-rl;
}
.ac-hero__scroll .bar { writing-mode: horizontal-tb; width: 1px; height: 56px; background: rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; }
.ac-hero__scroll .bar::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 42%; background: #BF0A30; animation: acScrollLine 1.8s var(--ease) infinite; }
@keyframes acScrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(240%); } }
.ac-hero__scroll:hover { color: #fff; }

/* Responsive */
@media (max-width: 991px) {
  .ac-hero { min-height: auto; }
  .ac-hero__inner { padding-top: clamp(96px, 16vh, 140px); padding-bottom: 54px; }
  .ac-hero__stats ul { grid-template-columns: repeat(2, 1fr); }
  .ac-hero__stats li:nth-child(odd) { border-left: 0; }
  .ac-hero__stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.10); }
  .ac-hero__scroll { display: none; }
}
@media (max-width: 480px) {
  .ac-hero__title { font-size: clamp(2.2rem, 8vw, 2.9rem); }
}
@media (prefers-reduced-motion: reduce) {
  .ac-hero__media, .ac-hero__eyebrow .dot, .ac-hero__scroll .bar::after { animation: none !important; }
}

/* ==========================================================================
   7. Feature / material cards
   ========================================================================== */
.casting-feature {
  position: relative; height: 100%;
  padding: 38px 32px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.casting-feature::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--theme-color), var(--accent-color));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.casting-feature:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.casting-feature:hover::before { transform: scaleX(1); }
.casting-feature .box-icon {
  display: inline-grid; place-items: center;
  width: 68px; height: 68px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 40, 104, 0.16), rgba(191, 10, 48, 0.10));
  border: 1px solid rgba(0, 40, 104, 0.10);
  color: var(--theme-color); font-size: 28px; margin-bottom: 24px;
  transition: all 0.4s var(--ease);
}
.casting-feature:hover .box-icon { background: linear-gradient(135deg, var(--theme-color), var(--accent-color)); color: #fff; transform: rotate(-6deg); }
.casting-feature .box-title { font-size: 1.3rem; margin-bottom: 12px; color: var(--title-color); }
.casting-feature .box-text { color: var(--body-color); margin-bottom: 0; line-height: 1.7; font-size: 0.97rem; }

/* ==========================================================================
   8. About
   ========================================================================== */
.home-casting .img-box5 .img1 { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.home-casting .img-box5 .img1 img { border-radius: var(--r-lg); width: 100%; height: 100%; object-fit: cover; display: block; filter: contrast(1.1) saturate(1.06); }
.home-casting .img-box5 .img1::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(150deg, rgba(0, 40, 104, 0.28) 0%, transparent 45%, rgba(191, 10, 48, 0.22) 100%);
  mix-blend-mode: multiply;
}
.home-casting .img-box5 .img1::before {
  content: ""; position: absolute; z-index: 2; left: 22px; bottom: 22px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(8, 18, 40, 0.72); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff; font-family: var(--title-font); font-weight: 700; font-size: 13px;
  content: "Foundry Floor · Cleveland, OH"; backdrop-filter: blur(8px);
}
.home-casting .img-box5::after {
  content: ""; position: absolute; right: -14px; bottom: -14px; width: 130px; height: 130px; z-index: -1;
  background-image: radial-gradient(var(--accent-color) 1.6px, transparent 1.6px);
  background-size: 16px 16px; opacity: 0.5; border-radius: 8px;
}
.home-casting .call-btn .box-label { color: var(--accent-color); font-weight: 600; }

/* ==========================================================================
   9. Stats
   ========================================================================== */
.stat-strip {
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(191, 10, 48, 0.30) 0%, transparent 50%),
    linear-gradient(120deg, var(--theme-color) 0%, #00163d 100%);
  border-radius: var(--r-lg);
  padding: 18px clamp(10px, 3vw, 34px);
  box-shadow: var(--shadow);
}
.stat-strip .row > [class*="col-"] { position: relative; }
.stat-strip .row > [class*="col-"]:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 22%; height: 56%; width: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.stat-item { text-align: center; padding: 26px 12px; }
.stat-item .stat-number { font-family: var(--title-font); font-weight: 800; font-size: clamp(2.4rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1; color: #fff; }
.stat-item .stat-number .plus { color: #BF0A30; }
.stat-item .stat-label { color: #c2cde6; margin: 12px 0 0; font-weight: 500; font-size: 0.92rem; }

/* ==========================================================================
   10. Process — connected steps
   ========================================================================== */
.process-card {
  height: 100%; padding: 38px 30px 32px;
  border-radius: var(--r); background: var(--surface);
  border: 1px solid var(--line); position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.process-card:hover { transform: translateY(-8px); background: #fff; box-shadow: var(--shadow); }
.process-card .step-no {
  font-family: var(--title-font); font-weight: 800; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, var(--theme-color), var(--accent-color));
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  margin-bottom: 22px; box-shadow: 0 10px 22px rgba(0, 40, 104, 0.22);
}
.process-card .box-title { font-size: 1.22rem; margin-bottom: 10px; color: var(--title-color); }
.process-card .box-text { font-size: 0.95rem; line-height: 1.65; margin-bottom: 0; }

/* ==========================================================================
   11. CTA
   ========================================================================== */
.cta-strip {
  background:
    radial-gradient(90% 140% at 90% 10%, rgba(191, 10, 48, 0.34) 0%, transparent 55%),
    linear-gradient(120deg, var(--theme-color) 0%, #001233 100%);
  border-radius: var(--r-lg);
  padding: clamp(40px, 5vw, 64px);
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-strip::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.4; pointer-events: none;
}
.cta-strip > .row { position: relative; z-index: 1; }
.cta-strip .sub-title2 { color: #BF0A30; }
.cta-strip .sub-title2::before { background: #BF0A30; }
.cta-strip .cta-title { color: #fff; }
.cta-strip .cta-text { color: #d7deee; font-size: 1.05rem; }

/* ==========================================================================
   12. Footer accent
   ========================================================================== */
.home-casting .footer-wrapper { position: relative; }
.home-casting .footer-wrapper::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--theme-color) 0 40%, var(--accent-color) 40% 100%);
}
.home-casting .footer-wrapper .th-social a:hover { background: var(--accent-color); }

/* ==========================================================================
   13. Scroll reveal
   ========================================================================== */
.js [data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.row > [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.row > [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.row > [data-reveal]:nth-child(4) { transition-delay: 0.24s; }

/* ==========================================================================
   14. Responsive
   ========================================================================== */
/* Smaller desktops (1200–1300px): tighten the nav so the full menu, language
   switch and CTA fit comfortably before collapsing to the burger at 1199px. */
@media (max-width: 1300px) {
  .ac-nav-inner { gap: 12px; }
  .ac-menu > ul { gap: 2px; }
  .ac-menu > ul > li > a { padding: 11px 11px; font-size: 15px; }
  .ac-menu > ul > li > a::after { left: 11px; right: 11px; }
  .ac-nav-actions { gap: 10px; }
  .home-casting .ac-cta { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 1199px) {
  .ac-menu { display: none; }
  .ac-burger { display: inline-flex; align-items: center; justify-content: center; }
  /* Language switch moves into the drawer so the burger always fits the row */
  .ac-nav-actions .ac-lang { display: none; }
}
@media (max-width: 991px) {
  .ac-topbar-left { display: none; }
  .ac-nav-inner { min-height: 72px; }
  .stat-strip .row > [class*="col-"]:nth-child(2)::after { display: none; }
}
@media (max-width: 575px) {
  .home-casting .ac-cta, .ac-nav-actions .ac-cta { display: none; }
  .stat-strip .row > [class*="col-"]::after { display: none !important; }
  .ac-container { padding: 0 16px; }
  .ac-nav-inner { min-height: 64px; gap: 10px; }
  .ac-nav.scrolled .ac-nav-inner { min-height: 60px; }
  .ac-logo .ac-logo-img { height: 30px; }
  .ac-nav.scrolled .ac-logo .ac-logo-img { height: 28px; }
  .ac-burger { width: 44px; height: 44px; font-size: 18px; }
}

/* ==========================================================================
   15. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   16. PREMIUM OVERHAUL — industrial depth & section rhythm
   (appended last so it wins the cascade)
   ========================================================================== */

/* Soft cool-grey page base so white cards gain depth instead of stark white */
.home-casting { background-color: #eaeef6; }
.home-casting .sec-text { color: #586079; }

/* Stronger, pill-style section eyebrow */
.home-casting .sub-title2 {
  background: rgba(191, 10, 48, 0.08);
  border: 1px solid rgba(191, 10, 48, 0.18);
  padding: 7px 16px; border-radius: 999px;
  font-size: 13px; letter-spacing: 0.12em;
}
.home-casting .sub-title2::before { width: 14px; }

/* Light-section cards: more substance + depth */
.casting-feature {
  padding: 40px 34px;
  border-color: #dfe4ef;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 10px 30px rgba(10, 27, 61, 0.05);
}
.casting-feature:hover { box-shadow: 0 30px 60px rgba(0, 40, 104, 0.14); }

/* -----------------------------------------------------------------------
   Services section — DARK industrial band (the centerpiece contrast)
   ----------------------------------------------------------------------- */
#service-sec {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0; padding-top: clamp(80px, 9vw, 130px);
  padding-bottom: clamp(80px, 9vw, 130px);
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(191, 10, 48, 0.20) 0%, transparent 45%),
    linear-gradient(160deg, #08183a 0%, #0a1b3d 55%, #060f28 100%);
  color: #fff;
}
#service-sec::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 70%);
}
#service-sec .sub-title2 { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); color: #BF0A30; }
#service-sec .sub-title2::before { background: #BF0A30; }
#service-sec .sec-title { color: #fff; }

#service-sec .casting-feature {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: none; backdrop-filter: blur(4px);
}
#service-sec .casting-feature::before { background: linear-gradient(90deg, #BF0A30, #e23b54); }
#service-sec .casting-feature:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(191, 10, 48, 0.35);
  box-shadow: 0 30px 60px rgba(0, 6, 24, 0.5);
}
#service-sec .casting-feature .box-icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(191, 10, 48, 0.14));
  border-color: rgba(255, 255, 255, 0.14);
  color: #f3c0ca;
}
#service-sec .casting-feature:hover .box-icon { background: linear-gradient(135deg, var(--accent-color), #e23b54); color: #fff; }
#service-sec .casting-feature .box-title { color: #fff; }
#service-sec .casting-feature .box-text { color: #b9c4dc; }

/* -----------------------------------------------------------------------
   Process section — subtle tinted band so it isn't flat white either
   ----------------------------------------------------------------------- */
#process-sec {
  background: linear-gradient(180deg, #e7ebf4 0%, #eef1f8 100%);
  padding-top: clamp(80px, 9vw, 130px);
  padding-bottom: clamp(80px, 9vw, 130px);
  margin-bottom: 0;
}
.process-card { background: #fff; border-color: #dfe4ef; box-shadow: 0 10px 30px rgba(10, 27, 61, 0.05); }

/* Materials icons pick up the ember accent on hover too (already via base) */
#materials-sec { padding-top: clamp(80px, 9vw, 130px); }


/* Breathing room: heading -> body text was too tight (looked cramped) */
.home-casting .title-area .sec-title { margin-bottom: 24px; line-height: 1.14; }
.home-casting #about-sec .sec-title { margin-bottom: 22px; }
.home-casting #about-sec .sec-text { margin-bottom: 20px; }
.home-casting #about-sec .sec-text:last-of-type { margin-bottom: 0; }
.home-casting #about-sec .title-area { margin-bottom: 40px; }

/* ==========================================================================
   17. FOOTER — pre-footer blue CTA band + dark footer
   ========================================================================== */
.ac-footer { font-family: var(--body-font); }

/* ---- Pre-footer CTA band: gradient + texture + glow ---- */
.ac-cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0a2f6b 0%, #123f8c 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ac-cta-band::after {
  content: ""; position: absolute; top: -65%; right: -6%; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0%, transparent 60%); pointer-events: none;
}
.ac-cta-band__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: clamp(40px, 5vw, 64px) 0;
}
.ac-cta-band__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: #cfe1ff; font-family: var(--title-font); font-weight: 700;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px;
}
.ac-cta-band__eyebrow i { color: #fff; }
.ac-cta-band__title {
  margin: 0; color: #fff; font-family: var(--title-font); font-weight: 800;
  font-size: clamp(1.55rem, 1rem + 2.1vw, 2.6rem); letter-spacing: -0.015em; line-height: 1.08;
}
.ac-cta-band__sub { margin: 16px 0 0; color: #dceaff; font-size: clamp(0.98rem, 0.95rem + 0.2vw, 1.1rem); max-width: 500px; line-height: 1.6; }
/* Footer band button: appearance from the unified button system; just keep it from shrinking */
.ac-cta-band__btn { flex-shrink: 0; }

/* ---- Footer body: deep navy-black with depth ---- */
.ac-footer__main {
  position: relative; color: #fff;
  padding: clamp(64px, 7vw, 96px) 0 26px;
  background: #0b1322;
}

.ac-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.3fr;
  gap: 48px 40px;
  padding-bottom: clamp(44px, 5vw, 64px);
}

/* Brand column */
.ac-footer__brand .ac-logo-mark { width: 54px; height: 54px; font-size: 24px; }
.ac-footer .ac-logo-text .w1 { color: #fff; }
.ac-footer .ac-logo-text .w2 { color: #4f9be6; }
.ac-footer__brand .ac-footer__logo-img { height: 44px; width: auto; max-width: 100%; display: block; }
.ac-footer__about { color: #8b929e; font-size: 13px; line-height: 1.7; margin: 22px 0 0; max-width: 300px; }
.ac-footer__hilite { list-style: none; margin: 22px 0 0; padding: 0; }
.ac-footer__hilite li { display: flex; align-items: center; gap: 10px; color: #b6bdc9; font-size: 13px; margin-bottom: 10px; }
.ac-footer__hilite i { color: #4f9be6; width: 15px; text-align: center; font-size: 12px; }
.ac-footer__hilite a {
  color: inherit; text-decoration: none;
  background-image: linear-gradient(90deg, #1f6fc9, #6fb2f0);
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 2px;
  transition: background-size 0.32s var(--ease), color 0.2s;
}
.ac-footer__hilite a:hover { color: #fff; background-size: 100% 2px; }
.ac-footer__chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e6eaf1; font-size: 12px; font-weight: 600;
}
.ac-footer__chip i { color: #BF0A30; }

/* Link columns */
.ac-footer__col h3 {
  color: #eaedf3; font-family: var(--title-font); font-weight: 700;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  margin: 0 0 22px;
}
.ac-footer__col ul { list-style: none; margin: 0; padding: 0; }
.ac-footer__col li { margin-bottom: 12px; }
.ac-footer__col li:last-child { margin-bottom: 0; }
.ac-footer__col a {
  color: #8b929e; text-decoration: none; font-size: 14px;
  display: inline-flex; align-items: center; gap: 11px;
  transition: color 0.2s;
}
.ac-footer__col a:hover { color: #fff; }

/* Creative animated underline — a blue gradient that draws in left-to-right */
.ac-footer__col:not(.ac-footer__col--contact) a {
  background-image: linear-gradient(90deg, #1f6fc9, #6fb2f0);
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 2px;
  transition: background-size 0.34s var(--ease), color 0.2s;
}
.ac-footer__col:not(.ac-footer__col--contact) a:hover { background-size: 100% 2px; }

/* Contact column: keep the icon tile, underline only the text span */
.ac-footer__col--contact a i {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: rgba(79, 155, 230, 0.12); color: #4f9be6; font-size: 12px; flex-shrink: 0;
  transition: all 0.22s var(--ease);
}
.ac-footer__col--contact a span {
  background-image: linear-gradient(90deg, #1f6fc9, #6fb2f0);
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 2px;
  transition: background-size 0.34s var(--ease);
}
.ac-footer__col--contact a:hover i { background: #1f6fc9; color: #fff; }
.ac-footer__col--contact a:hover span { background-size: 100% 2px; }

/* Bottom row: divider, then copyright (left) + social (right) */
.ac-footer__divider { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.10); margin: 0 0 24px; }
.ac-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 28px; }
.ac-footer__copy { color: #71777f; font-size: 12.5px; margin: 0; }
.ac-footer__social { display: flex; gap: 10px; }
.ac-footer__social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.10);
  color: #c7ccd4; font-size: 14px; text-decoration: none; transition: all 0.22s var(--ease);
}
.ac-footer__social a:hover { background: #1f6fc9; border-color: #1f6fc9; color: #fff; transform: translateY(-3px); }
.ac-footer__credit { color: #71777f; font-size: 12.5px; margin: 0; }
.ac-footer__credit a { color: #c7ccd4; text-decoration: none; font-weight: 500; transition: color 0.2s var(--ease); }
.ac-footer__credit a:hover { color: #fff; }

/* Smaller desktops (992–1199px): brand on its own row, the four link columns
   in an even 4-up below — avoids the cramped 5-column squeeze. */
@media (max-width: 1199px) {
  .ac-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 44px 30px; }
  .ac-footer__brand { grid-column: 1 / -1; }
  .ac-footer__about { max-width: 460px; }
}
@media (max-width: 991px) {
  .ac-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .ac-footer__brand { grid-column: 1 / -1; }
  .ac-cta-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575px) {
  .ac-footer__grid { grid-template-columns: 1fr; }
  .ac-footer__bottom-inner { flex-direction: column-reverse; justify-content: center; text-align: center; gap: 22px; }
  .ac-cta-band__btn { width: 100%; justify-content: center; }
}

/* ==============================
   Production gallery — moving image row (homepage, pre-footer)
   ============================== */
.ac-gallery {
  overflow: hidden; padding: clamp(28px, 4vw, 56px) 0;
  background: #e6e9ee;
  margin: clamp(10px, 1.3vw, 16px) clamp(8px, 1.8vw, 22px);
  border-radius: clamp(22px, 2.4vw, 40px);
}
.ac-gallery__track { display: flex; width: max-content; animation: acGalleryScroll 42s linear infinite; }
.ac-gallery:hover .ac-gallery__track { animation-play-state: paused; }
.ac-gallery__set { display: flex; gap: clamp(12px, 1.6vw, 22px); padding-right: clamp(12px, 1.6vw, 22px); }
.ac-gallery__set img {
  width: clamp(170px, 22vw, 280px); height: clamp(170px, 22vw, 280px);
  border-radius: 14px; object-fit: cover; display: block;
}
@keyframes acGalleryScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ac-gallery__track { animation: none; }
}
/* Mobile: swipeable (native scroll) + JS-driven auto-scroll (see main.js).
   The CSS transform marquee is disabled here so the row can be dragged. */
@media (max-width: 768px) {
  .ac-gallery {
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch; scroll-behavior: auto;
    scrollbar-width: none;
  }
  .ac-gallery::-webkit-scrollbar { display: none; }
  .ac-gallery__track { animation: none; }
}

/* ==========================================================================
   17. Mobile drawer — flat, clean rewrite (overrides theme style.css)
   ========================================================================== */
.th-menu-wrapper {
  background-color: rgba(8, 15, 34, 0.55);
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.th-menu-wrapper .th-menu-area {
  max-width: min(88vw, 360px);
  background-color: #fff;
  border-right: none;
  box-shadow: 0 0 60px rgba(10, 27, 61, 0.28);
  display: flex; flex-direction: column;
  transition: left 0.4s var(--ease), opacity 0.4s var(--ease), visibility 0.4s;
}
@media (max-width: 400px) { .th-menu-wrapper .th-menu-area { max-width: 86vw; } }

/* Top row: logo left, close button right */
.th-menu-wrapper .mobile-logo {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 20px; margin: 0; max-width: none;
  background: #fff; border-bottom: 1px solid #e7eaf1;
}
.th-menu-wrapper .mobile-logo .ac-logo { gap: 0; }
.th-menu-wrapper .mobile-logo .ac-logo-img { height: 30px; width: auto; display: block; }

/* Close button — square, inside the panel, comfortable tap target */
.th-menu-wrapper .th-menu-toggle {
  position: static; right: auto; top: auto;
  width: 42px; height: 42px; line-height: 1; padding: 0; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; font-size: 17px;
  background: var(--surface); color: var(--title-color);
  border: 1px solid #e7eaf1;
}
.th-menu-wrapper .th-menu-toggle:hover {
  background: var(--accent-color); border-color: var(--accent-color); color: #fff;
}

/* Menu list */
.th-menu-wrapper .th-mobile-menu {
  margin: 0; padding: 8px 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  flex: 1 1 auto; max-height: none; text-align: left;
}
.th-menu-wrapper .th-mobile-menu > ul { padding: 0 12px; }
.th-menu-wrapper .th-mobile-menu ul li { border-bottom: 1px solid #eef1f6; }
.th-menu-wrapper .th-mobile-menu > ul > li:last-child { border-bottom: none; }
.th-menu-wrapper .th-mobile-menu ul li a {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 10px; line-height: 1.35;
  font-family: var(--title-font); font-weight: 500; font-size: 16px;
  color: var(--title-color); text-transform: none;
}
.th-menu-wrapper .th-mobile-menu ul li a::before { content: none; }
.th-menu-wrapper .th-mobile-menu ul li.th-active > a { color: var(--accent-color); }

/* Submenu (Döküm) */
.th-menu-wrapper .th-mobile-menu .sub-menu {
  background: #f7f9fc; margin: 0 -10px; padding: 2px 10px !important;
}
.th-menu-wrapper .th-mobile-menu ul li ul li { padding-left: 14px; }
.th-menu-wrapper .th-mobile-menu ul li ul li:last-child { border-bottom: none; }
.th-menu-wrapper .th-mobile-menu ul li ul li a {
  font-size: 15px; color: var(--muted); padding: 12px 10px;
}

/* Expand chevron (theme injects a .th-mean-expand span into the parent link) */
.th-menu-wrapper .th-mobile-menu .th-item-has-children > a { position: relative; padding-right: 44px; }
.th-menu-wrapper .th-mobile-menu ul .menu-item-has-children > a::after { content: none !important; }
.th-menu-wrapper .th-mobile-menu ul .menu-item-has-children > a .th-mean-expand {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; margin: 0; border-radius: 9px; box-shadow: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--title-color);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.th-menu-wrapper .th-mobile-menu ul .menu-item-has-children > a .th-mean-expand::before {
  content: "\f078"; font-family: var(--icon-font); font-weight: 900; font-size: 11px;
}
.th-menu-wrapper .th-mobile-menu ul .menu-item-has-children.th-active > a .th-mean-expand {
  background: var(--accent-color); color: #fff;
}
.th-menu-wrapper .th-mobile-menu ul .menu-item-has-children.th-active > a .th-mean-expand::before { content: "\f077"; }

/* Drawer footer — language switch + contact CTA */
.th-drawer-foot {
  margin-top: auto; padding: 16px 20px 22px; background: #fff;
  border-top: 1px solid #e7eaf1; display: flex; flex-direction: column; gap: 12px;
}
.th-drawer-lang { display: flex; gap: 8px; }
.th-drawer-lang a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px; border-radius: 10px; border: 1px solid #e7eaf1;
  font-family: var(--title-font); font-weight: 600; font-size: 13.5px; letter-spacing: 0.04em;
  color: var(--title-color); text-decoration: none;
}
.th-drawer-lang a.is-active { border-color: var(--accent-color); color: var(--accent-color); background: rgba(191, 10, 48, 0.06); }
.th-drawer-lang img { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; display: block; }
.th-drawer-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px; border-radius: 12px; background: var(--accent-color); color: #fff;
  font-family: var(--title-font); font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background 0.2s var(--ease);
}
.th-drawer-cta:hover { background: #a0092a; color: #fff; }
.th-drawer-cta i { font-size: 13px; }
