:root {
  --ink: #111313;
  --ink-soft: #1b1e1d;
  --paper: #f7f7f5;
  --paper-muted: #e9e9e5;
  --yellow: #f1c84b;
  --yellow-deep: #d9a91c;
  --line: rgba(17, 19, 19, .16);
  --white: #fffdf7;
  --max: 1180px;
  --display: 'DM Sans', sans-serif;
  --body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 4px; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 10; background: var(--yellow); padding: 10px 16px; }
.skip-link:focus { top: 16px; }
.eyebrow { position: relative; margin: 0 0 18px; color: var(--yellow-deep); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.06; letter-spacing: -.025em; }
h1 { font-size: clamp(3.2rem, 6vw, 5.6rem); max-width: 820px; }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); max-width: 760px; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 20px; }
.muted { color: #5a5e59; }
.button { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px; border: 1px solid var(--ink); background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); background: var(--white); }
.button--dark { border-color: var(--yellow); background: var(--ink); color: var(--paper); }
.button--dark:hover { background: var(--yellow); color: var(--ink); }
.button--text { border: 0; padding: 0; min-height: auto; background: transparent; }
.button--text:hover { transform: translateX(5px); background: transparent; }
.site-header { position: fixed; z-index: 5; width: 100%; color: var(--paper); background: #252827; box-shadow: 0 8px 30px rgba(0,0,0,.18); transition: background .3s ease, box-shadow .3s ease; }
.site-header::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: rgba(241,200,75,.42); }
.header-inner { position: relative; display: flex; align-items: center; min-height: 88px; transition: min-height .3s ease; }
.logo { display: flex; align-items: center; width: 174px; height: 54px; overflow: hidden; background: url('images/logo_indicore.png') center/cover; font-size: 0; transition: width .3s ease, height .3s ease; }
.logo .logo-mark { display: none; }
.logo img { width: 174px; height: 54px; object-fit: cover; object-position: center; content: url('images/logo_indicore.png'); transition: width .3s ease, height .3s ease; }
.site-header.is-compact { background: #1d201f; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.site-header.is-compact .header-inner { min-height: 64px; }
.site-header.is-compact .logo, .site-header.is-compact .logo img { width: 124px; height: 40px; }
.nav { position: absolute; top: 88px; right: 24px; display: none; min-width: 210px; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; background: var(--ink); box-shadow: 0 16px 30px rgba(0,0,0,.25); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.nav.is-open { display: flex; }
.nav a { padding: 12px; }
.nav a { opacity: .78; transition: opacity .2s ease, color .2s ease; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--yellow); opacity: 1; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; margin-left: auto; margin-right: 26px; color: var(--yellow); font-size: 16px; font-weight: 800; white-space: nowrap; }
.header-phone::before { content: '☎'; font-size: 20px; line-height: 1; }
.header-phone span { display: none; }
.header-actions { position: absolute; right: 0; display: flex; align-items: center; gap: 20px; }
.header-actions .header-phone { margin: 0; }
.menu-toggle { display: grid; width: 32px; height: 32px; place-items: center; border: 0; padding: 0; background: transparent; color: var(--yellow); font-size: 1.7rem; line-height: 1; transform: translateY(-3px); }
.hero { position: relative; display: flex; min-height: 700px; align-items: center; justify-content: center; overflow: hidden; color: var(--paper); }
.hero-slides { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
.hero-slide { position: absolute; inset: 0; display: block; background-position: center; background-size: cover; transform: translateX(0); }
.hero-slide--current { z-index: 1; }
.hero-slide--next { z-index: 2; transform: translateX(100%); }
.hero-slide.is-entering, .hero-slide.is-leaving { transition: transform .9s cubic-bezier(.22,.61,.36,1); }
.hero-slide.is-entering { transform: translateX(0); }
.hero-slide.is-leaving { transform: translateX(-100%); }
.hero::before { position: absolute; inset: 0; z-index: 3; background: rgba(0,0,0,.55); content: ''; pointer-events: none; }
.hero::after { display: none; }
.hero-content { position: relative; z-index: 4; width: min(calc(100% - 48px), 1060px); padding: 142px 0 252px; text-align: center; }
.hero-content .eyebrow { color: var(--yellow); }
.hero-content h1 { max-width: 900px; margin: 0 auto; font-size: clamp(2.8rem, 5vw, 4.6rem); text-transform: none; }
.hero-copy { max-width: 800px; margin: 38px auto 0; color: rgba(242,240,233,.92); font-size: clamp(1.1rem, 2vw, 1.55rem); font-weight: 700; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-panels { position: absolute; right: 50%; bottom: 32px; z-index: 4; display: grid; width: min(calc(100% - 48px), 860px); grid-template-columns: repeat(4, 1fr); gap: 16px; transform: translateX(50%); }
.hero-panel { position: relative; display: flex; aspect-ratio: 1; align-items: flex-end; justify-content: center; padding: 0 14px 22px; border: 1px solid rgba(242,240,233,.22); background: rgba(17,19,19,.78); color: var(--paper); text-align: center; backdrop-filter: blur(4px); transition: background .25s ease, color .25s ease, transform .25s ease; }
.hero-panel:hover { transform: translateY(-5px); background: var(--yellow); color: var(--ink); }
.hero-panel strong { position: absolute; right: 14px; bottom: 22px; left: 14px; z-index: 2; display: flex; min-height: 38px; align-items: center; justify-content: center; font: 800 .8rem/1.2 var(--display); letter-spacing: 0; text-transform: uppercase; }
.hero-panel-icon { position: absolute; top: 30px; left: 50%; z-index: 1; display: grid; width: 82px; height: 82px; place-items: center; border-radius: 50% 50% 50% 0; background: var(--yellow); color: var(--ink); font: 3rem/1 var(--display); transform: translateX(-50%); }
.hero-panel-icon img { width: 34px; height: 34px; }
.hero-panel:hover .hero-panel-icon { background: var(--ink); color: var(--yellow); }
.hero-panel:hover .hero-panel-icon img { filter: invert(76%) sepia(52%) saturate(446%) hue-rotate(3deg) brightness(105%) contrast(89%); }
.section { padding: 96px 0; }
.services-section { background: var(--white); }
.services-section .section-head { display: block; margin-bottom: 38px; }
.services-section .section-head h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); letter-spacing: .07em; text-transform: uppercase; }
.services-section .section-head .eyebrow { margin: 12px 0 0; color: #6c6e68; }
.services-section .section-head .eyebrow::before { display: block; width: 36px; height: 4px; margin-bottom: 10px; background: var(--yellow); content: ''; }
.section--dark { background: var(--ink); color: var(--paper); }
.section-head { display: block; margin-bottom: 42px; }
.section-head h2, .intro-grid h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); letter-spacing: .07em; text-transform: uppercase; }
.section-head .eyebrow { margin: 12px 0 0; color: #6c6e68; }
.section-head .eyebrow::before, .intro-grid .eyebrow::before { display: block; width: 36px; height: 4px; margin-bottom: 10px; background: var(--yellow); content: ''; }
.section--dark .section-head .eyebrow { color: #b9bbb3; }
.section--dark .section-head .eyebrow::before { background: var(--yellow); }
.section-head > p { max-width: 520px; margin: 18px 0 0; color: #6b6e68; }
.section--dark .section-head > p { color: #a4a59c; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.intro-grid > div:first-child { padding-top: 0; }
.intro-grid p { max-width: 540px; font-size: 1.08rem; }
.rule-list { border-top: 1px solid var(--line); }
.rule-list div { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rule-list span:first-child { font-weight: 800; }
.rule-list span:last-child { color: var(--yellow-deep); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; background: transparent; }
.service-card { min-width: 0; }
.service-image { height: 196px; margin-bottom: 14px; object-fit: cover; }
.service-card h3 { font-size: 1rem; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.service-card p { margin: 10px 0 0; color: #777972; font-size: .91rem; line-height: 1.42; }
.advantages-section .section-head { display: block; margin-bottom: 42px; }
.advantages-section .section-head h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); letter-spacing: .07em; text-transform: uppercase; }
.advantages-section .section-head .eyebrow { margin: 12px 0 0; color: #6c6e68; }
.advantages-section .section-head .eyebrow::before { display: block; width: 36px; height: 4px; margin-bottom: 10px; background: var(--yellow); content: ''; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.feature { display: flex; min-width: 0; min-height: 220px; align-items: center; flex-direction: column; padding: 0 18px; text-align: center; }
.feature-icon { display: grid; width: 114px; height: 114px; margin-bottom: 24px; place-items: center; border: 1px solid var(--yellow); box-shadow: 0 3px 7px rgba(0,0,0,.16); color: var(--yellow-deep); font: 2.35rem/1 var(--display); }
.feature strong { display: block; margin-bottom: 10px; color: var(--ink); font: 800 1rem/1.15 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.feature p { max-width: 290px; color: #777972; font-size: .92rem; line-height: 1.42; }
.projects-section { background: var(--white); }
.projects-section .section-head { display: block; margin-bottom: 38px; }
.projects-section .section-head h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); letter-spacing: .07em; text-transform: uppercase; }
.projects-section .section-head .eyebrow { margin: 12px 0 0; color: #6c6e68; }
.projects-section .section-head .eyebrow::before { display: block; width: 36px; height: 4px; margin-bottom: 10px; background: var(--yellow); content: ''; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 8px; row-gap: 0; }
.project-card { min-width: 0; aspect-ratio: 1.32; margin: 0 0 20px; overflow: hidden; background: var(--paper-muted); opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.project-card.is-visible { opacity: 1; transform: translateY(0); }
.project-card:nth-child(2) { transition-delay: .08s; }
.project-card:nth-child(3) { transition-delay: .16s; }
.project-card:nth-child(4) { transition-delay: .24s; }
.project-card:nth-child(5) { transition-delay: .32s; }
.project-card:nth-child(6) { transition-delay: .4s; }
.project-card:nth-child(7) { transition-delay: .08s; }
.project-card:nth-child(8) { transition-delay: .16s; }
.project-card:nth-child(9) { transition-delay: .24s; }
.project-card:nth-child(10) { transition-delay: .32s; }
.project-card:nth-child(11) { transition-delay: .4s; }
.project-card:nth-child(12) { transition-delay: .48s; }
.project-card img { height: 100%; object-fit: cover; transition: transform .7s ease; }
.project-card:hover img { transform: scale(1.04); }
.cta-band { padding: 72px 0; background: var(--yellow); }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-band h2 { max-width: 700px; font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: .07em; text-transform: uppercase; }
.footer { padding: 64px 0 28px; background: var(--ink); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer h3 { margin-bottom: 20px; color: var(--yellow); font-size: .92rem; letter-spacing: .09em; text-transform: uppercase; }
.footer p, .footer a { color: #aaa9a1; }
.footer a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; color: #777870; font-size: 12px; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 6; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--ink); padding: 0; background: var(--yellow); color: var(--ink); cursor: pointer; font: 2rem/1 var(--display); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease, background .2s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--white); transform: translateY(-3px); }
.page-hero { padding: 170px 0 82px; background: var(--ink); color: var(--paper); }
.page-hero h1 { max-width: 850px; font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: .06em; text-transform: uppercase; }
.page-hero .eyebrow { margin-top: 14px; color: #b9bbb3; }
.page-hero .eyebrow::before { display: block; width: 36px; height: 4px; margin-bottom: 10px; background: var(--yellow); content: ''; }
.page-hero p { max-width: 570px; margin-top: 22px; color: #b2b3aa; font-size: 1rem; }
.service-detail { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.service-detail aside { position: sticky; top: 32px; align-self: start; }
.service-detail article h2 { margin-bottom: 28px; font-size: clamp(1.7rem, 3vw, 2.25rem); letter-spacing: .07em; text-transform: uppercase; }
.service-detail article p { max-width: 680px; font-size: 1.12rem; }
.process-list { margin-top: 42px; border-top: 1px solid var(--line); }
.process-item { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.process-item b { color: var(--yellow-deep); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.contact-details { display: grid; gap: 24px; margin-top: 40px; }
.contact-details strong { display: block; margin-bottom: 4px; font-family: var(--display); }
.contact-form { padding: 38px; background: var(--white); border-top: 4px solid var(--yellow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; padding: 14px; background: transparent; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.form-status { min-height: 26px; margin-top: 14px; color: var(--yellow-deep); font-weight: 800; }
@media (max-width: 820px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 72px; }
  .logo, .logo img { width: 108px; height: 34px; }
  .header-actions { gap: 10px; }
  .header-actions .header-phone { font-size: 13px; line-height: 1; }
  .site-header.is-compact .header-inner { min-height: 58px; }
  .site-header.is-compact .logo, .site-header.is-compact .logo img { width: 106px; height: 34px; }
  .menu-toggle { display: grid; flex: 0 0 32px; place-items: center; }
  .nav { top: 76px; right: 16px; left: auto; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; }
  .hero { min-height: 920px; }
  .hero-content { padding: 120px 0 510px; }
  .hero-panels { right: 50%; bottom: 24px; width: min(calc(100% - 32px), 480px); margin: 0; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-panel { min-height: 0; padding: 0 12px 20px; }
  .hero-panel strong { font-size: .74rem; }
  .hero-panel-icon { top: 24px; width: 62px; height: 62px; font-size: 2.2rem; }
  .section { padding: 80px 0; }
  .section-head, .cta-band-inner { align-items: flex-start; flex-direction: column; }
  .intro-grid, .service-detail, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .services-grid, .feature-grid { grid-template-columns: 1fr; }
  .feature-grid { border-bottom: 0; }
  .feature { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(242,240,233,.24); }
  .service-card { min-height: 220px; }
  .service-number { margin-bottom: 35px; }
  .project-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .project-card:first-child { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 38px; }
  .footer-bottom { flex-direction: column; }
  .service-detail aside { position: static; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 520px) {
  h1 { font-size: 3rem; }
  .back-to-top { right: 16px; bottom: 16px; }
  .logo, .logo img { width: 96px; height: 31px; }
  .header-actions { gap: 6px; }
  .header-actions .header-phone { font-size: 12px; }
  .hero { min-height: 830px; }
  .hero-content { padding: 110px 0 390px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 0; }
  .contact-form { padding: 24px; }
  .hero-panels { width: calc(100% - 32px); gap: 8px; }
  .hero-panel { min-height: 0; padding: 0 6px 10px; }
  .hero-panel-icon { top: 14px; width: 48px; height: 48px; font-size: 1.6rem; }
  .hero-panel-icon img { width: 28px; height: 28px; }
  .hero-panel strong { font-size: .68rem; }
}
