:root {
  --bg: #f8fbfd;
  --bg-soft: #eef8fb;
  --card: rgba(255,255,255,.78);
  --card-solid: #ffffff;
  --text: #21333f;
  --muted: #627987;
  --line: rgba(120, 180, 204, .22);
  --blue: #8ed1ec;
  --blue-deep: #66a9d2;
  --blue-strong: #3a8dc5;
  --mint: #dff6f8;
  --lavender: #e4ddff;
  --pink: #ffe8f2;
  --shadow: 0 18px 40px rgba(73, 121, 151, 0.12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(198,238,247,.65), transparent 38%),
    linear-gradient(180deg, #fafdff 0%, #f7fbfe 44%, #fefefe 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 253, 255, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(124, 178, 203, .12);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-logo,
.footer-logo {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  background: white;
  box-shadow: var(--shadow);
}
.brand-name { margin-bottom: 4px; }
.brand-sub,
.section-text,
.feature-list p,
.service-card p,
.footer-text,
.footer-grid p,
.form-note,
.floating-note p,
.lead { color: var(--muted); }
nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
nav a {
  font-size: .98rem;
  color: #527386;
}
nav a:hover { color: var(--text); }
.nav-cta { white-space: nowrap; }
.hero {
  position: relative;
  overflow: clip;
  padding: 78px 0 54px;
}
.aurora {
  position: absolute;
  filter: blur(30px);
  pointer-events: none;
  opacity: .55;
}
.aurora-1 {
  top: 30px;
  right: 3%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(138,215,245,.95) 0%, rgba(176,162,255,.45) 35%, transparent 66%);
}
.aurora-2 {
  bottom: 10px;
  left: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255,206,232,.9) 0%, rgba(157,227,240,.4) 42%, transparent 68%);
}
.hero-grid,
.split-section,
.contact-grid,
.footer-grid,
.founder-grid,
.stat-grid,
.memory-box {
  display: grid;
  gap: 28px;
}
.hero-grid {
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
}
.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--blue-strong);
}
.hero h1,
.section h2 {
  margin: 0 0 16px;
  font-family: 'Comfortaa', cursive;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  font-weight: 700;
}
.section h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  line-height: 1.15;
}
.lead {
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 60ch;
}
.hero-actions,
.hero-badges,
.memory-points,
.contact-cards {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-strong), #5fb5df);
  color: white;
  box-shadow: 0 14px 30px rgba(76, 148, 194, .26);
}
.btn-secondary {
  background: rgba(255,255,255,.74);
  border-color: rgba(118, 179, 203, .28);
  color: var(--text);
}
.hero-badges span,
.memory-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(118, 179, 203, .2);
  color: #547285;
  box-shadow: 0 10px 24px rgba(115, 164, 193, .08);
}
.hero-visual {
  position: relative;
  min-height: 650px;
}
.card-photo,
.hero-small-photo,
.mosaic figure,
.founder-photo,
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-photo img,
.hero-small-photo img,
.mosaic figure img,
.founder-photo img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.glow-frame {
  position: relative;
  border: 1px solid rgba(255,255,255,.6);
}
.glow-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.42);
  pointer-events: none;
}
.hero-main-photo {
  position: absolute;
  inset: 32px 40px 112px 0;
}
.hero-small-photo {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 6px solid rgba(255,255,255,.88);
}
.hero-small-top {
  top: 0;
  right: 0;
}
.hero-small-bottom {
  right: 22px;
  bottom: 0;
}
.glass-card,
.stat-card,
.service-card,
.contact-form,
.contact-card,
.memory-box {
  background: var(--card);
  border: 1px solid rgba(119, 181, 205, .18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
}
.floating-note {
  position: absolute;
  left: 32px;
  bottom: 24px;
  width: min(320px, calc(100% - 48px));
  padding: 18px 20px;
}
.floating-note strong,
.contact-card h3,
.service-card h3,
.feature-list h3,
.contact-form h3,
.footer-title { color: var(--text); }
.section { padding: 92px 0; }
.section-soft {
  background: linear-gradient(180deg, rgba(231,247,251,.78), rgba(250,254,255,.55));
}
.quick-facts { padding-top: 0; }
.stat-grid {
  grid-template-columns: repeat(3, 1fr);
}
.stat-card {
  padding: 28px;
}
.stat-kicker {
  margin: 0 0 10px;
  color: var(--blue-strong);
  font-weight: 700;
}
.stat-card h2 {
  margin: 0 0 10px;
  font-family: 'Comfortaa', cursive;
  font-size: 1.7rem;
  line-height: 1.1;
  font-weight: 700;
}
.split-section,
.contact-grid,
.founder-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}
.feature-list div {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(120, 181, 205, .16);
}
.feature-list h3,
.contact-form h3,
.service-card h3 {
  margin: 0 0 8px;
}
.mosaic {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  grid-template-rows: 240px 200px;
  gap: 16px;
}
.mosaic-a { grid-row: span 2; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  padding: 26px;
}
.service-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--blue-strong);
  background: rgba(142, 209, 236, .18);
}
.service-card-highlight {
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(220,245,249,.7));
}
.service-card-highlight a {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue-strong);
  font-weight: 700;
}
.founder-photo {
  min-height: 580px;
}
.quote-box {
  margin-top: 22px;
  padding: 20px 22px;
}
.quote-box p {
  margin: 0;
  font-family: 'Comfortaa', cursive;
  font-size: 1.55rem;
  line-height: 1.2;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 16px;
}
.gallery-item {
  position: relative;
}
.gallery-item:hover img {
  transform: scale(1.02);
}
.gallery-item img {
  transition: transform .3s ease;
}
.gallery-large {
  grid-row: span 2;
}
.memory-box {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 30px;
}
.contact-cards {
  margin-top: 26px;
}
.contact-card {
  padding: 18px 20px;
  min-width: 220px;
}
.contact-card-full { width: 100%; }
.contact-card p,
.contact-card a { color: var(--muted); }
.contact-card a { font-weight: 700; color: var(--blue-strong); }
.contact-form {
  padding: 28px;
  display: grid;
  gap: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(114, 175, 198, .22);
  background: rgba(255,255,255,.85);
  font: inherit;
  color: var(--text);
}
.contact-form textarea { resize: vertical; }
.form-note { margin: 0; font-size: .92rem; }
.full { width: 100%; }
.site-footer {
  padding: 32px 0 42px;
  background: rgba(255,255,255,.82);
  border-top: 1px solid rgba(119, 181, 205, .15);
}
.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
}
.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Water Wave Effects */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}
.wave-divider-flip svg {
  transform: scaleY(-1);
}
.wave-divider svg path {
  fill: var(--bg);
}
.wave-divider-soft svg path {
  fill: rgba(231,247,251,.78);
}
.wave-divider-white svg path {
  fill: #fff;
}

