:root {
  --red: #e61e25;
  --red-dark: #b71218;
  --yellow: #ffc400;
  --ink: #161616;
  --muted: #686868;
  --line: #e7e7e7;
  --paper: #ffffff;
  --soft: #f5f5f3;
  --radius: 24px;
  --shadow: 0 18px 55px rgba(0,0,0,.10);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 104px 0; }

.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1200; pointer-events: none;
}
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--yellow), var(--red)); }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-logo { width: 154px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { text-decoration: none; font-weight: 750; font-size: .95rem; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--soft); cursor: pointer; padding: 12px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s ease; }

.hero { position: relative; min-height: 720px; display: flex; align-items: center; background: radial-gradient(circle at 15% 10%, #fff7cf 0, transparent 28%), linear-gradient(180deg, #fff 0%, #f7f7f5 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: center; position: relative; z-index: 2; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 6px; background: var(--red); transform: skewX(-24deg); box-shadow: 10px 0 0 var(--yellow); }
.hero h1 { font-size: clamp(3rem, 6.3vw, 6.2rem); line-height: .98; letter-spacing: -.06em; margin: 24px 0; max-width: 820px; }
.hero h1 strong { color: var(--red); font-weight: 900; display: block; }
.hero-subtitle { display: block; margin-top: 14px; font-size: clamp(1.15rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: .01em; color: var(--ink); font-weight: 850; }
.hero-services { max-width: 760px; color: var(--muted); font-size: 1.08rem; margin: 0; }
.hero-actions, .contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 14px; font-weight: 850; text-decoration: none; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 12px 28px rgba(230,30,37,.22); }
.btn-primary:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; border-color: #d8d8d8; }
.hero-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; max-width: 760px; }
.hero-mini-grid div { padding: 16px 18px; border: 1px solid var(--line); background: rgba(255,255,255,.82); border-radius: 16px; }
.hero-mini-grid b { display: block; font-size: .95rem; }
.hero-mini-grid span { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.hero-card { background: #fff; border-radius: 34px; box-shadow: var(--shadow); padding: 24px; position: relative; overflow: hidden; border: 1px solid rgba(0,0,0,.06); }
.hero-card-top { min-height: 245px; display: grid; place-items: center; background: linear-gradient(145deg, #fff, #f3f3f3); border-radius: 24px; }
.hero-card-top img { width: min(70%, 280px); }
.hero-card-content { padding: 26px 10px 8px; }
.hero-card-content .label { color: var(--red); font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; }
.hero-card-content h2 { margin: 8px 0 6px; font-size: 1.7rem; line-height: 1.15; }
.hero-card-content p { color: var(--muted); margin: 0; }
.service-stacks { position: absolute; right: 18px; top: 18px; width: 110px; height: 90px; opacity: .95; }
.stack { position: absolute; width: 56px; height: 42px; transform: skewX(-18deg) rotate(-10deg); }
.stack-red { background: var(--red); left: 0; top: 25px; }
.stack-yellow { background: var(--yellow); left: 34px; top: 4px; }
.stack-dark { background: var(--red-dark); right: 2px; bottom: 7px; width: 28px; height: 25px; }
.hero-shape { position: absolute; border-radius: 32px; transform: rotate(24deg); opacity: .08; }
.hero-shape-a { width: 380px; height: 180px; background: var(--red); right: -120px; top: 95px; }
.hero-shape-b { width: 300px; height: 130px; background: var(--yellow); right: -40px; bottom: 35px; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-head h2, .contact-copy h2, .specialty-intro h2 { margin: 8px 0 0; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.03; letter-spacing: -.045em; }
.section-head p { max-width: 500px; color: var(--muted); margin: 0; }
.kicker { color: var(--red); }
.kicker.light { color: var(--yellow); }
.services { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { min-height: 190px; background: var(--soft); border: 1px solid var(--line); border-radius: 22px; padding: 24px; position: relative; overflow: hidden; transition: transform .24s ease, box-shadow .24s ease, background .24s ease; }
.service-card:hover { transform: translateY(-7px); background: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.09); }
.service-card .num { color: var(--red); font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.service-card h3 { margin: 34px 0 0; font-size: 1.25rem; line-height: 1.15; }
.service-card i { position: absolute; width: 70px; height: 10px; background: var(--yellow); right: -14px; bottom: 18px; transform: skewX(-28deg); box-shadow: -18px -14px 0 var(--red); opacity: .9; }

.specialties { background: #171717; color: #fff; position: relative; overflow: hidden; }
.specialties::after { content: ""; position: absolute; width: 320px; height: 320px; border: 80px solid rgba(230,30,37,.12); border-radius: 50%; right: -110px; top: -70px; }
.specialties-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; position: relative; z-index: 1; }
.specialty-intro h2 { max-width: 520px; }
.accent-line { width: 180px; height: 6px; background: var(--red); margin-top: 30px; }
.accent-line span { display: block; width: 62px; height: 100%; background: var(--yellow); margin-left: 42px; }
.specialty-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.16); }
.specialty-list div { padding: 22px 18px 22px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.specialty-list strong, .specialty-list span { display: block; }
.specialty-list strong { font-size: 1.05rem; }
.specialty-list span { color: #bfbfbf; font-size: .9rem; margin-top: 4px; }

.gallery { background: linear-gradient(180deg, #fff 0%, #f7f7f5 100%); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gallery-item { appearance: none; display: block; width: 100%; padding: 0; border: 1px solid rgba(0,0,0,.15); border-radius: 26px; overflow: hidden; background: #fff; cursor: zoom-in; position: relative; box-shadow: 0 16px 38px rgba(0,0,0,.08); isolation: isolate; }
.gallery-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 34px rgba(255,255,255,.36); pointer-events: none; }
.gallery-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.zoom-mark { position: absolute; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); font-size: 1.6rem; font-weight: 500; box-shadow: 0 8px 20px rgba(0,0,0,.12); z-index: 2; }

.identity-strip { padding: 34px 0; background: var(--red); color: #fff; border-top: 7px solid var(--yellow); }
.identity-wrap { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.identity-wrap > div span, .identity-wrap > div strong { display: block; }
.identity-wrap > div span { font-size: 1.4rem; font-weight: 950; letter-spacing: .08em; }
.identity-wrap > div strong { font-size: .85rem; }
.identity-wrap p { margin: 0; max-width: 800px; font-weight: 750; }

.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 72px; align-items: center; }
.contact-copy p { color: var(--muted); max-width: 600px; }
.contact-card { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.contact-card-head { min-height: 190px; display: grid; place-items: center; background: linear-gradient(145deg, #f8f8f8, #fff); border-bottom: 6px solid var(--red); position: relative; }
.contact-card-head::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 34%; height: 6px; background: var(--yellow); }
.contact-card-head img { width: 200px; }
dl { margin: 0; padding: 10px 28px 24px; }
dl div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
dl div:last-child { border-bottom: 0; }
dt { font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
dd { margin: 0; font-weight: 760; word-break: break-word; }
dd a { text-decoration: none; }

.site-footer { background: #111; color: #fff; padding: 48px 0; border-top: 6px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 220px 1fr; gap: 60px; align-items: center; }
.footer-brand { background: #fff; border-radius: 18px; padding: 14px; }
.footer-brand img { width: 190px; margin: auto; }
.footer-info { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-info p { margin: 0; color: #d6d6d6; }
.footer-info a { text-decoration: none; color: #fff; }

.back-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.25rem; cursor: pointer; z-index: 900; box-shadow: 0 12px 28px rgba(0,0,0,.2); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s ease; }
.back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lightbox { position: fixed; inset: 0; z-index: 1500; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 34px; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(960px, 92vw); max-height: 88vh; object-fit: contain; border-radius: 16px; box-shadow: 0 22px 70px rgba(0,0,0,.35); }
.lightbox-close { position: fixed; top: 20px; right: 24px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: #111; font-size: 1.9rem; line-height: 1; cursor: pointer; }

.reveal { opacity: 1; transform: none; animation: reveal-in .62s ease both; }
.delay-1 { animation-delay: .10s; }
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .section-pad { padding: 82px 0; }
  .hero { min-height: auto; }
  .hero-grid, .specialties-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-card { max-width: 650px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { align-items: start; flex-direction: column; gap: 14px; }
  .identity-wrap { align-items: flex-start; flex-direction: column; gap: 14px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--max)); }
  .nav-wrap { min-height: 74px; }
  .brand-logo { width: 132px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: calc(100% + 1px); left: 14px; right: 14px; display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: 0 20px 55px rgba(0,0,0,.14); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: .22s ease; }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 13px 12px; }
  .main-nav a::after { display: none; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section-pad { padding: 68px 0; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4.5rem); }
  .hero-grid { gap: 34px; }
  .hero-mini-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 16px; border-radius: 26px; }
  .hero-card-top { min-height: 210px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 150px; }
  .specialty-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { aspect-ratio: auto; object-fit: contain; background: #efefef; }
  .contact-actions .btn { width: 100%; }
  dl { padding-inline: 20px; }
  dl div { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-brand { width: 210px; }
  .footer-info { display: grid; gap: 8px; }
}

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