:root {
  --bg: #eef8ff;
  --bg-soft: #f8fcff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(75, 142, 192, 0.18);
  --primary: #2f84ba;
  --primary-deep: #1f6694;
  --accent: #f29a42;
  --text: #22435b;
  --muted: #5d7b92;
  --shadow: 0 20px 50px rgba(43, 111, 152, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Nunito', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(136, 207, 255, 0.25), transparent 30%),
    radial-gradient(circle at right 20%, rgba(79, 180, 228, 0.14), transparent 26%),
    linear-gradient(180deg, #f5fbff 0%, #eef9ff 40%, #f9fcff 100%);
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  z-index: -2;
}
body.has-custom-bg::before { opacity: 0.22; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }
.site-shell { overflow: clip; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(245, 251, 255, 0.72);
  border-bottom: 1px solid rgba(84, 156, 199, 0.10);
}

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

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

.brand-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(31, 102, 148, 0.16));
}

.brand-text {
  font-family: 'Baloo 2', cursive;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--primary-deep);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  color: var(--primary-deep);
  font-weight: 800;
  opacity: 0.92;
}

.main-nav a:hover,
.footer-nav a:hover,
.text-link:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-nav,
.btn-primary {
  background: linear-gradient(180deg, #3f98d0 0%, #2b7db0 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(47, 132, 186, 0.24);
}

.btn-secondary {
  background: rgba(255,255,255,0.72);
  color: var(--primary-deep);
  border-color: rgba(47,132,186,0.18);
}

.hero {
  position: relative;
  padding: 5rem 0 3rem;
}

.hero-water {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-water-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(98, 199, 255, 0.20) 0%, rgba(98, 199, 255, 0.04) 54%, transparent 72%);
  top: -90px;
  right: -120px;
}

.hero-water-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(47, 132, 186, 0.12) 0%, rgba(47, 132, 186, 0.03) 52%, transparent 75%);
  bottom: -20px;
  left: -110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-size: 0.86rem;
}

.hero h1,
.section-head h2,
.trust-wrap h2,
.contact-box h2,
.hero-card h2 {
  margin: 0;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #215f86;
}

.hero h1 {
  font-size: clamp(2.8rem, 4.6vw, 5rem);
  max-width: 10ch;
}

.hero-text,
.section-head p,
.soft-card p,
.offer-card p,
.team-card p,
.faq-item p,
.contact-box p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 1rem 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.6rem 0 1.4rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-badges li {
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.74);
  border-radius: 999px;
  border: 1px solid rgba(84, 156, 199, 0.16);
  color: var(--primary-deep);
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(55, 124, 168, 0.08);
}

.hero-card,
.soft-card,
.offer-card,
.team-card,
.contact-box,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: 520px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-card-glow {
  position: absolute;
  inset: auto auto 12% 8%;
  width: 72%;
  height: 38%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(77, 193, 255, 0.20), transparent 70%);
}

.hero-logo {
  position: relative;
  width: min(88%, 420px);
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(47,132,186,0.16));
}

.hero-card-content {
  position: relative;
  text-align: center;
  max-width: 32rem;
}

.hero-card h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section {
  padding: 2.2rem 0 4.5rem;
}

.highlight-section { padding-top: 0.2rem; }
.section-head {
  margin-bottom: 1.5rem;
}
.section-head h2,
.trust-wrap h2,
.contact-box h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.section-head p { max-width: 62ch; }

.card-grid {
  display: grid;
  gap: 1.3rem;
}
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.soft-card,
.offer-card,
.team-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.soft-card h3,
.offer-card h3,
.team-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  color: var(--primary-deep);
}

.offer-subtitle,
.team-role {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-weight: 900;
}

.offer-card ul,
.trust-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--primary-deep);
}

.offer-card li,
.trust-list li { margin-bottom: 0.55rem; font-weight: 700; }
.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 900;
  color: var(--primary);
}

.trust-section {
  padding-top: 0;
}

.trust-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
  background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(240,249,255,0.92));
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 1.8rem;
}

.team-photo-wrap {
  aspect-ratio: 1 / 1.02;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(179,228,255,0.5), rgba(255,255,255,0.95));
  margin-bottom: 1rem;
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: 24px;
  padding: 1rem 1.2rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 900;
  color: var(--primary-deep);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0.8rem 0 0; }