/* Animated wave background for hero */
.hero::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 200%;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23eef8fb' fill-opacity='0.6' d='M0,64L48,58.7C96,53,192,43,288,48C384,53,480,75,576,80C672,85,768,75,864,64C960,53,1056,43,1152,48C1248,53,1344,75,1392,85.3L1440,96L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z'/%3E%3C/svg%3E") repeat-x;
  background-size: 50% 100%;
  animation: waveSlide 8s linear infinite;
  z-index: 1;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 200%;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23eef8fb' fill-opacity='0.9' d='M0,96L48,85.3C96,75,192,53,288,48C384,43,480,53,576,64C672,75,768,85,864,80C960,75,1056,53,1152,48C1248,43,1344,53,1392,58.7L1440,64L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z'/%3E%3C/svg%3E") repeat-x;
  background-size: 50% 100%;
  animation: waveSlide 12s linear infinite reverse;
  z-index: 1;
  pointer-events: none;
}

@keyframes waveSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Floating bubble accents */
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-18px) scale(1.08); opacity: 0.8; }
}
.bubble-accent {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.4;
}
.bubble-1 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(142,209,236,.5) 0%, transparent 70%);
  top: 20%; left: 5%;
  animation: float 6s ease-in-out infinite;
}
.bubble-2 {
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(176,162,255,.4) 0%, transparent 70%);
  top: 60%; right: 8%;
  animation: float 8s ease-in-out infinite 2s;
}
.bubble-3 {
  width: 90px; height: 90px;
  background: radial-gradient(circle, rgba(255,206,232,.5) 0%, transparent 70%);
  bottom: 25%; left: 45%;
  animation: float 7s ease-in-out infinite 1s;
}

/* Ripple effect on section headers */
.section-head::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  margin-top: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-strong), var(--blue));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Animated gradient background */
.section-soft {
  background: linear-gradient(180deg, rgba(231,247,251,.78), rgba(250,254,255,.55));
  animation: oceanGradient 12s ease-in-out infinite alternate;
}
@keyframes oceanGradient {
  0% { background: linear-gradient(180deg, rgba(231,247,251,.78), rgba(250,254,255,.55)); }
  50% { background: linear-gradient(180deg, rgba(223,246,248,.85), rgba(228,221,255,.3)); }
  100% { background: linear-gradient(180deg, rgba(231,247,251,.78), rgba(255,232,242,.35)); }
}

/* Water ripple hover on cards */
.service-card,
.stat-card,
.contact-card {
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before,
.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--blue-deep), var(--blue), transparent);
  opacity: 0;
  transition: opacity .3s ease, height .3s ease;
}
.service-card:hover::before,
.stat-card:hover::before {
  opacity: 1;
  height: 6px;
}
.service-card:hover,
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(73, 121, 151, 0.18);
}

@media (max-width: 1040px) {
  nav { display: none; }
  .hero-grid,
  .split-section,
  .contact-grid,
  .founder-grid,
  .stat-grid,
  .service-grid,
  .footer-grid,
  .memory-box,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { min-height: auto; }
  .hero-main-photo,
  .hero-small-photo,
  .floating-note {
    position: static;
    width: 100%;
  }
  .hero-main-photo { margin-bottom: 16px; }
  .hero-small-photo { height: 320px; margin-bottom: 16px; }
  .mosaic {
    grid-template-columns: 1fr 1fr;
  }
  .founder-photo { min-height: 420px; }
  .gallery-grid { grid-auto-rows: 250px; }
  .gallery-large { grid-row: span 1; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 24px, 1160px); }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: 2.4rem; }
  .section h2 { font-size: 2rem; }
  .hero-small-photo { height: 240px; }
  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .mosaic-a { grid-row: span 1; }
  .memory-box { padding: 24px; }
  .brand-sub { display: none; }
  .nav { gap: 12px; }
  .brand-logo, .footer-logo {
    width: 50px;
    height: 50px;
  }
}

/* Legal pages */
.legal-page {
  padding-top: 60px;
  padding-bottom: 60px;
}
.legal-container {
  max-width: 780px;
  margin: 0 auto;
}
.legal-container h1 {
  font-family: 'Comfortaa', cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 16px;
}
.legal-container h2 {
  font-family: 'Comfortaa', cursive;
  font-size: 1.25rem;
  margin: 32px 0 10px;
  color: var(--blue-strong);
}
.legal-container p {
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 12px;
}
.legal-container ul {
  padding-left: 22px;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.8;
}
.legal-container a {
  color: var(--blue-strong);
  font-weight: 600;
}
.legal-back {
  margin-top: 40px;
  text-align: center;
}
