:root {
  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-strong: #eef4fb;
  --ink: #102039;
  --ink-soft: #3b4f69;
  --brand: #5a82a8;
  --brand-deep: #223658;
  --line: #cfdae8;
  --accent: #7ea6c8;
  --radius: 18px;
  --shadow: 0 20px 55px rgba(16, 32, 57, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 10%, rgba(126, 166, 200, 0.24), transparent 35%),
    radial-gradient(circle at 85% 22%, rgba(90, 130, 168, 0.2), transparent 38%),
    linear-gradient(180deg, #f7fbff 0%, #edf3f9 55%, #f3f7fb 100%);
}

.intro-shutter {
  position: fixed;
  inset: -15%;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.96), rgba(245, 250, 255, 0.82) 38%, rgba(236, 244, 252, 0.68) 62%, rgba(236, 244, 252, 0) 80%),
    linear-gradient(140deg, rgba(90, 130, 168, 0.34), rgba(126, 166, 200, 0.14));
}

body.intro-active .site-bg {
  animation: intro-bg 2.8s ease-out both;
}

body.intro-active .header {
  animation: intro-header 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.05s;
}

body.intro-active .hero-copy {
  animation: intro-left 2.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.2s;
}

body.intro-active .hero-visual {
  animation: intro-right 2.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.32s;
}

body.intro-active .intro-shutter {
  animation: intro-shutter 4.2s cubic-bezier(0.19, 1, 0.22, 1) both;
}

body.intro-active .hero-copy.reveal,
body.intro-active .hero-visual.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(126, 166, 200, 0.34) 0%, rgba(126, 166, 200, 0.15) 35%, rgba(126, 166, 200, 0) 70%);
  filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cursor-glow.active {
  opacity: 1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand), var(--accent));
  box-shadow: 0 0 18px rgba(90, 130, 168, 0.55);
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.header.scrolled {
  background: rgba(247, 251, 255, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 35px rgba(15, 31, 56, 0.08);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
}

.logo-image {
  max-height: 56px;
  width: auto;
  display: block;
}

.logo-fallback {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand-deep);
  display: none;
}

.logo-fallback.visible {
  display: inline;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.mobile-nav {
  display: none;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.btn {
  --mx: 0px;
  --my: 0px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  padding: 0.86rem 1.4rem;
  color: #f8fbff;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  box-shadow: 0 10px 24px rgba(34, 54, 88, 0.24);
  transform: translate(var(--mx), var(--my));
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translate(var(--mx), calc(var(--my) - 2px));
  box-shadow: 0 14px 30px rgba(34, 54, 88, 0.28);
}

.btn-small {
  font-size: 0.92rem;
  padding: 0.7rem 1.15rem;
}

.btn-ghost {
  color: var(--brand-deep);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2rem, 5vw, 5rem) 0 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(12, 25, 46, 0.8) 0%, rgba(15, 31, 56, 0.58) 38%, rgba(24, 45, 76, 0.34) 100%),
    url("assets/gallery/gallery-1.jpg") center / cover no-repeat;
  border-radius: 26px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 26px;
  border: 1px solid rgba(194, 211, 229, 0.5);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.3rem, 3vw, 3rem);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #eaf3ff;
  font-size: 0.82rem;
  background: rgba(10, 24, 45, 0.52);
  border: 1px solid rgba(176, 202, 226, 0.42);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  backdrop-filter: blur(4px);
  text-shadow: 0 1px 8px rgba(4, 14, 28, 0.55);
}

h1,
h2,
h3 {
  margin: 0 0 0.9rem;
  font-family: "Sora", sans-serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  max-width: 14ch;
  color: #f6fbff;
}

h1 span {
  color: #cde1f4;
}

h2 {
  font-size: clamp(1.5rem, 3.1vw, 2.65rem);
  max-width: 22ch;
}

h3 {
  font-size: 1.25rem;
}

.hero-lead {
  max-width: 62ch;
  color: #e8f0fb;
  font-size: 1.08rem;
  margin: 0;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-stats {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats li {
  min-width: 150px;
  background: rgba(246, 251, 255, 0.84);
  border: 1px solid rgba(207, 218, 232, 0.9);
  border-radius: 14px;
  padding: 0.72rem 0.85rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.12rem;
  color: var(--brand-deep);
}

.hero-stats span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.hero-visual {
  perspective: 1000px;
}

.hero-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(232, 241, 250, 0.88));
  border: 1px solid rgba(188, 208, 228, 0.86);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(1.3rem, 3vw, 2rem);
}