.contact-box {
  border-radius: 34px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.contact-data {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.footer {
  padding: 1rem 0 2rem;
}
.footer-wrap,
.footer-bottom {
  border-top: 1px solid rgba(86, 156, 199, 0.16);
}
.footer-wrap {
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 800;
  color: var(--primary-deep);
}
.footer-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
}

.legal-page {
  min-height: 100vh;
}
.legal-main {
  padding: 4rem 0;
}
.legal-card {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(255,255,255,0.84);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.legal-card h1,
.legal-card h2 {
  font-family: 'Baloo 2', cursive;
  color: var(--primary-deep);
}

@media (max-width: 980px) {
  .nav-wrap,
  .footer-wrap,
  .hero-grid,
  .trust-wrap,
  .contact-box {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-wrap {
    min-height: unset;
    padding: 0.9rem 0;
  }

  .main-nav { order: 3; justify-content: flex-start; }
  .card-grid.three { grid-template-columns: 1fr; }
  .hero-card { min-height: unset; }
}

@media (max-width: 680px) {
  .brand-logo { width: 60px; height: 60px; }
  .brand-text { font-size: 1.5rem; }
  .hero { padding-top: 3.2rem; }
  .hero-actions, .hero-badges { width: 100%; }
  .hero-actions .btn,
  .contact-actions .btn,
  .btn-nav { width: 100%; }
  .hero-card,
  .soft-card,
  .offer-card,
  .team-card,
  .contact-box,
  .faq-item,
  .trust-wrap,
  .legal-card { border-radius: 24px; }
}


.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.quick-link {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(84, 156, 199, 0.16);
  font-weight: 800;
  color: var(--primary-deep);
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(136, 207, 255, 0.25), transparent 30%),
    radial-gradient(circle at right 20%, rgba(79, 180, 228, 0.14), transparent 26%),
    linear-gradient(180deg, #f5fbff 0%, #eef9ff 40%, #f9fcff 100%);
}
.admin-shell {
  padding: 2rem 0 4rem;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.admin-header h1,
.admin-login-card h1 {
  margin: 0;
  font-family: 'Baloo 2', cursive;
  color: var(--primary-deep);
  font-size: clamp(2rem, 4vw, 3rem);
}
.admin-note { color: var(--muted); line-height: 1.6; }
.admin-top-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.admin-alert {
  margin: 0 0 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  font-weight: 800;
}
.admin-alert.success {
  background: rgba(91, 193, 139, 0.16);
  border: 1px solid rgba(91, 193, 139, 0.28);
  color: #215f45;
}
.admin-alert.error {
  background: rgba(239, 117, 117, 0.14);
  border: 1px solid rgba(239, 117, 117, 0.24);
  color: #8c2f36;
}
.admin-form-grid {
  display: grid;
  gap: 1rem;
}
.admin-section,
.admin-login-card,
.mini-card {
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 28px;
}
.admin-section {
  padding: 1.3rem;
}
.admin-section h2,
.mini-card h3 {
  margin-top: 0;
  color: var(--primary-deep);
}
.admin-grid {
  display: grid;
  gap: 1rem;
}
.admin-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.admin-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.admin-stack { display: grid; gap: 1rem; }
.admin-form-grid label,
.admin-form.compact label {
  display: grid;
  gap: 0.45rem;
  font-weight: 800;
  color: var(--primary-deep);
}
.admin-form-grid input[type=text],
.admin-form-grid input[type=password],
.admin-form-grid input[type=file],
.admin-form-grid textarea,
.admin-form.compact input[type=text],
.admin-form.compact input[type=password] {
  width: 100%;
  border: 1px solid rgba(84, 156, 199, 0.22);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--text);
  background: rgba(255,255,255,0.96);
}
.admin-form-grid textarea { resize: vertical; min-height: 100px; }
.mini-card {
  padding: 1rem;
}
.admin-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.admin-login-card {
  width: min(560px, 100%);
  padding: 2rem;
}
.admin-form.compact { display: grid; gap: 1rem; }
.file-path {
  color: var(--muted);
  font-size: 0.92rem;
  word-break: break-all;
}
.team-thumb-admin {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: linear-gradient(180deg, rgba(179,228,255,0.5), rgba(255,255,255,0.95));
}
.team-thumb-admin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-save-bar {
  position: sticky;
  bottom: 1rem;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}
@media (max-width: 980px) {
  .admin-grid.two,
  .admin-grid.three,
  .admin-header {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}


.admin-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.admin-check {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700 !important;
  color: var(--muted) !important;
}
.admin-check input[type=checkbox] {
  width: 18px;
  height: 18px;
}
.admin-check.remove {
  margin-top: 0.35rem;
  color: #8c2f36 !important;
}
.site-thumb-admin {
  width: 100%;
  min-height: 170px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(179,228,255,0.5), rgba(255,255,255,0.95));
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
}
.site-thumb-admin.wide {
  min-height: 210px;
}
.site-thumb-admin img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.placeholder-note {
  color: var(--muted);
  padding: 1rem;
  text-align: center;
}
.compact-preview {
  height: 100%;
}
.admin-error-list {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}
.admin-error-list li + li { margin-top: 0.35rem; }
@media (max-width: 980px) {
  .admin-section-head { flex-direction: column; align-items: flex-start; }
}
