@import url("https://fonts.googleapis.com/css2?family=Lora:wght@300;400;500;600;700&display=swap");

:root {
  --primary-50: #fcf1f1;
  --primary-100: #fae4e4;
  --primary-200: #f4c1c1;
  --primary-300: #ed9696;
  --primary-400: #e46262;
  --primary-700: #8d3030;
  --ink: #222222;
  --body: #333333;
  --muted: #5c5555;
  --neo-shadow-light: #ffffff;
  --neo-shadow-dark: #e8dada;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--primary-50);
  color: var(--body);
  font-family: "Lora", Georgia, serif;
  font-weight: 300;
  margin: 0;
  min-height: 100vh;
}

body.has-cookie-banner {
  padding-bottom: 8.5rem;
}

img {
  height: auto;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-weight: 700;
}

a {
  color: var(--primary-700);
}

a:hover {
  color: var(--ink);
}

button,
[role="button"],
.btn,
summary {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--primary-700);
  outline-offset: 3px;
}

.skipLink {
  background: #ffffff;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 700;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: absolute;
  top: -4rem;
  z-index: 2000;
}

.skipLink:focus {
  top: 1rem;
}

.neoElement {
  background: var(--primary-50);
  border-radius: 16px;
  box-shadow: 8px 8px 16px var(--neo-shadow-dark), -8px -8px 16px var(--neo-shadow-light);
}

.neoInput {
  background: var(--primary-50);
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: inset 4px 4px 8px var(--neo-shadow-dark), inset -4px -4px 8px var(--neo-shadow-light);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  width: 100%;
}

textarea.neoInput {
  min-height: 140px;
  resize: vertical;
}

select.neoInput {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #333333 50%),
    linear-gradient(135deg, #333333 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) calc(50% - 2px),
    calc(100% - 0.75rem) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-right: 2.25rem;
}

.neoInput:focus {
  border-color: var(--primary-300);
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}

.glassCard {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(228, 98, 98, 0.12);
  transition: transform 0.3s ease;
}

.glassCard:hover {
  transform: translateY(-4px);
}

.heroGradient {
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-300) 100%);
  border-radius: 16px;
  text-align: center;
}

.iconHexagon {
  align-items: center;
  background-color: var(--primary-200);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  color: var(--ink);
  display: flex;
  flex: 0 0 auto;
  height: 60px;
  justify-content: center;
  margin: 0 auto 1rem;
  width: 60px;
}

.timelineIconWrap .iconHexagon {
  margin: 0;
}

.navbarCenteredLogo .navbar-nav {
  flex: 1 1 0;
}

.navbarCenteredLogo .navLeft {
  justify-content: flex-end;
}

.navbarCenteredLogo .navRight {
  justify-content: flex-start;
}

.navbar-brand {
  color: var(--primary-400) !important;
  flex: 0 1 auto;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0.75rem;
  max-width: 14rem;
  text-align: center;
  white-space: normal;
}

.brandSub {
  color: #555555;
  display: block;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-top: 0.15rem;
}

.nav-link[aria-current="page"] {
  color: var(--primary-700) !important;
  font-weight: 700;
}

.btnSolidAccent {
  background-color: var(--primary-400);
  border: none;
  border-radius: 16px;
  box-shadow: 4px 4px 10px rgba(228, 98, 98, 0.3);
  color: #ffffff;
  display: inline-block;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  white-space: normal;
}

.btnSolidAccent:hover,
.btnSolidAccent:focus {
  background-color: var(--primary-700);
  color: #ffffff;
  transform: translateY(-2px);
}

.btnGhost {
  background: transparent;
  border: none;
  color: var(--primary-700);
  font-weight: 700;
  text-decoration: underline;
}

.sectionCompact {
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
}

.bentoFeatureQuad {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.bentoFeatureQuad .bentoCenter {
  grid-column: 1 / -1;
  grid-row: auto;
  order: -1;
}

.contactCard p,
.contactCard a {
  overflow-wrap: anywhere;
}

#mobileNavContainer {
  display: none;
}

#mobileNavContainer.show {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  padding-top: 0.75rem;
}

.mobileToggleBtn {
  align-items: center;
  background: var(--primary-100);
  border-radius: 12px;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.mobileToggleBtn .navbar-toggler-icon {
  height: 1.25rem;
  width: 1.25rem;
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 1;
  width: 2.75rem;
}

.carousel-control-prev {
  justify-content: flex-start;
}

.carousel-control-next {
  justify-content: flex-end;
}

.carousel-inner {
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}

.timelineContainer {
  position: relative;
}

.timelineContainer::before {
  background: var(--primary-300);
  bottom: 18px;
  content: "";
  left: 29px;
  position: absolute;
  top: 18px;
  width: 2px;
}

.timelineRow {
  align-items: flex-start;
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  position: relative;
}

.timelineRow:last-child {
  margin-bottom: 0;
}

.timelineIconWrap {
  flex: 0 0 60px;
  position: relative;
  z-index: 1;
}

.timelineContent {
  min-width: 0;
}

.accordion-item {
  background: transparent;
  border: none;
  border-radius: 16px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: var(--primary-50);
  color: var(--ink);
  font-weight: 700;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-100);
  box-shadow: none;
  color: var(--primary-700);
}

.accordion-button:focus {
  border-color: transparent;
  box-shadow: none;
}

.accordion-body {
  background: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.legalTextContent p,
.legal-text p {
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.legalTextContent h2,
.legal-text h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
}

.policy-header {
  border-bottom: 2px solid var(--primary-200);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

.formAlert {
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
}

.formAlertError {
  background: #fff1f1;
  color: #7a1f1f;
}

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

footer a:hover {
  text-decoration: underline;
}

#cookieConsentBanner {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--primary-200);
  bottom: 0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
  left: 0;
  position: fixed;
  width: 100%;
  z-index: 1050;
}

@media (min-width: 992px) {
  .navbar-brand {
    font-size: 1.15rem;
    max-width: 15rem;
  }

  #mobileNavContainer,
  #mobileNavContainer.show {
    align-items: center;
    display: flex !important;
    flex-direction: row;
    padding-top: 0;
  }

  .mobileBar,
  .mobileToggleBtn {
    display: none !important;
  }

  .bentoFeatureQuad {
    align-items: stretch;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }

  .bentoFeatureQuad .bentoCenter {
    grid-column: 2;
    grid-row: 1 / span 2;
    order: 0;
  }
}

@media (max-width: 991.98px) {
  .heroGradient {
    padding: 1.5rem 1rem;
  }

  .timelineContainer::before {
    left: 29px;
  }
}
