.view-original {
  --navy: #1a3757;
  --navy-deep: #0d2640;
  --ink: #1a3757;
  --muted: rgba(26, 55, 87, 0.78);
  --navy-soft: rgba(26, 55, 87, 0.08);
  --navy-shadow: rgba(26, 55, 87, 0.18);
  --footer: #1a3757;
  --paper: #f8f9fc;
  --line: #e6e8ee;
  font-family: Poppins, sans-serif;
  color: var(--ink);
  background: #fff;
}

.view-original * { box-sizing: border-box; }
.view-original a { color: inherit; text-decoration: none; }
.view-original img { max-width: 100%; display: block; }
.view-original h1, .view-original h2, .view-original h3, .view-original p { margin: 0; }

.view-original .wrap {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.view-original .wrap-wide {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.o-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 36px;
  background: transparent;
}

.view-original a.o-logo {
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.o-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.o-nav a {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.o-nav a:hover { color: var(--navy-deep); }

.o-phones {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
  margin-left: auto;
  line-height: 1.2;
}

.o-phones a { white-space: nowrap; }

.o-phones small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6d7c8d;
}

.o-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.o-burger span,
.o-burger span:before,
.o-burger span:after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: absolute;
  left: 11px;
}

.o-burger span { top: 21px; }
.o-burger span:before { content: ""; top: -7px; }
.o-burger span:after { content: ""; top: 7px; }

.o-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 6vw;
  background: #f4f5f7;
  color: var(--navy);
}

.o-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero.jpg") center top / cover no-repeat;
  transform: scale(1.14);
  transform-origin: top center;
}

.o-hero-card {
  position: relative;
  z-index: 1;
  width: min(420px, 34vw);
  background: none;
  color: var(--navy);
  padding: 0;
}

.o-hero-card h1 {
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--navy);
}

.o-hero-card .lead,
.o-hero-card .sub {
  color: var(--navy);
}

.o-hero-card .lead {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.55;
}

.o-hero-card .sub {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
}

.view-original .o-hero a.o-btn {
  background: var(--navy);
  color: #fff;
}

.view-original .o-hero a.o-btn:hover { background: var(--navy-deep); }

.view-original .o-hero a.o-btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.view-original .o-hero a.o-btn-ghost:hover { background: var(--navy-soft); }

.o-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.view-original a.o-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}

.o-btn:hover { background: #eef3f8; }

.view-original a.o-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.o-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.view-original a.o-btn-navy {
  background: var(--navy);
  color: #fff;
}

.o-btn-navy:hover { background: var(--navy-deep); }

.o-section { padding: 110px 0; }
.o-section-paper { background: var(--paper); }
.o-center { text-align: center; }
.o-center h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.15; font-weight: 700; }

.o-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 48px;
  align-items: center;
}

.o-about h2 {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink);
}

.o-about h2 span {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.o-about p, .o-copy p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.o-slogan {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 4px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
}

.o-portrait {
  justify-self: end;
  align-self: end;
}

.o-portrait img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.o-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.o-card {
  padding: 28px 26px 30px;
  border-radius: 10px;
  background: transparent;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.o-card .ico {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--navy);
}

.o-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}

.o-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

@media (hover: hover) {
  .o-card:hover {
    background: var(--navy);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px var(--navy-shadow);
  }

  .o-card:hover .ico,
  .o-card:hover h3,
  .o-card:hover p { color: #fff; }
}

@media (max-width: 1200px) {
  .o-card {
    background: var(--navy);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px var(--navy-shadow);
  }
  .o-card .ico,
  .o-card h3,
  .o-card p { color: #fff; }
}

.o-gallery {
  background: var(--navy);
  color: #fff;
}

.o-gallery .wrap-wide {
  width: min(1536px, calc(100% - 48px));
}

.o-gallery .intro {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.o-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 22px;
  margin-top: 42px;
}

.o-shot { margin: 0; text-align: center; }

.o-shot img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: var(--navy-deep);
}

.o-shot figcaption {
  display: block;
  padding: 14px 8px 0;
  font-size: 16px;
  font-weight: 600;
}

.o-referral {
  background: #fff;
}

.o-referral-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.o-referral-box h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
}

.o-referral-box p {
  margin: 18px auto 0;
  max-width: 740px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.o-referral-box .o-actions { justify-content: center; }

.o-contact {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 760px;
  padding: 96px 0;
  overflow: hidden;
  color: #fff;
  background: #2e2d32;
}

.o-contact-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 48%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 16%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.28) 4%, rgba(0, 0, 0, 0.62) 9%, rgba(0, 0, 0, 0.9) 13%, #000 16%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.28) 4%, rgba(0, 0, 0, 0.62) 9%, rgba(0, 0, 0, 0.9) 13%, #000 16%);
}

.o-contact .wrap { position: relative; z-index: 2; }

.o-contact-copy {
  width: min(500px, 46%);
}

.o-contact h2 {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.15;
  font-weight: 700;
}

.o-contact .eyebrow {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 600;
}

.o-contact .lead {
  margin-top: 16px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.o-people {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.o-person {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.o-person strong { font-size: 20px; }
.o-person span { color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.o-person a { font-size: 18px; }
.o-person a:hover { text-decoration: underline; }

.o-contact .o-actions { margin-top: 28px; }

.o-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.7);
  padding: 22px 0 28px;
  font-size: 14px;
}

.o-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .o-nav { gap: 16px; }
  .o-nav a { font-size: 14px; }
  .o-phones { display: none; }
}

@media (max-width: 860px) {
  .o-burger { display: block; }
  .o-header { padding: 14px 16px; }
  .o-logo { font-size: 26px; }

  .o-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 70;
    width: min(360px, 100%);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: max(18px, env(safe-area-inset-top)) 8px 28px;
    background: #fff;
    overflow-y: auto;
    box-shadow: none;
  }

  .o-header.nav-open .o-nav {
    display: flex;
    animation: hope-drawer 0.22s ease;
  }
  .o-nav > a { font-size: 20px; min-height: 52px; }
  .o-nav a { display: flex; align-items: center; min-height: 44px; width: 100%; padding: 8px 16px; }
  .o-phones { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 12px 0 0; padding: 0 16px; }
  .o-phones a {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-height: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
  }
  .o-phones small { font-size: 20px; color: #6d7c8d; text-transform: none; letter-spacing: 0; }

  .o-hero {
    min-height: 100vh;
    align-items: flex-end;
    padding: 168px 16px 40px;
  }
  .o-hero::before {
    transform: none;
    background-position: 74% 8%;
  }
  .o-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0.94) 72%);
  }
  .o-hero-card { width: 100%; }
  .o-section { padding: 72px 0; }
  .o-about, .o-grid, .o-gallery-grid { grid-template-columns: 1fr; }
  .o-portrait { justify-self: center; width: min(280px, 86%); }
  .o-contact {
    display: block;
    min-height: 0;
    padding: 0 0 48px;
  }
  .o-contact-bg {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 460px;
    object-position: center 12%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .o-contact::before { display: none; }
  .o-contact .wrap { padding-top: 32px; }
  .o-contact-copy { width: 100%; }
  .o-center h2, .o-about h2, .o-contact h2 { font-size: 34px; }
}