.hero-card p {
  color: var(--ink-soft);
  margin-top: 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip-row span {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid #bed0e3;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--brand-deep);
  background: #f5faff;
}

.section {
  padding: clamp(2.2rem, 7vw, 5rem) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: center;
}

.about-text {
  margin: 0;
  font-size: 1.06rem;
  color: var(--ink-soft);
}

.cards {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.3rem;
  box-shadow: 0 16px 35px rgba(16, 32, 57, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

.card:hover {
  transform: translateY(-4px);
  border-color: #99b3ce;
}

.benefits {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(232, 241, 249, 0.72));
  border-block: 1px solid rgba(152, 174, 198, 0.35);
}

.benefits-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.benefit {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
}

.benefit strong {
  display: block;
  margin-bottom: 0.28rem;
}

.benefit p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.gallery {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.8rem;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 25px rgba(16, 32, 57, 0.1);
}

.gallery figure:nth-child(1),
.gallery figure:nth-child(4) {
  grid-column: span 7;
}

.gallery figure:nth-child(2),
.gallery figure:nth-child(3),
.gallery figure:nth-child(5),
.gallery figure:nth-child(6) {
  grid-column: span 5;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.cta-block {
  padding-top: 1rem;
}

.cta-inner {
  border-radius: 22px;
  border: 1px solid #a9bed4;
  background:
    linear-gradient(130deg, rgba(34, 54, 88, 0.95), rgba(90, 130, 168, 0.9)),
    linear-gradient(50deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  color: #f4f8ff;
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.6rem);
}

.cta-inner h2 {
  margin-inline: auto;
  max-width: 20ch;
}

.cta-inner p {
  margin: 0 auto 1.2rem;
  max-width: 62ch;
  color: #dce8f6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.contact-copy p {
  color: var(--ink-soft);
}

.contact-copy ul {
  padding-left: 1rem;
  color: var(--ink-soft);
}

.contact-copy a {
  color: var(--brand-deep);
  font-weight: 700;
}

.contact-form {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 10px;
  border: 1px solid #c7d5e6;
  background: #fcfdff;
  font: inherit;
  color: var(--ink);
  padding: 0.72rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #86a8ca;
  box-shadow: 0 0 0 4px rgba(126, 166, 200, 0.2);
}

.footer {
  border-top: 1px solid #d5e1ed;
  padding: 1.05rem 0 1.5rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.footer a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes intro-bg {
  0% {
    filter: saturate(0.85) brightness(0.88) contrast(0.95);
    transform: scale(1.07);
  }
  100% {
    filter: saturate(1) brightness(1) contrast(1);
    transform: scale(1);
  }
}

@keyframes intro-header {
  0% {
    opacity: 0;
    transform: translateY(-18px);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes intro-left {
  0% {
    opacity: 0;
    transform: translateY(44px) scale(0.96);
    filter: blur(11px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes intro-right {
  0% {
    opacity: 0;
    transform: translateY(48px) rotateX(12deg) scale(0.95);
    filter: blur(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
    filter: blur(0);
  }
}

@keyframes intro-shutter {
  0% {
    opacity: 1;
    transform: scale(1.03) translateY(6%);
    filter: blur(1px);
  }
  100% {
    opacity: 0;
    transform: scale(1.48) translateY(-10%);
    filter: blur(20px);
  }
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

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

  .cards,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery figure,
  .gallery figure:nth-child(n) {
    grid-column: span 6;
  }
}

@media (max-width: 700px) {
  body {
    line-height: 1.68;
  }

  .container {
    width: min(1160px, calc(100% - 1.25rem));
  }

  .nav-wrap {
    min-height: 76px;
  }

  .logo-image {
    max-height: 48px;
  }

  .btn-small {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    background: rgba(247, 251, 255, 0.92);
    border: 1px solid #c2d3e5;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    padding: 0.35rem;
    box-shadow: 0 10px 30px rgba(16, 32, 57, 0.15);
  }

  .mobile-nav a {
    text-decoration: none;
    text-align: center;
    color: var(--brand-deep);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.56rem 0.2rem;
    border-radius: 10px;
  }

  .mobile-nav a:active,
  .mobile-nav a:focus-visible {
    background: #e7f0f9;
    outline: none;
  }

  .hero {
    padding-top: 1.4rem;
    padding-bottom: 2.2rem;
  }

  .hero-grid {
    gap: 1.7rem;
  }

  h1 {
    font-size: clamp(2rem, 8.8vw, 2.8rem);
    max-width: 18ch;
    line-height: 1.12;
  }

  h2 {
    font-size: clamp(1.4rem, 7vw, 2rem);
    max-width: 100%;
  }

  .section {
    padding: 3rem 0;
  }

  .section-head {
    margin-bottom: 1rem;
  }

  .hero-lead {
    font-size: 1.03rem;
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 0.6rem;
  }

  .hero-stats li {
    flex: 1 1 100%;
    min-width: 0;
  }

  .cards,
  .benefits-grid,
  .gallery figure,
  .gallery figure:nth-child(n) {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

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

  .gallery img {
    min-height: 220px;
  }

  .card,
  .benefit {
    padding: 1.1rem;
  }

  .cta-inner {
    text-align: left;
    padding: 1.4rem 1.1rem;
  }

  .cta-inner h2,
  .cta-inner p {
    margin-inline: 0;
    max-width: 100%;
  }

  .contact-grid {
    gap: 1.2rem;
  }

  .contact-form {
    gap: 0.95rem;
    padding: 1.1rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 0.8rem;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    padding-bottom: 5.4rem;
  }
}

@media (max-width: 420px) {
  .mobile-nav {
    left: 0.45rem;
    right: 0.45rem;
    bottom: 0.45rem;
  }

  .mobile-nav a {
    font-size: 0.76rem;
    padding: 0.58rem 0.18rem;
  }

  .hero::before,
  .hero::after {
    border-radius: 18px;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.force-intro) .intro-shutter {
    display: none;
  }

  body:not(.force-intro).intro-active .site-bg,
  body:not(.force-intro).intro-active .header,
  body:not(.force-intro).intro-active .hero-copy,
  body:not(.force-intro).intro-active .hero-visual,
  body:not(.force-intro).intro-active .intro-shutter {
    animation: none;
  }
}
