:root {
  --red: #ed1c24;
  --red-dark: #d81623;
  --navy: #26225b;
  --dark: #231f20;
  --text: #000;
  --muted: #564240;
  --border: #a9a7ba;
  --gray-bg: #f5f5f5;
  --input-bg: #f3f3f3;
  --container: 1680px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: #fff; font-size: 15px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; border: 0; outline: 0; background: none; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.section { padding: 70px 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: 'Poppins', sans-serif; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.btn img { width: 15px; height: 15px; transition: transform .25s; }
.btn:hover img { transform: translateX(4px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--sm { height: 48px; padding: 0 22px; font-size: 12px; }
.btn--lg { height: 48px; width: 260px; font-size: 12px; }
.btn--form { height: 48px; padding: 0 28px; font-size: 16px; border-radius: 2px; }
.btn--outline { height: 38px; width: 260px; border: 1px solid var(--red); color: var(--red); font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px; }
.btn--outline:hover { background: var(--red); color: #fff; }

/* ---------- Section title ---------- */
.sec-title { display: flex; align-items: center; gap: 10px; font-size: 20px; line-height: 30px; font-weight: 700; color: var(--navy); margin-bottom: 30px; }
.sec-title::before { content: ""; width: 40px; height: 2px; background: var(--red); flex-shrink: 0; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 164px; transition: height .3s; }
.header.scrolled .header__inner { height: 96px; }
.logo { display: block; flex-shrink: 0; }
.logo img { width: 250px; height: auto; transition: width .3s; }
.header.scrolled .logo img { width: 170px; }

.nav__list { display: flex; align-items: center; gap: 64px; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 4px; font-family: 'Poppins', sans-serif; font-size: 16px; color: var(--dark); transition: color .2s; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--dark); transition: width .25s; }
.nav__link:hover { color: var(--red); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__link.active { color: var(--red); font-weight: 600; }
.nav__arrow { width: 16px; height: 16px; transition: transform .25s; }

.has-drop { position: relative; }
.has-drop:hover .nav__arrow { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% + 20px); left: -20px; min-width: 260px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.1); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.drop::before { content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 20px; }
.has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: block; padding: 10px 20px; font-family: 'Poppins', sans-serif; font-size: 14px; color: var(--dark); transition: .2s; }
.drop a:hover { color: var(--red); background: #fafafa; padding-left: 26px; }

.header__actions { display: flex; align-items: center; gap: 26px; }
.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 4px; width: 68px; height: 48px; justify-content: center; border: 1px solid #eee; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; }
.lang__btn img { width: 14px; }
.lang__list { position: absolute; top: 100%; left: 0; width: 100%; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.08); display: none; }
.lang__list a { display: block; text-align: center; padding: 8px 0; font-family: 'Poppins', sans-serif; font-size: 14px; color: var(--muted); }
.lang__list a:hover, .lang__list a.is-current { color: var(--red); }

.burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; }
.burger span { display: block; height: 2px; width: 26px; background: var(--dark); transition: .3s; margin-left: auto; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 690px; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1s ease, transform 6s ease; }
.hero__slide.active { opacity: 1; transform: scale(1); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.85) 18%, rgba(255,255,255,0) 50%); pointer-events: none; }
.hero__content { position: relative; z-index: 2; height: 100%; display: grid; align-items: center; }
.hero__text-slide { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; opacity: 0; visibility: hidden; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease, visibility .7s; }
.hero__text-slide.active { opacity: 1; visibility: visible; transform: none; }
.hero__title { font-size: 61px; line-height: 1.21; font-weight: 700; color: var(--navy); margin-bottom: 20px; max-width: 760px; }
.hero__text { max-width: 415px; font-size: 16px; line-height: 1.21; color: var(--navy); margin-bottom: 30px; }
.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 38px; transform: translateX(-50%); display: flex; gap: 17px; }
.hero__dots button { width: 16px; height: 16px; background: #fff; cursor: pointer; transition: background .3s; }
.hero__dots button.active { background: var(--red-dark); }

/* ---------- About ---------- */
.about { padding-top: 138px; }
.about__inner { display: grid; grid-template-columns: 568px 1fr; gap: 142px; align-items: start; }
.about__text p { font-size: 15px; line-height: 30px; }
.about__text strong { font-weight: 700; }
.link-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 30px; font-weight: 600; color: var(--red); line-height: 30px; }
.link-more img { width: 21px; transition: transform .25s; }
.link-more:hover img { transform: translateX(5px); }
.about__img { overflow: hidden; }
.about__img img { width: 100%; height: 398px; object-fit: cover; transition: transform .6s; }
.about__img:hover img { transform: scale(1.04); }

