@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #ff7f50;
  --dark: #1e213d;
  --dark-soft: #2b2f55;
  --paper: #fffaf7;
  --white: #ffffff;
  --muted: #70748c;
  --line: rgba(30, 33, 61, .12);
  --primary-soft: rgba(255, 127, 80, .12);
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --shadow-soft: 0 18px 60px rgba(30, 33, 61, .07);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-main);
  color: var(--dark);
  background:
    linear-gradient(90deg, rgba(30, 33, 61, .045) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(rgba(30, 33, 61, .045) 1px, transparent 1px) 0 0 / 42px 42px,
    var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 3px solid rgba(255, 127, 80, .55);
  outline-offset: 5px;
}

.construction-page {
  width: min(1160px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2.5rem) 0;
  display: grid;
  grid-template-columns: minmax(248px, 330px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 5rem);
}

.visual-sidebar {
  min-height: calc(100vh - 5rem);
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .82);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.brand {
  display: block;
  padding: .25rem;
  border-radius: var(--radius-md);
}

.brand__logo {
  width: min(250px, 100%);
  height: auto;
}

.avatar-stack {
  display: grid;
  gap: .9rem;
}

.avatar-card {
  position: relative;
  min-height: 138px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  align-items: end;
  transition: transform .22s ease, border-color .22s ease, background-color .22s ease;
}

.avatar-card::after {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 34px;
  height: 34px;
  border: 7px solid rgba(255, 127, 80, .14);
  border-radius: 50%;
}

.avatar-card:hover,
.avatar-card--active {
  transform: translateY(-3px);
  border-color: rgba(255, 127, 80, .45);
  background: var(--primary-soft);
}

.avatar-card img {
  position: relative;
  z-index: 1;
  width: 132px;
  align-self: end;
  margin-left: -.05rem;
}

.avatar-card span {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: start;
  padding: .48rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.byline {
  margin: 0;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  text-align: center;
}

.content-panel {
  position: relative;
  padding: clamp(1.15rem, 4vw, 3rem);
}

.content-panel::before {
  content: "";
  position: absolute;
  right: clamp(.75rem, 3vw, 2.4rem);
  top: clamp(.4rem, 2vw, 1rem);
  width: 92px;
  height: 92px;
  border: 14px solid rgba(255, 127, 80, .13);
  border-radius: 50%;
  pointer-events: none;
}

.status-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  padding: .58rem .86rem;
  border: 1px solid rgba(255, 127, 80, .3);
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: .84rem;
  font-weight: 800;
}

.status-pill span {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(255, 127, 80, .12);
}

h1 {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--dark);
  font-size: clamp(2.75rem, 6.8vw, 6.4rem);
  line-height: .92;
  letter-spacing: -.075em;
}

.lead {
  max-width: 620px;
  margin: 1.25rem 0 0;
  color: var(--dark-soft);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.75;
}

.quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 50px;
  padding: .85rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--outline {
  border-color: var(--line);
  background: rgba(255, 255, 255, .72);
  color: var(--dark);
}

.btn--outline:hover {
  border-color: rgba(255, 127, 80, .45);
  background: var(--white);
}

.sites {
  margin-top: clamp(2rem, 5vw, 3.25rem);
}

.sites h2 {
  margin: 0 0 .9rem;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  max-width: 640px;
}

.site-card {
  min-height: 104px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .78);
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  align-items: center;
  gap: .85rem;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.site-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 127, 80, .42);
  background: var(--white);
}

.site-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--dark);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-icon svg,
.site-arrow {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-copy {
  min-width: 0;
  display: grid;
  gap: .18rem;
}

.site-copy strong {
  font-size: .97rem;
  font-weight: 800;
}

.site-copy small {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
}

.site-arrow {
  color: var(--primary);
}

@media (max-width: 860px) {
  .construction-page {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 1rem 0 1.5rem;
  }

  .visual-sidebar {
    min-height: auto;
    order: 2;
  }

  .content-panel {
    order: 1;
    padding: 1.25rem .2rem 0;
  }

  .avatar-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .avatar-card {
    min-height: 165px;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .avatar-card img {
    width: min(120px, 88%);
    margin-left: 0;
  }

  .avatar-card span {
    margin: 0 0 .75rem;
    justify-self: center;
  }
}

@media (max-width: 620px) {
  body {
    background:
      linear-gradient(90deg, rgba(30, 33, 61, .04) 1px, transparent 1px) 0 0 / 34px 34px,
      linear-gradient(rgba(30, 33, 61, .04) 1px, transparent 1px) 0 0 / 34px 34px,
      var(--paper);
  }

  .construction-page {
    width: min(100% - 20px, 1160px);
  }

  .content-panel::before {
    width: 58px;
    height: 58px;
    border-width: 10px;
  }

  h1 {
    font-size: clamp(2.45rem, 15vw, 4.4rem);
  }

  .lead {
    font-size: 1rem;
  }

  .quick-contact,
  .site-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn,
  .site-card {
    width: 100%;
  }

  .avatar-stack {
    grid-template-columns: 1fr;
  }

  .avatar-card {
    min-height: 126px;
    grid-template-columns: 118px 1fr;
    justify-items: start;
    text-align: left;
  }

  .avatar-card img {
    width: 124px;
  }

  .avatar-card span {
    align-self: center;
    justify-self: start;
    margin: 0;
  }
}

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