:root {
  --brand-blue: #5d82ae;
  --brand-blue-deep: #22476f;
  --brand-blue-soft: #dfeaf6;
  --ink: #17314f;
  --ink-soft: rgba(23, 49, 79, 0.72);
  --surface: rgba(255, 255, 255, 0.76);
  --surface-solid: #ffffff;
  --line: rgba(93, 130, 174, 0.18);
  --shadow: 0 30px 70px rgba(34, 71, 111, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 18px;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(93, 130, 174, 0.12), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 45%, #f3f8fd 100%);
}

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

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 40px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(135deg, #234a73 0%, #5d82ae 100%);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(34, 71, 111, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 24px rgba(34, 71, 111, 0.12);
}

.brand span {
  display: grid;
  gap: 3px;
}

.brand strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.brand small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  transition: color 180ms ease;
}

.nav a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(0.96) contrast(1.04);
}

.hero-slide {
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 20, 34, 0.36) 0%, rgba(7, 20, 34, 0.08) 100%);
}

.hero-dots {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition:
    width 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.hero-dot.is-active {
  width: 24px;
  background: #ffffff;
}

.hero-summary {
  margin-top: 18px;
  padding: 34px 32px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-summary h1,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-summary h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  max-width: 10ch;
  color: var(--brand-blue-deep);
  text-wrap: balance;
}

.hero-copy {
  margin: 20px 0 0;
  max-width: 48ch;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  background: var(--brand-blue-deep);
  color: #ffffff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--brand-blue-deep);
}

.hero-summary,
.intro-strip,
.services,
.about,
.contact {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.intro-strip {
  padding: 28px 30px;
}

.intro-strip p {
  margin: 0;
  max-width: 66ch;
  color: var(--ink-soft);
  line-height: 1.8;
}

.services,
.about,
.contact {
  padding: 38px 32px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.about-points div {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
}

.service-card {
  padding: 22px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.service-card p,
.about-panel p,
.contact p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.service-price {
  display: inline-block;
  margin-top: 18px;
  color: var(--brand-blue-deep);
  font-size: 1.1rem;
}

.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.about-panel {
  padding: 6px 4px;
}

.gallery-heading {
  margin-bottom: 8px;
}

.gallery-browser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
  gap: 18px;
}

.gallery-group {
  border: 0;
}

.gallery-group[open] {
  grid-column: 1 / -1;
}

.gallery-group summary {
  list-style: none;
}

.gallery-group summary::-webkit-details-marker {
  display: none;
}

.gallery-trigger {
  position: relative;
  display: grid;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 34px rgba(34, 71, 111, 0.10);
}

.gallery-trigger img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-trigger span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(23, 49, 79, 0.72);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.gallery-group[open] .gallery-trigger {
  margin-bottom: 18px;
}

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

.gallery-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 34px rgba(34, 71, 111, 0.08);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-card:hover img {
  transform: scale(1.02);
}

.contact {
  text-align: center;
  padding: 44px 32px;
}

.contact p {
  max-width: 44ch;
  margin: 16px auto 0;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--brand-blue-deep);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 18px 36px rgba(34, 71, 111, 0.18);
}

.hero,
.hero-summary,
.intro-strip,
.services,
.about,
.contact {
  animation: rise 700ms ease both;
}

.intro-strip {
  animation-delay: 60ms;
}

.services {
  animation-delay: 120ms;
}

.about {
  animation-delay: 180ms;
}

.contact {
  animation-delay: 240ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .topbar,
  .about {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .hero,
  .hero-summary {
    min-height: auto;
  }

  .hero {
    min-height: 540px;
  }

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

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

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
    padding-bottom: 28px;
  }

  .topbar,
  .hero-summary,
  .intro-strip,
  .services,
  .about,
  .contact {
    border-radius: 24px;
  }

  .hero {
    border-radius: 26px;
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

  .hero-dots {
    right: 14px;
    bottom: 14px;
    gap: 6px;
  }

  .hero-dot {
    width: 7px;
    height: 7px;
  }

  .hero-dot.is-active {
    width: 20px;
  }

  .hero-summary {
    padding: 24px 20px;
  }

  .hero-summary h1 {
    max-width: 8ch;
    font-size: clamp(2.15rem, 11vw, 3.1rem);
    line-height: 0.95;
  }

  .hero-copy {
    margin-top: 16px;
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .topbar {
    padding: 14px 16px 16px;
    margin-bottom: 18px;
    gap: 14px;
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .brand small {
    font-size: 0.74rem;
  }

  .nav {
    gap: 8px;
  }

  .nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 4px;
    font-size: 0.92rem;
  }

  .intro-strip,
  .services,
  .about,
  .contact {
    padding: 24px 20px;
    margin-top: 18px;
  }

  .intro-strip p,
  .service-card p,
  .contact p {
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .section-heading {
    gap: 8px;
    margin-bottom: 18px;
  }

  .section-heading h2,
  .about h2,
  .contact h2 {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
    line-height: 1;
  }

  .service-card {
    padding: 20px 18px;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-price {
    margin-top: 14px;
    font-size: 1.02rem;
  }

  .gallery-browser {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-trigger {
    width: 100%;
    border-radius: 24px;
  }

  .gallery-trigger span {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .gallery-group[open] .gallery-trigger {
    margin-bottom: 14px;
  }

  .gallery-grid {
    gap: 12px;
  }

  .gallery-card {
    border-radius: 20px;
  }

  .button,
  .contact-link {
    width: 100%;
    min-height: 54px;
    font-size: 0.98rem;
  }

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

  .gallery-card img {
    min-height: 240px;
  }
}