/* ---------- Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Why ---------- */
.why__grid { gap: 24px; }
.why-card { display: flex; align-items: center; gap: 18px; min-height: 193px; padding: 30px 40px 30px 95px; border: 1px solid var(--border); transition: border-color .3s, box-shadow .3s, transform .3s; }
.why-card:hover { border-color: var(--red); box-shadow: 0 12px 30px rgba(38,34,91,.08); transform: translateY(-4px); }
.why-card__icon { flex-shrink: 0; width: 82px; height: 82px; background: var(--red); display: flex; align-items: center; justify-content: center; }
.why-card__icon img { width: 67px; height: 67px; object-fit: contain; }
.why-card h3 { font-size: 15px; font-weight: 700; line-height: 30px; }
.why-card p { font-size: 15px; line-height: 23px; max-width: 268px; }

/* ---------- Cards (services) ---------- */
.services { padding-top: 90px; }
.card { border: 1px solid var(--border); background: #fff; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.card:hover { box-shadow: 0 16px 36px rgba(38,34,91,.12); transform: translateY(-4px); }
.card__img { height: 300px; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 20px 11px 20px; min-height: 152px; }
.card__body h3 { font-size: 20px; line-height: 30px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.card__body p { font-size: 15px; line-height: 25px; }

/* ---------- Projects ---------- */
.projects { padding-top: 120px; }
.projects__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: -10px; margin-bottom: 31px; }
.projects__head p { max-width: 907px; line-height: 27px; }
.projects__head .btn { flex-shrink: 0; margin-bottom: 8px; }
.project { border: 1px solid var(--border); display: block; background: #fff; transition: box-shadow .3s; }
.project:hover { box-shadow: 0 16px 36px rgba(38,34,91,.12); }
.project__img { height: 300px; overflow: hidden; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project:hover .project__img img { transform: scale(1.06); }
.project__body { height: 112px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; }
.project__body h3 { font-size: 20px; font-weight: 700; color: var(--navy); }
.project__arrow { width: 53px; height: 53px; border-radius: 50%; transition: transform .3s; }
.project__arrow img { width: 100%; height: 100%; }
.project:hover .project__arrow { transform: rotate(-45deg); }

/* ---------- Clients ---------- */
.clients { padding: 150px 0 220px; overflow: hidden; }
.clients__inner { display: flex; align-items: center; padding-left: max(24px, calc((100vw - var(--container)) / 2)); }
.clients__text { flex: 0 0 426px; padding-right: 24px; border-right: 1px solid var(--red); min-height: 184px; }
.clients__text p { max-width: 402px; line-height: 27px; }
.clients__text .sec-title { margin-bottom: 30px; }
.clients__marquee { flex: 1; overflow: hidden; position: relative; padding-left: 84px; }
.clients__track { display: flex; align-items: center; gap: 128px; width: max-content; animation: marquee 30s linear infinite; }
.clients__track a { display: block; flex-shrink: 0; }
.clients__track img { height: auto; max-height: 184px; max-width: none; object-fit: contain; transition: transform .3s; }
.clients__track img:hover { transform: scale(1.06); }
.clients__marquee:hover .clients__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Contact ---------- */
.contact { background: var(--gray-bg); padding: 41px 0 39px; }
.contact__inner { display: grid; grid-template-columns: 1fr 734px; gap: 60px; align-items: stretch; padding-right: 115px; }
.contact__info { padding-top: 38px; display: flex; flex-direction: column; }
.contact__title { font-size: 36px; line-height: 48px; font-weight: 500; color: var(--navy); max-width: 496px; margin-top: 73px; margin-bottom: 26px; }
.contact__text { max-width: 544px; line-height: 27px; }
.contact__list { margin-top: auto; padding-bottom: 38px; display: flex; flex-direction: column; gap: 14px; }
.contact__list li { display: flex; align-items: flex-start; gap: 20px; font-size: 15px; line-height: 22.5px; color: #222323; }
.contact__list img { width: 25px; height: 25px; flex-shrink: 0; }
.contact__list a:hover { color: var(--red); }
.contact__list b { font-weight: 600; }
.contact__form { background: #fff; border-radius: 12px; padding: 63px 46px 34px; display: flex; flex-direction: column; gap: 36px; box-shadow: 0 6px 30px rgba(0,0,0,.04); }
.contact__form input, .contact__form textarea, .apply-form input:not([type=file]), .apply-form textarea { width: 100%; background: var(--input-bg); height: 77px; padding: 0 20px; font-family: 'Poppins', sans-serif; font-size: 15px; color: var(--dark); border: 1px solid transparent; transition: border-color .25s, background .25s; }
.contact__form textarea, .apply-form textarea { height: 150px; padding: 20px; resize: vertical; }
.contact__form ::placeholder, .apply-form ::placeholder { color: var(--muted); }
.contact__form input:focus, .contact__form textarea:focus, .apply-form input:focus, .apply-form textarea:focus { border-color: var(--navy); background: #fff; }
.contact__form .btn { align-self: flex-start; }

/* ---------- Footer ---------- */
.footer { padding: 222px 0 61px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 137px; border-bottom: 1px solid #d9d9d9; }
.footer__nav { display: flex; gap: 64px; align-items: center; margin-top: 50px; }
.footer__social { display: flex; gap: 58px; margin-top: 50px; }
.footer__social img { width: 30px; height: 30px; transition: transform .25s; }
.footer__social a:hover img { transform: translateY(-4px); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 22px; font-size: 14px; color: var(--muted); }
.footer__dev { display: inline-flex; align-items: center; gap: 9px; }
.footer__bottom img { height: 18px; width: auto; }

/* ---------- Form köməkçiləri ---------- */
.field { position: relative; }
.field.has-error input, .field.has-error textarea, .field.has-error .file-input { border-color: var(--red) !important; background: #fff5f5; }
.field__error { margin-top: 6px; font-size: 13px; color: var(--red); }
.form__note { min-height: 20px; margin-top: -16px; font-size: 14px; }
.form__note.is-err { color: var(--red); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Daxili səhifə başlığı ---------- */
.page-hero { background: var(--gray-bg); padding: 56px 0 60px; border-bottom: 1px solid #ececec; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #b5b5b5; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs [aria-current] { color: var(--navy); font-weight: 600; }
.page-hero__title { font-size: 48px; line-height: 1.2; font-weight: 700; color: var(--navy); max-width: 1100px; }
.page-hero__title::after { content: ""; display: block; width: 60px; height: 3px; background: var(--red); margin-top: 22px; }
.page-hero__intro { max-width: 820px; margin-top: 22px; font-size: 16px; line-height: 28px; color: #333; }

/* ---------- Mətn bloku (RichText) ---------- */
.rich { font-size: 15px; line-height: 30px; }
.rich p + p, .rich p + ul, .rich ul + p, .rich p + ol, .rich ol + p { margin-top: 16px; }
.rich h3 { font-size: 22px; line-height: 1.35; color: var(--navy); margin: 30px 0 12px; }
.rich ol { padding-left: 22px; }
.rich ul li { position: relative; padding-left: 22px; }
.rich ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 2px; background: var(--red); }
.rich blockquote { margin: 24px 0; padding: 18px 24px; border-left: 3px solid var(--red); background: var(--gray-bg); color: var(--navy); font-weight: 500; }
.empty, .notice { padding: 40px; text-align: center; background: var(--gray-bg); color: var(--muted); }

/* ---------- Detal səhifəsi ---------- */
.detail__inner { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 60px; align-items: start; }
.detail__cover { margin-bottom: 36px; overflow: hidden; }
.detail__cover img { width: 100%; height: auto; max-height: 600px; object-fit: cover; }
.detail__cover--wide img { max-height: 720px; }
.detail__lead { font-size: 18px; line-height: 30px; color: var(--navy); font-weight: 500; margin-bottom: 20px; }
.detail__cta { margin-top: 36px; }
.detail__aside { position: sticky; top: 130px; border: 1px solid var(--border); padding: 30px; display: flex; flex-direction: column; gap: 24px; }
.detail__aside .btn { width: 100%; }
.detail__aside-title { font-size: 20px; color: var(--navy); }
.side-list li + li { border-top: 1px solid #eee; }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-weight: 500; color: var(--navy); transition: color .2s, padding .2s; }
.side-list a img { width: 18px; flex-shrink: 0; }
.side-list a:hover { color: var(--red); padding-left: 6px; }
.facts { display: grid; gap: 18px; }
.facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.facts dd { font-size: 17px; font-weight: 600; color: var(--navy); margin-top: 2px; }
.facts--row { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); padding: 24px; background: var(--gray-bg); margin-bottom: 30px; }

/* ---------- Qalereya + lightbox ---------- */
.gallery-title { margin-top: 70px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery__item { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-bg); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(15, 13, 40, .92); display: flex; align-items: center; justify-content: center; padding: 40px 80px; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox button { position: absolute; color: #fff; font-size: 44px; line-height: 1; cursor: pointer; width: 56px; height: 56px; display: grid; place-items: center; transition: color .2s; }
.lightbox button:hover { color: var(--red); }
.lightbox__close { top: 16px; right: 20px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
body.no-scroll { overflow: hidden; }

/* ---------- Haqqımızda səhifəsi ---------- */
.about--page { padding-top: 80px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.value-card { border: 1px solid var(--border); padding: 40px; }

/* ---------- Blog ---------- */
.post-card__meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.article { max-width: 920px; margin: 0 auto; }
.article .post-card__meta { margin-bottom: 20px; font-size: 14px; }
.article .link-more { margin-top: 40px; }
.flip { transform: scaleX(-1); }
.link-more:hover .flip { transform: scaleX(-1) translateX(5px); }

/* ---------- Karyera ---------- */
.career__inner { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 60px; align-items: start; }
.vacancy-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border: 1px solid var(--border); transition: border-color .3s, box-shadow .3s; }
.vacancy-card + .vacancy-card { margin-top: 16px; }
.vacancy-card:hover { border-color: var(--red); box-shadow: 0 12px 30px rgba(38,34,91,.08); }
.vacancy-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.vacancy-card p { color: #444; margin-bottom: 12px; }
.vacancy-card .project__arrow { flex-shrink: 0; }
.vacancy-card:hover .project__arrow { transform: rotate(-45deg); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 4px 12px; background: var(--gray-bg); color: var(--navy); }
.career__apply { position: sticky; top: 130px; background: var(--gray-bg); padding: 40px; }
.apply__title { font-size: 24px; color: var(--navy); margin-bottom: 8px; }
.apply__text { color: #444; margin-bottom: 8px; }
.apply-form { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.apply-form input:not([type=file]), .apply-form textarea { background: #fff; height: 60px; }
.apply-form textarea { height: 120px; }
.apply-form .btn { align-self: flex-start; }
.file-input { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px dashed #c9c9c9; padding: 12px 14px; cursor: pointer; transition: border-color .2s; }
.file-input:hover { border-color: var(--red); }
.file-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-input__btn { flex-shrink: 0; background: var(--navy); color: #fff; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; padding: 8px 14px; }
.file-input__name { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-input:focus-within { outline: 2px solid var(--navy); outline-offset: 2px; }

/* ---------- Səhifələmə ---------- */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 50px; }
.pagination__item { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--border); font-weight: 600; color: var(--navy); transition: .2s; }
a.pagination__item:hover { border-color: var(--red); color: var(--red); }
.pagination__item.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.pagination__item.is-disabled { opacity: .4; }

/* ---------- Xəritə, 404 ---------- */
.map iframe { display: block; width: 100%; height: 460px; border: 0; filter: grayscale(.3); }
.error-page { padding: 140px 0; text-align: center; }
.error-page__code { font-size: 140px; line-height: 1; font-weight: 700; color: var(--red); }
.error-page__title { font-size: 36px; color: var(--navy); margin: 16px 0 12px; }
.error-page__text { max-width: 520px; margin: 0 auto 32px; color: #444; }

/* ---------- Fokus (klaviatura) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1600px) {
  .nav__list, .footer__nav { gap: 36px; }
  .about__inner { gap: 70px; grid-template-columns: 1fr 1.3fr; }
  .why-card { padding-left: 40px; }
  .contact__inner { padding-right: 0; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1280px) {
  .header__inner { height: 110px; }
  .logo img { width: 180px; }
  .nav__list { gap: 24px; }
  .nav__link { font-size: 14px; }
  .footer__nav { gap: 24px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 48px; }
  .footer__top { flex-wrap: wrap; }
}
@media (max-width: 1024px) {
  .burger { display: flex; }
  .header__actions .btn--sm { display: none; }
  .nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw); background: #fff; padding: 110px 30px 30px; transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s; z-index: -1; overflow-y: auto; }
  .nav.open { transform: none; visibility: visible; box-shadow: -10px 0 30px rgba(0,0,0,.1); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav__link { font-size: 16px; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 8px 0 0 10px; }
  .has-drop:hover .drop { transform: none; }
  .header.scrolled .header__inner, .header__inner { height: 84px; }
  .header.scrolled .logo img, .logo img { width: 150px; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about { padding-top: 80px; }
  .clients__inner { flex-direction: column; align-items: stretch; padding: 0 24px; }
  .clients__text { flex: none; border-right: 0; border-bottom: 1px solid var(--red); padding: 0 0 30px; min-height: 0; }
  .clients__marquee { padding: 40px 0 0; }
  .clients__track img { max-height: 110px; width: auto !important; }
  .clients { padding: 80px 0 100px; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact__title { margin-top: 20px; }
  .contact__list { margin-top: 40px; padding-bottom: 0; }
  .footer { padding-top: 100px; }
  .footer__top { flex-direction: column; align-items: flex-start; padding-bottom: 50px; }
  .footer__nav, .footer__social { margin-top: 0; flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 50px 0; }
  .grid--3 { grid-template-columns: 1fr; }
  .hero { height: 560px; }
  .hero__overlay { background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.75) 60%, rgba(255,255,255,.3) 100%); }
  .hero__title { font-size: 36px; }
  .btn--lg { width: 220px; }
  .about__img img { height: 260px; }
  .why-card { min-height: 0; padding: 24px; }
  .card__img, .project__img { height: 240px; }
  .project__body { height: 90px; padding: 0 20px; }
  .projects__head { flex-direction: column; align-items: flex-start; }
  .clients__inner { padding: 0 16px; }
  .contact__title { font-size: 28px; line-height: 38px; }
  .contact__form { padding: 30px 20px; gap: 20px; }
  .contact__form input { height: 60px; }
  .footer__nav { gap: 16px 24px; }
  .footer__bottom { justify-content: flex-start; }
}

@media (max-width: 1280px) {
  .detail__inner, .career__inner { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .detail__inner, .career__inner, .grid--2 { grid-template-columns: 1fr; }
  .detail__aside, .career__apply { position: static; }
  .page-hero__title { font-size: 36px; }
}
@media (max-width: 768px) {
  .page-hero { padding: 36px 0 40px; }
  .page-hero__title { font-size: 28px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lightbox { padding: 60px 12px; }
  .vacancy-card { padding: 22px 18px; }
  .career__apply, .value-card, .detail__aside { padding: 24px 18px; }
  .error-page { padding: 80px 0; }
  .error-page__code { font-size: 96px; }
  .map iframe { height: 320px; }
}

/* ---------- Blog (Figma: Frame 10 / Frame 11) ---------- */
.blog-hero { position: relative; min-height: 566px; display: flex; align-items: center; overflow: hidden; }
.blog-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; }
.blog-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-hero__media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 45%; background: linear-gradient(90deg, #fff 10%, rgba(255,255,255,0) 100%); }
.blog-hero__inner { position: relative; z-index: 1; }
.blog-hero__label { text-transform: uppercase; margin-bottom: 94px; }
.blog-hero__text { max-width: 557px; font-size: 16px; line-height: 30px; }

.blog-list { padding: 145px 0 136px; }
.blog-list__items { display: flex; flex-direction: column; gap: 30px; }
.blog-item { display: grid; grid-template-columns: 710px minmax(0, 1fr); align-items: center; border: 1px solid #000; border-radius: 30px; overflow: hidden; transition: box-shadow .3s; }
.blog-item:hover { box-shadow: 0 16px 36px rgba(38,34,91,.1); }
.blog-item__img { display: block; height: 399px; border-radius: 27px; overflow: hidden; }
.blog-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.blog-item:hover .blog-item__img img { transform: scale(1.04); }
.blog-item__body { padding: 36px 64px 36px 118px; max-width: 969px; }
.blog-item__badge { display: inline-block; padding: 3px 19px; border-radius: 31px; background: #f6e0e1; color: var(--red); font-size: 16px; line-height: 30px; }
.blog-item__title { margin-top: 37px; font-size: 20px; line-height: 30px; font-weight: 600; color: #000; }
.blog-item__title a:hover { color: var(--red); }
.blog-item__text { margin-top: 37px; font-size: 15px; line-height: 30px; }
.blog-item__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 37px; font-weight: 600; font-size: 15px; line-height: 30px; color: var(--red); }
.blog-item__more img { transition: transform .25s; }
.blog-item__more:hover img { transform: translateX(4px); }

.post { padding: 78px 0 136px; }
.post__inner { display: grid; grid-template-columns: minmax(0, 787px) minmax(0, 895px); justify-content: space-between; gap: 40px; align-items: start; }
.post__title { font-size: 20px; line-height: 30px; font-weight: 600; color: #000; }
.post__lead, .rich--post { max-width: 686px; font-size: 15px; line-height: 30px; }
.post__lead { margin-top: 37px; }
.rich--post { margin-top: 30px; }
.rich--post h3 { margin: 30px 0 0; font-size: 15px; line-height: 30px; font-weight: 600; color: #000; }
.rich--post h3:first-child { margin-top: 0; }
.rich--post h3 + p { margin-top: 0; }
.post__img img { width: 100%; aspect-ratio: 895 / 912; object-fit: cover; }

@media (max-width: 1600px) {
  .blog-item { grid-template-columns: 560px minmax(0, 1fr); }
  .blog-item__body { padding: 32px 48px 32px 64px; }
}
@media (max-width: 1280px) {
  .blog-item { grid-template-columns: 440px minmax(0, 1fr); }
  .blog-item__img { height: 100%; min-height: 360px; }
  .blog-item__body { padding: 30px 36px 30px 44px; }
  .blog-item__title, .blog-item__text, .blog-item__more { margin-top: 20px; }
  .post__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 1024px) {
  .blog-hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .blog-hero__media { position: relative; width: 100%; height: 320px; order: 2; }
  .blog-hero__media::before { display: none; }
  .blog-hero__inner { padding-top: 50px; padding-bottom: 40px; }
  .blog-hero__label { margin-bottom: 24px; }
  .blog-list { padding: 70px 0 90px; }
  .blog-item { grid-template-columns: 1fr; }
  .blog-item__img { height: 320px; min-height: 0; }
  .post { padding: 50px 0 90px; }
  .post__inner { grid-template-columns: 1fr; }
  .post__img { order: -1; }
  .post__img img { aspect-ratio: 16 / 10; }
}
@media (max-width: 768px) {
  .blog-hero__media { height: 220px; }
  .blog-list { padding: 50px 0 70px; }
  .blog-item { border-radius: 20px; }
  .blog-item__img { height: 220px; border-radius: 18px; }
  .blog-item__body { padding: 24px 18px 26px; }
  .blog-item__title { font-size: 18px; line-height: 28px; }
}
