:root {
  --bg: #eef4f8;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #17324a;
  --muted: #5d7285;
  --accent: #0d6f8e;
  --accent-strong: #0a5770;
  --accent-soft: #d8eef5;
  --line: rgba(23, 50, 74, 0.1);
  --shadow: 0 20px 60px rgba(20, 52, 78, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(126, 194, 215, 0.55), transparent 32%),
    radial-gradient(circle at right 20%, rgba(168, 215, 197, 0.45), transparent 26%),
    linear-gradient(180deg, #f8fcfe 0%, var(--bg) 55%, #e8f0f4 100%);
}

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

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

a,
p,
dd,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

.page-shell {
  width: min(100%, calc(var(--content) + 48px));
  margin: 0 auto;
  padding: 24px;
}

.topbar {
  position: static;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 22px;
  margin-bottom: 0;
  background: rgba(13, 34, 51, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f4fbff;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.topnav a {
  color: rgba(244, 251, 255, 0.9);
  font-size: 0.95rem;
}

.section {
  margin-bottom: 28px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 34px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3,
strong {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.95;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-lead {
  max-width: 58ch;
  margin-top: 18px;
  font-size: 1.08rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.hero-tags span,
.contact-card span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: #f6fdff;
  background: linear-gradient(135deg, var(--accent), #3f90ad);
  box-shadow: 0 16px 34px rgba(13, 111, 142, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.contact-strip div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.contact-strip dt {
  margin-bottom: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-strip dd {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.portrait-card,
.mini-gallery img,
.media-card,
.video-panel,
.split-panel,
.service-card,
.stats article,
.contact-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.portrait-card {
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(216, 238, 245, 0.78));
  border-radius: 38px;
}

.portrait-card img,
.portrait-card video {
  width: 100%;
  border-radius: 26px;
  object-fit: cover;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative;
  z-index: 5;
}

.mini-gallery a {
  display: block;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 6;
}

.mini-gallery img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 20px;
  pointer-events: auto;
}

.stats,
.services-grid,
.contacts-grid,
.media-grid {
  display: grid;
  gap: 18px;
}

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

.stats article {
  padding: 24px;
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
}

.stats strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.32rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
}

.service-card p + p {
  margin-top: -4px;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
}

.service-card-repair img {
  object-position: center 70%;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.split-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 58px;
  margin-top: 18px;
}

.hero-socials a {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}

.hero-socials a:hover {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 28px 56px rgba(20, 52, 78, 0.26);
}

.hero-socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.split-panel,
.video-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list div {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f7fbfd, #edf6fa);
  border: 1px solid rgba(13, 111, 142, 0.12);
}

.feature-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.media-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.media-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface-strong);
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-card span {
  padding: 16px 18px 20px;
  font-weight: 700;
}

.video-panel video {
  width: 100%;
  border-radius: 20px;
  background: #102433;
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
}

.contact-card a {
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.45;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 16px;
  background: var(--accent-soft);
}

.social-links img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer {
  padding: 30px 18px 46px;
  text-align: center;
}

.footer p {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.hero-copy,
.hero-visual,
.section,
.service-card,
.media-card,
.stats article,
.contact-card,
.split-panel,
.video-panel {
  animation: rise-in 0.7s ease both;
}

.hero-visual {
  animation-delay: 0.08s;
}

.services-grid .service-card:nth-child(2),
.media-grid .media-card:nth-child(2),
.contacts-grid .contact-card:nth-child(2) {
  animation-delay: 0.12s;
}

.services-grid .service-card:nth-child(3),
.media-grid .media-card:nth-child(3),
.contacts-grid .contact-card:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero,
  .split-section,
  .services-grid,
  .stats,
  .contacts-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 14px;
  }

  .topbar {
    position: static;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 24px;
  }

  .topnav {
    justify-content: flex-start;
  }

  .brand {
    width: 100%;
    text-align: center;
    font-size: 1.35rem;
    letter-spacing: 0.1em;
  }

  .section {
    padding: 22px 16px;
    border-radius: 26px;
  }

  .hero,
  .split-section,
  .services-grid,
  .stats,
  .contacts-grid,
  .media-grid,
  .contact-strip {
    grid-template-columns: 1fr;
  }
  .mini-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: relative;
  z-index: 5;
}

  .mini-gallery img {
    height: 96px;
    pointer-events: auto;
}

  .portrait-card,
  .split-panel,
  .video-panel,
  .contact-card,
  .service-card {
    padding: 16px;
    border-radius: 22px;
  }

  .portrait-card video,
  .video-panel video {
    border-radius: 18px;
  }

  .hero-copy {
    gap: 14px;
  }

  .hero-lead {
    margin-top: 12px;
    font-size: 1rem;
  }

  .hero-tags {
    display: none;
  }

  .hero-socials {
    gap: 22px;
    margin: 8px 0 2px;
  }

  .hero-socials a {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .hero-tags span,
  .contact-card span {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 10px 12px;
  }

  .contact-strip div {
    padding: 16px;
  }

  .social-links a {
    width: 56px;
    height: 56px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .services-grid,
  .contacts-grid {
    gap: 14px;
  }

  .service-card img {
    border-radius: 16px;
  }

  .contact-card {
    gap: 12px;
  }

  .social-links {
    justify-content: center;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.3rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1.28rem;
  }

  p,
  .contact-card a,
  .contact-strip dd {
    font-size: 0.98rem;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-shell {
    padding: 10px;
  }

  .topbar {
    padding: 12px 14px;
    border-radius: 20px;
  }

  .brand {
    font-size: 1.16rem;
    letter-spacing: 0.08em;
  }

  .section {
    padding: 18px 14px;
    margin-bottom: 18px;
    border-radius: 22px;
  }

  .hero {
    gap: 22px;
  }

  .hero-socials {
    gap: 14px;
  }

  .hero-socials a {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .mini-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    position: relative;
  z-index: 5;
}
  .mini-gallery img {
    height: 84px;
    pointer-events: auto;
}

  .hero-tags span,
  .contact-card span {
    font-size: 0.85rem;
  }

  .contact-strip {
    gap: 10px;
  }

  .contact-strip div,
  .feature-list div,
  .service-card,
  .contact-card,
  .split-panel,
  .video-panel,
  .portrait-card {
    padding: 14px;
  }

  .social-links a {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
}


#services {
  scroll-margin-top: 20px;
}







@media (min-width: 761px) {
  #digitizing {
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
    align-items: center;
  }

  #digitizing .split-copy {
    justify-content: center;
  }

  #digitizing .eyebrow {
    margin-top: -160px;
    margin-bottom: 56px;
  }

  #digitizing .video-panel {
    padding: 14px;
  }
}









@media (min-width: 1101px) {
  .hero {
    grid-template-columns: minmax(360px, 0.98fr) minmax(0, 1.02fr);
  }

  .portrait-card {
    padding: 22px;
  }

  .hero-tags {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-tags span {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.84rem;
    justify-content: center;
    text-align: center;
  }

}

