@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Source+Sans+3:wght@300;400;500&display=swap');

:root {
  --site-bg: #f3eee5;
  --site-bg-alt: #e7dfd2;
  --site-surface: rgba(255, 250, 243, 0.96);
  --site-surface-strong: #fffdf8;
  --site-text: #1d242d;
  --site-muted: #66737f;
  --site-border: rgba(89, 69, 41, 0.14);
  --site-accent: #8a6735;
  --site-accent-strong: #5d4525;
  --site-accent-soft: rgba(138, 103, 53, 0.12);
  --site-shadow: 0 20px 55px rgba(34, 24, 10, 0.08);
  --site-radius: 22px;
  --site-font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --site-font-display: 'Cormorant Garamond', Georgia, serif;
  color-scheme: light;
}

body[data-theme="dark"] {
  --site-bg: #0d1217;
  --site-bg-alt: #121920;
  --site-surface: rgba(20, 26, 32, 0.96);
  --site-surface-strong: #151c22;
  --site-text: #f4eee7;
  --site-muted: #aab4bf;
  --site-border: rgba(244, 238, 231, 0.12);
  --site-accent: #d4b074;
  --site-accent-strong: #f0d3a1;
  --site-accent-soft: rgba(212, 176, 116, 0.14);
  --site-shadow: 0 24px 65px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(138, 103, 53, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.45), transparent 20%),
    linear-gradient(180deg, var(--site-bg), var(--site-bg-alt));
  color: var(--site-text);
  font-family: var(--site-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

body[data-theme="dark"] {
  background:
    radial-gradient(circle at top left, rgba(212, 176, 116, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(180deg, var(--site-bg), var(--site-bg-alt));
}

body,
a,
button,
input,
select,
textarea {
  font-weight: 400;
}

a {
  color: var(--site-accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus {
  color: var(--site-accent-strong);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--site-text);
  font-family: var(--site-font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-top: 0;
}

p {
  color: var(--site-text);
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-nav-shell {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem clamp(1rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--site-border);
  background: rgba(255, 250, 243, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(34, 24, 10, 0.05);
}

body[data-theme="dark"] .site-nav-shell {
  background: rgba(13, 18, 23, 0.88);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.site-nav-meta,
.site-nav,
.site-footer__grid,
.site-footer__bar,
.footer-menu .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav-meta {
  margin-bottom: 0.8rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-brand__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  border: 1px solid var(--site-border);
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

.site-brand__logo {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.site-brand__copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.site-brand__eyebrow {
  color: var(--site-accent);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-brand__copy strong {
  font-family: var(--site-font-display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1;
}

.site-brand__copy span:last-child {
  color: var(--site-muted);
  font-size: 0.95rem;
}

.site-menu-toggle,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--site-border);
  background: var(--site-surface);
  color: var(--site-text);
  padding: 0.65rem;
  box-shadow: var(--site-shadow);
}

.site-menu-toggle {
  display: none;
}

.site-menu-toggle .fa {
  font-size: 1.1rem;
}

.site-nav {
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--site-border);
}

.site-nav__links,
.site-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.site-nav__links {
  flex: 1 1 auto;
}

.site-nav__link,
.site-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--site-text);
  font-size: 0.95rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus,
.site-nav__cta:hover,
.site-nav__cta:focus,
.site-nav__link.is-active,
.site-nav__cta.is-active {
  background: var(--site-accent-soft);
  border-color: var(--site-border);
  transform: translateY(-1px);
}

.site-nav__cta {
  background: var(--site-accent);
  color: #fff;
}

.site-nav__cta:hover,
.site-nav__cta:focus {
  background: var(--site-accent-strong);
  color: #fff;
}

.site-actions {
  justify-content: flex-end;
}

.site-translate {
  display: flex;
  align-items: center;
}

.gtranslate_wrapper,
#google_translate_element {
  min-width: 150px;
}

.gtranslate_wrapper select,
#google_translate_element select,
.goog-te-combo {
  max-width: 100%;
  border-radius: 999px !important;
  border: 1px solid var(--site-border) !important;
  background: var(--site-surface) !important;
  color: var(--site-text) !important;
  box-shadow: none !important;
  font-family: var(--site-font-body) !important;
  font-size: 0.92rem !important;
  font-weight: 400 !important;
  padding: 0.45rem 0.85rem !important;
}

.goog-logo-link,
.goog-te-gadget {
  color: transparent !important;
}

.goog-te-gadget img,
.goog-te-gadget span {
  display: none !important;
}

.tagline {
  margin: 1rem clamp(1rem, 2vw, 1.75rem) 0;
  padding: 0.9rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid var(--site-border);
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

.tagline p,
.tagline h1 {
  margin: 0;
}

.tagline h1 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  margin-bottom: 0.25rem;
}

.page-header,
.image-feature .bg,
.grey-feature .bg {
  position: relative;
  overflow: hidden;
  margin: 1.25rem clamp(1rem, 2vw, 1.75rem) 0;
  border-radius: 1.5rem;
  border: 1px solid var(--site-border);
  box-shadow: var(--site-shadow);
  background-size: cover;
  background-position: center;
}

.page-header {
  min-height: clamp(320px, 52vw, 560px);
}

.page-header .overlay,
.grey-feature .overlay,
.image-feature .overlay {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.85rem;
  min-height: inherit;
  padding: clamp(1.35rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.12) 0%, rgba(8, 10, 14, 0.72) 100%);
  color: #fff;
}

.page-header .overlay h1,
.page-header .overlay p,
.grey-feature .overlay h2,
.grey-feature .overlay p,
.image-feature .overlay h2,
.image-feature .overlay p {
  color: #fff;
}

.page-header .overlay h1,
.grey-feature .overlay h2,
.image-feature .overlay h2 {
  font-size: clamp(2rem, 4vw, 3.85rem);
  max-width: 14ch;
  margin: 0;
}

.page-header .overlay p,
.grey-feature .overlay p,
.image-feature .overlay p {
  max-width: 48rem;
  margin: 0;
  font-size: 1.05rem;
}

.button,
.btn,
.site-footer .button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--site-accent);
  color: #fff;
  font-family: var(--site-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: var(--site-shadow);
}

.button:hover,
.button:focus,
.btn:hover,
.btn:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background: var(--site-accent-strong);
  color: #fff;
}

.button.opaque,
.btn.opaque {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.button.blue {
  background: var(--site-accent);
  color: #fff;
}

.button.blue:hover,
.button.blue:focus {
  background: var(--site-accent-strong);
}

.module,
.content,
.content-with-left-menu,
.features,
.grey-feature,
.footer-menu,
.site-footer {
  margin-top: 1.25rem;
}

.module .card,
.feature,
.content,
.content-with-left-menu .content,
.footer-menu,
.site-footer {
  border: 1px solid var(--site-border);
  border-radius: 1.35rem;
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

.module .card,
.feature,
.content {
  overflow: hidden;
}

.module .card {
  height: 100%;
}

.module .card .image,
.feature .image,
.image-feature .bg {
  background-size: cover;
  background-position: center;
}

.module .card .image {
  min-height: 220px;
}

.card-body,
.feature {
  padding: 1.35rem;
}

.card-title,
.feature h2 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.card-text,
.feature p,
.content p,
.content li {
  color: var(--site-muted);
  font-size: 1rem;
  font-weight: 400;
}

.feature {
  min-height: 100%;
}

.feature .image {
  min-height: 180px;
  margin-bottom: 1rem;
  border-radius: 1rem;
}

.grey-feature .bg {
  min-height: 360px;
}

.features.icons,
.module.grey,
.module.white {
  padding: 0 0.2rem;
}

.content-with-left-menu .content,
.content {
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.content-with-left-menu h2,
.content h2 {
  margin-bottom: 1rem;
}

.footer-menu {
  padding: 1.5rem;
}

.footer-menu .row {
  width: 100%;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li + li {
  margin-top: 0.4rem;
}

.footer-nav a {
  color: var(--site-text);
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--site-accent);
}

.footer-buttons p {
  margin: 0 0 0.4rem;
  color: var(--site-muted);
}

.site-footer {
  margin: 1.5rem clamp(1rem, 2vw, 1.75rem) 2rem;
  padding: 1.25rem 1.5rem;
}

.site-footer__grid {
  align-items: flex-start;
  flex-wrap: wrap;
}

.site-footer__grid > * {
  flex: 1 1 220px;
}

.site-footer__bar {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--site-border);
  color: var(--site-muted);
  font-size: 0.95rem;
}

.theme-toggle .fa {
  font-size: 1rem;
}

body[data-theme="dark"] .page-header .overlay,
body[data-theme="dark"] .grey-feature .overlay,
body[data-theme="dark"] .image-feature .overlay {
  background: linear-gradient(180deg, rgba(10, 13, 16, 0.08) 0%, rgba(10, 13, 16, 0.82) 100%);
}

body[data-theme="dark"] .button.opaque,
body[data-theme="dark"] .btn.opaque {
  background: rgba(13, 18, 23, 0.35);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Auth layout helpers for the login and password pages. */
.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: 100vh;
}

.auth-panel,
.auth-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.auth-panel {
  background:
    radial-gradient(circle at top left, rgba(138, 103, 53, 0.12), transparent 30%),
    linear-gradient(180deg, var(--site-surface-strong), var(--site-surface));
}

.auth-visual {
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 18, 23, 0.12) 0%, rgba(14, 18, 23, 0.7) 100%);
}

.auth-visual > * {
  position: relative;
  z-index: 1;
}

.auth-card {
  width: min(100%, 430px);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--site-border);
  border-radius: 1.5rem;
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

.auth-card h1 {
  margin-bottom: 0.35rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.auth-card p {
  color: var(--site-muted);
}

.auth-card label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--site-text);
  font-size: 0.95rem;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="tel"],
.auth-card select,
.auth-card textarea {
  width: 100%;
  min-height: 46px;
  margin-bottom: 1rem;
  border-radius: 0.95rem;
  border: 1px solid var(--site-border);
  background: var(--site-surface-strong);
  color: var(--site-text);
  padding: 0.8rem 0.95rem;
  box-shadow: none;
}

.auth-card input:focus,
.auth-card select:focus,
.auth-card textarea:focus {
  outline: none;
  border-color: rgba(138, 103, 53, 0.45);
  box-shadow: 0 0 0 3px rgba(138, 103, 53, 0.15);
}

.auth-card .btn,
.auth-card button[type="submit"] {
  width: 100%;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.auth-links a {
  color: var(--site-accent);
}

@media (max-width: 991.98px) {
  .site-nav-shell {
    padding-bottom: 1rem;
  }

  .site-menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__links,
  .site-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav__link,
  .site-nav__cta,
  .theme-toggle {
    width: 100%;
    justify-content: flex-start;
  }

  .theme-toggle {
    width: auto;
    min-width: 44px;
    justify-content: center;
  }

  .footer-menu .row,
  .site-footer__grid,
  .auth-shell {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .page-header,
  .image-feature .bg,
  .grey-feature .bg,
  .tagline,
  .site-footer {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 15px;
  }

  .site-nav-shell {
    padding-top: 0.85rem;
  }

  .site-brand {
    align-items: flex-start;
  }

  .site-brand__copy span:last-child {
    display: none;
  }

  .page-header .overlay,
  .grey-feature .overlay,
  .image-feature .overlay {
    padding: 1.25rem;
  }

  .module .card .image,
  .feature .image {
    min-height: 190px;
  }
}
