/* WorthItFaith — warm, modern faith-inspired styles */

:root {
  --navy: #0f2744;
  --navy-deep: #0a1a2e;
  --navy-mid: #1a3a5c;
  --gold: #c9a227;
  --gold-soft: #e8d48b;
  --gold-muted: #a88b2a;
  --cream: #f7f3ea;
  --cream-dark: #ebe4d4;
  --white: #ffffff;
  --text: #1e2a3a;
  --text-muted: #5a6a7a;
  --shadow: 0 12px 40px rgba(15, 39, 68, 0.12);
  --radius: 14px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--gold-muted);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: var(--cream);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* —— Header / Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 26, 46, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.nav {
  width: min(1100px, 92%);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--gold-soft);
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.nav-menu a {
  color: rgba(247, 243, 234, 0.88);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
}

.nav-menu a:hover {
  color: var(--gold-soft);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 0.45rem 1rem !important;
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--gold-soft);
  color: var(--navy-deep) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(232, 212, 139, 0.35);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin-inline: auto;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(201, 162, 39, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(26, 58, 92, 0.5), transparent 50%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--cream);
  padding: clamp(4rem, 12vw, 7.5rem) 0 clamp(5rem, 14vw, 8rem);
}

.hero-inner {
  width: min(1100px, 92%);
  margin-inline: auto;
  max-width: 40rem;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(247, 243, 234, 0.85);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-accent {
  position: absolute;
  right: -8%;
  bottom: -20%;
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.25);
  box-shadow:
    inset 0 0 0 40px rgba(201, 162, 39, 0.04),
    inset 0 0 0 80px rgba(201, 162, 39, 0.03);
  pointer-events: none;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s, transform 0.15s;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 243, 234, 0.4);
}

.btn-ghost:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.section-header {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.55rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

.section-intro {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* —— About —— */
.about {
  background: var(--cream);
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1.35fr 1fr;
    gap: 3.5rem;
  }
}

.about-copy p {
  color: var(--text-muted);
  margin: 0 0 1.1rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.75rem 1.85rem;
  box-shadow: var(--shadow);
}

.about-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--navy);
}

.about-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-card li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--cream-dark);
  color: var(--text-muted);
  font-size: 0.98rem;
}

.about-card li:first-child {
  border-top: none;
  padding-top: 0;
}

.about-card strong {
  color: var(--navy);
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

/* —— Values —— */
.values {
  background: var(--navy-deep);
  color: var(--cream);
}

.values .section-label {
  color: var(--gold-soft);
}

.values h2 {
  color: var(--white);
}

.values .section-intro {
  color: rgba(247, 243, 234, 0.7);
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: var(--radius);
  padding: 1.65rem 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 162, 39, 0.45);
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold-soft);
  font-size: 1.1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--white);
}

.card p {
  margin: 0;
  color: rgba(247, 243, 234, 0.72);
  font-size: 0.98rem;
}

/* —— Offerings —— */
.offerings {
  background: var(--cream-dark);
}

.offer-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.offer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(15, 39, 68, 0.06);
  box-shadow: 0 4px 20px rgba(15, 39, 68, 0.05);
}

.offer-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  padding-top: 0.15rem;
}

.offer h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy);
}

.offer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* —— Testimonials —— */
.testimonials {
  background: var(--cream);
}

.quote-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .quote-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote {
  margin: 0;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.quote p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--navy);
}

.quote footer {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: normal;
}

.quote cite {
  font-style: normal;
}

/* —— Contact —— */
.contact {
  background:
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--cream);
}

.contact .section-label {
  color: var(--gold-soft);
}

.contact h2 {
  color: var(--white);
}

.contact-inner {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .contact-inner {
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.contact-copy > p {
  color: rgba(247, 243, 234, 0.78);
  margin: 0 0 1.75rem;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.2rem;
}

.contact-details a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--gold-soft);
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-soft);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(247, 243, 234, 0.2);
  border-radius: 10px;
  background: rgba(10, 26, 46, 0.45);
  color: var(--cream);
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(247, 243, 234, 0.4);
}

.form-note {
  margin: 0 0 1.1rem;
  font-size: 0.8rem;
  color: rgba(247, 243, 234, 0.55);
}

.contact-form .btn-primary {
  width: 100%;
}

/* —— Footer —— */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  padding: 2.5rem 0;
  text-align: center;
  color: rgba(247, 243, 234, 0.65);
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--cream);
}

.footer-brand span {
  color: var(--gold-soft);
}

.footer-tag {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(232, 212, 139, 0.75);
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
}

/* —— Mobile nav —— */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 0 1.25rem;
    background: rgba(10, 26, 46, 0.98);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.25s, visibility 0.25s;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    width: 92%;
    margin-inline: auto;
  }

  .nav-menu a {
    display: block;
    padding: 0.85rem 0.5rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
