:root {
  --red: #d50b15;
  --red-dark: #ad0710;
  --ink: #111111;
  --muted: #676767;
  --paper: #ffffff;
  --soft: #f5f5f5;
  --line: #e7e7e7;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.09);
  --radius: 26px;
  --max: 1240px;
}

* { 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.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; object-fit: cover; }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.eyebrow { color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.display {
  margin: 14px 0 18px;
  font-size: clamp(2.65rem, 6vw, 6.2rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 850;
}
.section-title {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #454545; max-width: 760px; }
.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(0,0,0,.06);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand { display: inline-flex; align-items: baseline; gap: 11px; white-space: nowrap; }
.brand-kdr { color: var(--red); font-size: 1.9rem; font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.brand-sub { color: var(--red); font-size: .72rem; font-weight: 700; letter-spacing: .24em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .92rem; font-weight: 650; }
.nav-links a { position: relative; padding: 28px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 19px;
  height: 2px;
  background: var(--red);
  transition: right .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.header-cta {
  border: 1px solid var(--red);
  color: var(--red);
  padding: 12px 18px !important;
  border-radius: 999px;
}
.header-cta::after { display: none; }
.header-cta:hover { background: var(--red); color: white; }
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  padding: 10px 0;
}

.hero { padding: 68px 0 52px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center; }
.hero-copy p { max-width: 670px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 800;
  font-size: .91rem;
  transition: .2s ease;
}
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn-light:hover { background: var(--ink); color: white; transform: translateY(-2px); }
.hero-media { position: relative; }
.hero-media img { height: 630px; border-radius: 38px; box-shadow: var(--shadow); }
.hero-note {
  position: absolute;
  left: -34px;
  bottom: 34px;
  width: 245px;
  background: var(--red);
  color: white;
  padding: 22px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.hero-note strong { display: block; font-size: 1.45rem; line-height: 1.15; margin-bottom: 7px; }
.hero-note span { font-size: .87rem; opacity: .88; }

.stats { padding: 8px 0 75px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 31px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--red); font-size: 2rem; letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: .9rem; }

.section { padding: 105px 0; }
.section-soft { background: var(--soft); }
.section-red { background: var(--red); color: white; }
.section-red .muted, .section-red .lead { color: rgba(255,255,255,.77); }
.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-head > * { max-width: 760px; }

.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.split-media img { height: 560px; border-radius: var(--radius); box-shadow: var(--shadow); }
.copy-stack p { color: #505050; }
.copy-stack .big-copy { color: var(--ink); font-size: 1.35rem; line-height: 1.5; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card img { height: 235px; }
.card-body { padding: 26px; }
.card-body .number { color: var(--red); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.card-body h3 { font-size: 1.45rem; line-height: 1.15; margin: 10px 0 12px; }
.card-body p { color: var(--muted); margin: 0; font-size: .95rem; }
.text-link { display: inline-block; margin-top: 18px; color: var(--red); font-weight: 800; font-size: .9rem; }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.project-card { position: relative; overflow: hidden; border-radius: 28px; min-height: 390px; }
.project-card:nth-child(1), .project-card:nth-child(4) { grid-column: span 7; }
.project-card:nth-child(2), .project-card:nth-child(3) { grid-column: span 5; }
.project-card img { height: 100%; position: absolute; inset: 0; transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.035); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(0,0,0,.82)); }
.project-caption { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 24px; color: white; }
.project-caption small { display: block; opacity: .72; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.project-caption h3 { margin: 7px 0 0; font-size: 1.6rem; line-height: 1.15; }

.steps { counter-reset: step; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 80px 1fr 1.3fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.step-num { color: var(--red); font-weight: 900; }
.step h3 { margin: 0; font-size: 1.4rem; }
.step p { margin: 0; color: var(--muted); }

.quote-band { padding: 88px 0; }
.quote-box { background: var(--ink); color: white; padding: 58px; border-radius: 34px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: center; }
.quote-box h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.03; letter-spacing: -.04em; margin: 0; }
.quote-box p { color: #bfbfbf; margin-bottom: 24px; }

.page-hero { padding: 92px 0 62px; border-bottom: 1px solid var(--line); }
.page-hero .display { max-width: 1050px; }
.page-hero .lead { max-width: 850px; }

.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.editorial-block { padding: 40px; border-radius: 26px; border: 1px solid var(--line); background: #fff; }
.editorial-block h3 { margin-top: 0; font-size: 1.5rem; }
.editorial-block p { color: var(--muted); }

.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 62px 0; border-bottom: 1px solid var(--line); }
.service-detail:nth-child(even) .service-image { order: 2; }
.service-image img { height: 430px; border-radius: 28px; }
.service-copy h2 { font-size: 2.25rem; margin: 0 0 18px; letter-spacing: -.03em; }
.service-copy p { color: var(--muted); }
.service-copy ul { padding-left: 18px; }
.service-copy li { margin: 7px 0; }

.project-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-item { border-radius: 24px; overflow: hidden; background: var(--soft); }
.project-item img { height: 285px; }
.project-item .card-body { min-height: 190px; }

.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 46px; align-items: start; }
.contact-card { background: var(--ink); color: white; border-radius: 30px; padding: 38px; position: sticky; top: 110px; }
.contact-card h2 { font-size: 2rem; margin-top: 0; }
.contact-card p { color: #bfbfbf; }
.contact-lines { margin-top: 32px; }
.contact-lines div { padding: 19px 0; border-top: 1px solid #333; }
.contact-lines strong { display: block; color: white; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.contact-lines span, .contact-lines a { color: #c8c8c8; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 750; font-size: .88rem; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 15px;
  background: white;
  padding: 14px 15px;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(213,11,21,.08); }
.field textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; min-height: 22px; color: var(--red); font-weight: 700; }

.legal { max-width: 900px; }
.legal h2 { margin-top: 42px; font-size: 1.55rem; }
.legal p, .legal li { color: #555; }

.site-footer { background: #0d0d0d; color: white; padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 55px; }
.footer-brand p { color: #9d9d9d; max-width: 460px; }
.footer-col strong { display: block; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; color: #a8a8a8; margin: 9px 0; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 30px; margin-top: 42px; border-top: 1px solid #282828; color: #777; font-size: .82rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .nav-links { display: none; position: absolute; top: 82px; left: 0; right: 0; background: white; padding: 18px 20px 26px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; }
  .nav-links a::after { display: none; }
  .header-cta { text-align: center; margin-top: 8px; }
  .menu-toggle { display: block; }
  .hero-grid, .split, .contact-grid, .quote-box { grid-template-columns: 1fr; }
  .hero-media img { height: 520px; }
  .hero-note { left: 18px; }
  .service-grid, .project-list { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .project-card, .project-card:nth-child(n) { grid-column: span 6; }
  .contact-card { position: static; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 72px; }
  .nav-links { top: 72px; }
  .brand-kdr { font-size: 1.55rem; }
  .brand-sub { font-size: .62rem; }
  .hero { padding-top: 42px; }
  .hero-grid { gap: 32px; }
  .hero-media img { height: 420px; border-radius: 28px; }
  .hero-note { position: relative; left: auto; bottom: auto; width: auto; margin: -50px 18px 0; }
  .section { padding: 78px 0; }
  .section-head { display: block; margin-bottom: 32px; }
  .split { gap: 32px; }
  .split-media img { height: 390px; }
  .service-grid, .project-list, .editorial-grid, .form { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-note, .form-status { grid-column: auto; }
  .project-card, .project-card:nth-child(n) { grid-column: span 12; min-height: 350px; }
  .step { grid-template-columns: 48px 1fr; }
  .step p { grid-column: 2; }
  .quote-box { padding: 32px; }
  .service-detail { grid-template-columns: 1fr; gap: 24px; padding: 42px 0; }
  .service-detail:nth-child(even) .service-image { order: 0; }
  .service-image img { height: 330px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* KDR contact details */
.contact-lines a { color: inherit; text-decoration: none; }
.contact-lines a:hover { color: var(--red); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.footer-address span { display: block; max-width: 360px; line-height: 1.6; color: var(--muted); }
@media (max-width: 720px) { .contact-actions .btn { width: 100%; text-align: center; } }
