:root {
  --c-primary: #170c79;
  --c-cream: #efe3ca;
  --c-accent: #56b6c6;
  --c-soft: #8acbd0;
  --c-text: #201f2a;
  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow-soft: 0 8px 20px rgba(23, 12, 121, 0.15);
  --shadow-deep: inset 1px 1px 0 rgba(255, 255, 255, 0.35), 9px 9px 20px rgba(23, 12, 121, 0.2);
  --trans: 0.28s ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--c-text);
  background: radial-gradient(circle at 15% 10%, #fff9ed 0%, #efe3ca 45%, #e2f4f5 100%);
}

a {
  color: var(--c-primary);
  text-decoration: none;
}

.wrap {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(239, 227, 202, 0.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(23, 12, 121, 0.12);
  animation: slideDown 0.7s ease;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}

.logo-pill,
.main-nav a {
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: linear-gradient(145deg, #f6e9d0, #ddd2ba);
  box-shadow: var(--shadow-deep);
  transition: transform var(--trans), box-shadow var(--trans);
}

.main-nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a.active,
.main-nav a:hover,
.logo-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 12, 121, 0.23);
}

.logo-pill {
  display: block;
}

.logo-pill img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo-pill img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo-pill:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .logo-pill img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo-pill img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo-pill img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo-pill img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.hero-full {
  min-height: 96vh;
  position: relative;
  display: grid;
}

.hero-full img {
  width: 100%;
  height: 96vh;
  object-fit: cover;
  filter: saturate(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: var(--space-sm);
  color: #fff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

h1 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.08;
  margin: 0;
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin: 0;
}

.hero-cta,
.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--trans), filter var(--trans), box-shadow var(--trans);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn:active {
  transform: translateY(0);
}

.btn-main {
  background: linear-gradient(145deg, #1f1195, #170c79);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-soft {
  background: linear-gradient(145deg, #9ad6dd, #65bdcb);
  color: #0f2347;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(23, 12, 121, 0.4);
  color: var(--c-primary);
}

section {
  margin: var(--space-xl) auto;
}

.overlap-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-md);
  margin-top: -4.5rem;
  position: relative;
  z-index: 10;
}

.tile,
.panel,
.snap,
.step,
.signal-block,
.cta-panel,
.thank-main .panel {
  background: linear-gradient(150deg, #fff7e8, #e7f5f6);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-deep);
  border: 1px solid rgba(23, 12, 121, 0.08);
  transition: transform var(--trans), box-shadow var(--trans);
}

.panel:hover,
.tile:hover,
.step:hover,
.snap:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(23, 12, 121, 0.19);
}

.tile-b {
  margin-top: 1.5rem;
}

.steps,
.snapshot-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.step span {
  display: inline-block;
  font-size: 1.3rem;
  color: var(--c-primary);
  font-weight: 800;
}

.focus-grid,
.cta-panel,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  align-items: stretch;
}

.focus-image img,
.cta-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.signal-block {
  text-align: center;
}

.site-footer {
  background: #0f0855;
  color: #e7eefb;
  margin-top: var(--space-xl);
}

.footer-grid {
  padding: var(--space-xl) 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
}

.footer-grid a {
  color: #b8e9ef;
}

.footer-compact {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.inner-main,
.legal-main,
.thank-main {
  min-height: 70vh;
  padding: var(--space-xl) 0;
}

.inner-hero {
  margin-top: 0;
}

.content-stack,
.testimonials {
  display: grid;
  gap: var(--space-md);
}

.us-content-grid,
.timeline-mini,
.trust-strip,
.contact-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.timeline-mini {
  grid-template-columns: 1.2fr 1fr;
}

.interactive-planner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-md);
}

.planner-card {
  background: linear-gradient(165deg, #fffaf0, #e4f4f5);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-deep);
}

.split-bar {
  margin-top: var(--space-sm);
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 52px;
  border: 1px solid rgba(23, 12, 121, 0.2);
}

#focusPart,
#lifePart {
  display: grid;
  place-items: center;
  font-weight: 700;
  transition: all var(--trans);
}

#focusPart {
  background: linear-gradient(145deg, #170c79, #2e20a6);
  color: #fff;
}

#lifePart {
  background: linear-gradient(145deg, #8acbd0, #56b6c6);
  color: #10253f;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border-radius: var(--radius-sm);
  background: #fff6e8;
  border: 1px solid rgba(23, 12, 121, 0.13);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0.95rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-content p {
  padding: 0 1rem 1rem;
  margin: 0;
}

.faq-item.open .faq-content {
  max-height: 150px;
}

.matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.quote {
  border-left: 5px solid var(--c-primary);
}

label {
  display: block;
  margin-top: var(--space-sm);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  margin-top: 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(23, 12, 121, 0.24);
  padding: 0.7rem 0.8rem;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(86, 182, 198, 0.6);
}

.check-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 400;
}

.check-line input {
  width: auto;
  margin: 0;
}

.error-text {
  min-height: 1rem;
  color: #ad1c43;
  font-size: 0.85rem;
  margin: 0.25rem 0 0;
}

.map-frame {
  width: 100%;
  height: 290px;
  border: 0;
  border-radius: var(--radius-md);
  margin-top: var(--space-sm);
  box-shadow: var(--shadow-soft);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: #fff7e8;
  border: 1px solid rgba(23, 12, 121, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  display: none;
  z-index: 40;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 11, 65, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
}

.cookie-card {
  width: min(520px, 100%);
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.on {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {

  .overlap-band,
  .focus-grid,
  .cta-panel,
  .contact-grid,
  .footer-grid,
  .matrix,
  .us-content-grid,
  .timeline-mini,
  .trust-strip,
  .contact-points,
  .interactive-planner,
  .steps,
  .snapshot-cards {
    grid-template-columns: 1fr;
  }

  .tile-b {
    margin-top: 0;
  }
}