:root {
  --ink: #1e2430;
  --ink-soft: #576074;
  --cream: #f7f2e9;
  --paper: #fffdfa;
  --mint: #7cd1ba;
  --sun: #ff8a3d;
  --sun-dark: #f26c1d;
  --line: #dbd2c5;
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-1: 0 8px 30px rgba(26, 34, 52, 0.08);
  --shadow-2: 0 20px 55px rgba(26, 34, 52, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.22;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 22px 22px;
}

.hero {
  position: relative;
  background: linear-gradient(145deg, #1f2c42 0%, #213653 45%, #2f4768 100%);
  color: #fff;
  padding: 0.9rem 1.25rem 3.8rem;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
}

.hero-orb-a {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.45), transparent 70%);
  top: -130px;
  right: -80px;
  animation: driftA 9s ease-in-out infinite;
}

.hero-orb-b {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124, 209, 186, 0.28), transparent 72%);
  bottom: -120px;
  left: -110px;
  animation: driftB 11s ease-in-out infinite;
}

.topbar,
.hero-inner,
main,
.footer {
  max-width: 1140px;
  margin: 0 auto;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.4rem;
}

.brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.2rem;
}

.topbar-phone {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

.topbar-phone:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  animation: revealUp 0.9s ease both;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.55rem, 3.3vw, 2.6rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  max-width: 650px;
}

.hero-cta-group {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

.hero-contact-link {
  margin-top: 0.8rem;
  text-align: center;
  font-size: 0.9rem;
}

.hero-contact-link a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.hero-contact-link a:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.04rem;
  padding: 1.02rem 1.8rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  min-width: 260px;
}

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

.btn-primary {
  background: var(--sun);
  color: #fff;
  box-shadow: 0 10px 25px rgba(255, 138, 61, 0.32);
}

.btn-primary:hover {
  background: var(--sun-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-light {
  background: #fff;
  color: #1f3856;
  box-shadow: 0 10px 25px rgba(18, 28, 45, 0.25);
}

.btn-light:hover {
  background: #f3f6fb;
}

.hero-points {
  list-style: none;
  margin-top: 1.35rem;
  display: grid;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.92rem;
}

.hero-points li::before {
  content: '•';
  color: var(--mint);
  font-weight: 700;
  margin-right: 0.45rem;
}

main {
  padding: 0 1.25rem;
}

.section {
  margin: 4.1rem 0;
}

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

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 700;
  color: #65718a;
}

.section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: -0.01em;
  margin-top: 0.25rem;
}

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

.center-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.center-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.card-photo-wrap {
  position: relative;
  overflow: hidden;
}

.card-photo {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.center-card:hover .card-photo {
  transform: scale(1.06);
}

.card-logo {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  height: 38px;
  background: #fff;
  border-radius: 9px;
  padding: 0.3rem 0.45rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.card-content {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.card-title-row h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
}

.chip {
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  background: #ecf8f4;
  color: #23695a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-content p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.card-link {
  color: #1f3856;
  font-weight: 700;
  text-decoration: none;
}

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

.step-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-1);
}

.step-index {
  font-family: 'Syne', sans-serif;
  font-size: 1.7rem;
  color: #1f3856;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.step-card h3 {
  font-size: 1.03rem;
  margin-bottom: 0.35rem;
}

.step-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.info-banner {
  margin-top: 1.1rem;
  background: linear-gradient(120deg, #1f3856 0%, #2e5376 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-1);
}

.info-banner a {
  color: #ffd8b8;
  font-weight: 700;
}

.faq-section {
  max-width: 860px;
}

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

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-1);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 1rem;
}

.contact-panel {
  background: linear-gradient(165deg, #20324b 0%, #2a4363 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-2);
}

.contact-panel h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.contact-phone {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  color: #ffba88;
  text-decoration: none;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-panel p,
.contact-panel li {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.contact-panel ul {
  list-style: none;
  margin: 0.7rem 0;
  display: grid;
  gap: 0.35rem;
}

.contact-note {
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.contact-form-wrap {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  padding: 1.2rem;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d9d0c2;
  background: #fff;
  font-family: inherit;
  color: var(--ink);
  padding: 0.7rem 0.75rem;
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--sun);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-setup-help {
  margin-top: 0.7rem;
  border: 1px dashed #d7cbba;
  border-radius: 10px;
  padding: 0.72rem 0.84rem;
  background: #fffcf6;
}

.form-setup-help summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
}

.form-setup-help ol {
  margin-top: 0.45rem;
  padding-left: 1rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.28rem;
  font-size: 0.88rem;
}

.form-submit {
  width: 100%;
}

.footer {
  margin-top: 4rem;
  margin-bottom: 2rem;
  background: #1f2d43;
  color: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-xl);
  padding: 1.7rem 1.2rem;
  text-align: center;
}

.footer-title {
  color: #fff;
  font-family: 'Syne', sans-serif;
  margin-bottom: 0.35rem;
}

.footer a {
  color: #ffd7b8;
}

.legal-page {
  min-height: 100vh;
  padding: 2rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.legal-card {
  width: min(920px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-1);
  padding: 1.4rem;
}

.legal-card h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.legal-card section + section {
  margin-top: 1rem;
}

.legal-card h2 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.legal-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.legal-card a {
  color: #1f3856;
}

.legal-back {
  margin-top: 1.2rem;
  font-weight: 700;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes driftA {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-16px, 12px);
  }
}

@keyframes driftB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -14px);
  }
}

@media (max-width: 980px) {
  .centers-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-wrap: wrap;
  }

  .btn {
    min-width: 240px;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    padding-top: 0.8rem;
    padding-bottom: 3.3rem;
  }

  .topbar {
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 1.9rem;
  }

  .hero-inner {
    text-align: center;
    margin-inline: auto;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-points {
    width: fit-content;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    flex-wrap: wrap;
  }

  .btn {
    min-width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

}
