.ap-toast { margin: 0 0 16px; }
.ap-toast.is-ok { background: #15803d; color: #fff; }
.ap-toast.is-err { background: #be123c; color: #fff; }
.ap-modal[hidden], .lightbox[hidden], .ap-backdrop[hidden], .ap-user-menu[hidden],
[data-category][hidden], [data-category].is-off, .gallery-card[hidden], .gallery-card.is-off,
.portfolio-item[hidden], .portfolio-item.is-off,
[data-lib-item][hidden], [data-panel][hidden] { display: none !important; }

.ap-user-menu form button {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
}

.ap-filters a {
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #334155;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ap-filters a.is-active {
  background: #111827;
  color: #fff;
}

.ap-pager a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  display: grid;
  place-items: center;
}

.ap-pager a.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.ap-actions form {
  display: inline;
  margin: 0;
}

.ap-actions .ap-soft-btn,
.ap-actions .ap-danger-btn {
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.ap-inquiry {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.ap-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: #178dcb;
}

.ap-search button,
.ap-lib-search input[type="search"] {
  font: inherit;
}

.ap-cat-actions form {
  display: inline;
}

.ap-stats {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.ap-filters em {
  font-style: normal;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #e8f3f9;
  font-size: 11px;
  font-weight: 700;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(23, 141, 203, 0.12);
  color: #0b6b9c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero.hero-home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 108px 0 36px;
  background:
    radial-gradient(circle at 82% 28%, rgba(23, 141, 203, .22), transparent 28%),
    radial-gradient(circle at 8% 18%, rgba(115, 195, 229, .35), transparent 32%),
    linear-gradient(180deg, #d9eef8 0%, #f4fafd 42%, #ffffff 100%);
  overflow: hidden;
}

.hero.hero-home::before {
  display: none;
}

.hero.hero-home .container.hero-grid {
  width: min(1320px, 94%);
  flex: 1 1 auto;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: 6%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 141, 203, .28), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: 36px 56px;
  align-items: center;
  width: 100%;
  min-height: calc(100vh - 150px);
}

.hero-copy {
  max-width: 620px;
  z-index: 2;
}

.hero.hero-home h1 {
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.hero.hero-home p {
  font-size: 1.18rem;
  max-width: 34rem;
  color: #3d4b5c;
  margin-bottom: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
  max-width: 420px;
}

.hero-metrics div {
  padding: 14px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid #d7e8f2;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.hero-metrics strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
  color: #0b3b5c;
}

.hero-metrics span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #5b6b7c;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  z-index: 2;
}

.hero-mosaic {
  position: relative;
  height: 620px;
}

.hero-shot {
  position: absolute;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
  border: 5px solid #fff;
  background: #cfe6f2;
}

.hero-shot-a {
  width: 72%;
  height: 390px;
  right: 0;
  top: 18px;
  z-index: 2;
}

.hero-shot-b {
  width: 46%;
  height: 230px;
  left: 0;
  top: 248px;
  z-index: 4;
  transform: rotate(-6deg);
}

.hero-shot-c {
  width: 38%;
  height: 180px;
  right: 4%;
  bottom: 28px;
  z-index: 5;
  transform: rotate(6deg);
}

.hero-shot-d {
  width: 28%;
  height: 150px;
  left: 8%;
  top: 36px;
  z-index: 3;
  transform: rotate(-8deg);
}

.hero-shot-e {
  width: 24%;
  height: 120px;
  right: 28%;
  bottom: 8px;
  z-index: 4;
  transform: rotate(4deg);
}

.hero-chip {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  color: #0b3b5c;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.hero-chip i { color: #178dcb; }
.hero-chip-a { right: 10%; top: 8px; }
.hero-chip-b { left: 8%; top: 232px; }

.hero-badge {
  position: absolute;
  left: 0;
  bottom: 18px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #0b3b5c;
  color: #fff;
  box-shadow: 0 16px 40px rgba(11, 59, 92, 0.28);
}

.hero-badge strong {
  font-size: 1.45rem;
  line-height: 1;
  white-space: nowrap;
}

.hero-badge span {
  font-size: 13px;
  font-weight: 600;
  max-width: 9.5rem;
  line-height: 1.3;
  color: #d6eaf6;
}

@media (max-width: 992px) {
  .hero.hero-home {
    text-align: left;
    min-height: auto;
    padding: 128px 0 48px;
  }
  .hero.hero-home .hero-btns {
    justify-content: flex-start;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 28px;
  }
  .hero-stage,
  .hero-mosaic {
    min-height: 430px;
    height: 430px;
  }
  .hero-shot-a { height: 270px; width: 74%; }
  .hero-shot-b { height: 170px; top: 170px; }
  .hero-shot-c { height: 140px; }
  .hero-shot-d { height: 110px; }
  .hero-shot-e { display: none; }
  .hero-glow { display: none; }
}

@media (max-width: 640px) {
  .hero.hero-home h1 { font-size: 2.35rem; }
  .hero-metrics { max-width: 100%; }
  .hero-badge { left: 4px; bottom: 8px; padding: 10px 12px; }
  .hero-chip-b { display: none; }
}

.more-toggle {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #0b6b9c;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.more-toggle:hover {
  text-decoration: underline;
}

.about-extra {
  margin: 8px 0 18px;
}

.about-extra[hidden] {
  display: none !important;
}

.has-drop {
  position: relative;
}

.has-drop > a i {
  font-size: 11px;
  margin-left: 4px;
}

.navbar .nav-links > li.has-drop > .nav-drop {
  display: block;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1100;
}

.navbar .nav-links > li.has-drop:hover > .nav-drop,
.navbar .nav-links > li.has-drop.is-open > .nav-drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-drop a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
}

.nav-drop a:hover,
.nav-drop a.is-on {
  background: #f1f7fb;
  color: #0b6b9c;
}

.nav-links .has-drop > a::after {
  display: none;
}

.service-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #0b6b9c;
  font-weight: 700;
  font-size: 14px;
}

.service-side-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.service-side-list a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f6;
  font-weight: 600;
}

.service-side-list a.is-on {
  color: #0b6b9c;
}

.gallery-pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 8px;
}

