/* =========================================================
   Glassora – Cam üretim firması kurumsal site
   ========================================================= */
:root {
  --primary: #2f6bff;
  --primary-600: #1f55e0;
  --cyan: #38d1e8;
  --navy: #0b1730;
  --navy-2: #12224a;
  --text: #1c2437;
  --muted: #646d82;
  --line: #e6e9f0;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(16, 32, 72, .18);
  --shadow-lg: 0 30px 60px -20px rgba(16, 32, 72, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Telefonda sayfa asla yana kaymasın */
html { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
/* Admin panelinde Enter ile yazılan satır sonları sitede de alt satıra geçer */
[data-i18n] { white-space: pre-line; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #fff; }

.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.i--sm { width: .85em; height: .85em; }

/* ---------- Eyebrow & headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--dark { color: var(--primary); }
.grad {
  background: linear-gradient(90deg, #8fd8ff, #ffffff 60%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.12rem; color: var(--text); font-weight: 500; }

.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.section__head h2 { margin: 0; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__desc { max-width: 420px; color: rgba(255,255,255,.7); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; transition: .3s var(--ease); white-space: nowrap;
}
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--sm { padding: 10px 20px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(47,107,255,.7); }
.btn--primary:hover { background: var(--primary-600); transform: translateY(-2px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--primary); }
.btn--outline { border-color: var(--line); background: #fff; color: var(--text); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn--glass:hover { background: #fff; color: var(--navy); }

.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px); transition: .3s;
}
.icon-btn:hover { background: #fff; color: var(--navy); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.75); font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 42px; gap: 16px; }
.topbar__info, .topbar__social { display: flex; align-items: center; gap: 22px; }
.topbar__info a, .topbar__info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar__social { gap: 14px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(16,32,72,.25); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__actions { display: flex; align-items: center; gap: 12px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.logo b { color: var(--primary); font-weight: 800; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 10px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
}
.logo__mark::after {
  content: ""; position: absolute; inset: -40% auto -40% -10%; width: 40%;
  background: rgba(255,255,255,.55); transform: rotate(25deg);
}
.logo--light { color: #fff; }
.logo__img { height: var(--logo-h, 40px); width: auto; max-width: 240px; object-fit: contain; }
.header .logo__img { max-height: calc(var(--header-h) - 14px); }
@media (max-width: 600px) { .logo__img { max-width: 170px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
  font-weight: 600; font-size: .95rem; color: var(--text); transition: .2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--primary); }
.nav__cta-mobile { display: none; }
.nav__item { position: relative; }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 10px);
  display: grid; grid-template-columns: repeat(4, 190px); gap: 24px; padding: 28px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transition: .25s var(--ease);
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega h6 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.mega a { display: block; padding: 6px 0; font-size: .93rem; color: var(--muted); transition: .2s; }
.mega a:hover { color: var(--navy); transform: translateX(4px); }

/* Dil seçici */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; font-size: .85rem; transition: .2s;
}
.lang__btn:hover, .lang.is-open .lang__btn { border-color: var(--primary); color: var(--primary); }
.lang__chev { transition: transform .25s; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 190px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s var(--ease); z-index: 60;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 8px;
  background: none; color: var(--text); font-weight: 600; font-size: .92rem; text-align: left;
}
.lang__menu button b { width: 30px; padding: 2px 0; border-radius: 6px; background: var(--bg-alt); color: var(--muted); font-size: .72rem; text-align: center; }
.lang__menu button:hover { background: var(--bg-alt); color: var(--primary); }
.lang__menu button[aria-checked="true"] { color: var(--primary); }
.lang__menu button[aria-checked="true"] b { background: var(--primary); color: #fff; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--bg-alt); border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: min(88vh, 820px); min-height: 560px; color: #fff; overflow: hidden; background: var(--navy); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; display: flex; align-items: center; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 7s linear; }
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,18,40,.92) 0%, rgba(8,18,40,.65) 45%, rgba(8,18,40,.15) 100%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: 60px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; max-width: 780px; margin-bottom: 22px; }
.hero p { font-size: clamp(1rem, 1.4vw, 1.2rem); color: rgba(255,255,255,.8); max-width: 540px; margin-bottom: 34px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__content > * { opacity: 0; transform: translateY(24px); transition: .8s var(--ease); }
.hero__slide.is-active .hero__content > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__content > *:nth-child(2) { transition-delay: .12s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { transition-delay: .24s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { transition-delay: .36s; }

.hero__controls { position: absolute; left: 0; right: 0; bottom: 110px; z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.hero__dots { display: flex; gap: 10px; }
.hero__dot { width: 34px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.hero__dot.is-active::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: fill 6s linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__arrows { display: flex; gap: 10px; }

/* ---------- Features (hero altı kutular) ---------- */
.features { position: relative; z-index: 5; margin-top: -70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  display: flex; align-items: center; gap: 18px; padding: 26px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); transition: .35s var(--ease);
}
.feature h3 { margin-bottom: 4px; }
.feature p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.feature__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #eaf1ff; color: var(--primary); font-size: 1.4rem; flex-shrink: 0; transition: .35s; }
.feature__arrow { margin-left: auto; color: var(--muted); transition: .35s; }
.feature:hover { transform: translateY(-6px); border-color: transparent; }
.feature:hover .feature__icon { background: var(--primary); color: #fff; }
.feature:hover .feature__arrow { color: var(--primary); transform: translateX(4px); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/4.2; object-fit: cover; }
.about__badge {
  position: absolute; right: -20px; bottom: 36px; display: flex; align-items: center; gap: 12px;
  padding: 20px 26px; border-radius: var(--radius); background: var(--primary); color: #fff; box-shadow: var(--shadow-lg);
}
.about__badge strong { font-size: 2.8rem; line-height: 1; font-weight: 800; }
.about__badge span { font-size: .9rem; line-height: 1.3; font-weight: 600; }
.about__text p { color: var(--muted); }
.about__text .lead { color: var(--text); }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .95rem; }
.checks .i { color: #fff; background: var(--primary); border-radius: 50%; padding: 4px; width: 22px; height: 22px; stroke-width: 3; margin-top: 1px; }

.stats { margin-top: clamp(56px, 8vw, 90px); display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 34px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.stat > span { color: var(--muted); font-weight: 600; font-size: .92rem; }

/* ---------- Products ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; color: var(--muted); transition: .25s; }
.filter:hover { color: var(--navy); border-color: var(--navy); }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: .4s var(--ease); cursor: pointer; display: flex; flex-direction: column; text-align: left; padding: 0;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product.is-hidden { display: none; }
.product__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product__img img { transform: scale(1.08); }
.product__tag { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); font-size: .72rem; font-weight: 700; color: var(--navy); }
.product__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product__body p { color: var(--muted); font-size: .9rem; line-height: 1.55; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.product__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; font-size: .9rem; }
.product:hover .product__more .i { transform: translateX(4px); }
.product__more .i { transition: .3s; }
.product.fade-in { animation: fadeUp .5s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 34px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: .35s var(--ease); overflow: hidden; }
.step::before { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: .45s var(--ease); }
.step:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.step:hover::before { transform: scaleX(1); }
.step__no { position: absolute; right: 22px; top: 16px; font-size: 3rem; font-weight: 800; color: #eef2fa; line-height: 1; }
.step__icon { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: #eaf1ff; color: var(--primary); margin-bottom: 20px; position: relative; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 290px; gap: 20px; }
.project { position: relative; display: block; margin: 0; border-radius: var(--radius); overflow: hidden; color: #fff; }
.project--wide { grid-column: span 2; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,18,40,.9), rgba(8,18,40,0) 55%); transition: .4s; }
.project figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; transition: .4s var(--ease); }
.project figcaption span { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.project figcaption h3 { font-size: 1.3rem; margin: 4px 0 0; }
.project:hover img { transform: scale(1.07); }
.project:hover figcaption { transform: translateY(-6px); }
.project figcaption em { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-style: normal; font-weight: 700; font-size: .85rem; opacity: 0; transform: translateY(8px); transition: .35s var(--ease); }
.project:hover figcaption em, .project:focus-visible figcaption em { opacity: 1; transform: none; }
.project:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(64px, 8vw, 100px) 0; color: #fff; background: url("../img/cta.jpg") center/cover fixed; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,85,224,.95), rgba(11,23,48,.85)); }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { max-width: 640px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta p { color: rgba(255,255,255,.8); margin: 0; }
.cta__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.cta .btn--primary { background: #fff; color: var(--primary); }
.cta .btn--primary:hover { background: var(--navy); color: #fff; }

/* ---------- Partners marquee ---------- */
.partners { padding-bottom: clamp(56px, 8vw, 90px); }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.brand {
  display: flex; align-items: center; gap: 10px; height: 88px; padding: 0 34px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; color: #9aa3b7; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em;
  filter: grayscale(1); transition: .3s; white-space: nowrap;
}
.brand svg { width: 28px; height: 28px; }
.brand:hover { color: var(--navy); filter: none; border-color: var(--primary); }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .35s var(--ease); display: flex; flex-direction: column; }
.post:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.post__img { aspect-ratio: 16/10; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post time { font-size: .82rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.post h3 { font-size: 1.15rem; }
.post p { color: var(--muted); font-size: .93rem; }
.link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: .92rem; }
.link:hover { color: var(--primary); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 70px); align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.contact__list b { display: block; color: var(--navy); margin-bottom: 2px; }
.contact__list a:hover { color: var(--primary); }
.contact__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #eaf1ff; color: var(--primary); flex-shrink: 0; font-size: 1.2rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: .85rem; font-weight: 700; color: var(--navy); }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font: inherit; font-weight: 500; color: var(--text); background: var(--bg-alt); transition: .2s; resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(47,107,255,.12); }
.form .is-invalid { border-color: #e5484d !important; }
.form__check { display: flex !important; grid-template-columns: none; align-items: center; gap: 10px !important; font-weight: 500 !important; color: var(--muted) !important; }
.form__check input { width: 18px; height: 18px; accent-color: var(--primary); }
.form__check a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
/* Məxfilik siyasəti səhifəsi */
.legal h2 { font-size: 1.3rem; margin: 2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
.legal p { margin: 0 0 1em; }
.legal ul { margin: 0 0 1.2em; padding-left: 1.3em; }
.legal li { margin-bottom: .3em; }
.form__msg { margin: 0; font-weight: 600; font-size: .92rem; min-height: 1.4em; }
.form__msg.ok { color: #12a150; }
.form__msg.err { color: #e5484d; }

.map { margin-top: 56px; border-radius: var(--radius); overflow: hidden; height: 380px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.65); padding-top: 80px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer__grid > div > a:not(.logo) { display: block; padding: 5px 0; transition: .2s; }
.footer a:hover { color: #fff; }
.footer .logo { margin-bottom: 16px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: .25s; }
.footer__social a:hover { background: var(--primary); }
.footer__bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; padding: 24px 0 28px; font-size: .85rem; color: rgba(255,255,255,.55); }
/* Ortası parlayan ince ayırıcı çizgi */
.footer__bottom::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.14) 20%, rgba(255,255,255,.14) 80%, transparent); }
.footer__credits, .footer__legal { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,.75); text-decoration: none; transition: .2s; }
.footer__legal a:hover { color: #fff; }
.footer__credits a { color: rgba(255,255,255,.75); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); transition: .2s; }
.footer__credits a:hover { color: #fff; border-color: #fff; }
.footer__sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.25); }
.footer__bottom .made-by { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.6); font-size: .8rem; letter-spacing: .01em; transition: border-color .25s, background .25s, transform .25s var(--ease), box-shadow .25s; }
.made-by svg { width: 13px; height: 13px; color: var(--cyan); transition: transform .5s var(--ease); }
.made-by b { font-weight: 700; background: linear-gradient(90deg, var(--primary), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom .made-by:hover { color: rgba(255,255,255,.85); border-color: rgba(56,209,232,.45); background: rgba(56,209,232,.08); transform: translateY(-1px); box-shadow: 0 6px 20px -8px rgba(56,209,232,.5); }
.made-by:hover svg { transform: rotate(90deg) scale(1.1); }
@media (max-width: 700px) {
  .footer__bottom { flex-direction: column; text-align: center; padding-bottom: 90px; }
  .footer__credits, .footer__legal { flex-direction: column; gap: 10px; }
  .footer__sep { display: none; }
}

/* ---------- Floating ---------- */
.wa, .to-top { position: fixed; right: 22px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; box-shadow: var(--shadow-lg); transition: .3s var(--ease); }
.wa { bottom: calc(22px + env(safe-area-inset-bottom, 0px)); right: calc(22px + env(safe-area-inset-right, 0px)); background: #25d366; color: #fff; font-size: 1.5rem; }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: ping 2s infinite; z-index: -1; }
@keyframes ping { 70%, 100% { transform: scale(1.6); opacity: 0; } }
.wa:hover { transform: scale(1.08); }
.to-top { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); background: #fff; color: var(--navy); width: 46px; height: 46px; right: calc(26px + env(safe-area-inset-right, 0px)); opacity: 0; visibility: hidden; transform: translateY(10px); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary); color: #fff; }

/* ---------- Modal & Lightbox ---------- */
.modal, .lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: .3s; }
.modal.is-open, .lightbox.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8,18,40,.7); backdrop-filter: blur(6px); }
.modal__box { position: relative; width: min(880px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); transform: translateY(20px) scale(.98); transition: .35s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__box > img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.modal__body { padding: 36px; }
.modal__body p { color: var(--muted); }
.modal__body .checks { grid-template-columns: 1fr; margin: 18px 0 26px; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--navy); font-size: 1.6rem; line-height: 1; box-shadow: var(--shadow); }
.modal__close:hover { background: var(--primary); color: #fff; }
.lightbox { background: rgba(8,18,40,.92); }
.lightbox img { max-height: 86vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
body.no-scroll { overflow: hidden; }

/* =========================================================
   Detay sayfaları (ürün / proje)
   ========================================================= */
.page-hero { position: relative; padding: clamp(64px, 9vw, 110px) 0 clamp(56px, 7vw, 90px); color: #fff; background: var(--navy); overflow: hidden; }
.page-hero--tall { padding-bottom: clamp(110px, 12vw, 150px); min-height: 460px; display: flex; align-items: flex-end; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,18,40,.94) 0%, rgba(8,18,40,.72) 50%, rgba(8,18,40,.35) 100%); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; max-width: 820px; }
.page-hero p { max-width: 620px; color: rgba(255,255,255,.8); font-size: 1.08rem; margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: .88rem; color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* Ürün detay */
.pd__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--bg-alt); }
.gallery__main img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__main:hover img { transform: scale(1.04); }
.gallery__zoom { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--navy); box-shadow: var(--shadow); font-size: 1.1rem; transition: .3s; }
.gallery__main:hover .gallery__zoom, .pj-gallery__item:hover .gallery__zoom { background: var(--primary); color: #fff; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: none; opacity: .65; transition: .25s; }
.gallery__thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--primary); opacity: 1; }
.pd__h { font-size: 1.2rem; font-weight: 800; margin: 0 0 16px; }
.pd__h:not(:first-child) { margin-top: 34px; }
.checks--one { grid-template-columns: 1fr; margin: 0 0 20px; }
.pd__long { color: var(--muted); margin: 0; }
.specs { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.specs div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.specs div:nth-child(odd) { background: var(--bg-alt); }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); font-weight: 600; font-size: .92rem; }
.specs dd { margin: 0; font-weight: 700; color: var(--navy); font-size: .95rem; }
.pd__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1eb857; transform: translateY(-2px); }
.btn--wa:hover .i { transform: none; }
.pd__help { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding: 20px; border-radius: var(--radius-sm); background: var(--bg-alt); }
.pd__help div { display: grid; gap: 2px; font-size: .92rem; color: var(--muted); }
.pd__help b { color: var(--navy); }
.pd__help a { color: var(--primary); font-weight: 700; margin-top: 4px; }

.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.use { padding: 30px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; transition: .35s var(--ease); }
.use:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.use__icon { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center; background: #eaf1ff; color: var(--primary); font-size: 1.5rem; }
.use h3 { margin: 0; font-size: 1.02rem; }
.products--3 { grid-template-columns: repeat(3, 1fr); }

/* Proje detay */
.facts { position: relative; z-index: 2; margin-top: -64px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.fact { display: flex; align-items: center; gap: 14px; padding: 24px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #eaf1ff; color: var(--primary); flex-shrink: 0; font-size: 1.15rem; }
.fact small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; }
.fact b { color: var(--navy); font-size: 1.02rem; }
.pj__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.pj__grid .lead { color: var(--muted); font-weight: 500; }
.pj__aside { position: sticky; top: calc(var(--header-h) + 20px); padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); display: grid; gap: 12px; }
.pj__aside h3 { margin-bottom: 6px; }
.pj__aside .btn { margin-top: 8px; }
.mini { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); transition: .25s; }
.mini img { width: 64px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.mini span { display: grid; flex: 1; line-height: 1.35; }
.mini b { font-size: .95rem; color: var(--navy); }
.mini small { color: var(--muted); font-size: .8rem; }
.mini > .i { color: var(--muted); transition: .25s; }
.mini:hover { border-color: var(--primary); }
.mini:hover > .i { color: var(--primary); transform: translateX(3px); }
.pj-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.pj-gallery__item { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--line); }
.pj-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.pj-gallery__item:nth-child(4):last-child { grid-column: span 2; }
.pj-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pj-gallery__item:hover img { transform: scale(1.06); }
.pj-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; margin-bottom: clamp(56px, 7vw, 80px); }
.pj-nav__link { display: grid; gap: 4px; padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--line); transition: .25s; }
.pj-nav__link small { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: .85rem; }
.pj-nav__link b { font-size: 1.1rem; color: var(--navy); }
.pj-nav__link--next { text-align: right; }
.pj-nav__link--next small { justify-content: flex-end; }
.pj-nav__link:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.pj-nav__all { display: grid; place-items: center; align-content: center; gap: 6px; padding: 16px 24px; border-radius: var(--radius); background: var(--navy); color: #fff; font-size: .8rem; font-weight: 700; text-align: center; transition: .25s; }
.pj-nav__all .i { font-size: 1.3rem; }
.pj-nav__all:hover { background: var(--primary); }
.projects--3 { grid-auto-rows: 280px; }

/* Lightbox ileri/geri */
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; font-size: 1.2rem; transition: .25s; z-index: 2; }
.lightbox__nav:hover { background: #fff; color: var(--navy); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox.is-single .lightbox__nav { display: none; }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound strong { display: block; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Reveal animasyonu ---------- */
/* İçerik her zaman görünür; sadece kayarak yerine oturur */
.reveal { transform: translateY(26px); transition: transform .9s var(--ease); }
.reveal.is-in { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav__link { padding: 10px 9px; font-size: .92rem; }
  .header__inner { gap: 14px; }
}
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .nav__link { padding: 10px 7px; font-size: .9rem; }
}
@media (max-width: 991px) {
  :root { --header-h: 70px; }
  .hide-md { display: none; }
  .burger { display: block; }
  /* Bulanık zemin (backdrop-filter) sabit konumlu menüyü header'ın içine hapsediyordu: mobilde düz beyaz */
  .header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav {
    position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch;
    gap: 0; padding: 16px 16px 32px; background: #fff; overflow-y: auto;
    /* Kapalıyken ekranın dışına itilmez (bazı mobil tarayıcılar sayfayı o kadar genişletiyordu); görünmez durur */
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .has-mega { width: 100%; }
  .has-mega > .nav__link { display: flex; width: 100%; }
  /* Menü açıkken WhatsApp / yukarı çık butonları menünün üstünde durmasın */
  .no-scroll .wa, .no-scroll .to-top { opacity: 0; visibility: hidden; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav__link { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
  .nav__cta-mobile { display: inline-flex; margin-top: 20px; }
  .mega { position: static; transform: none; opacity: 1; visibility: visible; display: none; grid-template-columns: 1fr 1fr; box-shadow: none; padding: 16px 8px; border: 0; gap: 16px; }
  .has-mega.is-open .mega { display: grid; }
  .has-mega:hover .mega { transform: none; }
  .has-mega.is-open .nav__link .i { transform: rotate(180deg); }

  .features { grid-template-columns: 1fr; margin-top: -50px; }
  .pd__grid, .pj__grid { grid-template-columns: 1fr; }
  .gallery, .pj__aside { position: static; }
  .uses, .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .products--3 { grid-template-columns: 1fr 1fr; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__badge { right: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .products, .steps { grid-template-columns: 1fr 1fr; }
  .projects { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .news { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta { background-attachment: scroll; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .topbar__social { display: none; }
  .topbar__info { gap: 16px; font-size: .8rem; }
  .hero { min-height: 600px; }
  .hero__controls { bottom: 80px; }
  .hero__arrows { display: none; }
  .products, .steps, .news, .projects { grid-template-columns: 1fr; }
  .project--wide { grid-column: auto; }
  .products--3, .uses { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; margin-top: -48px; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:nth-child(2) { border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .pj-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .pj-gallery__item:first-child { grid-row: span 1; }
  .pj-nav { grid-template-columns: 1fr 1fr; }
  .pj-nav__all { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: center; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .page-hero--tall { min-height: 380px; }
  .project figcaption em { opacity: 1; transform: none; }
  .checks, .form__row { grid-template-columns: 1fr; }
  .modal__box { grid-template-columns: 1fr; }
  .modal__box > img { height: 220px; min-height: 0; }
  .modal__body { padding: 26px; }
  .footer__grid { grid-template-columns: 1fr; }
  .mega { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .topbar__info a:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Partnyor loqoları və xəbər detay səhifəsi ---------- */
.brand img { height: 44px; width: auto; max-width: 160px; object-fit: contain; }
a.brand { text-decoration: none; }
.article { max-width: 860px; margin: 0 auto; }
.article__img { border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow-lg); }
.article__img img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article__body p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; margin: 0 0 1.1em; }
.article__body p:first-child { color: var(--text); font-size: 1.12rem; font-weight: 500; }
.article__gallery { margin-top: 40px; }