.gallery-page-btn {
  min-width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #eef4f8;
  color: #0f172a;
  font-weight: 700;
  cursor: pointer;
}

.gallery-page-btn.is-on,
.gallery-page-btn:hover:not(:disabled) {
  background: #0b6b9c;
  color: #fff;
}

.gallery-page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.ap-order-btns {
  display: flex;
  gap: 6px;
  margin: 8px 0;
}

.ap-order-btns .ap-soft-btn {
  width: 36px;
  padding: 0;
}

.ap-settings select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d7e0ea;
  border-radius: 12px;
  padding: 0 12px;
  font: inherit;
  background: #fff;
}

.g-recaptcha {
  margin: 8px 0 16px;
}

@media (max-width: 992px) {
  .navbar .nav-links > li.has-drop > .nav-drop {
    display: none;
    position: static;
    transform: none;
    left: auto;
    top: auto;
    min-width: 0;
    box-shadow: none;
    background: #f8fafc;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .navbar .nav-links > li.has-drop.is-open > .nav-drop {
    display: block;
  }
  .nav-links.active {
    max-height: 80vh;
    overflow: auto;
  }
}

.service-card-cover {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.service-card-media {
  display: block;
  height: 180px;
  overflow: hidden;
}

.service-card-media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.service-card-ph {
  display: grid;
  place-items: center;
  height: 100%;
  background: linear-gradient(135deg, #d9eef8, #f4fafd);
  color: #178dcb;
  font-size: 42px;
}

.svc-more-ph {
  display: grid;
  place-items: center;
  height: 170px;
  background: linear-gradient(135deg, #d9eef8, #eef7fc);
  color: #178dcb;
  font-size: 36px;
}

.svc-hero-grid.is-plain {
  grid-template-columns: 1fr;
}

.svc-mosaic-1 .svc-shot-a {
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  transform: none;
}

.svc-mosaic-2 .svc-shot-a {
  width: 72%;
  height: 78%;
}

.svc-mosaic-2 .svc-shot-b {
  bottom: 12px;
  top: auto;
}

.service-card-body {
  display: block;
  padding: 24px 26px 28px;
}

.service-card-cover .service-card-body i {
  font-size: 28px;
  margin-bottom: 12px;
}

.hero.service-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: auto;
  padding: 132px 0 28px;
  background:
    radial-gradient(circle at 82% 28%, rgba(23, 141, 203, .22), transparent 28%),
    radial-gradient(circle at 8% 18%, rgba(115, 195, 229, .35), transparent 32%),
    linear-gradient(180deg, #d9eef8 0%, #f4fafd 42%, #ffffff 100%);
  overflow: hidden;
}

.hero.service-hero::before {
  display: none;
}

.hero.service-hero .container.svc-hero-grid {
  width: min(1320px, 94%);
  margin-left: auto;
  margin-right: auto;
}

.svc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 28px 28px;
  align-items: center;
}

.hero.service-hero .container.svc-hero-grid.is-plain,
.svc-hero-grid.is-plain {
  grid-template-columns: 1fr;
}

.hero.service-hero .hero-btns {
  flex-wrap: wrap;
}

.svc-copy {
  max-width: 34rem;
  min-width: 0;
  z-index: 2;
}

.hero.service-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.svc-lead {
  font-size: 1.35rem !important;
  font-weight: 700;
  color: #0b3b5c !important;
  margin-bottom: 10px !important;
}

.hero.service-hero p {
  max-width: 36rem;
}

.svc-stage {
  position: relative;
  min-width: 0;
  min-height: 460px;
  z-index: 2;
}

.svc-mosaic {
  position: relative;
  height: 460px;
  margin-right: 8px;
}

.svc-shot {
  position: absolute;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
  border: 5px solid #fff;
  background: #cfe6f2;
}

.svc-shot-a {
  width: 70%;
  height: 340px;
  right: 6%;
  top: 28px;
  z-index: 2;
}

.svc-shot-b {
  width: 44%;
  height: 200px;
  left: 2%;
  top: 236px;
  z-index: 4;
  transform: rotate(-5deg);
}

.svc-shot-c {
  width: 34%;
  height: 150px;
  right: 12%;
  bottom: 18px;
  z-index: 5;
  transform: rotate(4deg);
}

.svc-mosaic .hero-chip {
  right: 8%;
  top: 8px;
  left: auto;
  bottom: auto;
}

.svc-body {
  background: #fff;
}

.svc-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 40px;
  align-items: start;
}

.svc-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.svc-points article {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #f4fafd;
  border: 1px solid #dbeaf3;
}

.svc-points i {
  color: #178dcb;
  margin-top: 3px;
}

.svc-points p {
  margin: 0;
  font-weight: 600;
  color: #1e293b;
}

.svc-panel {
  background: #0b3b5c;
  color: #fff;
  border-radius: 24px;
  padding: 28px 26px;
  box-shadow: 0 20px 50px rgba(11, 59, 92, 0.2);
}

.svc-panel h3 {
  color: #fff;
  margin-bottom: 18px;
}

.svc-flow {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.svc-flow li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.svc-flow strong {
  color: #73c3e5;
  font-size: 13px;
}

.svc-panel .btn-primary {
  width: 100%;
  justify-content: center;
}

.svc-work {
  background: #f8fbfd;
}

.svc-more {
  background: #fff;
}

.svc-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.svc-more-card {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  color: inherit;
}

.svc-more-card img {
  height: 170px;
  object-fit: cover;
}

.svc-more-card div {
  padding: 18px 20px 22px;
}

.svc-more-card h3 {
  margin-bottom: 8px;
}

.svc-more-card p {
  font-size: 14px;
  margin-bottom: 10px;
}

.svc-more-card span {
  color: #0b6b9c;
  font-weight: 700;
  font-size: 14px;
}

.svc-more-card:hover {
  transform: translateY(-6px);
  transition: transform .35s ease;
}

.svc-cta {
  background: #0b3b5c;
  padding: 56px 0;
}

.svc-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.svc-cta h2,
.svc-cta p {
  color: #fff;
  margin: 0 0 8px;
}

.svc-cta p {
  opacity: .82;
}

@media (max-width: 992px) {
  .hero.service-hero {
    text-align: left;
    min-height: auto;
    padding: 128px 0 40px;
  }
  .hero.service-hero .hero-btns {
    justify-content: flex-start;
  }
  .svc-hero-grid,
  .svc-body-grid,
  .svc-more-grid,
  .svc-cta-inner {
    grid-template-columns: 1fr;
    display: grid;
  }
  .svc-stage,
  .svc-mosaic {
    min-height: 380px;
    height: 380px;
  }
  .svc-shot-a { height: 250px; }
  .svc-shot-b { height: 150px; top: 180px; }
  .svc-shot-c { height: 120px; }
  .svc-points { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero.service-hero h1 { font-size: 2.2rem; }
  .svc-more-grid { grid-template-columns: 1fr; }
}
